/**
 * Tentang Kami — override template (main.css / reload-custom.css)
 * Harus dimuat paling akhir.
 */

/* Label section — warna oranye seragam */
body.rp-theme.rp-inner.about-page .section-header .cate,
body.rp-theme.rp-inner.about-page .rp-about-services-head .cate,
body.rp-theme.rp-inner.about-page .rp-about-legal-head .cate,
body.rp-theme.rp-inner.about-page .about-content .section-header .cate {
    color: #ffb86c !important;
    font-weight: 700 !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
}

/* Jarak antar section — hindari label menabrak section di atasnya */
body.rp-theme.rp-inner.about-page .about-section {
    padding-bottom: 3.5rem !important;
}

/* Profil Perusahaan — label, judul, paragraf tidak berdekatan */
body.rp-theme.rp-inner.about-page .about-content .section-header.left-style {
    margin-bottom: 0 !important;
    padding: 0 !important;
}

body.rp-theme.rp-inner.about-page .about-content .section-header.left-style .cate {
    display: block !important;
    margin: 0 0 0.65rem !important;
    padding: 0 !important;
    line-height: 1.35 !important;
}

body.rp-theme.rp-inner.about-page .about-content .section-header.left-style .title {
    margin: 0 0 0.85rem !important;
    padding: 0 !important;
    line-height: 1.35 !important;
}

body.rp-theme.rp-inner.about-page .about-content .section-header.left-style + p,
body.rp-theme.rp-inner.about-page .about-content .section-header.left-style ~ p:first-of-type {
    margin-top: 0 !important;
}

body.rp-theme.rp-inner.about-page .about-content .section-header.left-style ~ p {
    margin-bottom: 0.75rem !important;
}

body.rp-theme.rp-inner.about-page .rp-about-values {
    padding-top: 3.25rem !important;
    padding-bottom: 3rem !important;
    margin-top: 0.5rem;
    position: relative;
    z-index: 1;
}

body.rp-theme.rp-inner.about-page .rp-about-values .section-header {
    margin-bottom: 1.75rem !important;
    padding-top: 0.35rem;
}

body.rp-theme.rp-inner.about-page .rp-about-values .section-header .cate {
    display: inline-block;
    margin-top: 0 !important;
    margin-bottom: 0.5rem !important;
    padding-top: 0;
}

body.rp-theme.rp-inner.about-page .rp-about-values .section-header .title {
    margin-top: 0 !important;
    margin-bottom: 0.55rem !important;
}

body.rp-theme.rp-inner.about-page .rp-about-services {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}

/* Header Layanan Utama — jarak label / judul / deskripsi */
body.rp-theme.rp-inner.about-page .rp-about-services-head,
body.rp-theme.rp-inner.about-page .rp-about-legal-head {
    max-width: 42rem;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 1.35rem 1.4rem 1.4rem !important;
    border-radius: 14px !important;
    border: 1px solid var(--rp-glass-border, rgba(255, 255, 255, 0.14)) !important;
    background: var(--rp-glass, rgba(18, 28, 58, 0.55)) !important;
    backdrop-filter: var(--rp-glass-blur, blur(18px) saturate(1.35)) !important;
    -webkit-backdrop-filter: var(--rp-glass-blur, blur(18px) saturate(1.35)) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1) !important;
}

body.rp-theme.rp-inner.about-page .rp-about-services-head {
    margin-bottom: 1.5rem !important;
}

body.rp-theme.rp-inner.about-page .rp-about-services-head .cate,
body.rp-theme.rp-inner.about-page .rp-about-legal-head .cate {
    display: block !important;
    margin: 0 0 0.7rem !important;
    padding: 0 !important;
    line-height: 1.3 !important;
}

body.rp-theme.rp-inner.about-page .rp-about-services-head .title,
body.rp-theme.rp-inner.about-page .rp-about-legal-head .title {
    margin: 0 0 0.75rem !important;
    padding: 0 !important;
    line-height: 1.3 !important;
}

body.rp-theme.rp-inner.about-page .rp-about-services-head p,
body.rp-theme.rp-inner.about-page .rp-about-legal-head p {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 0.88rem !important;
    line-height: 1.6 !important;
}

