/*
Theme Name: Athenya Portal
Theme URI: https://wordpress.org/themes/
Author: Athenya EducaLab
Description: Tema de blocos editorial para o ecossistema Athenya EducaLab.
Version: 0.5.32
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: athenya-portal
*/
:root{--ath-navy:#10283e;--ath-ink:#172c41;--ath-teal:#087f83;--ath-bg:#f6f8fb;--ath-line:#dce5eb}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #e1a645;outline-offset:3px}
.wp-site-blocks{overflow-x:hidden}.ath-wrap{max-width:1180px;margin-inline:auto;padding-inline:24px}.ath-top{background:#091f31;color:#bed0db;padding:9px 0;font-size:12px}.ath-header{box-shadow:0 2px 14px #11283d12;border-bottom:1px solid var(--ath-line);position:relative;z-index:5}.ath-logo{letter-spacing:.06em;font-weight:800;line-height:1}.ath-logo small{display:block;color:var(--ath-teal);font-size:11px;letter-spacing:.17em;padding-top:5px}.ath-header .wp-block-navigation-item__content{font-weight:600;font-size:14px}.ath-header .wp-block-navigation{gap:18px!important}.ath-hero{background:linear-gradient(115deg,#0b2136 0%,#153d53 80%);color:#fff;padding-block:75px}.ath-hero h1{font-size:clamp(2.3rem,5vw,4.2rem);line-height:1.08;letter-spacing:-.045em;max-width:780px}.ath-hero p{font-size:1.08rem;max-width:700px;color:#d7e5ea}.ath-kicker{letter-spacing:.14em;text-transform:uppercase;font-weight:700;font-size:.72rem}.ath-pill{display:inline-block;border-radius:30px;background:#dff4ef;color:#075b60;padding:6px 12px;font-size:.75rem;font-weight:700}.ath-section{padding-block:64px}.ath-soft{background:var(--ath-bg)}.ath-title{font-size:clamp(1.65rem,3vw,2.15rem);line-height:1.2;letter-spacing:-.02em}.ath-card{border:1px solid var(--ath-line);border-radius:14px;padding:23px;background:white;height:100%;box-shadow:0 6px 22px #13314a08}.ath-card h3{margin-top:12px}.ath-card p{color:#53687a;font-size:.94rem}.ath-product{background:#e7f4f0;border-radius:20px;padding:42px}.ath-product h2{font-size:clamp(2rem,4vw,2.7rem)}.ath-product-mark{background:linear-gradient(145deg,#12344b,#087f83);color:#fff;border-radius:16px;padding:35px;min-height:260px;display:flex;flex-direction:column;justify-content:center;text-align:center}.ath-product-mark strong{font-size:2rem;line-height:1.2}.ath-solutions{background:var(--ath-navy);color:white}.ath-solutions .ath-card{background:#ffffff0b;border-color:#4e6678;color:white}.ath-solutions .ath-card p{color:#cbdbe3}.ath-newsletter{background:#dff1ee;padding-block:54px}.ath-footer{background:#091f31;color:#d2e2ed;padding-block:45px}.ath-footer a{color:#d2e2ed}.ath-footer p{color:#a4bdc9;font-size:.88rem}.ath-post-meta{color:#667b8a;font-size:.85rem}.ath-library-form{display:flex;flex-wrap:wrap;gap:10px;margin:1rem 0 2rem}.ath-library-form input,.ath-library-form select{padding:11px 13px;border-radius:8px;border:1px solid #aabfc9;background:white;min-width:170px}.ath-library-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.ath-library-card{border:1px solid var(--ath-line);border-radius:12px;padding:22px;background:white}.ath-library-card a{color:#087f83}.ath-library-card h3{margin:5px 0 10px;font-size:1.14rem}.ath-library-card p{font-size:.92rem;color:#52697b}.ath-library-label{font-size:.73rem;text-transform:uppercase;font-weight:700;color:#087f83}.ath-archive{padding-block:54px}.ath-archive .wp-block-post-template{gap:24px}.ath-archive .wp-block-post{border:1px solid var(--ath-line);border-radius:12px;padding:22px}.wp-block-button__link{transition:filter .15s}.wp-block-button__link:hover{filter:brightness(.92)}
@media(max-width:800px){.ath-section{padding-block:46px}.ath-library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ath-product{padding:25px}.ath-header .wp-block-navigation{justify-content:flex-end}.ath-hero{padding-block:55px}}
@media(max-width:570px){.ath-wrap{padding-inline:18px}.ath-library-grid{grid-template-columns:1fr}.ath-hero{padding-block:45px}.ath-section .wp-block-columns{gap:18px}.ath-product-mark{min-height:170px}.ath-card{padding:19px}.ath-top{display:none}}

/* Athenya Portal 0.2.0: aprimoramentos sem dependencia de JS */
.ath-header{background:#fff}.ath-header .wp-block-group{min-width:0}
.ath-brand{display:flex;align-items:center;gap:12px;min-width:0}
.ath-brand .wp-block-site-logo img{width:48px;height:48px;object-fit:contain}
.ath-brand .wp-block-site-title{margin:0;font-size:1.06rem;line-height:1.2}
.ath-header .wp-block-navigation__responsive-container-open{padding:9px;border-radius:9px}
.ath-header .wp-block-navigation-item__content:hover,.ath-footer a:hover{color:var(--ath-teal);text-decoration:underline;text-underline-offset:4px}
.ath-hero{background:radial-gradient(circle at 85% 20%,rgba(8,127,131,.28),transparent 36%),linear-gradient(112deg,#0b2136,#153d53 80%)}
.ath-card{transition:box-shadow .2s ease,transform .2s ease}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.ath-card:hover{box-shadow:0 15px 35px #13314a16;transform:translateY(-2px)}}
.ath-library{max-width:1180px;margin-inline:auto}.ath-library-form{padding:18px;background:#f6f8fb;border:1px solid var(--ath-line);border-radius:15px;align-items:end}
.ath-library-form label{display:flex;flex-direction:column;gap:5px;flex:1 1 185px;font-size:.83rem;font-weight:650;color:var(--ath-ink)}
.ath-library-form input,.ath-library-form select{width:100%;min-width:0;font-size:.94rem}
.ath-library-form button{background:var(--ath-teal);border:0;padding:12px 20px;border-radius:8px;color:#fff;font-weight:700;cursor:pointer}
.ath-library-card{display:flex;flex-direction:column;gap:10px;min-width:0;box-shadow:0 7px 24px #12314a09}
.ath-library-card h3{margin:2px 0 0;line-height:1.3;font-size:1.2rem}
.ath-library-card p{margin:0}.ath-library-card .ath-card-footer{margin-top:auto;display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.ath-library-card .ath-access{display:inline-flex;align-items:center;border-radius:999px;padding:4px 9px;background:#e3f5f0;color:#0b5f5d;font-size:.75rem;font-weight:700}
.ath-library-card .ath-access--premium{background:#f4ebdb;color:#70511e}
.ath-library-card .ath-cover{display:block;aspect-ratio:16/9;overflow:hidden;border-radius:10px;background:#e8eff3}
.ath-library-card .ath-cover img{width:100%;height:100%;object-fit:cover;display:block}
.ath-library-pagination{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin:25px 0}
.ath-library-pagination a,.ath-library-pagination span{display:inline-flex;padding:8px 12px;border:1px solid var(--ath-line);border-radius:7px;text-decoration:none}
.ath-library-pagination [aria-current=page]{background:var(--ath-navy);color:#fff}
.ath-detail{max-width:940px;margin:0 auto 50px}.ath-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:20px 0}
.ath-detail-field{border:1px solid var(--ath-line);background:var(--ath-bg);padding:12px;border-radius:9px;overflow-wrap:anywhere}
.ath-detail-field b{display:block;font-size:.78rem;color:#4a6572;margin-bottom:5px}
.ath-detail-actions a{display:inline-block;background:var(--ath-teal);color:#fff;border-radius:8px;padding:10px 16px;text-decoration:none;font-weight:700}
.ath-detail-note{color:#52697b;font-size:.88rem}.ath-content-page{padding-block:54px}
@media(max-width:600px){.ath-library-form{padding:12px}.ath-detail-grid{grid-template-columns:1fr}.ath-brand .wp-block-site-logo img{width:38px;height:38px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.ath-card{transition:none}}


/* Athenya Store 0.3.0 */
.ath-store{max-width:1180px;margin:24px auto 64px}.ath-store-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.ath-store-card{min-width:0;overflow:hidden;border:1px solid var(--ath-line);background:white;border-radius:16px;box-shadow:0 7px 24px #12314a0b;display:flex;flex-direction:column}
.ath-store-cover{display:block;aspect-ratio:16/9;background:#e7edf2;overflow:hidden}.ath-store-cover img{width:100%;height:100%;object-fit:cover;display:block}
.ath-store-card-body{padding:23px;display:flex;flex-direction:column;gap:9px;flex:1}.ath-store-card h3{font-size:1.3rem;line-height:1.22;margin:0}.ath-store-card h3 a{text-decoration:none;color:var(--ath-ink)}
.ath-store-card p{margin:0;color:#52677b}.ath-store-eyebrow{font-size:.76rem;text-transform:uppercase;font-weight:800;letter-spacing:.11em;color:var(--ath-teal)}
.ath-store-card .ath-store-link{margin-top:auto;display:inline-flex;align-self:flex-start;padding:11px 16px;background:var(--ath-navy);color:white;border-radius:9px;text-decoration:none;font-weight:700}
.ath-store-price{font-size:1.25rem!important;font-weight:800;color:var(--ath-ink)!important;margin:8px 0!important}
.ath-store-pagination{display:flex;gap:10px;flex-wrap:wrap;margin-top:24px}.ath-store-pagination a,.ath-store-pagination span{border:1px solid var(--ath-line);padding:9px 14px;border-radius:7px}
.ath-store-pagination [aria-current=page]{background:var(--ath-navy);color:white}
.ath-offer{max-width:1080px;margin:24px auto 54px;border:1px solid var(--ath-line);border-radius:20px;overflow:hidden;background:linear-gradient(130deg,#fff,#f4faf9)}
.ath-offer-top{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);align-items:center;gap:32px;padding:36px}
.ath-offer-art img{width:100%;height:auto;border-radius:12px}.ath-offer-body h2{font-size:clamp(1.8rem,3vw,2.8rem);line-height:1.15;margin:12px 0}.ath-offer-body p{line-height:1.55}
.ath-checkout-cta{display:inline-flex;border-radius:10px;padding:15px 22px;background:var(--ath-teal);color:white;text-decoration:none;font-weight:800}.ath-checkout-cta:hover{filter:brightness(.9)}
.ath-store-note{font-size:.86rem;color:#52677b}.ath-store-notice{border:1px solid #ddd5bf;background:#fff9e9;padding:14px;border-radius:10px;color:#74551f}
@media(max-width:800px){.ath-store-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ath-offer-top{grid-template-columns:1fr;padding:23px}}
@media(max-width:570px){.ath-store-grid{grid-template-columns:1fr}.ath-store-card-body{padding:18px}}


/* Athenya Portal 0.3.1 — mobile, respiro e contraste
 * Ajustes isolados no tema; Athenya Core e paginas cadastradas inalterados.
 */
/* Evita que conteudos longos force rolagem lateral. */
.wp-site-blocks .ath-hero,
.wp-site-blocks .ath-section,
.wp-site-blocks .ath-newsletter,
.wp-site-blocks .ath-footer {
  box-sizing: border-box;
  padding-inline: max(24px, calc((100vw - 1180px) / 2));
}
.wp-site-blocks .ath-hero > *,
.wp-site-blocks .ath-section > *,
.wp-site-blocks .ath-newsletter > *,
.wp-site-blocks .ath-footer > * {min-width:0;}
.ath-hero h1,.ath-section h2,.ath-section h3,.ath-footer p,
.ath-hero p,.ath-newsletter p {overflow-wrap:break-word;}
/* Contraste para links sobre fundo marinho, inclusive em botoes secundários. */
.ath-solutions a:not(.wp-block-button__link),
.ath-solutions a:not(.wp-block-button__link):visited {color:#8ce5dd;text-decoration:underline;text-underline-offset:3px;}
.ath-solutions a:not(.wp-block-button__link):hover,
.ath-solutions a:not(.wp-block-button__link):focus-visible {color:#fff;}
.ath-solutions .wp-block-button.is-style-outline .wp-block-button__link {color:#fff;border-color:#fff;}
.ath-footer a:not(.wp-block-button__link),
.ath-footer a:not(.wp-block-button__link):visited {color:#d9eaf3;}
.ath-footer a:not(.wp-block-button__link):hover {color:#fff;}
/* Layouts flex e grade nunca devem ultrapassar a largura disponível. */
.ath-section .wp-block-columns > .wp-block-column,
.ath-hero .wp-block-buttons > .wp-block-button,
.ath-footer .wp-block-columns > .wp-block-column {min-width:0;}
@media (max-width: 780px) {
  .wp-site-blocks .ath-hero,
  .wp-site-blocks .ath-section,
  .wp-site-blocks .ath-newsletter,
  .wp-site-blocks .ath-footer {
    padding-inline: 22px !important;
  }
  .ath-section,.ath-newsletter,.ath-footer {max-width:100%;}
  .ath-hero h1 {font-size:clamp(2rem,8vw,3.25rem);letter-spacing:-.025em;line-height:1.12;}
  .ath-hero .ath-kicker {font-size:.76rem;letter-spacing:.11em;}
  .ath-hero .wp-block-buttons {display:flex;gap:12px;flex-wrap:wrap;align-items:stretch;}
  .ath-hero .wp-block-buttons > .wp-block-button {flex:1 1 190px;}
  .ath-hero .wp-block-button__link {display:flex;align-items:center;justify-content:center;width:100%;min-height:48px;text-align:center;white-space:normal;}
  .ath-section .wp-block-post-template {min-width:0;}
  .ath-footer .wp-block-columns {gap:20px;}
  .ath-newsletter p,.ath-footer p {max-width:100%;}
}
@media (max-width: 420px) {
  .wp-site-blocks .ath-hero,
  .wp-site-blocks .ath-section,
  .wp-site-blocks .ath-newsletter,
  .wp-site-blocks .ath-footer {padding-inline:20px !important;}
  .ath-hero {padding-block:44px;}
  .ath-hero h1 {font-size:clamp(1.95rem,9vw,2.5rem);}
  .ath-hero .wp-block-buttons > .wp-block-button {flex-basis:100%;}
  .ath-product {padding:20px;}
  .ath-offer-top {padding:18px;}
  .ath-card {padding:20px;}
}


/* Athenya Portal v0.3.2 — navegação, páginas internas e loja no mobile.
   Apenas CSS: preserva conteúdo, produtos e checkout do Athenya Core. */
/* Área de leitura de páginas individuais e conteúdo de produtos. */
.wp-site-blocks .ath-content-page {
  box-sizing:border-box;
  width:100%;
  max-width:100%;
  padding-inline:max(24px, calc((100vw - 980px) / 2));
}
.wp-site-blocks .ath-content-page > *,
.wp-site-blocks .ath-content-page .wp-block-post-content,
.wp-site-blocks .ath-content-page .wp-block-post-content > * {
  min-width:0;
  max-width:100%;
  overflow-wrap:break-word;
}
.ath-content-page img,.ath-content-page video,.ath-content-page iframe {
  max-width:100%;height:auto;
}
.ath-content-page .wp-block-post-featured-image img {display:block;max-width:100%;height:auto;}
.ath-detail,.ath-store,.ath-offer {box-sizing:border-box;max-width:100%;}
/* O menu do WordPress aberto em tela estreita deve ocupar toda a largura
   sem comprimir ou alinhar os links contra a borda direita. */
@media(max-width:781px) {
 .wp-block-navigation__responsive-container.is-menu-open {
   box-sizing:border-box;
   padding:24px 22px !important;
 }
 .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
   width:100%;align-items:flex-start !important;justify-content:flex-start !important;
 }
 .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
   width:100%;align-items:flex-start !important;justify-content:flex-start !important;
   flex-direction:column !important;gap:0 !important;
 }
 .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
   width:100%;align-items:flex-start !important;text-align:left !important;
 }
 .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
   display:block;padding:12px 0;text-align:left !important;font-size:1.08rem;
 }
 .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close {
   top:16px;right:20px;
 }
 .wp-site-blocks .ath-content-page {padding-inline:22px !important;}
 .ath-content-page .wp-block-post-title {overflow-wrap:break-word;font-size:clamp(1.9rem,7.5vw,2.75rem);line-height:1.2;}
 .ath-content-page .wp-block-post-content {font-size:1rem;line-height:1.65;}
 .ath-content-page .wp-block-post-content :is(h2,h3,h4) {line-height:1.25;overflow-wrap:break-word;}
 .ath-detail-grid {grid-template-columns:minmax(0,1fr);}
 .ath-detail-actions {margin-block:16px 24px;}
 .ath-library-form label {flex-basis:100%;}
 .ath-library-form button {width:100%;min-height:46px;}
 .ath-offer-top{gap:18px;}
}
@media(max-width:420px) {
 .wp-site-blocks .ath-content-page {padding-inline:20px !important;}
 .ath-offer-top{padding:18px;}
 .ath-offer-body h2{font-size:clamp(1.7rem,7vw,2.2rem);}
 .ath-detail-actions a,.ath-checkout-cta{max-width:100%;justify-content:center;text-align:center;white-space:normal;}
}

/* v0.5.5 — Match logo treatment on inner-page FSE templates. */
.ath-header .ath-brand .wp-block-site-logo img{width:86px!important;height:auto!important;max-height:66px;object-fit:contain;object-position:center}
.ath-footer .wp-block-columns>.wp-block-column:first-child::before{content:"";display:block;width:100px;height:67px;background:url(assets/athenya-logo-white-transparent.png) center/contain no-repeat;margin-bottom:12px}
@media(max-width:600px){.ath-header .ath-brand .wp-block-site-logo img{width:67px!important;max-height:50px}.ath-footer .wp-block-columns>.wp-block-column:first-child::before{width:83px;height:56px}}


/* v0.5.6 — Updated header/footer brand marks with symbol-only official Athenya owl assets. */

/* v0.5.7 — Athenya Media: exclusively single-post editorial presentation. */
.ath-editorial-post{margin-block-start:0!important;background:#f4f8fa;color:#172c41;--editorial-gold:#d7a949}
.ath-editorial-hero{background:radial-gradient(ellipse at 92% 12%,#17606a 0%,transparent 55%),linear-gradient(115deg,#0c2235,#14394e);color:#fff;padding:64px 24px 100px;margin:0!important}
.ath-editorial-heading{max-width:1080px;margin-inline:auto!important}
.ath-editorial-kicker{font-size:.72rem;font-weight:800;letter-spacing:.15em;color:#087f83;margin:0 0 18px;text-transform:uppercase}
.ath-editorial-hero .ath-editorial-kicker{color:#a5e5e1;border-left:25px solid #d7a949;padding-left:12px}
.ath-editorial-category{font-size:.78rem;font-weight:700;margin-block:18px!important;color:#c7eeea}
.ath-editorial-category a{display:inline-block;color:#fff!important;text-decoration:none;background:#ffffff18;border:1px solid #ffffff30;padding:5px 12px;border-radius:5px;margin:3px 0}
.ath-editorial-heading .wp-block-post-title{font-size:clamp(2rem,4.2vw,3.45rem);line-height:1.15;letter-spacing:-.035em;color:#fff;max-width:1000px;margin:22px 0!important;overflow-wrap:break-word}
.ath-editorial-meta{color:#c6dbe3;font-size:.88rem;gap:24px!important;align-items:center}
.ath-editorial-meta a{color:inherit!important}.ath-editorial-meta .wp-block-post-date{border-left:1px solid #698696;padding-left:18px}
.ath-editorial-shell{max-width:1130px;margin:-56px auto 0!important;padding:0 24px 64px;position:relative;z-index:1;box-sizing:border-box}
.ath-editorial-cover{margin:0!important;background:#10283e;border-radius:15px 15px 0 0;overflow:hidden;box-shadow:0 8px 30px #0c22351a}
.ath-editorial-cover img{display:block;width:100%;height:auto!important;object-fit:contain!important;max-width:100%}
.ath-editorial-reading{background:#fff;border:1px solid #dce5eb;border-radius:0 0 15px 15px;padding:clamp(24px,5vw,64px);box-shadow:0 12px 35px #10283e0b;margin:0!important;min-width:0}
.ath-editorial-reading .wp-block-post-content{font-size:1.075rem;line-height:1.82;max-width:790px;margin-inline:auto!important;overflow-wrap:anywhere;color:#243b4e}
.ath-editorial-reading .wp-block-post-content p{margin-block:0 1.35em}
.ath-editorial-reading .wp-block-post-content h2{font-size:clamp(1.45rem,2.6vw,1.9rem);line-height:1.28;letter-spacing:-.025em;margin:1.65em 0 .8em;border-left:4px solid #087f83;padding-left:15px;color:#10283e}
.ath-editorial-reading .wp-block-post-content h3{font-size:1.3rem;line-height:1.35;color:#10283e;margin:1.5em 0 .65em}
.ath-editorial-reading .wp-block-post-content blockquote{border-left:4px solid #d7a949;background:#f0f7f6;padding:20px 24px;margin:24px 0;border-radius:0 8px 8px 0}
.ath-editorial-reading .wp-block-post-content img{max-width:100%;height:auto;border-radius:8px}.ath-editorial-reading .wp-block-post-content pre,.ath-editorial-reading .wp-block-table{max-width:100%;overflow-x:auto}.ath-editorial-reading .wp-block-post-content a{color:#087f83;text-underline-offset:3px}
.ath-editorial-tags{max-width:790px;margin:30px auto!important;font-size:.85rem}.ath-editorial-tags a{display:inline-block;background:#e7f4f1;padding:5px 10px;border-radius:5px;text-decoration:none}
.ath-editorial-end{max-width:790px;margin:40px auto 0!important;background:#e7f4f1;border-radius:12px;padding:28px;border-top:3px solid #087f83}.ath-editorial-end h2{font-size:1.5rem;line-height:1.3;margin:0 0 12px}.ath-editorial-end p{margin-bottom:15px}.ath-editorial-actions{display:flex;flex-wrap:wrap;gap:10px}.ath-editorial-actions a{display:inline-block;background:#087f83;color:#fff!important;border-radius:7px;padding:11px 15px;font-size:.85rem;font-weight:700;text-decoration:none!important}.ath-editorial-actions a:last-child{background:#10283e}
.ath-editorial-related{margin:48px 0 0!important}.ath-editorial-related h2{font-size:1.9rem;letter-spacing:-.025em;margin:0 0 24px}.ath-editorial-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.ath-editorial-card{background:white;border:1px solid #dce5eb;border-radius:12px;overflow:hidden}.ath-editorial-card a{display:block;color:#10283e!important;text-decoration:none!important;height:100%}.ath-editorial-card img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:contain;background:#10283e}.ath-editorial-card-copy{padding:20px}.ath-editorial-card-copy span,.ath-editorial-card-copy small{color:#087f83;font-size:.75rem;font-weight:700}.ath-editorial-card-copy h3{font-size:1.1rem;line-height:1.35;margin:10px 0 14px}.ath-editorial-card a:hover h3{color:#087f83}
@media(max-width:700px){.ath-editorial-hero{padding:40px 20px 75px}.ath-editorial-shell{padding:0 16px 40px;margin-top:-40px!important}.ath-editorial-reading{padding:24px 20px}.ath-editorial-reading .wp-block-post-content{font-size:1rem;line-height:1.75}.ath-editorial-grid{grid-template-columns:1fr}.ath-editorial-end{padding:20px}.ath-editorial-meta{gap:12px!important}.ath-editorial-meta .wp-block-post-date{padding-left:12px}}


/* Athenya Portal 0.5.11 — premium library page */
.ath-library-page{width:100%;max-width:100%;position:relative;margin:0;background:#f4f8fa;color:#172c41}
.ath-library-hero{background:radial-gradient(ellipse at 92% 10%,#17606a 0%,transparent 52%),linear-gradient(115deg,#0c2235,#14394e);color:#fff;padding:64px 24px 78px}
.ath-library-hero-inner{max-width:1180px;margin:0 auto;display:grid;grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr);gap:28px;align-items:stretch}
.ath-library-kicker{font-size:.72rem;font-weight:800;letter-spacing:.15em;color:#a5e5e1;margin:0 0 20px;text-transform:uppercase;border-left:25px solid #d7a949;padding-left:12px}
.ath-library-copy h1{font-size:clamp(2.1rem,5vw,4rem);line-height:1.08;letter-spacing:-.04em;margin:0 0 18px;color:#fff}
.ath-library-lead{font-size:1.08rem;line-height:1.7;color:#d4e3e9;max-width:780px;margin:0 0 26px}
.ath-library-badges{display:flex;flex-wrap:wrap;gap:10px}
.ath-library-badges span{display:inline-flex;align-items:center;gap:8px;padding:9px 13px;border:1px solid #ffffff26;background:#ffffff12;border-radius:999px;font-size:.83rem;font-weight:600;color:#fff}
.ath-library-panel{display:flex;align-items:stretch}
.ath-library-panel-card{width:100%;background:linear-gradient(180deg,#ffffff14,#ffffff08);border:1px solid #ffffff22;border-radius:18px;box-shadow:0 12px 30px #071a2d26;padding:24px 22px;backdrop-filter:blur(6px)}
.ath-library-panel-card small{display:block;color:#9de7df;font-size:.77rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;margin-bottom:12px}
.ath-library-panel-card strong{display:block;font-size:1.35rem;line-height:1.3;color:#fff;margin-bottom:16px}
.ath-library-panel-list{list-style:none;padding:0;margin:0;display:grid;gap:10px}
.ath-library-panel-list li{padding:11px 12px;border-radius:12px;background:#ffffff10;border:1px solid #ffffff12;color:#dce8ee;font-size:.92rem}
.ath-library-shell{max-width:1180px;margin:-38px auto 0;padding:0 24px 66px;position:relative;z-index:1;box-sizing:border-box}
.ath-library-intro{background:#fff;border:1px solid #dce5eb;border-bottom:none;border-radius:16px 16px 0 0;padding:26px 28px 18px;box-shadow:0 12px 35px #10283e0b}
.ath-library-intro .ath-library-eyebrow{display:inline-block;color:#087f83;font-size:.73rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase;margin-bottom:10px}
.ath-library-intro h2{font-size:clamp(1.55rem,2.5vw,2rem);line-height:1.18;letter-spacing:-.03em;color:#10283e;margin:0 0 10px}
.ath-library-intro p{margin:0;color:#597082;line-height:1.65;max-width:850px}
.ath-library-content-card{background:#fff;border:1px solid #dce5eb;border-radius:0 0 16px 16px;padding:clamp(24px,4vw,40px);box-shadow:0 12px 35px #10283e0b}
.ath-library-content-card > *:first-child{margin-top:0!important}
.ath-library-content-card h2,.ath-library-content-card h3,.ath-library-content-card h4{color:#10283e;letter-spacing:-.02em}
.ath-library-content-card p,.ath-library-content-card li,.ath-library-content-card label{color:#314a5e;line-height:1.7}
.ath-library-content-card a{color:#087f83;text-underline-offset:3px}
.ath-library-content-card .ath-library-form,.ath-library-content-card form{display:flex;flex-wrap:wrap;gap:12px;padding:20px;border:1px solid #dce5eb;border-radius:14px;background:#f5fafb;margin:0 0 28px}
.ath-library-content-card .ath-library-form input,.ath-library-content-card .ath-library-form select,.ath-library-content-card form input[type="text"],.ath-library-content-card form input[type="search"],.ath-library-content-card form select{min-height:46px;padding:11px 14px;border-radius:10px;border:1px solid #bfd0d8;background:#fff;min-width:0;box-sizing:border-box;flex:0 0 auto;width:100%;height:46px;max-width:100%}
.ath-library-content-card .ath-library-form button,.ath-library-content-card .ath-library-form input[type="submit"],.ath-library-content-card form button,.ath-library-content-card form input[type="submit"]{min-height:46px;border:none;border-radius:10px;padding:0 18px;background:#10283e;color:#fff;font-weight:700;cursor:pointer;box-shadow:0 8px 18px #10283e18}
.ath-library-content-card .ath-library-form button:hover,.ath-library-content-card .ath-library-form input[type="submit"]:hover,.ath-library-content-card form button:hover,.ath-library-content-card form input[type="submit"]:hover{filter:brightness(.95)}
.ath-library-content-card .ath-library-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;align-items:start}
.ath-library-content-card .ath-library-card{position:relative;border:1px solid #dce5eb;border-radius:16px;padding:22px;background:linear-gradient(180deg,#fff,#fbfdfe);box-shadow:0 10px 24px #10283e0b;transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;height:100%}
.ath-library-content-card .ath-library-card:hover{transform:translateY(-3px);box-shadow:0 16px 34px #10283e14;border-color:#bfd5df}
.ath-library-content-card .ath-library-card h3{font-size:1.15rem;line-height:1.35;margin:10px 0 12px}
.ath-library-content-card .ath-library-card p{font-size:.95rem;line-height:1.65;color:#586f80;margin:0 0 14px}
.ath-library-content-card .ath-library-card a{font-weight:700;text-decoration:none}
.ath-library-content-card .ath-library-label{display:inline-block;padding:6px 10px;border-radius:999px;background:#e7f4f1;color:#087f83;font-size:.72rem;font-weight:800;letter-spacing:.08em}
.ath-library-content-card img{max-width:100%;height:auto;border-radius:10px}
@media(max-width:980px){.ath-library-hero-inner{grid-template-columns:1fr}.ath-library-content-card .ath-library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.ath-library-page{margin-top:0}.ath-library-hero{padding:42px 20px 62px}.ath-library-shell{padding:0 16px 42px;margin-top:-28px}.ath-library-intro{padding:20px 20px 14px}.ath-library-content-card{padding:22px 18px}.ath-library-content-card .ath-library-grid{grid-template-columns:1fr}.ath-library-badges span{font-size:.8rem}}

/* 0.5.12 — Biblioteca: full-width template, normal document flow and compact filters. */
.ath-library-template{width:100%;max-width:100%;margin:0!important;padding:0!important;min-width:0}
.ath-library-template > .wp-block-post-content{width:100%;max-width:none!important;margin:0!important;padding:0!important;min-width:0}
.ath-library-template .ath-library-page{width:100%;max-width:none!important;margin:0!important;left:auto;right:auto;min-width:0}
.ath-library-page .ath-library-hero-inner > *, .ath-library-page .ath-library-shell, .ath-library-page .ath-library-content-card, .ath-library-page .ath-library-card{min-width:0;overflow-wrap:anywhere}
.ath-library-page .ath-library-form{display:grid;grid-template-columns:minmax(0,1.35fr) repeat(3,minmax(0,1fr)) auto;align-items:end;gap:12px}
.ath-library-page .ath-library-form label{display:flex;flex-direction:column;gap:6px;min-width:0;margin:0}
.ath-library-page .ath-library-form label :is(input,select){flex:none;width:100%;min-width:0;max-width:100%;height:46px;min-height:46px;margin:0;line-height:normal}
.ath-library-page .ath-library-form button{height:46px;min-height:46px;width:auto;white-space:normal}
.ath-library-page .ath-library-card .ath-cover img{width:100%;height:100%;object-fit:contain;background:#10283e}
@media(max-width:1050px){.ath-library-page .ath-library-form{grid-template-columns:repeat(2,minmax(0,1fr))}.ath-library-page .ath-library-form button{grid-column:1/-1;width:100%}}
@media(max-width:560px){.ath-library-page .ath-library-form{grid-template-columns:minmax(0,1fr);padding:12px}.ath-library-page .ath-library-content-card{padding:18px 14px}}

/* Fallback for a previously saved generic block template. */
.ath-library-layout .wp-site-blocks > .ath-section:has(.ath-library-page){padding:0!important;margin:0!important;max-width:none!important;width:100%}
.ath-library-layout .ath-section > .wp-block-post-content:has(.ath-library-page){max-width:none!important;width:100%;margin:0!important;padding:0!important}
.ath-library-layout .wp-block-post-content > .ath-library-page{max-width:none!important;width:100%;margin:0!important}

/* 0.5.13 — Contact page only. Native block template, existing page content and forms. */
.ath-contact-page{width:100%;max-width:100%;min-width:0;margin:0!important;padding:0!important;background:#f4f8fa;color:#172c41}
.ath-contact-page .ath-contact-hero{margin:0!important;background:radial-gradient(ellipse at 92% 10%,#17606a 0%,transparent 55%),linear-gradient(115deg,#0c2235,#14394e);padding:64px 24px 100px;color:white}
.ath-contact-page .ath-contact-hero-inner{max-width:1180px;margin:0 auto!important;min-width:0}
.ath-contact-page .ath-contact-kicker{font-size:.75rem;font-weight:800;letter-spacing:.15em;color:#a5e5e1;border-left:25px solid #d7a949;padding-left:12px;margin:0 0 20px}
.ath-contact-page .wp-block-post-title{font-size:clamp(2.2rem,5vw,3.75rem);line-height:1.12;letter-spacing:-.04em;margin:0 0 18px!important;color:white;overflow-wrap:anywhere}
.ath-contact-page .ath-contact-lead{max-width:740px;color:#d4e3e9;font-size:1.08rem;line-height:1.7;margin:0}
.ath-contact-page .ath-contact-shell{box-sizing:border-box;width:100%;max-width:1228px;margin:-44px auto 0!important;position:relative;display:grid;grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);gap:24px;align-items:start;padding:0 24px 64px}
.ath-contact-page .ath-contact-card,.ath-contact-page .ath-contact-aside{min-width:0;max-width:100%;margin:0!important;padding:clamp(22px,3vw,36px);border:1px solid #dce5eb;border-radius:16px;background:white;box-shadow:0 12px 35px #10283e0d;overflow-wrap:anywhere}
.ath-contact-page .ath-contact-label{font-size:.72rem;letter-spacing:.13em;font-weight:800;color:#087f83;margin:0 0 12px}
.ath-contact-page h2{font-size:clamp(1.45rem,2.5vw,1.95rem);line-height:1.25;letter-spacing:-.025em;color:#10283e;margin:0 0 20px}
.ath-contact-page .ath-contact-aside{border-top:3px solid #d7a949;background:#fff}
.ath-contact-page .ath-contact-aside p:not(.ath-contact-label){font-size:.94rem;color:#536b7c;line-height:1.65;margin:0 0 16px}
.ath-contact-page .ath-contact-topic{padding:16px 0 0;border-top:1px solid #dce5eb;margin:16px 0 0}
.ath-contact-page .ath-contact-topic h3{font-size:1rem;color:#10283e;margin:0 0 7px}
.ath-contact-page .ath-contact-topic p{margin:0!important}
.ath-contact-page .wp-block-post-content{min-width:0;max-width:100%;margin:0!important;line-height:1.7}
.ath-contact-page .wp-block-post-content img,.ath-contact-page .wp-block-post-content iframe{max-width:100%}
.ath-contact-page .wp-block-post-content :is(input:not([type]),input[type=text],input[type=email],input[type=tel],input[type=url],input[type=number],input[type=search],select,textarea){box-sizing:border-box;max-width:100%;min-width:0;width:100%;border:1px solid #b8cbd6;border-radius:8px;background:#fff;color:#172c41;padding:11px 13px;font:inherit}
.ath-contact-page .wp-block-post-content :is(input:not([type]),input[type=text],input[type=email],input[type=tel],input[type=url],input[type=number],input[type=search],select){min-height:46px;height:auto}
.ath-contact-page .wp-block-post-content textarea{min-height:130px;resize:vertical}
.ath-contact-page .wp-block-post-content :is(input[type=submit],button[type=submit]){background:#087f83;color:#fff;border:0;border-radius:8px;padding:12px 20px;min-height:46px;max-width:100%;white-space:normal;font-weight:700;cursor:pointer}
.ath-contact-page .wp-block-post-content :is(input[type=submit],button[type=submit]):disabled{opacity:.6;cursor:not-allowed}
@media(max-width:800px){.ath-contact-page .ath-contact-shell{grid-template-columns:minmax(0,1fr);gap:18px;padding:0 20px 44px}.ath-contact-page .ath-contact-hero{padding:44px 20px 78px}}
@media(max-width:480px){.ath-contact-page .ath-contact-shell{padding-inline:16px}.ath-contact-page .ath-contact-card,.ath-contact-page .ath-contact-aside{padding:20px}.ath-contact-page .ath-contact-kicker{letter-spacing:.09em}}

/* 0.5.14 — Formulário da Central de Relacionamento, somente no formulário próprio. */
.ath-contact-form-area{margin-top:18px;color:#314a5e;scroll-margin-top:110px}.ath-contact-form-area>p{font-size:.95rem;line-height:1.65;margin:0 0 22px}.ath-contact-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 14px;min-width:0}.ath-contact-form .ath-contact-full{grid-column:1/-1}.ath-contact-form label{display:flex;flex-direction:column;gap:7px;font-size:.86rem;font-weight:650;min-width:0;color:#10283e}.ath-contact-form :is(input:not([type]),input[type=email],input[type=tel],select,textarea){width:100%;min-width:0;max-width:100%;border:1px solid #b8cbd6;border-radius:8px;background:white;color:#172c41;padding:11px 13px;font:inherit;box-sizing:border-box;min-height:46px}.ath-contact-form textarea{resize:vertical;min-height:140px}.ath-contact-form .ath-contact-consent{display:flex;flex-direction:row;align-items:flex-start;gap:9px;font-weight:400;line-height:1.5}.ath-contact-consent input{flex:none;margin:4px 0 0;width:16px;height:16px}.ath-contact-consent a{color:#087f83}.ath-contact-form button{background:#087f83;color:white;border:0;border-radius:8px;padding:14px;font-weight:750;cursor:pointer;min-height:46px}.ath-contact-form button:hover{background:#096b70}.ath-contact-form small{color:#607588;font-size:.78rem}.ath-contact-trap{position:absolute!important;left:-10000px!important;width:1px;height:1px;overflow:hidden}.ath-contact-feedback{background:#e7f4f1;border-left:4px solid #087f83;padding:14px;border-radius:6px}.ath-contact-error{background:#fff1e8;border-color:#b65722}@media(max-width:580px){.ath-contact-form{grid-template-columns:minmax(0,1fr)}}


/* 0.5.15 — Contact form: explicit full-width layout, independent of shortcode wrappers. */
.ath-contact-page .ath-contact-card .ath-contact-form-area,
.ath-contact-page .ath-contact-card .ath-contact-form {
  display:block; box-sizing:border-box; width:100%; max-width:100%!important;
  min-width:0; margin-inline:0!important; text-align:left;
}
.ath-contact-page .ath-contact-card .ath-contact-form {
  padding:0; margin-block:0; position:relative;
}
.ath-contact-page .ath-contact-form > input[type=hidden] {display:none!important}
.ath-contact-page .ath-contact-form > br {display:none}
.ath-contact-page .ath-contact-form > p {margin:0;padding:0;max-width:100%;}
.ath-contact-page .ath-contact-form label:not(.ath-contact-consent) {
  display:flex; flex-direction:column; align-items:stretch; gap:7px;
  width:100%; max-width:100%; min-width:0; margin:0 0 18px!important;
  text-align:left; box-sizing:border-box;
}
.ath-contact-page .ath-contact-form label:not(.ath-contact-consent) :is(input,select,textarea) {
  display:block; width:100%!important; max-width:100%; min-width:0;
  margin:0!important; box-sizing:border-box;
}
.ath-contact-page .ath-contact-form label br {display:none}
.ath-contact-page .ath-contact-form .ath-contact-consent {
  display:flex; align-items:flex-start; width:100%; margin:0 0 18px!important; text-align:left;
}
.ath-contact-page .ath-contact-form button[type=submit] {display:block;width:100%;margin:0 0 12px!important;}
.ath-contact-page .ath-contact-form small {display:block; width:100%; margin:0; text-align:left;}
.ath-contact-page .ath-contact-form .ath-contact-trap {position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden;}
