/* =================================================================
   Public Components — Design System
   Shared across all public-facing pages.
   Avoid duplicating these in @push('pages-style') blocks.
   ================================================================= */

/* ── Section header ─────────────────────────────────────────────── */
.section-bar {
    width: 10px;
    height: 10px;
    background: #19a9f6;
    border-radius: 10px;
    flex-shrink: 0;
}

.section-bar-stretch {
    width: 4px;
    min-height: 32px;
    background: #fbf100;
    border-radius: 2px;
    flex-shrink: 0;
    align-self: stretch;
}

/* White so it's legible on the mountain-image page background */
.section-title {
    color: #000000;
    font-weight: 100;
    margin: 0;
    font-size: 2.0rem;
}

/* Override to navy when section-title is inside a white card */
.card .section-title {
    color: #002e5b;
}

.section-sub {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.section-link {
    color: #196bcd;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
}
.section-link:hover { opacity: 0.75; color: #196bcd; }

/* Kembali link when rendered on a background-image page (before the card) */
.section-link-on-bg {
    color: white;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}
.section-link-on-bg:hover { opacity: 0.85; color: white; }


/* ── Search box ─────────────────────────────────────────────────── */
.search-box {
    background: #f5f8fa;
    border: 1.5px solid #e4e6ef;
    border-radius: 8px;
    padding: 0.55rem 1rem 0.55rem 2.4rem;
    font-size: 0.9rem;
    transition: border-color 0.2s;
    width: 100%;
}
.search-box:focus {
    outline: none;
    border-color: #002e5b;
    box-shadow: 0 0 0 3px rgba(0, 46, 91, 0.08);
}

/* Placeholder when search-box is inside the dark breadcrumb slot */
#breadcrumb-right-slot .search-box::placeholder {
    color: rgba(0, 0, 0, 0.5);
}


/* ── Card hover ─────────────────────────────────────────────────── */
.public-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.public-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 46, 91, 0.12) !important;
}

.public-row-item {
    transition: background 0.2s ease;
}
.public-row-item:hover {
    background: rgba(0, 46, 91, 0.03);
}


/* ── Article / rich-text content ────────────────────────────────── */
.article-content {
    color: #3f4254;
    font-size: 1rem;
    line-height: 1.85;
}
.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6 {
    color: #002e5b;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}
.article-content p { margin-bottom: 1.25rem; }
.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin: 1.5rem 0;
    display: block;
}
.article-content a { color: #196bcd; text-decoration: underline; }
.article-content a:hover { opacity: 0.8; }
.article-content ul,
.article-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1.25rem;
}
.article-content li { margin-bottom: 0.4rem; }
.article-content blockquote {
    border-left: 4px solid #fbf100;
    padding: 0.75rem 1.25rem;
    margin: 1.5rem 0;
    background: rgba(0, 46, 91, 0.04);
    border-radius: 0 0.5rem 0.5rem 0;
    color: #5e6278;
    font-style: italic;
}
.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}
.article-content table th {
    background: #002e5b;
    color: #fff !important;
    padding: 0.6rem 0.9rem;
    text-align: left;
}
.article-content table td {
    padding: 0.6rem 0.9rem;
    border-bottom: 1px solid #e4e6ef;
}
.article-content table tr:hover td { background: rgba(0, 46, 91, 0.03); }
