/*
Theme Name: Expertio Classic
Description: Finance magazine layout with a large lead image, two side stories and three article sections. Images and titles link to complete WordPress posts.
Version: 1.1.5
Requires at least: 6.0
Requires PHP: 7.4
Author: Expertio
License: GPL-2.0-or-later
*/
:root{--ink:#252b30;--muted:#66717a;--paper:#fff;--bg:#f5f6f7}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.7 Arial,sans-serif}a{color:inherit;text-decoration:none}a:hover{color:#17649b}a:focus-visible{outline:3px solid #17649b;outline-offset:4px}img{max-width:100%;height:auto}.site-header{background:white;padding:24px 0;margin-bottom:60px}.header-inner{max-width:1100px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:28px;padding:0 24px}.brand{font-size:25px;font-weight:700}.menu{display:flex;gap:22px;list-style:none;margin:0;padding:0;font-size:13px;flex-wrap:wrap}.custom-logo{max-height:60px;width:auto}.page-shell{max-width:1100px;margin:0 auto 60px;background:white;padding:36px}.hero{display:grid;grid-template-columns:2fr 1fr;gap:28px}.hero-side{display:grid;gap:16px}.hero-card{position:relative;display:block;min-height:205px;background:#263d48;overflow:hidden;color:white}.hero-lead{min-height:430px}.hero-card>img{width:100%;height:100%;position:absolute;inset:0;object-fit:cover}.hero-card:after{content:'';position:absolute;inset:0;background:linear-gradient(transparent 20%,rgba(0,0,0,.7))}.hero-copy{position:absolute;bottom:24px;left:22px;right:22px;z-index:1}.hero-copy h2{font-size:18px;line-height:1.45;margin:8px 0}.hero-lead h2{font-size:28px}.hero-card:hover{color:white}.kicker{font-size:12px;font-weight:700}.meta{font-size:12px;color:var(--muted)}.hero-copy .meta{color:#e5e8eb}.article-section{margin-top:75px}.section-title{font-size:20px;margin:0 0 30px;padding-bottom:12px;border-bottom:1px solid #e8ebed}.article-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}.card-image{display:block;background:#edf1f3;overflow:hidden}.card-image img{display:block;width:100%;aspect-ratio:3/2;object-fit:cover}.article-card h3{font-size:16px;line-height:1.5;margin:14px 0 8px}.article-card p{font-size:14px;line-height:1.7;color:#56616b;margin:0 0 12px}.ad-slot:empty{display:none}.ad-slot{margin:30px 0;text-align:center;overflow:auto}.site-footer{background:white;text-align:center;padding:22px;font-size:12px}.post-title{font-size:36px;line-height:1.3}.post-content{max-width:800px;margin:auto}.post-content p{margin-bottom:22px}.post-content a{text-decoration:underline;color:#17649b}.post-content img{height:auto}.post-content .wp-block-embed{max-width:100%}.post-content iframe{max-width:100%}.pagination{margin:35px 0}.empty{padding:40px 0}.skip-link{position:absolute;left:-9999px}.skip-link:focus{left:12px;top:12px;background:white;padding:12px;z-index:99}@media(max-width:760px){.site-header{margin-bottom:24px}.header-inner{align-items:flex-start;flex-direction:column;gap:14px}.menu{gap:10px 18px}.page-shell{padding:22px;margin:0 12px 30px}.hero{grid-template-columns:1fr;gap:16px}.hero-lead{min-height:320px}.hero-side{grid-template-columns:1fr 1fr}.hero-copy{left:14px;right:14px;bottom:14px}.hero-copy h2{font-size:15px}.hero-lead h2{font-size:24px}.article-grid{grid-template-columns:1fr;gap:30px}.article-section{margin-top:45px}.post-title{font-size:28px}}@media(prefers-reduced-motion:no-preference){.card-image img{transition:transform .2s}.card-image:hover img{transform:scale(1.02)}}

.expertio-header-ads{max-width:1100px;margin:0 auto 30px;padding:0 15px}.site-header{margin-bottom:20px}.expertio-header-row:empty{display:none}.expertio-header-row{display:flex;justify-content:center;flex-wrap:wrap;gap:12px}.expertio-ad{display:none;margin:16px auto;text-align:center;max-width:100%;overflow:hidden}.expertio-ad[data-active="true"]{display:block}.expertio-body-grid{display:grid;grid-template-columns:minmax(0,1fr) 160px;gap:28px}.expertio-rail{min-width:0}.expertio-ad-skyscraper{margin-top:0}.expertio-ad:empty{margin:0}.article-grid{gap:20px}.hero{gap:20px}.hero-lead{min-height:390px}.hero-copy h2{font-size:16px}.hero-lead h2{font-size:24px}@media(max-width:1100px){.expertio-body-grid{grid-template-columns:minmax(0,1fr)}.expertio-rail{display:none}}@media(max-width:760px){.hero-lead{min-height:320px}.expertio-header-ads{margin-bottom:16px}.hero-copy h2{font-size:15px}}

/* Place the right ad outside the content panel on wide desktop screens. */
@media(min-width:1500px){.page-shell{position:relative}.expertio-body-grid{grid-template-columns:minmax(0,1fr)}.expertio-rail{position:absolute;right:-190px;top:36px;width:160px}.expertio-rail .expertio-ad{margin:0}}

/* Homepage left desktop rail and banner above Latest Articles. */
.expertio-left-rail{display:none}.expertio-before-latest{margin-top:35px}.expertio-before-latest+.article-section{margin-top:35px}
@media(min-width:1500px){.expertio-left-rail{display:block;position:absolute;left:-190px;top:36px;width:160px}.expertio-left-rail .expertio-ad{margin:0}}
