/* ==========================================================
   HERO SECTION
========================================================== */

/* ---------------------------------------------------------
   CONTAINER
--------------------------------------------------------- */

.ipk-hero {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: center;
    overflow: hidden;

    /* Background image */

    background-image: url("../../img/hero/hero-bg-1.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}


/* ---------------------------------------------------------
   DARK TRANSPARENT OVERLAY
--------------------------------------------------------- */

.ipk-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(20, 25, 30, 0.48);
    z-index: 1;
}


/* ---------------------------------------------------------
   HERO CONTENT
--------------------------------------------------------- */

.ipk-hero-content {
    position: relative;
    z-index: 2;
    padding: 6rem 0;
}


/* ---------------------------------------------------------
   HERO TEXT
--------------------------------------------------------- */

.hero-text {
    max-width: 720px;
}

.hero-eyebrow {
    display: inline-block;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.hero-title {
    margin: 0 0 1.5rem;
    color: #ffffff;
    font-size: clamp(2.4rem, 4vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1.5px;
}

.hero-description {
    max-width: 650px;
    margin: 0 0 2rem;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.05rem;
    line-height: 1.75;
}


/* ---------------------------------------------------------
   HERO BUTTON
--------------------------------------------------------- */

.hero-button {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.75rem 1.35rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 7px;
    transition:
		transform 0.2s ease,
		box-shadow 0.2s ease;
	background-color: var(--brand);
	border: none;
}

.hero-button:hover {
    transform: translateY(-2px);
	background-color: var(--brand-light-1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.hero-button:active:focus {
	transform: translateY(2px);
	background-color: var(--brand-light-1);
}

.hero-button i {
    transition: transform 0.2s ease;
}

.hero-button:hover i {
    transform: translateX(3px);
}

/* ---------------------------------------------------------
   HERO BUTTON 2
--------------------------------------------------------- */

.hero-button-outline {
    --bs-btn-color: #fff;
    --bs-btn-border-color: #fff;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: rgba(255, 255, 255, 0.08);
    --bs-btn-hover-border-color: #fff;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: rgba(255, 255, 255, 0.12);
    --bs-btn-active-border-color: #fff;

    display: inline-flex;
    align-items: center;
    gap: 0.65rem;

    padding: 0.75rem 1.35rem;

    font-size: 0.9rem;
    font-weight: 600;

    color: #fff !important;
    border: 1px solid #fff;

    border-radius: 7px;

    background-color: transparent;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        color 0.2s ease,
        background-color 0.2s ease;
}


/* HOVER */

.hero-button-outline:hover {
    color: #fff !important;
    background-color: rgba(255, 255, 255, 0.08);
    border-color: #fff;

    transform: translateY(-2px);

    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.18);
}


/* FOCUS */

.hero-button-outline:focus,
.hero-button-outline:focus-visible {
    color: #fff !important;
    border-color: #fff;
}


/* ACTIVE */

.hero-button-outline:active,
.hero-button-outline:active:focus {
    color: #fff !important;
    background-color: rgba(255, 255, 255, 0.12);
    border-color: #fff;

    transform: translateY(2px);
}


/* ICON */

.hero-button-outline i {
    transition: transform 0.2s ease;
}

.hero-button-outline:hover i {
    transform: translateX(3px);
}


/* ---------------------------------------------------------
   SCORE CARD
--------------------------------------------------------- */

.ipk-score-card {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
	text-align: center;
}


/* ---------------------------------------------------------
   MAIN SCORE
--------------------------------------------------------- */

.score-main .score-number {
	display: block;
    font-size: 3.5rem;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.03em;
	padding-bottom: 20px;
}

.score-label {
    display: block;
    margin-bottom: 0.5rem;
    color: #6c757d;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
	margin-top: 20px;
}

.score-value {
    color: #222;
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 700;
    line-height: 1;
}

.score-value span {
    margin-left: 0.15rem;
    font-size: 0.45em;
    font-weight: 600;
    color: #777;
}


/* ---------------------------------------------------------
   STATISTICS
--------------------------------------------------------- */

.score-statistics {
    display: grid;
    grid-template-columns: 1fr 1px 1fr;
    align-items: stretch;
    padding: 1.5rem 2.25rem 1.75rem;
    background: #f5f5f3;
}


/* ---------------------------------------------------------
   STAT
--------------------------------------------------------- */

.score-stat {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.65rem;
}

.stat-label {
    color: #777;
    font-size: 0.78rem;
	line-height: 1.25;
	margin-top: 0;
    margin-bottom: 0;
}

.stat-value {
    color: #333;
    font-size: 1.35rem;
    font-weight: 700;
}

/* Score-detail */

.score-detail .score-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.1;
}


/* ---------------------------------------------------------
   DIVIDER
--------------------------------------------------------- */

.stat-divider {
    width: 1px;
    height: 100%;
    background: #d7d7d7;
}


/* ---------------------------------------------------------
   DARK MODE
--------------------------------------------------------- */

[data-bs-theme="dark"]
.ipk-score-card {
    background: rgba(35, 35, 35, 0.94);
    border-color: rgba(255, 255, 255, 0.08);
}

[data-bs-theme="dark"]
.score-label {
    color: #aaa;
}

[data-bs-theme="dark"]
.score-value {
    color: #ffffff;
}

[data-bs-theme="dark"]
.score-value span {
    color: #aaa;
}

[data-bs-theme="dark"]
.score-statistics {
    background: #292929;
}

[data-bs-theme="dark"]
.stat-label {
    color: #aaa;
}

[data-bs-theme="dark"]
.stat-value {
    color: #ffffff;
}

[data-bs-theme="dark"]
.stat-divider {
    background: #444;
}


/* ---------------------------------------------------------
   MOBILE
--------------------------------------------------------- */

@media (max-width: 991.98px) {
    .ipk-hero {
        min-height: auto;
        background-attachment: scroll;
    }

    .ipk-hero-content {
        padding: 5rem 1.5rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .ipk-score-card {
        margin-top: 1rem;
    }
}

@media (max-width: 575.98px) {
    .ipk-hero-content {
        padding: 4rem 1.5rem;
    }

    .hero-title {
        font-size: 2.1rem;
        letter-spacing: -0.8px;
    }

    .hero-description {
        font-size: 0.9rem;
        line-height: 1.65;
    }

    .score-main {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		text-align: center;
	}
	
	.score-main strong {
    	display: block;
    	text-align: center;
	}

	.score-details > div {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		text-align: center;
		padding: 0 1rem;
	}

    .score-value {
        font-size:  3.2rem;
    }

    .score-statistics {
        padding: 1.25rem 1.5rem 1.5rem;
    }

    .stat-label {
        font-size: 0.72rem;
    }

    .stat-value {
        font-size: 1.1rem;
    }
}



/* =========================================================
   ABOUT IPK SECTION
========================================================= */

.about-ipk {
    position: relative;
    min-height: auto;
    padding: 3.5rem 0;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: var(--bs-body-color);
}


/* ---------------------------------------------------------
   IPK BACKGROUND
--------------------------------------------------------- */

.about-ipk-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: url("../../svg/backgrounds/indonesian-01.svg");
	opacity: 0.5;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}


/* ---------------------------------------------------------
   IPK CONTENT
--------------------------------------------------------- */

.about-ipk .container {
    position: relative;
    z-index: 2;
}

.about-ipk-content {
    text-align: center;
}


/* ---------------------------------------------------------
   IPK DESCRIPTION
--------------------------------------------------------- */

.about-ipk-description {
    max-width: 760px;
    margin: 0 auto .75rem;
    /*color: rgba(255, 255, 255, .88);*/
    font-size: 1rem;
    line-height: 1.7;
}


/* ---------------------------------------------------------
   IPK MOBILE
--------------------------------------------------------- */

@media (max-width: 767.98px) {
    .about-ipk {
        min-height: auto;
        padding: 5rem 0;
    }

    .about-ipk-bg {
        background-attachment: scroll;
    }

    .about-ipk-content {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .about-ipk-description {
        font-size: .95rem;
        line-height: 1.75;
    }
}



/* =========================================================
   IPK DIMENSIONS SECTION
========================================================= */

.ipk-dimensions {
    padding: 6rem 0;
    background: var(--bs-tertiary-bg);
    color: var(--bs-body-color);
}


/* ---------------------------------------------------------
   DIMENSION CARD
--------------------------------------------------------- */

.dimension-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    min-height: 190px;
    padding: 1.5rem;
    color: var(--bs-body-color);
    text-decoration: none;
    background: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color);
    border-radius: 14px;
    overflow: hidden;
    transition:
		transform 0.25s ease,
		border-color 0.25s ease,
		box-shadow 0.25s ease,
		background-color 0.25s ease;
}


/* ---------------------------------------------------------
   CARD HOVER
--------------------------------------------------------- */

.dimension-card:hover {
    color: var(--bs-body-color);
    transform: translateY(-5px);
    border-color: var(--brand-light-1);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}


/* ---------------------------------------------------------
   ICON
--------------------------------------------------------- */

.dimension-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: auto;
    margin-bottom: 1.5rem;
    color: var(--brand-light-1);
    background: transparent;
    border-radius: 0;
    font-size: 2.7rem;
    transition:
		transform 0.25s ease,
		color 0.25s ease;
}

.dimension-card:hover
.dimension-icon {
    transform: translateY(-3px);
    color: var(--brand-light-1);
}


/* ---------------------------------------------------------
   TITLE
--------------------------------------------------------- */

.dimension-title {
    max-width: 180px;
    margin: 0;
    text-align: center;
    font-size: .95rem;
    font-weight: 650;
    line-height: 1.4;
}


/* ---------------------------------------------------------
   ARROW
--------------------------------------------------------- */

.dimension-arrow {
    position: absolute;
    right: 1.25rem;
    bottom: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    color: var(--bs-secondary-color);
    font-size: 0.8rem;
    transition:
		transform 0.25s ease,
		color 0.25s ease;
}

.dimension-card:hover
.dimension-arrow {
    color: var(--brand-light-1);
    transform: translate(3px, -3px);
}


/* ---------------------------------------------------------
   DARK MODE
--------------------------------------------------------- */

[data-bs-theme="dark"]
.dimension-card {
	background: var(--bs-body-bg);
}

[data-bs-theme="dark"]
.dimension-card:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}


