/*
Theme Name: ClearPress Pro
Author: Links Posting
Description: Lightweight editorial blog theme with configurable featured stories, category sections, responsive grids and per-post sidebars.
Version: 1.2.4
Requires at least: 6.2
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: clearpress
*/
:root{--accent:#00a9d6;--ink:#192c3e;--muted:#657586;--line:#e3e9ed;--surface:#f7f9fb}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:#fff;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:16px;line-height:1.65}a{color:inherit;text-decoration:none}a:hover{color:var(--accent)}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid var(--accent);outline-offset:4px}img{max-width:100%;height:auto;vertical-align:middle}button,input,textarea,select{font:inherit}button{cursor:pointer}h1,h2,h3{line-height:1.35;letter-spacing:-.025em;margin:0 0 16px}p{margin:0 0 18px}.wrap{width:min(1340px,calc(100% - 48px));margin-inline:auto}.brand{text-align:center;padding:35px 0 29px}.site-title{color:var(--accent);font-size:clamp(30px,4vw,52px);font-weight:800;letter-spacing:-.045em}.brand p{font-size:13px;color:var(--muted);margin:4px 0 0}.custom-logo{max-height:90px;width:auto}.nav-border{border-block:1px solid var(--line)}.navigation{display:flex;align-items:center;gap:20px;min-height:66px}#site-navigation{flex:1}.menu,.menu ul,.footer-bottom ul{list-style:none;margin:0;padding:0}.menu{display:flex;flex-wrap:wrap;align-items:center;gap:3px}.menu li{position:relative}.menu a{display:block;padding:20px 13px;font-size:13px;font-weight:750;text-transform:uppercase}.menu .current-menu-item>a,.menu>li>a:hover{color:var(--accent)}.menu .sub-menu{display:none;position:absolute;z-index:20;top:100%;left:0;min-width:220px;background:#fff;box-shadow:0 8px 24px #192c3e20;border:1px solid var(--line)}.menu .sub-menu a{padding:12px}.menu .sub-menu .sub-menu{left:100%;top:0}.menu li:hover>.sub-menu,.menu li:focus-within>.sub-menu,.menu li.submenu-open>.sub-menu{display:block}.submenu-toggle{border:0;background:none;color:inherit;padding:8px}.menu-item-has-children>a{display:inline-block;padding-right:0}.menu-toggle{display:none}.search-form{display:flex;align-items:center;max-width:100%}.search-form label{flex:1;min-width:0}.search-form input{width:100%;min-width:0;border:1px solid var(--line);border-radius:4px;padding:10px 12px;background:#fff}.search-form button{background:var(--ink);color:#fff;border:0;padding:9px 14px;border-radius:4px;margin-left:5px}.header-search{width:215px}.main-wrap{padding-block:32px 48px}.hero{display:grid;grid-template-columns:2fr 1fr 1fr;gap:6px;margin-bottom:34px;min-height:510px;grid-auto-rows:252px}.hero .feature:first-child{grid-row:span 2}.hero-3{grid-template-columns:2fr 1fr}.hero-4 .feature:nth-child(4){grid-column:2 / 4}.hero-2{grid-template-columns:1fr 1fr;min-height:360px;grid-auto-rows:360px}.hero-2 .feature:first-child,.hero-1 .feature:first-child{grid-row:auto}.hero-1{grid-template-columns:1fr;min-height:420px;grid-auto-rows:420px}.feature{position:relative;overflow:hidden;background:var(--ink);min-width:0;isolation:isolate}.feature-image{position:absolute;inset:0;z-index:-2}.feature img,.image-placeholder{width:100%;height:100%;object-fit:cover;display:block}.image-placeholder{background:linear-gradient(135deg,#dae8ef,#7396a6)}.feature:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 15%,#101923df 100%);z-index:-1;pointer-events:none}.feature-content{position:absolute;bottom:0;padding:23px;color:#fff;width:100%}.feature h2{font-size:21px;margin:14px 0 9px}.hero .feature:first-child h2{font-size:34px}.feature time{font-size:12px;color:#e8edf2}.feature a:hover{color:#fff;text-decoration:underline}.badge{display:inline-block;background:var(--accent);color:#fff;font-size:12px;line-height:1.4;padding:5px 10px;border-radius:3px;font-weight:650}.badge:hover{color:#fff;filter:brightness(.95)}.content-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:28px;align-items:start}.main-column{min-width:0}.panel,.widget{border:1px solid var(--line);padding:28px;background:#fff;margin-bottom:28px}.section-title{font-size:19px;text-transform:uppercase;border-bottom:2px solid var(--line);padding-bottom:17px;margin-bottom:24px;position:relative}.section-title:after{content:"";position:absolute;bottom:-2px;left:0;width:48px;height:3px;background:var(--accent)}.section-heading{display:flex;align-items:baseline;gap:20px}.section-heading .section-title{flex:1}.section-heading>a{font-size:12px;white-space:nowrap;color:var(--muted)}.category-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.category-grid>.feature{min-height:390px}.compact-list{display:grid;gap:20px}.compact-post{display:grid;grid-template-columns:96px minmax(0,1fr);gap:14px;align-items:start}.compact-post img,.compact-post .image-placeholder{width:96px;height:68px;object-fit:cover}.compact-post h3{font-size:14px;letter-spacing:-.015em;margin:0 0 5px;line-height:1.5}.compact-post time{font-size:11px;color:var(--muted)}.category-list{list-style:none;padding:0;margin:0}.category-list li{border-bottom:1px solid var(--line);padding:10px 0;font-size:14px;color:var(--muted)}.category-list a{color:var(--ink)}.category-list .children{padding-left:20px;list-style:none}.post-grid{display:grid;grid-template-columns:1fr 1fr;gap:32px 26px}.post-card{min-width:0}.card-image{position:relative;aspect-ratio:1.64;margin-bottom:14px;overflow:hidden;background:var(--surface)}.card-image>a:first-child{display:block;height:100%}.card-image img{height:100%;width:100%;object-fit:cover}.card-image .badge{position:absolute;bottom:12px;right:12px}.post-meta{font-size:12px;color:var(--muted);display:flex;flex-wrap:wrap;gap:8px;margin-bottom:9px}.post-card h2{font-size:22px;margin-bottom:10px}.post-card p{font-size:14px;color:var(--muted);margin:0}.nav-links{display:flex;gap:8px;flex-wrap:wrap}.pagination{margin-top:32px}.page-numbers{border:1px solid var(--line);padding:8px 14px;border-radius:3px;font-size:14px}.page-numbers.current{background:var(--accent);color:#fff;border-color:var(--accent)}.breadcrumbs{font-size:12px;color:var(--muted);margin-bottom:24px}.article-header h1{font-size:clamp(28px,3vw,42px);margin:14px 0 18px}.single-feature{margin:24px 0}.single-feature img{width:100%;height:auto}.entry-content{font-size:18px;line-height:1.85;overflow-wrap:anywhere}.entry-content h2{font-size:29px;margin-top:32px}.entry-content h3{font-size:23px;margin-top:26px}.entry-content a{text-decoration:underline;color:#067595}.entry-content figure{max-width:100%}.entry-content iframe{max-width:100%}.entry-content blockquote{margin:24px 0;padding:16px 24px;border-left:4px solid var(--accent);background:var(--surface)}.entry-content table{border-collapse:collapse;width:100%;display:block;overflow-x:auto}.entry-content td,.entry-content th{padding:10px;border:1px solid var(--line)}.entry-content pre{overflow:auto;padding:18px;background:var(--surface)}.alignwide{width:100%}.alignfull{max-width:100%;margin-inline:0}.alignleft{float:left;margin:0 24px 16px 0}.alignright{float:right;margin:0 0 16px 24px}.aligncenter{display:block;margin-inline:auto}.entry-content:after{content:"";display:table;clear:both}.wp-caption-text,.gallery-caption{color:var(--muted);font-size:13px}.sticky{border-top:3px solid var(--accent)}.bypostauthor{border-left:2px solid var(--accent)}.author-box{background:var(--surface);padding:22px;margin-top:25px}.author-box p{font-size:14px;margin:8px 0 0}.tags{margin-top:24px;font-size:14px}.post-navigation{margin-bottom:28px}.post-navigation .nav-links{display:grid;grid-template-columns:1fr 1fr}.post-navigation a{display:block;border:1px solid var(--line);padding:20px;font-weight:650}.post-navigation span{display:block;font-size:12px;color:var(--muted);margin-bottom:7px}.no-sidebar{grid-template-columns:minmax(0,960px);justify-content:center}.comment-list{padding-left:20px}.comment-body{padding:18px 0;border-bottom:1px solid var(--line)}.comment-form input:not([type=checkbox]),.comment-form textarea{display:block;width:100%;border:1px solid var(--line);padding:12px;border-radius:3px}.comment-form .submit{background:var(--ink);color:#fff;border:0;cursor:pointer}.comment-form-cookies-consent label{margin-left:8px}.site-footer{border-top:1px solid var(--line);background:var(--surface);padding:30px 0}.footer-widgets{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.footer-widgets .widget{background:none;border:0;padding:0}.footer-bottom{display:flex;justify-content:space-between;gap:24px;font-size:13px;color:var(--muted)}.footer-bottom p{margin:0}.footer-bottom ul{display:flex;gap:20px;flex-wrap:wrap}.widget ul{padding-left:20px}.widget .category-list{padding:0}.widget img{max-width:100%}.screen-reader-text,.skip-link:not(:focus){position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link:focus{position:fixed;top:8px;left:8px;z-index:100;background:#fff;padding:12px}.archive-header h1{font-size:30px}.archive-header{margin-bottom:24px}
@media(min-width:1100px){.sidebar{position:sticky;top:24px}.admin-bar .sidebar{top:56px}}
@media(max-width:1099px){.content-layout{grid-template-columns:minmax(0,1fr) 290px;gap:20px}.panel,.widget{padding:20px}.hero{min-height:430px;grid-auto-rows:212px}.feature-content{padding:18px}.feature h2{font-size:18px}.hero .feature:first-child h2{font-size:28px}.category-grid{grid-template-columns:1fr}.category-grid>.feature{min-height:340px}.navigation{flex-wrap:wrap;padding-block:12px;gap:12px}.menu-toggle{display:block;border:1px solid var(--line);background:#fff;padding:8px 14px;border-radius:3px}.header-search{margin-left:auto}#site-navigation{display:none;order:3;flex-basis:100%}#site-navigation.is-open{display:block}.menu{display:block}.menu a{padding:12px}.menu .sub-menu,.menu .sub-menu .sub-menu{position:static;box-shadow:none;border:0;background:var(--surface);margin-left:16px}.menu li:hover>.sub-menu,.menu li:focus-within>.sub-menu{display:none}.menu li.submenu-open>.sub-menu{display:block}.submenu-toggle{float:right;padding:12px 20px}.no-sidebar{grid-template-columns:minmax(0,960px)}}
@media(max-width:760px){.wrap{width:calc(100% - 28px)}.brand{padding:24px 0}.brand p{font-size:12px}.main-wrap{padding-top:20px}.hero,.hero-4,.hero-3{grid-template-columns:1fr 1fr;grid-auto-rows:220px;min-height:0;gap:5px}.hero .feature:first-child{grid-column:1 / -1;grid-row:auto;min-height:330px}.hero-4 .feature:nth-child(4){grid-column:1 / -1}.hero-1{grid-template-columns:1fr}.hero-2 .feature:first-child{grid-column:auto;min-height:0}.hero .feature:first-child h2{font-size:28px}.feature h2{font-size:17px}.feature-content{padding:15px}.content-layout{grid-template-columns:1fr}.sidebar{position:static}.category-grid{grid-template-columns:1fr 1fr;gap:18px}.category-grid>.feature{min-height:360px}.post-card h2{font-size:20px}.panel,.widget{padding:20px}.footer-widgets{grid-template-columns:1fr}.footer-bottom{flex-direction:column}.entry-content{font-size:17px}.single-post{padding:20px}.post-navigation .nav-links{grid-template-columns:1fr}.compact-post{grid-template-columns:88px minmax(0,1fr);gap:12px}.compact-post img,.compact-post .image-placeholder{width:88px;height:64px}}
@media(max-width:480px){.header-search{width:190px}.hero,.hero-3,.hero-4{grid-auto-rows:210px}.hero .feature:first-child{min-height:290px}.hero .feature:first-child h2{font-size:25px}.hero .feature:not(:first-child) h2{font-size:16px}.hero .feature:not(:first-child) time{display:none}.category-grid,.post-grid{grid-template-columns:1fr}.category-grid>.feature{min-height:320px}.post-card h2{font-size:23px}.post-grid{gap:30px}.article-header h1{font-size:29px}.panel,.widget{padding:18px}.section-heading{gap:10px}.section-title{font-size:17px}.entry-content h2{font-size:26px}.navigation{gap:8px}.menu-toggle{padding:8px 10px}.hero-2{grid-template-columns:1fr}.hero-2 .feature:first-child{min-height:260px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

/* Version 1.1: configurable layouts, compact widgets and adjacent story cards. */
.wrap{width:min(var(--site-width,1340px),calc(100% - 48px))}.panel,.widget,.feature,.card-image,.compact-post img,.compact-post .image-placeholder{border-radius:var(--radius,8px)}
.compact-post{grid-template-columns:104px minmax(0,1fr);padding-bottom:18px;border-bottom:1px solid var(--line)}.compact-post:last-child{border-bottom:0;padding-bottom:0}.compact-post img,.compact-post .image-placeholder{width:104px;height:84px}.compact-category{font-size:10px;text-transform:uppercase;color:var(--muted);line-height:1.4;margin-bottom:6px;letter-spacing:.035em}.compact-category:not(:empty):before{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--accent);margin-right:6px}.compact-author{font-size:11px;color:var(--muted);margin-top:7px}.sidebar-stories .compact-post h3{font-size:14px}
.widget .cp-categories{list-style:none;padding:0;margin:0}.cp-categories li{margin:0}.cp-categories a{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;background:var(--surface);border-radius:var(--radius,8px);font-size:14px;font-weight:600}.cp-categories-rows li+li{margin-top:8px}.category-count{font-size:11px;background:#fff;border:1px solid var(--line);border-radius:20px;padding:1px 8px;color:var(--muted)}.cp-categories a:hover{color:var(--accent);box-shadow:inset 3px 0 var(--accent)}.cp-categories-chips{display:flex;flex-wrap:wrap;gap:8px}.cp-categories-chips a{padding:8px 11px;border:1px solid var(--line);background:#fff;border-radius:30px;font-size:12px}
.breadcrumbs{display:flex;flex-wrap:wrap;gap:7px;line-height:1.6;overflow-wrap:anywhere}.breadcrumbs [aria-current]{color:var(--ink)}
.cp-article-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:28px}.cp-adjacent{display:flex;align-items:center;gap:16px;border:1px solid var(--line);padding:18px;border-radius:var(--radius,8px);background:#fff;min-width:0}.cp-adjacent-next{grid-column:2}.cp-adjacent .adjacent-image{display:block;flex:0 0 var(--nav-thumb,104px);width:var(--nav-thumb,104px);height:calc(var(--nav-thumb,104px)*.75);object-fit:cover;border-radius:var(--radius,8px)}.adjacent-copy{min-width:0}.adjacent-label{display:block;font-size:11px;font-weight:650;color:var(--muted);margin-bottom:7px}.adjacent-copy strong{font-size:15px;line-height:1.5;display:block;overflow-wrap:anywhere}
.cp-section-layout{display:grid;gap:24px}.cp-layout-feature,.cp-layout-grid,.cp-layout-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}.cp-layout-feature>.feature{min-height:390px}.cp-layout-tiles>.feature{min-height:260px}.cp-layout-list>.compact-post{grid-template-columns:160px minmax(0,1fr);gap:22px}.cp-layout-list>.compact-post img,.cp-layout-list>.compact-post .image-placeholder{width:160px;height:110px}.cp-layout-list h3{font-size:21px}
.cp-design-soft{background:#f3f6f9}.cp-design-soft .panel,.cp-design-soft .widget{border-color:transparent;box-shadow:0 4px 20px #192c3e06}.cp-design-soft .site-header{background:#fff}.cp-design-editorial .post-card h2,.cp-design-editorial .feature h2,.cp-design-editorial .article-header h1,.cp-design-editorial .compact-post h3{font-family:Georgia,"Times New Roman",serif;letter-spacing:-.035em}.cp-design-editorial .section-title{border-bottom-color:var(--ink);font-size:17px;letter-spacing:.08em}.cp-design-minimal .panel,.cp-design-minimal .widget{border:0;padding:8px 0 28px}.cp-design-minimal .section-title{text-transform:none}.cp-design-minimal .feature:after{background:linear-gradient(180deg,transparent,#101923e8)}
@media(min-width:1100px){.cp-header-inline .site-header{display:flex;align-items:center;gap:30px;padding-inline:max(24px,calc((100% - var(--site-width,1340px))/2))}.cp-header-inline .brand{width:auto;flex:0 1 280px;margin:0;text-align:left;padding:20px 0}.cp-header-inline .site-title{font-size:30px}.cp-header-inline .nav-border{flex:1;border:0;min-width:0}.cp-header-inline .navigation{width:100%;gap:12px}.cp-header-inline .menu a{padding-inline:8px;font-size:12px}.cp-header-inline .header-search{width:170px}.cp-sidebar_side-left .content-layout:not(.no-sidebar){grid-template-columns:340px minmax(0,1fr)}.cp-sidebar_side-left .content-layout:not(.no-sidebar)>.main-column{grid-column:2;grid-row:1}.cp-sidebar_side-left .content-layout:not(.no-sidebar)>.sidebar{grid-column:1;grid-row:1}}
@media(min-width:761px) and (max-width:1099px){.cp-layout-feature{grid-template-columns:1fr}.cp-adjacent{flex-direction:column;align-items:flex-start}.cp-adjacent .adjacent-image{flex-basis:auto}.cp-layout-grid .post-card h2{font-size:19px}}
@media(max-width:760px){.wrap{width:calc(100% - 28px)}.cp-layout-feature{grid-template-columns:1fr}.cp-layout-feature>.feature{min-height:330px}.cp-adjacent{gap:12px;padding:14px;flex-direction:column;align-items:flex-start}.cp-adjacent .adjacent-image{flex-basis:auto;width:100%;height:auto;aspect-ratio:1.8}.cp-adjacent .image-placeholder{height:120px}.cp-layout-list>.compact-post{grid-template-columns:112px minmax(0,1fr);gap:14px}.cp-layout-list>.compact-post img,.cp-layout-list>.compact-post .image-placeholder{width:112px;height:88px}.cp-layout-list h3{font-size:17px}.cp-layout-tiles .feature h2{font-size:18px}.compact-post{grid-template-columns:96px minmax(0,1fr)}.compact-post img,.compact-post .image-placeholder{width:96px;height:78px}}
@media(max-width:480px){.cp-layout-grid,.cp-layout-tiles{grid-template-columns:1fr}.cp-layout-tiles>.feature{min-height:280px}.cp-article-nav{grid-template-columns:1fr}.cp-adjacent-next{grid-column:auto}.cp-adjacent{flex-direction:row;align-items:center}.cp-adjacent .adjacent-image{flex:0 0 88px;width:88px;height:70px}.cp-adjacent strong{font-size:14px}.sidebar-stories .compact-post h3{font-size:15px}}

/* Compact controls and centered category archive links. */
.section-more{display:flex;justify-content:center;border-top:1px solid var(--line);padding-top:24px;margin-top:24px}.view-more{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-width:148px;padding:11px 24px;border:1px solid var(--accent);border-radius:var(--radius,8px);font-size:13px;font-weight:700;color:var(--accent);background:#fff}.view-more:hover{background:var(--accent);color:#fff}.cp-empty-categories{font-size:13px;color:var(--muted)}
@media(max-width:1099px){.navigation{display:flex;flex-wrap:wrap;align-items:center;column-gap:10px}.navigation>.menu-toggle{flex:0 0 auto;white-space:nowrap;margin:0}.navigation>.header-search{flex:1 1 0;width:auto;min-width:0;max-width:320px;margin-left:auto}.header-search .search-form{width:100%;gap:5px;display:flex}.header-search .search-form label{flex:1 1 0;min-width:0}.header-search .search-form input{padding:10px;min-width:0;width:100%;font-size:14px}.header-search .search-form button{flex:0 0 40px;width:40px;padding:10px 0;margin:0}.navigation>#site-navigation{order:3;flex:0 0 100%;width:100%}.menu-toggle{min-height:44px}}
@media(max-width:380px){.navigation{column-gap:8px}.navigation>.menu-toggle{padding:9px 8px;font-size:14px}.header-search .search-form input{font-size:12px;padding:10px 7px}.header-search .search-form button{flex-basis:34px;width:34px}}

/* Responsive author profile */
.author-box{display:flex;align-items:flex-start;gap:20px}
.cp-author-portrait{display:block;flex:0 0 88px}
.author-box .cp-author-avatar{display:block;width:88px;height:88px;max-width:none;object-fit:cover;border-radius:50%;border:3px solid #fff;box-shadow:0 2px 10px #192c3e12}
.cp-author-details{min-width:0;flex:1;overflow-wrap:anywhere}
.cp-author-details strong{display:block;font-size:18px;line-height:1.5}
.author-box .cp-author-details p{margin:7px 0 0;line-height:1.75}
@media(max-width:480px){.author-box{gap:14px;padding:18px}.cp-author-portrait{flex-basis:64px}.author-box .cp-author-avatar{width:64px;height:64px}.cp-author-details strong{font-size:17px}}

/* Boxed white canvas leaves the selected background visible at both sides. */
body .cp-site-shell{width:100%;max-width:calc(var(--site-width,1340px) + 48px);min-height:100vh;margin-inline:auto;background:#fff;display:flow-root}
body .cp-site-shell .nav-border{background:var(--cp-menu-bg,#fff);color:var(--cp-menu-text,#192c3e)}
.nav-border .menu a,.nav-border .submenu-toggle{color:var(--cp-menu-text,#192c3e)}
.nav-border .menu .sub-menu{background:var(--cp-menu-bg,#fff)}
.nav-border .menu a:hover,.nav-border .menu a:focus-visible{background:var(--cp-menu-hover-bg,#f7f9fb);color:var(--cp-menu-hover-text,#00a9d6)}
.nav-border .menu-toggle{background:var(--cp-menu-bg,#fff);color:var(--cp-menu-text,#192c3e);border:1px solid currentColor}
.nav-border .submenu-toggle:hover,.nav-border .submenu-toggle:focus-visible{background:var(--cp-menu-hover-bg,#f7f9fb);color:var(--cp-menu-hover-text,#00a9d6)}
@media(min-width:1100px){body.cp-header-inline .site-header{padding-inline:24px}}
@media(max-width:1099px){.nav-border #site-navigation{background:var(--cp-menu-bg,#fff)}}

/* Align the colored menubar with the content edges. */
body .cp-site-shell .nav-border{width:min(var(--site-width,1340px),calc(100% - 48px));margin-inline:auto;border:0}
.cp-site-shell .nav-border .navigation.wrap{width:100%;margin:0}
.nav-border .menu .current-menu-item>a,.nav-border .menu .current-menu-ancestor>a,.nav-border .menu .current_page_item>a{background:transparent;color:var(--cp-menu-text,#192c3e)}
.nav-border .menu a:hover,.nav-border .menu a:focus-visible{background:var(--cp-menu-hover-bg,#f7f9fb);color:var(--cp-menu-hover-text,#00a9d6)}
/* Boxed category and sidebar section labels. */
.cp-site-shell .section-title{display:table;width:auto;flex:0 1 auto;padding:8px 14px;margin-bottom:24px;background:var(--accent);color:#fff;border:0;border-radius:3px;font-size:17px;line-height:1.4;overflow-wrap:anywhere}
.cp-site-shell .section-title:after{display:none}
.cp-site-shell .section-heading{justify-content:space-between}
/* Footer links are independent of the header menu rules. */
.footer-bottom .cp-footer-menu{list-style:none;display:flex;flex-wrap:wrap;gap:12px 20px;margin:0;padding:0}
.cp-footer-menu li{margin:0;padding:0;min-width:0}
.cp-footer-menu a{display:block;padding:6px 0;font-size:13px;line-height:1.4}
.cp-footer-menu .sub-menu{list-style:none;padding:0;margin:0}
@media(min-width:1100px){body.cp-header-inline .cp-site-shell .nav-border{width:100%;margin:0;max-width:none}}
@media(max-width:760px){body .cp-site-shell .nav-border{width:calc(100% - 28px)}.footer-bottom{display:flex;flex-direction:column;gap:16px}.footer-bottom>div,.footer-bottom>nav{width:100%}.footer-bottom .cp-footer-menu{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;width:100%;text-align:center}.cp-footer-menu a{padding:8px 1px;font-size:11px;overflow-wrap:anywhere}.cp-site-shell .section-title{font-size:15px;padding:8px 12px}}

/* Search: readable icon with breathing room at the right edge. */
.nav-border .navigation>.header-search{margin-right:12px}
.search-form button{display:inline-flex;align-items:center;justify-content:center}
.cp-search-icon{display:block;width:24px;height:24px;flex-shrink:0}
.footer-bottom .cp-footer-menu a{font-size:15px;font-weight:750;color:var(--ink);line-height:1.45}
/* Let mobile hero rows grow with their titles instead of overlapping. */
@media(max-width:760px){
 .hero,.hero-1,.hero-2,.hero-3,.hero-4,.hero-5{grid-auto-rows:auto;align-items:stretch}
 .hero .feature{display:flex;flex-direction:column;justify-content:flex-end;min-height:260px}
 .hero .feature:first-child{min-height:350px;grid-row:auto}
 .hero .feature .feature-content{position:relative;bottom:auto;inset:auto;margin-top:auto;padding:18px 14px;width:100%}
 .hero .feature h2{height:auto;max-height:none;overflow:visible;white-space:normal;overflow-wrap:anywhere;display:block;-webkit-line-clamp:unset;font-size:18px;line-height:1.4}
 .hero .feature:first-child h2{font-size:clamp(23px,5.8vw,29px);line-height:1.3}
 .nav-border .navigation>.header-search{flex:0 1 230px;max-width:230px;width:auto;min-width:0;margin-left:auto;margin-right:12px}
 .header-search .search-form{gap:7px}
 .header-search .search-form input{font-size:14px;padding:10px 9px;height:44px}
 .header-search .search-form button{flex:0 0 46px;width:46px;height:44px;padding:0;margin:0}
 .header-search .cp-search-icon{width:26px;height:26px}
 .footer-bottom .cp-footer-menu{gap:6px;align-items:start}
 .footer-bottom .cp-footer-menu a{font-size:14px;font-weight:750;padding:10px 2px;overflow-wrap:normal;word-break:normal}
}
@media(max-width:380px){
 .nav-border .navigation>.header-search{flex-basis:190px;max-width:190px;margin-right:8px}
 .header-search .search-form button{flex-basis:44px;width:44px}
 .hero .feature{min-height:250px}
 .hero .feature:first-child{min-height:330px}
 .footer-bottom .cp-footer-menu a{font-size:13px}
}
