:root{--ote-red:#c52026;--ote-dark:#15181b;--ote-ink:#202529;--ote-muted:#687078;--ote-soft:#f3f5f6;--ote-line:#dfe3e6;--ote-white:#fff}.ote-resources{font-family:inherit;color:var(--ote-ink);background:#fff}.ote-resources-wrap{width:min(1240px,calc(100% - 40px));margin:0 auto}.ote-resources-hero{background:var(--ote-dark);color:#fff;padding:92px 0 82px;overflow:hidden}.ote-hero-grid{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:60px;align-items:end}.ote-eyebrow,.ote-section-heading span,.ote-resources-cta span{display:block;text-transform:uppercase;letter-spacing:.13em;font-size:13px;font-weight:900;color:var(--ote-red);margin-bottom:18px}.ote-resources-hero h1{font-size:clamp(42px,6vw,78px);line-height:.99;letter-spacing:-.045em;max-width:900px;color:#fff;margin:0 0 24px}.ote-resources-hero p{font-size:clamp(18px,2vw,23px);line-height:1.5;max-width:760px;color:#ccd2d6;margin:0}.ote-hero-mark{border:1px solid #3d4449;padding:30px;display:flex;flex-direction:column;text-align:right;transform:rotate(-3deg)}.ote-hero-mark span{font-size:17px;letter-spacing:.13em}.ote-hero-mark strong{font-size:58px;line-height:1;color:#fff}.ote-featured-section{padding:80px 0 55px}.ote-section-heading h2{font-size:clamp(34px,4vw,52px);line-height:1.05;margin:0 0 30px;letter-spacing:-.03em;color:var(--ote-dark)}.ote-featured-card{display:grid;grid-template-columns:1.25fr 1fr;background:var(--ote-soft);min-height:470px}.ote-featured-image{display:block;min-height:470px;background:#dfe3e6}.ote-featured-image img{width:100%;height:100%;object-fit:cover;display:block}.ote-image-placeholder{width:100%;height:100%;min-height:260px;display:grid;place-items:center;background:linear-gradient(135deg,#202529,#3a4248);color:#fff;font-size:48px;font-weight:900}.ote-featured-copy{padding:52px;display:flex;flex-direction:column;justify-content:center}.ote-featured-type,.ote-card-meta span:first-child{text-transform:uppercase;letter-spacing:.09em;font-size:12px;font-weight:900;color:var(--ote-red)}.ote-featured-copy h2{font-size:clamp(32px,4vw,50px);line-height:1.08;margin:14px 0 20px}.ote-featured-copy h2 a,.ote-resource-card h3 a{color:var(--ote-dark);text-decoration:none}.ote-featured-copy p{font-size:18px;line-height:1.6;color:var(--ote-muted);margin:0 0 28px}.ote-main-link,.ote-card-link{font-weight:900;text-decoration:none;color:var(--ote-dark)}.ote-main-link span,.ote-card-link span{color:var(--ote-red);margin-left:8px}.ote-library{padding:55px 0 95px}.ote-library-top{display:flex;justify-content:space-between;align-items:end;gap:30px}.ote-resource-search{display:flex;min-width:min(100%,440px);border:1px solid var(--ote-line)}.ote-resource-search input{flex:1;border:0;padding:15px 16px;font:inherit;min-width:0}.ote-resource-search button{border:0;background:var(--ote-dark);color:#fff;padding:0 22px;font-weight:800;cursor:pointer}.ote-filter-row{display:flex;gap:10px;flex-wrap:wrap;border-top:1px solid var(--ote-line);padding:25px 0 32px}.ote-filter{border:1px solid var(--ote-line);background:#fff;color:var(--ote-ink);padding:10px 15px;font-weight:800;cursor:pointer}.ote-filter.active,.ote-filter:hover{background:var(--ote-red);border-color:var(--ote-red);color:#fff}.ote-resource-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}.ote-resource-card{border:1px solid var(--ote-line);background:#fff;display:flex;flex-direction:column;transition:transform .2s ease,box-shadow .2s ease}.ote-resource-card:hover{transform:translateY(-4px);box-shadow:0 18px 45px rgba(21,24,27,.12)}.ote-card-image{display:block;aspect-ratio:16/10;overflow:hidden;background:var(--ote-soft)}.ote-card-image img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s ease}.ote-resource-card:hover .ote-card-image img{transform:scale(1.025)}.ote-card-body{padding:26px;display:flex;flex-direction:column;flex:1}.ote-card-meta{display:flex;justify-content:space-between;gap:10px;font-size:12px;color:var(--ote-muted);margin-bottom:15px}.ote-resource-card h3{font-size:25px;line-height:1.2;margin:0 0 14px}.ote-resource-card p{color:var(--ote-muted);line-height:1.55;margin:0 0 24px}.ote-card-link{margin-top:auto}.ote-empty{grid-column:1/-1;padding:42px;background:var(--ote-soft);text-align:center;font-weight:700}.ote-loading{text-align:center;padding:25px;font-weight:800}.ote-resources-cta{background:var(--ote-red);color:#fff;padding:60px 0}.ote-cta-grid{display:grid;grid-template-columns:1fr auto;gap:40px;align-items:center}.ote-resources-cta span{color:#fff;margin-bottom:10px}.ote-resources-cta h2{font-size:clamp(30px,4vw,48px);line-height:1.1;color:#fff;margin:0;max-width:800px}.ote-resources-cta a{background:#fff;color:var(--ote-dark);text-decoration:none;font-weight:900;padding:16px 24px;white-space:nowrap}@media(max-width:980px){.ote-hero-grid{grid-template-columns:1fr}.ote-hero-mark{display:none}.ote-featured-card{grid-template-columns:1fr}.ote-featured-image{min-height:360px}.ote-resource-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ote-library-top{align-items:stretch;flex-direction:column}.ote-resource-search{width:100%}}@media(max-width:650px){.ote-resources-wrap{width:min(100% - 24px,1240px)}.ote-resources-hero{padding:64px 0 58px}.ote-featured-section{padding-top:55px}.ote-featured-copy{padding:28px}.ote-featured-image{min-height:260px}.ote-resource-grid{grid-template-columns:1fr}.ote-card-meta{align-items:flex-start;flex-direction:column}.ote-cta-grid{grid-template-columns:1fr}.ote-cta-grid a{text-align:center}.ote-filter-row{flex-wrap:nowrap;overflow-x:auto;padding-bottom:18px}.ote-filter{white-space:nowrap}}

body.ote-resources-page-active .entry-header,body.ote-resources-page-active .page-header,body.ote-resources-page-active .kubio-page-title,body.ote-resources-page-active [class*=page-title]{display:none!important;}body.ote-resources-page-active .site-content,body.ote-resources-page-active .content-area,body.ote-resources-page-active main#primary{padding:0!important;margin:0!important;max-width:none!important;}

/* Resources page only: remove the restored Kubio/page-title hero above the plugin layout. */
body.ote-resources-page-active .kubio-page-title,
body.ote-resources-page-active .kubio-page-title-section,
body.ote-resources-page-active .page-hero,
body.ote-resources-page-active .page-title-area,
body.ote-resources-page-active .page-title-section,
body.ote-resources-page-active .hero-inner,
body.ote-resources-page-active [data-kubio-component="page-title"],
body.ote-resources-page-active [class*="page-title"][style*="background-image"]{
    display:none!important;
}
body.ote-resources-page-active .ote-resources-template{
    margin-top:0!important;
    padding-top:0!important;
}


/* v1.0.4: remove Kubio's standalone hero wrapper only on the Resources page. */
body.ote-resources-page-active #hero.wp-block-kubio-hero,
body.ote-resources-page-active #hero[data-kubio*="hero"],
body.ote-resources-page-active div#hero {
    display:none!important;
    visibility:hidden!important;
    height:0!important;
    min-height:0!important;
    margin:0!important;
    padding:0!important;
    overflow:hidden!important;
}
body.ote-resources-page-active #page-top + #hero,
body.ote-resources-page-active #hero + .ote-resources-template,
body.ote-resources-page-active #hero + #primary {
    margin-top:0!important;
    padding-top:0!important;
}

