/*Background dentro do artigo*/
body:has(.com-content-article) .com-content-article .page-header {
    background-color: #0097cc !important;
}

/*TP para Apoios e Servicos*/
#mod-custom118 {
  scroll-margin-top: 250px;
}
#mod-custom114 {
  scroll-margin-top: 250px;
}

/* ==================================================
   CARROSSEL PRINCIPAL / NOTICIAS DO COMECO
================================================== */

.conteudo.no-card.carrossel,
.carrossel {
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
    background-color: #99c3d2ad !important;
    background-image: url("/media/templates/site/joomstarter/images/jd_escola.jpg") !important;
    background-size: cover !important;
    background-position: center !important;
    box-sizing: border-box !important;
}

.carrossel .digi_showcase,
.carrossel .carousel,
.carrossel .carousel-container-horizontal {
    width: 100% !important;
    max-width: 1180px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
}

.carrossel .slick-list {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    overflow: hidden !important;
    border-radius: 8px;
}

.carrossel .slick-track {
    display: flex !important;
    align-items: stretch !important;
}

.carrossel .showcase-item {
    height: auto !important;
}

.carrossel .item-content {
    display: grid !important;
    grid-template-columns: minmax(240px, 0.75fr) minmax(360px, 1.25fr);
    align-items: center;
    gap: 34px;
    width: 95% !important;
    min-height: 360px;
    margin: 0 !important;
    padding: 34px;
    border-radius: 8px;
    box-sizing: border-box;
}

.carrossel .item-content p.image {
    order: 2;
    width: 100%;
    margin: 0 !important;
}

.carrossel .item-content p.image a {
    display: block;
    width: 100%;
}

.carrossel .item-content img {
    width: 100% !important;
    height: auto !important;
    /*aspect-ratio: 16 / 9;*/
    display: block;
    border-radius: 8px;
    box-shadow: none !important;
    background: #eae7e7;
}

.carrossel .title {
    order: 1;
    width: 100% !important;
    margin: 0 !important;
}

.carrossel .title > a {
    color: #ffffff !important;
    /*font-size: clamp(2rem, 4vw, 3.4rem) !important; */ /* tem de ser ajustado porque faz o texto ficar sem cima da imagem */
    line-height: 1.05;
    font-weight: 900;
    text-transform: uppercase;
    /*text-decoration: none !important;*/ /* já está no user.css */
    /*text-shadow: none !important;*/ /* está no user.css definida com sombra */
    /* padding-left: 10%; */ /* isto causa problemas com título de 2 linhas */
}

.carrossel .title > a:hover {
    color: #eeb500 !important;
}

.carrossel .slick-prev,
.carrossel .slick-next {
    z-index: 5;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #325466 !important;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.25);
}

.carrossel .slick-prev {
    left: -18px;
}

.carrossel .slick-next {
    right: -18px;
}

.carrossel .slick-prev:hover,
.carrossel .slick-next:hover {
    background: #eeb500 !important;
}

.carrossel .slick-dots {
    bottom: -34px;
}

.carrossel .slick-dots li button::before {
    color: #ffffff !important;
    opacity: 0.65;
    font-size: 10px;
}

.carrossel .slick-dots li.slick-active button::before {
    color: #eeb500 !important;
    opacity: 1;
}


/* ==================================================
   NOTICIAS
================================================== */

.conteudo.no-card.noticias,
.noticias {
    width: 90% !important;
    max-width: 1180px !important;
    margin: 46px auto !important;
    padding: 0 !important;
    border: 0 !important;
    font-family: Verdana, sans-serif !important;
    box-sizing: border-box !important;
}

.noticias > h3 {
    position: relative;
    margin: 0 2.5% 26px !important;
    padding: 0 0 12px !important;
    color: #325466 !important;
    font-size: clamp(2rem, 4vw, 3rem) !important;
    line-height: 1.1 !important;
    font-weight: 800 !important;
    text-transform: uppercase;
}

