/* =========================================================
   Tema situs E-PHYO NG (beranda + halaman web lain + popup)
   Dominan putih, mengikuti palet panel (indigo + oranye),
   font futuristik Sora, latar garis horizontal bergelombang
   (Three.js / cadangan CSS). Tanpa ornamen dan tanpa foto.
   ========================================================= */
:root {
    --bg: #F6F7FB;
    --surface: #FFFFFF;
    --ink: #15132B;
    --muted: #5F5C7B;
    --line: #E7E7F2;
    --indigo: #4B3FC4;
    --indigo-600: #3B309F;
    --indigo-50: #EEEDFC;
    --violet: #7C5CFF;
    --orange: #F59E4C;
    --orange-50: #FFF4E8;
    --ok: #16A34A;

    --radius: 18px;
    --shadow-sm: 0 6px 18px -12px rgba(30, 24, 90, .28);
    --shadow-md: 0 18px 40px -22px rgba(30, 24, 90, .35);
    --font: "Sora", "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

    /* komponen Tabler (halaman web lain, modal) mengikuti palet */
    --tblr-primary: #4B3FC4;
    --tblr-primary-rgb: 75, 63, 196;
    --tblr-primary-fg: #FFFFFF;
    --tblr-primary-darken: #3B309F;
    --tblr-primary-lt: #EEEDFC;
    --tblr-primary-lt-rgb: 238, 237, 252;
    --tblr-link-color: #4B3FC4;
    --tblr-link-color-rgb: 75, 63, 196;
    --tblr-link-hover-color: #3B309F;
    --tblr-link-hover-color-rgb: 59, 48, 159;
    --tblr-font-sans-serif: var(--font);
    --tblr-body-font-family: var(--font);
}

body.tp-landing {
    --tblr-body-bg: #F6F7FB;
    --tblr-body-color: #15132B;
    margin: 0;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.55;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

.tp-landing *,
.tp-landing *::before,
.tp-landing *::after {
    box-sizing: border-box;
}

.tp-landing img {
    max-width: 100%;
}

.tp-landing a:focus-visible,
.tp-landing button:focus-visible,
.tp-landing input:focus-visible {
    outline: 3px solid rgba(75, 63, 196, .45);
    outline-offset: 3px;
}

.tp-container {
    width: 100%;
    max-width: 1440px;
    margin-inline: auto;
    padding-inline: clamp(20px, 4vw, 56px);
}

.tp-skip {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 100;
    padding: 8px 14px;
    border-radius: 10px;
    background: var(--indigo);
    color: #fff;
    font-weight: 700;
}

.tp-skip:focus {
    top: 12px;
}

.tp-sr-only {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.tp-ico {
    flex: none;
}

/* ---------- Tombol ---------- */
.tp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 11px 20px;
    border: 1px solid transparent;
    border-radius: 999px;
    font: 600 15px/1.2 var(--font);
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: transform .2s cubic-bezier(.2, .7, .2, 1), box-shadow .2s, background-color .2s, border-color .2s, color .2s;
}

.tp-btn:hover {
    text-decoration: none;
    transform: translateY(-1px);
}

.tp-btn .tp-ico:last-child:not(:first-child) {
    transition: transform .2s;
}

.tp-btn:hover .tp-ico:last-child:not(:first-child) {
    transform: translateX(4px);
}

.tp-btn--lg {
    padding: 15px 26px;
    font-size: 16px;
}

.tp-btn--primary {
    color: #fff;
    background: linear-gradient(135deg, var(--indigo) 0%, var(--violet) 100%);
    box-shadow: 0 12px 26px -12px rgba(75, 63, 196, .75);
}

.tp-btn--primary:hover {
    color: #fff;
    box-shadow: 0 16px 34px -12px rgba(75, 63, 196, .85);
}

.tp-btn--outline {
    color: var(--ink);
    background: rgba(255, 255, 255, .8);
    border-color: var(--line);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.tp-btn--outline:hover {
    color: var(--indigo);
    border-color: rgba(75, 63, 196, .4);
    background: #fff;
}

/* ---------- Header ---------- */
.tp-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(255, 255, 255, .82);
    border-bottom: 1px solid var(--line);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    backdrop-filter: saturate(160%) blur(14px);
}

.tp-header__bar {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: 72px;
}

.tp-brand {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-right: auto;
    color: var(--ink);
    text-decoration: none;
}

.tp-brand:hover {
    color: var(--ink);
    text-decoration: none;
}

.tp-brand__logos {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.tp-brand__logo {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.tp-brand__divider {
    width: 1px;
    align-self: stretch;
    margin-block: 8px;
    background: var(--line);
}

.tp-brand__text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    white-space: nowrap;
}

.tp-brand__name {
    font-size: 19px;
    font-weight: 800;
    letter-spacing: .02em;
}

.tp-brand__region {
    margin-top: 2px;
    font-size: 12px;
    color: var(--muted);
}

.tp-nav {
    display: flex;
    align-items: center;
    gap: 16px;
}

.tp-nav__list {
    display: flex;
    align-items: center;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tp-nav__item {
    position: relative;
}

.tp-nav__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 14px;
    border-radius: 999px;
    color: var(--muted);
    font-size: 14.5px;
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none;
    transition: color .2s, background-color .2s;
}

.tp-nav__link:hover {
    color: var(--ink);
    text-decoration: none;
    background: rgba(75, 63, 196, .06);
}

.tp-nav__link.is-active {
    color: var(--indigo);
    background: var(--indigo-50);
}

.tp-nav__dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 40;
    min-width: 210px;
    padding: 6px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--shadow-md);
}

