/* Detail kegiatan PRM Sidomulyo */
@keyframes detail-fade-up {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes detail-icon-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(7, 80, 47, 0); }
    50% { box-shadow: 0 0 0 5px rgba(7, 80, 47, 0.1); }
}

.detail-page { min-height: 100vh; padding-top: 0; background: #f7faf8; color: #24352b; font-family: 'Roboto', sans-serif; }
.detail-layout { width: 100%; min-height: 100vh; margin: 0; display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(24px, 3vw, 52px); padding: clamp(24px, 3vw, 42px) clamp(24px, 4vw, 64px); border: 0; border-radius: 0; background: #fbfdfb; animation: detail-fade-up .45s ease both; }
.detail-sidebar { min-width: 0; }
.detail-brand { display: flex; align-items: center; gap: 8px; padding: 10px 12px; background: #07502f; color: #fff; border-radius: 6px 6px 0 0; font-size: 13px; font-weight: 800; }
.detail-brand:hover { color: #fff; }
.detail-sidebar nav { padding: 6px 0 10px; border: 1px solid #e1e8e3; border-top: 0; border-radius: 0 0 7px 7px; background: #fff; box-shadow: 0 3px 10px rgba(15,81,50,.06); }
.detail-sidebar nav a { display: flex; align-items: center; gap: 7px; margin: 3px 6px; padding: 9px 8px; border-radius: 5px; color: #24352b; font-size: 11px; font-weight: 700; line-height: 1.3; }
.detail-sidebar nav a i { width: 9px; font-size: 8px; color: #6d7b72; }
.detail-sidebar nav a { transition: background .2s ease, color .2s ease, transform .2s ease; }
.detail-sidebar nav a:hover, .detail-sidebar nav a.active { background: #edf3ee; color: #07502f; transform: translateX(2px); }
.detail-sidebar nav a.active i { color: #07502f; }
.detail-help { display: flex; flex-direction: column; gap: 3px; margin-top: 28px; padding: 15px 12px; border: 1px solid #e1e8e3; border-radius: 7px; background: #fff; box-shadow: 0 3px 10px rgba(15,81,50,.06); font-size: 10px; }
.detail-help > i { margin-bottom: 4px; color: #07502f; font-size: 22px; }
.detail-help strong { font-size: 11px; color: #1d3024; }
.detail-help span { color: #66736b; line-height: 1.35; }
.detail-help b { color: #07502f; font-size: 11px; }
.detail-sidebar-toggle { display: none !important; }
.detail-main { min-width: 0; max-width: 1480px; width: 100%; }
.detail-breadcrumb { margin: 2px 0 6px; color: #718077; font-size: 10px; }
.detail-breadcrumb a { color: #60756a; }
.detail-breadcrumb a:hover { color: #07502f; }
.detail-breadcrumb span { padding: 0 5px; color: #a2aca5; }
.detail-breadcrumb strong { color: #2a3e31; }
.detail-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 16px; animation: detail-fade-up .5s .08s ease both; }
.detail-heading h1 { margin: 0 0 6px; color: #07502f; font-family: 'Inter', sans-serif; font-size: 30px; line-height: 1.15; }
.detail-heading p { display: flex; align-items: center; gap: 7px; margin: 0; color: #53645a; font-size: 13px; }
.detail-heading p i { color: #07502f; }
.detail-share, .share-icon { display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border: 1px solid #7da08b; border-radius: 5px; background: #fff; color: #07502f; font-size: 11px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.detail-share:hover, .share-icon:hover { background: #07502f; color: #fff; transform: translateY(-1px); }
.detail-share, .share-icon { transition: background .2s ease, color .2s ease, transform .2s ease; }
.detail-highlight-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 18px; }
.detail-highlight { display: flex; align-items: center; gap: 13px; min-height: 62px; padding: 11px 14px; border-radius: 8px; background: #edf4ef; color: #07502f; animation: detail-fade-up .5s .16s ease both; transition: transform .2s ease, box-shadow .2s ease; }
.detail-highlight:nth-child(2) { animation-delay: .22s; }
.detail-highlight:hover { transform: translateY(-2px); box-shadow: 0 5px 14px rgba(15,81,50,.1); }
.detail-highlight.secondary { background: #eef7f0; color: #17633c; }
.detail-highlight.orange { color: #df5b00; background: #fff3e9; }
.detail-highlight.blue { color: #075db7; background: #eef4ff; }
.detail-highlight.brown { color: #5f2c1f; background: #f5efed; }
.detail-highlight > i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 8px; background: rgba(255,255,255,.65); font-size: 20px; animation: detail-icon-pulse 2.4s ease-in-out infinite; }
.detail-highlight strong, .detail-highlight span { display: block; }
.detail-highlight strong { font-size: 15px; }
.detail-highlight span { margin-top: 4px; color: #59685f; font-size: 12px; }
.schedule-section { margin-top: -88px; animation: detail-fade-up .5s .28s ease both; }
.schedule-columns .schedule-section:nth-child(2) { animation-delay: .36s; }
.schedule-section h2 { display: flex; align-items: center; gap: 9px; margin: 0; padding: 8px 10px; border-radius: 6px 6px 0 0; background: #07502f; color: #fff; font-size: 14px; line-height: 1.3; }
.schedule-section h2 .schedule-icon { display: grid; place-items: center; width: 31px; height: 31px; margin-left: -1px; border-radius: 50%; background: #e9f3ec; color: #07502f; font-size: 16px; }
.schedule-section h2 > i { margin-left: auto; font-size: 11px; }
.schedule-table-wrap { overflow: hidden; border: 1px solid #e2e9e4; border-top: 0; border-radius: 0 0 5px 5px; background: #fff; }
.schedule-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 13px; }
.schedule-table th { padding: 7px 10px; background: #07502f; color: #fff; font-weight: 700; text-align: left; }
.schedule-table td { padding: 7px 10px; border-bottom: 1px solid #e5ebe7; color: #2d3b32; transition: background .2s ease, padding-left .2s ease; }
.schedule-table tbody tr:hover td { background: #eaf4ed; padding-left: 10px; }
.schedule-table tbody tr:nth-child(even) { background: #f5f8f6; }
.schedule-table tbody tr:last-child td { border-bottom: 0; }
.schedule-table td i { width: 17px; margin-right: 4px; color: #07502f; font-size: 13px; }
.schedule-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.detail-footer-note { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 16px; padding: 10px 12px; border: 1px solid #dfe7e1; border-radius: 5px; background: #fff; font-size: 10px; animation: detail-fade-up .5s .42s ease both; }
.detail-footer-note strong, .detail-footer-note span { display: block; }
.detail-footer-note strong { margin-bottom: 3px; color: #07502f; }
.detail-footer-note strong i { margin-right: 4px; }
.detail-footer-note span { color: #586960; }
.detail-footer-note em { color: #47705a; font-size: 10px; line-height: 1.45; text-align: right; }
.detail-mobile-header { display: none; }

@media (max-width: 760px) {
    .detail-page { background: #f7faf8; }
    .detail-mobile-header { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; min-height: 44px; padding: 0 14px; background: #07502f; color: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
    .detail-mobile-header a, .detail-mobile-header .share-icon { display: grid; place-items: center; width: 26px; height: 26px; padding: 0; border: 0; background: transparent; color: #fff; }
    .detail-mobile-header strong { font-size: 13px; }
    .detail-layout { display: block; width: 100%; min-height: calc(100vh - 44px); padding: 16px 12px 24px; border: 0; border-radius: 0; background: #f7faf8; }
    .detail-sidebar-toggle { display: flex !important; align-items: center; gap: 8px; width: 100%; margin: 0 0 12px; padding: 10px 12px; border: 1px solid #dce7df; border-radius: 7px; background: #fff; color: #07502f; box-shadow: 0 3px 10px rgba(15,81,50,.05); font-size: 12px; font-weight: 700; text-align: left; cursor: pointer; }
    .detail-sidebar { display: none; margin-bottom: 14px; }
    .detail-sidebar.is-open { display: block; }
    .detail-breadcrumb { display: none; }
    .detail-heading { margin: 2px 2px 12px; }
    .detail-heading h1 { font-size: clamp(22px, 6vw, 27px); }
    .detail-heading p { font-size: clamp(10px, 3vw, 12px); line-height: 1.4; }
    .detail-share { display: none; }
    .detail-highlight-grid { gap: 8px; margin-bottom: 12px; }
    .detail-highlight { min-height: 52px; gap: 8px; padding: 8px 9px; }
    .detail-highlight > i { width: 32px; height: 32px; font-size: 15px; }
    .detail-highlight strong { font-size: clamp(10px, 3vw, 13px); line-height: 1.2; }
    .detail-highlight span { font-size: clamp(8px, 2.5vw, 10px); }
    .schedule-section { margin-top: 10px; }
    .schedule-section h2 { padding: 7px 8px; font-size: 12px; }
    .schedule-section h2 .schedule-icon { width: 25px; height: 25px; font-size: 13px; }
    .schedule-table { font-size: clamp(9px, 2.8vw, 12px); }
    .schedule-table th, .schedule-table td { padding: 6px 7px; }
    .schedule-table td i { width: 14px; margin-right: 2px; font-size: 11px; }
    .schedule-columns { display: block; }
    .schedule-columns .schedule-section + .schedule-section { margin-top: 10px; }
    .detail-footer-note { display: block; margin-top: 10px; padding: 9px; font-size: clamp(8px, 2.3vw, 10px); }
    .detail-footer-note em { display: block; margin-top: 8px; font-size: clamp(9px, 2.6vw, 11px); text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
