/* 
  Chiro Design System - Complete 
*/
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');
@import url('https://fonts.googleapis.com/css2?family=Gowun+Batang&display=swap');

:root {
    /* 
      Color Palette - design.md 기반
      "빛이 스며드는 따뜻함" / "현관의 온기"
    */

    /* Text & Emphasis (Navy - 안정, 본문 강조에만 제한적 사용) */
    --color-navy: #3D4F5F;
    /* Softer, warmer navy */
    --color-navy-deep: #2C3E50;

    /* Warm Accent (옐로우/오렌지 계열 - 빛, 희망, 생명) */
    --color-warm-cream: #F5E6C8;
    /* Soft cream */
    --color-warm-gold: #E8D4A8;
    /* Muted gold for highlights */
    --color-warm-orange: #E8A87C;
    /* Soft orange accent */
    --color-accent-light: #FFF9F0;
    /* Very subtle warm highlight */

    /* Symbolic Red (상징적 지점에서만 - 예수성심) */
    --color-symbolic-red: #B8756F;
    /* Muted, warm terracotta red */

    /* Brand Color (User Request) */
    --color-brand-orange: #FFB300;
    /* C0 M30 Y100 K0 - Life, Energy */

    /* Backgrounds (Ivory/Warm White - 편안함, 현관) */
    --color-bg-base: #FFFCF7;
    /* Warm ivory */
    --color-bg-warm: #F9F5EF;
    /* Soft warm beige */
    --color-bg-card: #FFFFFF;
    --color-bg-accent: #FDF8F3;
    /* Cream tint for sections */

    /* Text Colors */
    --color-text-main: #4A4A4A;
    /* Softer than pure black */
    --color-text-sub: #6B6B6B;
    --color-text-muted: #9A9A9A;

    /* Fonts */
    --font-main: 'Pretendard', -apple-system, sans-serif;
    --font-serif: 'Gowun Batang', serif;

    /* Radius & Spacing */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 40px;
    --radius-pill: 9999px;

    --container-width: 1200px;
    --header-height: 80px;
}

/* Base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-bg-base);
    color: var(--color-text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
    line-height: 1.3;
    font-weight: 700;
    word-break: keep-all;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.2s;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
}

.serif-font {
    font-family: var(--font-serif);
}

.text-center {
    text-align: center;
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hidden-mobile {
    display: block;
}

@media (max-width: 768px) {
    .hidden-mobile {
        display: none;
    }
}

.img-placeholder {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-navy);
    /* Using navy for visibility */
    opacity: 0.5;
    /* Subtle look */
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    opacity: 0;
    /* JS triggers animation class */
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Header */
.header {
    height: var(--header-height);
    background-color: rgba(255, 252, 247, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* Navigation Links */
.nav {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-sub);
    padding: 8px 0;
    position: relative;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--color-navy);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-warm-gold);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    padding: 80px 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-layout.reverse {
    direction: rtl;
    /* Simple way to swap, text align needs reset */
}

.hero-layout.reverse>* {
    direction: ltr;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: var(--color-warm-cream);
    color: var(--color-navy);
    border-radius: var(--radius-pill);
    font-size: 0.9rem;
    font-weight: 600;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #1a1a1a;
}

.hero-title em {
    font-style: normal;
    color: var(--color-navy);
    position: relative;
    display: inline-block;
}

/* Underline effect for emphasis */
.hero-title em::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 12px;
    background-color: var(--color-warm-gold);
    opacity: 0.6;
    z-index: -1;
    border-radius: 4px;
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--color-text-sub);
    max-width: 480px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--color-brand-orange);
    color: white;
    box-shadow: 0 4px 14px rgba(255, 179, 0, 0.3);
}

.btn-primary:hover {
    background-color: #E6A100;
    /* Darker shade of FFB300 */
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 160, 0, 0.4);
}

.btn-secondary {
    background-color: white;
    color: var(--color-navy);
    border: 1px solid var(--color-warm-cream);
}

.btn-secondary:hover {
    background-color: var(--color-accent-light);
    border-color: var(--color-warm-orange);
}

.btn-kakao {
    background-color: #FEE500;
    color: #3C1E1E;
    box-shadow: 0 4px 14px rgba(254, 229, 0, 0.4);
    border: none;
}

