/* ================================================================
   Post Idsaya.Css
   Blog single posts - .bg-article wrapper.
   Source: additional-css-v3.5.css sections § 4  IDSAYA BLOG POST
   This file is enqueued from astra_child_enqueue_styles() in
   functions.php. Keep it out of the Customizer - it is versioned in git.
   ================================================================ */

/* ================================================================
   § 4  IDSAYA BLOG POST — .bg-article
================================================================ */

.bg-article {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 20px 60px;
    overflow-x: hidden;
    -webkit-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
    font-family: 'Lato', 'Inter', sans-serif;
    color: #2c2c2c;
    line-height: 1.85;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.bg-article * {
    -webkit-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}

/* Hero */
.bg-article .bg-hero {
    background: #0d1b2a;
    color: #ffffff;
    padding: 52px 36px 44px;
    margin-bottom: 40px;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.bg-article .bg-hero-eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #d4a94a;
    border: 1px solid #b8932a;
    padding: 4px 14px;
    border-radius: 2px;
    margin-bottom: 20px;
}

.bg-article .bg-hero h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 38px;
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
    max-width: 680px;
    margin: 0 0 18px;
}

.bg-article .bg-hero h1 em { color: #d4a94a; font-style: italic; }

.bg-article .bg-hero-meta {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.5px;
    margin: 0;
}

.bg-article .bg-hero-meta span { margin-right: 16px; }

/* Intro */
.bg-article .bg-intro {
    background: #faf8f4;
    border-left: 4px solid #b8932a;
    padding: 20px 24px;
    margin-bottom: 40px;
    border-radius: 0 4px 4px 0;
    font-size: 17px;
    font-weight: 300;
    line-height: 1.85;
    color: #333333;
}

.bg-article .bg-intro strong { font-weight: 700; color: #0d1b2a; }

/* Headings */
.bg-article h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 24px;
    font-weight: 700;
    color: #0d1b2a;
    margin: 44px 0 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0ece4;
    position: relative;
}

.bg-article h2::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: #b8932a;
}

.bg-article p {
    font-size: 16px;
    line-height: 1.85;
    color: #2c2c2c;
    margin-bottom: 16px;
}

.bg-article ul,
.bg-article ol { margin: 10px 0 20px 20px; }

.bg-article li {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 8px;
}

.bg-article a { color: #8a6d1f; text-decoration: underline; text-underline-offset: 2px; }

/* Callout */
.bg-article .bg-callout {
    background: #0d1b2a;
    color: #ffffff;
    padding: 24px 28px;
    border-radius: 4px;
    margin: 28px 0 36px;
}

.bg-article .bg-callout-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 16px;
    font-weight: 700;
    color: #d4a94a;
    margin-bottom: 10px;
}

