/* ==========================================================================
   Pak Gusu — geo landing pages + blog article content styling
   ========================================================================== */
.pg-content { background: #fff; padding: 54px 0 10px; }
.pg-content .pg-wrap { max-width: 880px; margin: 0 auto; padding: 0 20px; }
.pg-content.wide .pg-wrap { max-width: 1060px; }

.pg-lead {
    font-size: 19px; line-height: 1.7; color: #2c4356; font-weight: 500;
    margin: 0 0 26px; padding-bottom: 26px; border-bottom: 1px solid #e6edf4;
}
.pg-content h2 {
    font-size: clamp(22px, 3vw, 29px); font-weight: 800; color: #004685;
    margin: 38px 0 14px; line-height: 1.25;
}
.pg-content h3 {
    font-size: 19px; font-weight: 700; color: #16324a; margin: 26px 0 10px;
}
.pg-content p { font-size: 16px; line-height: 1.75; color: #44556410; color: #455564; margin: 0 0 16px; }
.pg-content ul, .pg-content ol { margin: 0 0 18px; padding-left: 22px; }
.pg-content li { font-size: 16px; line-height: 1.7; color: #455564; margin-bottom: 8px; }
.pg-content a { color: #00838a; font-weight: 600; text-decoration: none; }
.pg-content a:hover { text-decoration: underline; }
.pg-content strong { color: #16324a; }

/* tables */
.pg-table-wrap { overflow-x: auto; max-width: 100%; margin: 0 0 22px; -webkit-overflow-scrolling: touch; }
.pg-content table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 480px; }
.pg-content th, .pg-content td { border: 1px solid #dde7f0; padding: 10px 13px; text-align: left; vertical-align: top; }
.pg-content thead th { background: #004685; color: #fff; font-weight: 600; }
.pg-content tbody tr:nth-child(even) { background: #f5f9fc; }

/* figures / diagrams */
.pg-content .pg-figure { margin: 10px 0 26px; text-align: center; }
.pg-content .pg-figure img { max-width: 100%; height: auto; border: 1px solid #e2eaf1; border-radius: 12px; background: #fff; }
.pg-content .pg-figure figcaption { font-size: 13.5px; color: #66747f; margin-top: 10px; }

/* key takeaways box (blog) */
.pg-takeaways {
    background: #eef6fb; border: 1px solid #d4e6f3; border-left: 4px solid #00adb5;
    border-radius: 10px; padding: 20px 22px; margin: 0 0 30px;
}
.pg-takeaways h2 { font-size: 16px !important; margin: 0 0 10px !important; color: #004685; letter-spacing: .3px; }
.pg-takeaways ul { margin: 0; padding-left: 20px; }
.pg-takeaways li { font-size: 15px; color: #2c4356; }

/* article meta */
.pg-meta { font-size: 13.5px; color: #7b8a98; margin: 0 0 22px; }
.pg-meta span { margin-right: 14px; }

/* inline CTA block */
.pg-cta {
    margin: 36px 0 6px; background: linear-gradient(135deg, #004685, #00305e);
    border-radius: 14px; padding: 30px 28px; color: #fff; text-align: center;
}
.pg-cta h3 { color: #fff; font-size: 22px; font-weight: 800; margin: 0 0 8px; }
.pg-cta p { color: #cfe0f0; margin: 0 0 18px; font-size: 15.5px; }
.pg-cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.pg-cta a {
    display: inline-block; text-decoration: none; font-weight: 700; font-size: 15.5px;
    padding: 13px 26px; border-radius: 9px; transition: transform .15s ease;
}
.pg-cta a.primary { background: linear-gradient(135deg, #00adb5, #00c2cb); color: #062e16; }
.pg-cta a.ghost { background: rgba(255,255,255,.12); color: #fff; border: 1.5px solid rgba(255,255,255,.4); }
.pg-cta a:hover { transform: translateY(-2px); }

@media (max-width: 575px) {
    .pg-content { padding: 36px 0 6px; }
    .pg-lead { font-size: 17px; }
    /* tables shrink to fit the phone (no horizontal page overflow); wrapper still scrolls if needed */
    .pg-content table { min-width: 0; font-size: 13px; }
    .pg-content th, .pg-content td { padding: 8px 9px; }
}

/* ---- blog listing grid ---- */
.pg-blog-section { background: #f6f9fc; padding: 56px 0; border-top: 1px solid #e6edf4; }
.pg-blog-wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.pg-blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 28px; }
.pg-blog-card {
    background: #fff; border: 1px solid #e1e9f1; border-radius: 13px; padding: 24px 22px;
    display: flex; flex-direction: column; transition: transform .15s ease, box-shadow .15s ease;
}
.pg-blog-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0,70,133,.1); border-color: #b9d3ea; }
.pg-blog-card .rt { font-size: 12px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: #00adb5; margin-bottom: 9px; }
.pg-blog-card h3 { font-size: 18px; line-height: 1.35; margin: 0 0 10px; color: #16324a; }
.pg-blog-card h3 a { color: #16324a; text-decoration: none; }
.pg-blog-card h3 a:hover { color: #004685; }
.pg-blog-card p { font-size: 14px; color: #5a6b7a; line-height: 1.6; margin: 0 0 16px; flex: 1; }
.pg-blog-card .more { font-size: 14px; font-weight: 700; color: #004685; text-decoration: none; }
.pg-blog-card .more:hover { text-decoration: underline; }
@media (max-width: 900px) { .pg-blog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .pg-blog-grid { grid-template-columns: 1fr; } }

/* ============== DARK MODE ============== */
[data-theme="dark"] .pg-content { background:#0b1117; }
[data-theme="dark"] .pg-content h2 { color:#7fc4ec; }
[data-theme="dark"] .pg-content h3 { color:#dbe7f1; }
[data-theme="dark"] .pg-lead { color:#c9d4de; border-bottom-color:rgba(255,255,255,.1); }
[data-theme="dark"] .pg-content p, [data-theme="dark"] .pg-content li { color:#aebcc9; }
[data-theme="dark"] .pg-content strong { color:#e9eef4; }
[data-theme="dark"] .pg-content a { color:#3fd0d8; }
[data-theme="dark"] .pg-content th, [data-theme="dark"] .pg-content td { border-color:rgba(255,255,255,.13); }
[data-theme="dark"] .pg-content thead th { background:#0a3a66; color:#fff; }
[data-theme="dark"] .pg-content tbody tr:nth-child(even) { background:rgba(255,255,255,.04); }
[data-theme="dark"] .pg-takeaways { background:#10212f; border-color:rgba(0,173,181,.3); border-left-color:#00adb5; }
[data-theme="dark"] .pg-takeaways h2 { color:#7fc4ec; }
[data-theme="dark"] .pg-takeaways li { color:#c9d4de; }
[data-theme="dark"] .pg-meta { color:#8b9aa8; }
[data-theme="dark"] .pg-blog-section { background:#0d1722; border-top-color:rgba(255,255,255,.08); }
[data-theme="dark"] .pg-blog-card { background:#161f2b; border-color:rgba(255,255,255,.1); }
[data-theme="dark"] .pg-blog-card h3, [data-theme="dark"] .pg-blog-card h3 a { color:#e9eef4; }
[data-theme="dark"] .pg-blog-card p { color:#9fb0bf; }
[data-theme="dark"] .pg-blog-card .more { color:#7fc4ec; }
[data-theme="dark"] .pg-blog-section h2 { color:#e6edf3 !important; }
[data-theme="dark"] .pg-blog-section p { color:#9fb0bf !important; }

/* ===== Override global heading-color !important (parent-scoped, beats 0,0,1,2) ===== */
.pg-content .pg-wrap h2 { color: #004685 !important; }
.pg-content .pg-wrap h3 { color: #16324a !important; }
[data-theme="dark"] .pg-content .pg-wrap h2 { color: #7fc4ec !important; }
[data-theme="dark"] .pg-content .pg-wrap h3 { color: #dbe7f1 !important; }
.pg-takeaways h2 { color: #004685 !important; }
.pg-blog-section h2 { color: #004685 !important; }
[data-theme="dark"] .pg-blog-section h2 { color: #e6edf3 !important; }
/* CTA sits on a dark blue panel -> force white, placed last to win the tie vs .pg-wrap h3 */
.pg-content .pg-cta h3, .pg-cta h3 { color: #ffffff !important; }