.tp-nav__dropdown.show {
    display: block;
}

.tp-nav__dropdown .dropdown-item {
    display: block;
    padding: 9px 12px;
    border-radius: 10px;
    color: var(--ink);
    font-weight: 500;
    text-decoration: none;
}

.tp-nav__dropdown .dropdown-item:hover,
.tp-nav__dropdown .dropdown-item:focus {
    background: var(--indigo-50);
    color: var(--indigo);
}

.tp-nav__sep {
    width: 1px;
    height: 28px;
    background: var(--line);
}

.tp-nav-toggle {
    display: none;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    color: var(--ink);
    cursor: pointer;
}

.tp-nav-toggle__bar,
.tp-nav-toggle__bar::before,
.tp-nav-toggle__bar::after {
    position: relative;
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
}

.tp-nav-toggle__bar::before,
.tp-nav-toggle__bar::after {
    content: "";
    position: absolute;
    left: 0;
}

.tp-nav-toggle__bar::before {
    top: -6px;
}

.tp-nav-toggle__bar::after {
    top: 6px;
}

/* ---------- Latar beranda: garis horizontal bergelombang (tppasn-waves.js) ---------- */
.tp-waves {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.tp-waves__canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}

/* cadangan bila WebGL tidak tersedia: pita SVG di tengah vertikal, digeser horizontal */
.tp-waves__css {
    position: absolute;
    left: 0;
    top: 50%;
    width: 200%;
    height: 60%;
    transform: translateY(-50%);
    animation: tp-waves-flow 24s linear infinite;
}

.tp-waves.is-webgl .tp-waves__css {
    display: none;
}

@keyframes tp-waves-flow {
    from { transform: translate(0, -50%); }
    to { transform: translate(-50%, -50%); }
}


/* hanya main yang mengisi/menyusut; header, judul halaman & footer tetap utuh
   (tanpa ini, judul halaman terpotong pada halaman yang isinya panjang) */
body.tp-landing > * {
    flex-shrink: 0;
}

/* main mengisi sisa layar (header + hero + footer = satu layar di desktop) */
body.tp-landing > main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* ---------- Hero ---------- */
.tp-hero {
    position: relative;
    flex: 1;
    display: flex;
    overflow: hidden;
    background:
        var(--bg);
}