.btn-kakao:hover {
    background-color: #FDD835;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(254, 229, 0, 0.5);
}



/* Not Section */
.not-section {
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--color-text-main);
}

.not-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.not-card {
    background: var(--color-bg-base);
    padding: 40px 24px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--color-text-sub);
    transition: 0.3s;
}

.not-card:hover {
    background: var(--color-accent-light);
    color: var(--color-navy);
    transform: translateY(-5px);
}

/* Identity Section */
.identity-section {
    padding: 100px 0;
}

.identity-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.values-list {
    list-style: none;
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.values-list li strong {
    display: block;
    font-size: 1.4rem;
    color: var(--color-navy);
    margin-bottom: 8px;
}

.values-list li p {
    color: var(--color-text-sub);
    font-size: 1.05rem;
}

/* Empathy Section */
.empathy-section {
    padding: 120px 0;
}

.quote-text {
    font-size: 2.4rem;
    line-height: 1.5;
    color: #333;
}

.desc-text {
    font-size: 1.3rem;
    color: var(--color-text-sub);
    max-width: 700px;
    margin: 0 auto;
}

/* Structure Section */
.structure-section {
    padding: 100px 0;
}

.structure-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    align-items: stretch;
}

.structure-item {
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    flex: 1;
    max-width: 380px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.structure-item h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--color-navy);
}

.structure-item.icon-connect {
    flex: 0 0 auto;
    background: none;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #DDD;
}

.schedule-box {
    background: #F8F9FA;
    border: 1px solid #EEE;
    border-radius: var(--radius-md);
    padding: 30px;
    text-align: center;
    max-width: 600px;
    margin: 50px auto 0;
}

/* Expect & Target */
.check-list {
    list-style: none;
    margin-top: 24px;
}

.check-list li {
    padding-left: 30px;
    position: relative;
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.check-list li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: var(--color-warm-orange);
}

/* Target Section */
.target-section {
    padding: 100px 0;
    margin: 40px 0;
}

.target-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 40px;
}

.tag {
    background: white;
    padding: 12px 24px;
    border-radius: var(--radius-pill);
    border: 1px solid #EAEAEA;
    color: var(--color-text-sub);
    font-size: 1rem;
}

/* Footer */
.footer {
    background-color: #F5F5F3;
    padding: 80px 0 40px;
    margin-top: 80px;
    border-top: 1px solid #EBEBEB;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
}

.footer-brand .logo-text {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--color-navy);
    display: block;
    margin-bottom: 10px;
}

.footer-info {
    text-align: right;
    color: var(--color-text-sub);
}

.bible-quote {
    margin-top: 20px;
    font-family: var(--font-serif);
    color: #888;
    font-style: italic;
}

.footer-bottom {
    text-align: center;
    font-size: 0.9rem;
    color: #AAA;
    border-top: 1px solid #DDD;
    padding-top: 20px;
}

/* Mobile Responsive */
@media (max-width: 900px) {

    .hero-layout,
    .identity-layout,
    .hero-layout.reverse {
        grid-template-columns: 1fr;
        gap: 40px;
        direction: ltr;
        /* Reset reverse direction for mobile stacking */
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .not-grid {
        grid-template-columns: 1fr 1fr;
    }

    .structure-grid {
        flex-direction: column;
        align-items: center;
    }

    .structure-item.icon-connect {
        transform: rotate(90deg);
        margin: -10px 0;
    }

    .footer-content {
        flex-direction: column;
        gap: 40px;
    }

    .footer-info {
        text-align: left;
    }
}

/* ========================================
   SECONDARY PAGES STYLES
   ======================================== */

/* Page Hero */
.page-hero {
    padding: 100px 0 60px;
    background-color: var(--color-bg-accent);
    text-align: center;
}

.page-title {
    font-size: 2.8rem;
    margin: 16px 0;
    color: var(--color-text-main);
}

.page-subtitle {
    font-size: 1.15rem;
    color: var(--color-text-sub);
}

/* Content Sections */
.content-section {
    padding: 80px 0;
}

.content-section.alt-bg {
    background-color: var(--color-bg-warm);
}

.content-block {
    max-width: 800px;
    margin: 0 auto;
}

.content-block+.content-block {
    margin-top: 60px;
}

.section-title-sm {
    font-size: 1.8rem;
    margin-bottom: 24px;
    color: var(--color-navy);
}

.content-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text-sub);
    margin-bottom: 24px;
}