.bg-article .bg-callout p {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

/* Steps */
.bg-article .bg-steps {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 16px;
    margin: 24px 0 36px;
}

.bg-article .bg-step-card {
    background: #ffffff;
    border: 1px solid #e6e0d4;
    border-top: 3px solid #b8932a;
    border-radius: 4px;
    padding: 20px 18px 18px;
    -webkit-box-flex: 1;
    -ms-flex: 1 1 220px;
    flex: 1 1 220px;
}

.bg-article .bg-step-num {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #0d1b2a;
    color: #d4a94a;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
}

.bg-article .bg-step-card h3 {
    font-size: 15px;
    font-weight: 700;
    color: #0d1b2a;
    margin: 0 0 8px;
}

.bg-article .bg-step-card p { font-size: 14px; line-height: 1.65; color: #6b7280; margin: 0; }

/* Table */
.bg-article .bg-table-wrap { overflow-x: auto; margin: 0 0 32px; }

.bg-article .bg-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    min-width: 480px;
}

.bg-article .bg-table thead tr { background: #0d1b2a; color: #ffffff; }

.bg-article .bg-table thead th {
    padding: 13px 16px;
    text-align: left;
    font-weight: 700;
}

.bg-article .bg-table tbody tr:nth-child(even) { background: #faf8f4; }

.bg-article .bg-table tbody td {
    padding: 12px 16px;
    border-bottom: 1px solid #e6e0d4;
    vertical-align: top;
}

/* FAQ */
.bg-article .bg-faq { margin: 20px 0 36px; }

.bg-article .bg-faq details {
    border: 1px solid #e6e0d4;
    border-radius: 4px;
    margin-bottom: 10px;
    overflow: hidden;
}

.bg-article .bg-faq summary {
    background: #faf8f4;
    padding: 15px 18px;
    font-weight: 700;
    font-size: 15px;
    color: #0d1b2a;
    cursor: pointer;
    list-style: none;
}

.bg-article .bg-faq-answer {
    padding: 15px 18px;
    font-size: 15px;
    line-height: 1.75;
    color: #444444;
    border-top: 1px solid #e6e0d4;
    background: #ffffff;
}

/* CTA */
.bg-article .bg-cta {
    background: #0d1b2a;
    border-radius: 4px;
    padding: 40px 36px;
    text-align: center;
    margin-top: 48px;
}

.bg-article .bg-cta h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 23px;
    color: #ffffff;
    margin: 0 0 12px;
    border: none;
    padding: 0;
}

.bg-article .bg-cta h2::after { display: none; }

.bg-article .bg-cta-desc {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.72);
    max-width: 520px;
    margin: 0 auto 24px;
    line-height: 1.75;
}

.bg-article .bg-cta-btns {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 14px;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.bg-article .bg-btn-primary {
    display: inline-block;
    background: #b8932a;
    color: #0d1b2a;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 13px 28px;
    border-radius: 2px;
    text-decoration: none;
}

.bg-article .bg-btn-secondary {
    display: inline-block;
    background: transparent;
    color: #ffffff;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 12px 26px;
    border-radius: 2px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    text-decoration: none;
}

.bg-article .bg-cta-ren {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-top: 18px;
}

/* Author */
.bg-article .bg-author {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 18px;
    background: #faf8f4;
    border: 1px solid #e6e0d4;
    border-radius: 4px;
    padding: 18px 22px;
    margin-top: 40px;
}

.bg-article .bg-author-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #0d1b2a;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 20px;
    color: #d4a94a;
    font-weight: 700;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 52px;
    flex: 0 0 52px;
}

.bg-article .bg-author-name { font-weight: 700; color: #0d1b2a; font-size: 15px; }
.bg-article .bg-author-role { font-size: 13px; color: #6b7280; margin-top: 3px; }

.bg-article .bg-disclaimer {
    font-size: 12px;
    color: #64748b;
    border-top: 1px solid #e6e0d4;
    margin-top: 40px;
    padding-top: 16px;
}

/* IDSaya — Responsive */
@media (max-width: 768px) {
    .bg-article .bg-hero { padding: 40px 28px 36px; }
    .bg-article .bg-hero h1 { font-size: 30px; }
    .bg-article .bg-cta { padding: 36px 28px; }
    .bg-article .bg-cta h2 { font-size: 20px; }
}

@media (max-width: 480px) {
    .bg-article { padding: 0 14px 48px; }
    .bg-article .bg-hero { padding: 32px 18px 28px; min-height: 160px; }
    .bg-article .bg-hero h1 { font-size: 24px; }
    .bg-article h2 { font-size: 20px; margin-top: 36px; }
    .bg-article .bg-cta { padding: 28px 16px; }
    .bg-article .bg-cta h2 { font-size: 18px; }
    .bg-article .bg-btn-primary,
    .bg-article .bg-btn-secondary { width: 100%; text-align: center; padding-top: 16px; padding-bottom: 16px; font-size: 15px; }
    .bg-article .bg-cta-ren { font-size: 12px; color: rgba(255, 255, 255, 0.5); }
}
