/* site palette */
html:root {
    --bg: #FFFFFF;
    --surface: #F8F6F4;
    --surface-alt: #F6F4EA;
    --text: #2C261D;
    --text-muted: #72695A;
    --border: #E4DFD8;
    --primary: #FFDB2E;
    --primary-hover: #FFD405;
    --on-primary: #111111;
    --primary-text: #29271E;
    --accent: #29271E;
    --on-accent: #FFFFFF;
    --accent-text: #29271E;
    --dark-band: #1A150D;
    --on-dark: #FFFFFF;
    --on-dark-muted: #C3BEB6;
    --brand-btn-bg: #111111;
    --brand-btn-text: #FFDB2E;
    --section-alt-bg: #F6F4EA;
    --dark-band-bg: #1A150D;
    --brand-band-bg: #FFDB2E;
    --hero-bg: #F6F4EA;
    --on-hero: #2C261D;
    --footer-bg: #F4F3F1;
    --on-footer: #2C261D;
    --on-footer-muted: #72695A;
}

/* /site palette */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

.text-muted {
    color: var(--text-muted) !important;
}

.mw-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary);
    color: var(--on-primary);
    border-radius: 6px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.02em;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 150ms ease, color 150ms ease;
}

.mw-btn:hover {
    background-color: var(--primary-hover);
    color: var(--on-primary);
}

.mw-btn-alt {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    color: var(--primary-text);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.02em;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 150ms ease, border-color 150ms ease;
}

.mw-btn-alt:hover {
    background-color: var(--surface);
    border-color: var(--primary-text);
}

.mw-card {
    --mw-card-pad: 28px;
    padding: var(--mw-card-pad);
    background-color: var(--surface);
    color: var(--text);
    border-radius: 8px;
    border: 1px solid var(--border);
    box-shadow: 0 10px 25px -5px rgba(44, 38, 29, 0.05), 0 8px 10px -6px rgba(44, 38, 29, 0.02);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 250ms ease, box-shadow 250ms ease;
}

@media (max-width: 640px) {
    .mw-card {
        --mw-card-pad: 20px;
    }
}

.mw-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 30px -10px rgba(44, 38, 29, 0.10);
}

.mw-card:not([class*="row"]):not([class*="grid"]):not([class*="horizontal"])>.mw-media:first-child {
    margin: calc(-1 * var(--mw-card-pad)) calc(-1 * var(--mw-card-pad)) var(--mw-card-pad);
    border-radius: 0;
    border: 0;
}

.mw-media {
    flex-shrink: 0;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    border: 1px solid var(--border);
    overflow: hidden;
}

.mw-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mw-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    line-height: 1.4;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-text);
}

.mw-eyebrow::after {
    content: "";
    display: inline-block;
    width: 32px;
    height: 2px;
    background-color: var(--primary);
}

.text-center .mw-eyebrow::before {
    content: "";
    display: inline-block;
    width: 32px;
    height: 2px;
    background-color: var(--primary);
}

.mw-title {
    font-size: 38px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--text);
    margin-top: 12px;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .mw-title {
        font-size: 28px;
    }
}

.mw-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    background-color: var(--surface-alt);
    color: var(--primary-text);
    border: 1px solid var(--border);
}

.mw-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 6px;
    background-color: var(--surface);
    border: 1px solid var(--border);
    color: var(--accent);
    font-size: 20px;
    flex-shrink: 0;
}

.mw-section {
    padding-top: 96px;
    padding-bottom: 96px;
    background-color: var(--bg);
}

.mw-section-alt {
    padding-top: 96px;
    padding-bottom: 96px;
    background-color: var(--section-alt_bg, var(--surface-alt));
}

.mw-section-dark {
    padding-top: 96px;
    padding-bottom: 96px;
    background-color: var(--dark-band-bg, var(--dark-band));
    color: var(--on-dark);
}

.mw-section-brand {
    padding-top: 96px;
    padding-bottom: 96px;
    background-color: var(--brand-band-bg, var(--primary));
    color: var(--on-primary);
}