body.rp-theme.rp-inner.about-page .rp-about-services-grid > [class*="col-"] {
    margin-bottom: 1rem;
}

body.rp-theme.rp-inner.about-page .rp-about-legal {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}

/* Header Informasi Legal */
body.rp-theme.rp-inner.about-page .rp-about-legal-head {
    margin-bottom: 1.5rem !important;
}

/* Kartu data perusahaan — grid profesional */
body.rp-theme.rp-inner.about-page .rp-about-legal-card.legal-info-card {
    padding: 1.35rem 1.25rem 1.4rem !important;
    border-radius: 16px !important;
    margin-top: 0 !important;
}

body.rp-theme.rp-inner.about-page .rp-legal-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem 1.25rem;
}

body.rp-theme.rp-inner.about-page .rp-legal-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 0.85rem 0.95rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

body.rp-theme.rp-inner.about-page .rp-legal-field--wide {
    grid-column: 1 / -1;
}

body.rp-theme.rp-inner.about-page .rp-legal-field__label {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #ffb86c !important;
    line-height: 1.3;
    margin: 0;
}

body.rp-theme.rp-inner.about-page .rp-legal-field__value {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.55;
    color: #f2f6ff !important;
    margin: 0;
    word-break: break-word;
}

body.rp-theme.rp-inner.about-page .rp-legal-field__value--brand {
    font-weight: 700;
    color: #ffffff !important;
}

body.rp-theme.rp-inner.about-page .rp-legal-field__value--mono {
    font-family: ui-monospace, Consolas, monospace;
    font-size: 0.86rem;
    letter-spacing: 0.02em;
}

body.rp-theme.rp-inner.about-page .rp-legal-field__value--highlight {
    font-weight: 700;
    font-size: 0.95rem;
    color: #9ee6b8 !important;
}

/* Tautan — kontras tinggi, bukan biru gelap */
body.rp-theme.rp-inner.about-page .rp-about-legal-card a.rp-legal-link,
body.rp-theme.rp-inner.about-page .legal-info-card a.rp-legal-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #e8f2ff !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    padding: 0.2rem 0.55rem;
    margin: -0.2rem -0.55rem;
    border-radius: 6px;
    background: rgba(126, 168, 255, 0.18);
    border: 1px solid rgba(158, 197, 255, 0.35);
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

body.rp-theme.rp-inner.about-page .rp-about-legal-card a.rp-legal-link:hover,
body.rp-theme.rp-inner.about-page .legal-info-card a.rp-legal-link:hover {
    color: #ffffff !important;
    background: rgba(126, 168, 255, 0.32);
    border-color: rgba(200, 220, 255, 0.55);
}

body.rp-theme.rp-inner.about-page a.rp-legal-link--wa {
    background: rgba(62, 207, 142, 0.15) !important;
    border-color: rgba(62, 207, 142, 0.4) !important;
    color: #b8f5d4 !important;
}

body.rp-theme.rp-inner.about-page a.rp-legal-link--wa:hover {
    background: rgba(62, 207, 142, 0.28) !important;
    color: #ffffff !important;
}

body.rp-theme.rp-inner.about-page .rp-legal-tags {
    list-style: none;
    margin: 0.15rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

body.rp-theme.rp-inner.about-page .rp-legal-tags li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.86rem;
    line-height: 1.5;
    color: #e2e9fb !important;
    margin: 0;
}

body.rp-theme.rp-inner.about-page .rp-legal-tags li i {
    flex-shrink: 0;
    width: 1.1rem;
    height: 1.1rem;
    margin-top: 0.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.55rem;
    color: #0d1f3d;
    background: #3ecf8e;
    border-radius: 50%;
}

/* Mode terang — glass & tipografi seragam (Layanan Utama, Nilai, FAQ, dll.) */
html[data-theme="light"] body.rp-theme.rp-inner.about-page .section-header .cate,
html[data-theme="light"] body.rp-theme.rp-inner.about-page .rp-about-services-head .cate,
html[data-theme="light"] body.rp-theme.rp-inner.about-page .rp-about-legal-head .cate,
html[data-theme="light"] body.rp-theme.rp-inner.about-page .about-content .section-header .cate {
    color: #b45309 !important;
}

