/*
Theme Name: Twenty Twenty Corporate White V4 Patch 5 Mobile Refined
Theme URI: https://example.com/
Description: Child theme for Twenty Twenty with a clean corporate portal layout, footer widgets only, and no sidebar.
Author: OpenAI
Template: twentytwenty
Version: 1.5.0
Text Domain: tt-corporate-white-v4-revised
*/

:root{
  --cp-bg:#f5f7fb;
  --cp-bg-soft:#fbfcff;
  --cp-surface:#ffffff;
  --cp-surface-2:#f8faff;
  --cp-text:#15233b;
  --cp-text-soft:#5f6f89;
  --cp-title:#0f1f38;
  --cp-border:#e5ecf5;
  --cp-accent:#214c9b;
  --cp-accent-2:#7f95c7;
  --cp-accent-3:#dbe4f7;
  --cp-shadow:0 12px 40px rgba(22,35,59,.08);
  --cp-shadow-soft:0 8px 24px rgba(22,35,59,.06);
  --cp-radius:22px;
  --cp-radius-sm:14px;
  --cp-home-width:1200px;
  --cp-home-full:1920px;
  --cp-container:1180px;
  --cp-content:800px;
}

html{scroll-behavior:smooth;}
body,
button,
input,
select,
optgroup,
textarea,
.primary-menu,
.entry-content,
.widget,
.site-title,
.site-description{
  font-family:"Plus Jakarta Sans",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
body{
  background:linear-gradient(180deg,#f8fbff 0%,#f4f7fc 50%,#f7f9fd 100%);
  color:var(--cp-text);
}
body:not(.overlay-header) .site-content,
#site-content{overflow:hidden;}

body .color-accent,
body a{
  color:var(--cp-accent);
}
body a:hover{opacity:.9;}

body .section-inner,
body .post-inner,
body .archive-header-inner,
body .header-inner{
  max-width:var(--cp-container);
}

body .entry-content,
body .intro-text,
body .post-meta-wrapper,
body .comments-wrapper,
body .pagination-single,
body .entry-author-bio,
body .section-inner.thin,
body .section-inner.small{
  max-width:var(--cp-content);
}

#site-header{
  position:sticky;
  top:0;
  z-index:99;
  background:rgba(255,255,255,.84);
  backdrop-filter:blur(18px);
  border-bottom:1px solid rgba(229,236,245,.9);
}
#site-header .header-inner{
  min-height:84px;
}
#site-header .header-titles .site-title,
#site-header .header-titles .site-title a{
  color:var(--cp-title);
  font-weight:800;
  letter-spacing:-.02em;
}
#site-header .primary-menu > li > a,
#site-header .toggle-text,
#site-header .site-description{
  color:var(--cp-text-soft);
}
#site-header .primary-menu > li.current-menu-item > a,
#site-header .primary-menu > li > a:hover{
  color:var(--cp-accent);
}