.mw-section-brand .mw-btn {
    background-color: var(--brand-btn-bg, #111111);
    color: var(--brand-btn-text, #FFDB2E);
}

.mw-section-brand .mw-btn:hover {
    background-color: var(--accent, #29271E);
    color: var(--brand-btn-text, #FFDB2E);
}

.mw-section-brand .mw-btn-alt {
    border-color: var(--on-primary);
    color: var(--on-primary);
}

.mw-section-dark .mw-title,
.mw-on-dark .mw-title {
    color: var(--on-dark);
}

.mw-section-dark .mw-eyebrow,
.mw-on-dark .mw-eyebrow {
    color: var(--on-dark-muted);
}

.mw-section-dark .mw-btn-alt,
.mw-on-dark .mw-btn-alt {
    border-color: var(--on-dark);
    color: var(--on-dark);
}

.mw-section-dark .mw-card,
.mw-on-dark .mw-card {
    background-color: var(--surface);
    color: var(--text);
    border-color: var(--border);
}

.mw-section-dark .mw-card .text-muted,
.mw-on-dark .mw-card .text-muted {
    color: var(--text-muted) !important;
}

@media (max-width: 768px) {

    .mw-section,
    .mw-section-alt,
    .mw-section-dark,
    .mw-section-brand {
        padding-top: 64px;
        padding-bottom: 64px;
    }
}

.mw-card:not([class*="row"]):not([class*="grid"]):not([class*="horizontal"]):not([class*="list"]):not([class*="side"]):not([class*="split"]):not([class*="wide"]):not([class*="inline"])>.mw-media:first-child {
    width: calc(100% + 2 * var(--mw-card-pad, 0px));
    max-width: none
}


/* ===== header ===== */
#site-header .mw-btn {
    border: none;
    text-decoration: none;
    cursor: pointer;
}

#site-header .mw-btn:focus-visible {
    outline: 2px solid #29271E;
    outline-offset: 2px;
}

/* ===== hero ===== */
.hero-block {
    background-color: var(--dark-band, #1A150D);
    position: relative;
    overflow: hidden
}

.hero-block::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.07;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='98' viewBox='0 0 56 98'%3E%3Cpath d='M28 66L0 50V16L28 0l28 16v34L28 66zM28 98L0 82V48l28 16 28-16v34L28 98z' fill='none' stroke='%23ffffff' stroke-width='1'/%3E%3C/svg%3E");
    background-size: 56px 98px;
    background-repeat: repeat
}

.hero-block .hero-media-wrapper {
    position: relative
}

.hero-block .hero-play-circle {
    box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.18)
}

.hero-block .hero-chip {
    animation: heroFloat 4s ease-in-out infinite alternate
}

.hero-block .hero-chip-bottom {
    animation-delay: 2s
}

@keyframes heroFloat {
    0% {
        transform: translateY(0)
    }

    100% {
        transform: translateY(-6px)
    }
}

@media(max-width:767px) {
    .hero-block .hero-chip {
        position: static;
        margin-top: 12px;
        display: inline-flex;
        width: 100%
    }

    .hero-block .hero-media-wrapper {
        display: flex;
        flex-direction: column;
        gap: 8px
    }
}

/* ===== study-case ===== */
.study-case-block .sc-tab-btn {
    background-color: var(--surface);
    color: var(--text-muted);
}

.study-case-block .sc-tab-btn:hover {
    border-color: var(--text);
    color: var(--text);
}

.study-case-block .sc-tab-btn.active {
    background-color: var(--accent);
    color: var(--on-accent);
    border-color: var(--accent);
}

.study-case-block .sc-tab-btn.active .sc-dot {
    background-color: var(--primary);
}

.study-case-block .sc-panel {
    transition: transform 0.2s ease;
}

.study-case-block .sc-panel.active {
    display: block;
}

.study-case-block .sc-arm-group {
    transform-origin: 230px 130px;
}

@media (max-width: 767px) {
    .study-case-block .sc-diagram-wrap {
        height: 220px;
    }
}

/* ===== free-audit ===== */
.audit-block {
    background-color: var(--surface-alt);
    color: var(--text);
    font-family: var(--font-family-base, 'Roboto', sans-serif);
    position: relative;
    overflow: hidden;
}

.audit-block .audit-line {
    display: inline-block;
    width: 32px;
    height: 2px;
    background-color: var(--primary);
}

.audit-block .audit-card {
    background-color: var(--surface);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.audit-block .audit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 28px -8px rgba(44, 38, 29, 0.08);
}

.audit-block .audit-icon-box {
    color: var(--primary-text);
}

.audit-block .audit-cta {
    background-color: var(--primary);
    color: var(--on-primary);
    border: 1px solid var(--primary);
    text-decoration: none;
}

.audit-block .audit-cta:hover {
    background-color: var(--primary-hover);
    color: var(--on-primary);
}

@media (max-width: 767px) {
    .audit-block .audit-action-box {
        flex-direction: column;
    }

    .audit-block .audit-cta {
        width: 100%;
    }
}

/* ===== dictionary ===== */
.dictionary-block .js-dict-filter {
    background-color: rgba(17, 17, 17, 0.08);
    color: #111111;
    border: 1px solid rgba(17, 17, 17, 0.15);
}

.dictionary-block .js-dict-filter:hover {
    background-color: rgba(17, 17, 17, 0.16);
}

.dictionary-block .js-dict-filter.active {
    background-color: #111111;
    color: #FFDB2E;
    border-color: #111111;
}

.dictionary-block .dictionary-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 24px -8px rgba(44, 38, 29, 0.12);
}