html[data-theme="light"] body.rp-theme.rp-inner.about-page .rp-about-services-head,
html[data-theme="light"] body.rp-theme.rp-inner.about-page .rp-about-services .rp-about-service-item,
html[data-theme="light"] body.rp-theme.rp-inner.about-page .rp-about-value-card,
html[data-theme="light"] body.rp-theme.rp-inner.about-page .rp-about-faq details.rp-about-faq-item {
    background: rgba(255, 255, 255, 0.82) !important;
    border: 1px solid rgba(59, 95, 196, 0.2) !important;
    backdrop-filter: blur(14px) saturate(1.15) !important;
    -webkit-backdrop-filter: blur(14px) saturate(1.15) !important;
    box-shadow: 0 6px 24px rgba(48, 78, 150, 0.1) !important;
}

html[data-theme="light"] body.rp-theme.rp-inner.about-page .rp-about-services-head .title,
html[data-theme="light"] body.rp-theme.rp-inner.about-page .rp-about-services-head p,
html[data-theme="light"] body.rp-theme.rp-inner.about-page .rp-about-values .section-header .title,
html[data-theme="light"] body.rp-theme.rp-inner.about-page .rp-about-values .section-header p,
html[data-theme="light"] body.rp-theme.rp-inner.about-page .rp-about-faq .section-header .title,
html[data-theme="light"] body.rp-theme.rp-inner.about-page .rp-about-faq .section-header p {
    color: #152040 !important;
}

html[data-theme="light"] body.rp-theme.rp-inner.about-page .rp-about-service-item__body h4,
html[data-theme="light"] body.rp-theme.rp-inner.about-page .rp-about-service-item__body p,
html[data-theme="light"] body.rp-theme.rp-inner.about-page .rp-about-value-card h3,
html[data-theme="light"] body.rp-theme.rp-inner.about-page .rp-about-value-card p {
    color: #1e3268 !important;
}

html[data-theme="light"] body.rp-theme.rp-inner.about-page .rp-about-service-item__icon,
html[data-theme="light"] body.rp-theme.rp-inner.about-page .rp-about-value-card__icon {
    background: rgba(93, 80, 240, 0.12) !important;
    color: #5d50f0 !important;
}

html[data-theme="light"] body.rp-theme.rp-inner.about-page .rp-about-faq summary.rp-about-faq-q {
    color: #152040 !important;
    background: rgba(59, 95, 196, 0.08) !important;
}

html[data-theme="light"] body.rp-theme.rp-inner.about-page .rp-about-faq .rp-about-faq-a p {
    color: #3d5280 !important;
}

