:root {
    --bg-primary: #0F1117;
    --bg-secondary: #161922;
    --bg-surface: rgba(255, 255, 255, 0.05);
    --bg-surface-elevated: rgba(255, 255, 255, 0.08);
    --bg-overlay: rgba(15, 17, 23, 0.85);
    --text-primary: #F8FAFC;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;
    --primary-default: #BE123C;
    --primary-hover: #E11D48;
    --primary-active: #9F1239;
    --primary-text: #FFFFFF;
    --primary-subtle: rgba(190, 18, 60, 0.15);
    --accent-default: #E11D48;
    --accent-secondary: #FB7185;
    --accent-warm: #F97316;
    --accent-glow: rgba(225, 29, 72, 0.25);
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-glass: rgba(255, 255, 255, 0.14);
    --border-accent: rgba(225, 29, 72, 0.4);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Charis SIL', serif;
    background-color: var(--bg-primary);
    color: var(--text-secondary);
    line-height: 1.65;
    margin: 0;
    padding: 0;
}

.text-muted {
    color: #94A3B8 !important;
}

.glass-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
}

.btn-primary-custom {
    background-color: var(--primary-default);
    color: #FFFFFF;
    border: 1px solid var(--accent-default);
    box-shadow: 0 4px 14px rgba(190, 18, 60, 0.35);
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.btn-primary-custom:hover {
    background-color: var(--primary-hover);
    border-color: var(--accent-secondary);
}

.btn-secondary-custom {
    background-color: var(--bg-surface);
    color: var(--text-primary);
    border: 1px solid var(--border-glass);
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn-secondary-custom:hover {
    background-color: var(--bg-surface-elevated);
    color: #FFFFFF;
}

/* ===== header ===== */
.header-archivereason-nav {
    font-family: 'Charis SIL', serif;
}

.header-archivereason-nav a {
    text-decoration: none;
}

/* ===== every_archive_has_a_reason ===== */
.archive-hero-block {
    font-family: 'Charis SIL', serif;
}

.archive-hero-block .archive-hero-glow-1 {
    background: radial-gradient(circle, rgba(190, 18, 60, 0.18) 0%, rgba(15, 17, 23, 0) 70%);
}

.archive-hero-block .archive-hero-glow-2 {
    background: radial-gradient(circle, rgba(225, 29, 72, 0.12) 0%, rgba(15, 17, 23, 0) 70%);
}

.archive-hero-block .archive-card-backdrop {
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.archive-hero-block .archive-card-backdrop:hover {
    border-color: rgba(225, 29, 72, 0.35);
    box-shadow: 0 12px 36px 0 rgba(0, 0, 0, 0.5), 0 0 20px 0 rgba(225, 29, 72, 0.18);
}

.archive-hero-block .hero-primary-btn:hover {
    color: #FFFFFF;
}

.archive-hero-block .hero-secondary-btn:hover {
    color: #FFFFFF;
}

@media (max-width: 767px) {
    .archive-hero-block h1 {
        hyphens: auto;
        overflow-wrap: anywhere;
    }

    .archive-hero-block p {
        overflow-wrap: anywhere;
    }
}

/* ===== qualification ===== */
.ar-qualification-section {
    font-family: 'Charis SIL', serif;
}

.ar-qualification-section h2,
.ar-qualification-section h3 {
    font-family: 'Charis SIL', serif;
    letter-spacing: -0.01em;
}

.ar-qualification-section .ar-qual-card {
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.ar-qualification-section .ar-qual-card--positive:hover {
    border-color: rgba(16, 185, 129, 0.35);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), 0 0 20px rgba(16, 185, 129, 0.1);
}

.ar-qualification-section .ar-qual-card--negative:hover {
    border-color: rgba(225, 29, 72, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), 0 0 20px rgba(225, 29, 72, 0.15);
}

.ar-qualification-section .ar-qual-list li {
    overflow-wrap: anywhere;
}

@media (max-width: 767px) {
    .ar-qualification-section h2 {
        hyphens: auto;
    }

    .ar-qualification-section h3 {
        hyphens: auto;
    }
}

/* ===== tools_and_platforms ===== */
.arch-tools-section .arch-card:hover {
    border-color: rgba(225, 29, 72, 0.4);
    box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.5), 0 0 24px 0 rgba(225, 29, 72, 0.25);
}

.arch-tools-section .js-filter-btn.active-filter {
    background-color: #BE123C;
    border-color: #E11D48;
    color: #FFFFFF;
}

.arch-tools-section .js-tool-card {
    min-height: 240px;
}

/* ===== founder_message ===== */
.founder-message-section {
    font-family: 'Charis SIL', Georgia, serif;
}

.founder-message-section .founder-card {
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37), 0 0 16px 0 rgba(225, 29, 72, 0.12);
}

.founder-message-section .founder-text p {
    word-wrap: break-word;
    overflow-wrap: anywhere;
    hyphens: auto;
}

@media (max-width: 767px) {
    .founder-message-section .founder-visual {
        width: 100%;
    }

    .founder-message-section .founder-content {
        width: 100%;
    }
}

/* ===== completed_projects ===== */
.completed-projects-section {
    font-family: 'Charis SIL', serif;
}

.completed-projects-section .js-phase-btn.active-tab {
    background-color: rgba(190, 18, 60, 0.35);
    border-color: #BE123C;
    color: #FFFFFF;
}

.completed-projects-section a {
    text-decoration: none;
}

/* ===== ownership_stories ===== */
.ownership-stories-section {
    background-color: #0F1117;
    color: #F8FAFC;
    font-family: 'Charis SIL', serif;
}

.ownership-stories-section h2,
.ownership-stories-section h3 {
    overflow-wrap: anywhere;
}

.ownership-stories-section a {
    text-decoration: none;
}

/* ===== forgotten_context ===== */
.forgotten-context-section {
    font-family: 'Charis SIL', serif;
}

.forgotten-context-section .forgotten-card {
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.forgotten-context-section .forgotten-card:hover {
    border-color: rgba(225, 29, 72, 0.4);
    box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.5), 0 0 24px 0 rgba(225, 29, 72, 0.2);
}

@media (max-width: 767px) {
    .forgotten-context-section {
        hyphens: auto;
        overflow-wrap: anywhere;
    }
}

/* ===== multiple_versions ===== */
.multiple-versions-block {
    font-family: 'Charis SIL', Georgia, serif;
}

.multiple-versions-block .js-tab-btn.active {
    border-color: #BE123C;
    background-color: rgba(190, 18, 60, 0.15);
    color: #F8FAFC;
}

.multiple-versions-block .js-tab-btn.active div>div.w-8 {
    background-color: rgba(190, 18, 60, 0.3);
    color: #FB7185;
}

/* ===== long_term_access ===== */
.long-term-access-section {
    font-family: 'Charis SIL', serif;
}

.long-term-access-section .access-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.long-term-access-section .access-card:hover {
    border-color: rgba(225, 29, 72, 0.4);
    box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.5), 0 0 20px 0 rgba(225, 29, 72, 0.2);
}

