/*
Theme Name: Direito Theme
Author: contato @ Tripletech IT Solutions
Description: Bootstrap Blog template converted to WordPress
Version: 0.0.3
Text Domain: direito-theme
Tags: bootstrap
*/
.fonte-mais{
	font-size: 26px !important;
	letter-spacing: 1px;
	line-height: 30px;
}
.fonte-mais a {font-size: 26px !important;}

.fonte-mais>.list-unstyled>li>a{font-size: 26px;}
h3.fonte-mais{font-size: 34px !important;}
h2.fonte-mais{font-size: 38px !important;}

.sala-de-imprensa .noticia .thumbnail {
	margin-bottom: 10px;
	height: 165px;
	white-space: nowrap;
}
.sala-de-imprensa .noticia .thumbnail::before {
	content: "";
	display: inline-block;
	height: 100%;
	vertical-align: middle;
	margin-right: -0.25em;
}
.sala-de-imprensa .noticia .thumbnail img{
	max-height: 165px;
	max-width: 100%;
	display: inline-block;
}
.sala-de-imprensa .noticia .titulo {
	font-size: 16px;
	font-weight: bold;
	margin-top: 10px;
	margin-bottom: 2px;
}
.sala-de-imprensa .noticia a.leia-mais {
	font-size: 12px;
	margin-left: 4px;
	color: #337ab7;
	font-weight: bold;
}
.sala-de-imprensa .noticia a {
	color: #333333;
}
.sala-de-imprensa .noticia a:hover {
	color: #086faf;
}
.sala-de-imprensa .resumo {
	font-size: 14px;
}

.convenios .noticia .thumbnail {
	margin-bottom: 10px;
	height: 165px;
	white-space: nowrap;
}
.convenios .noticia .thumbnail::before {
	content: "";
	display: inline-block;
	height: 100%;
	vertical-align: middle;
	margin-right: -0.25em;
}
.convenios .noticia .thumbnail img{
	max-height: 165px;
	max-width: 100%;
	display: inline-block;
}
.convenios .noticia .titulo {
	font-size: 16px;
	font-weight: bold;
	margin-top: 10px;
	margin-bottom: 2px;
}
.convenios .noticia a.leia-mais {
	font-size: 12px;
	margin-left: 4px;
	color: #337ab7;
	font-weight: bold;
}
.convenios .noticia a {
	color: #333333;
}
.convenios .noticia a:hover {
	color: #086faf;
}
.convenios .resumo {
	font-size: 14px;
}

/* botão destaque mobile e tablet */
@media only screen and (min-width: 992px) {
  .search-and-links {
	  display: none ;
  }
}

/* max-width: 768px */
@media only screen and (max-width: 990px) {
    /* For mobile phones: */

    .search-and-links {
        margin: 20px 0;
        display: flex;
        justify-content: center;
        align-items: center;
    }
	#wrapper {
    margin-top: 126px!important;
	}
	.dstq {
		display: none;
	}

    
  }
a.btn-out {
  /* height: 32px; */
    border-radius: 10px;
    box-shadow: 0 7px 15px rgb(0 0 0 / 20%);
    margin: 0 5px !important;
    justify-content: space-between;
    background: #fff;
    color: #333 !important;
    padding: 10px 20px;
	font-size: 12px !important;
}
ul>li>.search-and-links>a.btn-acesso {
  /* height: 32px; */
    border-radius: 10px;
    box-shadow: 0 7px 15px rgb(0 0 0 / 20%);
    margin-right: 10px !important;
    justify-content: center;
    background: #333;
    color: #fff !important;
    padding: 10px 20px;
}
ul>li>.search-and-links {
    margin: 10px 5px;
    font-weight: 800;
}
.dstq {
/* 	position: absolute;
	top: 150px;
	right: 10px; */
	
	position: relative;
	bottom: 39px;
	right: -23%
}
.dstq-btn:hover {
	background: #222222;
}
.dstq-btn {
	/* height: 32px; */
	border-radius: 20px;
	box-shadow: 0 7px 15px rgb(0 0 0 / 20%);
	margin: 0 5px !important;
	justify-content: space-between;
	background: #4b4b4b;
	color: #fff !important;
	font-weight: 700;
	padding: 10px 20px;
	width: 200px;
}
/* fim botão destaque mobile e tablet */