.cp-shell{max-width:var(--cp-container);margin:0 auto;padding:36px 24px 0;}
.home .cp-shell{max-width:var(--cp-home-width);}
.home #site-content{max-width:var(--cp-home-full);margin:0 auto;}
.cp-hero{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:28px;
  align-items:stretch;
  margin:12px 0 34px;
}
.cp-hero-main,
.cp-panel,
.cp-card,
.cp-list-card,
.cp-archive-head,
.cp-page-card,
.cp-single-card,
.cp-footer-widgets,
.cp-related,
.cp-newsletter,
.cp-empty{
  background:var(--cp-surface);
  border:1px solid var(--cp-border);
  border-radius:var(--cp-radius);
  box-shadow:var(--cp-shadow-soft);
}
.cp-hero-main{
  padding:26px;
  position:relative;
  min-height:460px;
  display:flex;
  align-items:flex-end;
  overflow:hidden;
}
.cp-hero-media,
.cp-card-thumb,
.cp-list-thumb,
.cp-single-cover,
.cp-related-thumb{
  position:relative;
  overflow:hidden;
  border-radius:20px;
  background:#e8eef8;
}
.cp-hero-main .cp-hero-media{
  position:absolute;inset:0;border-radius:inherit;
}
.cp-hero-main .cp-hero-media:after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(15,31,56,.08) 0%,rgba(15,31,56,.72) 78%,rgba(15,31,56,.88) 100%);
}
.cp-hero-main img,
.cp-card-thumb img,
.cp-list-thumb img,
.cp-single-cover img,
.cp-related-thumb img{
  width:100%;height:100%;object-fit:cover;display:block;
}
.cp-hero-content{position:relative;z-index:2;max-width:720px;color:#fff;}
.cp-eyebrow{
  display:inline-flex;align-items:center;gap:8px;
  background:rgba(255,255,255,.14);
  color:#fff;border:1px solid rgba(255,255,255,.2);
  padding:8px 14px;border-radius:999px;font-size:1.3rem;font-weight:700;
  margin-bottom:16px;
}
.cp-hero-title{
  font-size:clamp(3rem,4vw,5.2rem);
  line-height:1.05;
  letter-spacing:-.04em;
  margin:0 0 14px;
  color:#fff;
}
.cp-hero-excerpt{font-size:1.7rem;line-height:1.7;color:rgba(255,255,255,.88);margin:0 0 20px;}
.cp-meta{display:flex;flex-wrap:wrap;gap:14px;color:inherit;font-size:1.35rem;opacity:.9;}
.cp-meta span{display:inline-flex;align-items:center;gap:7px;}
.cp-button{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  min-height:48px;padding:0 18px;border-radius:999px;
  background:var(--cp-accent);color:#fff;text-decoration:none;font-weight:700;
  box-shadow:0 10px 24px rgba(33,76,155,.22);
}
.cp-button:hover{color:#fff;transform:translateY(-1px);}
.cp-button-soft{
  background:#eef4ff;color:var(--cp-accent);box-shadow:none;
}
.cp-panel{padding:24px;}
.cp-panel-title,
.cp-section-title{
  margin:0 0 18px;
  font-size:2.2rem;
  line-height:1.2;
  color:var(--cp-title);
}
.cp-stack{display:grid;gap:16px;}
.cp-mini{
  display:grid;grid-template-columns:112px 1fr;gap:14px;align-items:center;
  padding:12px;border:1px solid var(--cp-border);border-radius:18px;background:var(--cp-bg-soft);
}
.cp-mini-thumb{height:88px;border-radius:14px;overflow:hidden;background:#e7edf7;}
.cp-mini-thumb img{width:100%;height:100%;object-fit:cover;display:block;}
.cp-mini-title{font-size:1.65rem;line-height:1.35;margin:0 0 6px;color:var(--cp-title);}
.cp-mini-meta{font-size:1.25rem;color:var(--cp-text-soft);}

.cp-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px;
  margin-bottom:34px;
}
.cp-card{overflow:hidden;display:flex;flex-direction:column;}
.cp-card-thumb{height:220px;border-radius:0;}
.cp-card-body{padding:22px;display:flex;flex-direction:column;gap:12px;}
.cp-card-title{font-size:2rem;line-height:1.3;margin:0;color:var(--cp-title);}
.cp-card-excerpt{font-size:1.48rem;line-height:1.7;color:var(--cp-text-soft);margin:0;}
.cp-card .cp-meta{font-size:1.25rem;color:var(--cp-text-soft);}

.cp-section-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:0 0 18px;}
.cp-section-link{font-size:1.35rem;font-weight:700;text-decoration:none;}

.cp-archive-head,
.cp-page-card,
.cp-single-card,
.cp-footer-widgets,
.cp-related,
.cp-newsletter,
.cp-empty{padding:28px;}
.cp-list{display:grid;gap:22px;}
.cp-list-card{
  display:grid;grid-template-columns:280px 1fr;gap:22px;overflow:hidden;
}
.cp-list-thumb{height:210px;border-radius:0;}
.cp-list-body{padding:22px;display:flex;flex-direction:column;justify-content:center;}
.cp-list-title{font-size:2.5rem;line-height:1.2;margin:0 0 12px;color:var(--cp-title);}
.cp-list-excerpt{font-size:1.55rem;line-height:1.8;color:var(--cp-text-soft);margin:0 0 16px;}

.cp-pagination{display:flex;justify-content:center;margin:34px 0 12px;}
.cp-pagination .nav-links{display:flex;gap:10px;flex-wrap:wrap;align-items:center;}
.cp-pagination .page-numbers{
  min-width:46px;height:46px;border-radius:999px;border:1px solid var(--cp-border);
  display:inline-flex;align-items:center;justify-content:center;background:#fff;text-decoration:none;
  color:var(--cp-text);font-weight:700;padding:0 14px;
}
.cp-pagination .page-numbers.current{background:var(--cp-accent);color:#fff;border-color:var(--cp-accent);}

.single .entry-header,
.page .entry-header{display:none;}
.cp-single-wrap{max-width:var(--cp-container);margin:0 auto;padding:36px 24px 0;}
.cp-single-card{padding:0;overflow:hidden;}
.cp-single-head{padding:34px 34px 12px;}
.cp-single-kicker,.cp-single-head .cp-eyebrow{font-size:1.25rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--cp-accent);margin:0 0 12px;background:none;border:none;padding:0;border-radius:0;display:block;}
.cp-single-title{font-size:clamp(3rem,4vw,5rem);line-height:1.06;letter-spacing:-.04em;margin:0 0 14px;color:var(--cp-title);}
.cp-single-excerpt{font-size:1.65rem;line-height:1.8;color:var(--cp-text-soft);margin:0 0 18px;}
.cp-single-cover{height:675px;border-radius:0;position:relative;}
.cp-single-cover-badge{position:absolute;top:22px;left:22px;z-index:2;}
.cp-single-cover .cp-eyebrow{background:rgba(15,31,56,.82);color:#fff;border:1px solid rgba(255,255,255,.12);padding:10px 16px;border-radius:999px;display:inline-flex;backdrop-filter:blur(10px);margin:0;letter-spacing:.04em;}
.cp-single-content{padding:34px;}
.cp-single-content .entry-content{max-width:none;}
.cp-single-content .entry-content > *{max-width:none;}
.cp-single-content .entry-content{max-width:var(--cp-content);margin:0 auto;}
.cp-page-card .entry-content{max-width:var(--cp-content);margin:0 auto;}
.cp-single-content .entry-content p,
.cp-page-card .entry-content p{font-size:18px;line-height:1.8;color:var(--cp-text);}
.cp-single-content .entry-content h2,
.cp-page-card .entry-content h2{font-size:3rem;line-height:1.2;color:var(--cp-title);margin-top:1.9em;}
.cp-single-content .entry-content h3,
.cp-page-card .entry-content h3{font-size:2.25rem;line-height:1.3;color:var(--cp-title);margin-top:1.7em;}
.cp-single-content .entry-content ul,
.cp-single-content .entry-content ol,
.cp-page-card .entry-content ul,
.cp-page-card .entry-content ol{font-size:18px;line-height:1.8;}
.cp-single-content .entry-content li,
.cp-page-card .entry-content li{margin:.45em 0;}
.cp-single-content .wp-block-image img,
.cp-single-content img,
.cp-page-card img{border-radius:18px;}

.cp-single-content .entry-content a,
.cp-page-card .entry-content a{
  color:inherit;
  text-decoration:none;
  background-image:linear-gradient(transparent 58%, rgba(255,224,102,.88) 58%);
  background-repeat:no-repeat;
  background-size:100% 100%;
  padding:0 .08em;
  box-decoration-break:clone;
  -webkit-box-decoration-break:clone;
  transition:background-size .2s ease, opacity .2s ease;
}
.cp-single-content .entry-content a:hover,
.cp-page-card .entry-content a:hover{
  background-image:linear-gradient(transparent 52%, rgba(255,214,51,.95) 52%);
}

.cp-single-content blockquote,
.cp-page-card blockquote{
  border-left:4px solid var(--cp-accent);
  background:var(--cp-bg-soft);
  padding:18px 20px;margin:28px 0;border-radius:0 16px 16px 0;
}
.cp-post-tax{display:flex;flex-wrap:wrap;gap:10px;margin-top:26px;}
.cp-post-tax a{
  display:inline-flex;align-items:center;padding:8px 14px;border-radius:999px;
  background:#eef4ff;border:1px solid #d8e5ff;color:var(--cp-accent);text-decoration:none;font-size:1.25rem;font-weight:700;
}
.cp-related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;}
.cp-related-item{display:block;text-decoration:none;color:inherit;}
.cp-related-thumb{height:160px;margin-bottom:14px;}
.cp-related-title{font-size:1.7rem;line-height:1.4;margin:0;color:var(--cp-title);}

.cp-page-card{max-width:var(--cp-content);margin:36px auto 0;}
.cp-page-title{font-size:clamp(2.8rem,4vw,4.6rem);line-height:1.08;letter-spacing:-.04em;margin:0 0 10px;color:var(--cp-title);}
.cp-page-lead{font-size:1.6rem;line-height:1.8;color:var(--cp-text-soft);margin:0 0 18px;}

.cp-footer-widgets{max-width:var(--cp-container);margin:54px auto 0;padding:28px 28px 6px;}
.cp-footer-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;}
.cp-widget-col{min-width:0;}
.cp-widget-col .widget{margin-bottom:24px;padding:0;border:none;box-shadow:none;background:none;}
.cp-widget-col .widget-title,
.cp-widget-col .widgettitle{font-size:1.55rem;font-weight:800;color:var(--cp-title);margin-bottom:12px;}
.cp-widget-col ul{list-style:none;padding:0;margin:0;}
.cp-widget-col li{padding:8px 0;border-bottom:1px dashed var(--cp-border);}
.cp-widget-col li:last-child{border-bottom:none;}

#site-footer{
  background:transparent;
  border-top:none;
  padding-top:24px;
}
#site-footer .section-inner{
  max-width:var(--cp-container);
  background:transparent;
}
#site-footer .footer-credits{
  color:var(--cp-text-soft);
  font-size:1.35rem;
}
#site-footer .footer-credits a,
#site-footer .to-the-top{color:var(--cp-accent);}