.long-term-access-section .icon-wrapper {
    width: 44px;
    height: 44px;
    border-radius: 9999px;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.long-term-access-section .action-btn-primary {
    background-color: #BE123C;
    color: #FFFFFF;
    border: 1px solid #E11D48;
    box-shadow: 0 4px 14px rgba(190, 18, 60, 0.35);
}

.long-term-access-section .action-btn-primary:hover {
    background-color: #E11D48;
    color: #FFFFFF;
}

.long-term-access-section .action-btn-secondary {
    background-color: rgba(255, 255, 255, 0.06);
    color: #F8FAFC;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.long-term-access-section .action-btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.14);
    color: #FFFFFF;
}

@media (max-width: 767px) {
    .long-term-access-section .grid {
        grid-template-columns: 1fr;
    }
}

/* ===== decision_questions ===== */
.decision-questions-block .js-question-card {
    min-height: 220px;
}

.decision-questions-block .js-question-card.is-hidden {
    display: none;
}

/* ===== featured_case ===== */
.featured-case-section .js-case-tab.active {
    background-color: #BE123C;
    border-color: #E11D48;
    color: #FFFFFF;
}

.featured-case-section .js-tab-panel.hidden {
    display: none;
}

.featured-case-section a {
    text-decoration: none;
}

/* ===== project_stories ===== */
.archive-stories-grid .story-card {
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37), 0 0 16px 0 rgba(225, 29, 72, 0.08);
}

.archive-stories-grid .story-card:hover {
    box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.5), 0 0 24px 0 rgba(225, 29, 72, 0.22);
    border-color: rgba(225, 29, 72, 0.4);
}

@media (max-width: 767px) {
    .archive-stories-grid .story-card {
        width: 100%;
    }
}

/* ===== decision_base ===== */
.decision-base-section {
    font-family: 'Charis SIL', serif;
}

.decision-base-section .decision-glass-card {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.decision-base-section .decision-glass-card:hover {
    border-color: rgba(225, 29, 72, 0.4);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4), 0 0 16px 0 rgba(225, 29, 72, 0.15);
}

