/* =========================================================
   1. BLOK PENGUMUMAN (50%) & AGENDA KEGIATAN (50%)
   ========================================================= */
.info-agenda-section {
    background: linear-gradient(180deg, #ebf6f1 0%, #e1f2ea 100%);
    border-top: 1px solid #cce7db;
    border-bottom: 1px solid #cce7db;
    padding: 52px 0 58px;
    position: relative;
}

.info-agenda-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    align-items: stretch;
}

.board-card {
    background: var(--white);
    border-radius: 18px;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(4, 57, 42, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.board-pengumuman {
    border-top: 4px solid var(--gold);
}

.board-agenda {
    border-top: 4px solid var(--brand);
}

.board-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 20px 24px 16px;
    border-bottom: 1px solid var(--gray-100);
}

.board-head-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.board-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.board-icon.icon-gold {
    background: rgba(245, 180, 10, 0.16);
    color: #9a6700;
}

.board-icon.icon-green {
    background: var(--brand-50);
    color: var(--brand);
}

.board-kicker {
    display: block;
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--gray-400);
    line-height: 1.2;
}

.board-head h3 {
    margin: 2px 0 0;
    font-size: 18px;
    font-weight: 800;
    color: var(--brand-dark);
    line-height: 1.2;
}

.board-more-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--brand);
    padding: 5px 12px;
    border-radius: 9999px;
    background: var(--brand-50);
    transition: background-color 0.16s ease, color 0.16s ease;
    flex-shrink: 0;
}

.board-more-link:hover {
    background: var(--brand);
    color: var(--white);
}

.board-list {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.board-row {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 14px 24px;
    border-bottom: 1px solid var(--gray-100);
    transition: background-color 0.16s ease;
}

.board-row:last-child {
    border-bottom: none;
}

.board-row:hover {
    background: #f5fbf8;
}

.board-date-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.05;
    flex-shrink: 0;
}

.board-date-box strong {
    font-size: 17px;
    font-weight: 800;
}

.board-date-box small {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-top: 2px;
}

.board-date-box.date-gold {
    background: rgba(245, 180, 10, 0.16);
    color: #7a5200;
}

.board-date-box.date-green {
    background: var(--brand-50);
    color: var(--brand-dark);
}

.board-row-body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.board-row-title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.38;
    color: var(--ink);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.16s ease;
}

.board-row:hover .board-row-title {
    color: var(--brand);
}

.board-row-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 11.5px;
    color: var(--gray-500);
}

.agenda-place {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 240px;
}

.agenda-place-full {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--gray-500);
}

.agenda-place-full svg {
    color: var(--brand);
    flex-shrink: 0;
}

.board-row-arrow {
    color: var(--gray-400);
    flex-shrink: 0;
    transition: transform 0.16s ease, color 0.16s ease;
}

.board-row:hover .board-row-arrow {
    color: var(--brand);
    transform: translateX(3px);
}

.board-empty {
    padding: 36px 24px;
    text-align: center;
    font-size: 13.5px;
    color: var(--gray-500);
    margin: auto 0;
}

.board-empty p {
    margin: 0;
}

/* =========================================================
   2. BLOK HASIL SURVEI (IKM, IPAK, IPKP) & PENGAWASAN
   ========================================================= */
.survei-section {
    background: var(--white);
    padding: 52px 0 58px;
}

.survei-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px 20px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.survei-period-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 9999px;
    background: var(--brand-50);
    border: 1px solid var(--brand-100);
    color: var(--brand-dark);
    font-size: 12px;
    font-weight: 700;
}

.period-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand-light);
    box-shadow: 0 0 0 3px rgba(13, 189, 137, 0.22);
}

.survei-main-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 1.48fr);
    gap: 20px;
    align-items: stretch;
}

.survei-action-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.survei-score-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.survei-card {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-card);
    transition:
        transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.28s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.25s ease;
}

