@font-face {
    font-family: 'Inter';
    src: url('../dist/fonts/inter/Inter-VariableFont_opsz,wght.woff2') format('woff2');
    font-weight: 100 900;
    font-display: swap;
}

:root {
    --pri: #00972f;
    --pri-dark: #000;
    --pri-light: #52C265;
    --pri-pale: #eafbe8;
    --accent: #52C265;
    --accent2: #51995d;
    --txt: #1e293b;
    --muted: #64748b;
    --border: #e2e8f0;
    --bg-body: #fff;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    height: 100%;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: #F4F8FF;
    color: var(--txt);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
    margin-bottom: 2rem;
}

/* ════════════════════════════
           NAVBAR
        ════════════════════════════ */
.site-nav {
    /* position: sticky; */
    position: relative;
    top: 0;
        width: 100%;

    z-index: 999;
    height: 74px;

    background: #fff;
    box-shadow: none;

    transition: all .3s ease;
}

.site-nav .nav-inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
        position: relative;

}

.site-nav.scrolled {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    height: 74px;
    background: #fff;
    box-shadow: 3px 4px 12px rgba(0, 0, 0, .25);
}

.site-nav .nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
        flex-shrink: 0;

    text-decoration: none;
    margin-right: 2rem;
}
.site-nav .nav-brand img {
    display: block;

    max-height: 48px;
    width: auto;

    object-fit: contain;
}
/* .nav-brand img {
    height: 70px;
    width: auto;
    max-width: 370px;
    object-fit: contain;
    display: block;
} */

/* Logo placeholder kotak */
.logo-box {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    background: rgba(255, 255, 255, .15);
    border: 2px solid rgba(255, 255, 255, .3);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .55rem;
    font-weight: 700;
    color: rgba(255, 255, 255, .8);
    letter-spacing: .03em;
    text-align: center;
    line-height: 1.2;
    padding: 2px;
}

/* TAMBAHKAN class baru ini */
.site-nav .nav-left {
    display: flex;
    align-items: center;
    gap: 2rem; /* jarak antara logo dan grup menu */
    min-width: 0; /* supaya bisa shrink kalau layar sempit, mencegah overflow aneh */
}

.site-nav .nav-links {
    display: flex;
    align-items: center;
    gap: .5rem;
    /* HAPUS baris "margin-left: auto;" yang sebelumnya ada di sini */
}

.nav-link-item {
    font-size: .875rem;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.75);
    text-decoration: none;
    padding: .35rem .75rem;
    border-radius: 7px;
    transition: background .2s, color .2s;
}
.nav-link-item-mobile {
    font-size: .875rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    padding: .35rem .75rem;
    border-radius: 7px;
    transition: background .2s, color .2s;
}

.nav-link-item:hover,
.nav-link-item.active {
    background: hsla(0, 0%, 100%, 0.12);
    color: #000;
}

.nav-link-item-mobile:hover,
.nav-link-item-mobile.active {
    background: hsla(0, 0%, 100%, 0.12);
    color: #fff;
}

.site-nav .site-nav-dropdown {
    position: relative;
}

.site-nav .site-nav-dropdown > .dropdown-menu {
    min-width: 210px;

    margin-top: 8px;

    padding: 8px;

    border: 0;

    border-radius: 8px;

    background-color: #ffffff;

    box-shadow:
        0 5px 20px rgba(47, 43, 61, 0.12);

    z-index: 1050;
}

.site-nav .site-nav-dropdown .dropdown-item {
    display: flex;
    align-items: center;

    min-height: 40px;

    padding: 9px 12px;

    border-radius: 6px;

    color: #444050;

    font-size: 14px;
    font-weight: 400;

    white-space: nowrap;

    transition:
        color 0.2s ease,
        background-color 0.2s ease;
}
.site-nav .site-nav-dropdown .dropdown-item:hover,
.site-nav .site-nav-dropdown .dropdown-item:focus {
    color: #8b1e2d;

    background-color: rgba(139, 30, 45, 0.08);
}