/* ---------------------------------------------------------
   TABLET
--------------------------------------------------------- */

@media (max-width: 991.98px) {

    .ipk-dimensions {
        padding: 5rem 0;
    }

    .dimension-card {
        min-height: 180px;
    }

}


/* ---------------------------------------------------------
   MOBILE
--------------------------------------------------------- */

@media (max-width: 575.98px) {

    .ipk-dimensions {
        padding: 4rem 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-description {
        font-size: 0.88rem;
    }

    .dimension-card {
        min-height: 165px;
        padding: 1.25rem;
        border-radius: 12px;
    }

    .dimension-icon {
        width: auto;
        height: auto;
        margin-bottom: 1rem;
        font-size: 2.2rem;
        background: transparent;
        border-radius: 0;
    }

    .dimension-title {
        max-width: 140px;
        font-size: 0.85rem;
    }

    .dimension-arrow {
        right: 1rem;
        bottom: 1rem;
    }
	
}



/* ==========================================================
   PUBLICATIONS SECTION
========================================================== */

.publications-section {
    padding: 5rem 0;
}


/* ---------------------------------------------------------
   HEADING
--------------------------------------------------------- */

.publications-section .section-heading {
    margin-bottom: 3rem;
}


/* ---------------------------------------------------------
   MOBILE
--------------------------------------------------------- */

@media (max-width: 767.98px) {

    .publications-section {
        padding: 4rem 0;
    }

    .publications-section .section-heading {
        margin-bottom: 2.5rem;
    }
}


/* ---------------------------------------------------------
   PUBLICATION CAROUSEL
--------------------------------------------------------- */

.publication-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    user-select: none;
    cursor: grab;

    /* Penting untuk touch/swipe */
    touch-action: pan-y;
}