/* Data perusahaan — mode terang: kartu solid, kontras tinggi */
html[data-theme="light"] body.rp-theme.rp-inner.about-page .rp-about-legal-head {
    background: #ffffff !important;
    border: 1px solid #c5d4eb !important;
    box-shadow: 0 4px 18px rgba(30, 60, 120, 0.08) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

html[data-theme="light"] body.rp-theme.rp-inner.about-page .rp-about-legal-head .cate {
    color: #b45309 !important;
}

html[data-theme="light"] body.rp-theme.rp-inner.about-page .rp-about-legal-head .title,
html[data-theme="light"] body.rp-theme.rp-inner.about-page .rp-about-legal-head p {
    color: #152040 !important;
}

html[data-theme="light"] body.rp-theme.rp-inner.about-page .rp-about-legal-card.legal-info-card {
    background: #ffffff !important;
    border: 1px solid #c5d4eb !important;
    box-shadow: 0 6px 28px rgba(30, 60, 120, 0.1) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    color: #0f1d3d !important;
}

html[data-theme="light"] body.rp-theme.rp-inner.about-page .rp-legal-field {
    background: #f3f6fc !important;
    border: 1px solid #d8e2f2 !important;
}

html[data-theme="light"] body.rp-theme.rp-inner.about-page .rp-legal-field__label {
    color: #b45309 !important;
    font-weight: 700;
}

html[data-theme="light"] body.rp-theme.rp-inner.about-page .rp-legal-field__value,
html[data-theme="light"] body.rp-theme.rp-inner.about-page .legal-info-card .rp-legal-field__value {
    color: #0f1d3d !important;
    font-weight: 500;
}

html[data-theme="light"] body.rp-theme.rp-inner.about-page .rp-legal-field__value--brand {
    color: #1e3a8a !important;
    font-weight: 700;
}

html[data-theme="light"] body.rp-theme.rp-inner.about-page .rp-legal-field__value--mono {
    color: #1e3268 !important;
}

html[data-theme="light"] body.rp-theme.rp-inner.about-page .rp-legal-field__value--highlight {
    color: #047857 !important;
    font-weight: 700;
}

html[data-theme="light"] body.rp-theme.rp-inner.about-page .rp-about-legal-card a.rp-legal-link,
html[data-theme="light"] body.rp-theme.rp-inner.about-page .legal-info-card a.rp-legal-link {
    color: #ffffff !important;
    background: #2563eb !important;
    border-color: #1d4ed8 !important;
    margin: 0;
    padding: 0.35rem 0.65rem;
}

html[data-theme="light"] body.rp-theme.rp-inner.about-page .rp-about-legal-card a.rp-legal-link:hover,
html[data-theme="light"] body.rp-theme.rp-inner.about-page .legal-info-card a.rp-legal-link:hover {
    color: #ffffff !important;
    background: #1d4ed8 !important;
    border-color: #1e40af !important;
}

html[data-theme="light"] body.rp-theme.rp-inner.about-page a.rp-legal-link--wa {
    background: #16a34a !important;
    border-color: #15803d !important;
    color: #ffffff !important;
}

html[data-theme="light"] body.rp-theme.rp-inner.about-page a.rp-legal-link--wa:hover {
    background: #15803d !important;
    color: #ffffff !important;
}

html[data-theme="light"] body.rp-theme.rp-inner.about-page .rp-legal-tags li {
    color: #1e3268 !important;
}

html[data-theme="light"] body.rp-theme.rp-inner.about-page .rp-legal-tags li i {
    color: #ffffff !important;
    background: #16a34a !important;
}

@media (max-width: 767px) {
    body.rp-theme.rp-inner.about-page .rp-about-legal {
        padding-top: 2.5rem !important;
    }

    body.rp-theme.rp-inner.about-page .rp-legal-fields {
        grid-template-columns: 1fr;
        gap: 0.55rem;
    }

    body.rp-theme.rp-inner.about-page .rp-about-legal-card.legal-info-card {
        padding: 1rem 0.85rem 1.1rem !important;
    }
}

body.rp-theme.rp-inner.about-page .rp-about-faq {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
}

/* FAQ — jarak label "Pertanyaan Umum" dan judul "FAQ" */
body.rp-theme.rp-inner.about-page .rp-about-faq .section-header {
    margin-bottom: 1.85rem !important;
    padding-top: 0.35rem;
}

body.rp-theme.rp-inner.about-page .rp-about-faq .section-header .cate {
    display: block !important;
    margin: 0 0 0.75rem !important;
    padding: 0 !important;
    line-height: 1.4 !important;
}

body.rp-theme.rp-inner.about-page .rp-about-faq .section-header .title {
    margin: 0 0 0.85rem !important;
    padding: 0 !important;
    line-height: 1.3 !important;
}

body.rp-theme.rp-inner.about-page .rp-about-faq .section-header p {
    margin: 0 auto !important;
    padding: 0 !important;
    max-width: 36rem;
    line-height: 1.6 !important;
}

body.rp-theme.rp-inner.about-page .about-section.oh {
    overflow: visible !important;
}

@media (max-width: 767px) {
    body.rp-theme.rp-inner.about-page .about-section {
        padding-bottom: 2.5rem !important;
    }

    body.rp-theme.rp-inner.about-page .rp-about-values {
        padding-top: 2.5rem !important;
    }
}

/* Kartu layanan — layout vertikal lebih rapi */
body.rp-theme.rp-inner.about-page .rp-about-services .rp-about-service-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0 !important;
    height: 100% !important;
    min-height: 9.5rem;
    padding: 1.15rem 1.15rem 1.2rem !important;
    margin-bottom: 0 !important;
    border-radius: 14px !important;
    border: 1px solid var(--rp-glass-border, rgba(255, 255, 255, 0.14)) !important;
    background: var(--rp-glass, rgba(18, 28, 58, 0.55)) !important;
    backdrop-filter: var(--rp-glass-blur, blur(18px) saturate(1.35)) !important;
    -webkit-backdrop-filter: var(--rp-glass-blur, blur(18px) saturate(1.35)) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12) !important;
    color: var(--rp-text-muted, #b8c4e8) !important;
    position: relative !important;
    overflow: hidden !important;
}

