.overview-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 28px;
}

.overview-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 28px;
}

.overview .section-title,
.section.overview .section-title {
    font-size: 28px;
    font-weight: 700;
    color: #0f172a;
}

.overview .section-subtitle,
.section.overview .section-subtitle {
    margin-top: 8px;
    font-size: 15px;
    color: #6b7280;
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: start;
    margin-bottom: 28px;
}

.overview-panel {
    min-height: 260px;
    perspective: 1200px;
}

.flip-card {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 260px;
    perspective: inherit;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 260px;
    border-radius: 16px;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.14);
    overflow: hidden;
    transition: box-shadow 300ms ease, transform 300ms ease;
}

.flip-card-face {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
    box-sizing: border-box;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.flip-card-front {
    color: #ffffff;
    background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%);
    z-index: 2;
    transition: transform 500ms ease, padding 500ms ease;
}

.flip-card.blue .flip-card-front {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
}

.flip-card.sky .flip-card-front {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.flip-card-front .overview-panel-title {
    font-size: 40px;
    font-weight: 800;
    text-align: center;
    color: #ffffff;
    letter-spacing: 0.2px;
    transition: font-size 500ms ease, transform 500ms ease, color 500ms ease;
}

.flip-card-back {
    background: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 96px 24px 28px;
    gap: 18px;
    color: #0f172a;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
    z-index: 1;
    opacity: 0;
    transform: translateY(18px);
    visibility: hidden;
    transition: opacity 500ms ease 200ms, transform 500ms ease 200ms, visibility 0ms linear 200ms;
}

.flip-card:hover .flip-card-inner {
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

.flip-card:hover .flip-card-front,
.flip-card.expanded .flip-card-front {
    padding: 40px 24px 18px;
    align-items: flex-start;
    justify-content: center;
    background: #ffffff;
}

.flip-card:hover .flip-card-front .overview-panel-title,
.flip-card.expanded .flip-card-front .overview-panel-title {
    font-size: 24px;
    transform: translateY(0);
    align-self: auto;
    text-align: center;
    color: #0f172a;
}

.flip-card:hover .flip-card-back,
.flip-card.expanded .flip-card-back {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    transition: opacity 500ms ease 200ms, transform 500ms ease 200ms, visibility 0ms linear 0ms;
}

.flip-card.expanded .flip-card-front {
    background: transparent;
    pointer-events: none;
    z-index: 3;
}

.flip-card.expanded .flip-card-back {
    z-index: 1;
}

.flip-card.sky.expanded .flip-card-front {
    border: 1px solid #fed7aa;
}

.flip-card.sky.expanded .overview-panel-title {
    color: #d97706;
}

.flip-card.blue.expanded .flip-card-front {
    border: 1px solid #bfdbfe;
}

.flip-card.blue.expanded .overview-panel-title {
    color: #1d4ed8;
}

.flip-card.expanded .flip-card-inner {
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

.overview-panel-items {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
}

.overview-panel-item {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.overview-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 13px;
    font-weight: 700;
    background: #f8fafc;
    color: #0f172a;
    white-space: nowrap;
}

.overview-chip i {
    width: 16px;
    height: 16px;
    display: block;
}

.overview-chip.amber {
    background: #fef3c7;
    border-color: #fcd34d;
    color: #b45309;
}

.overview-chip.rose {
    background: #ffe4e6;
    border-color: #fb7185;
    color: #be123c;
}

.overview-chip.blue {
    background: #e0ebff;
    border-color: #93c5fd;
    color: #1d4ed8;
}

.overview-chip.sky {
background: #e0f2fe;
border-color: #7dd3fc;
color: #0369a1;
}

.overview-pill {
flex: 1 1 240px;
text-align: center;
padding: 12px 16px;
border-radius: 999px;
border: 1px solid #e5e7eb;

font-size: 14px;
color: #1f2937;
background: #ffffff;
line-height: 1.6;
}

.overview-objectives {
background: #ffffff;
border-radius: 16px;
box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
border: 1px solid #e2e8f0;
padding: 28px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    padding: 28px;
}

.overview-objectives-heading {

    padding-top: 12px;
    margin-bottom: 18px;
}

.overview-objectives-title {
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
}

.overview-objectives-rows {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.overview-objectives-row {
    display: grid;
    gap: 12px;
}

.overview-objectives-row.cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.overview-objectives-row.cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.overview-objectives-row.cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.overview-objective-item {
    background: #f8fafc;
    border-radius: 12px;
    padding: 16px;
    color: #334155;
    font-size: 14px;
    line-height: 1.7;
    
    font-weight: 700;
    text-align: center;
    box-shadow: inset 0 0 0 0 rgba(0, 0, 0, 0.02);
}

.overview .section-title,
.section.overview .section-title,
.overview-panel-title,
.overview-pill,
.overview-objectives-title,
.overview-objective-item {
    word-break: keep-all;
    overflow-wrap: break-word;
    line-break: strict;
}

.overview-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    padding: 32px;
}

.overview-card-title {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 26px;
    line-height: 1.2;
    text-align: center;
}

.overview-card-title-blue {
    color: #1d4ed8;
}

.overview-card-title-sky {
    color: #0284c7;
}

.overview-items {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.overview-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.overview-badge {
    width: 80px;
    height: 80px;
    border-radius: 999px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.16);
    flex: 0 0 80px;
}

.overview-badge-blue {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.overview-badge-sky {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
}

.overview-badge-rose {
    background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%);
}

.overview-badge-amber {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.overview-icon {
    width: 28px;
    height: 28px;
}

.overview-badge-label {
    font-size: 12px;
    font-weight: 800;
    margin-top: 4px;
}

.overview-item-body {
    flex: 1;
    background: #f8fafc;
    border-radius: 12px;
    padding: 16px;
    color: #334155;
    font-size: 14px;
    line-height: 1.7;
    border: 1px solid #e2e8f0;
    font-weight: bold;
    text-align: center;
}

@media (max-width: 1080px) {
    .overview-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 980px) {
    .overview-objectives-row.cols-3 {
        grid-template-columns: 1fr;
    }

    .overview-objectives-row.cols-2 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .overview-container {
        padding: 0 18px;
    }

    .overview-panel {
        padding: 22px;
    }

    .overview-panel-title {
        font-size: 20px;
    }

    .overview-pill {
        flex-basis: 100%;
        border-radius: 12px;
    }
}

@media (max-width: 520px) {
    .overview-card {
        padding: 22px;
    }

    .overview-card-title {
        font-size: 22px;
    }

    .overview-badge {
        width: 70px;
        height: 70px;
        flex-basis: 70px;
    }
}