/* kabut putih di sisi teks agar garis tidak mengganggu keterbacaan */
.tp-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(246, 247, 251, .92) 0%, rgba(246, 247, 251, .6) 38%, rgba(246, 247, 251, 0) 62%);
}

.tp-hero__inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    align-items: center;
    gap: clamp(32px, 5vw, 88px);
    padding-block: clamp(32px, 6vh, 72px);
}

.tp-hero:not(.has-slider) .tp-hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, .85fr);
}

/* label periode: teks polos dengan garis pendek, tanpa badge */
.tp-kicker {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.tp-kicker::before {
    content: "";
    width: 28px;
    height: 2px;
    border-radius: 2px;
    background: var(--indigo);
}

.tp-kicker strong {
    color: var(--ink);
    font-weight: 700;
}

.tp-hero__title {
    margin: 22px 0 18px;
    font-family: var(--font);
    font-size: clamp(38px, 4.4vw, 70px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -.035em;
    color: var(--ink);
}

.tp-hero__title-main {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    column-gap: .3em;
}

.tp-hero__title-main b {
    font-weight: 800;
    background: linear-gradient(100deg, var(--indigo) 0%, var(--violet) 55%, var(--orange) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tp-hero__title-main small {
    font-size: .42em;
    font-weight: 600;
    letter-spacing: -.01em;
    color: var(--muted);
}

.tp-hero__lead {
    max-width: 560px;
    margin: 0 0 30px;
    color: var(--muted);
    font-size: clamp(15.5px, 1.15vw, 17.5px);
    line-height: 1.7;
}

.tp-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tp-quick {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    max-width: 560px;
    margin-top: 28px;
}

.tp-quick__item {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 11px 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, .85);
    box-shadow: var(--shadow-sm);
    color: var(--ink);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    transition: transform .2s, border-color .2s, box-shadow .2s;
}

.tp-quick__item:hover {
    color: var(--indigo);
    text-decoration: none;
    border-color: rgba(75, 63, 196, .35);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.tp-quick__icon {
    display: grid;
    place-items: center;
    flex: none;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--indigo-50);
    color: var(--indigo);
}

.tp-quick__text {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* ---------- Kartu kanan: slider dari database ---------- */
.tp-hero__figure {
    position: relative;
}

.tp-slider {
    position: relative;
    width: 100%;
    max-width: 680px;
    margin-left: auto;
    aspect-ratio: 4 / 3;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 28px;
    background: rgba(255, 255, 255, .6);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    box-shadow: 0 30px 70px -36px rgba(30, 24, 90, .45), 0 0 0 1px var(--line);
}

.tp-slider .carousel-inner,
.tp-slider .carousel-item {
    height: 100%;
}

.tp-slider .carousel-inner {
    overflow: hidden;
    border-radius: 20px;
    background: #fff;
}

.tp-slider__link {
    display: block;
    height: 100%;
}

.tp-slider__bg {
    position: absolute;
    inset: -20px;
    width: calc(100% + 40px);
    height: calc(100% + 40px);
    object-fit: cover;
    filter: blur(18px) saturate(1.1);
    opacity: .45;
}

.tp-slider__img {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.tp-slider__caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    padding: 40px 18px 16px;
    background: linear-gradient(180deg, transparent, rgba(21, 19, 43, .72));
    color: #fff;
    pointer-events: none;
}

.tp-slider__title {
    overflow: hidden;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.tp-slider__count {
    flex: none;
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .2);
    font-size: 12px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.tp-slider .tp-slider__dots {
    top: 22px;
    right: 22px;
    bottom: auto;
    left: auto;
    z-index: 3;
    justify-content: flex-end;
    gap: 6px;
    margin: 0;
}

.tp-slider .tp-slider__dots [data-bs-target] {
    position: relative;
    overflow: hidden;
    width: 28px;
    height: 4px;
    margin: 0;
    border: 0;
    border-radius: 99px;
    background: rgba(255, 255, 255, .6);
    opacity: 1;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .2);
}

.tp-slider .tp-slider__dots [data-bs-target]::after {
    content: "";
    position: absolute;
    inset: 0;
    width: 0;
    background: #fff;
}

.tp-slider .tp-slider__dots .active::after {
    width: 100%;
    animation: tp-progress 5s linear both;
}

.tp-slider:hover .tp-slider__dots .active::after {
    animation-play-state: paused;
}

@keyframes tp-progress {
    from { width: 0; }
    to { width: 100%; }
}

.tp-slider__nav {
    top: 50%;
    bottom: auto;
    width: 42px;
    height: 42px;
    margin: 0 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .9);
    color: var(--ink);
    opacity: 0;
    transform: translateY(-50%);
    box-shadow: var(--shadow-sm);
    transition: opacity .2s;
}

.tp-slider:hover .tp-slider__nav,
.tp-slider__nav:focus-visible {
    opacity: 1;
}

.tp-slider__nav:hover {
    color: var(--indigo);
    background: #fff;
}

@media (hover: none) {
    .tp-slider__nav {
        opacity: .9;
    }
}

/* tanpa slide: kartu ringkasan fitur */
.tp-features {
    max-width: 520px;
    margin-left: auto;
    padding: 26px;
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 26px;
    background: rgba(255, 255, 255, .7);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    box-shadow: 0 30px 70px -36px rgba(30, 24, 90, .4), 0 0 0 1px var(--line);
}

.tp-features__label {
    margin: 0 0 16px;
    color: var(--muted);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.tp-features__list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tp-features__item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
}

.tp-features__icon {
    display: grid;
    place-items: center;
    flex: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--indigo-50);
    color: var(--indigo);
}

.tp-features__item:nth-child(2) .tp-features__icon {
    background: var(--orange-50);
    color: var(--orange);
}

.tp-features__item strong {
    display: block;
    font-size: 15px;
}

.tp-features__item span {
    color: var(--muted);
    font-size: 13px;
}

/* ---------- Footer ---------- */
.tp-footer {
    border-top: 1px solid var(--line);
    background: var(--surface);
    color: var(--muted);
    font-size: 13px;
}

.tp-footer__inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 4px 24px;
    padding-block: 14px;
}

.tp-footer__inner p {
    margin: 0;
}

/* ---------- Animasi masuk ---------- */
@keyframes tp-fade-up {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: none; }
}