/* v1.0.5: approved spacing below the existing OTE navigation. */
body.ote-resources-page-active .ote-resources-template,
body.ote-resources-page-active .ote-resources {
    margin-top:200px!important;
}

@media(max-width:650px){
    body.ote-resources-page-active .ote-resources-template,
    body.ote-resources-page-active .ote-resources {
        margin-top:48px!important;
    }
}

/* v1.0.6 — single-resource article layout and editor workflow fixes. */
body.ote-resource-single-active #hero.wp-block-kubio-hero,
body.ote-resource-single-active #hero[data-kubio*="hero"],
body.ote-resource-single-active div#hero {
    display:none!important;
    visibility:hidden!important;
    height:0!important;
    min-height:0!important;
    margin:0!important;
    padding:0!important;
    overflow:hidden!important;
}
body.ote-resource-single-active .ote-resource-single-shell {
    margin-top:200px!important;
}
body.ote-resource-single-active .ote-resource-reading-grid {
    display:grid!important;
    grid-template-columns:minmax(170px,220px) minmax(0,1fr)!important;
    gap:46px!important;
    align-items:start!important;
}
body.ote-resource-single-active .ote-resource-toc-column {
    grid-column:1!important;
    align-self:start!important;
}
body.ote-resource-single-active .ote-resource-reading-column {
    grid-column:2!important;
    min-width:0!important;
}
body.ote-resource-single-active .ote-resource-inline-featured {
    width:100%!important;
    max-width:none!important;
    margin:0 0 24px!important;
    aspect-ratio:16/9;
    overflow:hidden;
    background:var(--ote-soft);
}
body.ote-resource-single-active .ote-resource-inline-featured img {
    width:100%!important;
    height:100%!important;
    max-height:560px!important;
    object-fit:cover!important;
    display:block!important;
}
body.ote-resource-single-active .ote-resource-tldr-card {
    margin-top:0!important;
}
@media(max-width:980px){
    body.ote-resource-single-active .ote-resource-single-shell {margin-top:72px!important;}
    body.ote-resource-single-active .ote-resource-reading-grid {grid-template-columns:1fr!important;gap:24px!important;}
    body.ote-resource-single-active .ote-resource-toc-column,
    body.ote-resource-single-active .ote-resource-reading-column {grid-column:1!important;}
}
@media(max-width:650px){
    body.ote-resource-single-active .ote-resource-single-shell {margin-top:48px!important;}
    body.ote-resource-single-active .ote-resource-inline-featured {aspect-ratio:4/3;}
}

