/*
Theme Name: Astra Santa Rita
Template: astra
Version: 1.0.0
*/
:root {
 --srj-green:#176b45;
 --srj-dark:#173d30;
 --srj-gold:#c9a45c;
 --srj-bg:#f5f7f5;
 --srj-text:#26352e;
}
.srj-home {color:var(--srj-text);font-family:inherit}
.srj-container {width:min(1200px,92%);margin:auto}
.srj-hero {position:relative;min-height:490px;display:flex;align-items:center;overflow:hidden;background:var(--srj-dark)}
.srj-hero-image,.srj-hero-overlay {position:absolute;inset:0}
.srj-hero-image {background-size:cover;background-position:center}
.srj-hero-overlay {background:linear-gradient(90deg,rgba(10,35,25,.88),rgba(10,35,25,.48),rgba(10,35,25,.12))}
.srj-hero-content {position:relative;color:white;padding-top:85px;padding-bottom:85px}
.srj-kicker {color:var(--srj-green);font-size:12px;font-weight:800;letter-spacing:2px}
.srj-hero .srj-kicker {color:#e8d5a7}
.srj-hero h1 {color:white;font-size:clamp(38px,6vw,65px);line-height:1.08;max-width:750px;margin:18px 0}
.srj-hero p {color:#fff;font-size:19px;max-width:570px}
.srj-button {display:inline-flex;gap:25px;background:var(--srj-gold);color:#18372a;padding:15px 22px;border-radius:4px;font-weight:700;margin-top:20px}
.srj-button:hover {background:white;color:var(--srj-dark)}
.srj-access {padding-top:75px;padding-bottom:75px}
.srj-section-heading {display:flex;justify-content:space-between;align-items:end;gap:25px;margin-bottom:30px}
.srj-home h2 {font-size:32px;color:var(--srj-dark);margin:9px 0}
.srj-section-heading p {color:#68766e}
.srj-grid {display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.srj-card {position:relative;display:flex;flex-direction:column;min-height:190px;padding:25px;background:#fff;border:1px solid #e7ece8;border-radius:8px;color:var(--srj-text);box-shadow:0 5px 18px rgba(20,50,35,.045);transition:.2s}
.srj-card:hover {transform:translateY(-4px);border-color:var(--srj-green);color:var(--srj-green);box-shadow:0 12px 25px rgba(20,50,35,.1)}
.srj-icon {font-size:27px;color:var(--srj-green);margin-bottom:17px}
.srj-card strong {font-size:17px}
.srj-card small {font-size:13px;color:#68766e;margin-top:7px;line-height:1.5}
.srj-arrow {position:absolute;right:22px;bottom:18px;color:var(--srj-gold)}
.srj-about {background:var(--srj-bg);padding:65px 0}
.srj-about-inner {display:flex;align-items:center;justify-content:space-between;gap:50px}
.srj-about-inner>div {max-width:650px}
.srj-about p {font-size:17px;line-height:1.8;color:#647168}
.srj-about img {width:300px;height:auto;object-fit:contain}
.srj-text-link {color:var(--srj-green);font-weight:700}
.srj-links {padding-top:70px;padding-bottom:85px}
.srj-link-list {display:grid;grid-template-columns:repeat(3,1fr);gap:0 35px;margin-top:25px}
.srj-link-list a {padding:18px 0;border-bottom:1px solid #e5eae6;color:var(--srj-text);font-weight:600}
.srj-link-list a span {float:right;color:var(--srj-green)}
@media(max-width:800px) {
 .srj-grid {grid-template-columns:repeat(2,1fr)}
 .srj-section-heading,.srj-about-inner {display:block}
 .srj-about img {width:220px;margin-top:30px}
 .srj-link-list {grid-template-columns:repeat(2,1fr)}
 .srj-hero {min-height:420px}
}
@media(max-width:480px) {
 .srj-grid,.srj-link-list {grid-template-columns:1fr}
 .srj-card {min-height:155px}
 .srj-hero h1 {font-size:39px}
}

/* APRIMORAMENTO VISUAL SANTA RITA */
.hero h1 {
    color: #fff !important;
    font-weight: 800;
    letter-spacing: -1.5px;
    text-shadow: 0 3px 18px rgba(0,0,0,.35);
}
.hero p {
    text-shadow: 0 2px 8px rgba(0,0,0,.4);
}
.hero {
    min-height: 500px;
}
.card {
    transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover {
    box-shadow: 0 14px 30px rgba(23,61,48,.12);
}
.srj-more {
    padding: 75px 0;
    background: #f4f7f4;
}
.srj-more-inner {
    width: min(1200px,90%);
    margin: auto;
}
.srj-more h2,.srj-news h2,.srj-tourism h2 {
    color: #173d30;
    font-size: 32px;
    margin: 12px 0 30px;
}
.srj-more-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 18px;
}
.srj-more-grid a,.srj-news-card {
    background: white;
    border: 1px solid #e2eae3;
    border-radius: 8px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: .2s;
}
.srj-more-grid a:hover,.srj-news-card:hover {
    border-color: #176b45;
    transform: translateY(-3px);
}
.srj-more-grid strong {
    color: #176b45;
    font-size: 17px;
}
.srj-more-grid span,.srj-news-card span {
    color: #66766c;
    font-size: 13px;
}
.srj-tourism {
    padding: 70px 0;
    background: #173d30;
    color: white;
}
.srj-tourism h2 {
    color: white;
}
.srj-tourism p {
    color: #e3ece5;
    font-size: 17px;
}
.srj-tourism-inner {
    display: flex;
    justify-content: space-between;
    gap: 50px;
    align-items: center;
}
.srj-tourism-links {
    min-width: 270px;
    display: grid;
    gap: 15px;
}
.srj-tourism-links a {
    color: white;
    border-bottom: 1px solid #ffffff35;
    padding: 10px 0;
}
.srj-news {
    padding: 75px 0;
}
.srj-news-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 18px;
}
.srj-news-card time {
    color: #a17d39;
    font-size: 12px;
}
.srj-news-card strong {
    color: #173d30;
    line-height: 1.5;
}
.srj-news-empty {
    color: #68766e;
}
@media(max-width:800px) {
    .srj-more-grid {grid-template-columns:repeat(2,1fr)}
    .srj-tourism-inner {display:block}
    .srj-news-grid {grid-template-columns:repeat(2,1fr)}
}
@media(max-width:480px) {
    .srj-more-grid,.srj-news-grid {grid-template-columns:1fr}
}

.srj-main-nav {display:block}
.srj-menu {display:flex;align-items:center;justify-content:center;gap:23px;flex-wrap:wrap;list-style:none;margin:0;padding:0}
.srj-menu li {list-style:none;margin:0;padding:0}
.srj-menu a {font-size:13px;font-weight:600;color:#344b3d;white-space:nowrap}
.srj-menu a:hover {color:#176b45}
@media(max-width:900px) {
 .srj-menu {gap:12px}
 .srj-menu a {font-size:12px}
}

/* ===== CORRECAO ESTRUTURAL SANTA RITA ===== */

/* Remover limitacoes laterais do Astra */
body.page-id-273 #primary,
body.page-id-273 #main,
body.page-id-273 .site-main,
body.page-id-273 article,
body.page-id-273 .entry-content,
body.page-id-273 .ast-container {
    width:100% !important;
    max-width:100% !important;
    margin:0 !important;
    padding:0 !important;
}

/* Banner de transparencia em largura total */
body.page-id-273 .srj-trans-hero {
    width:100vw !important;
    max-width:100vw !important;
    margin-left:calc(50% - 50vw) !important;
    padding:75px max(5%,calc((100vw - 1200px)/2)) !important;
    box-sizing:border-box;
}

/* Conteudo centralizado */
body.page-id-273 .srj-trans-wrap {
    width:min(1200px,90%) !important;
    max-width:1200px !important;
    margin:0 auto !important;
    padding:55px 0 !important;
}

/* Cards ocupando a largura disponivel */
body.page-id-273 .srj-trans-grid {
    display:grid !important;
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:22px !important;
}

body.page-id-273 .srj-trans-card {
    min-height:145px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    box-sizing:border-box;
    box-shadow:0 5px 18px rgba(23,61,48,.06);
}

/* Imagens do conteudo sem ultrapassar o layout */
body.page-id-273 .srj-trans-content img {
    max-width:100%;
    height:auto;
}

/* Menu Astra mais compacto */
.ast-builder-menu-1 .main-header-menu {
    flex-wrap:nowrap !important;
    gap:10px !important;
}

.ast-builder-menu-1 .main-header-menu > .menu-item > .menu-link {
    font-size:12px !important;
    padding-left:8px !important;
    padding-right:8px !important;
    white-space:nowrap;
}

@media(max-width:900px) {
    body.page-id-273 .srj-trans-grid {
        grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    }
}

@media(max-width:600px) {
    body.page-id-273 .srj-trans-grid {
        grid-template-columns:1fr !important;
    }
}

/* CABECALHO INSTITUCIONAL GLOBAL */
.srj-topbar{background:#173d30;color:#fff;padding:11px 5%;font-size:12px}
.srj-global-header{display:flex;align-items:center;justify-content:space-between;gap:30px;padding:18px 5%;background:#fff}
.srj-global-header img{display:block;width:290px;max-width:100%;height:auto}
.srj-global-nav ul{display:flex;align-items:center;justify-content:flex-end;gap:17px;flex-wrap:wrap;list-style:none;margin:0;padding:0}
.srj-global-nav li{list-style:none;margin:0}
.srj-global-nav a{font-size:13px;font-weight:600;color:#344b3d}
.srj-global-nav a:hover{color:#176b45}
.srj-global-footer{background:#173d30;color:#fff;padding:35px 5%;text-align:center;line-height:1.7}
.srj-trans-note{padding:22px;background:#f3f6f3;border-radius:8px;color:#53645a}
@media(max-width:900px){
.srj-global-header{display:block}
.srj-global-nav ul{justify-content:flex-start;margin-top:18px;gap:12px}
}

.srj-siplan-panel{
    background:#173d30;
    color:white;
    padding:38px 42px;
    border-radius:10px;
    margin:35px 0;
}
.srj-siplan-label{
    color:#d9bd7d;
    font-size:12px;
    font-weight:800;
    letter-spacing:2px;
}
.srj-siplan-panel h2{
    color:white;
    margin:12px 0;
}
.srj-siplan-panel p{
    color:#e5eee8;
    line-height:1.8;
    max-width:800px;
}
.srj-siplan-panel a{
    display:inline-block;
    background:#d0ae69;
    color:#173d30;
    padding:15px 22px;
    border-radius:5px;
    font-weight:800;
    margin-top:12px;
}

/* MODELO UNICO DAS PAGINAS INTERNAS */
.srj-internal {background:#fff;color:#26352e;min-height:60vh}
.srj-internal-hero {
    background:linear-gradient(120deg,#173d30,#23634a);
    padding:55px 5%;
    color:white;
}
.srj-internal-container {
    width:min(1200px,90%);
    margin:0 auto;
}
.srj-internal-hero h1 {
    color:white;
    font-size:clamp(30px,4vw,44px);
    margin:12px 0;
}
.srj-internal-kicker {
    color:#d9bd7d;
    font-size:12px;
    font-weight:800;
    letter-spacing:2px;
}
.srj-breadcrumb {font-size:13px;color:#e2eee6}
.srj-breadcrumb a {color:white}
.srj-internal-content {
    padding-top:55px;
    padding-bottom:75px;
    font-size:16px;
    line-height:1.8;
}
.srj-internal-content img {
    max-width:100%;
    height:auto;
}
.srj-internal-content table {
    width:100%;
    border-collapse:collapse;
    overflow-wrap:anywhere;
}
.srj-internal-content th,
.srj-internal-content td {
    padding:12px;
    border:1px solid #e1e8e2;
}
.srj-internal-content h2,
.srj-internal-content h3 {
    color:#173d30;
}
.srj-internal-content a {
    color:#176b45;
}
@media(max-width:600px) {
    .srj-internal-hero {padding:38px 5%}
    .srj-internal-content {padding-top:35px}
}

/* ACESSIBILIDADE */
.srj-accessbar{background:#f0f3f0;display:flex;justify-content:flex-end;align-items:center;gap:12px;padding:8px 5%;font-size:13px;flex-wrap:wrap}
.srj-accessbar button,.srj-accessbar a{border:0;background:transparent;color:#173d30;font-weight:700;cursor:pointer;text-decoration:underline}
html{font-size:var(--srj-font-scale,100%)}
body.srj-contrast{background:#000!important;color:#fff!important}
body.srj-contrast a{color:#ffeb00!important}
body.srj-contrast h1,body.srj-contrast h2,body.srj-contrast p{color:#fff!important}

/* CLIMA */
.srj-weather{background:#edf3ee;padding:27px 0}
.srj-weather-inner{width:min(1200px,90%);margin:auto;display:flex;justify-content:space-between;align-items:center;gap:25px}
.srj-weather-kicker{font-size:11px;font-weight:800;letter-spacing:1.5px;color:#176b45}
.srj-weather h2{margin:7px 0;color:#173d30;font-size:25px}
.srj-weather p{margin:0;color:#5d6c62;font-size:14px}
.srj-weather-data{display:grid;grid-template-columns:auto auto;align-items:center;column-gap:13px}
.srj-weather-icon{grid-row:span 2;font-size:43px}
.srj-weather-data strong{font-size:36px;color:#173d30}
.srj-weather-data span:not(.srj-weather-icon){font-weight:700}
.srj-weather-data small{grid-column:1/-1;color:#647168;font-size:12px;margin-top:7px}

/* NOTICIAS */
.srj-home-news,.srj-news-archive{padding:70px 0;background:#f7f9f7}
.srj-news-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:28px}
.srj-news-heading h2{font-size:32px;color:#173d30;margin:8px 0
}

.srj-news-heading h2{font-size:32px;color:#173d30;margin:8px 0 20px}
.srj-news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.srj-news-card{display:flex;flex-direction:column;background:#fff;border:1px solid #e3eae4;border-radius:9px;overflow:hidden;color:#26352e;transition:.2s}
.srj-news-card img{width:100%;height:210px;object-fit:cover}
.srj-news-card strong{padding:16px;font-size:17px;line-height:1.5}
.srj-news-card time{padding:12px 16px 0;color:#98783d;font-size:12px}
.srj-news-card span{padding:0 16px 18px;color:#176b45;font-size:13px}
.srj-news-card:hover{transform:translateY(-3px);box-shadow:0 10px 25px #173d3018}
.srj-news-more{display:inline-block;margin-top:25px;color:#176b45;font-weight:700}
.srj-news-archive{min-height:500px}
.srj-news-archive .srj-news-grid{margin-top:30px}
.srj-accessbar{min-height:38px}
.srj-accessbar button:focus,.srj-accessbar a:focus{outline:3px solid #b58b37;outline-offset:3px}
@media(max-width:800px){
 .srj-news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .srj-weather-inner{flex-wrap:wrap}
}
@media(max-width:520px){
 .srj-news-grid{grid-template-columns:1fr}
 .srj-news-card img{height:220px}
 .srj-weather-inner{display:block}
 .srj-weather-data{margin-top:15px}
}

/* GALERIA MUNICIPAL */
.srj-gallery{padding:70px 0;background:#fff}
.srj-gallery-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:25px}
.srj-gallery-grid a{display:block;height:220px;overflow:hidden;border-radius:8px}
.srj-gallery-grid img{width:100%;height:100%;object-fit:cover;transition:transform .3s}
.srj-gallery-grid a:hover img{transform:scale(1.06)}
.srj-weather{width:100%}
@media(max-width:750px){.srj-gallery-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:450px){.srj-gallery-grid{grid-template-columns:1fr 1fr}.srj-gallery-grid a{height:145px}}

/* ACESSOS SIPLAN */
.srj-siplan-home,.srj-siplan-modules{padding:65px 0;background:#f4f7f4}
.srj-siplan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;margin-top:25px}
.srj-siplan-grid a{display:flex;flex-direction:column;gap:10px;background:#fff;padding:24px;border:1px solid #e0e8e1;border-radius:8px;transition:.2s}
.srj-siplan-grid a:hover{border-color:#176b45;transform:translateY(-3px)}
.srj-siplan-grid b{color:#176b45;font-size:18px}
.srj-siplan-grid span{font-size:13px;color:#66766c}
@media(max-width:700px){.srj-siplan-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:450px){.srj-siplan-grid{grid-template-columns:1fr}}

/* CORRECAO DA ACESSIBILIDADE DUPLICADA */
.srj-accessbar:not(.srj-global-accessibility) {
    display:none !important;
}

/* GRADE UNIFORME DE EXERCICIOS */
.srj-internal-content .elementor-button-wrapper,
.srj-internal-content .wp-block-buttons {
    display:flex;
    flex-wrap:wrap;
    gap:14px;
}

/* CONTEUDO DE LICITACOES */
.srj-internal-content {
    width:min(1200px,92%);
    margin:auto;
}

.srj-internal-content a {
    transition:all .2s ease;
}

.srj-internal-content img {
    max-width:100%;
    height:auto;
}

@media(max-width:700px) {
    .srj-global-header img {
        max-width:240px;
    }
    .srj-global-nav ul {
        justify-content:flex-start;
    }
}

/* LICITACOES - LAYOUT INSTITUCIONAL */
body.page-id-395 .site-content,
body.page-id-395 #primary,
body.page-id-395 #main,
body.page-id-395 article {
    width:100%;
    max-width:100%;
}

body.page-id-395 .entry-content {
    width:min(1200px,92%);
    margin:45px auto;
}

body.page-id-395 .entry-content a {
    transition:.2s ease;
}

body.page-id-395 .entry-content a:hover {
    filter:brightness(1.12);
}

body.page-id-395 .entry-content table {
    width:100%;
    border-collapse:collapse;
    overflow-x:auto;
}

body.page-id-395 .entry-content img {
    max-width:100%;
    height:auto;
}

body.page-id-395 .entry-content h2,
body.page-id-395 .entry-content h3 {
    color:#173d30;
}

.srj-global-accessibility {
    display:flex;
    min-height:38px;
}

@media(max-width:700px) {
    body.page-id-395 .entry-content {
        width:94%;
        margin:25px auto;
        overflow-wrap:anywhere;
    }
}

/* LICITACOES - LAYOUT DEFINITIVO */
body.page-id-395 .site-content,
body.page-id-395 #primary,
body.page-id-395 #main,
body.page-id-395 article,
body.page-id-395 .entry-content {
    width:100% !important;
    max-width:100% !important;
    margin:0 !important;
}

body.page-id-395 .entry-content {
    padding:45px max(4%,calc((100% - 1250px)/2)) !important;
    box-sizing:border-box;
}

body.page-id-395 #licitacoes {
    width:100% !important;
    max-width:1100px !important;
    margin:0 auto 55px !important;
    padding:35px !important;
    box-sizing:border-box;
    background:#f4f7f4 !important;
    border:1px solid #e2eae3;
    box-shadow:0 8px 25px rgba(23,61,48,.07);
}

body.page-id-395 #licitacoes > div {
    display:grid !important;
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    gap:12px !important;
}

body.page-id-395 #licitacoes > div a {
    display:flex !important;
    justify-content:center;
    align-items:center;
    min-height:54px;
    padding:12px !important;
    background:#176b45 !important;
    border-radius:7px !important;
    color:white !important;
    text-decoration:none !important;
    font-weight:700;
}

body.page-id-395 #licitacoes > div a:hover {
    background:#c9a45c !important;
    color:#173d30 !important;
}

body.page-id-395 .entry-content table {
    width:100% !important;
    height:auto !important;
    table-layout:fixed;
    border-collapse:collapse;
    font-size:14px;
}

body.page-id-395 .entry-content tr,
body.page-id-395 .entry-content td,
body.page-id-395 .entry-content th {
    height:auto !important;
}

body.page-id-395 .entry-content td,
body.page-id-395 .entry-content th {
    padding:12px 10px !important;
    vertical-align:top;
    overflow-wrap:anywhere;
}

body.page-id-395 .entry-content th {
    background:#173d30;
    color:white;
}

body.page-id-395 .entry-content tbody tr:nth-child(even) {
    background:#f3f6f3;
}

body.page-id-395 .entry-content td a {
    display:inline-block;
    margin:4px 0;
    color:#176b45;
    font-weight:600;
}

body.page-id-395 .entry-content p {
    line-height:1.7;
}

@media(max-width:900px) {
    body.page-id-395 #licitacoes > div {
        grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    }
}

@media(max-width:600px) {
    body.page-id-395 #licitacoes {
        padding:18px !important;
    }
    body.page-id-395 #licitacoes > div {
        grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    }
    body.page-id-395 .entry-content table {
        font-size:12px;
    }
}

/* BARRA UNICA DE ACESSIBILIDADE */
.srj-accessbar {
    width:100%;
    min-height:42px;
    padding:5px 5%;
    margin:0;
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:9px;
    flex-wrap:wrap;
    background:#f3f6f3;
    border-bottom:1px solid #e1e8e2;
    box-sizing:border-box;
    font-family:Arial,sans-serif;
    font-size:12px;
}

.srj-accessbar .srj-access-title {
    color:#43554a;
    font-weight:700;
    margin-right:5px;
}

.srj-accessbar button,
.srj-accessbar a {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:29px;
    padding:4px 10px;
    border:1px solid #d9e1da;
    border-radius:4px;
    background:#fff;
    color:#174b35;
    font-size:12px;
    font-weight:700;
    text-decoration:none;
    cursor:pointer;
}

.srj-accessbar button:hover,
.srj-accessbar a:hover {
    background:#176b45;
    border-color:#176b45;
    color:#fff;
}

.srj-accessbar button:focus-visible,
.srj-accessbar a:focus-visible {
    outline:3px solid #c9a45c;
    outline-offset:2px;
}

/* ALTO CONTRASTE */
body.srj-contrast,
body.srj-contrast main,
body.srj-contrast section,
body.srj-contrast article,
body.srj-contrast .srj-card {
    background:#000 !important;
    color:#fff !important;
}

body.srj-contrast h1,
body.srj-contrast h2,
body.srj-contrast h3,
body.srj-contrast p,
body.srj-contrast strong,
body.srj-contrast span,
body.srj-contrast a {
    color:#ffeb00 !important;
}

body.srj-contrast .srj-accessbar {
    background:#000 !important;
    border-color:#ffeb00;
}

body.srj-contrast .srj-accessbar button,
body.srj-contrast .srj-accessbar a {
    background:#000;
    color:#ffeb00;
    border-color:#ffeb00;
}

@media(max-width:600px) {
    .srj-accessbar {
        justify-content:center;
        gap:6px;
        padding:8px 3%;
    }
    .srj-accessbar .srj-access-title {
        width:100%;
        text-align:center;
    }
}

/* FAIXA VERDE INSTITUCIONAL COM ACESSIBILIDADE */
.srj-topbar,
body .top {
    background:#173d30 !important;
    color:#fff !important;
    min-height:48px;
    padding:7px 5% !important;
    display:flex !important;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    flex-wrap:wrap;
    font-size:12px;
}

.srj-topbar .srj-accessbar,
body .top .srj-accessbar {
    display:flex !important;
    align-items:center;
    justify-content:flex-end;
    gap:8px;
    padding:0 !important;
    margin:0;
    min-height:30px;
    background:transparent !important;
    border:0 !important;
}

.srj-topbar .srj-accessbar *,
body .top .srj-accessbar * {
    color:#fff !important;
}

.srj-topbar .srj-accessbar button,
.srj-topbar .srj-accessbar a,
body .top .srj-accessbar button,
body .top .srj-accessbar a {
    background:transparent !important;
    border:1px solid #ffffff55 !important;
    border-radius:4px;
    padding:5px 11px;
    min-height:29px;
    font-size:12px;
    font-weight:700;
    text-decoration:none;
}

.srj-topbar .srj-accessbar button:hover,
.srj-topbar .srj-accessbar a:hover,
body .top .srj-accessbar button:hover,
body .top .srj-accessbar a:hover {
    background:#ffffff20 !important;
    border-color:#fff !important;
}

@media(max-width:650px) {
    .srj-topbar,
    body .top {
        justify-content:center;
        text-align:center;
        gap:7px;
    }
    .srj-topbar .srj-accessbar,
    body .top .srj-accessbar {
        justify-content:center;
        flex-wrap:wrap;
    }
}

/* PESQUISA DO PORTAL */
.srj-header-search {
    display:flex;
    align-items:center;
    max-width:260px;
    border:1px solid #dce5dd;
    border-radius:5px;
    overflow:hidden;
    background:white;
    margin:8px 0;
}
.srj-header-search input {
    width:100%;
    min-width:0;
    border:0;
    padding:10px 12px;
    outline:none;
    font-size:13px;
}
.srj-header-search button {
    border:0;
    background:#176b45;
    color:white;
    padding:8px 14px;
    font-size:20px;
    cursor:pointer;
}

/* RADAR */
.srj-radar-link {
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
    flex-wrap:wrap;
    width:min(1200px,90%);
    margin:30px auto;
    padding:23px 28px;
    border:1px solid #dce7dd;
    border-left:5px solid #176b45;
    border-radius:7px;
    background:#f3f7f3;
    color:#173d30;
    text-decoration:none;
}
.srj-radar-link span {
    font-size:12px;
    font-weight:800;
    letter-spacing:1px;
}
.srj-radar-link strong {
    background:#176b45;
    color:white;
    padding:12px 18px;
    border-radius:5px;
    font-size:13px;
}
.srj-radar-link:hover strong {
    background:#c9a45c;
    color:#173d30;
}
@media(max-width:700px) {
    .srj-header-search {max-width:100%;width:100%}
    .srj-radar-link {padding:18px}
}

/* FAIXA INSTITUCIONAL - UMA UNICA LINHA */
.srj-topbar,
body .top {
    display:flex !important;
    flex-direction:row !important;
    flex-wrap:nowrap !important;
    align-items:center !important;
    justify-content:space-between !important;
    min-height:48px !important;
    padding:6px 5% !important;
}

.srj-topbar .srj-accessbar,
body .top .srj-accessbar {
    width:auto !important;
    flex:0 0 auto !important;
    margin-left:auto !important;
    flex-wrap:nowrap !important;
    justify-content:flex-end !important;
    white-space:nowrap;
}

.srj-accessbar .srj-access-title {
    white-space:nowrap;
}

@media(max-width:760px) {
    .srj-topbar,
    body .top {
        flex-wrap:wrap !important;
        justify-content:center !important;
    }
    .srj-topbar .srj-accessbar,
    body .top .srj-accessbar {
        margin:0 auto !important;
        flex-wrap:wrap !important;
    }
}

/* NOTICIAS COM FOTOGRAFIAS */
.srj-news-page {background:#fff}
.srj-news-archive {padding:60px 0 80px}
.srj-news-grid {
 display:grid;
 grid-template-columns:repeat(3,minmax(0,1fr));
 gap:24px;
}
.srj-news-card {
 display:flex;
 flex-direction:column;
 overflow:hidden;
 background:#fff;
 border:1px solid #e2e9e3;
 border-radius:9px;
 box-shadow:0 5px 18px rgba(23,61,48,.06);
}
.srj-news-image-link {display:block;overflow:hidden}
.srj-news-photo {
 display:block;
 width:100%;
 height:235px;
 object-fit:cover;
 transition:transform .3s;
}
.srj-news-card:hover .srj-news-photo {transform:scale(1.035)}
.srj-news-card-body {padding:21px;display:flex;flex-direction:column;flex:1}
.srj-news-card-body time {font-size:12px;color:#a17b3c}
.srj-news-card-body h3 {font-size:19px;line-height:1.4;margin:12px 0}
.srj-news-card-body h3 a {color:#173d30}
.srj-news-card-body p {font-size:14px;color:#68766e;line-height:1.6}
.srj-news-read {margin-top:auto;padding-top:15px;color:#176b45;font-weight:700}
.srj-news-no-photo {
 height:235px;
 background:linear-gradient(135deg,#173d30,#26704e);
 display:flex;
 flex-direction:column;
 justify-content:center;
 align-items:center;
 gap:12px;
 color:white;
}
.srj-news-no-photo span {font-size:11px;letter-spacing:2px;color:#e0c78e}
.srj-news-no-photo strong {font-size:21px;color:white}
.srj-pagination {display:flex;justify-content:center;gap:10px;margin-top:40px}
.srj-pagination .page-numbers {padding:9px 14px;border:1px solid #dce5dd;border-radius:5px;color:#176b45}
.srj-pagination .current {background:#176b45;color:white}
.srj-gallery {padding:70px 0;background:#f4f7f4}
.srj-gallery-grid {
 display:grid;
 grid-template-columns:repeat(4,minmax(0,1fr));
 gap:16px;
 margin-top:28px;
}
.srj-gallery-grid a {display:block;height:235px;overflow:hidden;border-radius:8px}
.srj-gallery-grid img {width:100%;height:100%;object-fit:cover;transition:transform .3s}
.srj-gallery-grid a:hover img {transform:scale(1.05)}
@media(max-width:850px) {
 .srj-news-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
 .srj-gallery-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:520px) {
 .srj-news-grid {grid-template-columns:1fr}
 .srj-news-photo,.srj-news-no-photo {height:220px}
 .srj-gallery-grid a {height:160px}
}

/* NOTICIAS: UMA SECAO, FOTOS REAIS */
.srj-home-news {
    padding:65px 0;
    background:#f5f7f5;
}
.srj-home-news .srj-news-grid {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:22px;
}
.srj-home-news .srj-news-card {
    display:flex;
    flex-direction:column;
    overflow:hidden;
    background:#fff;
    border:1px solid #e1e9e2;
    border-radius:9px;
}
.srj-home-news .srj-news-card img {
    display:block;
    width:100%;
    height:220px;
    object-fit:cover;
}
.srj-home-news .srj-news-card > a {
    display:flex;
    flex-direction:column;
    height:100%;
}
.srj-news-no-photo {
    min-height:90px;
    display:flex;
    align-items:center;
    padding:18px;
    background:#edf3ee;
    color:#176b45;
    font-size:11px;
    font-weight:800;
    letter-spacing:1px;
}
.srj-home-news .srj-news-card time,
.srj-home-news .srj-news-card strong,
.srj-home-news .srj-news-card span {
    margin:10px 17px;
}
@media(max-width:750px) {
    .srj-home-news .srj-news-grid {
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}
@media(max-width:500px) {
    .srj-home-news .srj-news-grid {
        grid-template-columns:1fr;
    }
}