@keyframes tp-reveal {
    from { opacity: 0; transform: translateY(40%); filter: blur(6px); }
    to { opacity: 1; transform: none; filter: none; }
}

@media (prefers-reduced-motion: no-preference) {
    .tp-kicker { animation: tp-fade-up .6s cubic-bezier(.16, 1, .3, 1) .05s both; }
    .tp-hero__title { animation: tp-reveal .9s cubic-bezier(.16, 1, .3, 1) .12s both; }
    .tp-hero__lead { animation: tp-fade-up .7s cubic-bezier(.16, 1, .3, 1) .25s both; }
    .tp-hero__actions { animation: tp-fade-up .7s cubic-bezier(.16, 1, .3, 1) .33s both; }
    .tp-quick { animation: tp-fade-up .7s cubic-bezier(.16, 1, .3, 1) .41s both; }
    .tp-slider,
    .tp-features { animation: tp-fade-up .9s cubic-bezier(.16, 1, .3, 1) .3s both; }
    .tp-waves__canvas { animation: tp-fade-in 1.2s ease .1s both; }

    @keyframes tp-fade-in {
        from { opacity: 0; }
        to { opacity: 1; }
    }
}

@media (prefers-reduced-motion: reduce) {
    .tp-landing *,
    .tp-landing *::before,
    .tp-landing *::after {
        animation: none !important;
        transition: none !important;
    }
}

/* =========================================================
   HALAMAN WEB LAIN (layout web/layouts/index)
   ========================================================= */
