/* about-ita2569 - cloned from about-ita theme */

.about-ita2569-page {
    font-family: 'Sarabun', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

.about-ita2569-page .main-content {
    padding: 40px 0;
}

.about-ita2569-page .page-hero {
    text-align: center;
    margin-bottom: 40px;
    padding: 60px 0;
    background: linear-gradient(135deg, #fef2f2 0%, #fecaca 100%);
    border-radius: 20px;
    border: 1px solid #fca5a5;
}

.about-ita2569-page .page-hero h1 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    color: #dc2626;
    margin-bottom: 16px;
    font-weight: 700;
}

.about-ita2569-page .page-hero p {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: #991b1b;
    max-width: 800px;
    margin: 0 auto;
}

.cross-link-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin: 24px 0 40px;
}

.cross-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.25s ease;
}

.cross-link-btn--legacy {
    background: #fff;
    color: #dc2626;
    border: 2px solid #dc2626;
}

.cross-link-btn--legacy:hover {
    background: #dc2626;
    color: #fff;
}

.cross-link-btn--primary {
    background: linear-gradient(135deg, #dc2626, #8b0000);
    color: #fff;
    border: 2px solid transparent;
}

.cross-link-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(220, 20, 60, 0.25);
}

.alert-box-2569 {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border: 2px solid #f59e0b;
    border-left: 6px solid #d97706;
    border-radius: 14px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 48px;
}

.alert-box-2569 h3 {
    color: #92400e;
    font-size: 1.15rem;
    margin: 0 0 8px;
}

.alert-box-2569 p {
    color: #78350f;
    margin: 0;
    font-size: 1rem;
}

.about-ita2569-page section h2 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    color: #dc2626;
    margin-bottom: 32px;
    text-align: center;
    font-weight: 600;
}

.definition-card-2569 {
    background: #fff;
    padding: 32px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.1);
    border: 1px solid #fecaca;
    border-left: 5px solid #dc2626;
    margin-bottom: 48px;
}

.definition-card-2569 h3 {
    font-size: 1.5rem;
    color: #dc2626;
    margin-bottom: 12px;
}

.definition-card-2569 p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #374151;
}

/* Weight chart */
.weight-section {
    margin-bottom: 56px;
}

.weight-chart-wrap {
    max-width: 720px;
    margin: 0 auto 24px;
}

.weight-bar {
    display: flex;
    height: 48px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.weight-segment {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    min-width: 60px;
}

.weight-segment--iit { background: linear-gradient(135deg, #dc2626, #b91c1c); }
.weight-segment--eit { background: linear-gradient(135deg, #ea580c, #c2410c); }
.weight-segment--oit { background: linear-gradient(135deg, #b91c1c, #7f1d1d); }

.weight-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 28px;
}

.weight-card {
    background: #fff;
    border: 1px solid #fecaca;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 6px 18px rgba(220, 38, 38, 0.08);
    transition: transform 0.25s ease;
}

.weight-card:hover {
    transform: translateY(-4px);
}

.weight-card__pct {
    font-size: 2.5rem;
    font-weight: 700;
    color: #dc2626;
    line-height: 1;
}

.weight-card__label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    margin: 12px 0 6px;
}

.weight-card__sub {
    font-size: 0.9rem;
    color: #6b7280;
}

.weight-note {
    text-align: center;
    color: #6b7280;
    font-size: 0.95rem;
    margin-top: 16px;
}

/* Indicators */
.indicators-2569 {
    margin-bottom: 48px;
}

.indicator-category-2569 {
    margin-bottom: 40px;
}

.indicator-category-2569 h3 {
    font-size: 1.5rem;
    color: #1f2937;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 3px solid #dc2626;
}

.indicators-group-2569 {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.indicator-item-2569 {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: #fff;
    border: 1px solid #fecaca;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.06);
    transition: box-shadow 0.25s ease;
}

.indicator-item-2569:hover {
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.12);
}

.indicator-num-2569 {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #dc2626, #8b0000);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.indicator-body-2569 h4 {
    font-size: 1.15rem;
    color: #1f2937;
    margin: 0 0 6px;
}

.indicator-body-2569 p {
    margin: 0;
    color: #6b7280;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .weight-bar {
        flex-direction: column;
        height: auto;
    }

    .weight-segment {
        min-height: 44px;
        width: 100% !important;
    }

    .cross-link-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .cross-link-btn {
        justify-content: center;
    }
}
