/*
 * SIHAKI Guest PATCH 39 | 25 Okt 2026
 * Scoped only to body.sihaki-guest. Load after guest-brand-v38.css.
 * Keeps all current endpoints, JS slider, charts, Apps, and Admin untouched.
 */

/* Unified blue palette replaces inherited green theme on public pages. */
body.sihaki-guest {
    --sihaki-primary: #168dcc;
    --sihaki-primary-dark: #1278b5;
    --sihaki-primary-deep: #103951;
    --sihaki-primary-soft: #eaf6fd;
    --sihaki-ink: #20394f;
    --sihaki-muted: #647d91;
    --sihaki-soft: #f3f8fc;
    --sihaki-soft-2: #edf5fa;
    --sihaki-border: #dce9f2;
    --bs-primary: #168dcc;
    --bs-primary-rgb: 22,141,204;
    --bs-success: #168dcc;
    --bs-success-rgb: 22,141,204;
    --guest-blue: #158dcc;
    --guest-blue-dark: #0e76b7;
    --guest-gold: #ffb936;
}

/* Less cramped tracking on all public headings while preserving sizes/layout. */
body.sihaki-guest h1,
body.sihaki-guest h2,
body.sihaki-guest h3,
body.sihaki-guest h4,
body.sihaki-guest h5,
body.sihaki-guest h6 {
    letter-spacing: -0.012em;
    line-height: 1.32;
    font-weight: 750;
    text-wrap: pretty;
}
body.sihaki-guest .home-hero h1 {
    letter-spacing: -0.022em;
    line-height: 1.16;
}
body.sihaki-guest .page-header h1,
body.sihaki-guest .page-header h1.h2,
body.sihaki-guest .page-header .page-header-title {
    letter-spacing: -0.018em;
    line-height: 1.28;
}
body.sihaki-guest .section-title-row h2,
body.sihaki-guest .process-title,
body.sihaki-guest .ki-statistics-heading h2,
body.sihaki-guest .auth-card h1.h3 {
    letter-spacing: -0.014em;
    line-height: 1.3;
}
body.sihaki-guest .sihaki-navbar .nav-link {letter-spacing: -0.004em;}
body.sihaki-guest .form-label {letter-spacing: 0;}