body.tp-inner > .tp-inner__main {
    flex: 1;
}

.tp-inner .tp-pagehead {
    position: relative;
    overflow: hidden;
    padding: clamp(28px, 4vw, 48px) 0 clamp(22px, 3vw, 32px);
    border-bottom: 1px solid var(--line);
    background:
        radial-gradient(50% 120% at 100% 0%, rgba(124, 92, 255, .10) 0%, transparent 60%),
        var(--surface);
}

.tp-pagehead__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px 24px;
}

.tp-crumb {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 13.5px;
}

.tp-crumb a {
    color: var(--indigo);
    font-weight: 600;
    text-decoration: none;
}

.tp-pagehead__title {
    margin: 0;
    font-family: var(--font);
    font-size: clamp(26px, 2.6vw, 38px);
    font-weight: 800;
    letter-spacing: -.03em;
    color: var(--ink);
}

.tp-clock {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 8px 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--indigo);
    box-shadow: var(--shadow-sm);
}

.tp-clock input {
    width: 22ch;
    border: 0;
    background: transparent;
    color: var(--ink);
    font: 600 14.5px/1.2 var(--font);
    outline: none;
}

.tp-inner__main {
    padding-block: clamp(20px, 3vw, 36px) clamp(32px, 4vw, 56px);
}

.tp-inner .card {
    border-color: var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

.tp-inner .accordion-item {
    border-color: var(--line);
}

.tp-inner .accordion-button {
    font-weight: 600;
    color: var(--ink);
}

.tp-inner .accordion-button:not(.collapsed) {
    color: var(--indigo);
    background: var(--indigo-50);
    box-shadow: inset 0 -1px 0 var(--line);
}

.tp-inner .accordion-button:focus,
.tp-inner .form-control:focus,
.tp-inner .form-select:focus {
    border-color: rgba(75, 63, 196, .5);
    box-shadow: 0 0 0 .25rem rgba(75, 63, 196, .16);
}

.tp-inner .table thead th {
    background: #F7F7FC;
    color: var(--muted);
}

/* =========================================================
   POPUP PENGUMUMAN
   ========================================================= */
.tp-announce .modal-content {
    overflow: hidden;
    border: 0;
    border-radius: 22px;
    background: var(--surface);
    box-shadow: 0 40px 80px -30px rgba(21, 19, 43, .5);
    font-family: var(--font);
}

.tp-announce__head {
    position: relative;
    padding: 24px 64px 18px 28px;
    border-bottom: 1px solid var(--line);
    background:
        radial-gradient(80% 140% at 100% 0%, rgba(124, 92, 255, .12) 0%, transparent 60%),
        #fff;
}

.tp-announce__head::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--indigo), var(--violet), var(--orange));
}

.tp-announce__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    padding: 4px 12px;
    border-radius: 999px;
    background: var(--indigo-50);
    color: var(--indigo);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.tp-announce__title {
    margin: 0;
    font-family: var(--font);
    font-size: clamp(19px, 2vw, 23px);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -.02em;
    color: var(--ink);
}

.tp-announce__close {
    position: absolute;
    top: 18px;
    right: 18px;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #fff;
    color: var(--muted);
    cursor: pointer;
    transition: color .15s, border-color .15s;
}

.tp-announce__close:hover {
    color: var(--indigo);
    border-color: rgba(75, 63, 196, .4);
}

.tp-announce__body {
    padding: 22px 28px 6px;
    color: var(--ink);
}

.tp-announce__figure {
    margin: 0 0 18px;
    padding: 6px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--bg);
}

.tp-announce__figure img {
    display: block;
    width: 100%;
    max-height: 340px;
    object-fit: contain;
    border-radius: 11px;
}

.tp-announce__message {
    font-size: 15.5px;
    line-height: 1.7;
}

.tp-announce__message a {
    color: var(--indigo);
    font-weight: 600;
}