.publication-carousel.is-dragging {
    cursor: grabbing;
}


/* ---------------------------------------------------------
   TRACK BUKU
--------------------------------------------------------- */

.publication-track {
    display: flex;
    gap: 1.5rem;
    width: max-content;
    animation: publication-scroll 30s linear infinite;
}


/* ---------------------------------------------------------
   DESKTOP 4 BUKU
--------------------------------------------------------- */

.publication-item {
    flex: 0 0 
		calc(
			(100vw - 36px) / 4
		);
    width: 280px;
    max-width: 280px;
    min-width: 0;
}


/* ---------------------------------------------------------
   BOOK COVER
--------------------------------------------------------- */

.publication-cover {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 12px;
    background: var(--bs-tertiary-bg);
    box-shadow: 0 8px 25px rgba(0, 0, 0, .08);
    transition:
		transform .3s ease,
		box-shadow .3s ease;
}

.publication-cover img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    pointer-events: none;
    -webkit-user-drag: none;
}


/* ---------------------------------------------------------
   HOVER
--------------------------------------------------------- */

.publication-card:hover
.publication-cover {
    transform: translateY(-5px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, .13);
}


/* ---------------------------------------------------------
   TITLE
--------------------------------------------------------- */

.publication-card {
    display: block;
    color: inherit;
    text-decoration: none;
}