.noticias > h3::after {
    content: "";
    position: absolute;
    left: 5px;
    bottom: 0;
    width: 76px;
    height: 4px;
    background: #eeb500;
    border-radius: 999px;
}

.noticias .jtcs_item_wrapper {
    width: 100% !important;
   /* max-width: 760px !important;*/
    margin-left: 2% !important;
    margin-right: auto !important;
    padding: 0 !important;
    border: 0 !important;
    box-sizing: border-box !important;
}

.noticias .owl-stage-outer {
    overflow: visible !important;
}

/* por algum motivo a class owl-stage deixou de aparecer */
/*.noticias .owl-stage {*/
.noticias .slides_container {
    display: grid !important;
    /*grid-template-columns: 30% 30% 30% !important;*/
    grid-template-columns: 25% 25% 25% 25% !important;
  
    gap: 0px !important;
    width: 100% !important;
    transform: none !important;
    transition: none !important;
}

.noticias .owl-item {
    width: auto !important;
    min-width: 0 !important;
}
/* retirada esta classe porque aumenta o tamanho das notícias */
.noticias /*.fake-col-wrapper */,
.noticias .slide,
.noticias .jt-inner {
    width: 100% !important;
    height: 100% !important;
}

.noticias .fake-col-wrapper {
    background: #ffffff !important;
    color: #325466 !important;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.noticias .fake-col-wrapper:hover {
    transform: translateY(-4px);
    border-color: #c8d3dc;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.14);
}

.noticias .jt-imagecover {
    width: 100% !important;
    margin: 0 !important;
    float: none !important;
    background: #eae7e7;
}

.noticias .jtcs-image {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

.noticias .jt-inner > h5 {
    margin: 0 !important;
    padding: 16px 16px 6px !important;
}

.noticias .jt-title {
    color: #325466 !important;
    font-size: 1.05rem !important;
    line-height: 1.25 !important;
    font-weight: 800 !important;
    text-decoration: none !important;
}

.noticias .jt-title:hover {
    color: #eeb500 !important;
}

.noticias .jt-author-date {
    margin: 0 !important;
    padding: 0 16px 10px !important;
    color: #687783 !important;
    font-size: 0.8rem !important;
}

.noticias .jt-introtext {
    padding: 0 16px 16px !important;
    color: #334155 !important;
    font-size: 0.9rem !important;
    line-height: 1.55 !important;
}

.noticias .jt-readmore {
    margin: auto 16px 18px !important;
    padding: 0 !important;
    text-align: left !important;
}

.noticias .jt-readmore a,
.noticias a.jt-readmore {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 9px 50px !important;
    background: #325466 !important;
    color: #ffffff !important;
    border-radius: 8px;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    text-decoration: none !important;
    transition: background 0.2s ease, transform 0.2s ease;
}

.noticias .jt-readmore a:hover,
.noticias a.jt-readmore:hover {
    background: #eeb500 !important;
    color: #325466 !important;
    transform: translateY(-1px);
}

.noticias .jtcs_more_cat {
    width: 100% !important;
    margin-top: 24px;
    padding: 14px 18px;
    background: #325466 !important;
    color: #ffffff !important;
    border-radius: 8px;
    text-align: center;
    box-sizing: border-box;
    width: 95% !important;
}

.noticias .jtcs_more_cat a {
    color: #ffffff !important;
    font-weight: 700;
    text-decoration: none;
}

.noticias .jtcs_more_cat a:hover {
    color: #eeb500 !important;
}

.noticias .owl-nav,
.noticias .owl-dots {
    display: none !important;
}


/* ==================================================
   ESCONDER ESCOLAS FORA DA PAGINA INICIAL
================================================== */

body:has(.com-content-article) #mod-custom129,
body:has(.com-content-category-blog) #mod-custom129,
body:has(.blog-items) #mod-custom129,
body:has(.item-page) #mod-custom129 {
    display: none !important;
}


/* ==================================================
   CABECALHO E MENU PRINCIPAL
================================================== */

header {
    position: relative;
    width: 100% !important;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
}