.wp-block-button__link,
button,
input[type="button"],
input[type="submit"]{
  border-radius:999px !important;
}
input, textarea, select{
  border-color:var(--cp-border) !important;
  border-radius:14px !important;
}

@media (max-width: 1100px){
  .cp-hero{grid-template-columns:1fr;}
  .cp-grid,
  .cp-related-grid,
  .cp-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width: 820px){
  .cp-shell,
  .cp-single-wrap{padding-left:18px;padding-right:18px;}
  .home #site-content{max-width:none;}
  .cp-grid,
  .cp-related-grid,
  .cp-footer-grid{grid-template-columns:1fr;}
  .cp-list-card{grid-template-columns:1fr;}
  .cp-list-thumb{height:220px;}
  .cp-list-body{padding:20px;}
  .cp-mini{grid-template-columns:88px 1fr;}
  .cp-hero-main{min-height:390px;padding:20px;}
  .cp-single-head,
  .cp-single-content,
  .cp-page-card,
  .cp-footer-widgets,
  .cp-archive-head,
  .cp-newsletter,
  .cp-empty{padding:22px;}
  .cp-single-cover{height:260px;}
  #site-header .header-inner{min-height:76px;}
}


/* Premium single post typography */
.cp-single-content .entry-content p,
.cp-page-card .entry-content p{
  margin:0 0 22px;
  font-size:18px;
  line-height:1.8;
  color:var(--cp-text);
}
.cp-single-content .entry-content p strong,
.cp-page-card .entry-content p strong{
  font-weight:800;
  color:var(--cp-title);
}
.cp-single-content .entry-content h2,
.cp-page-card .entry-content h2{
  font-size:28px;
  font-weight:800;
  line-height:1.3;
  letter-spacing:-0.3px;
  margin:48px 0 16px;
  padding-bottom:8px;
  border-bottom:1px solid var(--cp-border);
}
.cp-single-content .entry-content h3,
.cp-page-card .entry-content h3{
  font-size:22px;
  font-weight:700;
  line-height:1.35;
  letter-spacing:-0.2px;
  margin:32px 0 12px;
}
.cp-single-content .entry-content > *:first-child,
.cp-page-card .entry-content > *:first-child{margin-top:0;}
.cp-single-content .entry-content > *:last-child,
.cp-page-card .entry-content > *:last-child{margin-bottom:0;}
.cp-single-content .entry-content ul,
.cp-single-content .entry-content ol,
.cp-page-card .entry-content ul,
.cp-page-card .entry-content ol{
  padding-left:24px;
  margin:0 0 24px;
  font-size:18px;
  line-height:1.8;
}
.cp-single-content .entry-content ul li,
.cp-page-card .entry-content ul li,
.cp-single-content .entry-content ol li,
.cp-page-card .entry-content ol li{
  margin:0 0 12px;
}
.cp-single-content .entry-content ol li::marker,
.cp-page-card .entry-content ol li::marker{
  color:var(--cp-accent);
  font-weight:800;
}
.cp-single-content blockquote,
.cp-page-card blockquote{
  position:relative;
  border-left:4px solid var(--cp-accent);
  background:var(--cp-bg-soft);
  padding:22px 22px 22px 24px;
  margin:32px 0;
  border-radius:0 18px 18px 0;
  color:#1e293b;
}
.cp-single-content blockquote p,
.cp-page-card blockquote p{
  margin:0;
  font-size:17px;
  line-height:1.8;
  font-style:italic;
}
.cp-single-content blockquote::before,
.cp-page-card blockquote::before{
  content:"“";
  display:block;
  font-size:40px;
  line-height:1;
  color:var(--cp-accent);
  margin-bottom:8px;
  font-style:normal;
}
.cp-single-content hr,
.cp-page-card hr{
  border:none;
  height:1px;
  background:var(--cp-border);
  margin:34px 0;
}

/* FAQ styles */
.cp-single-content .faq-box,
.cp-page-card .faq-box,
.cp-single-content .wp-block-details,
.cp-page-card .wp-block-details,
.cp-single-content details,
.cp-page-card details,
.cp-single-content .schema-faq-section,
.cp-page-card .schema-faq-section,
.cp-single-content .rank-math-list-item,
.cp-page-card .rank-math-list-item{
  background:#fff;
  border:1px solid var(--cp-border);
  border-radius:18px;
  box-shadow:var(--cp-shadow-soft);
  padding:0;
  margin:0 0 16px;
  overflow:hidden;
}
.cp-single-content details summary,
.cp-page-card details summary,
.cp-single-content .wp-block-details summary,
.cp-page-card .wp-block-details summary,
.cp-single-content .schema-faq-question,
.cp-page-card .schema-faq-question,
.cp-single-content .rank-math-question,
.cp-page-card .rank-math-question{
  list-style:none;
  cursor:pointer;
  padding:18px 22px;
  font-size:18px;
  line-height:1.5;
  font-weight:700;
  color:var(--cp-title);
  position:relative;
  margin:0;
}
.cp-single-content details summary::-webkit-details-marker,
.cp-page-card details summary::-webkit-details-marker,
.cp-single-content .wp-block-details summary::-webkit-details-marker,
.cp-page-card .wp-block-details summary::-webkit-details-marker{display:none;}
.cp-single-content details summary::after,
.cp-page-card details summary::after,
.cp-single-content .wp-block-details summary::after,
.cp-page-card .wp-block-details summary::after,
.cp-single-content .schema-faq-question::after,
.cp-page-card .schema-faq-question::after,
.cp-single-content .rank-math-question::after,
.cp-page-card .rank-math-question::after{
  content:'+';
  position:absolute;
  right:20px;
  top:50%;
  transform:translateY(-50%);
  width:28px;
  height:28px;
  border-radius:999px;
  background:#eef4ff;
  color:var(--cp-accent);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:20px;
  font-weight:800;
}
.cp-single-content details[open] summary::after,
.cp-page-card details[open] summary::after,
.cp-single-content .wp-block-details[open] summary::after,
.cp-page-card .wp-block-details[open] summary::after{content:'–';}
.cp-single-content details > :not(summary),
.cp-page-card details > :not(summary),
.cp-single-content .wp-block-details > :not(summary),
.cp-page-card .wp-block-details > :not(summary),
.cp-single-content .schema-faq-answer,
.cp-page-card .schema-faq-answer,
.cp-single-content .rank-math-answer,
.cp-page-card .rank-math-answer{
  padding:0 22px 20px;
  border-top:1px solid var(--cp-border);
}