.publication-card h3 {
    margin-top: 1rem;
    margin-bottom: 0;
    text-align: center;
    font-size: .9rem;
    font-weight: 500;
    line-height: 1.45;
}


/* ---------------------------------------------------------
   TABLET
--------------------------------------------------------- */

@media (max-width: 991.98px) {

    .publication-item {
        flex: 0 0
			calc(
				(100vw - 24px) / 3
			);
        width: auto;
        max-width: none;
    }
}


/* ---------------------------------------------------------
   MOBILE 2 BUKU
--------------------------------------------------------- */

@media (max-width: 575.98px) {

    .publication-track {
        gap: 12px;
    }

    .publication-item {
        flex: 0 0
            calc(
                (100vw - 12px) / 2
            );

        width: auto;
        max-width: none;
    }

    .publication-card h3 {
        font-size: .78rem;
        line-height: 1.4;
    }
}


/* ---------------------------------------------------------
   PAUSE ON HOVER
--------------------------------------------------------- */

.publication-carousel:hover .publication-track {
    animation-play-state: paused !important;
}


/* =========================================================
   IPK NATIONAL & PROVINCE
========================================================= */

.ipk-national,
.ipk-province {
    padding: 5rem 0;
}

.ipk-province {
    background-color: var(--bs-tertiary-bg);
}

/* =========================================================
   NATIONAL
========================================================= */

/* Year */

.ipk-year-selector {
    margin-bottom: 2rem;
}


.ipk-year-selector label {
    display: block;
    margin-bottom: .4rem;
    font-size: .8rem;
    color: var(--bs-secondary-color);
}

.ipk-year-selector select {
    width: auto;
    min-width: 120px;
    margin: 0 auto;
}

/* Score */



.score-label {
    color: var(--bs-secondary-color);
    font-size: .85rem;
}

.national-score {
    margin: .5rem 0;
    font-size: clamp(3.5rem, 7vw, 5rem);
    font-weight: 400;
    line-height: 1;
}

.score-year {
    color: var(--bs-secondary-color);
    font-size: .85rem;
}


/* =========================================================
   NATIONAL CHART
========================================================= */

.national-chart-card {
    height: 100%;
    padding: 2rem;
    background: var(--bs-body-bg);
    border:
        1px solid
        var(--bs-border-color);
    border-radius: 18px;
}

.chart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.chart-label {
    color: var(--bs-secondary-color);
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .1em;
}

.chart-header h3 {
    margin: .3rem 0 0;
    font-size: 1.25rem;
    font-weight: 500;
}

.chart-header > i {
    font-size: 1.5rem;
    color: var(--bs-primary);
}

/* =========================================================
   DUMMY CHART
========================================================= */

.dummy-chart {
    display: flex;
    height: 240px;
}

.chart-y {
    width: 35px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-bottom: 25px;
    color: var(--bs-secondary-color);
    font-size: .65rem;
}

.chart-area {
    position: relative;
    flex: 1;
}

.chart-grid {
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(
            to bottom,
            transparent 0,
            transparent 23%,
            var(--bs-border-color) 24%,
            transparent 25%
        );
}

.chart-line {
    position: absolute;
    inset: 0 0 25px 0;
    width: 100%;
    height: calc(100% - 25px);
    overflow: visible;
}