@media (max-width: 767px) {
    .dictionary-block .grid {
        grid-template-columns: 1fr;
    }
}

/* ===== contractor-questions ===== */
.contractor-questions-block {
    position: relative;
    overflow: hidden;
}

.contractor-questions-block .contractor-tab {
    border: 1px solid var(--border);
    background-color: var(--bg);
    color: var(--text-muted);
    cursor: pointer;
    user-select: none;
}

.contractor-questions-block .contractor-tab:hover {
    border-color: var(--accent);
    color: var(--text);
}

.contractor-questions-block .contractor-tab.is-active {
    background-color: var(--accent);
    border-color: var(--accent);
    color: var(--on-accent);
}

.contractor-questions-block .contractor-tab.is-active .contractor-tab-dot {
    background-color: var(--primary);
}

.contractor-questions-block .contractor-card {
    box-shadow: 0 10px 25px -5px rgba(44, 38, 29, 0.05), 0 8px 10px -6px rgba(44, 38, 29, 0.02);
    border: 1px solid var(--border);
    height: 100%;
}

.contractor-questions-block .contractor-card:hover {
    box-shadow: 0 20px 30px -10px rgba(44, 38, 29, 0.10);
    border-color: var(--accent);
}

.contractor-questions-block .contractor-card.is-hidden {
    display: none;
}

@media (max-width: 767px) {
    .contractor-questions-block .contractor-grid {
        grid-template-columns: 1fr;
    }

    .contractor-questions-block .contractor-action-banner {
        flex-direction: column;
        text-align: center;
    }
}

/* ===== journal-grid ===== */
.journal-grid-block {
    overflow-wrap: anywhere;
}

.journal-grid-block .mw-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.journal-grid-block .mw-card:hover {
    transform: translateY(-4px);
}

@media (max-width: 767px) {
    .journal-grid-block .grid {
        grid-template-columns: 1fr;
    }
}

/* ===== knowledge-grid ===== */
.mi-knowledge .mi-card {
    box-shadow: 0 10px 25px -5px rgba(44, 38, 29, 0.05), 0 8px 10px -6px rgba(44, 38, 29, 0.02);
    transition: transform 250ms ease, box-shadow 250ms ease;
}

.mi-knowledge .mi-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 30px -10px rgba(44, 38, 29, 0.10);
}

@media (max-width: 767px) {
    .mi-knowledge h2 {
        font-size: 16px;
        line-height: 1.3;
    }

    .mi-knowledge h3 {
        font-size: 14px;
        line-height: 1.35;
    }
}

/* ===== footer ===== */
.mateintent-footer {
    overflow-wrap: anywhere;
}

.mateintent-footer-disclaimer {
    position: relative;
}