/* Navbar account actions, slightly smaller than patch 38, balanced with menu. */
body.sihaki-guest .navbar-actions .guest-nav-signin,
body.sihaki-guest .navbar-actions .guest-nav-primary,
body.sihaki-guest .navbar-actions .btn {
    font-size: 14.5px;
    line-height: 1.4;
    font-weight: 750;
    min-height: 40px;
    padding: 9px 15px;
    border-radius: 7px;
    letter-spacing: 0;
}
body.sihaki-guest .navbar-actions {gap: 8px;}
body.sihaki-guest .guest-nav-signin {border-color: #d8e2ea;}
body.sihaki-guest .guest-nav-primary i {font-size: 13px;margin-left: 2px;}

/* Hero search card is contained INSIDE the photo hero, unlike old overhang. */
body.sihaki-guest .home-hero {
    overflow: hidden;
    background: #103c61;
}
body.sihaki-guest .guest-home-hero-inner {
    min-height: 0;
    padding-top: 76px;
    padding-bottom: 66px;
}
body.sihaki-guest .guest-hero-search-panel {
    position: relative;
    z-index: 4;
    margin-top: 42px;
    margin-bottom: 0;
    padding: 24px 27px 26px;
    background: #fff;
    border: 1px solid #e0ebf2;
    border-radius: 18px;
    box-shadow: 0 12px 34px rgba(5, 25, 43, .15);
}
body.sihaki-guest .guest-hero-search-intro {
    padding-bottom: 17px;
    border-bottom: 1px solid #e6eef4;
    margin-bottom: 17px;
    align-items: center;
}
body.sihaki-guest .guest-hero-search-intro span {
    color: #158dcc;
    font-size: 13px;
    font-weight: 750;
}
body.sihaki-guest .guest-hero-search-intro strong {
    color: #193a56;
    font-size: 20px;
    font-weight: 750;
    letter-spacing: -0.012em;
    line-height: 1.3;
    margin-top: 4px;
}
body.sihaki-guest .guest-hero-search-intro a {
    color: #637e95;
    font-size: 13px;
    font-weight: 650;
    white-space: nowrap;
}
body.sihaki-guest .guest-hero-search-intro a i {color: #eda321;margin-right: 5px;}
body.sihaki-guest .hero-search.guest-hero-search-v39 {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) auto;
    gap: 12px;
    align-items: end;
    max-width: none;
    padding: 0;
    border: none;
    border-radius: 0;
    background: none;
    box-shadow: none;
}
body.sihaki-guest .guest-hero-field {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 8px;
}
body.sihaki-guest .hero-search.guest-hero-search-v39 .guest-hero-field label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: auto;
    width: max-content;
    max-width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
    color: #415c76;
    white-space: normal;
}
body.sihaki-guest .guest-hero-field label i {color: #168fce;font-size: 15px;}
body.sihaki-guest .hero-search.guest-hero-search-v39 input,
body.sihaki-guest .hero-search.guest-hero-search-v39 select {
    box-sizing: border-box;
    width: 100%;
    height: 49px;
    min-height: 49px;
    min-width: 0;
    margin: 0;
    padding: 0 15px;
    border: 1px solid #d8e5ef;
    border-radius: 9px;
    background-color: #fff;
    color: #29445c;
    font-size: 14px;
    line-height: 1.45;
    font-family: 'Plus Jakarta Sans', 'DM Sans', system-ui, sans-serif;
    font-weight: 500;
    box-shadow: none;
    outline: none;
}
body.sihaki-guest .hero-search.guest-hero-search-v39 input::placeholder {color:#8a9cad;}
body.sihaki-guest .hero-search.guest-hero-search-v39 select {
    appearance: auto;
    cursor: pointer;
}
body.sihaki-guest .hero-search.guest-hero-search-v39 input:focus,
body.sihaki-guest .hero-search.guest-hero-search-v39 select:focus {
    border-color: #1590cf;
    box-shadow: 0 0 0 3px rgba(21,144,207,.12);
}
body.sihaki-guest .hero-search.guest-hero-search-v39 .btn {
    align-self: end;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-width: 181px;
    min-height: 49px;
    height: 49px;
    margin: 0;
    padding: 10px 19px;
    border-radius: 9px;
    font-size: 13.5px;
    font-weight: 750;
}
body.sihaki-guest .category-section,
body.sihaki-guest .home-section.category-section {padding-top: 78px;}

/* CTA mirrors requested travel banner: vivid blue, gold second line, photo on right. */
body.sihaki-guest .home-cta.guest-home-cta-v39 {
    position: relative;
    isolation: isolate;
    display: block;
    min-height: 324px;
    padding: 48px 54px;
    background: linear-gradient(118deg, #188ccd 0%, #117aaf 56%, #125676 100%);
    border-radius: 17px;
    overflow: hidden;
}
body.sihaki-guest .guest-home-cta-v39 .guest-cta-content {
    position: relative;
    z-index: 2;
    width: min(68%, 700px);
}
body.sihaki-guest .guest-home-cta-v39 .section-eyebrow {
    display:inline-flex;
    align-items:center;
    gap:8px;
    color: #fff !important;
    font-size: 12px;
    font-weight: 700;
}
body.sihaki-guest .guest-home-cta-v39 h2 {
    margin: 20px 0 12px;
    font-size: clamp(29px, 3.3vw, 42px);
    line-height: 1.2;
    letter-spacing: -0.016em;
    font-weight: 800;
    color: #fff;
}
body.sihaki-guest .guest-home-cta-v39 h2 span {color: #ffba37;}
body.sihaki-guest .guest-home-cta-v39 p {
    max-width: 550px;
    font-size: 15px;
    line-height: 1.7;
    font-weight: 500;
    color: rgba(255,255,255,.94);
    margin-bottom: 22px;
}
body.sihaki-guest .guest-home-cta-v39 .btn {
    min-height: 44px;
    padding: 10px 18px;
    font-size: 13.5px;
    font-weight: 750;
    color: #157cb9;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}
body.sihaki-guest .guest-home-cta-v39 .guest-cta-photo {
    position: absolute;
    z-index: 1;
    top: 0;
    right: 0;
    bottom: 0;
    width: 39%;
    background: linear-gradient(90deg,rgba(17,102,151,.08),rgba(17,102,151,.0)),
        url('https://unnes.ac.id/wp-content/uploads/2023/04/WhatsApp-Image-2023-04-11-at-11.31.58-1.jpeg') center center/cover no-repeat;
    border-radius: 53% 0 0 53% / 100% 0 0 100%;
}

/* Auth, guide, catalog and announcement sections: remove residual green panels. */
body.sihaki-guest .auth-section,
body.sihaki-guest .ki-catalog-section,
body.sihaki-guest .pengumuman-section,
body.sihaki-guest .pengumuman-detail-section {background: #f3f8fc;}
body.sihaki-guest .auth-card,
body.sihaki-guest .guide-menu,
body.sihaki-guest .content-card,
body.sihaki-guest .catalog-toolbar,
body.sihaki-guest .ki-catalog-panel,
body.sihaki-guest .pengumuman-card,
body.sihaki-guest .pengumuman-article {background:#fff;border-color:#dce9f2;box-shadow:0 7px 22px rgba(27,58,82,.045);}
body.sihaki-guest .auth-icon {background: linear-gradient(125deg,#1490d0,#1b6ea6);box-shadow:0 10px 25px rgba(19,116,177,.16);}
body.sihaki-guest .auth-card .eyebrow,
body.sihaki-guest .auth-card .text-success {color:#178ccc!important;}
body.sihaki-guest .auth-card .btn-success,
body.sihaki-guest .content-card .btn-success {background:#168dcc;border-color:#168dcc;color:#fff;}
body.sihaki-guest .auth-card .btn-success:hover,
body.sihaki-guest .content-card .btn-success:hover {background:#1078b4;border-color:#1078b4;}
body.sihaki-guest .auth-card a:not(.btn) {color:#117bb6;}
body.sihaki-guest .auth-card .alert-info {border-color:#d7e9f5;background:#edf7fe;color:#375b75;}
body.sihaki-guest .auth-card .choice-card {border-color:#dce9f2;background:#fff;}
body.sihaki-guest .auth-card .choice-card:has(input:checked) {background:#e8f5fc;border-color:#8fc7ea;box-shadow:0 7px 18px rgba(18,137,196,.08);}
body.sihaki-guest .choice-card span strong {color:#233e54;}
body.sihaki-guest .form-control:focus,
body.sihaki-guest .form-select:focus {border-color:#73bce6;box-shadow:0 0 0 3px rgba(21,144,207,.12);}
body.sihaki-guest .guide-menu .guide-link {color:#2e4960;background:transparent;}
body.sihaki-guest .guide-menu .guide-link:hover,
body.sihaki-guest .guide-menu .guide-link.active {background:#e8f5fd;color:#137eba;}
body.sihaki-guest .guide-body a {color:#137eba;}
body.sihaki-guest .guide-body blockquote {background:#f0f8fd;border-left-color:#168dcc;}
body.sihaki-guest .ki-catalog-toolbar,
body.sihaki-guest .ki-catalog-panel,
body.sihaki-guest .ki-catalog-summary {border-color:#dce9f2;}
body.sihaki-guest .ki-catalog-filter-intro h2,
body.sihaki-guest .ki-catalog-panel-header h2,
body.sihaki-guest .ki-catalog-title,
body.sihaki-guest .ki-catalog-empty strong {color:#1d3850;}
body.sihaki-guest .ki-catalog-summary,
body.sihaki-guest .ki-type-pill:not(.ki-type-paten):not(.ki-type-merek):not(.ki-type-desain-industri) {background:#e9f6fc;color:#177bb5;border-color:#d3e8f5;}
body.sihaki-guest .ki-catalog-table thead th {background:#ecf6fc;color:#254660;border-color:#d8e8f2;}
body.sihaki-guest .ki-catalog-table tbody tr:nth-child(even) td {background:#f8fbfe;}
body.sihaki-guest .ki-catalog-table tbody tr:hover td {background:#eff8fd;}
body.sihaki-guest .ki-catalog-year {background:#f2f7fb;border-color:#dce8f0;color:#48637a;}
body.sihaki-guest .ki-catalog-certificate {color:#176f9f;}
body.sihaki-guest .ki-catalog-unit > i,
body.sihaki-guest .ki-catalog-empty i {color:#168dcc;}
body.sihaki-guest .ki-catalog-panel-footer {border-color:#e3edf4;color:#6b8193;}
body.sihaki-guest .table thead th {background:#edf6fc;color:#38576e;border-color:#deebf4;}
body.sihaki-guest .table tbody td {border-color:#e8f0f5;}
body.sihaki-guest .table tbody tr:hover {background:#f5faff;}
body.sihaki-guest .record-footer a {background:#e5f4fd;color:#147fb7;}
body.sihaki-guest .record-footer a:hover {background:#168dcc;color:#fff;}
body.sihaki-guest .tone-green .record-illustration {background:#e0f3ff;}
body.sihaki-guest .process-card:hover {border-color:#c9e1ee;}

/* Dashboard-like public statistics: eliminate legacy green tint without touching calculations. */
body.sihaki-guest .ki-statistics-section {background:#f2f8fc;border-color:#e2edf5;}
body.sihaki-guest .ki-stat-filter-panel {border-color:#dce9f2;}
body.sihaki-guest .ki-stat-filter-title {color:#244259;}
body.sihaki-guest .ki-stat-filter-title i,
body.sihaki-guest .ki-stat-filter-panel.is-busy .ki-stat-filter-caption {color:#178ac9;}
body.sihaki-guest .ki-stat-select-group {color:#516c82;}
body.sihaki-guest .ki-stat-select-group .form-select {color:#2d4960;border-color:#d9e6f0;}
body.sihaki-guest .ki-stat-select-group .form-select:focus {border-color:#1591d0;box-shadow:0 0 0 3px rgba(21,145,208,.11);}
body.sihaki-guest .ki-stat-reset {color:#286487;border-color:#d9e6f0;}
body.sihaki-guest .ki-stat-reset:hover {background:#eaf6fd;border-color:#9bcfe8;}
body.sihaki-guest .ki-stat-summary {background:#eaf6fd;border-color:#d5e9f6;}
body.sihaki-guest .ki-stat-summary-item {border-color:#d2e4ef;}
body.sihaki-guest .ki-stat-summary-item > span {color:#55738b;}
body.sihaki-guest .ki-stat-summary-item strong {color:#1175aa;}
body.sihaki-guest .ki-stat-summary-note i {color:#178ac9;}
body.sihaki-guest .ki-stat-feedback.is-empty {background:#edf6fc;color:#55758c;}
body.sihaki-guest .ki-stat-card {--bar-color:#177eaf;--bar-soft:#e6f4fd;border-color:#dce9f2;}
body.sihaki-guest .ki-stat-card--blue {--bar-color:#416faf;--bar-soft:#ebf2fc;}
body.sihaki-guest .ki-stat-card-title h3 {color:#233f57;}
body.sihaki-guest .ki-stat-card-head {border-color:#e3edf4;}

/* Announcements, including image placeholders and detail pages. */
body.sihaki-guest .pengumuman-total {background:#e9f6fd;color:#1b75aa;border-color:#d5e8f4;}
body.sihaki-guest .pengumuman-card-image,
body.sihaki-guest .pengumuman-detail-cover,
body.sihaki-guest .pengumuman-image-fallback {background:linear-gradient(130deg,#0b557c,#1694ce 70%,#5baed5);}
body.sihaki-guest .pengumuman-date {color:#607b91;}
body.sihaki-guest .pengumuman-date i,
body.sihaki-guest .pengumuman-read {color:#137eb8;}
body.sihaki-guest .pengumuman-card h3 a {color:#18374e;}
body.sihaki-guest .pengumuman-card h3 a:hover,
body.sihaki-guest .pengumuman-read:hover {color:#126b9c;}
body.sihaki-guest .pengumuman-empty-icon {background:#eaf6fd;color:#1789c5;}
body.sihaki-guest .pengumuman-pagination .page-link {border-color:#d9e9f3;color:#23698e;background:#fff;}
body.sihaki-guest .pengumuman-pagination .page-item.active .page-link {background:#168dcc;border-color:#168dcc;color:#fff;}
body.sihaki-guest .pengumuman-pagination .page-item:not(.active):not(.disabled) .page-link:hover {background:#eaf6fd;}
body.sihaki-guest .pengumuman-detail-section {background:#f3f8fc;}
body.sihaki-guest .pengumuman-article-body {color:#2b465b;}
body.sihaki-guest .pengumuman-article-body h2,
body.sihaki-guest .pengumuman-article-body h3,
body.sihaki-guest .pengumuman-article-body h4 {color:#1e3a53;}
body.sihaki-guest .pengumuman-lead {color:#38586f;border-color:#dce9f2;}
body.sihaki-guest .pengumuman-article-body blockquote {background:#eef7fd;color:#43657c;border-left-color:#1992d0;}
body.sihaki-guest .pengumuman-article-body th {background:#edf6fc;}
body.sihaki-guest .pengumuman-article-body pre {background:#f1f7fb;}

@media (max-width: 1199.98px) {
    body.sihaki-guest .navbar-actions .guest-nav-signin,
    body.sihaki-guest .navbar-actions .guest-nav-primary,
    body.sihaki-guest .navbar-actions .btn {font-size:14.5px;min-height:41px;}
}
@media (max-width: 767.98px) {
    body.sihaki-guest .guest-home-hero-inner {padding-top:76px;padding-bottom:49px;}
    body.sihaki-guest .guest-hero-search-panel {padding:22px 20px 23px;margin-top:32px;margin-bottom:0;border-radius:14px;}
    body.sihaki-guest .guest-hero-search-intro {gap:10px;flex-wrap:wrap;}
    body.sihaki-guest .guest-hero-search-intro strong {font-size:17px;}
    body.sihaki-guest .hero-search.guest-hero-search-v39 {grid-template-columns:1fr;gap:14px;}
    body.sihaki-guest .hero-search.guest-hero-search-v39 .btn {width:100%;min-width:0;}
    body.sihaki-guest .home-section.category-section {padding-top:63px;}
    body.sihaki-guest .home-cta.guest-home-cta-v39 {padding:33px 29px 212px;min-height:0;}
    body.sihaki-guest .guest-home-cta-v39 .guest-cta-content {width:100%;}
    body.sihaki-guest .guest-home-cta-v39 h2 {font-size:clamp(28px,6.2vw,37px);}
    body.sihaki-guest .guest-home-cta-v39 .guest-cta-photo {
        top:auto;bottom:0;width:100%;height:196px;
        border-radius:53% 53% 0 0 / 50% 50% 0 0;
        background-position:center 54%;
    }
}
@media (max-width: 575.98px) {
    body.sihaki-guest .guest-hero-search-panel {padding:19px 17px;}
    body.sihaki-guest .guest-hero-search-intro a {white-space:normal;font-size:12px;}
    body.sihaki-guest .hero-search.guest-hero-search-v39 input,
    body.sihaki-guest .hero-search.guest-hero-search-v39 select {height:47px;min-height:47px;}
    body.sihaki-guest .guest-hero-search-intro strong {font-size:16px;}
    body.sihaki-guest .home-cta.guest-home-cta-v39 {padding:28px 23px 203px;}
    body.sihaki-guest .guest-home-cta-v39 h2 {font-size:29px;}
    body.sihaki-guest .guest-home-cta-v39 p {font-size:14px;}
}