.chart-line polyline {
    fill: none;
    stroke: var(--bs-primary);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.chart-line circle {
    fill: var(--bs-body-bg);
    stroke: var(--bs-primary);
    stroke-width: 3;
}

.chart-x {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    color: var(--bs-secondary-color);
    font-size: .65rem;
}

/* =========================================================
   DIMENSIONS
========================================================= */

.national-dimensions {
    margin-top: 2rem;
}

.dimension-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.dimension-heading h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 500;
}

.dimension-heading span {
    color: var(--bs-secondary-color);
    font-size: .8rem;
}



/* =========================================================
   PROVINCE
========================================================= */

.province-map-card,
.province-detail-card {
    height: 100%;
    padding: 2rem;
    background: var(--bs-body-bg);
    border:
        1px solid
        var(--bs-border-color);
    border-radius: 18px;
}

/* Map Header */


.map-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.map-header span {
    color: var(--bs-secondary-color);
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .1em;
}

.map-header h3 {
    margin: .3rem 0 0;
    font-size: 1.25rem;
    font-weight: 500;
}

.map-header select {
    width: auto;
    min-width: 100px;
}

/* =========================================================
   DUMMY MAP
========================================================= */

.dummy-indonesia-map {
    min-height: 370px;
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: var(--bs-tertiary-bg);
}

.map-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: var(--bs-secondary-color);

}

.map-placeholder i {
    margin-bottom: .75rem;
    font-size: 4rem;
    color: var(--bs-primary);
}

.map-placeholder span {
    font-size: 1rem;
    font-weight: 500;
}

.map-placeholder small {
    margin-top: .35rem;
    font-size: .75rem;
}

/* =========================================================
   MAP LEGEND
========================================================= */

.map-legend {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.map-legend span {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    color: var(--bs-secondary-color);
    font-size: .7rem;
}

.legend-dot {
    width: 9px;
    height: 9px;
    display: inline-block;
    border-radius: 50%;
}

.legend-dot.low {
    background: #d9d9d9;
}

.legend-dot.medium {
    background: #999;
}

.legend-dot.high {
    background: #333;
}

/* =========================================================
   PROVINCE DETAIL
========================================================= */

.province-detail-card {
    display: flex;
    flex-direction: column;
}

.province-label {
    color: var(--bs-secondary-color);
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .1em;
}

.province-detail-card h3 {
    margin: .4rem 0 1.5rem;
    font-size: 1.8rem;
    font-weight: 500;
}

.province-score {
    display: flex;
    align-items: baseline;
    gap: .6rem;
}

.province-score strong {
    font-size: 3.5rem;
    font-weight: 400;
    line-height: 1;
}

.province-score span {
    color: var(--bs-secondary-color);
    font-size: .8rem;
}

.province-status {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: .5rem;
    color: var(--bs-success);
    font-size: .8rem;
}

.province-comparison {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.province-comparison div {
    padding: 1rem;
    background: var(--bs-tertiary-bg);
    border-radius: 10px;
}

.province-comparison span {
    display: block;
    margin-bottom: .3rem;
    color: var(--bs-secondary-color);
    font-size: .7rem;
}

.province-comparison strong {
    font-size: 1.1rem;
    font-weight: 500;
}

.province-detail-card hr {
    margin: 1.5rem 0;
}

.province-insight {
    display: flex;
    gap: .7rem;
    margin-bottom: 1.5rem;
}

.province-insight i {
	font-size: 20px;
    color: var(--brand);
}

.province-insight p {
    margin: 0;
    color: var(--bs-secondary-color);
    font-size: .8rem;
    line-height: 1.6;
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767.98px) {
    .ipk-national,
    .ipk-province {
        padding: 4rem 0;
    }

    .section-heading {
        margin-bottom: 2rem;
    }

    .national-score-card {
        min-height: 280px;
    }

    .national-chart-card {
        padding: 1.25rem;
    }

    .dummy-chart {
        height: 200px;
    }

    .dimension-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: .3rem;
    }


    .province-map-card,
    .province-detail-card {
        padding: 1.25rem;
    }

    .map-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .map-header select {
        width: 100%;
    }

    .dummy-indonesia-map {
        min-height: 280px;
    }

    .province-score strong {
        font-size: 3rem;
    }
}

/* =========================================================
   TAMBAHAN
========================================================= */

.ipk-summary {
    height: 100%;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--bs-body-bg);
    border:
        1px solid
        var(--bs-border-color);
    border-radius: 18px;
}