.survei-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 16px;
    bottom: 16px;
    width: 4px;
    border-radius: 0 4px 4px 0;
    background: linear-gradient(180deg, var(--gold-light), var(--gold));
    transform: scaleY(0);
    transform-origin: center;
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 4;
}

.survei-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 42px -12px rgba(4, 57, 42, 0.24), 0 8px 18px -6px rgba(4, 57, 42, 0.1);
}

.survei-card:hover::before {
    transform: scaleY(1);
}

.survei-sheen {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        115deg,
        transparent 25%,
        rgba(255, 255, 255, 0.16) 48%,
        transparent 72%
    );
    transform: translateX(-125%);
    transition: transform 0.65s ease;
    pointer-events: none;
    z-index: 2;
}

.survei-card:hover .survei-sheen {
    transform: translateX(125%);
}

.survei-orb-deco {
    position: absolute;
    right: -24px;
    top: -24px;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    pointer-events: none;
    transition: transform 0.35s ease;
}

.survei-card:hover .survei-orb-deco {
    transform: scale(1.18);
}

.survei-bg-watermark {
    position: absolute;
    pointer-events: none;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
}

.wm-siwas {
    right: -22px;
    bottom: -24px;
    width: 126px;
    height: 126px;
    color: rgba(255, 255, 255, 0.12);
    transform: rotate(-10deg);
}

.wm-survelag {
    right: -20px;
    bottom: -22px;
    width: 120px;
    height: 120px;
    color: rgba(6, 120, 86, 0.08);
    transform: rotate(10deg);
}

.wm-score {
    right: -24px;
    bottom: -26px;
    width: 122px;
    height: 122px;
    color: rgba(255, 255, 255, 0.1);
    transform: rotate(-12deg);
}

.survei-card:hover .survei-bg-watermark {
    transform: rotate(0deg) scale(1.1);
}

/* Kartu SIWAS & Survelag */
.survei-card-siwas {
    background: linear-gradient(140deg, #045a40 0%, #067856 52%, #0DBD89 100%);
    color: var(--white);
    justify-content: space-between;
}

.survei-card-survelag {
    background: var(--white);
    border: 1px solid var(--brand-100);
    color: var(--ink);
    justify-content: space-between;
}

.survei-card-survelag:hover {
    border-color: var(--brand);
}

.survei-card-survelag .survei-sheen {
    background: linear-gradient(
        115deg,
        transparent 25%,
        rgba(13, 189, 137, 0.1) 48%,
        transparent 72%
    );
}

.survei-card-top,
.survei-card-foot {
    position: relative;
    z-index: 3;
}

.survei-logo-frame {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 14px;
}

.survei-logo-img {
    display: block;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.siwas-logo-img {
    height: 46px;
    filter: drop-shadow(0 2px 6px rgba(4, 57, 42, 0.18));
}

.survelag-logo-img {
    height: 48px;
}

.survei-card:hover .survei-logo-img {
    transform: scale(1.06);
}

.survei-brand-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 16px;
}

.survei-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    transition: transform 0.28s ease;
}

.survei-card:hover .survei-icon-box {
    transform: scale(1.08) rotate(-4deg);
}

.icon-siwas {
    background: rgba(255, 255, 255, 0.18);
    color: var(--gold-light);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.icon-survelag {
    background: var(--brand-50);
    color: var(--brand);
    box-shadow: inset 0 0 0 1px var(--brand-100);
}

.survei-tag-pill {
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 4px 10px;
    border-radius: 9999px;
}

.tag-light {
    background: rgba(255, 255, 255, 0.16);
    color: var(--gold-light);
}

.tag-green {
    background: var(--brand-50);
    color: var(--brand);
}

.survei-action-title {
    margin: 0 0 8px;
    font-size: 21px;
    font-weight: 800;
    line-height: 1.2;
}

.siwas-wordmark {
    letter-spacing: 0.05em;
    font-style: italic;
}

.survei-action-title.text-dark {
    color: var(--brand-dark);
}

.survei-action-desc {
    margin: 0 0 20px;
    font-size: 13px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.9);
}