/* CTA Component Styles */
:root {
    --oab-blue: #0A326E;
    --oab-orange: #F08C28;
}

.cta-section {
    position: relative;
    overflow: hidden;
    background-color: var(--oab-blue);
    padding: 80px 0;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.cta-section .container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.cta-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
}

@media (min-width: 1024px) {
    .cta-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.cta-content {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    color: #fff;
}

.cta-content.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.cta-section h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2;
    color: #fff;
}

.cta-section h2 span {
    color: var(--oab-orange);
}

.cta-section p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 20px;
    margin-bottom: 32px;
    max-width: 576px;
}

.cta-features {
    margin-bottom: 32px;
}

.cta-feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 16px;
}

.cta-feature-icon {
    background-color: rgba(240, 140, 40, 0.2);
    padding: 8px;
    border-radius: 9999px;
    margin-right: 12px;
    color: var(--oab-orange);
	height: 40px;
}

.cta-feature-item p {
    color: #fff;
    font-weight: 700;
    margin-bottom: 0;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 32px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    background-color: var(--oab-orange);
    color: #fff;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #E07B18;
}

.cta-button svg {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.cta-button:hover svg {
    transform: translateX(4px);
}

.cta-button-outline {
    display: inline-flex;
    align-items: center;
    border: 1px solid #fff;
    color: #fff;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.cta-button-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.cta-hashtag {
    margin-top: 32px;
}

.cta-hashtag p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

.cta-image-container {
    position: relative;
    display: none;
}

@media (min-width: 1024px) {
    .cta-image-container {
        display: block;
    }
}

.cta-image-wrapper {
    display: flex;
    justify-content: flex-end;
}

.cta-image {
    border-radius: 8px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    width: 100%;
    max-width: 548px;
    object-fit: cover;
    transition: transform 0.2s ease;
}

.cta-card {
    position: absolute;
    bottom: -24px;
    left: -24px;
    border-radius: 8px;
    padding: 16px;
    max-width: 320px;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.cta-card-icons {
    display: flex;
    gap: 8px;
}

.cta-card-icon {
    height: 40px;
    width: 40px;
    border-radius: 9999px;
    background-color: var(--oab-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.cta-card-header p {
    color: #fff;
    font-weight: 700;
    margin-left: 12px;
    margin-bottom: 0;
}

.cta-card-tags {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.cta-card-tag {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 4px 12px;
    border-radius: 9999px;
}

.cta-card-tag p {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 0;
}

/* Responsive styles */
@media (max-width: 767px) {
    .cta-section {
        padding: 48px 0;
    }
    
    .cta-section h2 {
        font-size: 30px;
    }
    
    .cta-section p {
        font-size: 18px;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-button, .cta-button-outline {
        width: 100%;
        justify-content: center;
    }
} 

/* Latest News Component Styles */
.latest-news {
    position: relative;
    background-color: var(--oab-blue);
    padding: 80px 0;
    width: 100%;
}

.latest-news::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: url('../images/curved-pattern.svg') no-repeat center top;
    background-size: cover;
}

.latest-news::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(#ffffff 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.1;
}

.latest-news .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
    position: relative;
    z-index: 1;
}

.latest-news-title {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 48px;
    color: #ffffff;
}

.latest-news-container {
    background-color: #ffffff;
    padding: 24px;
    border-radius: 8px;
}

.latest-news-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 24px;
}

@media (min-width: 768px) {
    .latest-news-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

.latest-news-item {
    display: flex;
    flex-direction: column;
}

.latest-news-image {
    position: relative;
    overflow: hidden;
    height: 192px;
    margin-bottom: 8px;
}

.latest-news-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
    transition: transform 0.3s ease;
}

.latest-news-item:hover .latest-news-img {
    transform: scale(1.05);
}

.latest-news-date {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 4px;
}

.latest-news-heading {
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    margin: 0;
}

.latest-news-heading a {
    color: #1f2937;
    text-decoration: none;
    transition: color 0.3s ease;
}

.latest-news-heading a:hover {
    color: var(--oab-blue);
}

.latest-news-footer {
    margin-top: 24px;
    text-align: center;
}

.latest-news-button {
    display: inline-block;
    background-color: var(--oab-blue);
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    transition: background-color 0.3s ease;
}

.latest-news-button:hover {
    background-color: #1e40af;
}

.no-posts-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 32px;
    color: #6b7280;
}

/* CSS Variables */
:root {
    --oab-blue: #1e3a8a;
} 

.legal-help {
    position: relative;
    padding: 80px 0;
    background-color: #f9fafb;
}

.legal-help-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}

@media (min-width: 1024px) {
    .legal-help-grid {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
}

.legal-help-content {
    max-width: 512px;
}

.legal-help-title {
    font-size: 30px;
    font-weight: 700;
    color: #0A326E;
    margin-bottom: 24px;
}

.legal-help-description {
    font-size: 18px;
    color: #4b5563;
    margin-bottom: 32px;
}

.legal-help-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
}

.legal-help-feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.legal-help-feature-icon {
	width: 48px;
	height: 48px;
    background-color: rgba(10, 50, 110, 0.1);
    padding: 12px;
    border-radius: 9999px;
    color: #0A326E;
}

.legal-help-feature-title {
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 4px;
}

.legal-help-feature-text {
    color: #4b5563;
}

.legal-help-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #0A326E;
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 700;
    transition: background-color 0.2s;
}