.site-nav .site-nav-dropdown .dropdown-item.active {
    color: #8b1e2d;

    background-color: rgba(139, 30, 45, 0.08);
}


.site-nav .dropdown-toggle::after {
    width: 6px;
    height: 6px;

    margin-left: 8px;

    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;

    border-top: 0;
    border-left: 0;

    transform: rotate(45deg) translateY(-2px);
}
.nav-item.dropdown {
    position: relative;
}

.nav-item.dropdown .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 8px;
    min-width: 200px;
    z-index: 1050;
}

.btn-nav-login {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: .4rem 1rem;
    background: #670b0a;
    color: #fff;
    font-size: .875rem;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    transition: background .2s, transform .15s;
    white-space: nowrap;
}

.btn-nav-login:hover {
    background: #000;
    color: #fff;
    transform: translateY(-1px);
}

/* Sembunyikan tombol login DESKTOP saat masuk breakpoint mobile */
@media (max-width: 991px) {
    .btn-nav-login-desktop {
        display: none;
    }

    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }
}


/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
    background: transparent;
    border: none;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: #0d3472;
    border-radius: 2px;
    transition: all .3s;
}

.hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
    z-index: 998;
    background: #640c0c;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .3);
}

.mobile-menu.open {
    display: block;
}

.mobile-menu .container {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    padding-top: 1rem;
    padding-bottom: 1.5rem;
}

.mobile-menu .nav-link-item {
    padding: .6rem .75rem;
    font-size: .875rem;
}

.mobile-menu .btn-nav-login {
    display: inline-flex;
    width: auto;
    max-width: fit-content;
    /* margin: 12px auto 0; */
    color: #fff !important;
    justify-content: center;
    margin-top: .5rem;
    padding: .6rem;
    font-size: .875rem;
}

.mobile-menu .btn-nav-login:hover {
    color: #fff !important;
}

/* ════════════════════════════
           HERO
        ════════════════════════════ */
.hero .swiper {
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 1;
    border-radius: 24px;
    overflow: hidden;
}


@media (min-width: 1400px) {
    .hero .swiper {
        height: 67vh;
         aspect-ratio: auto;

        border-radius: 24px;
        /* layar besar */
    }
}

.hero .swiper-slide {
    width: 100%;
    height: 100%;
}

.hero .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-button-prev,
.swiper-button-next {
    width: 48px;
    height: 48px;
    background: #ffffff00;
    border-radius: 50%;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.31);
    color: #ffffff;
}

.swiper-button-prev::after,
.swiper-button-next::after {
    font-size: 16px;
    font-weight: 700;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    transform: scale(1.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, .2);
}

/* ════════════════════════════
           STAT CARDS
        ════════════════════════════ */
.stats-section {
    /* margin-top: -2.5rem; */
    padding: 0 0 2.5rem;
    position: relative;
    z-index: 5;
}

.stat-card {
    height: 100%;
    border-radius: 14px;
    padding: 1.65rem 2.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    /* box-shadow: 0 8px 24px rgba(0,0,0,.12); */
    transition: transform .2s, box-shadow .2s;
    text-decoration: none;
}

.stat-card:hover {
    transform: translateY(-3px);
}