.tp-announce__foot {
    display: flex;
    justify-content: flex-end;
    padding: 16px 28px 22px;
}

/* =========================================================
   RESPONSIF
   ========================================================= */
/* laptop: navigasi dipadatkan */
@media (min-width: 1100px) and (max-width: 1399.98px) {
    .tp-nav {
        gap: 10px;
    }

    .tp-nav__link {
        padding: 8px 10px;
        font-size: 14px;
    }
}

/* layar desktop pendek: tetap satu layar */
@media (min-width: 1100px) and (max-height: 800px) {
    .tp-hero__inner {
        padding-block: 24px;
    }

    .tp-hero__title {
        margin: 16px 0 14px;
        font-size: clamp(34px, 3.6vw, 56px);
    }

    .tp-hero__lead {
        margin-bottom: 22px;
    }

    .tp-quick {
        margin-top: 20px;
    }
}

/* menu ringkas (hamburger) */
@media (max-width: 1099.98px) {
    .tp-nav-toggle {
        display: inline-grid;
    }

    .tp-nav {
        display: none;
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding: 12px;
        border: 1px solid var(--line);
        border-radius: 16px;
        background: #fff;
        box-shadow: var(--shadow-md);
    }

    .tp-nav.is-open {
        display: flex;
    }

    .tp-nav__list {
        flex-direction: column;
        align-items: stretch;
    }

    .tp-nav__link {
        width: 100%;
        padding: 12px 14px;
        border-radius: 10px;
    }

    .tp-nav__sep {
        display: none;
    }

    .tp-nav .dropdown-menu {
        position: static !important;
        transform: none !important;
        width: 100%;
        margin-top: 4px;
        box-shadow: none;
    }
}

/* tablet & ponsel: satu kolom */
@media (max-width: 991.98px) {
    .tp-hero__inner,
    .tp-hero:not(.has-slider) .tp-hero__inner {
        grid-template-columns: 1fr;
    }

    .tp-hero::after {
        background: linear-gradient(180deg, rgba(246, 247, 251, .92) 0%, rgba(246, 247, 251, .55) 55%, rgba(246, 247, 251, .15) 100%);
    }

    .tp-slider,
    .tp-features {
        margin-inline: auto;
    }
}

@media (max-width: 767.98px) {
    .tp-header__bar {
        min-height: 64px;
        gap: 10px;
    }

    .tp-brand__logo {
        width: 36px;
        height: 36px;
    }

    .tp-brand__name {
        font-size: 17px;
    }

    .tp-brand__region {
        font-size: 11px;
    }

    .tp-hero__actions .tp-btn {
        flex: 1 1 220px;
    }

    .tp-quick {
        gap: 8px;
    }

    .tp-quick__item {
        flex-direction: column;
        gap: 6px;
        padding: 12px 6px;
        font-size: 13px;
        text-align: center;
    }

    .tp-slider {
        padding: 6px;
        border-radius: 22px;
    }

    .tp-slider .carousel-inner {
        border-radius: 16px;
    }

    .tp-footer__inner {
        flex-direction: column;
        text-align: center;
    }

    .tp-clock {
        width: 100%;
        justify-content: center;
    }

    .tp-announce .modal-dialog {
        margin: 12px;
    }

    .tp-announce__head {
        padding: 22px 56px 16px 20px;
    }

    .tp-announce__body {
        padding: 18px 20px 4px;
    }

    .tp-announce__foot {
        padding: 14px 20px 18px;
    }

    .tp-announce__foot .tp-btn {
        width: 100%;
    }
}

@media (max-width: 419.98px) {
    .tp-brand {
        gap: 8px;
    }

    .tp-brand__logos {
        gap: 4px;
    }

    .tp-brand__logo {
        width: 32px;
        height: 32px;
    }

    .tp-brand__name {
        font-size: 16px;
    }

    .tp-brand__region {
        font-size: 10.5px;
    }

    .tp-nav-toggle {
        width: 40px;
        height: 40px;
    }
}