.navbar-brand {
    gap: 0 !important;
    margin-left: 0 !important;
}

.navbar-brand::before {
    content: none !important;
    display: none !important;
}

.barra_menu {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: clamp(18px, 3vw, 42px) !important;
    /*width: min(100% - 32px, 1180px) !important;*/
    max-width: 1180px !important;
    margin: 0 auto !important;
    padding: 6px 0 !important;
    box-sizing: border-box !important;
    width: 85%;
}

.barra_menu > .logo {
    display: block !important;
    flex: 0 0 auto !important;
    height: auto !important;
    max-height: 96px !important;
    object-fit: contain !important;
}

.barra_menu > ul.navbar-nav {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(120px, 1fr)) !important;
    gap: 8px 14px !important;
    width: min(100%, 920px) !important;
    margin: 0 !important;
    padding: 0 !important;
    columns: auto !important;
    column-count: auto !important;
    column-gap: normal !important;
    list-style: none !important;
}

.barra_menu > ul.navbar-nav > li.nav-item {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 36px !important;
    margin: 0 !important;
    padding: 0 !important;
    column-width: auto !important;
}

.barra_menu > ul.navbar-nav > li.nav-item > a.nav-link {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 36px !important;
    padding: 6px 8px !important;
    color: rgb(50, 84, 102) !important;
    font-family: Verdana, sans-serif !important;
    font-size: clamp(0.72rem, 1vw, 0.9rem) !important;
    font-weight: bold !important;
    line-height: 1.25 !important;
    text-align: center !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    white-space: normal !important;
}

.barra_menu > ul.navbar-nav > li.nav-item > a.nav-link:hover,
.barra_menu > ul.navbar-nav > li.current > a.nav-link,
.barra_menu > ul.navbar-nav > li.active > a.nav-link {
    color: #eeb500 !important;
}


/* ==================================================
   AGRUPAMENTO DE ESCOLAS
================================================== */

.carrossel-escolas {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    width: 85% !important;
    max-width: 1180px !important;
    margin: 0 auto;
    padding: 24px 16px;
    overflow: visible;
}

.cartao-escola {
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.cartao-escola:hover {
    transform: translateY(-4px);
    border-color: #b7c7d8;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
}

.cartao-escola img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
    background: #e5e7eb;
}

.cartao-escola h3 {
    flex: 1;
    margin: 0;
    padding: 13px 12px 10px;
    font-size: 0.88rem;
    line-height: 1.3;
    font-weight: 650;
    color: #172033;
}

.cartao-escola a {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 12px 14px;
    padding: 9px 10px;
    border-radius: 8px;
    background: #0f4c81;
    color: #ffffff;
    font-size: 0.84rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: background 0.25s ease, transform 0.2s ease;
}

.cartao-escola a:hover {
    background: #0b3a63;
    transform: translateY(-1px);
}

#mod-custom129 {
    background-color: #eae7e7;
    padding-top: 20px;
    padding-bottom: 20px;
}


/* ==================================================
   SERVICOS E APOIOS
================================================== */

.painel_serv,
.painel_links.painel_apoios {
    width: 100% !important;
    max-width: none !important;
    padding: 30px 0;
    color: #325466;
    font-family: Verdana, sans-serif;
    padding-left: 1%;
}

.painel_serv {
    background: rgb(238 181 0);
}