/* CTA box styles */
.cp-single-content .cta-box,
.cp-page-card .cta-box,
.cp-single-content .cp-cta-box,
.cp-page-card .cp-cta-box,
.cp-single-content .is-style-cta,
.cp-page-card .is-style-cta,
.cp-single-content .wp-block-group.is-style-cta,
.cp-page-card .wp-block-group.is-style-cta{
  background:linear-gradient(135deg,#ffffff 0%,#f6f9ff 100%);
  border:1px solid #dbe7ff;
  border-radius:22px;
  box-shadow:0 16px 38px rgba(33,76,155,.08);
  padding:24px;
  margin:32px 0;
  position:relative;
  overflow:hidden;
}
.cp-single-content .cta-box::before,
.cp-page-card .cta-box::before,
.cp-single-content .cp-cta-box::before,
.cp-page-card .cp-cta-box::before,
.cp-single-content .is-style-cta::before,
.cp-page-card .is-style-cta::before{
  content:'';
  position:absolute;
  inset:0 auto 0 0;
  width:6px;
  background:linear-gradient(180deg,var(--cp-accent),#8cb0ff);
}
.cp-single-content .cta-box h2,
.cp-single-content .cta-box h3,
.cp-single-content .cp-cta-box h2,
.cp-single-content .cp-cta-box h3,
.cp-page-card .cta-box h2,
.cp-page-card .cta-box h3,
.cp-page-card .cp-cta-box h2,
.cp-page-card .cp-cta-box h3{
  margin-top:0;
  border-bottom:none;
  padding-bottom:0;
}
.cp-single-content .cta-box .wp-block-button,
.cp-single-content .cp-cta-box .wp-block-button,
.cp-page-card .cta-box .wp-block-button,
.cp-page-card .cp-cta-box .wp-block-button{margin-top:12px;}

/* Responsive tables */
.cp-single-content .entry-content .wp-block-table,
.cp-page-card .entry-content .wp-block-table{
  margin:28px 0;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
  border:1px solid var(--cp-border);
  border-radius:18px;
  background:#fff;
  box-shadow:var(--cp-shadow-soft);
}
.cp-single-content .entry-content table,
.cp-page-card .entry-content table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  margin:28px 0;
  background:#fff;
  border:1px solid var(--cp-border);
  border-radius:18px;
  overflow:hidden;
  box-shadow:var(--cp-shadow-soft);
  display:table;
}
.cp-single-content .entry-content .wp-block-table table,
.cp-page-card .entry-content .wp-block-table table{
  margin:0;
  border:none;
  border-radius:0;
  box-shadow:none;
  min-width:640px;
}
.cp-single-content .entry-content thead th,
.cp-page-card .entry-content thead th{
  background:#f5f8ff;
  color:var(--cp-title);
  font-size:16px;
  font-weight:800;
  padding:16px 18px;
  border-bottom:1px solid var(--cp-border);
}
.cp-single-content .entry-content td,
.cp-single-content .entry-content th,
.cp-page-card .entry-content td,
.cp-page-card .entry-content th{
  text-align:left;
  padding:15px 18px;
  border-bottom:1px solid #edf2f8;
  vertical-align:top;
  font-size:16px;
  line-height:1.7;
}
.cp-single-content .entry-content tbody tr:nth-child(even) td,
.cp-page-card .entry-content tbody tr:nth-child(even) td{background:#fbfcff;}
.cp-single-content .entry-content tbody tr:last-child td,
.cp-page-card .entry-content tbody tr:last-child td{border-bottom:none;}

@media (max-width: 768px){
  .cp-single-content .entry-content h2,
  .cp-page-card .entry-content h2{font-size:22px;}
  .cp-single-content .entry-content h3,
  .cp-page-card .entry-content h3{font-size:18px;}
  .cp-single-content .entry-content p,
  .cp-page-card .entry-content p,
  .cp-single-content .entry-content ul,
  .cp-single-content .entry-content ol,
  .cp-page-card .entry-content ul,
  .cp-page-card .entry-content ol{font-size:17px;}
  .cp-single-content .entry-content table,
  .cp-page-card .entry-content table{display:block; overflow-x:auto; white-space:nowrap;}
}


/* Scroll to top refinement */
#site-footer .to-the-top{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-weight:800;
  text-decoration:none;
  cursor:pointer;
}
#site-footer .to-the-top .arrow{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:30px;
  height:30px;
  border-radius:999px;
  background:#eef4ff;
  border:1px solid #dbe7ff;
}

/* Dotted divider options for article sections */
.cp-single-content .entry-content.is-dotted-sections h2,
.cp-single-content .entry-content.is-dotted-sections h3,
.cp-page-card .entry-content.is-dotted-sections h2,
.cp-page-card .entry-content.is-dotted-sections h3{
  position:relative;
}
.cp-single-content .entry-content.is-dotted-sections h2::after,
.cp-page-card .entry-content.is-dotted-sections h2::after{
  content:'';
  display:block;
  margin-top:14px;
  border-bottom:2px dotted #cfd8e8;
}
.cp-single-content .entry-content.is-dotted-sections h3::after,
.cp-page-card .entry-content.is-dotted-sections h3::after{
  content:'';
  display:block;
  width:100%;
  margin-top:10px;
  border-bottom:1px dotted #d9e1ef;
}


/* Global refinement patch */
#site-header{
  box-shadow:0 10px 28px rgba(15,31,56,.06);
}
#site-header .header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  padding-top:0;
  padding-bottom:0;
}
#site-header .header-titles-wrapper,
#site-header .header-navigation-wrapper,
#site-header .primary-menu-wrapper,
#site-header .primary-menu,
#site-header .header-toggles,
#site-header .toggle-wrapper,
#site-header .toggle,
#site-header .toggle-inner{
  display:flex;
  align-items:center;
}
#site-header .header-titles-wrapper{flex:0 0 auto; min-width:0;}
#site-header .header-navigation-wrapper{flex:1 1 auto; justify-content:flex-end; min-width:0; gap:10px;}
#site-header .primary-menu{
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:0 4px;
  margin:0;
}
#site-header .primary-menu > li{
  display:flex;
  align-items:center;
  margin:0;
}
#site-header .primary-menu > li > a{
  display:inline-flex;
  align-items:center;
  min-height:84px;
  padding:0 14px;
  line-height:1.1;
  font-size:1.45rem;
  font-weight:700;
  white-space:nowrap;
}
#site-header .primary-menu .icon,
#site-header .primary-menu svg{margin-top:0;}
#site-header .header-toggles{margin-left:8px; gap:2px;}
#site-header .search-toggle,
#site-header .desktop-nav-toggle{
  min-height:84px;
  padding:0 12px;
}
#site-header .toggle-inner{gap:8px;}
#site-header .site-description{margin-top:2px;}

