.page-wrap { width: min(1274px, calc(100% - 48px)); margin: 0 auto; }
.page-hero { padding: 72px 0 66px; background: var(--paper); }
.page-hero .eyebrow { margin-bottom: 13px; }
.page-hero h1 { max-width: 850px; margin: 0 0 19px; font-size: clamp(44px, 5vw, 68px); line-height: 1.02; letter-spacing: -2px; }
.page-hero p:last-child { max-width: 760px; margin: 0; font-size: 20px; line-height: 1.55; }
.archive-section { padding: 70px 0 90px; }
.archive-toolbar { margin-bottom: 31px; display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.archive-toolbar h2 { margin: 0; font-size: 30px; }
.archive-toolbar p { margin: 0; color: #5e6265; }
.archive-search { max-width: 760px; margin-top: 30px; display: flex; gap: 10px; }
.archive-search input { min-width: 0; flex: 1; padding: 15px 18px; border: 1px solid #d9ceca; border-radius: 999px; color: var(--ink); background: #fff; font-size: 17px; }
.archive-search .button { width: auto; height: 53px; padding-inline: 27px; background: var(--coral); color: #fff; cursor: pointer; }
.empty-results { grid-column: 1 / -1; padding: 42px; border: 1px solid #eaded9; border-radius: 17px; background: #fff; text-align: center; }
.empty-results h2 { margin: 0 0 10px; font-size: 28px; }
.empty-results p { margin: 0; color: #5e6265; font-size: 17px; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 13px; }
.tag-cloud a { padding: 12px 17px; display: inline-flex; align-items: center; gap: 8px; border: 1px solid #eaded9; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 700; text-decoration: none; transition: .18s ease; }
.tag-cloud a:hover { border-color: var(--coral); color: var(--coral); transform: translateY(-2px); }
.tag-cloud small { min-width: 24px; height: 24px; padding: 0 7px; display: inline-grid; place-items: center; border-radius: 999px; color: var(--navy); background: #f3dfe0; font-size: 12px; }
.tag-overview { padding: 5px 0 70px; }
.tag-overview h2 { margin: 0 0 25px; font-size: 30px; }
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px 24px; }
.article-card { min-width: 0; overflow: hidden; border-radius: 17px; background: #fff; box-shadow: 0 12px 34px rgba(37,46,79,.09); transition: transform .22s ease, box-shadow .22s ease; }
.article-card:hover { transform: translateY(-5px); box-shadow: 0 18px 42px rgba(23,18,17,.14); }
.article-card > a { display: block; color: inherit; text-decoration: none; }
.article-card-image { height: 205px; overflow: hidden; background: #eee center/cover no-repeat; }
.article-card-image img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .35s ease; }
.article-card:hover img { transform: scale(1.045); }
.article-card-body { padding: 24px 25px 27px; }
.article-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; color: #777; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .35px; }
.article-meta .tag { padding: 5px 9px; border-radius: 999px; color: var(--navy); background: #f3dfe0; text-decoration: none; }
.article-card h2 { margin: 13px 0 10px; font-size: 25px; line-height: 1.13; letter-spacing: -.5px; }
.article-card p { margin: 0 0 18px; color: #43484b; font-size: 16px; line-height: 1.5; }
.read-more { color: var(--coral); font-weight: 800; }

.article-hero { padding: 58px 0 0; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 27px; color: #6a6e70; font-size: 14px; }
.breadcrumbs a { color: inherit; }
.article-hero h1 { max-width: 940px; margin: 13px 0 20px; font-size: clamp(44px, 5vw, 70px); line-height: 1.02; letter-spacing: -2.4px; }
.article-deck { max-width: 800px; margin: 0 0 25px; font-size: 22px; line-height: 1.48; }
.byline { display: flex; align-items: center; gap: 13px; margin-bottom: 34px; color: #62676a; font-size: 14px; }
.byline-avatar, .author-avatar { display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--coral); font-weight: 900; }
.byline-avatar { width: 42px; height: 42px; }
.article-cover { height: 520px; overflow: hidden; border-radius: 20px; }
.article-cover img { width: 100%; height: 100%; display: block; object-fit: cover; }
.article-layout { display: grid; grid-template-columns: minmax(0, 780px) 290px; justify-content: center; gap: 72px; padding: 62px 0 80px; }
.article-content { min-width: 0; color: #20272b; font-size: 19px; line-height: 1.72; }
.article-content > p:first-child { font-size: 22px; }
.article-content h2 { margin: 58px 0 17px; font-size: 36px; line-height: 1.12; letter-spacing: -1px; }
.article-content h3 { margin: 38px 0 12px; font-size: 25px; }
.article-content a { color: var(--coral); font-weight: 700; }
.article-content ul, .article-content ol { margin: 19px 0 27px; padding-left: 27px; }
.article-content li { margin: 8px 0; padding-left: 4px; }
.article-content blockquote { margin: 39px 0; padding: 26px 30px; border-left: 5px solid var(--coral); border-radius: 0 14px 14px 0; background: #f6e5e4; font-size: 22px; font-weight: 700; line-height: 1.5; }
.article-lead { font-size: 22px; line-height: 1.62; }
.fact-box { margin: 37px 0; padding: 28px 30px; border: 1px solid var(--coral); border-radius: 16px; background: #fff8f5; }
.fact-box h3 { margin-top: 0; color: var(--coral); }
.note-box, .success-box, .warning-box, .myth-box, .tip-box, .checklist-box, .source-box, .content-cta { margin: 37px 0; padding: 28px 30px; border-radius: 16px; }
.note-box { border-left: 5px solid var(--navy); background: #eef0f6; }
.note-box h3, .success-box h3, .warning-box h3, .myth-box h3, .checklist-box h3, .source-box h3, .content-cta h3 { margin-top: 0; }
.success-box { border-left: 5px solid #3f7d67; background: #e8f3ed; }
.success-box h3 { color: #285f4c; }
.warning-box { border-left: 5px solid #b96f3d; background: #fff0e3; }
.warning-box h3 { color: #934f27; }
.myth-box { position: relative; border: 1px solid #efb8b8; background: #f8e8e8; }
.myth-label { padding: 5px 10px; display: inline-block; border-radius: 999px; color: #fff; background: var(--navy); font-size: 12px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; }
.tip-box { display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; border: 1px solid #f1d2ae; background: #fff2df; }
.tip-box strong { color: var(--navy); }
.tip-box p { margin: 0; }
.checklist-box { border: 1px solid #bed7cd; background: #f3faf6; }
.checklist-box ul { padding: 0; list-style: none; }
.checklist-box li { position: relative; padding-left: 30px; }
.checklist-box li::before { position: absolute; left: 0; content: "✓"; color: #3f7d67; font-weight: 900; }
.source-box { border: 1px dashed #aeb4c8; background: #f6f7fa; font-size: 16px; }
.content-cta { color: #fff; background: var(--navy); }
.content-cta p { color: #e8eaf0; }
.content-cta .button { width: auto; color: #fff; text-decoration: none; }
.content-table-wrap { margin: 30px 0; overflow-x: auto; border: 1px solid #e8dfdb; border-radius: 14px; }
.article-content table { width: 100%; border-collapse: collapse; background: #fff; }
.article-content th, .article-content td { padding: 14px 16px; border-bottom: 1px solid #ece5e1; text-align: left; }
.article-content th { color: #fff; background: var(--navy); }
.article-content tr:last-child td { border-bottom: 0; }
.content-image { margin: 34px 0; }
.content-image img { width: 100%; height: auto; display: block; border-radius: 15px; }
.content-image figcaption { padding: 9px 3px 0; color: #6c7075; font-size: 13px; line-height: 1.45; }
.content-image-full { width: 100%; }
.content-image-left { width: 46%; margin: 8px 28px 20px 0; float: left; }
.content-image-right { width: 46%; margin: 8px 0 20px 28px; float: right; }
.content-image-center { width: 72%; margin-right: auto; margin-left: auto; }
.content-clear { clear: both; }
.faq-box { margin: 42px 0; padding: 28px 30px; border: 1px solid #d9dce6; border-radius: 18px; background: #fff; box-shadow: 0 12px 32px rgba(37,46,79,.08); }
.article-content .faq-box > h2 { margin: 0 0 18px; font-size: 29px; }
.faq-item { border-top: 1px solid #e6e2df; }
.faq-item:last-child { border-bottom: 1px solid #e6e2df; }
.faq-question { position: relative; padding: 18px 42px 18px 0; cursor: pointer; color: var(--navy); font-size: 19px; font-weight: 800; list-style: none; }
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after { position: absolute; right: 4px; top: 50%; content: "+"; color: var(--coral); font-size: 27px; font-weight: 400; transform: translateY(-50%); }
.faq-item[open] .faq-question::after { content: "−"; }
.faq-answer { padding: 0 34px 18px 0; color: #444b50; }
.faq-answer p { margin: 0; }
.ci-example-page .simple-inner { max-width: 820px; }
.article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 45px; padding-top: 25px; border-top: 1px solid #e6dfdb; }
.article-tags a { padding: 5px 9px; border-radius: 999px; color: var(--navy); font-size: 14px; text-decoration: none; background: #f3dfe0; }
.article-aside { min-width: 0; }
.aside-card { position: sticky; top: 25px; padding: 26px; border-radius: 17px; background: #fff; box-shadow: 0 12px 35px rgba(24,18,17,.08); }
.aside-card h2 { margin: 0 0 11px; font-size: 21px; }
.aside-card p { margin: 0 0 18px; line-height: 1.5; }
.aside-card a { color: var(--coral); font-weight: 800; }
.author-box { width: 100%; margin: 48px 0 0; padding: 31px; display: flex; gap: 22px; border-radius: 18px; background: #f3dfe0; }
.author-avatar { width: 72px; height: 72px; flex: 0 0 72px; font-size: 22px; }
.author-box h2 { margin: 0 0 7px; font-size: 22px; }
.author-box p { margin: 0; line-height: 1.55; }
.byline-avatar, .author-avatar { overflow: hidden; }
.byline-avatar img, .author-avatar img { width: 100%; height: 100%; display: block; object-fit: cover; }
.related { padding: 70px 0 90px; background: #f5e9e4; }
.related h2 { margin: 0 0 28px; font-size: 34px; }

.simple-page { padding: 72px 0 100px; }
.simple-page .simple-inner { max-width: 820px; }
.simple-page h1 { margin: 0 0 15px; font-size: clamp(44px, 5vw, 66px); line-height: 1.02; }
.simple-page h2 { margin: 45px 0 12px; font-size: 27px; }
.simple-page h3 { margin: 30px 0 9px; font-size: 20px; }
.simple-page p, .simple-page li { font-size: 18px; line-height: 1.65; }
.simple-page a { color: var(--coral); font-weight: 700; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 55px; }
.contact-card, .newsletter-panel { padding: 32px; border-radius: 18px; background: #fff; box-shadow: 0 12px 35px rgba(23,18,17,.08); }
.form-grid { display: grid; gap: 17px; }
.form-grid label { font-weight: 800; }
.form-grid input:not([type="checkbox"]), .form-grid textarea, .newsletter-form input:not([type="checkbox"]) { width: 100%; margin-top: 7px; padding: 14px 15px; border: 1px solid #d9ceca; border-radius: 9px; background: #fff; }
.form-grid textarea { min-height: 160px; resize: vertical; }
.form-note { color: #6a6f71; font-size: 14px !important; }
.newsletter-page { padding: 75px 0 95px; }
.newsletter-layout { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 70px; }
.newsletter-copy h1 { margin: 8px 0 20px; font-size: clamp(48px, 6vw, 78px); line-height: .98; letter-spacing: -3px; }
.newsletter-copy > p { font-size: 20px; line-height: 1.55; }
.newsletter-points { margin: 28px 0 0; padding: 0; list-style: none; }
.newsletter-points li { margin: 13px 0; padding-left: 32px; position: relative; font-size: 18px; }
.newsletter-points li::before { position: absolute; left: 0; content: "✓"; color: var(--coral); font-weight: 900; }
.newsletter-panel { padding: 39px; background: #f3dfe0; }
.newsletter-panel h2 { margin: 0 0 8px; font-size: 29px; }
.newsletter-form { display: grid; gap: 13px; margin-top: 24px; }
.newsletter-form input:not([type="checkbox"]) { margin: 0; }
.consent { display: flex; align-items: flex-start; gap: 9px; font-weight: 400 !important; line-height: 1.4; }
.consent input { width: auto; flex: 0 0 auto; margin: 3px 0 0; }
.newsletter-form .button { width: 100%; }

.site-footer { margin-top: 0; color: var(--paper); background: var(--navy); }
.footer-main { width: min(1290px, calc(100% - 48px)); margin: 0 auto; padding: 62px 0 48px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; transform: translateX(9px); }
.site-footer h2 { margin: 0 0 16px; color: #fff; font-size: 16px; text-transform: uppercase; letter-spacing: .4px; }
.site-footer p { color: #c8ccce; line-height: 1.55; }
.site-footer a { width: fit-content; margin: 9px 0; display: block; color: #e4e6e7; text-decoration: none; }
.site-footer a:hover { color: #f47788; }
.footer-logo b, .footer-logo strong { display: block; text-transform: uppercase; }
.footer-logo b { font-size: 22px; }
.footer-logo strong { color: var(--coral); font: 400 35px/.82 "KFB Brush", cursive; transform: rotate(-3deg); }
.footer-about p { max-width: 290px; }
.footer-news > a { color: var(--coral); font-weight: 800; }
.about-page { overflow: hidden; }
.about-hero { padding: 58px 0 80px; }
.about-layout { display: grid; grid-template-columns: 1fr .86fr; align-items: center; gap: 70px; }
.about-copy h1 { margin: 10px 0 21px; font-size: clamp(50px, 6vw, 78px); line-height: .98; letter-spacing: -3px; }
.about-copy p { font-size: 20px; line-height: 1.6; }
.about-copy .button { width: auto; padding-inline: 28px; }
.about-portrait { position: relative; min-height: 570px; border-radius: 50% 45% 43% 48%; background: var(--navy); }
.about-portrait::before { position: absolute; inset: 55px -35px 45px 20px; content: ""; border-radius: 45% 55% 48% 52%; background: var(--coral); transform: rotate(-7deg); }
.about-portrait img { position: absolute; z-index: 2; left: 50%; bottom: 0; width: 680px; max-width: 135%; transform: translateX(-50%); }
.about-values { padding: 75px 0 90px; background: #f3dfe0; }
.about-values h2 { margin: 0 0 32px; font-size: 36px; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value-card { padding: 29px; border-radius: 16px; background: var(--paper); }
.value-card b { display: block; margin-bottom: 10px; color: var(--coral); font-size: 35px; }
.value-card h3 { margin: 0 0 9px; font-size: 22px; }
.value-card p { margin: 0; line-height: 1.55; }
.footer-legal { width: min(1274px, calc(100% - 48px)); margin: 0 auto; padding: 20px 0 27px; display: flex; justify-content: space-between; gap: 25px; border-top: 1px solid #344048; color: #aab1b5; font-size: 13px; }
.footer-legal nav { display: flex; gap: 22px; }
.footer-legal a { margin: 0; color: #aab1b5; }

@media (max-width: 900px) {
  .page-hero { padding: 50px 0; }
  .article-grid { grid-template-columns: 1fr 1fr; }
  .article-layout { grid-template-columns: 1fr; gap: 35px; }
  .article-aside { order: -1; }
  .aside-card { position: static; }
  .article-cover { height: 390px; }
  .contact-grid, .newsletter-layout { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-main { transform: none; }
  .about-layout { grid-template-columns: 1fr; }
  .about-portrait { min-height: 510px; }
  .value-grid { grid-template-columns: 1fr; }
}
@media (max-width: 570px) {
  .page-wrap { width: calc(100% - 40px); }
  .page-hero h1, .article-hero h1, .simple-page h1 { font-size: 42px; letter-spacing: -1.3px; }
  .article-grid { grid-template-columns: 1fr; }
  .article-cover { height: 245px; border-radius: 0; margin-inline: -20px; }
  .article-layout { padding-top: 40px; }
  .article-content { font-size: 17px; }
  .article-content h2 { font-size: 30px; }
  .author-box { margin-inline: 0; }
  .content-image-left, .content-image-right, .content-image-center { width: 100%; margin: 28px 0; float: none; }
  .footer-main { grid-template-columns: 1fr; gap: 28px; }
  .footer-legal { flex-direction: column; }
  .footer-legal nav { flex-wrap: wrap; }
  .archive-toolbar { align-items: flex-start; flex-direction: column; gap: 7px; }
  .archive-search { flex-direction: column; }
  .archive-search .button { width: 100%; }
}