.survei-action-desc.text-muted {
    color: var(--gray-500);
}

.survei-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 16px;
    border-radius: 9999px;
    font-size: 12.5px;
    font-weight: 700;
    transition: gap 0.22s ease, background-color 0.2s ease, transform 0.2s ease;
}

.survei-cta-btn svg {
    transition: transform 0.22s ease;
}

.survei-card:hover .survei-cta-btn svg {
    transform: translateX(3px);
}

.cta-white {
    background: var(--white);
    color: var(--brand-mid);
}

.cta-green {
    background: var(--brand);
    color: var(--white);
}

.cta-green:hover {
    background: var(--brand-dark);
}

/* Kartu Skor IKM, IPAK, IPKP */
.survei-score-card {
    background: linear-gradient(160deg, #04392a 0%, #055e43 52%, #067856 100%);
    color: var(--white);
    align-items: center;
    text-align: center;
    border: 1px solid rgba(255, 210, 63, 0.14);
}

.survei-score-card:hover {
    border-color: rgba(255, 210, 63, 0.45);
}

.score-head-badges {
    position: relative;
    z-index: 3;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    margin-bottom: 14px;
}

.score-code-pill {
    padding: 3px 10px;
    border-radius: 9999px;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    color: var(--brand-dark);
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.score-grade-pill {
    font-size: 10px;
    font-weight: 700;
    color: var(--gold-light);
    background: rgba(255, 255, 255, 0.1);
    padding: 3px 9px;
    border-radius: 9999px;
    border: 1px solid rgba(255, 210, 63, 0.24);
}

.score-ring-wrap {
    position: relative;
    z-index: 3;
    width: 106px;
    height: 106px;
    margin: 2px auto 12px;
    display: grid;
    place-items: center;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.survei-score-card:hover .score-ring-wrap {
    transform: scale(1.07);
}

.score-ring-svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.18));
}

.score-ring-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.14);
    stroke-width: 7;
}

.score-ring-fill {
    fill: none;
    stroke-width: 7;
    stroke-linecap: round;
    transition: filter 0.3s ease, stroke-width 0.25s ease;
}

.survei-score-card:hover .score-ring-fill {
    stroke-width: 8;
    filter: drop-shadow(0 0 6px rgba(255, 210, 63, 0.65));
}

.score-ring-value {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.05;
}

.score-ring-value strong {
    font-size: 25px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--white);
}

.score-ring-value small {
    font-size: 10px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.65);
    margin-top: 2px;
}

.score-label {
    position: relative;
    z-index: 3;
    margin: 0;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.38;
    color: rgba(255, 255, 255, 0.9);
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.score-bar-track {
    position: relative;
    z-index: 3;
    width: 100%;
    height: 4px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.18);
    overflow: hidden;
    margin-top: 10px;
}

.score-bar-fill {
    display: block;
    height: 100%;
    border-radius: 9999px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    transition: filter 0.25s ease;
}

.survei-score-card:hover .score-bar-fill {
    filter: brightness(1.15);
}

.score-period {
    position: relative;
    z-index: 3;
    margin-top: 8px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.62);
}

.score-report-link {
    position: relative;
    z-index: 3;
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 700;
    color: var(--gold-light);
    transition: color 0.18s ease, gap 0.2s ease;
}

.survei-score-card:hover .score-report-link {
    color: var(--white);
    gap: 8px;
}

/* Responsif Pengumuman, Agenda, & Survei */
@media (max-width: 1120px) {
    .survei-main-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    .info-agenda-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 720px) {
    .survei-action-grid,
    .survei-score-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .board-head,
    .board-row {
        padding-left: 16px;
        padding-right: 16px;
    }
}