.cp-hero-main,
.cp-card,
.cp-list-card,
.cp-single-card,
.cp-page-card,
.cp-footer-widgets,
.cp-related,
.cp-archive-head,
.cp-panel{
  box-shadow:0 16px 42px rgba(15,31,56,.06);
}
.cp-hero-media img,
.cp-card-thumb img,
.cp-list-thumb img,
.cp-related-thumb img,
.cp-mini-thumb img,
.cp-single-cover img{
  object-position:center;
}
.cp-card-thumb,
.cp-list-thumb,
.cp-related-thumb,
.cp-mini-thumb{
  background:linear-gradient(180deg,#edf2fa 0%,#e6edf8 100%);
}
.cp-card-thumb{aspect-ratio:16/10;height:auto;}
.cp-list-thumb{aspect-ratio:16/10;height:auto;}
.cp-related-thumb{aspect-ratio:16/10;height:auto;}
.cp-mini-thumb{aspect-ratio:4/3;height:auto;}

.cp-footer-widgets{
  margin-top:62px;
  padding:30px 30px 4px;
}
.cp-widget-col .widget-title,
.cp-widget-col .widgettitle{
  position:relative;
  padding-bottom:10px;
}
.cp-widget-col .widget-title::after,
.cp-widget-col .widgettitle::after{
  content:'';
  display:block;
  width:38px;
  height:2px;
  background:var(--cp-accent);
  border-radius:999px;
  margin-top:10px;
}
.cp-widget-col li{
  line-height:1.65;
}
.cp-widget-col a{
  text-decoration:none;
  color:var(--cp-text-soft);
}
.cp-widget-col a:hover{
  color:var(--cp-accent);
}
#site-footer .section-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:14px 0 28px;
}
#site-footer .footer-credits{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:14px 18px;
}
#site-footer .footer-credits p{margin:0;}
#site-footer .to-the-top{
  padding:10px 14px;
  border-radius:999px;
  background:#fff;
  border:1px solid var(--cp-border);
  box-shadow:var(--cp-shadow-soft);
}
#site-footer .to-the-top:hover{
  transform:translateY(-1px);
}

@media (max-width: 1100px){
  #site-header .primary-menu > li > a{min-height:76px; padding:0 11px; font-size:1.35rem;}
  #site-header .search-toggle,
  #site-header .desktop-nav-toggle{min-height:76px;}
}
@media (max-width: 980px){
  #site-header .header-navigation-wrapper{gap:0;}
  #site-header .primary-menu-wrapper{display:none;}
  #site-header .header-toggles{display:none;}
}
@media (max-width: 820px){
  #site-header .header-inner{
    min-height:74px;
    gap:12px;
  }
  #site-header .header-titles-wrapper{flex:1 1 auto;}
  #site-header .mobile-nav-toggle{
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:44px;
    min-width:44px;
  }
  #site-footer .section-inner{
    flex-direction:column;
    align-items:flex-start;
  }
  #site-footer .to-the-top{align-self:flex-start;}
}


/* Patch 4: header/menu alignment + light footer polish */
#site-header{
  box-shadow:0 10px 30px rgba(15,23,42,.05);
}
#site-header .header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
  padding-top:0;
  padding-bottom:0;
}
#site-header .header-titles-wrapper,
#site-header .header-navigation-wrapper{
  display:flex;
  align-items:center;
  min-height:84px;
}
#site-header .header-titles-wrapper{
  flex:0 0 auto;
  min-width:0;
}
#site-header .header-titles{
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:4px;
  margin:0;
}
#site-header .site-logo,
#site-header .custom-logo-link,
#site-header .site-title,
#site-header .site-title a{
  display:flex;
  align-items:center;
}
#site-header .site-title,
#site-header .site-title a{
  line-height:1.05;
}
#site-header .site-description{
  margin-top:0;
  line-height:1.35;
}
#site-header .header-navigation-wrapper{
  flex:1 1 auto;
  justify-content:flex-end;
  gap:18px;
  min-width:0;
}
#site-header .primary-menu-wrapper{
  display:flex;
  align-items:center;
  min-height:84px;
}
#site-header .primary-menu{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:6px;
}
#site-header .primary-menu > li{
  display:flex;
  align-items:center;
  margin:0;
}
#site-header .primary-menu > li > a{
  display:inline-flex;
  align-items:center;
  min-height:44px;
  padding:0 14px;
  border-radius:999px;
  font-size:1.48rem;
  font-weight:700;
  line-height:1;
}
#site-header .primary-menu li.menu-item-has-children > a,
#site-header .primary-menu li.page_item_has_children > a{
  padding-right:12px;
}
#site-header .primary-menu .icon,
#site-header .primary-menu .svg-icon,
#site-header .primary-menu button svg,
#site-header .primary-menu .sub-menu-toggle svg{
  vertical-align:middle;
}
#site-header .primary-menu > li.current-menu-item > a,
#site-header .primary-menu > li.current_page_item > a,
#site-header .primary-menu > li > a:hover{
  background:#eef4ff;
}
#site-header .header-toggles{
  display:flex;
  align-items:center;
  margin:0;
}
#site-header .header-toggles .toggle-wrapper{
  display:flex;
  align-items:center;
}
#site-header .toggle{
  min-height:44px;
  border-radius:999px;
}
#site-header .toggle-inner{
  display:inline-flex;
  align-items:center;
  gap:8px;
  line-height:1;
}
#site-header .search-toggle,
#site-header .desktop-nav-toggle,
#site-header .mobile-nav-toggle{
  padding:0 14px;
}
#site-header .mobile-nav-toggle{
  margin-left:14px;
}
#site-header .search-toggle svg,
#site-header .desktop-nav-toggle svg,
#site-header .mobile-nav-toggle svg{
  width:1.8rem;
  height:1.8rem;
}

.cp-footer-widgets{
  margin-top:64px;
  padding:30px 30px 10px;
  background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);
  border:1px solid var(--cp-border);
  box-shadow:0 16px 40px rgba(15,23,42,.05);
}
.cp-widget-col .widget-title,
.cp-widget-col .widgettitle{
  position:relative;
  padding-bottom:10px;
  margin-bottom:14px;
}
.cp-widget-col .widget-title::after,
.cp-widget-col .widgettitle::after{
  content:"";
  display:block;
  width:44px;
  height:2px;
  margin-top:10px;
  border-radius:999px;
  background:linear-gradient(90deg,var(--cp-accent),#9db4e5);
}
#site-footer{
  padding-top:18px;
  padding-bottom:32px;
}
#site-footer .section-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding-top:0;
}
#site-footer .footer-credits{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px 18px;
}
#site-footer .footer-copyright,
#site-footer .privacy-policy{
  margin:0;
}
#site-footer .to-the-top{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:0 16px;
  border:1px solid var(--cp-border);
  border-radius:999px;
  background:#fff;
  box-shadow:0 10px 24px rgba(15,23,42,.04);
  text-decoration:none;
  font-weight:700;
}
#site-footer .to-the-top:hover{
  background:#eef4ff;
  border-color:#d8e5ff;
}

@media (max-width: 1100px){
  #site-header .header-inner{
    gap:18px;
  }
  #site-header .primary-menu > li > a{
    padding:0 11px;
    font-size:1.38rem;
  }
}
@media (max-width: 1000px){
  #site-header .header-navigation-wrapper{
    gap:10px;
  }
  #site-header .primary-menu-wrapper,
  #site-header .desktop-search-toggle,
  #site-header .desktop-nav-toggle{
    display:none;
  }
  #site-header .header-titles-wrapper,
  #site-header .header-navigation-wrapper{
    min-height:76px;
  }
  #site-header .mobile-nav-toggle{
    display:inline-flex;
    align-items:center;
    margin-left:0;
  }
}
@media (max-width: 820px){
  #site-footer .section-inner{
    flex-direction:column;
    align-items:flex-start;
  }
  #site-footer .to-the-top{
    align-self:flex-start;
  }
  .cp-footer-widgets{
    padding:22px 22px 6px;
  }
}


