.tenses-page {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.tenses-hero {
    padding: 0.5rem 0 0.25rem;
    text-align: center;
}

.tenses-kicker {
    margin: 0 0 0.35rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64748b;
}

.tenses-title {
    margin: 0;
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.08;
    color: #0f172a;
}

.tenses-subtitle {
    margin: 0.7rem 0 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: #334155;
}

.tenses-model {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.9rem;
}

.tenses-model-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #475569;
}

.tenses-model-divider {
    color: #94a3b8;
    font-weight: 600;
}

.tenses-model-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.25rem;
    padding: 0.35rem 0.9rem;
    border: 1px solid #bfdbfe;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.tenses-model-trigger:hover,
.tenses-model-trigger:focus {
    background: #dbeafe;
    color: #1e3a8a;
    border-color: #93c5fd;
}

.tenses-surface {
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.08);
}

.tenses-surface .card-body {
    padding: 1.25rem;
}

.tenses-section-head {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    margin-bottom: 1rem;
}

.tenses-section-kicker {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64748b;
}

.tenses-section-title {
    margin: 0;
    font-size: 1.55rem;
    line-height: 1.2;
    color: #0f172a;
}

.tenses-accordion .accordion-item {
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    overflow: hidden;
    background: #fff;
}

.tenses-accordion .accordion-item + .accordion-item {
    margin-top: 1rem;
}

.tenses-accordion .accordion-button {
    padding: 1rem 1.1rem;
    font-weight: 700;
    line-height: 1.35;
    color: #1f2937;
    background: #f8fafc;
}

.tenses-accordion .accordion-button:not(.collapsed) {
    color: #1e3a8a;
    background: #eff6ff;
    box-shadow: inset 0 -1px 0 rgba(30, 64, 175, 0.08);
}

.tenses-accordion .accordion-button:focus {
    box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.22);
}

.tenses-accordion .accordion-body {
    padding: 1.15rem;
}

.tenses-copy {
    color: #334155;
}

.tenses-copy a {
    color: #2563eb;
}

.tenses-copy p:last-child,
.tenses-copy ul:last-child,
.tenses-copy figure:last-child {
    margin-bottom: 0;
}

.tenses-bullets {
    margin: 0;
    padding-left: 1.25rem;
    color: #1f2937;
}

.tenses-bullets li + li {
    margin-top: 0.55rem;
}

.tenses-conversation span {
    display: block;
}

.tenses-illustration {
    margin: 0;
}

.tenses-illustration img {
    width: 100%;
    border: 1px solid #dbe4f0;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
}

.tenses-illustration figcaption {
    margin-top: 0.6rem;
    font-size: 0.9rem;
    color: #64748b;
}

.tenses-video-stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tenses-video-card {
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 1rem;
    background: #fff;
}

.tenses-video-card--positive {
    background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
}

.tenses-video-card--negative {
    background: linear-gradient(135deg, #fff7ed 0%, #ffffff 100%);
}

.tenses-video-card--question {
    background: linear-gradient(135deg, #fefce8 0%, #ffffff 100%);
}

.tenses-video-head {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 0.9rem;
}

.tenses-video-icon {
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 0.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.tenses-video-card--positive .tenses-video-icon {
    background: #dcfce7;
    color: #15803d;
}

.tenses-video-card--negative .tenses-video-icon {
    background: #ffedd5;
    color: #c2410c;
}

.tenses-video-card--question .tenses-video-icon {
    background: #fef3c7;
    color: #b45309;
}

.tenses-video-title {
    margin: 0;
    font-size: 1.15rem;
    color: #0f172a;
}

.tenses-video-note {
    margin: 0.2rem 0 0;
    color: #475569;
}

.tenses-video {
    width: 100%;
    border-radius: 1rem;
    border: 1px solid #dbe4f0;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
    background: #0f172a;
}

.tenses-form-stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tenses-form-card {
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 1rem;
}

.tenses-form-card--positive {
    background: #ecfccb;
}

.tenses-form-card--negative {
    background: #ffedd5;
}

.tenses-form-card--question {
    background: #fef9c3;
}

.tenses-form-title {
    margin: 0 0 0.15rem;
    font-size: 1.15rem;
    color: #0f172a;
}

.tenses-form-note {
    margin: 0 0 0.85rem;
    color: #475569;
}

.tenses-diagram {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.tenses-diagram-line {
    display: grid;
    grid-template-columns: minmax(84px, auto) 24px minmax(96px, auto) 24px minmax(132px, 1fr);
    align-items: center;
    gap: 0.75rem;
}

.tenses-diagram-divider {
    height: 1px;
    background: rgba(15, 23, 42, 0.12);
}

.tenses-pronouns {
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: right;
    font-size: 1.05rem;
    line-height: 1.35;
    color: #1f2937;
}

.tenses-pronouns--third {
    color: #dc2626;
}

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

.tenses-diagram-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    font-size: 1.35rem;
}

.tenses-diagram-word {
    font-size: 1.1rem;
    color: #1f2937;
}

.tenses-diagram-word--center {
    text-align: center;
}

.tenses-diagram-word small {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.82rem;
    color: #475569;
}

.tenses-inline-link {
    color: #2563eb;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid #bfdbfe;
}

.tenses-inline-link:hover {
    color: #1d4ed8;
    border-color: transparent;
}

.tenses-pattern-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 700;
    color: #0f172a;
}

.tenses-pattern-title span:not(.tenses-pattern-sign) {
    min-width: 0;
}

.tenses-pattern-sign {
    color: #94a3b8;
}

.tenses-pattern-content {
    color: #334155;
}

.tenses-pattern-content .row > div + div {
    border-left: 1px solid #e2e8f0;
}

.tenses-pattern-content p {
    margin-bottom: 0;
    font-size: 0.92rem;
    line-height: 1.45;
}

@media (max-width: 991.98px) {
    .tenses-surface .card-body {
        padding: 1.05rem;
    }

    .tenses-diagram-line {
        grid-template-columns: 1fr;
        justify-items: start;
        gap: 0.35rem;
    }

    .tenses-pronouns,
    .tenses-pronouns--center,
    .tenses-diagram-word--center {
        text-align: left;
    }

    .tenses-diagram-arrow {
        transform: rotate(90deg);
        margin-left: 0.2rem;
    }

    .tenses-pattern-content .row > div + div {
        border-left: 0;
        border-top: 1px solid #e2e8f0;
        padding-top: 0.85rem;
        margin-top: 0.85rem;
    }
}

@media (max-width: 575.98px) {
    .tenses-title {
        font-size: 1.85rem;
    }

    .tenses-subtitle {
        font-size: 1rem;
    }

    .tenses-model {
        align-items: stretch;
    }

    .tenses-model-trigger {
        width: 100%;
    }

    .tenses-model-divider {
        display: none;
    }

    .tenses-video-head {
        align-items: flex-start;
    }
}