/* v1.0.8 — restore the editor and enforce the intended two-column article layout. */
body.ote-resource-single-active .ote-resource-reading-grid{
    display:grid!important;
    grid-template-columns:minmax(170px,220px) minmax(0,1fr)!important;
    gap:46px!important;
    align-items:start!important;
}
body.ote-resource-single-active .ote-resource-toc-column{
    grid-column:1!important;
    align-self:start!important;
}
body.ote-resource-single-active .ote-resource-reading-column{
    grid-column:2!important;
    min-width:0!important;
}
body.ote-resource-single-active .ote-resource-reading-column > .ote-resource-inline-featured:first-child{
    margin-top:0!important;
}
body.ote-resource-single-active .ote-resource-inline-featured{
    width:100%!important;
    max-width:none!important;
    margin:0 0 28px!important;
    aspect-ratio:16/9!important;
    overflow:hidden!important;
    background:var(--ote-soft)!important;
}
body.ote-resource-single-active .ote-resource-inline-featured img{
    display:block!important;
    width:100%!important;
    height:100%!important;
    max-width:none!important;
    max-height:none!important;
    object-fit:cover!important;
}
@media(max-width:980px){
    body.ote-resource-single-active .ote-resource-reading-grid{grid-template-columns:1fr!important;gap:24px!important;}
    body.ote-resource-single-active .ote-resource-toc-column,
    body.ote-resource-single-active .ote-resource-reading-column{grid-column:1!important;}
}