.mateintent-footer-link:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ===== PAGE: privacy ===== */
#privacy-content.policy-content{max-width:100%;margin:0 auto;padding:32px 20px 48px;color:var(--text,#2C261D);background:transparent;overflow-wrap:anywhere;word-break:normal;box-sizing:border-box}#privacy-content .policy-header{margin-bottom:28px;border-bottom:1px solid var(--border,#E4DFD8);padding-bottom:20px}#privacy-content .policy-meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;font-size:13px;color:var(--text-muted,#72695A);margin:0 0 14px 0}#privacy-content .meta-divider{color:var(--border,#E4DFD8)}#privacy-content .policy-section{margin-bottom:28px}#privacy-content .policy-section-heading{font-size:16px;line-height:1.25;font-weight:700;color:var(--text,#2C261D);margin:24px 0 12px 0}#privacy-content .policy-subheading{font-size:14px;line-height:1.3;font-weight:600;color:var(--accent-text,#29271E);margin:16px 0 8px 0}#privacy-content p{font-size:15px;line-height:1.65;color:var(--text,#2C261D);margin:0 0 14px 0}#privacy-content ul{list-style-type:disc;padding-left:22px;margin:0 0 16px 0}#privacy-content li{font-size:15px;line-height:1.6;color:var(--text,#2C261D);margin-bottom:8px}#privacy-content li strong{color:var(--accent-text,#29271E)}#privacy-content .policy-contact-list{list-style:none;padding-left:0;margin:12px 0 0 0}#privacy-content .policy-contact-list li{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-bottom:10px}#privacy-content .policy-link{color:var(--primary-text,#29271E);text-decoration:underline;text-underline-offset:3px;font-weight:500;transition:color 150ms ease}#privacy-content .policy-link:hover,#privacy-content .policy-link:focus{color:var(--primary-hover,#FFD405)}@media(min-width:768px){#privacy-content.policy-content{padding:48px 32px 72px}#privacy-content .policy-section-heading{font-size:24px;line-height:1.25;margin:32px 0 14px 0}#privacy-content .policy-subheading{font-size:18px;line-height:1.35;margin:20px 0 10px 0}#privacy-content p,#privacy-content li{font-size:16px;line-height:1.7}}

/* ===== PAGE: terms ===== */
#privacy-content.policy-content { max-width: 860px; margin: 0 auto; padding: 40px 24px 64px; color: var(--text, #2C261D); overflow-wrap: anywhere; word-break: break-word; font-family: 'Roboto', sans-serif; line-height: 1.6; } #privacy-content.policy-content h2 { color: var(--text, #2C261D); font-size: 16px; line-height: 1.25; font-weight: 700; margin-top: 28px; margin-bottom: 12px; } #privacy-content.policy-content h3 { color: var(--text, #2C261D); font-size: 14px; line-height: 1.3; font-weight: 600; margin-top: 20px; margin-bottom: 8px; } #privacy-content.policy-content p { color: var(--text-muted, #72695A); font-size: 15px; margin-bottom: 16px; line-height: 1.6; } #privacy-content.policy-content ul { list-style-type: disc; padding-left: 20px; margin-bottom: 20px; } #privacy-content.policy-content li { color: var(--text-muted, #72695A); font-size: 15px; margin-bottom: 8px; line-height: 1.55; } #privacy-content.policy-content a { color: var(--primary-text, #29271E); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; transition: color 0.15s ease; } #privacy-content.policy-content a:hover, #privacy-content.policy-content a:focus { color: var(--primary-hover, #FFD405); } @media (min-width: 768px) { #privacy-content.policy-content { padding: 64px 32px 96px; } #privacy-content.policy-content h2 { font-size: 24px; margin-top: 36px; margin-bottom: 16px; } #privacy-content.policy-content h3 { font-size: 18px; margin-top: 24px; margin-bottom: 10px; } #privacy-content.policy-content p { font-size: 16px; margin-bottom: 20px; } #privacy-content.policy-content li { font-size: 16px; margin-bottom: 10px; } }