body.rp-theme.rp-inner.about-page .rp-about-service-item__icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    width: 2.5rem !important;
    height: 2.5rem !important;
    border-radius: 10px !important;
    background: var(--rp-accent-soft, rgba(93, 80, 240, 0.25)) !important;
    color: var(--rp-accent, #7b9fff) !important;
    font-size: 1.05rem !important;
    margin: 0 0 0.75rem !important;
    float: none !important;
    position: static !important;
}

body.rp-theme.rp-inner.about-page .rp-about-service-item__body {
    flex: 1 !important;
    min-width: 0 !important;
    width: 100% !important;
}

body.rp-theme.rp-inner.about-page .rp-about-service-item__body h4,
body.rp-theme.rp-inner.about-page .rp-about-services h4 {
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    margin: 0 0 0.5rem !important;
    padding: 0 !important;
    color: var(--rp-text, #eef2ff) !important;
    background: none !important;
    float: none !important;
    position: static !important;
}

body.rp-theme.rp-inner.about-page .rp-about-service-item__body p {
    font-size: 0.82rem !important;
    line-height: 1.6 !important;
    margin: 0 !important;
    padding: 0 !important;
    color: var(--rp-text-muted, #b8c4e8) !important;
}

/* FAQ — native details, hindari bootstrap putih */
body.rp-theme.rp-inner.about-page .rp-about-faq details.rp-about-faq-item {
    display: block !important;
    margin-bottom: 0.65rem !important;
    border-radius: 12px !important;
    border: 1px solid var(--rp-glass-border, rgba(255, 255, 255, 0.14)) !important;
    background: var(--rp-glass, rgba(18, 28, 58, 0.55)) !important;
    backdrop-filter: var(--rp-glass-blur, blur(18px) saturate(1.35)) !important;
    -webkit-backdrop-filter: var(--rp-glass-blur, blur(18px) saturate(1.35)) !important;
    overflow: hidden !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1) !important;
}

body.rp-theme.rp-inner.about-page .rp-about-faq summary.rp-about-faq-q {
    display: block !important;
    list-style: none !important;
    cursor: pointer !important;
    padding: 0.85rem 2.5rem 0.85rem 1rem !important;
    font-size: 0.88rem !important;
    font-weight: 600 !important;
    line-height: 1.45 !important;
    color: var(--rp-text, #eef2ff) !important;
    background: var(--rp-glass-head, rgba(120, 150, 230, 0.22)) !important;
    border: 0 !important;
    box-shadow: none !important;
    position: relative !important;
    width: 100% !important;
    text-align: left !important;
}

body.rp-theme.rp-inner.about-page .rp-about-faq summary.rp-about-faq-q::-webkit-details-marker {
    display: none !important;
}

body.rp-theme.rp-inner.about-page .rp-about-faq summary.rp-about-faq-q::after {
    content: "\f078";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.7rem;
    color: var(--rp-accent, #7b9fff);
    transition: transform 0.2s ease;
}

body.rp-theme.rp-inner.about-page .rp-about-faq details[open] summary.rp-about-faq-q::after {
    transform: translateY(-50%) rotate(180deg);
}

body.rp-theme.rp-inner.about-page .rp-about-faq .rp-about-faq-a {
    padding: 0.75rem 1rem 0.95rem !important;
    background: transparent !important;
    border-top: 1px solid var(--rp-glass-border, rgba(255, 255, 255, 0.1)) !important;
}

body.rp-theme.rp-inner.about-page .rp-about-faq .rp-about-faq-a p {
    margin: 0 !important;
    font-size: 0.86rem !important;
    line-height: 1.6 !important;
    color: var(--rp-text-muted, #b8c4e8) !important;
}

body.rp-theme.rp-inner.about-page .rp-about-faq .rp-about-faq-a a {
    color: var(--rp-accent, #7b9fff) !important;
}