.ipk-summary-title {
	
    font-size: .85rem;

    font-weight: 600;
    /*color: var(--bs-body-color);*/
	color: var(--bs-secondary-color);
}

.ipk-summary-year {
    font-size: 14px;
    color: var(--bs-secondary-color);
    margin-top: 2px;
}

.ipk-summary-score {
    font-size: 52px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: -2px;
    color: var(--bs-body-color);
    margin-top: 8px;
}

@media (max-width: 576px) {

    .ipk-summary {
        margin: 25px 10px 15px;
    }

    .ipk-summary-score {
        font-size: 44px;
    }

}

/* =========================================================
   TAMBAHAN LAGI
========================================================= */

.ipk-summary-change {
    margin-top: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--bs-success);
}

.ipk-summary-change.down {
    color: var(--bs-danger);
}

.ipk-summary-change.neutral {
    color: var(--bs-secondary-color);
}

/* =========================================================
   PETA
========================================================= */
/* Warna Legenda & Peta */

:root {
    --c-low: #FEE2E2;
	--c-mid-low: #FED7AA;
	--c-mid: #FEF3C7;
	--c-mid-high: #BBF7D0;
	--c-high: #86EFAC;
}
[data-bs-theme="dark"] {
    --c-low: #7F1D1D;
	--c-mid-low: #9A3412;
	--c-mid: #854D0E;
	--c-mid-high: #166534;
	--c-high: #15803D;
}

.legend-box {
	width: 14px;
	height: 14px;
	border-radius: 3px;
	margin-right: 8px;
	display: inline-block;
}

.c-1 {
	background: var(--c-low);
}

.c-2 {
	background: var(--c-mid-low);
}
.c-3 {
	background: var(--c-mid);
}

.c-4 {
	background: var(--c-mid-high);
}

.c-5 {
	background: var(--c-high);
}