.cp-home-section{margin:0 0 38px;}
.cp-section-head{
  display:flex;justify-content:space-between;align-items:flex-end;gap:18px;
  margin:0 0 22px;padding:0 2px;
}
.cp-section-head--compact{align-items:flex-start;margin-bottom:16px;padding:0;}
.cp-section-head--feature{
  background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);
  border:1px solid var(--cp-border);
  border-radius:20px;
  padding:22px 24px;
  box-shadow:var(--cp-shadow-soft);
}
.cp-section-copy{max-width:760px;}
.cp-section-kicker{
  display:inline-flex;align-items:center;gap:8px;
  padding:7px 12px;border-radius:999px;
  background:#edf3ff;color:var(--cp-accent);
  border:1px solid #d8e5ff;
  font-size:1.15rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;
  margin-bottom:12px;
}
.cp-section-title{
  position:relative;
  margin:0;
  font-size:clamp(2.4rem,2.8vw,3.4rem);
  line-height:1.08;
  letter-spacing:-.04em;
  color:var(--cp-title);
}
.cp-section-title::after{
  content:'';display:block;width:86px;height:3px;border-radius:999px;
  margin-top:12px;background:linear-gradient(90deg,var(--cp-accent),#b7c8ea 80%,transparent 100%);
}
.cp-section-desc{
  margin:12px 0 0;
  max-width:700px;
  font-size:1.5rem;line-height:1.8;color:var(--cp-text-soft);
}
.cp-section-link{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:44px;padding:0 18px;border-radius:999px;
  background:#fff;border:1px solid var(--cp-border);box-shadow:var(--cp-shadow-soft);
  font-size:1.35rem;font-weight:800;text-decoration:none;white-space:nowrap;
  position:relative;z-index:3;
}
.cp-section-link:hover{transform:translateY(-1px);}
.cp-panel .cp-panel-title{margin:0;}
.cp-card--compact .cp-card-thumb{height:190px;}
.cp-career-grid{
  display:grid;
  grid-template-columns:1.15fr .85fr .85fr;
  gap:24px;
}
.cp-feature-card{
  display:flex;flex-direction:column;overflow:hidden;
  background:var(--cp-surface);
  border:1px solid var(--cp-border);
  border-radius:var(--cp-radius);
  box-shadow:var(--cp-shadow-soft);
}
.cp-feature-card-thumb{display:block;height:270px;overflow:hidden;background:#e8eef8;}
.cp-feature-card-thumb img{width:100%;height:100%;object-fit:cover;display:block;}
.cp-feature-card-body{padding:24px;display:flex;flex-direction:column;gap:12px;}
.cp-feature-card-title{font-size:2.4rem;line-height:1.22;margin:0;color:var(--cp-title);}
.cp-feature-card-excerpt{font-size:1.55rem;line-height:1.78;color:var(--cp-text-soft);margin:0;}
.cp-home-section--career .cp-card{height:100%;}
.cp-home-section--career .cp-card-body{padding:20px;}
.cp-home-section--career .cp-card-title{font-size:1.8rem;}

@media (max-width: 1100px){
  .cp-career-grid{grid-template-columns:1fr 1fr;}
  .cp-feature-card{grid-column:1 / -1;}
}
@media (max-width: 820px){
  .cp-section-head,
  .cp-section-head--feature{align-items:flex-start;flex-direction:column;}
  .cp-section-link{min-height:42px;}
  .cp-career-grid{grid-template-columns:1fr;}
  .cp-feature-card-thumb{height:230px;}
}


/* Patch 3: archive header + archive list */
.cp-archive-shell{padding-top:34px;}
.cp-archive-hero{
  display:grid;grid-template-columns:minmax(0,1.25fr) minmax(260px,.55fr);gap:24px;align-items:end;
  margin:0 0 26px;padding:34px;border-radius:28px;border:1px solid var(--cp-border);
  background:linear-gradient(135deg,#ffffff 0%,#f8fbff 58%,#eef4ff 100%);
  box-shadow:var(--cp-shadow-soft);
}
.cp-archive-kicker,
.cp-section-kicker{
  display:inline-flex;align-items:center;gap:8px;
  padding:7px 12px;border-radius:999px;background:#eef4ff;border:1px solid #dbe7ff;
  color:var(--cp-accent);font-size:1.2rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;
}
.cp-archive-title{margin-top:14px;margin-bottom:12px;}
.cp-archive-desc{max-width:68ch;margin-bottom:0;}
.cp-archive-hero-meta{
  display:flex;flex-direction:column;gap:14px;align-items:flex-start;justify-content:flex-end;
  min-height:100%;padding:18px;border-radius:22px;background:rgba(255,255,255,.72);border:1px solid #e7eef9;
}
.cp-archive-stat{display:flex;flex-direction:column;gap:2px;}
.cp-archive-stat-num{font-size:3rem;line-height:1;font-weight:800;color:var(--cp-title);letter-spacing:-.04em;}
.cp-archive-stat-label{font-size:1.35rem;color:var(--cp-text-soft);}
.cp-archive-featured{margin:0 0 34px;}
.cp-archive-featured-card{
  display:grid;grid-template-columns:minmax(0,1.1fr) minmax(360px,.9fr);gap:0;
  background:var(--cp-surface);border:1px solid var(--cp-border);border-radius:28px;overflow:hidden;box-shadow:var(--cp-shadow-soft);
}
.cp-archive-featured-media{display:block;min-height:100%;background:#e8eef8;}
.cp-archive-featured-media img{width:100%;height:100%;min-height:420px;object-fit:cover;display:block;}
.cp-archive-featured-body{padding:30px 30px 28px;display:flex;flex-direction:column;justify-content:center;}
.cp-archive-featured-title{font-size:clamp(2.5rem,3vw,4rem);line-height:1.08;letter-spacing:-.04em;margin:0 0 14px;color:var(--cp-title);}
.cp-archive-featured-title a{color:inherit;text-decoration:none;}
.cp-archive-featured-excerpt{font-size:1.6rem;line-height:1.8;color:var(--cp-text-soft);margin:14px 0 0;}
.cp-archive-featured-actions{margin-top:22px;}
.cp-archive-section-head,
.cp-section-head-premium{
  display:grid;grid-template-columns:minmax(0,1fr) auto;gap:20px;align-items:end;
  margin:0 0 20px;padding-bottom:16px;border-bottom:1px solid #e8eef7;
}
.cp-section-title-archive{margin:8px 0 0;}
.cp-section-note{max-width:46ch;margin:0;color:var(--cp-text-soft);font-size:1.42rem;line-height:1.75;text-align:right;}
.cp-archive-list{gap:20px;}
.cp-archive-list-card{border-radius:24px;overflow:hidden;box-shadow:var(--cp-shadow-soft);}
.cp-archive-list-card .cp-list-thumb{background:#e8eef8;}
.cp-archive-list-card .cp-list-thumb img{transition:transform .35s ease;}
.cp-archive-list-card:hover .cp-list-thumb img{transform:scale(1.03);}
.cp-archive-list-card .cp-list-title a{color:inherit;text-decoration:none;}
.cp-archive-list-card .cp-list-title a:hover,
.cp-archive-featured-title a:hover{color:var(--cp-accent);}
.cp-archive-list-card .cp-list-body{padding:24px;}
.cp-archive-list-card .cp-list-excerpt{max-width:62ch;}
.cp-list-actions{margin-top:4px;}
.archive #site-content,.blog #site-content{overflow:visible;}

@media (max-width:1100px){
  .cp-archive-hero,
  .cp-archive-featured-card,
  .cp-archive-section-head{grid-template-columns:1fr;}
  .cp-section-note{text-align:left;max-width:none;}
}
@media (max-width:820px){
  .cp-archive-shell{padding-top:24px;}
  .cp-archive-hero{padding:24px;border-radius:22px;}
  .cp-archive-featured-card{border-radius:22px;}
  .cp-archive-featured-media img{min-height:260px;}
  .cp-archive-featured-body{padding:22px;}
  .cp-archive-featured-title{font-size:2.7rem;}
  .cp-archive-list-card .cp-list-body{padding:20px;}
}


/* Patch 4: Single editorial polish */
.cp-single-head{
  padding:40px 40px 18px;
  background:linear-gradient(180deg,#ffffff 0%, #fbfcff 100%);
  border-bottom:1px solid var(--cp-border);
}
.cp-single-head-inner{max-width:940px;margin:0 auto;}
.cp-single-head .cp-eyebrow{
  display:inline-flex;
  background:#eef4ff;
  color:var(--cp-accent);
  border:1px solid #d8e5ff;
  padding:8px 14px;
  border-radius:999px;
  font-size:1.15rem;
  letter-spacing:.08em;
}
.cp-single-meta-row{
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  padding-top:14px;margin-top:4px;border-top:1px solid var(--cp-border);
}
.cp-single-meta-row .cp-meta{margin:0;}
.cp-single-title{max-width:980px;}
.cp-single-excerpt{max-width:820px;}
.cp-single-cover{
  margin:0 20px;
  height:620px;
  border-radius:28px;
  box-shadow:0 18px 45px rgba(16,31,56,.12);
}
.cp-single-cover::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(15,31,56,.04) 0%, rgba(15,31,56,.14) 100%);
}
.cp-single-cover-badge{top:24px;left:24px;z-index:3;}
.cp-single-cover .cp-eyebrow{
  background:rgba(15,31,56,.78);
  border-color:rgba(255,255,255,.18);
  box-shadow:0 12px 24px rgba(15,31,56,.18);
}
.cp-single-content{padding:38px 34px 34px;}
.cp-post-tax-wrap{
  max-width:var(--cp-content);
  margin:34px auto 0;
  padding-top:24px;
  border-top:1px solid var(--cp-border);
}
.cp-post-tax-title{
  font-size:1.2rem;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--cp-text-soft);
  margin-bottom:12px;
}
.cp-author-box{
  max-width:var(--cp-content);
  margin:28px auto 0;
  display:grid;
  grid-template-columns:88px 1fr;
  gap:18px;
  align-items:flex-start;
  background:linear-gradient(180deg,#ffffff 0%, #f8fbff 100%);
  border:1px solid var(--cp-border);
  border-radius:24px;
  padding:24px;
  box-shadow:var(--cp-shadow-soft);
}
.cp-author-avatar img{
  display:block;
  width:88px;height:88px;border-radius:50%;
  border:4px solid #eef4ff;
}
.cp-author-kicker{
  font-size:1.15rem;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--cp-accent);
  margin-bottom:6px;
}
.cp-author-name{
  margin:0 0 10px;
  font-size:2.3rem;
  line-height:1.2;
  color:var(--cp-title);
}
.cp-author-bio{
  margin:0 0 16px;
  font-size:1.5rem;
  line-height:1.75;
  color:var(--cp-text-soft);
}
.cp-section-kicker{
  font-size:1.1rem;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--cp-accent);
  margin-bottom:8px;
}
.cp-section-desc{
  margin:10px 0 0;
  font-size:1.45rem;
  line-height:1.75;
  color:var(--cp-text-soft);
}
.cp-related-editorial{
  padding:30px;
  background:linear-gradient(180deg,#ffffff 0%,#fbfcff 100%);
}
.cp-section-head-related{
  margin-bottom:24px;
  padding-bottom:16px;
  border-bottom:1px solid var(--cp-border);
}
.cp-related-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:22px;
}
.cp-related-item{
  background:#fff;
  border:1px solid var(--cp-border);
  border-radius:20px;
  overflow:hidden;
  box-shadow:var(--cp-shadow-soft);
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.cp-related-item:hover{
  transform:translateY(-3px);
  box-shadow:0 16px 36px rgba(16,31,56,.10);
  border-color:#d8e5ff;
}
.cp-related-thumb{height:180px;margin:0;border-radius:0;}
.cp-related-body{padding:18px 18px 20px;}
.cp-related-body .cp-eyebrow{
  display:inline-flex;
  background:#eef4ff;
  color:var(--cp-accent);
  border:1px solid #d8e5ff;
  padding:6px 10px;
  border-radius:999px;
  font-size:1rem;
  margin-bottom:12px;
}
.cp-related-title{
  font-size:1.75rem;
  line-height:1.4;
  margin:0 0 12px;
  color:var(--cp-title);
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.cp-related-meta{
  font-size:1.2rem;
  color:var(--cp-text-soft);
}
@media (max-width: 1100px){
  .cp-single-cover{height:500px;}
}
@media (max-width: 820px){
  .cp-single-head{padding:26px 22px 14px;}
  .cp-single-meta-row{display:block;}
  .cp-single-cover{margin:0 14px;height:260px;border-radius:22px;}
  .cp-single-content{padding:28px 22px 24px;}
  .cp-author-box{grid-template-columns:1fr;gap:14px;padding:20px;}
  .cp-author-avatar img{width:72px;height:72px;}
  .cp-related-editorial{padding:22px;}
}


/* Patch 5: mobile refinement */
@media (max-width: 980px){
  #site-header{
    backdrop-filter:blur(14px);
  }
  #site-header .header-inner{
    min-height:72px;
    gap:12px;
    padding-left:18px;
    padding-right:18px;
  }
  #site-header .header-titles-wrapper{
    flex:1 1 auto;
    min-width:0;
    min-height:72px;
    gap:10px;
  }
  #site-header .header-titles{
    min-width:0;
    flex:1 1 auto;
  }
  #site-header .site-title,
  #site-header .site-title a{
    font-size:1.9rem;
    line-height:1.05;
  }
  #site-header .site-description{
    font-size:1.2rem;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    max-width:100%;
  }
  #site-header .mobile-nav-toggle{
    margin-left:auto;
    padding:0 12px;
    min-width:46px;
    min-height:46px;
    border-radius:999px;
    background:#fff;
    border:1px solid var(--cp-border);
    box-shadow:var(--cp-shadow-soft);
  }
  #site-header .mobile-nav-toggle .toggle-text{display:none;}
  #site-header .mobile-nav-toggle .toggle-icon,
  #site-header .mobile-nav-toggle .toggle-icon svg{
    display:flex;
    align-items:center;
    justify-content:center;
  }

  .cp-shell,
  .cp-single-wrap{padding-left:16px;padding-right:16px;}

  .cp-hero{gap:18px;margin:8px 0 24px;}
  .cp-hero-main{
    min-height:320px;
    padding:18px;
    border-radius:18px;
  }
  .cp-hero-content{max-width:none;}
  .cp-hero-title{
    font-size:clamp(2.3rem,8vw,3.2rem);
    line-height:1.08;
    margin-bottom:10px;
  }
  .cp-hero-excerpt{
    font-size:1.45rem;
    line-height:1.65;
    display:-webkit-box;
    -webkit-line-clamp:3;
    -webkit-box-orient:vertical;
    overflow:hidden;
    margin-bottom:14px;
  }
  .cp-meta{gap:10px 12px;font-size:1.2rem;}
  .cp-panel,
  .cp-card-body,
  .cp-list-body,
  .cp-archive-head,
  .cp-page-card,
  .cp-single-head,
  .cp-single-content,
  .cp-related,
  .cp-footer-widgets,
  .cp-empty,
  .cp-newsletter{padding:18px;}

  .cp-section-head{
    align-items:flex-start;
    gap:10px;
    margin-bottom:14px;
  }
  .cp-section-head > div:first-child{min-width:0;}
  .cp-section-title{
    font-size:2rem;
    line-height:1.18;
    margin-bottom:6px;
  }
  .cp-section-head p,
  .cp-section-head .cp-section-desc{
    font-size:1.35rem;
    line-height:1.6;
    color:var(--cp-text-soft);
    margin:0;
  }
  .cp-section-link,
  .cp-button,
  .cp-button-soft{
    min-height:42px;
    padding:0 14px;
    font-size:1.3rem;
    white-space:nowrap;
  }

  .cp-mini{
    grid-template-columns:84px 1fr;
    gap:12px;
    padding:10px;
    border-radius:16px;
  }
  .cp-mini-thumb{border-radius:12px;}
  .cp-mini-title{
    font-size:1.45rem;
    line-height:1.35;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
  }
  .cp-mini-meta{font-size:1.15rem;}

  .cp-grid{gap:16px;margin-bottom:26px;}
  .cp-card{border-radius:18px;}
  .cp-card-thumb{aspect-ratio:16/9;}
  .cp-card-title,
  .cp-list-title{
    font-size:1.82rem;
    line-height:1.28;
    display:-webkit-box;
    -webkit-line-clamp:3;
    -webkit-box-orient:vertical;
    overflow:hidden;
  }
  .cp-card-excerpt,
  .cp-list-excerpt{
    font-size:1.4rem;
    line-height:1.65;
    display:-webkit-box;
    -webkit-line-clamp:3;
    -webkit-box-orient:vertical;
    overflow:hidden;
  }
  .cp-card .cp-meta,
  .cp-list .cp-meta,
  .cp-list-body .cp-meta{font-size:1.15rem;gap:8px 10px;}
  .cp-list-card{border-radius:18px;gap:0;}
  .cp-list-thumb{aspect-ratio:16/9;}

  .cp-archive-head{
    border-radius:18px;
    margin-bottom:18px;
  }
  .cp-single-card{border-radius:20px;}
  .cp-single-title{
    font-size:clamp(2.4rem,8.5vw,3.4rem);
    line-height:1.1;
    margin-bottom:10px;
  }
  .cp-single-excerpt{
    font-size:1.45rem;
    line-height:1.7;
    margin-bottom:14px;
  }
  .cp-single-cover{height:auto;aspect-ratio:16/9;}
  .cp-single-cover-badge{top:14px;left:14px;}
  .cp-single-cover .cp-eyebrow{padding:8px 12px;font-size:1.1rem;}

  .cp-single-content .entry-content p,
  .cp-page-card .entry-content p,
  .cp-single-content .entry-content ul,
  .cp-single-content .entry-content ol,
  .cp-page-card .entry-content ul,
  .cp-page-card .entry-content ol{
    font-size:17px;
    line-height:1.78;
  }
  .cp-single-content .entry-content h2,
  .cp-page-card .entry-content h2{
    font-size:22px;
    margin:38px 0 14px;
    padding-bottom:8px;
  }
  .cp-single-content .entry-content h3,
  .cp-page-card .entry-content h3{
    font-size:18px;
    margin:26px 0 10px;
  }
  .cp-single-content .entry-content table,
  .cp-page-card .entry-content table{font-size:14px;}

  .cp-related{margin-top:18px;}
  .cp-related-grid{gap:16px;}
  .cp-related-item{
    display:grid;
    grid-template-columns:110px 1fr;
    gap:12px;
    align-items:center;
  }
  .cp-related-thumb{
    margin-bottom:0;
    aspect-ratio:1/1;
    height:auto;
    border-radius:14px;
  }
  .cp-related-title{
    font-size:1.45rem;
    line-height:1.35;
    display:-webkit-box;
    -webkit-line-clamp:3;
    -webkit-box-orient:vertical;
    overflow:hidden;
  }

  .cp-footer-widgets{
    margin-top:36px;
    padding:20px 18px 2px;
    border-radius:18px;
  }
  .cp-footer-grid{gap:6px;}
  .cp-widget-col .widget{margin-bottom:16px;}
  .cp-widget-col .widget-title,
  .cp-widget-col .widgettitle{
    font-size:1.45rem;
    margin-bottom:10px;
  }
  .cp-widget-col li{padding:9px 0;}
  #site-footer .section-inner{
    padding:12px 16px 24px;
    gap:14px;
  }
  #site-footer .footer-credits{gap:10px 14px;font-size:1.2rem;}
  #site-footer .to-the-top{
    min-height:40px;
    padding:8px 12px;
    font-size:1.2rem;
  }
}