/* Highlight Box */
.highlight-box {
    background: linear-gradient(135deg, var(--color-accent-light), var(--color-warm-cream));
    padding: 32px;
    border-radius: var(--radius-lg);
    text-align: center;
    margin: 32px 0;
}

.highlight-text {
    font-size: 1.4rem;
    color: var(--color-navy);
    margin: 0;
}

.highlight-sub {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-top: 12px;
}

/* Feature List */
.feature-list {
    list-style: none;
    display: grid;
    gap: 24px;
    margin-top: 32px;
}

.feature-list li {
    background: white;
    padding: 24px;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.feature-list li strong {
    display: block;
    font-size: 1.1rem;
    color: var(--color-navy);
    margin-bottom: 8px;
}

.feature-list li p {
    color: var(--color-text-sub);
    margin: 0;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 32px;
}

.feature-card {
    background: white;
    padding: 28px;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.feature-card h4 {
    font-size: 1.1rem;
    color: var(--color-navy);
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--color-text-sub);
    font-size: 0.95rem;
    margin: 0;
}

/* Role List */
.role-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 32px;
}

.role-item {
    background: white;
    padding: 24px 28px;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--color-warm-gold);
}

.role-item h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.role-item p {
    color: var(--color-text-sub);
    margin: 0;
}

/* Organization Table */
.org-table {
    margin-top: 32px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.org-row {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1.5fr;
    padding: 16px 24px;
    background: white;
    border-bottom: 1px solid #F0F0F0;
}

.org-row.org-header {
    background: var(--color-navy);
    color: white;
    font-weight: 600;
}

.org-row:last-child {
    border-bottom: none;
}

/* Collapsible */
.collapsible {
    background: white;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.collapsible-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    cursor: pointer;
    list-style: none;
}

.collapsible-header::-webkit-details-marker {
    display: none;
}

.collapsible-header h3 {
    margin: 0;
    font-size: 1.1rem;
}

.toggle-icon {
    font-size: 1.5rem;
    color: var(--color-text-muted);
    transition: transform 0.3s;
}

details[open] .toggle-icon {
    transform: rotate(45deg);
}

.collapsible-content {
    padding: 0 24px 24px;
    color: var(--color-text-sub);
}

.collapsible-content ul {
    margin: 16px 0 0 20px;
}

.collapsible-content li {
    margin-bottom: 8px;
}

/* Page CTA */
.page-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--color-accent-light), var(--color-warm-cream));
}

/* Schedule Page Specific */
.schedule-highlight {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: white;
    padding: 48px;
    border-radius: var(--radius-xl);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
}

.schedule-main h2 {
    font-size: 1.4rem;
    color: var(--color-navy);
    margin-bottom: 16px;
}

.schedule-time {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-text-main);
    margin: 8px 0;
}

.schedule-location h3 {
    font-size: 1rem;
    color: var(--color-text-muted);
    margin-bottom: 12px;
}

.schedule-location p {
    font-size: 1.2rem;
    margin: 4px 0;
}

.address {
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

/* Timeline */
.timeline {
    margin-top: 40px;
}

.timeline-item {
    display: flex;
    gap: 24px;
    padding: 24px 0;
    border-bottom: 1px solid #EBEBEB;
}

.timeline-item:last-child {
    border-bottom: none;
}

.timeline-marker {
    width: 40px;
    height: 40px;
    background: var(--color-warm-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--color-navy);
    flex-shrink: 0;
}

.timeline-content h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.timeline-content p {
    color: var(--color-text-sub);
    margin: 0;
}

/* Method Grid */
.method-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 32px;
}

.method-card {
    background: white;
    padding: 24px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.method-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 12px;
}

.method-card h4 {
    font-size: 1rem;
    color: var(--color-navy);
    margin-bottom: 8px;
}