.painel_serv .mod-custom,
.painel_links.painel_apoios > .mod-custom.custom,
.painel_links.painel_serv > div,
.painel_serv > div,
.painel_links.painel_apoios > div,
.painel_apoios > div {
    display: block;
    width: 90% !important;
    max-width: 1180px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.servicos_titulo,
.painel_links.painel_apoios .apoios_titulo {
    display: block;
    width: 100%;
    margin: 0 0 30px;
    padding: 0;
    color: #325466;
    font-size: 23pt;
    line-height: 1.12;
    font-weight: bold;
    text-align: center;
}

.servicos_icones,
.painel_links.painel_apoios .apoios_icones {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 18px;
    width: min(100% - 32px, 1100px);
    margin: 0 auto;
    padding: 0;
}

.servicos_icones > div,
.painel_links.painel_apoios .apoios_icones > div {
    min-height: 170px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 22px 12px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 8px 8px rgba(0, 0, 0, 0.18), 0 6px 20px rgba(0, 0, 0, 0.12);
    text-align: center;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.servicos_icones > div:hover,
.painel_links.painel_apoios .apoios_icones > div:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

.servicos_icones img,
.painel_links.painel_apoios .apoios_icones img {
    width: 72px;
    height: 72px;
    margin: 0;
    object-fit: contain;
}

.servicos_icones p,
.painel_links.painel_apoios .apoios_icones p {
    width: auto;
    margin: 0;
    color: #325466;
    font-size: 12pt;
    line-height: 1.2;
    font-weight: bold;
    text-align: center;
}


/* ==================================================
   ARTIGOS E LISTAGENS
================================================== */

.blog-items,
.items-leading,
.items-row,
.com-content-category-blog__items,
.com-content-article__body,
.published {
    width: 90% !important;
    max-width: 1180px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
}

.blog-item,
.item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border-bottom: 1px solid #d5d5d5;
    padding: 5px 0;
    margin-bottom: 10px;
    overflow: hidden;
}

.page-header {
    width: 100%;
    height: 200px;
    margin: 0 0 12px !important;
    padding: 0 !important;
    border: none !important;
   /* background-color: #0097cc !important;*/
    display: flex;
    align-items: center;
    /*justify-content: center;*/
}

.page-header h1 {
    color: white;
    font-size: 2.5rem;
    font-weight: 900;
    /*padding-left: 40%;*/
    text-transform: uppercase;
}

.page-header h2,
.item-title {
    margin: 0;
    padding: 0;
}

.page-header a,
.item-title a {
    font-size: 2rem !important;
    font-weight: bold !important;
    color: #111 !important;
    text-decoration: none !important;
    line-height: 1.2;
}

.page-header a:hover,
.item-title a:hover {
    color: #1f4c7a !important;
}

.item-content,
.article-intro,
.introtext {
    width: 100%;
    font-size: 14px;
    line-height: 1.7;
    color: #222;
    margin-top: 5px;
}

.readmore {
    width: 50%;
    text-align: center;
}

.readmore a {
    background-color: #1f4c7a !important;
    color: #fff !important;
    text-decoration: none !important;
    padding: 9px 18px;
    display: inline-block;
    border-radius: 3px;
    font-size: 0.95rem;
    transition: background 0.2s ease;
}

.readmore a:hover {
    background-color: #163654 !important;
}

.icons,
.actions,
dd.createdby,
dd.category-name,
dd.hits,
.hits,
.icon-print,
.icon-envelope,
.icon-file,
.article-info-term,
.items-more {
    display: none !important;
}

.com-content-article {
    display: flex;
    flex-direction: column;
}

.article-info {
    order: 2;
    margin-top: 1rem;
}

.com-content-article__body {
    position: relative;
    order: 1;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.pagenavigation {
    order: 3;
}

.published {
    font-size: 12px;
    color: #666;
    margin-bottom: 1.5rem;
    padding-left: 0 !important;
}

.com-content-article__body h2 {
    font-weight: 700;
    font-size: 14px;
    margin: 0 0 6px;
}

.com-content-article__body h2:first-of-type {
    font-size: 2.5em;
    padding-bottom: 1rem;
}

.com-content-article__body p {
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.ligacoes_artigo {
    position: absolute;
    top: 0;
    right: 0;
    width: 25%;
    margin-top: 5em;
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-decoration: underline;
}

.ligacoes_artigo p:first-child {
    font-size: 1em;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}


/* ==================================================
   MENU LATERAL / BARRA SECUNDARIA
================================================== */

.barra_menu_lateral {
    background-color: rgb(238, 181, 0);
    flex-direction: row !important;
    list-style: none;
}

.barra_menu_lateral ul.navbar-nav,
.barra_menu_lateral .navbar-nav {
    display: flex !important;
    flex-direction: row !important;
    gap: 0;
    padding: 0;
    margin: 0;
    list-style: none;
}

.barra_menu_lateral ul.navbar-nav {
    justify-content: center;
    align-content: center;
    /*padding-left: 20%;*/
}

.barra_menu_lateral .nav-item .nav-link {
    display: inline-block;
    padding: 12px 24px;
    color: #1a1a00;
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    border-right: 1px solid rgba(0, 0, 0, 0.1);
}

.barra_menu_lateral .nav-item:last-child .nav-link {
    border-right: none;
}

.barra_menu_lateral .nav-item .nav-link:hover {
    background: #ffd700;
}


/* ==================================================
   PAGINACAO
================================================== */

.pagination {
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 25px 0;
    flex-wrap: wrap;
}

.pagination .page-item {
    list-style: none;
}

.pagination .page-link,
.pagination .page-item span.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 35px;
    padding: 0 10px;
    border-radius: 8px;
    border: 1px solid #d6d6d6;
    color: #234c74;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.pagination .page-link:hover,
.pagination .active .page-link {
    background: #234c74;
    color: white;
    border-color: #234c74;
}

.pagination .page-link:hover {
    transform: translateY(-2px);
}

.pagination .disabled .page-link {
    opacity: 0.45;
    cursor: not-allowed;
}

.com-content-category-blog__counter {
    text-align: center;
    font-size: 13px;
    color: #333;
    margin-bottom: 6px;
}

.pagination li:first-child .page-link::after {
    content: "Início";
}

.pagination li:nth-child(2) .page-link::after {
    content: "Anterior";
}

.pagination li:nth-last-child(2) .page-link::after {
    content: "Seguinte";
}

.pagination li:last-child .page-link::after {
    content: "Fim";
}

.com-content-category-blog__navigation {
    text-align: center;
}

.pagenavigation a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 30px;
    padding: 0 7px;
    border-radius: 8px;
    border: 1px solid #d6d6d6;
    color: #234c74;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}


/* ==================================================
   RODAPE
================================================== */

.footer,
.footer > .container {
    width: 100% !important;
    max-width: none !important;
}

.conteudos_rodape {
    width: 90% !important;
    max-width: 1180px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: flex;
    justify-content: center;
}

#mod-custom120 {
    width: 94% !important;
    max-width: none !important;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    gap: 50px;
    align-items: flex-start;
    padding-left: 0 !important;
    padding-right: 0 !important;
    justify-content: center;
}

#rodape_liga {
  display: inline-grid;
  grid-template-columns: auto auto;
  gap: 10px 25px;
}

#rodape_liga p {
    margin: 0;
    padding-top: 12px;
}