/* ========== LIGHT MODE ========== */
[data-bs-theme="light"] .legend-box.c-1 { background-color: #EF4444; } /* Sangat Rendah */
[data-bs-theme="light"] .legend-box.c-2 { background-color: #F97316; } /* Rendah */
[data-bs-theme="light"] .legend-box.c-3 { background-color: #EAB308; } /* Sedang */
[data-bs-theme="light"] .legend-box.c-4 { background-color: #22C55E; } /* Tinggi */
[data-bs-theme="light"] .legend-box.c-5 { background-color: #16A34A; } /* Sangat Tinggi */

/* ========== DARK MODE (versi lama) ========== */
[data-bs-theme="dark"] .legend-box.c-1 { background-color: #7F1D1D; }
[data-bs-theme="dark"] .legend-box.c-2 { background-color: #9A3412; }
[data-bs-theme="dark"] .legend-box.c-3 { background-color: #854D0E; }
[data-bs-theme="dark"] .legend-box.c-4 { background-color: #166534; }
[data-bs-theme="dark"] .legend-box.c-5 { background-color: #15803D; }

/* Kontrol Peta */
.map-wrapper {
	position: relative;
	border: 1px solid var(--bs-border-color);
	border-radius: 0.75rem;
	overflow: hidden;
}

.map-controls {
	position: absolute;
	top: 1rem; left: 1rem;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	z-index: 10;
}

.map-tooltip { 
    position: absolute;
	display: none;
	background: rgba(0,0,0,0.85);
	color: #fff; 
    padding: 0.5rem 0.8rem;
	border-radius: 0.5rem;
	font-size: 0.8rem;
	pointer-events: none;
	z-index: 100;
}

.indonesia-map svg {
	transform-origin: center;
	transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
	cursor: crosshair;
}

.province-path {
	transition: filter 0.2s;
}

.province-path:hover { filter: brightness(1.2); }

body {
	background: var(--bs-body-bg);
	color: var(--bs-body-color);
}

.dashboard-card {
	border: 1px solid var(--bs-border-color);
	border-radius: 1rem;
	background: var(--bs-body-bg);
	padding: 1.5rem;
}

.score-card {
	display: flex; flex-direction: column;
	justify-content: center;
}

.score-year {
	font-size: .85rem;
	color: var(--bs-secondary-color);
}

.chart-trend {
	height: 280px;
}

.radar-wrap {
	height: 500px;
}

.dimension-card {
	height: 100%;
	border: 1px solid var(--bs-border-color);
	border-radius: .9rem;
	background: var(--bs-body-bg);
	padding: 1.15rem;
}

.dimension-value {
	font-size: 1.65rem; font-weight: 650;
}

.year-option .btn {
	min-width: 72px;
}

/* MAP STYLING */
.indonesia-map {
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible !important;
    border: 1px solid rgba(0,0,0,0.05);
}

.indonesia-map svg { 
    width: 100%; 
    height: auto; 
    max-height: 550px; 
    display: block;
}

.province-path { 
    cursor: pointer; 
    transition: filter .15s, opacity .15s; 
    stroke: #fff !important; 
    stroke-width: 0.5;
	fill: inherit;
}

.province-path:hover {
	filter: brightness(1.1);
	opacity: .85;
}

.legend {
	display: flex;
	align-items: center;
	gap: .75rem;
	font-size: .8rem;
}

.legend div {
	width: min(420px, 60vw);
	height: 12px;
	border-radius: 999px;
	background: linear-gradient(90deg, #e8e8e8, #785a20);
}

.province-info {
	display: flex;
	justify-content: space-between;
	align-items: center; padding: 1rem 1.25rem;
	border: 1px solid var(--bs-border-color);
	border-radius: .75rem;
	background: var(--bs-tertiary-bg);
}

@media(max-width:767.98px){ 
    .dashboard-card { padding: 1rem; } 
    .radar-wrap { height: 350px; } 
    .indonesia-map { min-height: 250px; }
}


/* Zoom & Pan untuk Peta */
.map-wrapper { 
    position: relative; 
    cursor: grab; 
    overflow: hidden; 
    background: var(--bs-tertiary-bg);
}

.map-wrapper:active {
	cursor: grabbing;
}

.indonesia-map svg { 
    transform-origin: 0 0;
    transition: transform 0.1s ease-out; 
}

/* Tooltip Khusus Papua (Sebelah kiri) */
.map-tooltip.left-align {
    transform: translateX(-110%);
}

/* =========================================================
   MAP BACKGROUND (LAUT)
========================================================= */

/* Light mode – background laut yang lebih gelap/kontras */
[data-bs-theme="light"] .indonesia-map,
[data-bs-theme="light"] #map {
    background-color: #bae6fd;   /* sky-200 – biru muda yang cukup kontras */
    /* alternatif lain yang lebih gelap:
       #7dd3fc  → sky-300
       #38bdf8  → sky-400
       #cbd5e1  → slate-300 (netral) */
}

/* Dark mode – background laut gelap */
[data-bs-theme="dark"] .indonesia-map,
[data-bs-theme="dark"] #map {
    background-color: #0c4a6e;   /* sky-900 */
}

/* Optional: biar SVG tidak menutupi background */
.indonesia-map svg,
#map svg {
    background: transparent !important;
}

/* =========================================================
   RADAR / TREND CONTROLS (dipindah dari nasional.css)
========================================================= */

.btn-outline-brand {
    --bs-btn-color: var(--brand);
    --bs-btn-border-color: var(--brand);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--brand);
    --bs-btn-hover-border-color: var(--brand);
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--brand);
    --bs-btn-active-border-color: var(--brand);
    color: var(--brand);
    background-color: transparent;
    border-color: var(--brand);
}

.btn-outline-brand:hover {
    color: #fff !important;
    background-color: var(--brand) !important;
    border-color: var(--brand) !important;
}

.btn-check:checked + .btn-outline-brand {
    color: #fff !important;
    background-color: var(--brand) !important;
    border-color: var(--brand) !important;
}

.btn-check:checked + .btn-outline-brand:hover {
    color: #fff !important;
    background-color: var(--brand) !important;
    border-color: var(--brand) !important;
}

/* Year button colors (multi-year selector) */
.btn-check:checked + .btn-outline-primary.y-color-0 {
    background-color: #FF5733;
    border-color: #FF5733;
    color: #fff;
}
.btn-check:checked + .btn-outline-primary.y-color-1 {
    background-color: #33FF57;
    border-color: #33FF57;
    color: #fff;
}
.btn-check:checked + .btn-outline-primary.y-color-2 {
    background-color: #3357FF;
    border-color: #3357FF;
    color: #fff;
}
.btn-check:checked + .btn-outline-primary.y-color-3 {
    background-color: #F333FF;
    border-color: #F333FF;
    color: #fff;
}
.btn-check:checked + .btn-outline-primary.y-color-4 {
    background-color: #33FFF3;
    border-color: #33FFF3;
    color: #fff;
}
.btn-check:checked + .btn-outline-primary.y-color-5 {
    background-color: #FFD433;
    border-color: #FFD433;
    color: #fff;
}
.btn-check:checked + .btn-outline-primary.y-color-6 {
    background-color: #FF3366;
    border-color: #FF3366;
    color: #fff;
}

.year-option .btn {
    min-width: 72px;
}

/* =========================================================
   SIMULASI TEASER (beranda)
========================================================= */

.ipk-simulasi-teaser {
    padding: 4.5rem 0;
    background: var(--bs-tertiary-bg);
}

.simulasi-teaser-card {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr;
    gap: 2rem;
    align-items: center;
    padding: 2.5rem 2.75rem;
    border: 1px solid var(--bs-border-color);
    border-radius: 1.25rem;
    background: var(--bs-body-bg);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.04);
}

.simulasi-teaser-content .section-title {
    margin-bottom: 1rem;
}

.simulasi-teaser-text {
    max-width: 36rem;
    margin: 0 0 1.25rem;
    color: var(--bs-secondary-color);
    font-size: 1.02rem;
    line-height: 1.7;
}

.simulasi-teaser-meta {
    list-style: none;
    padding: 0;
    margin: 0 0 1.75rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1.25rem;
}

.simulasi-teaser-meta li {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--bs-body-color);
}

.simulasi-teaser-meta i {
    color: var(--brand);
    font-size: 1.05rem;
}

.simulasi-teaser-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    padding: 1.5rem;
    border-radius: 1rem;
    background: color-mix(in srgb, var(--brand) 8%, var(--bs-tertiary-bg));
    border: 1px dashed color-mix(in srgb, var(--brand) 28%, var(--bs-border-color));
    min-height: 180px;
}

.simulasi-teaser-icon {
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
    background: var(--brand);
    box-shadow: 0 10px 24px color-mix(in srgb, var(--brand) 35%, transparent);
}

.simulasi-teaser-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem;
}

.simulasi-teaser-steps span {
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--brand);
    background: var(--bs-body-bg);
    border: 1px solid color-mix(in srgb, var(--brand) 25%, var(--bs-border-color));
}

@media (max-width: 991.98px) {
    .simulasi-teaser-card {
        grid-template-columns: 1fr;
        padding: 2rem 1.75rem;
    }

    .simulasi-teaser-visual {
        order: -1;
        min-height: 140px;
    }
}

@media (max-width: 575.98px) {
    .ipk-simulasi-teaser {
        padding: 3.5rem 0;
    }

    .simulasi-teaser-card {
        padding: 1.5rem 1.25rem;
    }

    .simulasi-teaser-text {
        font-size: 0.95rem;
    }
}

/* =========================================================
   DIMENSIONS — static cards + CTA
========================================================= */

.dimension-card--static {
    cursor: default;
    pointer-events: none; /* non-interaktif; overview saja */
}

.dimension-card--static:hover {
    transform: none;
    box-shadow: none;
    border-color: var(--bs-border-color);
}

.dimensions-cta {
    margin-top: 2.75rem;
    max-width: 40rem;
    margin-left: auto;
    margin-right: auto;
}

.dimensions-cta-text {
    margin: 0 0 1.35rem;
    color: var(--bs-secondary-color);
    font-size: 1.02rem;
    line-height: 1.7;
}

@media (max-width: 575.98px) {
    .dimensions-cta {
        margin-top: 2rem;
    }

    .dimensions-cta-text {
        font-size: 0.95rem;
    }
}