.stat-card.blue {
    background-image: url('../../assets/petanque/round-bg.svg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.stat-card.red {
    background-image: url('../../assets/petanque/round-bg-red.svg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.stat-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    background: rgba(255, 255, 255, .18);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #fff;
}

.stat-label {
    font-size: .75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 1);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 2px;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

/* ════════════════════════════
           ABOUT / INFO SECTION
        ════════════════════════════ */
.info-section {
    padding: 3rem 0;
}

.section-badge {
    display: inline-block;
    font-size: .875rem;
    font-weight: 700;
    color: var(--pri);
    letter-spacing: .1em;
    text-transform: uppercase;
    background: var(--pri-pale);
    padding: .25rem .8rem;
    border-radius: 20px;
    margin-bottom: .75rem;
}

.section-title {
    /* font-size: clamp(1.3rem, 3vw, 1.8rem); */
    font-weight: 600;
    color: var(--pri-dark);
    margin-bottom: .75rem;
}

.section-title-all {
    /* font-size: clamp(1.3rem, 3vw, 1.8rem); */
    font-weight: 600;
    color: #c11f1d;
    margin-bottom: .75rem;
}

.section-desc {
    font-size: 1rem;
    color: var(--muted);
    line-height: 1.8;
}

/* Feature cards */
.feat-card {
    background: #fff;
    border-radius: 14px;
    padding: 1.5rem;
    border: 1px solid var(--border);
    height: 100%;
    transition: box-shadow .2s, transform .2s;
}

.feat-card:hover {
    box-shadow: 0 10px 30px rgba(26, 86, 167, .12);
    transform: translateY(-3px);
}

.feat-ic {
    width: 48px;
    height: 48px;
    background: var(--pri-pale);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--pri);
    margin-bottom: 1rem;
}

.feat-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--txt);
    margin-bottom: .4rem;
}

.feat-desc {
    font-size: .875rem;
    color: var(--muted);
    line-height: 1.65;
}

/* ════════════════════════════
           FOOTER
        ════════════════════════════ */
.site-footer {
    background: var(--pri-dark);
    padding: 0rem 0 0;
    color: rgba(255, 255, 255, .8);
}

/* Footer logo */
.footer-logo-box {
    background:transparent;
    max-width: 200px;
    padding: 15px 0px;
    border-radius: 40px;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    margin-bottom: 30px;
}

.footer-logo-box img {
    height: 93px;
    width: auto;
    max-width: 230px;
    object-fit: contain;
    display: block;
}

.footer-brand-top {
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.footer-brand-bot {
    font-size: .65rem;
    color: rgba(255, 255, 255, .55);
    text-transform: uppercase;
    letter-spacing: .07em;
}

.footer-desc {
    font-size: .875rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 1);
    line-height: 1.75;
    margin-top: .75rem;
    max-width: 480px;
    text-align: justify;
}

.footer-heading {
    font-size: 1.125rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    /* text-transform: uppercase; */
    letter-spacing: .07em;
}

.footer-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: .875rem;
    color: rgba(255, 255, 255, 1);
    margin-bottom: .75rem;
    line-height: 1.6;
}
.footer-item a{
   text-decoration: none;
   color: #fff;
}

.footer-item i {
    color: #fff;
    flex-shrink: 0;
    margin-top: 2px;
    font-size: .875rem;
}

.footer-bar {
    background-color: #5c0100;
    margin-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding: 1rem 0;
    text-align: center;
    font-size: .875rem;
    color: rgb(255, 255, 255);
}

.scroll-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    background: #5c0100;
    color: #fff;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .2);
    opacity: 0;
    visibility: hidden;
    transition: all .3s ease;
    z-index: 999;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--accent2);
    transform: translateY(-3px);
}


/* ════════════════════════════
           ANIMATIONS
        ════════════════════════════ */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.anim {
    animation: fadeUp .6s ease both;
}

.anim-d1 {
    animation-delay: .1s;
}

.anim-d2 {
    animation-delay: .2s;
}

.anim-d3 {
    animation-delay: .3s;
}

.anim-d4 {
    animation-delay: .4s;
}

/* ════════════════════════════
           RESPONSIVE
        ════════════════════════════ */
@media (max-width: 767.98px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none !important;
    }

    .stats-section {
        margin-top: 1.5rem;
    }

    .stat-card {
        padding: 1rem 1.1rem;
        gap: .75rem;
        min-height: 100px;
    }

    .stat-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .stat-value {
        font-size: 1.5rem;
    }

    .info-section {
        padding: 2rem 0;
    }
}