.legal-help-button:hover {
    background-color: #072658;
}

.legal-help-button svg {
    transition: transform 0.3s;
}

.legal-help-button:hover svg {
    transform: translateX(4px);
}

.legal-help-image-container {
    position: relative;
}

.legal-help-image-decoration {
    position: absolute;
    width: 96px;
    height: 96px;
    border-radius: 8px;
    opacity: 0.7;
}

.legal-help-image-decoration-1 {
    top: -24px;
    left: -24px;
    background-color: #F08C28;
}

.legal-help-image-decoration-2 {
    bottom: -24px;
    right: -24px;
    background-color: #0A326E;
}

.legal-help-image {
    position: relative;
    z-index: 10;
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.legal-help-card {
    position: absolute;
    top: 16px;
    right: 16px;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    padding: 16px;
    border-radius: 8px;
    max-width: 288px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    z-index: 20;
}

.legal-help-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.legal-help-card-icon {
    background-color: #0A326E;
    color: white;
    padding: 8px;
	height: 40px;
    border-radius: 9999px;
}

.legal-help-card-title {
    font-weight: 700;
    color: #0A326E;
}

.legal-help-card-text {
    font-size: 14px;
    color: #4b5563;
}

.legal-help-card-author {
    font-size: 14px;
    color: #6b7280;
    font-style: italic;
    margin-top: 8px;
}

.legal-help-icons {
    position: absolute;
    bottom: -16px;
    left: 16px;
    display: flex;
    gap: 12px;
    z-index: 20;
}

.legal-help-icon {
    background-color: white;
    padding: 12px;
	height: 50px;
    border-radius: 9999px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.legal-help-icon:first-child {
    color: #0A326E;
}

.legal-help-icon:last-child {
    color: #F08C28;
} 

/* News Grid Component Styles */
.news-grid {
    padding: 64px 0;
    background-color: #ffffff;
    width: 100%;
}

.news-grid .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
    width: 100%;
}

.news-grid-header {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 32px;
    width: 100%;
}

@media (min-width: 768px) {
    .news-grid-header {
        flex-direction: row;
        align-items: center;
    }
}

.news-grid-title {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--oab-blue);
    display: block;
}

.news-grid-items {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    width: 100%;
}

@media (min-width: 768px) {
    .news-grid-items {
        grid-template-columns: repeat(3, 1fr);
    }
}

.news-item {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    opacity: 1;
    transform: translateY(0);
    position: relative;
    width: 100%;
}

.news-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.news-item:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.news-item-image {
    position: relative;
    overflow: hidden;
    height: 192px;
    width: 100%;
}

