/* ============================================
   About Page Styles
   ============================================ */

/* Page Hero */
.about-hero {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: 80px;
}

.about-hero .page-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-color: var(--primary-dark);
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
}

.about-hero .page-hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
}

.hero-en-label {
    font-family: var(--font-en);
    font-size: 14px;
    letter-spacing: 6px;
    color: var(--gold);
    display: block;
    margin-bottom: 12px;
}

.about-hero .page-hero-title {
    font-size: 40px;
    font-weight: 300;
    color: var(--white);
    margin-bottom: 16px;
}

.about-hero .page-hero-title strong {
    font-weight: 700;
}

.about-hero .page-hero-desc {
    font-size: 16px;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
}

/* Sub Navigation */
.sub-nav {
    background: var(--white);
    border-bottom: 1px solid #F0F0F0;
    z-index: 90;
    transition: box-shadow 0.3s ease;
}

.sub-nav.sticky {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.sub-nav-inner {
    display: flex;
    gap: 0;
    justify-content: center;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.sub-nav-link {
    padding: 16px 28px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    white-space: nowrap;
    position: relative;
    transition: var(--transition);
}

.sub-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-accent);
    transition: width 0.3s ease;
}

.sub-nav-link:hover { color: var(--primary-accent); }

.sub-nav-link.active {
    color: var(--primary-accent);
    font-weight: 600;
}

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

/* ===== Intro Blocks (01~04) ===== */
.intro-block {
    background: var(--white);
}

.intro-block-alt {
    background: var(--bg-page);
}

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

.intro-content-reverse {
    direction: rtl;
}

.intro-content-reverse > * {
    direction: ltr;
}

.intro-num {
    font-family: var(--font-en);
    font-size: 14px;
    font-weight: 500;
    color: var(--gold);
    letter-spacing: 2px;
    display: block;
    margin-bottom: 12px;
}

.intro-heading {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1.4;
}

.intro-text p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 12px;
}

.intro-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 28px;
}

.intro-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--bg-page);
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.4;
}

.intro-block-alt .intro-feature-item {
    background: var(--white);
}

.intro-feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary-accent);
    box-shadow: var(--shadow-sm);
}

.intro-block-alt .intro-feature-icon {
    background: var(--bg-page);
}

.intro-img {
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--bg-light);
}

.intro-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== Doctor Section ===== */
.about-doctor-section {
    background: var(--bg-page);
}

/* ===== Subjects Section ===== */
.subjects-section {
    background: var(--white);
}

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

.subject-card {
    background: var(--bg-page);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-align: center;
    transition: var(--transition);
}

.subject-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.subject-img {
    height: 200px;
    background: var(--bg-light);
    overflow: hidden;
}

.subject-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.subject-card:hover .subject-img img {
    transform: scale(1.05);
}

.subject-card h4 {
    font-size: 17px;
    font-weight: 700;
    padding: 16px 16px 6px;
    color: var(--text-primary);
}

.subject-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.7;
    padding: 0 16px 20px;
}

.subject-card-wide {
    grid-column: span 1;
}

/* On 3-col grid with 5 items, last 2 center */
.subjects-grid {
    justify-items: center;
}

/* Subjects Text Cards */
.subjects-text-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.subject-text-card {
    background: var(--bg-page);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    border: 1px solid #F0F0F0;
    transition: var(--transition);
}

.subject-text-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
    border-color: var(--secondary-light);
}

.subject-text-card h4 {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-accent);
    display: inline-block;
}

.subject-text-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ===== Tour Section ===== */
.tour-section {
    background: var(--bg-page);
}

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

.tour-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.tour-card:hover {
    box-shadow: var(--shadow-md);
}

.tour-img {
    height: 200px;
    background: var(--bg-light);
    overflow: hidden;
}

.tour-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tour-card h4 {
    padding: 16px;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    color: var(--text-primary);
}

/* ===== Location Section ===== */
.location-section {
    background: var(--white);
}

.location-map-full {
    width: 100%;
    height: 400px;
    background: var(--bg-light);
    margin-bottom: 40px;
    overflow: hidden;
}

.location-map-full iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.location-address-block {
    padding: 32px 0 40px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 40px;
}

.location-address-main {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.location-address-sub {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.location-tel {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-accent);
}

/* Transport Grid */
.transport-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding-bottom: 20px;
}

.transport-card {
    text-align: center;
    padding: 40px 24px;
}

.transport-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #8B7355;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--white);
}

.transport-emoji {
    font-size: 36px;
    line-height: 1;
    filter: grayscale(1) brightness(10);
}

.transport-card h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.transport-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ===== Responsive: Tablet ===== */
@media (max-width: 1024px) {
    .intro-content-grid {
        gap: 40px;
    }

    .subjects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .subjects-text-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tour-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .transport-grid {
        gap: 16px;
    }
}

/* ===== Responsive: Mobile ===== */
@media (max-width: 768px) {
    .about-hero {
        height: 280px;
        padding-top: 64px;
    }

    .about-hero .page-hero-title {
        font-size: 28px;
    }

    .sub-nav.sticky {
        top: 64px;
    }

    .sub-nav-link {
        padding: 14px 16px;
        font-size: 13px;
    }

    .intro-content-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .intro-content-reverse {
        direction: ltr;
    }

    .intro-heading {
        font-size: 22px;
    }

    .intro-features {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .intro-feature-item {
        flex-direction: column;
        text-align: center;
        padding: 12px;
        gap: 8px;
        font-size: 12px;
    }

    .intro-feature-icon {
        width: 36px;
        height: 36px;
    }

    .intro-feature-icon svg {
        width: 20px;
        height: 20px;
    }

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

    .subjects-text-grid {
        grid-template-columns: 1fr;
    }

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

    .location-map-full {
        height: 280px;
    }

    .location-address-main {
        font-size: 18px;
    }

    .transport-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .transport-card {
        padding: 24px;
        border-bottom: 1px solid var(--border);
    }

    .transport-card:last-child {
        border-bottom: none;
    }
}