@media (max-width: 575.98px) {

    .stat-value {
        font-size: 1.3rem;
    }
}

/* Pagination */
.pagination {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    align-items: center;
}

.pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    color: var(--pri-dark, #1a3a5c);
    font-size: .875rem;
    font-weight: 500;
    text-decoration: none;
    transition: all .2s;
    background: #fff;
}

.pagination a:hover {
    background: var(--pri-pale, #e8f0fe);
    border-color: var(--pri-dark, #1a3a5c);
}

.pagination a.actived {
    background: var(--pri-dark, #1a3a5c);
    color: #FEAC06;
    border-color: var(--pri-dark, #1a3a5c);
    font-weight: 700;
}

#modalPublicData .table th,
#modalPublicData .table td {
    white-space: nowrap;
    font-size: .8rem;
    padding: 8px 10px;
}

#modalPublicData .modal-dialog {
    margin: auto;
}
@media (max-width: 576px) {
    #modalPublicData .modal-dialog {
        max-width: 100%;
        margin: 0.5rem;
    }

    #modalPublicData .table th,
    #modalPublicData .table td {
        font-size: .75rem;
        padding: 6px 8px;
    }
}


.footer .footer-top {
  padding-top: 50px;
}

.footer .footer-newsletter .newsletter-form {
  margin-top: 30px;
  margin-bottom: 15px;
  padding: 6px 8px;
  position: relative;
  border-radius: 50px;
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 70%);
  display: flex;
  background-color: var(--surface-color);
  transition: 0.3s;
}

.footer .footer-newsletter .newsletter-form:focus-within {
  border-color: var(--accent-color);
}

.footer .footer-newsletter .newsletter-form input[type=email] {
  border: 0;
  padding: 4px 10px;
  width: 100%;
  background-color: var(--contrsast-color);
  color: var(--default-color);
}

.footer .footer-newsletter .newsletter-form input[type=email]:focus-visible {
  outline: none;
}

.footer .footer-newsletter .newsletter-form input[type=submit] {
  border: 0;
  font-size: 16px;
  padding: 0 20px;
  margin: -7px -9px -7px 0;
  background: var(--accent-color);
  color: var(--contrast-color);
  transition: 0.3s;
  border-radius: 50px;
}

.footer .footer-newsletter .newsletter-form input[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}


.footer .social-links a {
  background-color: #5b0f0ffa;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-right: 10px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.footer .footer-links {
    padding-top: 10px;
  margin-bottom: 30px;
}

.footer .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer .footer-links ul i {
  padding-right: 2px;
  font-size: 12px;
  line-height: 0;
}

.footer .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
  
}

.footer .footer-links ul li:first-child {
  padding-top: 0;
}

.footer .footer-links ul a {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  display: inline-block;
  line-height: 1;
      text-decoration: none;

}

.footer .footer-links ul a:hover {
  color: var(--accent-color);
}

.breadcrum {
    background-image: url(../../assets/petanque/bg-title-name.png);
    background-size: cover;
    background-position: center;
    min-height: 179px;
    color: #fff;
}

.news-items {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0px 14px 31px 0px rgba(0, 0, 0, 0.04);
}

.news-items .news-item-content {
    margin-bottom: 10px;
    padding: 0.75em 10px;
    color: #6D757F;
    font-size: 12px;
    flex: 1;
}

.news-items a.h6 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2em;
    color: #000 !important;
}
.news-items .overflow-hidden img {
    height: 194px;
    /* object-fit: cover; */
    object-fit: contain;
}

.img-zoomin {
    transition: 0.5s;
}

a, a:hover {
   
    text-decoration: none;
}

.form-control{
    border: 1px solid #b6b6b6 !important;
    background-color: #fff !important;
    color: #000 !important;
}

