/*
Theme Name: Localize Living — Home Atlas
Theme URI: https://example.com/
Author: OpenAI
Description: Premium architectural home-improvement editorial theme with project index, smart internal connections and modern search.
Version: 6.0
Requires at least: 6.5
Requires PHP: 7.4
Text Domain: mecd
*/

:root{
  --paper:#f5f1e8;
  --paper-2:#ebe4d6;
  --ink:#17251f;
  --forest:#20372d;
  --forest-2:#304c3f;
  --sage:#8b9d87;
  --brass:#b78b4b;
  --brass-2:#d8bd8f;
  --clay:#b56e52;
  --line:rgba(23,37,31,.16);
  --soft-line:rgba(255,255,255,.15);
  --white:#fffdf8;
  --muted:#657068;
  --shadow:0 24px 70px rgba(31,42,35,.12);
  --radius:20px;
  --wrap:1280px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.65;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto;display:block}
button,input{font:inherit}
.site-wrap{width:min(var(--wrap),calc(100% - 48px));margin-inline:auto}
.skip-link{position:absolute;left:-9999px;top:8px;background:#fff;padding:10px 14px;z-index:99999}.skip-link:focus{left:8px}
.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* Header — one clean architectural bar */
.atlas-header{position:sticky;top:0;z-index:1000;background:rgba(245,241,232,.94);backdrop-filter:blur(18px);border-bottom:1px solid var(--line)}
.atlas-header-row{height:92px;display:grid;grid-template-columns:minmax(250px,390px) 1fr auto;align-items:center;gap:28px}
.atlas-brand{display:flex;align-items:center;min-width:0}
.atlas-brand .custom-logo-link{display:block}
.atlas-brand .custom-logo,.included-home-logo{width:360px;max-width:100%;max-height:72px;object-fit:contain;object-position:left center}
.atlas-nav{justify-self:center;min-width:0}
.atlas-nav ul{list-style:none;display:flex;align-items:center;gap:4px;padding:5px;margin:0;border:1px solid var(--line);border-radius:999px;background:rgba(255,253,248,.75)}
.atlas-nav li{margin:0}
.atlas-nav a{display:block;padding:11px 15px;border-radius:999px;font-size:13px;font-weight:750;letter-spacing:.01em;white-space:nowrap;transition:.2s ease}
.atlas-nav a:hover,.atlas-nav .current-menu-item>a,.atlas-nav .current_page_item>a{background:var(--forest);color:#fff}
.atlas-tools{display:flex;align-items:center;gap:9px;justify-self:end}
.atlas-search-trigger{border:1px solid var(--line);background:var(--white);border-radius:999px;display:flex;align-items:center;gap:9px;padding:11px 15px;color:var(--ink);cursor:pointer;font-weight:750;transition:.2s ease}
.atlas-search-trigger:hover,.atlas-search-trigger.is-active{background:var(--forest);color:white;border-color:var(--forest)}
.atlas-search-dot{width:15px;height:15px;border:2px solid currentColor;border-radius:50%;position:relative}.atlas-search-dot:after{content:"";position:absolute;width:6px;height:2px;background:currentColor;right:-5px;bottom:-2px;transform:rotate(45deg);border-radius:2px}
.atlas-menu-toggle{display:none;width:44px;height:44px;border:1px solid var(--line);background:var(--white);border-radius:50%;padding:10px;cursor:pointer}.atlas-menu-toggle span{display:block;height:2px;background:var(--ink);margin:5px 0;border-radius:2px}
.atlas-search-panel{border-top:1px solid var(--line);background:var(--white);box-shadow:0 18px 45px rgba(23,37,31,.12)}
.atlas-search-inner{display:grid;grid-template-columns:270px 1fr;gap:32px;align-items:center;padding:24px 0 28px}
.atlas-search-title small{display:block;color:var(--brass);font-size:10px;font-weight:900;letter-spacing:.15em;text-transform:uppercase}.atlas-search-title strong{display:block;font-family:Georgia,serif;font-size:24px;font-weight:500;margin-top:3px}
.atlas-search-form{display:flex;align-items:center;border-bottom:2px solid var(--ink);padding-bottom:8px}.atlas-search-form input{border:0;background:transparent;outline:0;min-width:0;flex:1;font-size:22px;color:var(--ink);padding:8px 0}.atlas-search-form button{border:0;background:var(--forest);color:#fff;border-radius:999px;padding:11px 22px;font-weight:800;cursor:pointer}

/* shared */
.atlas-kicker{display:inline-flex;align-items:center;gap:10px;font-size:10px;font-weight:900;letter-spacing:.18em;text-transform:uppercase;color:var(--brass-2)}
.atlas-kicker:before{content:"";width:24px;height:1px;background:currentColor}.atlas-kicker.dark{color:var(--brass)}
.atlas-section-head{display:flex;justify-content:space-between;align-items:end;gap:28px;margin-bottom:32px}.atlas-section-head h2{font-family:Georgia,serif;font-size:clamp(34px,4vw,60px);font-weight:500;line-height:1.02;margin:8px 0 0;letter-spacing:-.035em}.atlas-section-head>p{max-width:520px;color:var(--muted);margin:0}.atlas-section-head.compact h2{font-size:clamp(30px,3.2vw,48px)}.atlas-section-head.light h2{color:#fff}.atlas-text-link{font-weight:800;border-bottom:1px solid currentColor;padding-bottom:3px}

/* hero */
.atlas-home{overflow:hidden}
.atlas-hero{background:var(--forest);color:#fff;position:relative}
.atlas-hero:after{content:"";position:absolute;inset:auto 0 0;height:1px;background:rgba(255,255,255,.15)}
.atlas-hero-grid{min-height:650px;display:grid;grid-template-columns:minmax(360px,.9fr) minmax(470px,1.35fr) 84px;align-items:stretch}
.atlas-hero-copy{padding:88px 56px 72px 0;display:flex;flex-direction:column;justify-content:center}
.atlas-hero-copy h1{font-family:Georgia,serif;font-weight:500;font-size:clamp(48px,5.4vw,78px);line-height:.98;letter-spacing:-.045em;margin:20px 0 24px;max-width:720px}.atlas-hero-copy>p{font-size:18px;color:rgba(255,255,255,.74);max-width:590px;margin:0 0 34px}.atlas-hero-actions{display:flex;gap:12px;flex-wrap:wrap}.atlas-btn{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:14px 20px;font-size:13px;font-weight:850}.atlas-btn-primary{background:var(--brass);color:#fff}.atlas-btn-ghost{border:1px solid rgba(255,255,255,.3);color:#fff}.atlas-hero-meta{display:flex;gap:20px;margin-top:50px;padding-top:20px;border-top:1px solid rgba(255,255,255,.15);font-size:11px;letter-spacing:.1em;text-transform:uppercase}.atlas-hero-meta b{color:var(--brass-2)}
.atlas-hero-visual{position:relative;padding:44px 0 44px 24px}.atlas-image-frame{height:100%;min-height:540px;display:block;position:relative;overflow:hidden;background:#d9d3c6}.atlas-image-frame img{width:100%;height:100%;object-fit:cover;transition:transform .6s ease}.atlas-image-frame:hover img{transform:scale(1.025)}.atlas-image-fallback{display:block;width:100%;height:100%;min-height:280px;background:linear-gradient(135deg,#d6ccb9,#9ca68e)}.atlas-frame-corner{position:absolute;width:58px;height:58px;border-color:var(--brass-2);border-style:solid}.atlas-frame-corner-a{left:16px;top:16px;border-width:1px 0 0 1px}.atlas-frame-corner-b{right:16px;bottom:16px;border-width:0 1px 1px 0}.atlas-hero-stamp{position:absolute;left:-34px;bottom:68px;background:var(--paper);color:var(--ink);width:90px;height:90px;border-radius:50%;display:grid;place-content:center;text-align:center;box-shadow:var(--shadow)}.atlas-hero-stamp span{font-size:8px;letter-spacing:.14em;font-weight:900}.atlas-hero-stamp strong{font-family:Georgia,serif;font-size:30px;line-height:1}
.atlas-hero-rail{border-left:1px solid rgba(255,255,255,.13);display:flex;flex-direction:column;align-items:center;justify-content:space-around;padding:42px 0}.atlas-hero-rail span{writing-mode:vertical-rl;transform:rotate(180deg);font-size:9px;letter-spacing:.25em;color:rgba(255,255,255,.55)}

/* project index */
.atlas-index-wrap{padding:78px 0 70px;background:var(--paper)}
.atlas-category-grid{display:grid;grid-template-columns:repeat(13,1fr);border:1px solid var(--line);background:var(--white);overflow-x:auto;box-shadow:0 14px 40px rgba(23,37,31,.05)}
.atlas-category{min-width:118px;min-height:170px;padding:16px 14px 14px;border-right:1px solid var(--line);display:flex;flex-direction:column;position:relative;transition:.22s ease}.atlas-category:last-child{border-right:0}.atlas-category:hover{background:var(--forest);color:#fff;transform:translateY(-5px)}.atlas-category-no{font-family:Georgia,serif;font-size:12px;color:var(--brass)}.atlas-category strong{font-family:Georgia,serif;font-size:18px;line-height:1.05;margin:auto 0 10px;word-break:normal}.atlas-category small{font-size:10px;color:var(--muted)}.atlas-category:hover small{color:rgba(255,255,255,.62)}.atlas-category i{font-style:normal;position:absolute;right:12px;top:12px;opacity:.45}

/* curated asymmetric */
.atlas-curated{padding:70px 0 92px}.atlas-curated-grid{display:grid;grid-template-columns:1.2fr .8fr 1fr;grid-template-rows:auto auto;gap:20px}.atlas-note{position:relative;background:var(--white);border:1px solid var(--line);min-width:0}.atlas-note-1{grid-row:span 2}.atlas-note-4{grid-column:span 2;display:grid;grid-template-columns:1fr 1fr}.atlas-note-media{display:block;overflow:hidden;min-height:230px}.atlas-note-1 .atlas-note-media{height:430px}.atlas-note-4 .atlas-note-media{height:100%}.atlas-note-media img{width:100%;height:100%;object-fit:cover;transition:.45s ease}.atlas-note:hover img{transform:scale(1.025)}.atlas-note-copy{padding:22px}.atlas-note-top{display:flex;justify-content:space-between;gap:12px;font-size:10px;text-transform:uppercase;letter-spacing:.09em;color:var(--muted)}.atlas-note-top b{font-family:Georgia,serif;font-size:16px;color:var(--brass)}.atlas-note h3{font-family:Georgia,serif;font-size:clamp(24px,2.2vw,34px);line-height:1.08;font-weight:500;margin:12px 0}.atlas-note p{color:var(--muted);margin:0}

/* blueprint ledger */
.atlas-ledger{background:#152820;color:#fff;padding:82px 0}.atlas-ledger-grid{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:54px}.atlas-ledger-list{border-top:1px solid var(--soft-line)}.atlas-ledger-row{display:grid;grid-template-columns:44px 1fr 72px 30px;gap:18px;align-items:center;padding:20px 0;border-bottom:1px solid var(--soft-line)}.atlas-ledger-num{font-family:Georgia,serif;color:var(--brass-2)}.atlas-ledger-copy span{font-size:9px;letter-spacing:.1em;text-transform:uppercase;color:rgba(255,255,255,.5)}.atlas-ledger-copy h3{font-family:Georgia,serif;font-size:23px;line-height:1.1;font-weight:500;margin:4px 0}.atlas-ledger-thumb{width:72px;height:55px;overflow:hidden}.atlas-ledger-thumb img{width:100%;height:100%;object-fit:cover}.atlas-ledger-arrow{font-size:22px;color:var(--brass-2)}.atlas-project-panel{align-self:start;position:sticky;top:122px;border:1px solid rgba(255,255,255,.16);padding:28px;background:rgba(255,255,255,.04)}.atlas-project-panel h3{font-family:Georgia,serif;font-size:38px;line-height:1.02;font-weight:500;margin:14px 0}.atlas-project-panel>p{color:rgba(255,255,255,.65)}.atlas-compass-list{margin-top:26px;border-top:1px solid var(--soft-line)}.atlas-compass-list a{display:flex;justify-content:space-between;padding:11px 0;border-bottom:1px solid var(--soft-line);font-size:13px}.atlas-compass-list b{color:var(--brass-2)}.atlas-panel-quote{font-family:Georgia,serif;font-style:italic;color:var(--brass-2);margin-top:30px;font-size:20px;line-height:1.25}

/* breadcrumbs + archives */
.breadcrumbs{font-size:11px;color:var(--muted);padding:26px 0}.breadcrumbs a:hover{color:var(--brass)}
.atlas-archive{padding-bottom:86px}.atlas-archive-head{padding:48px 0 40px;border-bottom:1px solid var(--line)}.atlas-archive-head h1{font-family:Georgia,serif;font-size:clamp(50px,7vw,88px);font-weight:500;line-height:.95;letter-spacing:-.045em;margin:14px 0}.atlas-archive-head p{max-width:720px;color:var(--muted)}.atlas-archive-list{border-top:1px solid var(--line)}.atlas-archive-row{display:grid;grid-template-columns:52px 180px 1fr 34px;gap:24px;align-items:center;padding:22px 0;border-bottom:1px solid var(--line)}.atlas-archive-num{font-family:Georgia,serif;color:var(--brass)}.atlas-archive-thumb{height:112px;overflow:hidden}.atlas-archive-thumb img{width:100%;height:100%;object-fit:cover}.atlas-archive-copy span{font-size:10px;text-transform:uppercase;letter-spacing:.1em;color:var(--muted)}.atlas-archive-copy h2{font-family:Georgia,serif;font-weight:500;font-size:28px;line-height:1.08;margin:4px 0}.atlas-archive-copy p{margin:7px 0 0;color:var(--muted)}.atlas-archive-arrow{font-size:24px;color:var(--brass)}
.pagination{padding:36px 0}.pagination .nav-links{display:flex;gap:8px}.pagination .page-numbers{border:1px solid var(--line);padding:8px 12px}.pagination .current{background:var(--forest);color:#fff}

/* single article */
.atlas-article-wrap{max-width:1120px;padding-bottom:90px}.atlas-article-head{max-width:900px;margin:38px auto 48px}.atlas-article-labels{display:flex;gap:14px;align-items:center;color:var(--brass);font-size:10px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}.atlas-article-labels b{color:var(--muted);font-weight:700}.atlas-article-head h1{font-family:Georgia,serif;font-weight:500;font-size:clamp(48px,6vw,78px);line-height:.99;letter-spacing:-.04em;margin:18px 0}.atlas-article-deck{font-family:Georgia,serif;font-size:23px;line-height:1.45;color:#536158;margin:0;max-width:840px}.atlas-article-meta{display:flex;flex-wrap:wrap;gap:16px 26px;margin-top:26px;padding-top:18px;border-top:1px solid var(--line);font-size:12px;color:var(--muted)}.atlas-featured{margin:0 0 50px}.atlas-featured img{width:100%;max-height:650px;object-fit:cover}.atlas-featured figcaption{font-size:11px;color:var(--muted);padding-top:8px}.atlas-reading-grid{display:grid;grid-template-columns:86px minmax(0,760px);gap:36px;justify-content:center}.atlas-reading-rail{padding-top:6px;display:flex;flex-direction:column;align-items:center;gap:12px;color:var(--brass);font-size:9px;letter-spacing:.14em}.atlas-reading-rail span{writing-mode:vertical-rl;transform:rotate(180deg)}.atlas-reading-rail i{height:72px;width:1px;background:var(--line)}.atlas-reading-rail small{font-size:9px;color:var(--muted)}.atlas-article-body{font-family:Georgia,"Times New Roman",serif;font-size:19px;line-height:1.82;color:#26342d}.atlas-article-body>p:first-child:first-letter{float:left;font-size:74px;line-height:.75;padding:11px 10px 0 0;color:var(--forest)}.atlas-article-body h2,.atlas-article-body h3{font-family:Georgia,serif;color:var(--ink);font-weight:500;line-height:1.08;letter-spacing:-.02em}.atlas-article-body h2{font-size:38px;margin:52px 0 18px;padding-top:8px}.atlas-article-body h3{font-size:28px;margin:36px 0 14px}.atlas-article-body a{color:#805c2d;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px}.atlas-article-body blockquote{margin:38px 0;padding:24px 28px;border-left:3px solid var(--brass);background:var(--white);font-size:25px;line-height:1.45;font-style:italic}.atlas-article-body ul,.atlas-article-body ol{padding-left:25px}.atlas-article-body table{width:100%;border-collapse:collapse;font-family:Inter,sans-serif;font-size:14px;margin:28px 0}.atlas-article-body th,.atlas-article-body td{border:1px solid var(--line);padding:12px;text-align:left}.atlas-article-body th{background:var(--forest);color:#fff}.atlas-article-signoff{display:flex;align-items:center;gap:16px;max-width:760px;margin:55px auto 28px;color:var(--muted);font-size:9px;letter-spacing:.16em}.atlas-article-signoff span{height:1px;background:var(--line);flex:1}.atlas-author-card{max-width:760px;margin:0 auto 45px;padding:24px;border:1px solid var(--line);background:var(--white);display:flex;gap:18px;align-items:flex-start}.atlas-author-initial{width:52px;height:52px;border-radius:50%;display:grid;place-items:center;background:var(--forest);color:#fff;font-family:Georgia,serif;font-size:24px}.atlas-author-card small{display:block;font-size:9px;letter-spacing:.12em;color:var(--muted)}.atlas-author-card strong{font-family:Georgia,serif;font-size:24px}.atlas-author-card p{margin:5px 0 0;color:var(--muted)}

/* inline smart interlinks */
.mecd-inline-related{margin:34px 0;padding:20px 22px;background:#ece5d8;border-left:3px solid var(--brass);font-family:Inter,sans-serif}.mecd-inline-related-label{font-size:9px;font-weight:900;letter-spacing:.15em;text-transform:uppercase;color:var(--brass);display:block;margin-bottom:10px}.mecd-inline-related-links{margin:0!important;padding-left:20px!important}.mecd-inline-related-item{margin:7px 0}.mecd-inline-related-link{font-size:14px!important;font-weight:750;color:var(--forest)!important;text-decoration:none!important}.mecd-inline-related-link:hover{text-decoration:underline!important}

/* related posts */
.related{max-width:900px;margin:52px auto 0;border-top:1px solid var(--line);padding-top:34px}.section-kicker{font-size:9px;color:var(--brass);font-weight:900;letter-spacing:.16em;text-transform:uppercase}.section-title{font-family:Georgia,serif;font-size:38px;font-weight:500;margin:6px 0 22px}.related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.related-grid article{background:var(--white);border:1px solid var(--line);padding:20px;min-height:150px}.related-grid h3{font-family:Georgia,serif;font-size:22px;line-height:1.1;font-weight:500;margin:0 0 18px}.related-grid .meta{font-size:10px;color:var(--muted)}

/* generic page/search/404 support */
.home-archive-head,.archive-head,.search-head,.page-header{padding:54px 0 30px}.home-archive-grid,.archive-grid,.search-results{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.home-archive-card,.post-card{background:var(--white);border:1px solid var(--line);padding:18px}.home-archive-card img,.post-card img{width:100%;aspect-ratio:4/3;object-fit:cover}.home-archive-card h2,.post-card h2{font-family:Georgia,serif;font-weight:500;line-height:1.08}.article-shell,.page-shell{padding-bottom:80px}

/* footer */
.atlas-footer{background:#101f19;color:#fff;padding:64px 0 0}.atlas-footer-top{display:grid;grid-template-columns:1.3fr .8fr .8fr;gap:60px;padding-bottom:48px}.atlas-footer-brand>a{font-family:Georgia,serif;font-size:38px}.atlas-footer-brand p{max-width:410px;color:rgba(255,255,255,.58)}.atlas-footer-col h3{font-size:10px;letter-spacing:.15em;text-transform:uppercase;color:var(--brass-2);margin:0 0 14px}.atlas-footer-col ul{list-style:none;margin:0;padding:0}.atlas-footer-col li{margin:6px 0}.atlas-footer-col a{color:rgba(255,255,255,.72)}.atlas-footer-col a:hover{color:#fff}.atlas-footer-bottom{border-top:1px solid rgba(255,255,255,.12);padding:18px 0 22px;display:flex;justify-content:space-between;gap:20px;color:rgba(255,255,255,.45);font-size:9px;letter-spacing:.14em}

/* accessibility/focus */
a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid #d3ad70;outline-offset:3px}

@media(max-width:1120px){
  .atlas-header-row{grid-template-columns:270px 1fr auto;gap:15px}.atlas-brand .custom-logo,.included-home-logo{width:270px}.atlas-nav a{padding:9px 10px;font-size:12px}
  .atlas-hero-grid{grid-template-columns:.85fr 1.15fr 54px}.atlas-hero-copy{padding-right:35px}.atlas-category-grid{grid-template-columns:repeat(13,118px)}
  .atlas-curated-grid{grid-template-columns:1fr 1fr}.atlas-note-1{grid-row:auto}.atlas-note-4{grid-column:auto;display:block}.atlas-note-4 .atlas-note-media{height:230px}
}
@media(max-width:900px){
  .site-wrap{width:min(100% - 32px,var(--wrap))}.atlas-header-row{height:78px;grid-template-columns:1fr auto}.atlas-brand .custom-logo,.included-home-logo{width:300px;max-width:58vw;max-height:58px}.atlas-menu-toggle{display:block}.atlas-nav{position:absolute;left:16px;right:16px;top:78px;background:var(--white);padding:12px;border:1px solid var(--line);box-shadow:var(--shadow);display:none}.atlas-nav.is-open{display:block}.atlas-nav ul{display:grid;grid-template-columns:1fr 1fr;border:0;border-radius:0;background:transparent;padding:0}.atlas-nav a{border-radius:8px;padding:13px}.atlas-search-trigger{width:44px;height:44px;justify-content:center;padding:0}.atlas-search-trigger>span:last-child{display:none}.atlas-search-inner{grid-template-columns:1fr;padding:18px 0}.atlas-search-title{display:none}
  .atlas-hero-grid{grid-template-columns:1fr;min-height:0}.atlas-hero-copy{padding:65px 0 45px}.atlas-hero-visual{padding:0 0 38px}.atlas-image-frame{min-height:430px}.atlas-hero-stamp{left:auto;right:16px;bottom:18px}.atlas-hero-rail{display:none}
  .atlas-section-head{align-items:flex-start;flex-direction:column}.atlas-curated-grid{grid-template-columns:1fr 1fr}.atlas-ledger-grid{grid-template-columns:1fr}.atlas-project-panel{position:static}.atlas-reading-grid{grid-template-columns:1fr}.atlas-reading-rail{display:none}.atlas-article-head{margin-top:25px}.atlas-archive-row{grid-template-columns:40px 130px 1fr 26px}.atlas-footer-top{grid-template-columns:1fr 1fr}.atlas-footer-brand{grid-column:span 2}
}
@media(max-width:640px){
  .site-wrap{width:calc(100% - 24px)}.atlas-header-row{height:70px}.atlas-brand .custom-logo,.included-home-logo{width:225px;max-width:62vw;max-height:50px}.atlas-tools{gap:6px}.atlas-search-trigger,.atlas-menu-toggle{width:40px;height:40px}.atlas-nav{top:70px;left:12px;right:12px}.atlas-nav ul{grid-template-columns:1fr}
  .atlas-hero-copy h1{font-size:46px}.atlas-hero-copy>p{font-size:16px}.atlas-hero-actions{flex-direction:column;align-items:stretch}.atlas-btn{width:100%}.atlas-image-frame{min-height:340px}.atlas-index-wrap{padding:55px 0}.atlas-section-head h2{font-size:38px}.atlas-curated{padding:50px 0 65px}.atlas-curated-grid{grid-template-columns:1fr}.atlas-note-1 .atlas-note-media{height:280px}.atlas-note-media{min-height:210px}.atlas-ledger{padding:60px 0}.atlas-ledger-row{grid-template-columns:34px 1fr 24px}.atlas-ledger-thumb{display:none}.atlas-ledger-copy h3{font-size:20px}
  .atlas-archive-head h1{font-size:54px}.atlas-archive-row{grid-template-columns:34px 1fr 22px;gap:12px}.atlas-archive-thumb{grid-column:2 / 4;width:100%;height:190px}.atlas-archive-copy{grid-column:2}.atlas-archive-arrow{grid-column:3;grid-row:2}
  .atlas-article-head h1{font-size:44px}.atlas-article-deck{font-size:20px}.atlas-featured{margin-inline:-12px}.atlas-article-body{font-size:18px;line-height:1.75}.atlas-article-body h2{font-size:31px}.atlas-article-body h3{font-size:25px}.related-grid{grid-template-columns:1fr}.atlas-footer-top{grid-template-columns:1fr;gap:32px}.atlas-footer-brand{grid-column:auto}.atlas-footer-bottom{flex-direction:column}.home-archive-grid,.archive-grid,.search-results{grid-template-columns:1fr}
}
\n\n

/* =========================================================
   v5.0 — CRAFTED LIVING / RENOVATION STUDIO
   Completely redesigned home-improvement homepage
   ========================================================= */

:root{
  --studio-ink:#1b2922;
  --studio-forest:#243b30;
  --studio-sage:#829582;
  --studio-linen:#f1ede5;
  --studio-paper:#fbfaf6;
  --studio-clay:#a46f4f;
  --studio-brass:#ae8755;
  --studio-line:#d9d1c4;
  --studio-muted:#68726c;
}

.studio-home{background:var(--studio-paper);color:var(--studio-ink)}
.studio-home a{text-decoration:none}
.studio-eyebrow{display:inline-flex;align-items:center;gap:10px;font-size:10px;letter-spacing:.19em;font-weight:850;text-transform:uppercase;color:#d5b27f}
.studio-eyebrow:before{content:"";width:28px;height:1px;background:currentColor}
.studio-eyebrow.dark{color:var(--studio-clay)}

.studio-hero{background:var(--studio-forest);overflow:hidden;border-bottom:1px solid rgba(255,255,255,.1)}
.studio-hero-shell{min-height:690px;display:grid;grid-template-columns:minmax(0,1.08fr) minmax(420px,.92fr) 150px;position:relative}
.studio-hero-copy{padding:95px 72px 80px 0;align-self:center}
.studio-hero-copy h1{font-family:Georgia,"Times New Roman",serif;font-weight:400;color:#fff;font-size:clamp(50px,5.6vw,84px);line-height:.98;letter-spacing:-.045em;max-width:780px;margin:22px 0 28px}
.studio-hero-copy>p{font-family:Georgia,serif;font-size:20px;line-height:1.62;color:#d7ddd8;max-width:610px;margin:0 0 34px}
.studio-actions{display:flex;gap:12px;flex-wrap:wrap}
.studio-btn{display:inline-flex;align-items:center;justify-content:center;padding:14px 20px;border-radius:2px;font-size:12px;font-weight:800;letter-spacing:.02em;transition:.2s ease}
.studio-btn-solid{background:#e3c39b;color:var(--studio-ink)}
.studio-btn-solid:hover{background:#fff}
.studio-btn-line{border:1px solid rgba(255,255,255,.32);color:#fff}
.studio-btn-line:hover{background:#fff;color:var(--studio-ink)}
.studio-hero-facts{display:flex;gap:42px;margin-top:58px;padding-top:18px;border-top:1px solid rgba(255,255,255,.13);max-width:620px;color:#fff;font-size:12px}
.studio-hero-facts span{display:grid;gap:6px}
.studio-hero-facts small{font-size:8px;letter-spacing:.16em;color:#9fb0a6;font-weight:800}

.studio-hero-image{position:relative;min-height:690px;padding:38px 0 38px 34px}
.studio-hero-image>a{display:block;height:100%;position:relative}
.studio-hero-image img,.studio-image-placeholder{width:100%;height:100%;object-fit:cover;display:block;background:linear-gradient(135deg,#aeb8aa,#60736a)}
.studio-hero-image:before{content:"";position:absolute;left:15px;top:70px;bottom:70px;width:1px;background:rgba(255,255,255,.28)}
.studio-hero-index{position:absolute;left:-22px;bottom:75px;width:105px;height:105px;background:var(--studio-paper);display:grid;place-content:center;text-align:center;box-shadow:0 15px 35px rgba(0,0,0,.22)}
.studio-hero-index b{font-family:Georgia,serif;font-size:38px;font-weight:400;line-height:1;color:var(--studio-forest)}
.studio-hero-index span{font-size:7px;letter-spacing:.14em;font-weight:900;color:var(--studio-clay);margin-top:5px}
.studio-measure{position:absolute;pointer-events:none}
.studio-measure-top{height:12px;left:62px;right:18px;top:20px;border-top:1px solid rgba(255,255,255,.35);border-left:1px solid rgba(255,255,255,.35);border-right:1px solid rgba(255,255,255,.35)}
.studio-measure-side{width:12px;top:60px;bottom:60px;right:-18px;border-right:1px solid rgba(255,255,255,.28);border-top:1px solid rgba(255,255,255,.28);border-bottom:1px solid rgba(255,255,255,.28)}

.studio-hero-note{border-left:1px solid rgba(255,255,255,.12);display:flex;flex-direction:column;justify-content:flex-end;padding:0 28px 52px;color:#b9c5bd}
.studio-hero-note span{writing-mode:vertical-rl;transform:rotate(180deg);font-size:8px;letter-spacing:.22em;font-weight:900;color:#e4c7a0;margin-bottom:auto;margin-top:58px}
.studio-hero-note p{font-family:Georgia,serif;font-size:14px;line-height:1.55;margin:0}
.studio-hero-note i{display:block;width:100%;height:1px;background:rgba(255,255,255,.17);margin-top:22px}

.studio-category-zone{background:var(--studio-linen);padding:90px 0 96px;border-bottom:1px solid var(--studio-line)}
.studio-heading{display:flex;justify-content:space-between;gap:40px;align-items:flex-end;margin-bottom:34px}
.studio-heading h2{font-family:Georgia,serif;font-size:clamp(38px,4vw,58px);font-weight:400;line-height:1;letter-spacing:-.035em;margin:12px 0 0;color:var(--studio-ink)}
.studio-heading>p{max-width:410px;margin:0;color:var(--studio-muted);line-height:1.65}
.studio-category-cabinet{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--studio-line);background:#fff}
.studio-category-tile{min-height:180px;padding:20px 22px;display:flex;flex-direction:column;position:relative;border-right:1px solid var(--studio-line);border-bottom:1px solid var(--studio-line);transition:.22s ease}
.studio-category-tile:nth-child(4n){border-right:0}
.studio-category-tile:nth-last-child(-n+1){border-bottom:0}
.studio-category-tile:hover{background:var(--studio-forest);color:#fff;transform:translateY(-3px);z-index:2;box-shadow:0 18px 36px rgba(26,41,33,.13)}
.studio-category-tile>span{font-size:9px;letter-spacing:.15em;color:var(--studio-clay);font-weight:850}
.studio-category-tile strong{font-family:Georgia,serif;font-size:25px;font-weight:400;margin:auto 0 12px}
.studio-category-tile small{font-size:10px;color:var(--studio-muted)}
.studio-category-tile b{position:absolute;right:18px;top:18px;font-weight:400}
.studio-category-tile:hover small,.studio-category-tile:hover>span{color:#d7c0a5}

.studio-featured-stories{padding:100px 0}
.studio-heading-row{align-items:center}
.studio-view-all{font-size:12px;font-weight:800;color:var(--studio-clay)}
.studio-story-stage{display:grid;grid-template-columns:1.15fr .85fr;grid-template-rows:auto auto auto;gap:36px 48px}
.studio-story{display:grid;gap:18px}
.studio-story-1{grid-row:1/4}
.studio-story-1 .studio-story-image{height:620px}
.studio-story-2,.studio-story-3,.studio-story-4,.studio-story-5{grid-template-columns:180px 1fr;align-items:start;border-top:1px solid var(--studio-line);padding-top:20px}
.studio-story-image{display:block;overflow:hidden;background:#ddd}
.studio-story-image img,.studio-story-image .studio-image-placeholder{width:100%;height:100%;object-fit:cover;display:block;transition:transform .4s ease}
.studio-story:hover .studio-story-image img{transform:scale(1.025)}
.studio-story-2 .studio-story-image,.studio-story-3 .studio-story-image,.studio-story-4 .studio-story-image,.studio-story-5 .studio-story-image{height:128px}
.studio-story-meta{display:flex;justify-content:space-between;gap:20px;font-size:9px;letter-spacing:.12em;text-transform:uppercase;color:var(--studio-clay);font-weight:850;margin-bottom:10px}
.studio-story-copy h3{font-family:Georgia,serif;font-weight:400;font-size:25px;line-height:1.12;letter-spacing:-.02em;margin:0 0 10px}
.studio-story-1 .studio-story-copy h3{font-size:42px}
.studio-story-copy p{color:var(--studio-muted);line-height:1.6;margin:0;font-size:13px}

.studio-room-strip{background:#b17a58;color:#fff;padding:70px 0}
.studio-room-inner{display:grid;grid-template-columns:340px 1fr;gap:60px;align-items:start}
.studio-room-title h2{font-family:Georgia,serif;font-weight:400;font-size:42px;line-height:1.02;margin:12px 0 0}
.studio-room-links{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid rgba(255,255,255,.3);border-left:1px solid rgba(255,255,255,.3)}
.studio-room-links a{min-height:100px;padding:20px;border-right:1px solid rgba(255,255,255,.3);border-bottom:1px solid rgba(255,255,255,.3);display:flex;justify-content:space-between;align-items:flex-end;color:#fff;transition:.2s}
.studio-room-links a:hover{background:rgba(255,255,255,.1)}
.studio-room-links span{font-family:Georgia,serif;font-size:20px}
.studio-room-links b{font-weight:400}

.studio-latest{padding:100px 0 115px}
.studio-latest-grid{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:70px}
.studio-heading.compact{margin-bottom:26px}
.studio-heading.compact h2{font-size:43px}
.studio-guide-list{border-top:1px solid var(--studio-line)}
.studio-guide-row{display:grid;grid-template-columns:58px 1fr 90px 28px;gap:22px;align-items:center;padding:20px 0;border-bottom:1px solid var(--studio-line)}
.studio-guide-date{font-size:8px;letter-spacing:.12em;color:var(--studio-muted);display:grid;text-align:center}
.studio-guide-date b{font-family:Georgia,serif;font-weight:400;font-size:29px;letter-spacing:0;color:var(--studio-ink)}
.studio-guide-copy>span{font-size:9px;letter-spacing:.12em;text-transform:uppercase;color:var(--studio-clay);font-weight:850}
.studio-guide-copy h3{font-family:Georgia,serif;font-weight:400;font-size:24px;line-height:1.15;margin:5px 0 0}
.studio-guide-thumb{height:64px;display:block;overflow:hidden}
.studio-guide-thumb img{width:100%;height:100%;object-fit:cover}
.studio-guide-arrow{font-size:18px}
.studio-sidebar-card{background:var(--studio-forest);color:#fff;padding:34px 30px;align-self:start;position:sticky;top:110px}
.studio-sidebar-card h3{font-family:Georgia,serif;font-size:35px;font-weight:400;line-height:1.02;margin:14px 0 18px}
.studio-sidebar-card p{font-size:13px;line-height:1.7;color:#c3d0c7}
.studio-sidebar-rule{height:1px;background:rgba(255,255,255,.16);margin:28px 0}
.studio-sidebar-card>strong{font-size:8px;letter-spacing:.17em;color:#dfc19a}
.studio-sidebar-card ol{list-style:none;padding:0;margin:18px 0 0;display:grid}
.studio-sidebar-card li{display:flex;gap:18px;align-items:center;padding:12px 0;border-top:1px solid rgba(255,255,255,.1);font-family:Georgia,serif;font-size:18px}
.studio-sidebar-card li span{font-family:Arial,sans-serif;font-size:9px;color:#dfc19a;letter-spacing:.1em}

@media(max-width:1100px){
  .studio-hero-shell{grid-template-columns:1fr 1fr}
  .studio-hero-note{display:none}
  .studio-hero-copy{padding-right:40px}
  .studio-category-cabinet{grid-template-columns:repeat(3,1fr)}
  .studio-category-tile:nth-child(4n){border-right:1px solid var(--studio-line)}
  .studio-category-tile:nth-child(3n){border-right:0}
  .studio-story-stage{gap:30px}
  .studio-room-inner{grid-template-columns:280px 1fr}
}

@media(max-width:820px){
  .studio-hero-shell{grid-template-columns:1fr;min-height:auto}
  .studio-hero-copy{padding:70px 0 48px}
  .studio-hero-copy h1{font-size:55px}
  .studio-hero-image{padding:0 0 35px;min-height:460px}
  .studio-hero-index{left:18px;bottom:55px}
  .studio-measure,.studio-hero-image:before{display:none}
  .studio-heading{display:block}
  .studio-heading>p{margin-top:18px}
  .studio-category-cabinet{grid-template-columns:repeat(2,1fr)}
  .studio-category-tile:nth-child(3n){border-right:1px solid var(--studio-line)}
  .studio-category-tile:nth-child(2n){border-right:0}
  .studio-story-stage{grid-template-columns:1fr}
  .studio-story-1{grid-row:auto}
  .studio-story-1 .studio-story-image{height:480px}
  .studio-story-2,.studio-story-3,.studio-story-4,.studio-story-5{grid-template-columns:145px 1fr}
  .studio-room-inner{grid-template-columns:1fr}
  .studio-room-links{grid-template-columns:repeat(2,1fr)}
  .studio-latest-grid{grid-template-columns:1fr}
  .studio-sidebar-card{position:static}
}

@media(max-width:560px){
  .studio-hero-copy{padding-top:54px}
  .studio-hero-copy h1{font-size:44px}
  .studio-hero-copy>p{font-size:17px}
  .studio-hero-facts{gap:22px;flex-wrap:wrap}
  .studio-hero-image{min-height:350px}
  .studio-category-zone,.studio-featured-stories,.studio-latest{padding-top:65px;padding-bottom:70px}
  .studio-heading h2{font-size:38px}
  .studio-category-cabinet{grid-template-columns:1fr 1fr}
  .studio-category-tile{min-height:145px;padding:16px}
  .studio-category-tile strong{font-size:21px}
  .studio-story-1 .studio-story-image{height:390px}
  .studio-story-2,.studio-story-3,.studio-story-4,.studio-story-5{grid-template-columns:110px 1fr;gap:14px}
  .studio-story-2 .studio-story-image,.studio-story-3 .studio-story-image,.studio-story-4 .studio-story-image,.studio-story-5 .studio-story-image{height:105px}
  .studio-story-copy h3{font-size:20px}
  .studio-story-1 .studio-story-copy h3{font-size:34px}
  .studio-room-links{grid-template-columns:1fr}
  .studio-guide-row{grid-template-columns:44px 1fr 24px}
  .studio-guide-thumb{display:none}
  .studio-guide-copy h3{font-size:20px}
}




/* =========================================================
   v5.2 — FINAL single-post featured-image display rule
   Exactly 10% inset on left + right of the article shell.
   No legacy conflicting image-size rules remain.
   ========================================================= */
body.single-post figure.atlas-featured{
  display:block !important;
  width:100% !important;
  max-width:100% !important;
  margin:0 0 48px !important;
  padding:0 !important;
  text-align:center !important;
  overflow:visible !important;
}

body.single-post figure.atlas-featured > img.wp-post-image,
body.single-post figure.atlas-featured > img{
  display:block !important;
  box-sizing:border-box !important;
  width:80% !important;
  max-width:80% !important;
  height:auto !important;
  max-height:none !important;
  margin:0 auto !important;
  object-fit:contain !important;
  border:1px solid rgba(35,52,44,.20) !important;
  border-radius:14px !important;
  box-shadow:0 18px 42px rgba(27,41,34,.15),0 4px 14px rgba(27,41,34,.08) !important;
}

body.single-post figure.atlas-featured figcaption{
  box-sizing:border-box !important;
  width:80% !important;
  max-width:80% !important;
  margin:10px auto 0 !important;
  padding:0 !important;
  text-align:left !important;
}

/* Tablet keeps a visible inset without making the image too small. */
@media (max-width:1024px){
  body.single-post figure.atlas-featured > img.wp-post-image,
  body.single-post figure.atlas-featured > img,
  body.single-post figure.atlas-featured figcaption{
    width:86% !important;
    max-width:86% !important;
  }
}

/* On phones use most of the viewport for readability. */
@media (max-width:640px){
  body.single-post figure.atlas-featured > img.wp-post-image,
  body.single-post figure.atlas-featured > img,
  body.single-post figure.atlas-featured figcaption{
    width:94% !important;
    max-width:94% !important;
  }
  body.single-post figure.atlas-featured > img.wp-post-image,
  body.single-post figure.atlas-featured > img{
    border-radius:12px !important;
    box-shadow:0 12px 28px rgba(27,41,34,.13),0 3px 9px rgba(27,41,34,.07) !important;
  }
}


/* =========================================================
   v5.3 — Modern premium category cabinet
   Softer home/interior palette + elevated interactions
   ========================================================= */

.studio-category-zone{
  background:
    radial-gradient(circle at 12% 10%, rgba(176,143,103,.08), transparent 32%),
    linear-gradient(180deg,#f3eee5 0%,#ece6dc 100%) !important;
}

.studio-category-cabinet{
  gap:14px !important;
  border:0 !important;
  background:transparent !important;
  box-shadow:none !important;
}

.studio-category-tile{
  min-height:165px !important;
  border:1px solid rgba(38,55,45,.09) !important;
  border-radius:18px !important;
  padding:18px 20px 20px !important;
  overflow:hidden !important;
  isolation:isolate !important;
  box-shadow:0 8px 22px rgba(34,49,41,.05) !important;
  transition:transform .24s ease, box-shadow .24s ease, border-color .24s ease !important;
}

.studio-category-tile:before{
  content:"" !important;
  position:absolute !important;
  inset:auto -28px -38px auto !important;
  width:110px !important;
  height:110px !important;
  border-radius:50% !important;
  background:rgba(255,255,255,.28) !important;
  z-index:-1 !important;
}

.studio-category-tile:after{
  content:"" !important;
  position:absolute !important;
  left:0 !important;
  top:0 !important;
  bottom:0 !important;
  width:4px !important;
  background:rgba(255,255,255,.55) !important;
}

.studio-category-tile:nth-child(6n+1){background:#e7efe8 !important;}
.studio-category-tile:nth-child(6n+2){background:#efe6dc !important;}
.studio-category-tile:nth-child(6n+3){background:#e6ece8 !important;}
.studio-category-tile:nth-child(6n+4){background:#eee9df !important;}
.studio-category-tile:nth-child(6n+5){background:#e9e4dc !important;}
.studio-category-tile:nth-child(6n+6){background:#e3e8df !important;}

.studio-category-tile>span{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:34px !important;
  height:34px !important;
  border-radius:50% !important;
  background:rgba(255,255,255,.72) !important;
  color:#6f583f !important;
  font-size:9px !important;
  letter-spacing:.08em !important;
  box-shadow:inset 0 0 0 1px rgba(90,75,58,.08) !important;
}

.studio-category-tile strong{
  font-size:27px !important;
  line-height:1.08 !important;
  color:#1d2c24 !important;
  margin:auto 0 10px !important;
}

.studio-category-tile small{
  color:#6d756f !important;
  font-size:10px !important;
  letter-spacing:.02em !important;
}

.studio-category-tile b{
  width:34px !important;
  height:34px !important;
  border-radius:50% !important;
  display:grid !important;
  place-items:center !important;
  background:rgba(255,255,255,.68) !important;
  color:#284136 !important;
  right:16px !important;
  top:16px !important;
  font-size:15px !important;
  transition:transform .24s ease, background .24s ease, color .24s ease !important;
}

.studio-category-tile:hover{
  transform:translateY(-7px) !important;
  border-color:rgba(38,55,45,.16) !important;
  box-shadow:0 18px 38px rgba(35,50,42,.13) !important;
  color:inherit !important;
}

.studio-category-tile:hover strong{
  color:#17271f !important;
}

.studio-category-tile:hover small,
.studio-category-tile:hover>span{
  color:#5e5447 !important;
}

.studio-category-tile:hover b{
  transform:rotate(45deg) !important;
  background:#263e33 !important;
  color:#fff !important;
}

/* Slightly richer tones for key categories */
.studio-category-tile:nth-child(1){background:linear-gradient(145deg,#dfeadf,#edf3ec) !important;}
.studio-category-tile:nth-child(2){background:linear-gradient(145deg,#eadfd3,#f3ebe3) !important;}
.studio-category-tile:nth-child(3){background:linear-gradient(145deg,#dde6e0,#edf1ee) !important;}
.studio-category-tile:nth-child(4){background:linear-gradient(145deg,#e7dfd5,#f1ebe4) !important;}

@media(max-width:820px){
  .studio-category-cabinet{gap:10px !important;}
  .studio-category-tile{min-height:145px !important;border-radius:15px !important;}
  .studio-category-tile strong{font-size:23px !important;}
}

@media(max-width:560px){
  .studio-category-cabinet{grid-template-columns:1fr 1fr !important;}
  .studio-category-tile{min-height:132px !important;padding:15px !important;}
  .studio-category-tile strong{font-size:20px !important;}
  .studio-category-tile>span,
  .studio-category-tile b{width:30px !important;height:30px !important;}
}


/* =========================================================
   v5.4 — Restore original Crafted Living hero colour
   Exact original forest: #243B30
   ========================================================= */
.studio-home .studio-hero{
  background:#243B30 !important;
  background-color:#243B30 !important;
}

.studio-home .studio-hero-copy h1{
  color:#FFFFFF !important;
}

.studio-home .studio-hero-copy > p{
  color:#D7DDD8 !important;
}

.studio-home .studio-hero .studio-eyebrow{
  color:#D5B27F !important;
}

.studio-home .studio-hero-facts{
  color:#FFFFFF !important;
  border-top-color:rgba(255,255,255,.13) !important;
}

.studio-home .studio-hero-facts small{
  color:#9FB0A6 !important;
}

.studio-home .studio-hero-note{
  color:#B9C5BD !important;
}


/* =========================================================
   v5.5 — Modern premium footer redesign
   ========================================================= */
.atlas-footer{
  position:relative;
  background:
    radial-gradient(circle at 12% 18%, rgba(211,173,112,.08), transparent 26%),
    linear-gradient(180deg, #10211a 0%, #0b1713 100%) !important;
  color:#fff !important;
  padding:78px 0 0 !important;
  overflow:hidden;
}
.atlas-footer:before{
  content:"";
  position:absolute;
  inset:22px auto auto 50%;
  transform:translateX(-50%);
  width:min(100% - 64px, 1320px);
  height:1px;
  background:linear-gradient(90deg, transparent, rgba(255,255,255,.14), transparent);
}
.atlas-footer-shell{
  position:relative;
  display:grid;
  grid-template-columns:1.15fr .9fr .75fr;
  gap:32px;
  padding:42px 36px;
  border:1px solid rgba(255,255,255,.08);
  background:linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015));
  box-shadow:0 22px 48px rgba(0,0,0,.18);
  backdrop-filter:blur(2px);
}
.atlas-footer-shell:after{
  content:"";
  position:absolute;
  right:-42px;
  top:-42px;
  width:180px;
  height:180px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(213,178,127,.12), rgba(213,178,127,0));
  pointer-events:none;
}
.atlas-footer-brand{
  padding-right:18px;
}
.atlas-footer-kicker{
  display:inline-block;
  margin-bottom:18px;
  font-size:10px;
  letter-spacing:.22em;
  font-weight:900;
  color:#d5b27f;
}
.atlas-footer-brand > a{
  display:block;
  font-family:Georgia,serif;
  font-size:54px;
  line-height:.94;
  letter-spacing:-.04em;
  color:#fff;
  margin-bottom:22px;
}
.atlas-footer-brand p{
  max-width:430px;
  color:rgba(255,255,255,.70) !important;
  font-size:15px;
  line-height:1.75;
  margin:0 0 26px;
}
.atlas-footer-chips{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.atlas-footer-chips span{
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:0 14px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.04);
  color:#dfe5e1;
  font-size:11px;
  letter-spacing:.04em;
}

.atlas-footer-col{
  position:relative;
  padding-left:26px;
}
.atlas-footer-col:before{
  content:"";
  position:absolute;
  left:0;
  top:2px;
  bottom:2px;
  width:1px;
  background:linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,.04));
}
.atlas-footer-col h3{
  margin:0 0 18px !important;
  font-size:10px !important;
  letter-spacing:.18em !important;
  text-transform:uppercase !important;
  color:#d5b27f !important;
}
.atlas-footer-col ul{
  list-style:none;
  margin:0;
  padding:0;
}
.atlas-footer-col-areas ul{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px 18px;
}
.atlas-footer-col-info ul{
  display:grid;
  gap:10px;
}
.atlas-footer-col li{
  margin:0 !important;
}
.atlas-footer-col a{
  color:rgba(255,255,255,.78) !important;
  font-size:15px;
  line-height:1.45;
  transition:color .2s ease, transform .2s ease;
}
.atlas-footer-col a:hover{
  color:#fff !important;
  transform:translateX(3px);
}

.atlas-footer-bottom{
  border-top:1px solid rgba(255,255,255,.10) !important;
  padding:22px 0 26px !important;
  margin-top:26px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  color:rgba(255,255,255,.48) !important;
  font-size:10px !important;
  letter-spacing:.16em !important;
}

@media(max-width:1024px){
  .atlas-footer-shell{
    grid-template-columns:1fr 1fr;
    gap:30px;
  }
  .atlas-footer-brand{
    grid-column:1 / -1;
    padding-right:0;
    padding-bottom:8px;
  }
}
@media(max-width:700px){
  .atlas-footer{
    padding-top:58px !important;
  }
  .atlas-footer-shell{
    grid-template-columns:1fr;
    padding:28px 22px;
    gap:24px;
  }
  .atlas-footer-brand > a{
    font-size:42px;
  }
  .atlas-footer-col{
    padding-left:18px;
  }
  .atlas-footer-col-areas ul{
    grid-template-columns:1fr;
  }
  .atlas-footer-bottom{
    flex-direction:column;
    align-items:flex-start;
    font-size:9px !important;
    letter-spacing:.12em !important;
  }
}


/* =========================================================
   v5.6 — Make the “Homework / Before you renovate” card
   more visible, stylish, and on-brand
   ========================================================= */
.studio-sidebar-card{
  background:
    radial-gradient(circle at 85% 18%, rgba(213,178,127,.16), rgba(213,178,127,0) 28%),
    linear-gradient(180deg, #21372d 0%, #15261f 100%) !important;
  color:#F7F3EC !important;
  border:1px solid rgba(213,178,127,.14) !important;
  border-radius:18px !important;
  box-shadow:0 24px 48px rgba(15,25,20,.20), 0 6px 16px rgba(15,25,20,.12) !important;
  padding:38px 32px !important;
}

.studio-sidebar-card .studio-eyebrow,
.studio-sidebar-card > .studio-eyebrow{
  color:#D7B07A !important;
}

.studio-sidebar-card .studio-eyebrow:before,
.studio-sidebar-card > .studio-eyebrow:before{
  background:#D7B07A !important;
}

.studio-sidebar-card h3{
  color:#FFF8EE !important;
  text-shadow:none !important;
}

.studio-sidebar-card p{
  color:#D9E1DB !important;
  font-size:14px !important;
  line-height:1.78 !important;
}

.studio-sidebar-rule{
  background:rgba(255,255,255,.14) !important;
}

.studio-sidebar-card > strong{
  color:#D7B07A !important;
  font-size:10px !important;
  letter-spacing:.18em !important;
}

.studio-sidebar-card ol{
  gap:2px !important;
}

.studio-sidebar-card li{
  color:#FFF8EE !important;
  border-top:1px solid rgba(255,255,255,.12) !important;
  font-size:20px !important;
  line-height:1.25 !important;
  padding:13px 0 !important;
}

.studio-sidebar-card li span{
  color:#D7B07A !important;
  font-size:10px !important;
  letter-spacing:.16em !important;
  min-width:26px;
}

@media(max-width:700px){
  .studio-sidebar-card{
    border-radius:16px !important;
    padding:30px 24px !important;
  }
  .studio-sidebar-card h3{
    font-size:30px !important;
  }
}


/* =========================================================
   v5.7 — Latest Guides section modern redesign
   ========================================================= */
.studio-latest{
  position:relative;
  padding:104px 0 120px !important;
  background:
    radial-gradient(circle at 92% 8%, rgba(176,143,103,.08), transparent 26%),
    linear-gradient(180deg, #f8f5ee 0%, #f2ede3 100%) !important;
  overflow:hidden;
}
.studio-latest:before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:0;
  height:1px;
  background:linear-gradient(90deg, transparent, rgba(36,59,48,.12), transparent);
}
.studio-latest-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) 340px;
  gap:56px !important;
  align-items:start;
}
.studio-heading.compact{
  margin-bottom:34px !important;
}
.studio-heading.compact .studio-eyebrow.dark{
  color:#9f724b !important;
}
.studio-heading.compact h2{
  font-size:clamp(36px, 4.7vw, 64px) !important;
  line-height:.94 !important;
  letter-spacing:-.045em !important;
  max-width:860px;
  margin-top:14px !important;
}
.studio-guide-list{
  border-top:0 !important;
  display:grid;
  gap:16px;
}
.studio-guide-row{
  grid-template-columns:96px minmax(0,1fr) 94px 34px !important;
  gap:22px !important;
  align-items:center !important;
  padding:18px 18px 18px 16px !important;
  border:1px solid rgba(37,56,45,.09) !important;
  border-radius:18px !important;
  background:rgba(255,255,255,.72) !important;
  box-shadow:0 10px 24px rgba(29,43,35,.05) !important;
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease !important;
}
.studio-guide-row:hover{
  transform:translateY(-4px) !important;
  border-color:rgba(37,56,45,.16) !important;
  background:#fff !important;
  box-shadow:0 16px 34px rgba(29,43,35,.10) !important;
}
.studio-guide-date{
  width:80px;
  min-height:88px;
  padding:8px 0;
  border-radius:16px;
  background:linear-gradient(180deg, #f4eadf 0%, #eee0d1 100%) !important;
  color:#7f6446 !important;
  box-shadow:inset 0 0 0 1px rgba(127,100,70,.08);
  display:grid !important;
  align-items:center;
  justify-items:center;
}
.studio-guide-date b{
  color:#20372d !important;
  font-size:42px !important;
  line-height:1 !important;
  margin-top:2px;
}
.studio-guide-copy{
  min-width:0;
}
.studio-guide-copy>span{
  display:inline-flex !important;
  align-items:center;
  min-height:28px;
  padding:0 10px;
  border-radius:999px;
  background:rgba(36,59,48,.08) !important;
  color:#274035 !important;
  font-size:10px !important;
  letter-spacing:.12em !important;
  font-weight:900 !important;
  margin-bottom:10px;
}
.studio-guide-copy h3{
  font-size:32px !important;
  line-height:1.08 !important;
  letter-spacing:-.028em !important;
  margin:0 !important;
  max-width:920px;
}
.studio-guide-copy h3 a{
  color:#1a2b22 !important;
}
.studio-guide-thumb{
  width:94px !important;
  height:82px !important;
  border-radius:14px !important;
  overflow:hidden !important;
  background:#d8ddd8;
  box-shadow:0 8px 18px rgba(29,43,35,.08) !important;
}
.studio-guide-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.studio-guide-arrow{
  width:34px;
  height:34px;
  border-radius:50%;
  display:grid !important;
  place-items:center;
  background:#20372d !important;
  color:#fff !important;
  font-size:15px !important;
  transition:transform .2s ease, background .2s ease !important;
}
.studio-guide-row:hover .studio-guide-arrow{
  transform:rotate(45deg) !important;
  background:#9f724b !important;
}

/* Sidebar block beside latest guides stays visible and coordinated */
.studio-latest .studio-sidebar-card{
  margin-top:10px;
}

@media(max-width:980px){
  .studio-latest-grid{grid-template-columns:1fr !important; gap:34px !important;}
  .studio-guide-row{grid-template-columns:88px minmax(0,1fr) 84px 32px !important;}
  .studio-guide-copy h3{font-size:28px !important;}
}
@media(max-width:700px){
  .studio-heading.compact h2{font-size:42px !important;}
  .studio-guide-row{
    grid-template-columns:74px minmax(0,1fr) 28px !important;
    padding:14px !important;
    gap:14px !important;
  }
  .studio-guide-thumb{display:none !important;}
  .studio-guide-date{width:64px; min-height:72px; border-radius:14px;}
  .studio-guide-date b{font-size:34px !important;}
  .studio-guide-copy>span{margin-bottom:8px;}
  .studio-guide-copy h3{font-size:22px !important; line-height:1.14 !important;}
}


/* =========================================================
   v5.8 — Modern redesign for "Design Notes / Ideas for real homes"
   ========================================================= */
.studio-featured-stories{
  position:relative;
  padding:108px 0 112px !important;
  background:
    radial-gradient(circle at 88% 12%, rgba(176,143,103,.08), transparent 24%),
    linear-gradient(180deg, #f8f4ec 0%, #f2ede4 100%) !important;
  overflow:hidden;
}
.studio-featured-stories:before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:0;
  height:1px;
  background:linear-gradient(90deg, transparent, rgba(36,59,48,.12), transparent);
}
.studio-featured-stories .studio-heading-row{
  display:flex !important;
  justify-content:space-between !important;
  align-items:flex-end !important;
  gap:28px !important;
  margin-bottom:34px !important;
}
.studio-featured-stories .studio-heading-row .studio-eyebrow.dark{
  color:#9f724b !important;
}
.studio-featured-stories .studio-heading-row h2{
  font-size:clamp(38px, 5vw, 72px) !important;
  line-height:.94 !important;
  letter-spacing:-.05em !important;
  margin-top:14px !important;
  max-width:780px;
}
.studio-view-all{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-height:46px !important;
  padding:0 18px !important;
  border-radius:999px !important;
  background:rgba(255,255,255,.75) !important;
  border:1px solid rgba(36,59,48,.10) !important;
  color:#234034 !important;
  font-size:12px !important;
  font-weight:800 !important;
  box-shadow:0 8px 18px rgba(29,43,35,.05) !important;
}
.studio-view-all:hover{
  background:#fff !important;
  box-shadow:0 12px 26px rgba(29,43,35,.09) !important;
}

.studio-story-stage{
  display:grid !important;
  grid-template-columns:1.12fr .88fr !important;
  gap:24px 28px !important;
}
.studio-story{
  background:rgba(255,255,255,.78) !important;
  border:1px solid rgba(36,59,48,.08) !important;
  border-radius:22px !important;
  overflow:hidden !important;
  box-shadow:0 10px 24px rgba(29,43,35,.05) !important;
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease !important;
}
.studio-story:hover{
  transform:translateY(-5px) !important;
  box-shadow:0 18px 34px rgba(29,43,35,.09) !important;
  border-color:rgba(36,59,48,.14) !important;
}
.studio-story-1{
  grid-row:1 / 4 !important;
}
.studio-story-1 .studio-story-image{
  height:540px !important;
  border-radius:0 !important;
  background:#d8ddd8 !important;
}
.studio-story-1 .studio-story-copy{
  padding:24px 24px 26px !important;
}
.studio-story-1 .studio-story-meta{
  margin-bottom:12px !important;
}
.studio-story-1 .studio-story-copy h3{
  font-size:40px !important;
  line-height:1.02 !important;
  margin:0 0 12px !important;
}
.studio-story-1 .studio-story-copy p{
  font-size:14px !important;
  line-height:1.68 !important;
}
.studio-story-2,
.studio-story-3,
.studio-story-4,
.studio-story-5{
  grid-template-columns:165px 1fr !important;
  gap:0 !important;
  align-items:stretch !important;
  border-top:0 !important;
  padding-top:0 !important;
  min-height:170px;
}
.studio-story-2 .studio-story-image,
.studio-story-3 .studio-story-image,
.studio-story-4 .studio-story-image,
.studio-story-5 .studio-story-image{
  height:100% !important;
  min-height:170px !important;
  border-radius:0 !important;
  background:#d8ddd8 !important;
}
.studio-story-2 .studio-story-copy,
.studio-story-3 .studio-story-copy,
.studio-story-4 .studio-story-copy,
.studio-story-5 .studio-story-copy{
  padding:18px 18px 18px 20px !important;
  display:flex !important;
  flex-direction:column !important;
  justify-content:center !important;
}
.studio-story-meta{
  font-size:10px !important;
  letter-spacing:.12em !important;
  text-transform:uppercase !important;
  color:#9f724b !important;
}
.studio-story-meta b{
  width:28px;
  height:28px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:rgba(36,59,48,.07);
  color:#234034;
  font-size:10px;
}
.studio-story-copy h3{
  font-size:24px !important;
  line-height:1.08 !important;
  letter-spacing:-.03em !important;
}
.studio-story-copy h3 a{
  color:#1a2b22 !important;
}
.studio-story-copy p{
  font-size:13px !important;
  line-height:1.6 !important;
  color:#6e776f !important;
}
.studio-story-image img,
.studio-story-image .studio-image-placeholder{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

@media(max-width:980px){
  .studio-featured-stories .studio-heading-row{
    display:block !important;
  }
  .studio-view-all{
    margin-top:18px !important;
  }
  .studio-story-stage{
    grid-template-columns:1fr !important;
  }
  .studio-story-1{
    grid-row:auto !important;
  }
  .studio-story-1 .studio-story-image{
    height:420px !important;
  }
}
@media(max-width:700px){
  .studio-featured-stories{
    padding:74px 0 78px !important;
  }
  .studio-featured-stories .studio-heading-row h2{
    font-size:44px !important;
  }
  .studio-story-1 .studio-story-image{
    height:320px !important;
  }
  .studio-story-1 .studio-story-copy{
    padding:18px !important;
  }
  .studio-story-1 .studio-story-copy h3{
    font-size:30px !important;
  }
  .studio-story-2,
  .studio-story-3,
  .studio-story-4,
  .studio-story-5{
    grid-template-columns:118px 1fr !important;
    min-height:132px !important;
  }
  .studio-story-2 .studio-story-image,
  .studio-story-3 .studio-story-image,
  .studio-story-4 .studio-story-image,
  .studio-story-5 .studio-story-image{
    min-height:132px !important;
  }
  .studio-story-2 .studio-story-copy,
  .studio-story-3 .studio-story-copy,
  .studio-story-4 .studio-story-copy,
  .studio-story-5 .studio-story-copy{
    padding:14px !important;
  }
  .studio-story-copy h3{
    font-size:20px !important;
  }
}


/* =========================================================
   v5.9 — Room by Room / Plan smarter section redesign
   ========================================================= */
.studio-room-strip{
  position:relative;
  background:
    radial-gradient(circle at 82% 18%, rgba(227,195,155,.15), transparent 24%),
    linear-gradient(135deg, #20372d 0%, #2d4a3c 58%, #385745 100%) !important;
  color:#fff !important;
  padding:86px 0 !important;
  overflow:hidden;
}
.studio-room-strip:before{
  content:"";
  position:absolute;
  left:-70px;
  bottom:-90px;
  width:260px;
  height:260px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:50%;
}
.studio-room-strip:after{
  content:"";
  position:absolute;
  right:-120px;
  top:-110px;
  width:340px;
  height:340px;
  border:1px solid rgba(227,195,155,.10);
  border-radius:50%;
}
.studio-room-inner{
  position:relative;
  z-index:2;
  display:grid !important;
  grid-template-columns:360px minmax(0,1fr) !important;
  gap:70px !important;
  align-items:center !important;
}
.studio-room-title{
  position:relative;
  padding:8px 0 8px 28px;
}
.studio-room-title:before{
  content:"";
  position:absolute;
  left:0;
  top:8px;
  bottom:8px;
  width:3px;
  border-radius:3px;
  background:linear-gradient(180deg,#d9b17b,#8f6b44);
}
.studio-room-title .studio-eyebrow{
  color:#dfbd8d !important;
}
.studio-room-title h2{
  color:#fff !important;
  font-size:clamp(42px,4.2vw,62px) !important;
  line-height:.96 !important;
  letter-spacing:-.045em !important;
  margin:16px 0 0 !important;
  max-width:360px;
}
.studio-room-title:after{
  content:"Plan by space · build with confidence";
  display:block;
  margin-top:20px;
  color:rgba(255,255,255,.62);
  font-size:12px;
  line-height:1.6;
  max-width:280px;
}
.studio-room-links{
  display:grid !important;
  grid-template-columns:repeat(3,1fr) !important;
  gap:14px !important;
  border:0 !important;
}
.studio-room-links a{
  position:relative;
  min-height:138px !important;
  padding:18px 18px 16px !important;
  border:1px solid rgba(255,255,255,.12) !important;
  border-radius:18px !important;
  background:linear-gradient(180deg,rgba(255,255,255,.075),rgba(255,255,255,.035)) !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:flex-start !important;
  justify-content:space-between !important;
  color:#fff !important;
  backdrop-filter:blur(2px);
  box-shadow:0 10px 26px rgba(0,0,0,.10);
  overflow:hidden;
  transition:transform .22s ease, background .22s ease, border-color .22s ease, box-shadow .22s ease !important;
  counter-increment:room-card;
}
.studio-room-links{counter-reset:room-card}
.studio-room-links a:before{
  content:counter(room-card, decimal-leading-zero);
  font-size:9px;
  letter-spacing:.16em;
  font-weight:900;
  color:#dfbd8d;
}
.studio-room-links a:after{
  content:"";
  position:absolute;
  width:90px;
  height:90px;
  right:-26px;
  bottom:-34px;
  border-radius:50%;
  background:rgba(255,255,255,.035);
  transition:transform .22s ease, background .22s ease;
}
.studio-room-links a span{
  font-family:Georgia,serif !important;
  font-size:24px !important;
  line-height:1.05;
  color:#fff !important;
  position:relative;
  z-index:2;
}
.studio-room-links a b{
  position:absolute;
  right:16px;
  top:16px;
  width:32px;
  height:32px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:rgba(255,255,255,.10);
  color:#fff;
  font-weight:400 !important;
  z-index:2;
  transition:transform .22s ease, background .22s ease;
}
.studio-room-links a:hover{
  transform:translateY(-6px) !important;
  background:linear-gradient(180deg,rgba(255,255,255,.13),rgba(255,255,255,.06)) !important;
  border-color:rgba(227,195,155,.32) !important;
  box-shadow:0 18px 34px rgba(0,0,0,.16) !important;
}
.studio-room-links a:hover b{
  transform:rotate(45deg);
  background:#d7b07a;
  color:#1f342a;
}
.studio-room-links a:hover:after{
  transform:scale(1.18);
  background:rgba(227,195,155,.08);
}

@media(max-width:980px){
  .studio-room-inner{
    grid-template-columns:1fr !important;
    gap:36px !important;
  }
  .studio-room-title h2{max-width:620px;}
  .studio-room-title:after{max-width:520px;}
}
@media(max-width:700px){
  .studio-room-strip{padding:64px 0 !important;}
  .studio-room-title{padding-left:20px;}
  .studio-room-title h2{font-size:44px !important;}
  .studio-room-links{grid-template-columns:1fr 1fr !important;gap:10px !important;}
  .studio-room-links a{min-height:118px !important;border-radius:15px !important;}
  .studio-room-links a span{font-size:21px !important;}
}
@media(max-width:460px){
  .studio-room-links{grid-template-columns:1fr !important;}
  .studio-room-links a{min-height:105px !important;}
}


/* =========================================================
   v6.0 — Related Posts: image-led modern premium cards
   ========================================================= */
.related.related-modern{
  margin:78px auto 88px !important;
  padding:0 !important;
  max-width:1280px;
}
.related-modern-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:36px;
  padding-top:26px;
  margin-bottom:28px;
  border-top:1px solid rgba(36,59,48,.14);
}
.related-modern-head .section-kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  width:auto;
  min-height:28px;
  padding:0 10px;
  border-radius:999px;
  background:#243b30;
  color:#fff;
  font-size:9px;
  letter-spacing:.16em;
  font-weight:900;
  text-transform:uppercase;
}
.related-modern-head .section-kicker:before{
  content:"";
  width:14px;
  height:1px;
  background:#d5b27f;
}
.related-modern-head .section-title{
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(38px,4.2vw,58px);
  font-weight:400;
  line-height:.98;
  letter-spacing:-.04em;
  color:#1b2b23;
  margin:14px 0 0;
}
.related-modern-head > p{
  max-width:410px;
  margin:0 0 4px;
  color:#6d756f;
  line-height:1.6;
  font-size:13px;
}

.related-grid.related-modern-grid{
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:20px !important;
}

.related-modern-card{
  overflow:hidden;
  background:#fffdf8;
  border:1px solid rgba(36,59,48,.10);
  border-radius:20px;
  box-shadow:0 9px 24px rgba(27,43,34,.055);
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.related-modern-card:hover{
  transform:translateY(-6px);
  border-color:rgba(36,59,48,.17);
  box-shadow:0 18px 40px rgba(27,43,34,.12);
}

.related-modern-media{
  display:block;
  position:relative;
  height:220px;
  overflow:hidden;
  background:linear-gradient(135deg,#dfe8df,#c8d3ca);
}
.related-modern-media img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .4s ease;
}
.related-modern-card:hover .related-modern-media img{
  transform:scale(1.035);
}
.related-modern-placeholder{
  display:grid;
  place-items:center;
  width:100%;
  height:100%;
  background:
    radial-gradient(circle at 78% 24%,rgba(213,178,127,.26),transparent 24%),
    linear-gradient(135deg,#dfe8df,#cfd9d1);
  color:#294237;
  font-family:Georgia,serif;
  font-size:24px;
}
.related-modern-placeholder b{
  font-weight:400;
}
.related-modern-arrow{
  position:absolute;
  right:14px;
  top:14px;
  width:38px;
  height:38px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:rgba(255,253,248,.94);
  color:#21392f;
  box-shadow:0 5px 14px rgba(27,43,34,.12);
  font-size:16px;
  transition:transform .22s ease, background .22s ease, color .22s ease;
}
.related-modern-card:hover .related-modern-arrow{
  transform:rotate(45deg);
  background:#243b30;
  color:#fff;
}

.related-modern-body{
  padding:20px 20px 22px;
}
.related-modern-meta{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-bottom:12px;
  font-size:9px;
  letter-spacing:.11em;
  text-transform:uppercase;
  font-weight:850;
}
.related-modern-meta span{
  color:#9f724b;
}
.related-modern-meta time{
  color:#7a827d;
}
.related-modern-body h3{
  font-family:Georgia,"Times New Roman",serif;
  font-size:28px;
  line-height:1.08;
  letter-spacing:-.025em;
  font-weight:400;
  margin:0;
}
.related-modern-body h3 a{
  color:#1a2b22;
  text-decoration:none;
}
.related-modern-body p{
  color:#6a746d;
  font-size:13px;
  line-height:1.62;
  margin:13px 0 0;
}

/* Neutralize legacy related-card rules when modern markup is present */
.related-modern-grid > article{
  min-height:0 !important;
  padding:0 !important;
  border:0 !important;
}

@media(max-width:900px){
  .related-grid.related-modern-grid{
    grid-template-columns:1fr 1fr !important;
  }
  .related-modern-card:last-child{
    grid-column:1 / -1;
    display:grid;
    grid-template-columns:260px 1fr;
  }
  .related-modern-card:last-child .related-modern-media{
    height:100%;
    min-height:220px;
  }
}
@media(max-width:650px){
  .related.related-modern{
    margin:56px auto 68px !important;
  }
  .related-modern-head{
    display:block;
  }
  .related-modern-head > p{
    margin-top:14px;
  }
  .related-grid.related-modern-grid{
    grid-template-columns:1fr !important;
  }
  .related-modern-card:last-child{
    grid-column:auto;
    display:block;
  }
  .related-modern-media,
  .related-modern-card:last-child .related-modern-media{
    height:200px;
    min-height:0;
  }
  .related-modern-body h3{
    font-size:24px;
  }
}