.decision-base-section .decision-consultation-box {
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.decision-base-section input::placeholder,
.decision-base-section textarea::placeholder {
    color: #64748B;
    opacity: 1;
}

@media (max-width: 767px) {
    .decision-base-section .decision-watermark {
        display: none;
    }
}

/* ===== archive_documentation ===== */
.grid-archive-section {
    font-family: 'Charis SIL', Georgia, serif;
}

.grid-archive-section .grid-archive-card {
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.grid-archive-section .grid-archive-card:hover {
    border-color: rgba(225, 29, 72, 0.4);
    box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.5), 0 0 24px 0 rgba(225, 29, 72, 0.25);
}

/* ===== newsletter_subscription ===== */
.newsletter-archive-block .newsletter-card {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.newsletter-archive-block .newsletter-input::placeholder {
    color: #94A3B8;
    opacity: 1;
}

.newsletter-archive-block .newsletter-input::-webkit-input-placeholder {
    color: #94A3B8;
    opacity: 1;
}

.newsletter-archive-block .newsletter-input::-moz-placeholder {
    color: #94A3B8;
    opacity: 1;
}

.newsletter-archive-block .newsletter-input:-ms-input-placeholder {
    color: #94A3B8;
    opacity: 1;
}

.newsletter-archive-block .newsletter-submit-btn:focus {
    outline: 2px solid #FB7185;
    outline-offset: 2px;
}

/* ===== footer ===== */
.arch-footer {
    position: relative;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.arch-footer .arch-footer-link {
    text-decoration: none;
}

.arch-footer .arch-footer-link:hover {
    text-decoration: underline;
}

.arch-footer .arch-share-btn {
    text-decoration: none;
}

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

    .arch-footer h3 {
        margin-top: 0.5rem;
    }
}

.header-archivereason-nav {
    font-family: 'Charis SIL', serif;
}

.header-archivereason-nav a {
    text-decoration: none;
}

.cat-hero-section .cat-hero-glow {
    background: radial-gradient(circle, rgba(190, 18, 60, 0.22) 0%, rgba(15, 17, 23, 0) 70%);
}

.bento-archive-section .bento-mosaic-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.bento-archive-section .bento-card-featured {
    grid-column: span 2;
}

.bento-archive-section .aspect-4-3 {
    aspect-ratio: 4 / 3;
    width: 100%;
}

.bento-archive-section .bento-card {
    box-sizing: border-box;
}

.bento-archive-section .bento-card:hover {
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4), 0 0 16px 0 rgba(225, 29, 72, 0.18);
}

.bento-archive-section .bento-action-btn {
    text-decoration: none;
}

.arch-footer {
    position: relative;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.arch-footer .arch-footer-link {
    text-decoration: none;
}

.arch-footer .arch-footer-link:hover {
    text-decoration: underline;
}

.arch-footer .arch-share-btn {
    text-decoration: none;
}

@media (max-width: 1023px) {
    .bento-archive-section .bento-mosaic-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bento-archive-section .bento-card-featured {
        grid-column: span 2;
    }
}

@media (max-width: 767px) {
    .bento-archive-section .bento-mosaic-grid {
        grid-template-columns: 1fr;
    }

    .bento-archive-section .bento-card-featured {
        grid-column: span 1;
    }

    .cat-hero-section h1 {
        hyphens: auto;
        overflow-wrap: anywhere;
    }

    .cat-hero-section p,
    .bento-archive-section p {
        overflow-wrap: anywhere;
    }

    .arch-footer .grid {
        grid-template-columns: 1fr;
    }

    .arch-footer h3 {
        margin-top: 0.5rem;
    }
}


/* ===== PAGE: about ===== */
.about-content-section{font-family:'Charis SIL',serif;box-sizing:border-box;}.about-content-section *{box-sizing:border-box;}.about-content-section .js-tab-btn:focus{outline:2px solid #E11D48;outline-offset:2px;}@media (max-width:767px){.about-content-section .grid{grid-template-columns:1fr;}}

/* ===== PAGE: privacy ===== */
.privacy-policy-section .privacy-content-card { word-break: break-word; overflow-wrap: anywhere; }
.privacy-policy-section a { transition: color 0.15s ease-in-out; }
.privacy-policy-section li { min-width: 0; }

/* ===== PAGE: terms ===== */
.terms-content-section {
  font-family: 'Charis SIL', serif;
  overflow-wrap: anywhere;
}
.terms-content-section .active-nav-item {
  background: rgba(190, 18, 60, 0.18);
  color: #F8FAFC;
  border-left: 3px solid #E11D48;
  padding-left: 0.65rem;
  font-weight: 700;
}
.terms-content-section input::placeholder {
  color: #94A3B8;
  opacity: 0.8;
}
@media (max-width: 767px) {
  .terms-content-section .terms-nav-box {
    position: static;
  }
}

/* ===== PAGE: disclaimer ===== */
.arch-disclaimer { font-family: 'Charis SIL', serif; }
.arch-disclaimer h2, .arch-disclaimer h3 { letter-spacing: -0.01em; }
.arch-disclaimer p, .arch-disclaimer span, .arch-disclaimer a { overflow-wrap: anywhere; }
@media (max-width: 767px) {
  .arch-disclaimer .grid { grid-template-columns: 1fr; }
  .arch-disclaimer h2 { font-size: 16px; line-height: 1.25; }
  .arch-disclaimer h3 { font-size: 14px; line-height: 1.25; }
}

.archival-comment-card {
    font-family: 'Charis SIL', Georgia, serif;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.archival-comment-card:hover {
    border-color: rgba(225, 29, 72, 0.4);
    box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.5), 0 0 20px 0 rgba(225, 29, 72, 0.18);
}

.comment-avatar {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    object-fit: cover;
    aspect-ratio: 1 / 1;
    display: block;
}

.comment-author-name {
    font-family: 'Charis SIL', Georgia, serif;
}

.comment-body {
    color: #CBD5E1;
}

.comment-action-btn {
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.archival-reply-card {
    font-family: 'Charis SIL', Georgia, serif;
    box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.25);
}

.archival-reply-card::before {
    content: '';
    position: absolute;
    left: -16px;
    top: 22px;
    width: 12px;
    height: 2px;
    background: rgba(225, 29, 72, 0.35);
    border-radius: 9999px;
}

.archival-reply-card:hover {
    border-color: rgba(255, 255, 255, 0.18);
}

.reply-avatar {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    object-fit: cover;
    aspect-ratio: 1 / 1;
    display: block;
}

.reply-author-name {
    font-family: 'Charis SIL', Georgia, serif;
}

.reply-body {
    color: #CBD5E1;
}


/* ===== PAGE TEMPLATE: stories ===== */
.header-archivereason-nav {
    font-family: 'Charis SIL', serif;
}

.header-archivereason-nav a {
    text-decoration: none;
}

.detail-hero-section {
    font-family: 'Charis SIL', serif;
}

.detail-hero-section .detail-hero-glow-1 {
    background: radial-gradient(circle, rgba(190, 18, 60, 0.18) 0%, rgba(15, 17, 23, 0) 70%);
}

.detail-hero-section .detail-hero-glow-2 {
    background: radial-gradient(circle, rgba(225, 29, 72, 0.12) 0%, rgba(15, 17, 23, 0) 70%);
}

.detail-main-layout {
    font-family: 'Charis SIL', serif;
}

.detail-main-layout .detail-sharp-media-frame img {
    border-radius: 0;
}

.detail-main-layout .timeline-step-card {
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.detail-main-layout .timeline-step-card:hover {
    border-color: rgba(225, 29, 72, 0.35);
    box-shadow: 0 10px 30px 0 rgba(0, 0, 0, 0.4), 0 0 16px 0 rgba(225, 29, 72, 0.15);
}

.detail-main-layout .related-card {
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.detail-main-layout .related-card:hover {
    box-shadow: 0 10px 30px 0 rgba(0, 0, 0, 0.4), 0 0 16px 0 rgba(225, 29, 72, 0.15);
}

.detail-main-layout .faq-item-accordion button[aria-expanded="true"] .js-accordion-icon {
    transform: rotate(180deg);
}

.arch-footer {
    position: relative;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.arch-footer .arch-footer-link {
    text-decoration: none;
}

.arch-footer .arch-footer-link:hover {
    text-decoration: underline;
}

.arch-footer .arch-share-btn {
    text-decoration: none;
}

@media (max-width: 767px) {
    .detail-hero-section h1 {
        hyphens: auto;
        overflow-wrap: anywhere;
    }

    .detail-main-layout h2,
    .detail-main-layout h3 {
        hyphens: auto;
        overflow-wrap: anywhere;
    }

    .detail-timeline-container {
        padding-left: 0;
    }

    .arch-footer .grid {
        grid-template-columns: 1fr;
    }

    .arch-footer h3 {
        margin-top: 0.5rem;
    }
}

/* ===== PAGE TEMPLATE: decisions ===== */
.header-archivereason-nav {
    font-family: 'Charis SIL', serif;
}

.header-archivereason-nav a {
    text-decoration: none;
}

.detail-hero-section {
    font-family: 'Charis SIL', serif;
}

.detail-hero-section .detail-hero-glow-1 {
    background: radial-gradient(circle, rgba(190, 18, 60, 0.18) 0%, rgba(15, 17, 23, 0) 70%);
}

.detail-hero-section .detail-hero-glow-2 {
    background: radial-gradient(circle, rgba(225, 29, 72, 0.12) 0%, rgba(15, 17, 23, 0) 70%);
}

.detail-main-layout {
    font-family: 'Charis SIL', serif;
}

.detail-main-layout .detail-sharp-media-frame img {
    border-radius: 0;
}

.detail-main-layout .timeline-step-card {
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.detail-main-layout .timeline-step-card:hover {
    border-color: rgba(225, 29, 72, 0.35);
    box-shadow: 0 10px 30px 0 rgba(0, 0, 0, 0.4), 0 0 16px 0 rgba(225, 29, 72, 0.15);
}

.detail-main-layout .related-card {
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.detail-main-layout .related-card:hover {
    box-shadow: 0 10px 30px 0 rgba(0, 0, 0, 0.4), 0 0 16px 0 rgba(225, 29, 72, 0.15);
}

.detail-main-layout .faq-item-accordion button[aria-expanded="true"] .js-accordion-icon {
    transform: rotate(180deg);
}

.arch-footer {
    position: relative;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.arch-footer .arch-footer-link {
    text-decoration: none;
}

.arch-footer .arch-footer-link:hover {
    text-decoration: underline;
}

.arch-footer .arch-share-btn {
    text-decoration: none;
}

@media (max-width: 767px) {
    .detail-hero-section h1 {
        hyphens: auto;
        overflow-wrap: anywhere;
    }

    .detail-main-layout h2,
    .detail-main-layout h3 {
        hyphens: auto;
        overflow-wrap: anywhere;
    }

    .detail-timeline-container {
        padding-left: 0;
    }

    .arch-footer .grid {
        grid-template-columns: 1fr;
    }

    .arch-footer h3 {
        margin-top: 0.5rem;
    }
}

/* ===== PAGE TEMPLATE: archive ===== */
.header-archivereason-nav {
    font-family: 'Charis SIL', serif;
}

.header-archivereason-nav a {
    text-decoration: none;
}

.detail-hero-section {
    font-family: 'Charis SIL', serif;
}

.detail-hero-section .detail-hero-glow-1 {
    background: radial-gradient(circle, rgba(190, 18, 60, 0.18) 0%, rgba(15, 17, 23, 0) 70%);
}

.detail-hero-section .detail-hero-glow-2 {
    background: radial-gradient(circle, rgba(225, 29, 72, 0.12) 0%, rgba(15, 17, 23, 0) 70%);
}

.detail-main-layout {
    font-family: 'Charis SIL', serif;
}

.detail-main-layout .detail-sharp-media-frame img {
    border-radius: 0;
}

.detail-main-layout .timeline-step-card {
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.detail-main-layout .timeline-step-card:hover {
    border-color: rgba(225, 29, 72, 0.35);
    box-shadow: 0 10px 30px 0 rgba(0, 0, 0, 0.4), 0 0 16px 0 rgba(225, 29, 72, 0.15);
}

.detail-main-layout .related-card {
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.detail-main-layout .related-card:hover {
    box-shadow: 0 10px 30px 0 rgba(0, 0, 0, 0.4), 0 0 16px 0 rgba(225, 29, 72, 0.15);
}

.detail-main-layout .faq-item-accordion button[aria-expanded="true"] .js-accordion-icon {
    transform: rotate(180deg);
}

.arch-footer {
    position: relative;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.arch-footer .arch-footer-link {
    text-decoration: none;
}

.arch-footer .arch-footer-link:hover {
    text-decoration: underline;
}

.arch-footer .arch-share-btn {
    text-decoration: none;
}

@media (max-width: 767px) {
    .detail-hero-section h1 {
        hyphens: auto;
        overflow-wrap: anywhere;
    }

    .detail-main-layout h2,
    .detail-main-layout h3 {
        hyphens: auto;
        overflow-wrap: anywhere;
    }

    .detail-timeline-container {
        padding-left: 0;
    }

    .arch-footer .grid {
        grid-template-columns: 1fr;
    }

    .arch-footer h3 {
        margin-top: 0.5rem;
    }
}

/* 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%;
  }
}