.method-card p {
    font-size: 0.9rem;
    color: var(--color-text-sub);
    margin: 0;
}

/* Expect List */
.expect-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.expect-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: white;
    padding: 20px 24px;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.expect-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.check-icon {
    color: var(--color-warm-orange);
    font-weight: 700;
}

.expect-item p {
    margin: 0;
}

/* FAQ Styles */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.faq-details {
    width: 100%;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.05rem;
    list-style: none;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--color-text-muted);
    transition: transform 0.3s;
}

.faq-details[open] .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 24px 24px;
    color: var(--color-text-sub);
    line-height: 1.8;
}

.faq-answer p {
    margin-bottom: 16px;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.quote-inline {
    display: block;
    padding: 16px;
    background: var(--color-accent-light);
    border-radius: var(--radius-sm);
    color: var(--color-navy);
    margin: 16px 0;
}

.simple-list {
    margin: 16px 0 16px 24px;
}

.simple-list li {
    margin-bottom: 8px;
}

/* Meaning List (Haetsal) */
.meaning-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 32px;
}

.meaning-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    background: white;
    padding: 32px 24px;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.meaning-icon {
    font-size: 2.5rem;
}

.meaning-item h4 {
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.meaning-item p {
    color: var(--color-text-sub);
    margin: 0;
    font-size: 0.95rem;
}

/* Relationship Box */
.relationship-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin-top: 40px;
    padding: 32px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.rel-item {
    text-align: center;
    flex: 1;
}

.rel-item h4 {
    font-size: 1.1rem;
    color: var(--color-navy);
    margin-bottom: 8px;
}

.rel-item p {
    color: var(--color-text-sub);
    margin: 0;
    font-size: 0.95rem;
}

.rel-arrow {
    font-size: 1.5rem;
    color: var(--color-warm-gold);
}

/* Contact Info Box (Haetsal) */
.contact-info-box {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 32px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: white;
    padding: 24px;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.contact-icon {
    font-size: 1.8rem;
}

.contact-item h4 {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 4px;
    font-weight: 500;
}

.contact-item p {
    color: var(--color-text-main);
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
}

.contact-item a {
    color: var(--color-navy);
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* Mobile Menu Button Base Styles */
.mobile-menu-btn {
    display: none;
    /* Hidden on desktop */
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    margin-left: 12px;
}

.mobile-menu-btn .bar {
    width: 100%;
    height: 2.5px;
    background-color: var(--color-navy);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Hamburger Animation */
.mobile-menu-btn.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-btn.active .bar:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* News Section */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 32px;
}

.news-card {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.news-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    height: 100%;
    text-align: left;
}

.news-source {
    font-size: 0.85rem;
    color: var(--color-warm-gold);
    font-weight: 700;
    margin-bottom: 8px;
    display: block;
}

.news-title {
    font-size: 1.15rem;
    margin: 0 0 12px 0;
    line-height: 1.4;
    color: var(--color-navy);
    font-weight: 700;
}

.news-desc {
    font-size: 0.95rem;
    color: var(--color-text-sub);
    margin: 0 0 20px 0;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.news-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-navy);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.news-link:hover {
    text-decoration: underline;
    color: var(--color-warm-gold);
}


/* Mobile Responsive for Secondary Pages */
@media (max-width: 900px) {
    .page-title {
        font-size: 2rem;
    }

    .feature-grid,
    .method-grid,
    .meaning-list,
    .contact-info-box,
    .news-grid,
    .expect-list {
        grid-template-columns: 1fr;
    }

    .schedule-highlight {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .org-row {
        grid-template-columns: 1fr;
        gap: 8px;
        text-align: center;
    }

    .relationship-box {
        flex-direction: column;
    }

    .rel-arrow {
        transform: rotate(90deg);
    }

    /* Mobile Header Layout */
    .header .container {
        padding: 0 16px;
    }

    .cta-small {
        margin-left: auto;
    }

    .cta-small .btn {
        padding: 6px 14px !important;
        font-size: 0.85rem !important;
    }

    /* Mobile Navigation */
    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #FFFCF7;
        flex-direction: column;
        align-items: center;
        padding: 30px 0;
        gap: 24px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        border-top: 1px solid rgba(0, 0, 0, 0.05);

        /* Hidden by default in mobile */
        display: none;
    }

    .nav.active {
        display: flex;
        animation: slideDown 0.3s ease forwards;
    }

    /* Show Hamburger on Mobile */
    .mobile-menu-btn {
        display: flex;
    }
}





/* Logo Showcase (Haetsal) */
.logo-showcase {
    display: flex;
    justify-content: center;
    margin-bottom: 32px;
}

.hatsal-logo {
    max-width: 800px;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

/* Photo Slideshow */
.photo-slideshow {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: var(--radius-xl);
}

.slideshow-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 3s ease-in-out;
}

.slideshow-image.active {
    opacity: 1;
    z-index: 2;
}

.slideshow-image.fadeOut {
    opacity: 0;
    z-index: 1;
}

/* ===================================
   Benefit Cards Swiper
   =================================== */

.benefits-section {
    position: relative;
}

.section-header {
    margin-bottom: 48px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-sub);
    margin-top: 16px;
}

/* Cards Container - Mobile First */
.benefits-cards-wrapper {
    position: relative;
}

.benefits-cards-container {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 16px;
    padding: 24px 16px;
    margin: 0 -16px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.benefits-cards-container::-webkit-scrollbar {
    display: none;
}

/* Individual Card */
.benefit-card {
    flex: 0 0 85%;
    scroll-snap-align: center;
    background: white;
    padding: 32px 24px;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.card-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-brand-orange);
    background: rgba(255, 179, 0, 0.1);
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    margin-bottom: 16px;
    align-self: flex-start;
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.card-title {
    font-family: 'Gowun Batang', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 12px;
    line-height: 1.4;
}

.card-description {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text-main);
    flex-grow: 1;
}

/* Pagination Dots */
.card-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
}

.card-pagination .pagination-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-text-muted);
    opacity: 0.3;
    cursor: pointer;
    transition: all 0.3s ease;
}