/* ===== PAGE: disclaimer ===== */
.policy-content { color: var(--text, #2C261D); font-family: 'Roboto', sans-serif; line-height: 1.65; overflow-wrap: anywhere; word-break: break-word; } .policy-content h2 { color: var(--primary-text, #29271E); font-size: 16px; font-weight: 700; line-height: 1.25; margin-top: 2rem; margin-bottom: 0.75rem; letter-spacing: -0.01em; border-bottom: 1px solid var(--border, #E4DFD8); padding-bottom: 0.5rem; } @media (min-width: 768px) { .policy-content h2 { font-size: 24px; margin-top: 2.5rem; margin-bottom: 1rem; } } .policy-content h2:first-of-type { margin-top: 0; } .policy-content p { color: var(--text, #2C261D); font-size: 15px; line-height: 1.65; margin-bottom: 1rem; } @media (min-width: 768px) { .policy-content p { font-size: 16px; line-height: 1.7; margin-bottom: 1.25rem; } } .policy-content ul { list-style-type: disc; margin-left: 1.25rem; margin-bottom: 1.25rem; padding-left: 0.5rem; } .policy-content li { color: var(--text, #2C261D); font-size: 14px; line-height: 1.6; margin-bottom: 0.5rem; } @media (min-width: 768px) { .policy-content li { font-size: 15px; margin-bottom: 0.625rem; } } .policy-content strong { color: var(--primary-text, #29271E); font-weight: 700; } .policy-content a { color: var(--primary-text, #29271E); text-decoration: underline; text-underline-offset: 3px; font-weight: 500; transition: color 150ms ease; } .policy-content a:hover, .policy-content a:focus { color: var(--primary-hover, #FFD405); }

/* ===== PAGE: journal ===== */
.mw-journal-listing .filter-btn-active {
  background-color: var(--accent);
  color: var(--on-accent);
  border: 1px solid var(--accent);
}
.mw-journal-listing .filter-btn-inactive {
  background-color: var(--surface);
  color: var(--text-muted);
  border-color: var(--border);
}
.mw-journal-listing .filter-btn-inactive:hover {
  color: var(--text);
  border-color: var(--accent);
}
@media (max-width: 767px) {
  .mw-journal-listing .js-journal-card {
    flex-direction: column;
  }
}

/* ===== PAGE: knowledge-base ===== */
.kb-section .kb-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .kb-section .kb-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
  }
  .kb-section .kb-col-stagger:nth-child(even) {
    transform: translateY(32px);
  }
}

@media (min-width: 1024px) {
  .kb-section .kb-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;
  }
  .kb-section .kb-col-stagger:nth-child(3n + 2) {
    transform: translateY(52px);
  }
}

@media (max-width: 767px) {
  .kb-section .kb-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .kb-section .kb-col-stagger {
    transform: none !important;
  }
}

.kb-section .js-filter-btn.active {
  background-color: var(--accent) !important;
  color: var(--on-accent) !important;
  border-color: var(--accent) !important;
}

.kb-section .mw-card {
  box-shadow: 0 10px 25px -5px rgba(44, 38, 29, 0.05), 0 8px 10px -6px rgba(44, 38, 29, 0.02);
}

.kb-section .mw-card:hover {
  box-shadow: 0 20px 30px -10px rgba(44, 38, 29, 0.10);
}

/* ===== PAGE: about ===== */
.about-page-block { word-break: break-word; overflow-wrap: anywhere; } .about-page-block img { max-width: 100%; height: auto; } @media (max-width: 767px) { .about-page-block .grid { grid-template-columns: 1fr; } }

/* ===== PAGE: contact ===== */
.contact-info-block .contact-card {
  min-height: 280px;
  transition: transform 250ms ease, box-shadow 250ms ease;
}
.contact-info-block .contact-card:hover {
  transform: translateY(-4px);
}
.contact-info-block .contact-link:hover span {
  text-decoration: underline;
}
@media (max-width: 767px) {
  .contact-info-block .contact-card {
    min-height: auto;
  }
}

/* ===== PAGE: solidworks-mate-review ===== */
.sw-guide-block .active-tab {
  background-color: var(--accent) !important;
  color: #ffffff !important;
  border-color: var(--accent) !important;
}

.sw-guide-block .mw-card {
  box-shadow: 0 10px 25px -5px rgba(44, 38, 29, 0.05);
}

