/*
Theme Name: GAM Editorial
Description: Worldwide editorial blog of the Golden Age Movement (Sri Amma Bhagavan), with focused reading and dynamic categories. English.
Version: 1.0.1
Requires at least: 6.6
Requires PHP: 7.4
Text Domain: gam-editorial
*/

*{box-sizing:border-box}body{margin:0;color:#192b27;background:#fff;font-family:Arial,Helvetica,sans-serif}a{color:inherit;text-decoration:none}a:hover h2,a:hover h3{color:#97722f}button,input{font:inherit}button,a{cursor:pointer}:focus-visible{outline:3px solid #ac8138;outline-offset:4px}.demo{background:#f3f0e8;text-align:center;padding:8px;font-size:10px;letter-spacing:1px;color:#686351}.wrap{max-width:1240px;margin:auto;padding:0 28px}.utility{display:flex;justify-content:space-between;gap:18px;align-items:center;padding:14px 0;font-size:11px;color:#68716b;border-bottom:1px solid #e7e7e1}.mast{display:flex;justify-content:space-between;align-items:center;padding:28px 0}.logo{font-family:Georgia,serif;font-size:57px;letter-spacing:-3px;line-height:1}.logo span{color:#b68a40}.logo small{font:9px Arial;display:block;letter-spacing:2.7px;margin-top:10px}.tagline{max-width:220px;font-size:12px;color:#6c756e;line-height:1.7;border-left:2px solid #c3a265;padding-left:17px}.nav{border-top:1px solid #dfdfd6;border-bottom:3px solid #243f35;display:flex;align-items:center;gap:28px;position:relative}.nav>a,.nav>button{padding:17px 0;border:0;background:none;font-size:13px;font-weight:700;white-space:nowrap}.nav a.active{color:#987129;box-shadow:inset 0 -3px #b78b40}.oneness-search-input{margin-left:auto;width:185px;border:0;background:#f5f5f0;padding:10px 12px;font-size:11px}.topics{display:flex;gap:22px;padding:15px 0;font-size:11px;color:#737a74;border-bottom:1px solid #e7e7e1}.topics strong{color:#967131}.eyebrow{text-transform:uppercase;font-size:10px;font-weight:800;letter-spacing:1.3px;color:#9a722e;margin:15px 0 9px}h1,h2,h3,p{margin:0}h1,h2,h3{letter-spacing:-.7px;line-height:1.13}.hero{display:grid;grid-template-columns:1.8fr 1fr 1fr;gap:25px;margin:29px 0 34px}.visual{overflow:hidden;background:#dce1d2;aspect-ratio:1.7}.visual svg{width:100%;height:100%;display:block}.lead h1{font-size:36px;margin:13px 0}.desc{color:#6d736e;font-size:13px;line-height:1.7;margin:12px 0}.small h2{font-size:22px}.small+.small{border-top:1px solid #ddd;padding-top:12px;margin-top:21px}.side{border-left:1px solid #ddd;padding-left:24px}.side h2{font-size:21px}.side a{display:block;border-bottom:1px solid #ddd;padding:0 0 20px;margin-bottom:20px}.label{font-size:10px;color:#778077;line-height:1.8}.sectionhead{display:flex;align-items:center;justify-content:space-between;border-top:3px solid #223f35;padding:18px 0 23px;margin-top:35px}.sectionhead h2{font-size:27px}.sectionhead a{font-size:11px;color:#97732e}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:27px}.card h3{font-size:23px;margin:11px 0}.band{background:#213e34;color:white;margin:40px 0 12px;padding:29px 32px;display:flex;align-items:center;justify-content:space-between;gap:25px}.band h2{font-size:27px}.band p{font-size:13px;line-height:1.7;color:#d2dcd3;margin-top:10px}.outline{border:1px solid #aab9aa;padding:13px 19px;white-space:nowrap;font-size:12px}.footer{border-top:1px solid #ddd;margin-top:45px;padding:25px 0;display:flex;justify-content:space-between;color:#737b74;font-size:11px;line-height:1.9}.crumb{font-size:11px;color:#787e77;margin:26px 0}.categorytitle{font-size:48px;margin:22px 0 10px}.categoryintro{max-width:670px;font-size:15px;line-height:1.8;color:#6c756d;margin-bottom:30px}.article{max-width:780px;margin:30px auto}.article h1{font-size:46px}.article .visual{margin:25px 0}.article p{font-family:Georgia,serif;font-size:20px;line-height:1.85;margin:24px 0;color:#435147}.article h2{margin-top:35px}.notice{background:#f5f2e9;padding:16px;font:12px/1.7 Arial!important}.menu{background:#f7f6f0;padding:25px;border-bottom:1px solid #ddd}.menu a{display:inline-block;margin-right:30px;font-weight:bold;font-size:14px}.menu p{font-size:12px;color:#6f766e;margin-top:17px}[hidden]{display:none!important}.empty{padding:45px 0}.homecaption{font-size:10px;letter-spacing:1px;color:#798077;margin-top:25px}@media(max-width:760px){.wrap{padding:0 18px}.mast{padding:24px 0}.logo{font-size:43px}.tagline{display:none}.utility{font-size:10px}.nav{gap:19px;flex-wrap:wrap;padding-bottom:11px}.nav>a,.nav>button{padding:13px 0;font-size:12px}.oneness-search-input{width:100%;margin:0}.topics{gap:13px;flex-wrap:wrap;font-size:10px}.hero{grid-template-columns:1fr}.lead h1{font-size:32px}.side{border-left:0;border-top:1px solid #ddd;padding:15px 0 0}.grid{grid-template-columns:1fr}.band{padding:25px;align-items:flex-start;flex-direction:column}.footer{flex-direction:column;gap:15px}.categorytitle{font-size:37px}.article h1{font-size:35px}.article p{font-size:18px}.sectionhead h2{font-size:24px}}

/* Gold taken from the brand reference; pure white reading area. */
:root{--gold-soft:#e5d89a;--gold-light:#f1e9b1;--gold-text:#786020;--gold-fill:linear-gradient(180deg,var(--gold-soft),var(--gold-light))}
body,.wrap{background:#fff}
.demo{background:var(--gold-fill);color:#554c2e}
.nav{border-bottom-color:var(--gold-soft)}
.sectionhead{border-top-color:var(--gold-soft)}
.logo span{color:var(--gold-soft)}
.tagline{border-left-color:var(--gold-soft)}
.nav a.active{color:var(--gold-text);box-shadow:inset 0 -3px var(--gold-soft)}
.eyebrow,.topics strong,.sectionhead a{color:var(--gold-text)}
a:hover h2,a:hover h3{color:var(--gold-text)}
.band{background:var(--gold-fill);color:#302e22}
.band p{color:#56513c}
.band .eyebrow{color:var(--gold-text)!important}
.outline{border-color:#a69250;color:#423a23;background:#ffffff45}
.oneness-search-input,.menu{background:#fff}
.oneness-search-input{border:1px solid #e5d89a}
.notice{background:#f8f3d8}
.utility>span{flex:1;line-height:1.7}.utility>a{flex-shrink:0}@media(max-width:760px){.utility{align-items:flex-start;flex-direction:column;gap:8px}}

.mission{padding:22px 24px;text-align:center;background:linear-gradient(180deg,#fffdf5,#fff);border-bottom:1px solid #eee6c6}
.mission p{font-family:Georgia,serif;font-size:22px;line-height:1.5;color:#403d2d}
.mission strong{font-weight:normal;color:#786020}
.mission .mission-detail{font-family:Arial,Helvetica,sans-serif;font-size:13px;color:#626454;margin-top:7px;line-height:1.7}
@media(max-width:760px){.mission{padding:20px 12px}.mission p{font-size:19px}.mission .mission-detail{font-size:12px}}
body.reading header{display:none}.reading-back{display:block;padding:22px 0;border-bottom:1px solid #e5d89a;font-size:13px}.reading-back span{float:right;font-family:Georgia,serif;font-size:20px}body.reading .crumb{display:none}

.article img{max-width:100%;height:auto}.article iframe{width:100%;max-width:100%;aspect-ratio:16/9;height:auto;border:0}.article .reading-back{margin-bottom:25px}.card img,.lead img{width:100%;height:auto;display:block}.post-content{overflow-wrap:anywhere}.post-content h2{font-size:28px}.post-content h3{font-size:23px}.post-content a{text-decoration:underline}.post-content figure{margin:24px 0}.navigation.pagination{margin:30px 0}.page-numbers{padding:10px}.article .post-content p{font:18px/1.8 Arial;color:#37443d}.related h2{font-size:25px;margin-bottom:20px}.wp-caption-text{font-size:12px!important}

@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/editorial-0.ttf) format('truetype');
}
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/editorial-1.ttf) format('truetype');
}
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/editorial-2.ttf) format('truetype');
}
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/editorial-3.ttf) format('truetype');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(fonts/editorial-4.ttf) format('truetype');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/editorial-5.ttf) format('truetype');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/editorial-6.ttf) format('truetype');
}

/* Editorial typography: serif headings, Poppins for supporting text. */
body,input,button,.oneness-search-input,.mission .logo small{font-family:'Poppins',Arial,sans-serif}
h1,h2,h3,.mission p{font-family:'Newsreader',Georgia,serif;font-weight:600;font-optical-sizing:auto;letter-spacing:-.025em}
.lead h1{font-size:40px;line-height:1.12}.small h2,.side h2{font-size:25px;line-height:1.2}.card h3{font-size:28px;line-height:1.2}
.article h1{font-size:52px;font-weight:600;line-height:1.1;letter-spacing:-.035em}
.article .post-content p,.article p{font-family:'Poppins',Arial,sans-serif;font-size:17px;font-weight:300;line-height:1.9}
.article .post-content h2,.article h2{font-family:'Newsreader',Georgia,serif;font-size:32px;font-weight:600}
.desc,.tagline{font-family:'Poppins',Arial,sans-serif;font-weight:300;line-height:1.8}
.eyebrow,.nav>a,.nav>button{font-family:'Poppins',Arial,sans-serif;font-weight:600}
.sectionhead h2{font-size:32px}.band h2{font-size:32px}
@media(max-width:760px){.article h1{font-size:38px}.lead h1{font-size:34px}.card h3{font-size:27px}.article .post-content p,.article p{font-size:16px}.sectionhead h2,.band h2{font-size:28px}}

.nav form{display:flex;align-items:center;gap:8px}.search-submit{border:1px solid #cbbb75;background:#f1e9b1;padding:10px 14px;color:#423a23;font:600 11px Poppins,Arial,sans-serif;cursor:pointer}@media(max-width:760px){.nav form{width:100%}.nav form .oneness-search-input{flex:1;min-width:0}}

/* Compartilhamento (v1.1.0): cada rede com sua cor oficial */
.share{margin:44px 0 8px;padding:26px 0 18px;border-top:3px solid var(--gold-soft);border-bottom:1px solid #e7e7e1}
.share-head{display:flex;align-items:baseline;gap:18px;flex-wrap:wrap;margin-bottom:16px}
.share-head .eyebrow{margin:0}
.share-head p{font-size:13px;color:#6d736e;margin:0}
.share-buttons{display:flex;flex-wrap:wrap;gap:10px}
.share-btn{display:inline-flex;align-items:center;gap:8px;padding:11px 16px;border:1px solid transparent;border-radius:999px;background:#243f35;color:#fff;font:700 12px/1 Arial,Helvetica,sans-serif;letter-spacing:.2px;text-decoration:none;transition:filter .15s,transform .15s}
.share-btn svg{flex:none}
.share-btn:hover,.share-btn:focus-visible{filter:brightness(1.12);transform:translateY(-1px)}
.share-whatsapp{background:#25d366}
.share-facebook{background:#1877f2}
.share-telegram{background:#229ed9}
.share-linkedin{background:#0a66c2}
.share-threads{background:#101010}
.share-x{background:#000}
.share-instagram{background:linear-gradient(45deg,#f9ce34 0%,#ee2a7b 50%,#6228d7 100%)}
.share-email{background:#6b7280}
.share-copy{background:#fff;color:var(--gold-text);border-color:var(--gold-text)}
.share-copy:hover,.share-copy:focus-visible{background:var(--gold-fill);filter:none}
.share-note{min-height:18px;margin-top:12px;font-size:12px;color:#786020}
@media(max-width:760px){.share-btn{padding:12px 14px}}

/* Home: two-column feature on desktop only; single column on phones */
.hero.hero-home{grid-template-columns:2fr 1fr}
@media(max-width:760px){
  .hero,.hero.hero-home{grid-template-columns:1fr;margin:18px 0 26px}
  .hero .side{display:none}            /* the community block also appears in the gold band at the end of the page */
  .utility{display:none}
  .mast{padding:14px 0 10px}.logo{font-size:36px;letter-spacing:-2px}.logo small{font-size:8px;letter-spacing:2px;margin-top:6px}
  .nav{gap:16px;padding-bottom:8px}.nav>a{padding:10px 0}
  .nav form{display:flex;gap:8px;width:100%}.oneness-search-input{flex:1;padding:9px 12px}.search-submit{padding:9px 12px}
  .homecaption{margin-top:10px}
  .homecaption{margin-top:14px}
  .lead h1{font-size:28px}
}

/* Featured image at the top of the article */
.article-hero{margin:26px 0 8px}
.article-hero img{width:100%;height:auto;display:block;aspect-ratio:16/9;object-fit:cover}
.article-hero figcaption{font-size:12px;color:#778077;margin-top:8px}

/* Image logo (used when logo-gam.png exists in the theme folder) */
.logo{display:inline-block;letter-spacing:0;line-height:1}
.logo picture{display:block}
.logo-img{display:block;height:58px;width:auto;max-width:100%}
.logo small{margin-top:12px}
.reading-back{display:flex;align-items:center;justify-content:space-between;gap:16px}
.reading-back picture{display:block;flex:none}
.logo-img-small{height:30px}
@media(max-width:760px){
  .logo-img{height:auto;width:100%;max-width:340px}
  .logo small{margin-top:8px}
  .logo-img-small{height:auto;width:170px}
  .reading-back{padding:16px 0}
}

/* Mission below the logo; no utility bar */
.mast{padding:26px 0 18px}
.mission{margin:0 0 18px;border-top:1px solid #eee6c6}
@media(max-width:760px){
  .mast{padding:14px 0 10px}
  .mission{margin:0 0 10px;padding:10px 10px}
  .mission p{font-size:15px;line-height:1.4}
  .mission .mission-detail{font-size:11px;margin-top:4px;line-height:1.5}
}

/* Mission phrase in serif italic with thin gold rules */
@font-face{font-family:"Newsreader";font-style:italic;font-weight:400;font-display:swap;src:url(fonts/newsreader-italic.woff2) format("woff2")}
.mission .mission-detail{display:flex;align-items:center;justify-content:center;gap:16px;margin-top:10px;font-family:"Newsreader",Georgia,"Times New Roman",serif;font-style:italic;font-weight:400;font-size:19px;line-height:1.4;letter-spacing:.015em;color:var(--gold-text)}
.mission .mission-detail::before,.mission .mission-detail::after{content:"";flex:none;width:44px;height:1px;background:linear-gradient(90deg,transparent,#c9b56a)}
.mission .mission-detail::after{background:linear-gradient(90deg,#c9b56a,transparent)}
@media(max-width:760px){
  .mission .mission-detail{font-size:15px;gap:10px;margin-top:6px;line-height:1.35}
  .mission .mission-detail::before,.mission .mission-detail::after{width:22px}
}

/* Smaller image logo */
.logo-img{height:40px}
.logo small{margin-top:9px;font-size:8px;letter-spacing:2.4px}
.logo-img-small{height:24px}
@media(max-width:760px){
  .logo-img{height:auto;width:100%;max-width:235px}
  .logo small{margin-top:6px;font-size:7px;letter-spacing:1.8px}
  .logo-img-small{height:auto;width:135px}
}

/* GAM Editorial 1.0.0 — text logo "Golden Age Movement" until the official worldwide logo file arrives */
.logo .logo-text,.logo-text{display:block;font-family:'Newsreader',Georgia,serif;font-weight:600;font-size:34px;line-height:1.05;letter-spacing:-.02em;color:#586080;white-space:nowrap}
.reading-back .logo-text-small{float:none;display:inline-block;font-family:'Newsreader',Georgia,serif;font-size:18px;vertical-align:middle}
.hero.hero-home.hero-solo{grid-template-columns:1fr}
@media(max-width:760px){.logo-text{font-size:26px;white-space:normal}.reading-back .logo-text-small{font-size:15px}}