@media (max-width: 640px){
  #site-header .header-inner{padding-left:14px;padding-right:14px;min-height:68px;}
  #site-header .header-titles-wrapper{min-height:68px;gap:8px;}
  #site-header .site-title,
  #site-header .site-title a{font-size:1.7rem;}
  #site-header .site-description{display:none;}
  .cp-shell,
  .cp-single-wrap{padding-left:14px;padding-right:14px;}
  .cp-hero-main{min-height:280px;padding:16px;}
  .cp-hero-title{font-size:2.15rem;}
  .cp-section-head{flex-direction:column;align-items:flex-start;}
  .cp-section-link,
  .cp-button-soft{width:auto;}
  .cp-card-body,
  .cp-list-body{padding:16px;}
  .cp-card-title,
  .cp-list-title{font-size:1.7rem;}
  .cp-card-excerpt,
  .cp-list-excerpt{font-size:1.32rem;-webkit-line-clamp:2;}
  .cp-single-title{font-size:2.2rem;}
  .cp-single-content .entry-content p,
  .cp-page-card .entry-content p,
  .cp-single-content .entry-content ul,
  .cp-single-content .entry-content ol,
  .cp-page-card .entry-content ul,
  .cp-page-card .entry-content ol{font-size:16.5px;}
  .cp-related-item{grid-template-columns:96px 1fr;}
  #site-footer .to-the-top .to-the-top-long{display:none;}
}