/* taruh di public.css atau di dalam <style> halaman ini */
.select2-container--default .select2-selection--single {
    background-color: #fff;
    border: 1px solid #ced4da;      /* sama seperti border form-control Bootstrap */
    border-radius: 0.375rem;         /* sama seperti border-radius form-control */
    height: calc(1.5em + 0.75rem + 2px); /* samakan tinggi dengan input Bootstrap */
    padding: 0.375rem 0.75rem;
    display: flex;
    align-items: center;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    padding: 0;
    line-height: normal;
    color: #212529;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100%;
    top: 0;
    right: 8px;
}

/* Saat focus, samakan dengan efek fokus Bootstrap */
.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--open .select2-selection--single {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}


/* ====== Org Chart CSS-only Tree ====== */
.org-chart-scroll {
    overflow-x: auto;
    padding-bottom: 30px;
}
/* ====== Org Chart Tree Lines (versi presisi) ====== */
.tree, .tree ul, .tree li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.tree {
    display: table;
    margin: 0 auto;
    text-align: center;
}

.tree ul {
    display: table;
    padding-top: 20px;
    position: relative;
    transition: all .5s;
}

.tree li {
    display: table-cell;
    text-align: center;
    position: relative;
    padding: 20px 10px 0 10px;
    vertical-align: top;
    transition: all .5s;
}

/* garis horizontal setengah kiri & kanan dari titik tengah tiap cell */
.tree li::before,
.tree li::after {
    content: '';
    position: absolute;
    top: 0;
    right: 50%;
    width: 50%;
    height: 20px;
    border-top: 2px solid #d1453b;
}

.tree li::after {
    right: auto;
    left: 50%;
    border-left: 2px solid #d1453b;
}

/* kalau cuma 1 anak (tanpa saudara), tidak perlu garis horizontal sama sekali */
.tree li:only-child::before,
.tree li:only-child::after {
    display: none;
}

.tree li:only-child {
    padding-top: 0;
}

/* hilangkan garis yang "nyasar" keluar di ujung kiri & kanan paling luar */
.tree li:first-child::before,
.tree li:last-child::after {
    border: 0 none;
}

/* bikin sudut rapi (rounded) di ujung kiri & kanan, biar seperti kurung siku */
.tree li:last-child::before {
    border-right: 2px solid #d1453b;
    border-radius: 0 5px 0 0;
}

.tree li:first-child::after {
    border-radius: 5px 0 0 0;
}

/* garis vertikal turun dari parent ke baris children */
.tree ul ul::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 0;
    height: 20px;
    border-left: 2px solid #d1453b;
}

/* ====== Kartu Pengurus ====== */
.org-jabatan-label {
    color: #d1453b;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: .5px;
    margin-bottom: 6px;
}

.org-card {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    padding: 12px 16px 14px 16px;
    min-width: 190px;
    margin-bottom: 4px;
}

.org-card-empty {
    opacity: 0.6;
}

.org-photo {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #d1453b;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f1f1;
    margin-bottom: 8px;
    font-size: 1.4rem;
    color: #999;
}

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

.org-nama {
    font-weight: 600;
    font-size: 0.9rem;
    color: #1d1e1e;
}

.org-sub-jabatan {
    font-size: 0.75rem;
    color: #777;
}

/* ====== Box statis KONI Pusat ====== */
.org-static-label {
    color: #d1453b;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: .5px;
    margin-bottom: 6px;
}

.org-static-box {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    padding: 14px 24px;
}

.org-static-logo {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.org-static-connector {
    width: 0;
    height: 30px;
    margin: 0 auto;
    border-left: 2px solid #d1453b;
}

/* ganti dari ini: */
#tableRanking thead tr {
    background-color: #8b1a1a;
    color: #fff;
}

/* jadi ini: */
#tableRanking thead th {
    background-color: #8b1a1a !important;
    color: #fff !important;
    border: none;
    font-weight: 600;
    padding: 14px 16px;
    vertical-align: middle;
}