.sw-guide-block .mw-card:hover {
  box-shadow: 0 20px 30px -10px rgba(44, 38, 29, 0.10);
  transform: translateY(-4px);
}

.sw-scenario-block .active-scenario-tab {
  background-color: var(--accent) !important;
  color: #ffffff !important;
  border-color: var(--accent) !important;
}

@media (max-width: 767px) {
  .sw-guide-block .js-guide-cards-container {
    grid-template-columns: 1fr;
  }
  .sw-scenario-block .grid {
    grid-template-columns: 1fr;
  }
}

/* ===== PAGE TEMPLATE: journal ===== */
#site-header .mw-btn {
    border: none;
    text-decoration: none;
    cursor: pointer;
}

#site-header .mw-btn:focus-visible {
    outline: 2px solid #29271E;
    outline-offset: 2px;
}

.hero-block {
    background-color: var(--dark-band, #1A150D);
    position: relative;
    overflow: hidden;
}

.hero-block::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.07;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='98' viewBox='0 0 56 98'%3E%3Cpath d='M28 66L0 50V16L28 0l28 16v34L28 66zM28 98L0 82V48l28 16 28-16v34L28 98z' fill='none' stroke='%23ffffff' stroke-width='1'/%3E%3C/svg%3E");
    background-size: 56px 98px;
    background-repeat: repeat;
}

.journal-detail-page {
    overflow-wrap: anywhere;
}

.journal-detail-page .info-column-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.journal-detail-page .info-column-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px -5px rgba(44, 38, 29, 0.08);
}

.journal-detail-page .article-framed-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.journal-detail-page .takeaways-list li {
    list-style: none;
}

.journal-detail-page .article-content-list li {
    list-style: none;
}

.journal-detail-page .faq-accordion .js-faq-toggle:focus-visible {
    outline: 2px solid #29271E;
    outline-offset: -2px;
}

.journal-detail-page .cta-form-container input::placeholder {
    color: #72695A;
    opacity: 1;
}

.mateintent-footer {
    overflow-wrap: anywhere;
}

.mateintent-footer-disclaimer {
    position: relative;
}

.mateintent-footer-link:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 767px) {
    .journal-detail-page .info-column-card {
        width: 100%;
    }
}

/* ===== PAGE TEMPLATE: knowledge-base ===== */
.hero-block {
    background-color: var(--dark-band, #1A150D);
    position: relative;
    overflow: hidden;
}

.hero-block::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.07;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='98' viewBox='0 0 56 98'%3E%3Cpath d='M28 66L0 50V16L28 0l28 16v34L28 66zM28 98L0 82V48l28 16 28-16v34L28 98z' fill='none' stroke='%23ffffff' stroke-width='1'/%3E%3C/svg%3E");
    background-size: 56px 98px;
    background-repeat: repeat;
}

#site-header .mw-btn {
    border: none;
    text-decoration: none;
    cursor: pointer;
}

#site-header .mw-btn:focus-visible {
    outline: 2px solid #29271E;
    outline-offset: 2px;
}

.mateintent-footer {
    overflow-wrap: anywhere;
}

.mateintent-footer-disclaimer {
    position: relative;
}

.mateintent-footer-link:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.kb-article-container {
    overflow-wrap: anywhere;
}

.kb-article-container .kb-prose-content p {
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.kb-article-container .kb-prose-content h2 {
    overflow-wrap: anywhere;
}

.kb-article-container .kb-takeaways-list li {
    overflow-wrap: anywhere;
}

.js-faq-trigger:focus-visible {
    outline: 2px solid #29271E;
    outline-offset: -2px;
}

@media (max-width: 767px) {
    .kb-author-box {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-eyebrow-wrap {
        flex-wrap: wrap;
    }
}

/* mobile-text-guard */
@media (max-width: 767px) {
  h1, h2, h3, h4, h5, h6, p, li, dt, dd, blockquote, figcaption, td, th, label {
    overflow-wrap: anywhere;
  }
  a, button, .btn {
    overflow-wrap: anywhere;
    white-space: normal;
  }
  img, video, iframe {
    max-width: 100%;
  }
}