/* v1.0.9 — deterministic single-resource template. No DOM-moving JavaScript. */
body.ote-resource-single-active #hero,
body.ote-resource-single-active .wp-block-kubio-hero {display:none!important;}

body.ote-resource-single-active .ote-resource-single-page{
    margin-top:200px;
    font-family:Poppins,Helvetica,Arial,sans-serif;
    color:#202326;
    background:#fff;
}
body.ote-resource-single-active .ote-resource-article-header{
    background:#171a1d;
    color:#fff;
    padding:54px 0 58px;
}
body.ote-resource-single-active .ote-resource-article-wrap,
body.ote-resource-single-active .ote-resource-reading-wrap{
    width:min(100% - 40px,1240px);
    margin:0 auto;
}
body.ote-resource-single-active .ote-resource-article-wrap{max-width:930px;}
body.ote-resource-single-active .ote-resource-breadcrumbs{
    display:flex;flex-wrap:wrap;gap:8px;align-items:center;
    font-size:12px;color:#b9bec3;margin:0 0 26px;
}
body.ote-resource-single-active .ote-resource-breadcrumbs a{color:#fff;text-decoration:none;}
body.ote-resource-single-active .ote-resource-type{
    border-left:4px solid #DA291C;padding-left:12px;
    text-transform:uppercase;letter-spacing:.13em;font-size:12px;font-weight:800;
    margin-bottom:16px;
}
body.ote-resource-single-active .ote-resource-article-header h1{
    color:#fff!important;font-size:clamp(38px,5vw,66px)!important;line-height:1.04!important;
    margin:0 0 20px!important;max-width:900px;
}
body.ote-resource-single-active .ote-resource-dek{
    max-width:760px;font-size:18px;line-height:1.65;color:#d5d8da;margin:0 0 18px;
}
body.ote-resource-single-active .ote-resource-date{font-size:12px;color:#b9bec3;}
body.ote-resource-single-active .ote-resource-reading-wrap{padding:56px 0 90px;}
body.ote-resource-single-active .ote-resource-reading-grid{
    display:grid!important;grid-template-columns:210px minmax(0,1fr)!important;
    gap:48px!important;align-items:start!important;
}
body.ote-resource-single-active .ote-resource-toc-column{grid-column:1!important;}
body.ote-resource-single-active .ote-resource-toc-inner{
    position:sticky;top:24px;border-top:4px solid #DA291C;padding-top:14px;
}
body.ote-resource-single-active .ote-resource-toc-title{
    text-transform:uppercase;letter-spacing:.1em;font-size:11px;font-weight:800;margin-bottom:10px;
}
body.ote-resource-single-active .ote-resource-toc-links{display:flex;flex-direction:column;gap:8px;}
body.ote-resource-single-active .ote-resource-toc-links a{
    color:#667078;text-decoration:none;font-size:12px;line-height:1.4;font-weight:500;
}
body.ote-resource-single-active .ote-resource-toc-links a:hover{color:#DA291C;}
body.ote-resource-single-active .ote-resource-toc-links a.is-subsection{padding-left:12px;}
body.ote-resource-single-active .ote-resource-reading-column{
    grid-column:2!important;min-width:0!important;
}
body.ote-resource-single-active .ote-resource-inline-featured{
    display:block!important;width:100%!important;max-width:none!important;
    margin:0 0 30px!important;aspect-ratio:16/9;overflow:hidden;background:#f2f3f4;
}
body.ote-resource-single-active .ote-resource-inline-featured img{
    display:block!important;width:100%!important;height:100%!important;
    max-width:none!important;max-height:none!important;object-fit:cover!important;
}
body.ote-resource-single-active .ote-resource-article-body{font-size:16px;line-height:1.75;}
body.ote-resource-single-active .ote-resource-article-body > :first-child{margin-top:0;}
body.ote-resource-single-active .ote-resource-article-body h2{
    font-size:clamp(28px,3vw,40px)!important;line-height:1.2!important;margin:48px 0 16px!important;
}
body.ote-resource-single-active .ote-resource-article-body h3{
    font-family:Poppins,Helvetica,Arial,sans-serif!important;font-size:24px!important;margin:32px 0 12px!important;
}
body.ote-resource-single-active .ote-resource-article-body .ote-tldr{
    margin:0 0 34px;padding:26px 28px;background:#f3f4f5;border-left:4px solid #DA291C;
}
body.ote-resource-single-active .ote-resource-article-body table{width:100%;border-collapse:collapse;}
body.ote-resource-single-active .ote-resource-article-body th,
body.ote-resource-single-active .ote-resource-article-body td{padding:10px 12px;border-bottom:1px solid #dfe2e4;text-align:left;}

@media(max-width:980px){
    body.ote-resource-single-active .ote-resource-single-page{margin-top:72px;}
    body.ote-resource-single-active .ote-resource-reading-grid{grid-template-columns:1fr!important;gap:24px!important;}
    body.ote-resource-single-active .ote-resource-toc-column,
    body.ote-resource-single-active .ote-resource-reading-column{grid-column:1!important;}
    body.ote-resource-single-active .ote-resource-toc-inner{position:static;}
}
@media(max-width:650px){
    body.ote-resource-single-active .ote-resource-single-page{margin-top:48px;}
    body.ote-resource-single-active .ote-resource-article-wrap,
    body.ote-resource-single-active .ote-resource-reading-wrap{width:min(100% - 24px,1240px);}
    body.ote-resource-single-active .ote-resource-article-header{padding:38px 0 42px;}
    body.ote-resource-single-active .ote-resource-reading-wrap{padding-top:30px;}
    body.ote-resource-single-active .ote-resource-inline-featured{aspect-ratio:4/3;}
}

/* v1.0.10: Improve article table-of-contents readability. */
body.ote-resource-single-active .ote-resource-toc-title{
    font-size:14px!important;
    line-height:1.35!important;
    letter-spacing:.08em!important;
    margin-bottom:14px!important;
}
body.ote-resource-single-active .ote-resource-toc-links{
    gap:11px!important;
}
body.ote-resource-single-active .ote-resource-toc-links a{
    font-size:13.5px!important;
    line-height:1.5!important;
    font-weight:500!important;
}


/* v1.0.15: Use one uncropped 4:3 image frame for featured Resources imagery. */
.ote-featured-card{align-items:start;}
.ote-featured-image{
    min-height:0!important;
    aspect-ratio:4/3!important;
    overflow:hidden!important;
    background:var(--ote-soft)!important;
}
.ote-featured-image img{
    width:100%!important;
    height:100%!important;
    max-width:100%!important;
    object-fit:contain!important;
    object-position:center center!important;
}
body.ote-resource-single-active .ote-resource-inline-featured{
    aspect-ratio:4/3!important;
    overflow:hidden!important;
    background:#f2f3f4!important;
}
body.ote-resource-single-active .ote-resource-inline-featured img{
    width:100%!important;
    height:100%!important;
    max-width:100%!important;
    max-height:none!important;
    object-fit:contain!important;
    object-position:center center!important;
}
@media(max-width:980px){
    .ote-featured-image{min-height:0!important;}
}
@media(max-width:650px){
    .ote-featured-image,
    body.ote-resource-single-active .ote-resource-inline-featured{aspect-ratio:4/3!important;}
}

/* v1.0.16: Keep single-article featured imagery responsive without overpowering the article. */
body.ote-resource-single-active .ote-resource-inline-featured{
    width:100%!important;
    max-width:760px!important;
    margin:0 auto 28px!important;
}
@media(max-width:800px){
    body.ote-resource-single-active .ote-resource-inline-featured{
        max-width:100%!important;
        margin-bottom:22px!important;
    }
}