#tableRanking tbody td {
    vertical-align: middle !important;
}
/* ====== Hero & Floating Stats ====== */
.ranking-hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #4a0e0e 100%);
    position: relative;
    padding-bottom: 60px;
}

.ranking-stats-float {
    margin-top: -50px;
    position: relative;
    z-index: 10;
}
/* ====== Header tabel: warna maroon solid sesuai gambar ====== */
#tableRanking thead tr {
    background-color: #8b1a1a; /* sesuaikan hex persis dari brand kamu kalau beda */
    color: #fff;
}

#tableRanking thead th {
    border: none;
    font-weight: 600;
    padding: 14px 16px;
    vertical-align: middle;
}

/* ====== Card statistik jadi clickable ====== */
.stat-card-ranking {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
}

.stat-card-ranking:hover:not(.stat-card-static) {
    box-shadow: 0 6px 24px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.stat-card-ranking.active {
    border-color: #d1453b;
    background: #fff5f5;
}

.stat-card-ranking.stat-card-static {
    cursor: default;
}

.stat-icon-ranking {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.stat-label-ranking {
    font-size: 0.75rem;
    font-weight: 700;
    color: #888;
    letter-spacing: 0.5px;
}

.stat-value-ranking {
    font-size: 1.6rem;
    font-weight: 800;
    color: #1d1e1e;
}

.stat-sub-ranking {
    font-size: 0.8rem;
    color: #999;
}

/* ====== Rank badge di tabel ====== */
.rank-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #eee;
    font-weight: 700;
    font-size: 0.85rem;
}

.rank-medal-gold { background: #ffd700; color: #5a4600; }
.rank-medal-silver { background: #c0c0c0; color: #4a4a4a; }
.rank-medal-bronze { background: #cd7f32; color: #4a2f0f; }

/* ====== Podium ====== */
.podium-wrap {
    padding: 20px 0;
}

.podium-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    text-align: center;
    padding: 16px;
    position: relative;
    width: 250px;
}

.podium-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #d1453b;
}
.podium-item {
    position: relative;
}

/* Badge (medali) - center-align lurus dengan card */
.podium-badge {
    display: flex;
    justify-content: center;
    margin-bottom: -8px; /* biar sedikit menumpuk/overlap ke card, opsional */
    z-index: 3;
}

.podium-badge-img {
    width: 40px;    /* ganti dari 20% ke fixed px, supaya tidak ikut melebar/menyusut aneh */
    height: auto;
    display: block;
}

/* Card podium tetap seperti sebelumnya, pastikan z-index di atas base image */
.podium-card {
    position: relative;
    z-index: 2;
}

/* Gambar pedestal/podium base - ditarik naik supaya overlap ke bawah card */
.podium-base-img {
    margin-top: -20px; /* <- ini kuncinya: menarik gambar naik, sesuaikan angkanya */
    position: relative;
    z-index: 3; /* di bawah card, supaya card terlihat menumpuk di atas pedestal */
}
.w-podium-first{
    width: 250px;
}
.w-podium-second{
    width: 225px;
}
.w-podium-third{
    width: 200px;
}
.podium-first {
    /* order: 2; */
    padding-bottom: 40px;
    margin-bottom:20px;
}

.podium-second {
    /* order: 1; */
    padding-bottom: 40px;
    margin-bottom:10px;
    margin-left: 10px;
    margin-right: 10px;
    width: 225px;
}

.podium-third {
    /* order: 3; */
    padding-bottom: 40px;
    margin-left: 10px;
    margin-right: 10px;
    width: 200px;
}


/* ====== Card Profil Kiri (gradient merah -> hitam) ====== */
.atlet-profile-card {
    background: linear-gradient(180deg, #d1453b 0%, #9d0d0d 60%, #1a1a1a 100%);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    /* height: 100%; */
}

.atlet-photo-wrap {
    position: relative;
}

.atlet-photo {
    width: 100%;
    aspect-ratio: 1 / 1;
    /* object-fit: cover; */
    object-fit: contain;
    display: block;
}

.badge-atlet-status {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #d1453b;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
}

.atlet-identity-box {
    padding: 20px;
    color: #fff;
}

.atlet-id-label {
    font-size: 0.75rem;
    opacity: 0.8;
    margin-bottom: 2px;
}

.atlet-id-value {
    font-size: 1.3rem;
    font-weight: 700;
}

/* ====== Info Data Diri Tengah ====== */
.atlet-info-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 1.2rem;
}

.atlet-info-label {
    font-size: 1rem;
    color: #999;
}

.atlet-info-value {
    font-size: 1rem;
    font-weight: 600;
    color: #1d1e1e;
}

.atlet-stat-box {
    background: #f8f8f8;
    border-radius: 10px;
    padding: 14px;
    text-align: center;
}

.atlet-stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1d1e1e;
    margin: 6px 0 2px;
}

.atlet-stat-label {
    font-size: 0.75rem;
    color: #888;
}

/* ====== Timeline Prestasi Kanan ====== */
.prestasi-timeline {
    position: relative;
    padding-left: 20px;
}

.prestasi-timeline::before {
    content: '';
    position: absolute;
    left: 5px;
    top: 6px;
    bottom: 6px;
    width: 2px;
    background: #e5e5e5;
}

.timeline-item {
    position: relative;
    padding-bottom: 22px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -20px;
    top: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #d1453b;
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px #d1453b;
}

.timeline-year {
    font-size: 0.75rem;
    color: #d1453b;
    font-weight: 700;
}

.timeline-title {
    font-weight: 600;
    font-size: 0.9rem;
    color: #1d1e1e;
}

.timeline-sub {
    font-size: 0.8rem;
    color: #888;
}

.badge-medali {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    white-space: nowrap;
}

.badge-emas     { background: #ffd700; color: #5a4600; }
.badge-perak    { background: #d9d9d9; color: #4a4a4a; }
.badge-perunggu { background: #cd7f32; color: #fff; }
.badge-peserta  { background: #e5e5e5; color: #666; }


/* ====== Hero & Floating Tabs ====== */
.pengprov-hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #4a0e0e 100%);
    padding-bottom: 70px;
}

.breadcrumb-white a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.85rem;
}

.breadcrumb-white a:hover {
    color: #fff;
}

.pengprov-tabs-float {
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.pengprov-tab-nav {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    padding: 10px;
    gap: 6px;
}

.pengprov-tab-nav .nav-link {
    color: #666;
    font-weight: 600;
    border-radius: 8px;
    padding: 10px 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pengprov-tab-nav .nav-link.active {
    background: transparent;
    color: #d1453b;
    position: relative;
}

.pengprov-tab-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 18px;
    right: 18px;
    height: 2px;
    background: #d1453b;
}

/* ====== Identitas Pengprov ====== */
.pengprov-logo {
    width: 100px;
    height: 100px;
    object-fit: contain;
    border: 3px solid #1a1a1a;
    border-radius: 50%;
    padding: 6px;
}

/* ====== Stat Card ====== */
.pengprov-stat-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    height: 100%;
    position: relative;
    flex-wrap: wrap;
}

.pengprov-stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.pengprov-stat-label {
    font-size: 0.8rem;
    color: #888;
}

.pengprov-stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1d1e1e;
}

.pengprov-stat-sub {
    font-size: 0.75rem;
    color: #aaa;
}

.pengprov-stat-link {
    width: 100%;
    text-align: right;
    font-size: 0.8rem;
    color: #d1453b;
    text-decoration: none;
    font-weight: 600;
    margin-top: 8px;
}

.pengprov-stat-link:hover {
    text-decoration: underline;
}