/* Theme Name: Anattica News
Version: 0.2.0
*/
*{box-sizing:border-box}body{margin:0;color:#142336;background:#fff;font:17px Arial,sans-serif}.top{background:#11365b;color:white;padding:10px 5%;font-size:12px;letter-spacing:1px}header{font-weight:900;text-align:center;padding:24px;font-size:54px;letter-spacing:-3px}header span{color:#227ab4}header small{display:block;font-size:14px;letter-spacing:0;font-weight:400}
nav{background:#153e65;color:#fff;text-align:center;padding:15px;position:sticky;top:0;z-index:2;font-weight:bold;font-size:14px;overflow:auto;white-space:nowrap}main{max-width:1380px;padding:0 24px;margin:auto}.ad{margin:24px auto;text-align:center;background:#f2f4f6;padding:30px;color:#777;font-size:12px}h1{font-size:22px;border-bottom:3px solid #153e65;padding-bottom:8px}
.hero{display:grid;grid-template-columns:2fr 1fr;gap:18px}.hero article:first-child{grid-row:span 2}.hero article:first-child h2{font-size:34px}.news{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}article{border-bottom:1px solid #ddd;padding-bottom:12px}article a{color:inherit;text-decoration:none}a:hover{color:#227ab4}h2{font-size:21px;line-height:1.25;margin:8px 0}
img,.placeholder{width:100%;aspect-ratio:16/9;object-fit:cover;display:block;background:#dce7ef}.placeholder{display:grid;place-items:center;color:#567c9b}small{color:#6b7280;font-size:12px}footer{background:#153e65;color:white;padding:30px;text-align:center;margin-top:35px}@media(max-width:700px){header{font-size:42px;padding:18px}main{padding:0 14px}.hero,.news{grid-template-columns:1fr}
.hero article:first-child{grid-row:auto}.hero article:first-child h2{font-size:26px}.news article a{display:grid;grid-template-columns:42% 1fr;gap:12px;align-items:start}.news h2{font-size:17px;margin:0}.ad{padding:17px;margin:14px 0}}
header{padding:18px 15px;letter-spacing:0}header a{display:block;width:max-content;max-width:100%;margin:auto}header .brand{width:320px;max-width:100%;height:auto;aspect-ratio:auto;object-fit:contain;background:none}header small{margin-top:5px}.columns{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:28px}.columns .news{grid-template-columns:repeat(2,minmax(0,1fr))}
.ad{display:flex;flex-direction:column;justify-content:center;align-items:center;border:1px dashed #c5ced8;background:#f7f8fa;color:#617286;gap:6px;padding:8px}.topad{max-width:970px;height:90px}.mid{max-width:970px;height:250px}.side{height:250px}.tall{height:600px}.columns aside{padding-top:8px}.ad span{font-size:13px;font-weight:bold}
@media(max-width:700px){header .brand{width:259px}.columns{grid-template-columns:1fr;gap:0}.columns .news{grid-template-columns:1fr}.topad{width:100%;max-width:320px;height:100px}.mid{width:100%;max-width:300px;height:250px}.side,.tall{max-width:300px;margin:18px auto}.tall{height:250px}}
header{background:#123b61;color:#fff}header small{color:#e6edf5}header .brand{width:320px}.greeting{display:block;max-width:300px;margin:0 auto 20px}.greeting img{width:100%;height:auto;aspect-ratio:auto;object-fit:contain;background:none}@media(max-width:700px){header .brand{width:259px}.greeting{margin:18px auto}}
.sitefoot{background:#123b61;color:#fff;text-align:left;padding:42px 24px 0}.footgrid{max-width:1332px;margin:auto;display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:40px}.sitefoot .footlogo{width:259px;max-width:100%;height:auto;aspect-ratio:auto;background:none;object-fit:contain}.sitefoot p{font-size:15px;line-height:1.6;color:#e3edf6}
.sitefoot h3{margin:0 0 16px;font-size:16px;border-bottom:1px solid #6b8ca6;padding-bottom:10px}.sitefoot a{color:#e3edf6;text-decoration:none;display:block;margin:10px 0;font-size:15px}.sitefoot a:hover{text-decoration:underline;color:white}.footbottom{max-width:1332px;margin:32px auto 0;border-top:1px solid #6b8ca6;padding:14px 0;display:flex;justify-content:space-between;align-items:center;font-size:13px}
@media(max-width:700px){.sitefoot{padding:28px 20px 0}.footgrid{grid-template-columns:1fr;gap:22px}.footbottom{display:block}.sitefoot .footlogo{width:230px}}
nav ul{display:flex;justify-content:center;gap:18px;list-style:none;padding:0;margin:0}nav a{color:white}nav ul ul{display:none}.sitefoot ul{padding:0;list-style:none}
.story h1{border:0;font-size:clamp(28px,4vw,48px);line-height:1.16}.storybody{line-height:1.75;overflow-wrap:anywhere}.storybody img{height:auto;aspect-ratio:auto;max-width:100%;width:auto}.efa-banner img{aspect-ratio:auto;object-fit:contain}.custom-logo{width:259px;height:auto;aspect-ratio:auto;margin:auto;background:none}
.efe-share{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0}.efe-share a{margin:0!important;color:#fff!important;font-size:14px;font-weight:bold;text-decoration:none;background:#1877f2;border:0!important}.efe-share a:nth-child(2){background:#12854b}.efe-share a:nth-child(3){background:#7360a8}.efe-share a:hover{filter:brightness(.9)}
.efe-google{display:flex;align-items:center;gap:9px;padding:12px;margin:12px 0 18px;border:1px solid #d5dce5;border-radius:6px;color:#123b61;text-decoration:none;font-size:15px;font-weight:bold;background:#f7f9fc}.efe-gmark{color:#4285f4;font-size:25px;font-weight:900}.efe-google:hover{border-color:#4285f4}
.an-post-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:26px 0;padding:18px 0;border-top:1px solid #d5dce5;border-bottom:1px solid #d5dce5}.an-post-nav a{display:block;color:#123b61;text-decoration:none}.an-post-nav span{display:block;font-size:12px;color:#637588;margin-bottom:8px}.an-post-nav strong{font-size:17px;line-height:1.4}.an-post-next{text-align:right}
.an-latest-five{margin:24px 0 35px}.an-latest-five h2{border-bottom:3px solid #123b61;padding-bottom:10px;font-size:22px}.an-latest-five ul{list-style:none;padding:0;margin:0}.an-latest-five li{border-bottom:1px solid #ddd;padding:13px 0}.an-latest-five a{color:inherit;text-decoration:none;font-weight:600}.an-post-nav a:hover,.an-latest-five a:hover{color:#227ab4;text-decoration:underline}
@media(max-width:700px){.an-post-nav{gap:12px}.an-post-nav strong{font-size:15px}.an-latest-five a{font-size:16px}.an-post-nav span{font-size:11px}}
nav.an-mega{position:relative;overflow:visible;white-space:normal;z-index:20;padding:0;text-align:left}.an-mega .an-menu-list{display:flex;flex-wrap:wrap;justify-content:center;gap:0;max-width:1280px;margin:auto}.an-menu-list>li>a,.an-menu-drop>summary{display:block;color:white;text-decoration:none;padding:14px 10px;font-size:13px;font-weight:700;cursor:pointer;list-style:none}
.an-menu-drop>summary::-webkit-details-marker{display:none}.an-menu-drop>summary:after{content:' ▾'}.an-menu-drop[open]>summary,.an-menu-list>li>a:hover,.an-menu-drop>summary:hover{background:#315c83}.an-menu-panel{position:absolute;left:0;right:0;top:100%;margin:auto;max-width:1280px;background:#fff;color:#152e47;display:grid;grid-template-columns:1fr 2fr;gap:20px;padding:24px;box-shadow:0 12px 25px #0003;border-bottom:3px solid #123b61}
.an-menu-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 12px;align-content:start}.an-mega .an-menu-links a,.an-mega .an-menu-news a{color:#123b61;text-decoration:none;font-size:14px}.an-menu-links a{padding:9px 0;border-bottom:1px solid #e6edf2}.an-menu-news{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.an-menu-news img{width:100%;aspect-ratio:16/10;object-fit:cover;margin-bottom:8px}
.an-menu-toggle{display:none}@media(max-width:850px){.an-menu-toggle{display:block;background:none;color:white;border:0;padding:14px;font:inherit;font-weight:bold}.an-mega .an-menu-list{display:none}.an-mega.is-open .an-menu-list{display:block}.an-menu-panel{position:static;display:block;padding:14px;box-shadow:none}.an-menu-news{margin-top:14px}.an-menu-list>li>a,.an-menu-drop>summary{padding:12px 16px}.an-menu-news strong{font-size:12px}}
.an-home-section{margin:32px 0}.an-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:3px solid #123b61;margin-bottom:16px;padding:0 0 8px}.an-section-heading h2{color:#123b61;margin:0;font-size:23px}.an-section-heading a{color:#123b61;font-size:13px;font-weight:bold;text-decoration:none;white-space:nowrap}
.an-section-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.an-section-grid h2{font-size:18px}.an-section-grid img{aspect-ratio:16/10;object-fit:cover}.an-section-grid article{min-width:0}@media(max-width:700px){.an-section-grid{grid-template-columns:1fr}.an-section-grid article>a{display:grid;grid-template-columns:40% 1fr;gap:12px}.an-section-grid h2{font-size:16px;margin:0}}
body.home main{padding-top:12px}.an-home-layout{align-items:start;gap:22px}.an-home-main{min-width:0}.an-home-layout aside{padding-top:0}.an-home-layout .an-home-section{margin:22px 0}.an-home-layout .an-section-heading{margin-bottom:10px;padding-bottom:6px}.an-home-layout .an-section-heading h2{font-size:20px}.an-latest-heading{font-size:21px;margin:20px 0 12px}
.an-hero-compact,.an-home-layout .an-section-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:10px 16px;align-items:start}.an-compact-card{min-width:0;padding:0 0 10px;border-bottom:1px solid #e1e5e9}.an-compact-card>a{display:flex;align-items:flex-start;gap:10px;text-decoration:none;color:#142336}.an-compact-card img{flex:none;width:108px;height:76px;aspect-ratio:auto;object-fit:cover}
.an-compact-card .an-card-text{min-width:0;flex:1}.an-compact-card h2{font-size:16px;line-height:1.3;margin:0 0 5px}.an-compact-card p{font-size:13px;line-height:1.45;color:#4b5563;margin:0 0 5px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.an-compact-card small{font-size:11px}.an-compact-card a:hover h2{color:#227ab4}
.an-compact-card.an-lead{grid-row:span 2}.an-compact-card.an-lead>a{display:block}.an-compact-card.an-lead img{width:100%;height:auto;max-height:210px;aspect-ratio:16/9;object-fit:cover;margin-bottom:8px}.an-compact-card.an-lead h2{font-size:21px}.an-hero-compact .an-lead h2{font-size:26px}.an-hero-compact .an-lead img{max-height:240px}.an-latest-compact{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 15px}
@media(max-width:850px){.an-home-layout{grid-template-columns:1fr;gap:12px}.an-home-layout aside{max-width:100%}.an-hero-compact,.an-home-layout .an-section-grid,.an-latest-compact{grid-template-columns:1fr}.an-compact-card.an-lead{grid-row:auto}.an-home-layout .an-compact-card:not(.an-lead)>a{display:flex}.an-compact-card.an-lead img{max-height:220px}.an-compact-card.an-lead h2{font-size:22px}}
.an-sidebar-latest{margin:18px 0}.an-sidebar-latest h2{font-size:20px;margin:0 0 8px;padding:8px 0;border-bottom:3px solid #123b61;color:#123b61}.an-sidebar-latest ul{list-style:none;padding:0;margin:0}.an-sidebar-latest li{display:flex;gap:8px;align-items:baseline;padding:10px 0;border-bottom:1px solid #ddd}.an-sidebar-latest a{font-size:14px;line-height:1.4;font-weight:600;color:#142336;text-decoration:none}
main{max-width:none;width:100%;margin:0 auto;padding:0 clamp(12px,1.3vw,24px)}.footgrid,.footbottom,.an-mega .an-menu-list,.an-menu-panel{max-width:none;width:100%}.columns{gap:20px;align-items:start}.columns>div{min-width:0}header{padding:10px 12px}.top{padding:7px 16px}
body.home main{padding-top:8px}.home .efa-banner{margin:8px auto 12px}.an-home-layout{grid-template-columns:minmax(0,1fr) 300px;gap:18px}.an-home-layout .an-home-section{margin:16px 0}.an-home-layout .an-section-grid,.an-hero-compact{gap:8px 14px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.an-compact-card.an-lead img{height:clamp(150px,13vw,205px);max-height:none}
.an-hero-compact .an-lead img{height:clamp(180px,16vw,250px)}.an-latest-compact{gap:8px 14px}.an-home-layout .an-compact-card{padding-bottom:8px}.an-home-layout aside .greeting{margin:8px auto 12px}.an-home-layout aside .efe-google{margin:0 0 12px}.an-home-layout .an-sidebar-latest{margin:10px 0}.sitefoot{margin-top:16px}
@media(min-width:1100px){.an-home-layout>aside{position:sticky;top:10px;max-height:calc(100vh - 20px);overflow-y:auto;scrollbar-width:thin}}@media(max-width:850px){main{padding:0 10px}.an-home-layout{grid-template-columns:1fr;gap:10px}.an-home-layout .an-section-grid,.an-hero-compact,.an-latest-compact{grid-template-columns:1fr}.an-compact-card.an-lead img{height:auto;max-height:210px}}
.an-topbar{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#102e4c;color:#fff;padding:6px clamp(12px,2vw,30px);font-size:12px;min-height:36px}.an-topinfo,.an-social{display:flex;align-items:center;gap:13px;flex-wrap:wrap}.an-topinfo>span+span,.an-weather{border-left:1px solid #ffffff40;padding-left:13px}.an-clock{font-variant-numeric:tabular-nums;font-weight:bold}
.an-weather,.an-social a{color:white;text-decoration:none}.an-weather small{font-size:10px;color:#c2d4e5;margin-left:4px}.an-social{gap:7px}.an-social a{display:flex;align-items:center;justify-content:center;height:25px;padding:0 7px;border-radius:4px;background:#ffffff20;font-weight:bold}.an-social .an-fb{background:#1877f2;width:25px;font-size:19px}.an-social a:hover{background:#3e719c}
.an-brand-header{position:relative;padding:14px 16px}.an-header-search{position:absolute;right:2%;top:50%;transform:translateY(-50%);display:flex;max-width:230px;border:1px solid #ffffff65;border-radius:5px;overflow:hidden}.an-header-search input{min-width:0;width:100%;padding:8px 10px;border:0;background:#ffffff15;color:#fff;font-size:13px}.an-header-search input::placeholder{color:#e0e8ef}
.an-header-search button{border:0;background:#fff;color:#123b61;padding:0 12px;font-size:23px;cursor:pointer}nav.an-mega{position:sticky;top:0;z-index:30;background:#123b61}.an-mega .an-menu-list{justify-content:center}.an-menu-list>li>a,.an-menu-drop>summary{padding:12px 10px}.an-home-layout>aside{top:52px;max-height:calc(100vh - 65px)}
@media(max-width:850px){.an-topbar{gap:5px;padding:6px 10px;flex-wrap:wrap}.an-topinfo{gap:7px;font-size:11px}.an-topinfo>span+span,.an-weather{padding-left:7px}.an-brand-header{padding:10px}.an-header-search{position:static;transform:none;margin:10px auto 0;max-width:280px}.an-mega.is-open{max-height:75vh;overflow-y:auto}.an-home-layout>aside{max-height:none;position:static}}
.story .an-article-photo{margin:16px auto 22px;max-width:100%;text-align:center}.story .an-article-photo a{display:block;cursor:zoom-in}.story .an-article-photo img{display:block;width:auto;max-width:100%;height:auto;max-height:680px;aspect-ratio:auto;object-fit:contain;margin:0 auto;border-radius:6px;background:none}.story .an-article-photo figcaption{font-size:13px;color:#667085;padding:8px 0}
@media(max-width:850px){.story .an-article-photo{margin:12px 0 16px}.story .an-article-photo img{max-height:70vh;border-radius:4px}}.storybody img{display:block;margin:12px auto;border-radius:4px;max-width:100%;height:auto;object-fit:contain}
.an-lb-trigger{cursor:zoom-in}.an-lb-open{overflow:hidden}.an-lightbox{position:fixed;inset:0;margin:auto;padding:0;border:0;background:transparent;color:#fff;width:100%;height:100%;max-width:none;max-height:none;overflow:hidden}.an-lightbox[open]{display:flex;align-items:center;justify-content:center}.an-lightbox::backdrop{background:rgba(0,0,0,.92)}
.an-lightbox figure{margin:0;max-width:calc(100vw - 120px);text-align:center;pointer-events:none}.an-lightbox figure img{display:block;width:auto;height:auto;max-width:100%;max-height:82vh;object-fit:contain;aspect-ratio:auto;background:none;margin:auto;pointer-events:auto}.an-lightbox figcaption{font-size:13px;color:#ddd;margin:12px auto 0;max-width:80vw}
.an-lightbox button{position:absolute;background:#ffffff20;color:#fff;border:1px solid #ffffff50;border-radius:50%;width:44px;height:44px;font-size:30px;line-height:1;cursor:pointer;z-index:2}.an-lightbox button:hover,.an-lightbox button:focus-visible{background:#ffffff50}.an-lb-close{right:18px;top:18px}.an-lb-prev{left:12px;top:48%}.an-lb-next{right:12px;top:48%}
@media(max-width:700px){.an-lightbox figure{max-width:calc(100vw - 20px)}.an-lightbox figure img{max-height:74vh}.an-lb-prev,.an-lb-next{top:auto;bottom:15px}.an-lb-close{top:12px;right:12px}}
nav.an-mega{background:#fff;border-top:1px solid #e4e9ef;border-bottom:1px solid #dce4ec;box-shadow:0 3px 9px #102e4c12}.an-mega .an-menu-list{max-width:1600px;gap:3px;padding:0 12px;box-sizing:border-box;align-items:stretch}.an-menu-list>li{position:static;display:flex;align-items:stretch}.an-menu-list>li>details{display:flex;align-items:stretch}
.an-mega .an-menu-list>li>a,.an-mega .an-menu-drop>summary{display:flex;align-items:center;gap:7px;position:relative;color:#163b5c;background:none;padding:15px clamp(8px,1vw,17px);font-size:14px;letter-spacing:.015em;font-weight:700;border-bottom:3px solid transparent;transition:background .16s,color .16s,border-color .16s}
.an-mega .an-menu-list>li>a:hover,.an-mega .an-menu-drop>summary:hover,.an-mega .an-current>a,.an-mega .an-current>details>summary,.an-mega .an-menu-drop[open]>summary{background:#f4f7fa;color:#123b61;border-bottom-color:#ee971e}.an-mega .an-menu-drop>summary:after{content:'';width:6px;height:6px;border-right:1.6px solid currentColor;border-bottom:1.6px solid currentColor;transform:rotate(45deg);margin-top:-3px}
.an-mega .an-menu-drop[open]>summary:after{transform:rotate(225deg);margin-top:4px}.an-mega .an-menu-panel{max-width:1400px;width:calc(100% - 32px);box-sizing:border-box;gap:24px;padding:22px;border:1px solid #e1e7ee;border-top:3px solid #ee971e;border-radius:0 0 9px 9px;box-shadow:0 15px 32px #102e4c24}.an-menu-links{gap:4px 10px}
.an-mega .an-menu-links a{border:0;border-bottom:1px solid #e7edf3;padding:10px 8px;border-radius:4px;color:#163b5c}.an-mega .an-menu-links a:hover{background:#eef4f9;color:#123b61}.an-mega .an-menu-news a{display:block;min-width:0;background:#f6f8fa;border-radius:7px;overflow:hidden;padding:0 0 10px}.an-mega .an-menu-news img{display:block;margin:0 0 9px;border-radius:0;aspect-ratio:16/9}
.an-mega .an-menu-news strong{display:block;padding:0 10px;line-height:1.4;font-size:14px}.an-mega .an-menu-news a:hover{background:#eaf1f7}.an-mega a:focus-visible,.an-mega summary:focus-visible,.an-menu-toggle:focus-visible{outline:2px solid #ee971e;outline-offset:-2px}.an-home-layout>aside{top:60px}
@media(max-width:850px){.an-mega .an-menu-toggle{display:flex;align-items:center;color:#123b61;padding:12px 16px;width:100%;text-align:left}.an-mega .an-menu-list{padding:0 10px 8px}.an-menu-list>li,.an-menu-list>li>details{display:block;width:100%}.an-mega .an-menu-list>li>a,.an-mega .an-menu-drop>summary{padding:12px 10px;border-bottom-width:2px;justify-content:space-between}}
@media(max-width:850px){.an-mega .an-menu-panel{width:100%;padding:12px;margin:0;box-shadow:none;border-radius:4px;max-width:none}.an-mega .an-menu-links{gap:4px 8px}.an-mega .an-menu-news strong{font-size:12px;padding:0 7px}.an-home-layout>aside{top:auto}}
main#content>.efa-banner:first-child{width:100%;max-width:728px;margin:6px auto 10px!important}main#content>.efa-banner:first-child img{width:100%;height:auto!important;aspect-ratio:auto;object-fit:contain}
.an-ad-popup{border:0;padding:0;background:transparent;color:#fff;max-width:94vw;max-height:92vh;overflow:visible;margin:auto}.an-ad-popup::backdrop{background:#000c}.an-popup-inner{position:relative;text-align:center;padding:12px;background:#17202b;border-radius:8px}.an-popup-inner img{display:block;width:auto;max-width:min(760px,85vw)!important;height:auto!important;max-height:75vh;object-fit:contain;aspect-ratio:auto}
.an-popup-close{position:absolute;right:4px;top:4px;width:36px;height:36px;border-radius:50%;border:1px solid #fff;background:#142236;color:#fff;font-size:26px;cursor:pointer;z-index:3}.an-popup-inner small{display:block;margin:0 40px 8px;font-size:12px}.an-popup-inner .efa-banner{margin:0!important}.an-popup-open{overflow:hidden}
.an-brand-header{overflow:visible}.an-brand-header>a,.an-brand-header .custom-logo-link{display:block;width:fit-content;max-width:100%;margin:0 auto;padding:3px 4px;box-sizing:border-box}.an-brand-header img.brand,.an-brand-header img.custom-logo{display:block;width:300px;max-width:100%;height:auto!important;max-height:none;object-fit:contain;aspect-ratio:auto!important;margin:auto}
@media(max-width:850px){.an-brand-header img.brand,.an-brand-header img.custom-logo{width:259px;max-width:calc(100vw - 40px)}}
.sitefoot .an-footer-legal{list-style:none;padding:0;margin:8px 0}.sitefoot .an-footer-legal li{margin:8px 0}.sitefoot .an-footer-legal a{display:inline-block;line-height:1.5}.sitefoot .an-footer-legal a:hover{text-decoration:underline}