.card-pagination .pagination-dot.active {
    width: 24px;
    border-radius: var(--radius-pill);
    background: var(--color-brand-orange);
    opacity: 1;
}

/* Desktop: 3-Column Grid */
@media (min-width: 768px) {
    .benefits-cards-container {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
        overflow-x: visible;
        padding: 0;
        margin: 0;
    }

    .benefit-card {
        flex: none;
        max-height: none;
        min-height: 320px;
        overflow-y: visible;
        scroll-snap-align: none;
    }

    .benefit-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    }

    .card-pagination {
        display: none;
    }

    .card-nav-buttons {
        display: none;
    }
}


/* Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .benefits-cards-container {
        scroll-behavior: auto;
    }

    .benefit-card {
        transition: none;
    }
}

/* Mobile Cards - Horizontal Scroll with Compact Height */
@media (max-width: 767px) {
    body {
        overflow-y: auto;
    }

    main {
        height: auto;
        overflow-y: auto;
    }

    .benefits-section {
        height: auto;
        padding: 4px 0 clamp(16px, 3vw, 24px) 0;
        background-color: var(--color-bg-warm);
    }

    .benefits-cards-wrapper {
        position: relative;
    }

    .benefits-cards-container {
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        gap: clamp(12px, 3vw, 20px);
        padding: 0 clamp(12px, 3vw, 20px) clamp(16px, 4vw, 24px) clamp(12px, 3vw, 20px);
        margin: 0 calc(clamp(12px, 3vw, 20px) * -1);
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .benefits-cards-container::-webkit-scrollbar {
        display: none;
    }

    .benefit-card {
        flex: 0 0 85%;
        scroll-snap-align: center;
        scroll-snap-stop: always;
        background: white;
        padding: clamp(24px, 6vw, 40px);
        border-radius: var(--radius-lg);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
        /* Height calculation: 100dvh (dynamic viewport height)
           100dvh: full device viewport height
           - 80px: header height
           - 20px: top spacing (header to card)
           - 120px: bottom navigation + pagination height
           = 100dvh - 220px
           Using dvh instead of vh to account for mobile browser UI (address bar, etc) */
        height: calc(100dvh - 220px);
        display: flex;
        flex-direction: column;
        overflow-y: auto;
        justify-content: flex-start;
    }

    .benefit-badge {
        display: inline-block;
        font-size: clamp(0.65rem, 2.5vw, 0.8rem);
        font-weight: 600;
        color: var(--color-brand-orange);
        background: rgba(255, 179, 0, 0.1);
        padding: clamp(4px, 1.5vw, 8px) clamp(8px, 3vw, 14px);
        border-radius: var(--radius-pill);
        margin-bottom: clamp(10px, 3vw, 16px);
        align-self: flex-start;
        width: fit-content;
    }

    .benefit-icon {
        font-size: clamp(2.5rem, 10vw, 4rem);
        margin-bottom: clamp(12px, 4vw, 20px);
        line-height: 1;
    }

    .benefit-title {
        font-family: 'Gowun Batang', serif;
        font-size: clamp(1.3rem, 5vw, 1.8rem);
        font-weight: 700;
        color: var(--color-navy);
        margin-bottom: clamp(8px, 2vw, 14px);
        line-height: 1.3;
    }

    .benefit-description {
        font-size: clamp(0.9rem, 3.5vw, 1.1rem);
        line-height: 1.6;
        color: var(--color-text-main);
    }

    .card-pagination {
        position: sticky;
        bottom: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: clamp(6px, 2vw, 10px);
        padding: clamp(12px, 3vw, 20px) clamp(12px, 4vw, 20px);
        background: linear-gradient(to top, white, rgba(255, 255, 255, 0.98));
        z-index: 50;
    }

    .card-pagination .pagination-dot {
        width: clamp(6px, 2vw, 10px);
        height: clamp(6px, 2vw, 10px);
        border-radius: 50%;
        background: var(--color-text-muted);
        opacity: 0.3;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .card-pagination .pagination-dot.active {
        width: clamp(16px, 5vw, 28px);
        border-radius: var(--radius-pill);
        background: var(--color-brand-orange);
        opacity: 1;
    }

    .card-nav-buttons {
        position: fixed;
        top: 50%;
        left: 0;
        right: 0;
        display: flex;
        justify-content: space-between;
        padding: 0 clamp(12px, 3vw, 24px);
        transform: translateY(-50%);
        z-index: 100;
        pointer-events: none;
    }

    .card-nav-btn {
        background: rgba(61, 79, 95, 0.08);
        color: var(--color-navy);
        border: none;
        width: clamp(40px, 10vw, 50px);
        height: clamp(40px, 10vw, 50px);
        border-radius: 50%;
        font-size: clamp(1.2rem, 4vw, 1.6rem);
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.2s ease;
        pointer-events: auto;
        backdrop-filter: blur(4px);
    }

    .card-nav-btn:active {
        transform: scale(0.95);
        background: rgba(61, 79, 95, 0.15);
    }

    .card-nav-btn:disabled {
        opacity: 0.2;
        cursor: not-allowed;
        background: rgba(61, 79, 95, 0.04);
    }

    /* Video card: maximize video visibility */
    .video-card {
        padding: 12px 12px 8px 12px;
        display: flex;
        flex-direction: column;
    }

    .video-card .benefit-badge {
        margin-bottom: 4px;
    }

    .video-card .video-embed-wrapper {
        margin-bottom: 0;
        flex: 1;
    }

    /* Restrict vertical scrolling on mobile landing page only */
    main.landing-page {
        max-height: 100vh;
        overflow: hidden;
    }
}


/* Benefit card aliases (for consistency with HTML) */
.benefit-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-brand-orange);
    background: rgba(255, 179, 0, 0.1);
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    margin-bottom: 16px;
    align-self: flex-start;
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.benefit-title {
    font-family: 'Gowun Batang', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 12px;
    line-height: 1.4;
}

.benefit-description {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text-main);
    flex-grow: 1;
}

/* ===================================
   Video Section
   =================================== */

.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-xl);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    background: linear-gradient(145deg, #F9F5EF, #F5E6C8);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 768px) {
    .video-wrapper {
        max-width: 100%;
        border-radius: var(--radius-lg);
    }
}

/* Video Embed in Cards */
.video-embed-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: var(--color-bg-warm);
    margin-bottom: 16px;
}

.video-embed-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: var(--radius-md);
}