.news-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.news-item:hover .news-item-image img {
    transform: scale(1.05);
}

.news-item-category {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 20;
    background-color: var(--oab-purple);
    color: #ffffff !important;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    display: inline-block;
}

.news-item-content {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    background-color: #ffffff;
}

.news-item-date {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 8px;
    display: block;
}

.news-item-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    transition: color 0.3s ease;
    display: block;
    color: #1a1a1a;
}

.news-item:hover .news-item-title {
    color: var(--oab-blue);
}

.news-item-excerpt {
    color: #4b5563;
    margin-bottom: 16px;
    flex-grow: 1;
    display: block;
}

.news-item-link {
    display: inline-flex;
    align-items: center;
    color: var(--oab-blue);
    text-decoration: none;
    margin-top: auto;
    background-color: transparent;
}

.news-item-link svg {
    margin-left: 4px;
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
    color: var(--oab-blue);
}

.news-item-link:hover svg {
    transform: translateX(4px);
}

.news-grid-footer {
    margin-top: 32px;
    display: flex;
    justify-content: center;
    width: 100%;
}

.news-grid-button {
    background-color: var(--oab-blue);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    display: inline-block;
}

.news-grid-button:hover {
    background-color: #1e40af;
}

.no-posts-message {
    text-align: center;
    padding: 32px;
    width: 100%;
    grid-column: 1 / -1;
    color: #4b5563;
}

/* CSS Variables */
:root {
    --oab-blue: #1e3a8a;
    --oab-purple: #6b21a8;
}

/* Remove color inheritance */
.news-item * {
    color: initial;
}

/* Ensure text colors are explicitly set */
.news-item-content p {
    color: #4b5563;
}

.news-item-content a {
    color: var(--oab-blue);
}

/* Debug styles */
.debug-info {
    display: none;
    background: #f0f0f0;
    padding: 16px;
    margin: 16px 0;
    border: 1px solid #ccc;
    color: #000000;
} 

/* Quick Access Component Styles */
.quick-access {
    padding: 64px 0;
    background-color: #f8f8f8;
    width: 100%;
}

.quick-access .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
    width: 100%;
}

.quick-access-title {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 32px;
    color: var(--oab-blue);
}

.quick-access-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

@media (min-width: 768px) {
    .quick-access-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.quick-access-item {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 128px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.quick-access-item:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.quick-access-icon {
    margin-bottom: 12px;
    color: var(--oab-blue);
}

.quick-access-icon svg {
    width: 24px;
    height: 24px;
}

.quick-access-text {
    color: #1f2937;
    font-weight: 700;
    font-size: 14px;
    line-height: 20px;
}

/* CSS Variables */
:root {
    --oab-blue: #1e3a8a;
} 


.new-teste {
    display: none;
    background: #f0f0f0;
    padding: 16px;
    margin: 16px 0;
    border: 1px solid #ccc;
    color: #000000;
} 

/* @media (max-width: 991px) {
    #CarouselMob .item {
        min-height: 250px;
        background-size: cover !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
    }
} */

/* Desktop: altura dinâmica, imagem completa sem corte */

/* @media (min-width: 992px) {
    #myCarousel .item {
        height: auto !important;
        aspect-ratio: 16 / 6; 
        background-size: contain !important;
        background-color: #000; 
    }

    .carousel-inner > .item > img {
        height: auto !important;
    }
}
 */

/* Remove altura fixa do carousel principal - deixa aspect-ratio controlar */
#myCarousel .item,
#myCarousel .carousel-inner > .item {
    height: auto !important;
    aspect-ratio: 1920 / 600; /* substitua pelos px reais das suas imagens */
    background-color: transparent !important; /* elimina o fundo preto */
    background-size: cover !important;
    background-position: center center !important;
}

/* Sobrescreve as alturas fixas do CSS global */
.carousel .item,
.carousel-inner > .item > img {
    height: auto !important;
}

/* Tablet */
@media (min-width: 600px) and (max-width: 991px) {
    #myCarousel .item {
        aspect-ratio: 1920 / 600 !important;
        height: auto !important;
    }
}