#rodape_liga p:first-child {
    grid-column: 1 / -1;
}

#rodape_liga p strong,
#rodape_contactos p:first-child {
    color: #ffe066;
    font-weight: bold;
    display: block;
}

#rodape_contactos p:first-child {
    margin-top: 15px;
    padding-left: 0;
}

#rodape_liga p strong::after,
#rodape_contactos p:first-child::after {
    content: "";
    display: block;
    width: 35px;
    height: 2px;
    background: #ffe066 !important;
    margin-top: 5px;
}

.mod-finder button {
    display: none;
}


/* ==================================================
   MOBILE
================================================== */

@media (max-width: 768px) {
    .visually-hidden {
        display: none !important;
    }

    .hamburguer.visually-hidden {
        display: block !important;
    }

    .header_menu,
    .barra_menu,
    .logo {
        display: none !important;
    }

    header {
        width: 100%;
        box-shadow: none;
    }

    .carrossel,
    .conteudo.no-card.carrossel {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        background-color: transparent !important;
    }

    .carrossel .carousel,
    .carrossel .digi_showcase,
    .carrossel .carousel-container-horizontal {
        width: 100% !important;
        max-width: none !important;
    }

    #digi_showcase_carousel .slick-slide,
    .carrossel .slick-slide,
    .carrossel .item-content {
        height: 55vw !important;
    }

    .carrossel .slick-list {
        padding: 0 !important;
        overflow: hidden;
    }

    .carrossel .slick-track {
        display: flex !important;
    }

    .carrossel .slick-slide {
        padding: 0 !important;
    }

    #digi_showcase_carousel .item-content {
        width: 100vw !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .slick-dotted.slick-slider {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
        padding-top: 0 !important;
    }

    .carrossel .slick-next,
    .carrossel .slick-prev,
    .carrossel .slick-dots {
        display: none !important;
    }

    .carrossel .item-content {
        position: relative;
        overflow: hidden;
    }

    .carrossel .item-content .image,
    .carrossel .item-content .image a {
        display: block;
        width: 100%;
        height: 100%;
    }

    .carrossel .item-content .image img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: fill;
    }

    .carrossel .item-content p {
        margin: 0;
    }

    .carrossel .item-content .title {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        padding: 12px;
        margin: 0;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    }

    .carrossel .title > a {
        font-size: 22pt;
        color: #fff;
    }

    .noticias {
        width: 94% !important;
        max-width: none !important;
        margin: 32px auto !important;
        overflow: hidden !important;
    }

    .noticias > h3 {
        font-size: 1.8rem !important;
        margin: 0 0 22px !important;
        padding-bottom: 10px !important;
    }

    .noticias > h3::after {
        width: 62px;
    }

    .noticias .jtcs_item_wrapper {
        width: 100% !important;
        max-width: none !important;
        margin-left: auto !important;
        overflow: visible !important;
    }

    .noticias .owl-stage-outer {
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 4px;
    }

    .noticias .owl-stage-outer::-webkit-scrollbar {
        display: none;
    }

    .noticias .owl-stage {
        display: flex !important;
        grid-template-columns: none !important;
        gap: 16px !important;
        width: max-content !important;
        min-width: 100% !important;
        transform: none !important;
        transition: none !important;
        scroll-snap-type: x mandatory;
        padding-left: 5%;
    }

    .noticias .owl-item {
        width: 82vw !important;
        max-width: 330px !important;
        min-width: 260px !important;
        flex: 0 0 auto !important;
        scroll-snap-align: start;
    }

    .noticias .fake-col-wrapper {
        display: flex !important;
        flex-direction: column !important;
        border-radius: 8px;
        overflow: hidden;
    }

    .noticias .jt-inner {
        display: flex !important;
        flex-direction: column !important;
    }

    .noticias .jt-inner > h5 {
        padding: 14px 14px 6px !important;
    }

    .noticias .jt-title {
        font-size: 1rem !important;
    }

    .noticias .jt-author-date {
        padding: 0 14px 8px !important;
        font-size: 0.78rem !important;
    }

    .noticias .jt-introtext {
        padding: 0 14px 14px !important;
        font-size: 0.86rem !important;
    }

    .noticias .jt-readmore {
        margin: auto 14px 16px !important;
    }

    .noticias .jt-readmore a,
    .noticias a.jt-readmore {
        padding: 8px 14px !important;
        font-size: 0.78rem !important;
    }

    .noticias .jtcs_more_cat {
        margin-top: 18px;
        padding: 12px 14px;
        font-size: 0.88rem;
    }

    .painel_apoios,
    .painel_serv {
        padding: 30px 0;
        overflow: hidden;
    }

    .painel_apoios {
        background-color: #f0f0f0;
    }

    .painel_apoios > div,
    .painel_serv > div {
        display: block;
        width: 100%;
    }

    .apoios_titulo,
    .servicos_titulo {
        width: unset;
        font-size: 23pt;
        text-align: center;
        margin-bottom: 25px;
        color: #325466;
    }

    .apoios_icones,
    .servicos_icones {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 15px;
        padding: 0 15px !important;
        scrollbar-width: none;
    }

    .apoios_icones {
        gap: 40px;
    }

    .apoios_icones::-webkit-scrollbar,
    .servicos_icones::-webkit-scrollbar {
        display: none;
    }

    .painel_links.painel_serv .servicos_icones > div,
    .painel_links.painel_apoios .apoios_icones > div {
        min-width: 180px !important;
        max-width: 180px !important;
        height: 160px !important;
        min-height: 160px !important;
        padding: 18px 12px !important;
        flex-shrink: 0 !important;
        scroll-snap-align: start !important;
    }

    .painel_links.painel_serv .servicos_icones img,
    .painel_links.painel_apoios .apoios_icones img {
        width: 62px !important;
        height: 62px !important;
        margin: 0 auto !important;
    }

    .painel_links.painel_serv .servicos_icones p,
    .painel_links.painel_apoios .apoios_icones p {
        width: 100% !important;
        margin: 0 !important;
        font-size: 11pt !important;
    }

    .patrono > div {
        width: 83% !important;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 1em;
    }

    .jd_assinatura > img {
        width: 100%;
        max-width: 280px;
    }

    .texto_patrono {
        padding-left: 0;
        font-size: 9pt;
        text-align: justify;
    }

    .conteudos_rodape {
        width: 90% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        justify-content: flex-start !important;
        flex-wrap: wrap !important;
    }

    .rodape_final {
        height: auto;
        padding: 10px 0;
        text-align: center;
    }

    #mod-custom120 {
        flex-direction: column;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
        gap: 0;
    }

    #menu-toggle {
        display: none;
    }

    .hamburger-btn {
        display: flex;
        position: fixed;
        top: 15px;
        right: 20px;
        z-index: 10000;
        cursor: pointer;
        flex-direction: column;
        gap: 5px;
        padding: 8px;
        background: #325466;
        border-radius: 6px;
    }

    .hamburger-btn span {
        display: block;
        width: 25px;
        height: 3px;
        background: #fff;
        border-radius: 3px;
        transition: all 0.3s;
    }

    #menu-toggle:checked ~ .hamburger-btn span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    #menu-toggle:checked ~ .hamburger-btn span:nth-child(2) {
        opacity: 0;
    }

    #menu-toggle:checked ~ .hamburger-btn span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .menu-lateral {
        position: fixed;
        top: 0;
        right: -300px;
        width: 280px;
        height: 100%;
        background: #fff;
        z-index: 9999;
        overflow-y: auto;
        transition: right 0.3s ease;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
    }

    #menu-toggle:checked ~ .menu-lateral {
        right: 0;
    }

    .menu-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 9998;
    }

    #menu-toggle:checked ~ .menu-overlay {
        display: block;
    }

    .sidebar-header {
        background: #325466;
        padding: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .sidebar-header img {
        width: 75px;
    }

    .search-container-mobile {
        padding: 10px;
        border-bottom: 1px solid #f0f0f0;
    }

    .search-container-mobile form {
        display: flex;
        border: 1px solid #ddd;
        border-radius: 20px;
        overflow: hidden;
    }

    .search-container-mobile input {
        border: none;
        padding: 10px;
        flex: 1;
        outline: none;
        font-size: 14px;
    }

    .search-container-mobile button {
        border: none;
        background: #325466;
        color: white;
        padding: 10px 14px;
        cursor: pointer;
    }

    .lista-mobile {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .lista-mobile li {
        border-bottom: 1px solid #f0f0f0;
    }

    .lista-mobile a {
        display: block;
        padding: 15px 25px;
        color: #325466;
        font-weight: bold;
        text-transform: uppercase;
        font-size: 12px;
        text-decoration: none;
        transition: background 0.2s;
    }

    .lista-mobile a:hover {
        background: #f9f9f9;
        color: #eeb500;
    }

    .com-content-article__body {
        position: static;
        padding-right: 0;
        padding-left: 0;
    }

    .ligacoes_artigo {
        position: static;
        width: 100%;
        margin-top: 1rem;
    }

    .barra_menu_lateral {
        display: none;
    }

    .blog-items,
    .items-leading,
    .com-content-category-blog__items {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 12px !important;
    }

    .blog-item,
    .com-content-category-blog__item {
        width: 100% !important;
        padding: 0;
        margin: 0;
    }

    .blog-item .item-content,
    .com-content-category-blog__item .item-content {
        display: grid !important;
        grid-template-columns: 1fr auto !important;
        grid-template-rows: auto auto !important;
        column-gap: 12px;
        align-items: center;
        padding: 60px 0;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box;
        gap: 0;
    }

    .blog-item .item-content .page-header {
        grid-column: 1 !important;
        grid-row: 1 !important;
        width: 100% !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        background: none !important;
        justify-content: left;
    }

    .blog-item .item-content .page-header a {
        font-size: 25px !important;
        line-height: 1.3;
        display: block;
        word-break: break-word;
        color: #111 !important;
    }

    .blog-item .item-content > p:not(.readmore) {
        grid-column: 1 !important;
        grid-row: 2 !important;
        font-size: 13px !important;
        line-height: 1.5;
        margin: 4px 0 0 !important;
        width: 100% !important;
    }

    .blog-item .item-content .readmore {
        grid-column: 2 !important;
        grid-row: 1 / 3 !important;
        width: auto !important;
        text-align: center !important;
        margin: 0 !important;
        align-self: center;
    }

    .blog-item .item-content .readmore a {
        font-size: 0.70rem;
        padding: 10px 10px;
        white-space: nowrap;
        display: block;
    }

    .pagination {
        gap: 10px;
        padding: 0;
    }

    .com-content-category-blog__navigation {
        /*padding-left: 5%;*/
    }

    .carrossel-escolas {
        display: flex;
        gap: 16px;
        width: 85% !important;
        max-width: none !important;
        margin: 0;
        padding: 18px 15px 22px;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        scrollbar-width: none;
        box-sizing: border-box;
        margin-left: auto;
        margin-right: auto;
    }

    .carrossel-escolas::-webkit-scrollbar {
        display: none;
    }

    .cartao-escola {
        min-width: 260px;
        max-width: 260px;
        flex-shrink: 0;
        scroll-snap-align: start;
    }

    .cartao-escola img {
        height: 170px;
    }

    .cartao-escola h3 {
        min-height: auto;
        font-size: 1rem;
        line-height: 1.35;
    }

  .carrossel,
    .conteudo.no-card.carrossel {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        background-color: transparent !important;
    }

    .conteudo.no-card.carrossel {
        padding: 0 !important;
        background-image: none !important;
        background-color: transparent !important;
    }

    .carrossel .digi_showcase,
    .carrossel .carousel,
    .carrossel .carousel-container-horizontal {
        width: 100% !important;
        max-width: none !important;
    }

    .carrossel .slick-list {
        border-radius: 0;
    }

    .carrossel .item-content {
        display: block !important;
        position: relative;
        width: 100vw !important;
        height: 55vw !important;
        min-height: 0px;
        max-height: 380px;
        padding: 0 !important;
        border-radius: 0;
        background: #325466;
        box-shadow: none;
        overflow: hidden;
    }

    .carrossel .item-content p.image,
    .carrossel .item-content p.image a {
        display: block;
        width: 100%;
        height: 100%;
    }

    .carrossel .item-content img {
        width: 100% !important;
        height: 100% !important;
        border-radius: 0;
    }

    .carrossel .title {
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100% !important;
        padding: 38px 16px 16px;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.76), transparent);
        box-sizing: border-box;
    }

    .carrossel .title > a {
        color: #ffffff !important;
        font-size: clamp(1.4rem, 7vw, 2rem) !important;
        line-height: 1.1;
        text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.65) !important;
        padding-left: 0;
    }

    .carrossel .slick-prev,
    .carrossel .slick-next,
    .carrossel .slick-dots {
        display: none !important;
    }
}