@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=DM+Serif+Display&display=swap');

/* ===================================
   Haraka — Events List [events_list]
   =================================== */

.ev-wrap {
    font-family: 'DM Sans', -apple-system, sans-serif;
    max-width: 100%;
    margin: 0 auto;
}

.ev-month-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 16px 0 4px;
}

.ev-month-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #888;
    white-space: nowrap;
}

.ev-month-line {
    flex: 1;
    height: 1px;
    background: #ececec;
}

.ev-row,
.ev-row:hover,
.ev-row:visited,
.ev-row:focus {
    display: flex;
    align-items: flex-start;
    padding: 20px 8px;
    border-bottom: 1px solid #ececec;
    text-decoration: none !important;
    color: inherit !important;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.ev-row:last-child {
    border-bottom: none;
}

.ev-row:hover {
    background-color: #f9f9f9;
}

.ev-row *,
.ev-row *:hover,
.ev-row *:visited {
    text-decoration: none !important;
    color: inherit;
}

.ev-date-col {
    min-width: 68px;
    text-align: center;
    flex-shrink: 0;
    padding-top: 2px;
}

.ev-day-name {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 2px;
}

.ev-day-num {
    display: block;
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 40px;
    line-height: 1;
    color: #1a1a1a;
}

.ev-content {
    flex: 1;
    padding: 2px 24px;
    border-left: 2px solid #0056b3;
}

.ev-meta {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: #0056b3;
    margin-bottom: 5px;
}

.ev-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 5px;
    line-height: 1.35;
}

.ev-venue {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.ev-excerpt {
    font-size: 13px;
    color: #666;
    line-height: 1.55;
    text-decoration: none !important;
}

.ev-img {
    flex-shrink: 0;
    width: 200px;
    height: 130px;
    border-radius: 8px;
    overflow: hidden;
    margin-left: 20px;
}

.ev-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media ( max-width: 768px ) {
    .ev-row,
    .ev-row:hover,
    .ev-row:visited,
    .ev-row:focus {
        flex-wrap: wrap;
        padding: 20px 0;
    }
    .ev-img {
        width: 100%;
        height: 180px;
        margin: 14px 0 0;
    }
    .ev-date-col {
        min-width: 60px;
    }
    .ev-content {
        padding: 2px 16px;
    }
}

/* ===================================
   Haraka — Event Single Page
   template-single.php styles
   =================================== */

.hrk-event-page {
    font-family: 'DM Sans', -apple-system, 'Segoe UI', sans-serif;
    max-width: 860px;
    margin: 40px auto;
    padding: 0 24px 80px;
    color: #0f172a;
}

.hrk-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #64748b;
    text-decoration: none;
    margin-bottom: 24px;
}

.hrk-back-link:hover { color: #0f172a; }

.hrk-event-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 16px;
}

.hrk-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.hrk-status-upcoming { background: #dcfce7; color: #166534; }
.hrk-status-upcoming .hrk-status-dot { background: #16a34a; }
.hrk-status-today    { background: #dbeafe; color: #1d4ed8; }
.hrk-status-today .hrk-status-dot    { background: #2563eb; }
.hrk-status-past     { background: #f1f5f9; color: #475569; }
.hrk-status-past .hrk-status-dot     { background: #94a3b8; }

.hrk-event-title {
    font-size: 32px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
    margin: 0 0 12px;
}

.hrk-event-excerpt {
    font-size: 15px;
    color: #475569;
    line-height: 1.7;
    margin: 0 0 24px;
}

.hrk-event-banner {
    width: 100%;
    height: 340px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
    margin-bottom: 28px;
}

.hrk-banner-placeholder {
    width: 100%;
    height: 200px;
    background: #f1f5f9;
    border-radius: 12px;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 13px;
}

.hrk-info-grid {
    display: grid;
    grid-template-columns: repeat( auto-fit, minmax( 180px, 1fr ) );
    gap: 12px;
    margin-bottom: 36px;
}

.hrk-info-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 14px 16px;
}

.hrk-info-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #94a3b8;
    margin-bottom: 5px;
}

.hrk-info-value {
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.4;
}

.hrk-section { margin-bottom: 36px; }

.hrk-section-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #94a3b8;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 10px;
    margin-bottom: 18px;
}

.hrk-vip-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid #f1f5f9;
}

.hrk-vip-row:last-child { border-bottom: none; }

.hrk-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #dbeafe;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: #1d4ed8;
    flex-shrink: 0;
}

.hrk-vip-name {
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
}

.hrk-vip-title {
    font-size: 12px;
    color: #64748b;
    margin-top: 2px;
}

.hrk-vip-tag {
    margin-left: auto;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    flex-shrink: 0;
}

.hrk-vip-goh      { background: #fef9c3; color: #a16207; }
.hrk-vip-tazkirah { background: #dcfce7; color: #166534; }
.hrk-vip-notable  { background: #f1f5f9; color: #475569; }
.hrk-vip-speaker  { background: #dbeafe; color: #1d4ed8; }
.hrk-vip-mc       { background: #fce7f3; color: #9d174d; }

.hrk-table-wrap {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
}

.hrk-itinerary-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.hrk-itinerary-table th {
    text-align: left;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #94a3b8;
    padding: 10px 14px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.hrk-itinerary-table td {
    padding: 13px 14px;
    border-bottom: 1px solid #f8fafc;
    vertical-align: top;
}

.hrk-itinerary-table tr:last-child td { border-bottom: none; }
.hrk-itinerary-table tbody tr:hover td { background: #f8fafc; }

.hrk-itin-time {
    font-size: 12px;
    font-weight: 700;
    color: #0056b3;
    white-space: nowrap;
}

.hrk-itin-activity {
    font-size: 13px;
    font-weight: 500;
    color: #0f172a;
}

.hrk-itin-pic {
    font-size: 12px;
    color: #64748b;
}

.hrk-attendance-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.hrk-faq-item {
    padding: 14px 0;
    border-bottom: 1px solid #f1f5f9;
}

.hrk-faq-item:last-child { border-bottom: none; }

.hrk-faq-q {
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 6px;
}

.hrk-faq-a {
    font-size: 13px;
    color: #475569;
    line-height: 1.65;
}

.hrk-guideline-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 13px;
    color: #0f172a;
    line-height: 1.55;
}

.hrk-guideline-item:last-child { border-bottom: none; }

.hrk-guide-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #0056b3;
    flex-shrink: 0;
    margin-top: 5px;
}

.hrk-cta-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.hrk-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    padding: 11px 22px;
    border-radius: 8px;
    text-decoration: none !important;
    cursor: pointer;
    border: none;
    transition: all 0.15s;
}

.hrk-btn-primary {
    background: #0f172a;
    color: #ffffff !important;
}

.hrk-btn-primary:hover { background: #1e293b; }

.hrk-btn-secondary {
    background: #ffffff;
    color: #0f172a !important;
    border: 1px solid #e2e8f0;
}

.hrk-btn-secondary:hover { background: #f8fafc; }

.hrk-contact-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 18px 20px;
}

.hrk-contact-name {
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
}

.hrk-contact-dept {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 4px;
}

.hrk-contact-detail {
    font-size: 12px;
    color: #0056b3;
    text-decoration: none;
}

@media ( max-width: 640px ) {
    .hrk-event-title  { font-size: 24px; }
    .hrk-event-banner { height: 200px; }
    .hrk-attendance-grid { grid-template-columns: 1fr; }
    .hrk-cta-row { flex-direction: column; }
    .hrk-btn { justify-content: center; }
    .hrk-vip-tag { display: none; }
}