/*
Theme Name: Bpexch
Theme URI: https://bpexch.net
Author: Bpexch Team
Description: A clean, professional theme for the Bpexch online exchange platform guide.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bpexch
*/

/* ============================================================
   RESET
   ============================================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ============================================================
   TOKENS
   ============================================================ */
:root {
    --blue: #2563eb;
    --blue-dk: #1d4ed8;
    --blue-lt: #eff6ff;
    --blue-mid: #bfdbfe;
    --text-h: #0f172a;
    --text-b: #334155;
    --text-m: #64748b;
    --bg: #ffffff;
    --bg-f: #f8fafc;
    --border: #e2e8f0;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --shadow: 0 1px 3px rgba(0, 0, 0, .06), 0 4px 16px rgba(0, 0, 0, .06);
    --shadow-md: 0 4px 24px rgba(0, 0, 0, .10);
    --font: 'Plus Jakarta Sans', system-ui, sans-serif;
    --max: 1100px;
    --trans: 0.18s ease;
}

/* ============================================================
   BASE
   ============================================================ */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text-b);
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--blue);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

ul,
ol {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
    height: auto;
}

p {
    margin-bottom: 0;
}

/* ============================================================
   CONTAINER
   ============================================================ */
.container {
    max-width: var(--max);
    margin-inline: auto;
    padding-inline: 24px;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1,
h2,
h3,
h4 {
    color: var(--text-h);
    line-height: 1.25;
    font-weight: 700;
}

h1 {
    font-size: clamp(1.9rem, 4.5vw, 3rem);
    margin-bottom: 20px;
}

h2 {
    font-size: clamp(1.55rem, 3vw, 2.1rem);
    margin-bottom: 14px;
}

h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

h4 {
    font-size: 0.9rem;
    font-weight: 600;
}

.sec-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: .10em;
    text-transform: uppercase;
    color: var(--blue);
    background: var(--blue-lt);
    border: 1px solid var(--blue-mid);
    padding: 4px 12px;
    border-radius: 999px;
    margin-bottom: 12px;
}

.sec-sub {
    color: var(--text-m);
    font-size: 1.02rem;
    max-width: 640px;
    line-height: 1.75;
    margin-bottom: 52px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font);
    font-size: 0.88rem;
    font-weight: 600;
    padding: 11px 24px;
    border-radius: var(--radius-sm);
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all var(--trans);
    text-decoration: none;
    white-space: nowrap;
}

.btn:hover {
    text-decoration: none;
}

.btn-primary {
    background: var(--blue);
    color: #fff;
    border-color: var(--blue);
}

.btn-primary:hover {
    background: var(--blue-dk);
    border-color: var(--blue-dk);
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: var(--text-h);
    border-color: var(--border);
}

.btn-outline:hover {
    border-color: var(--blue);
    color: var(--blue);
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 200;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow var(--trans);
}

.nav-row {
    display: flex;
    align-items: center;
    height: 64px;
    gap: 12px;
}

.site-brand {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-h);
    flex-shrink: 0;
    text-decoration: none;
}

.site-brand:hover {
    text-decoration: none;
    color: var(--text-h);
}

.brand-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: block;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: auto;
    list-style: none;
}

.main-nav li a {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-m);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    transition: background var(--trans), color var(--trans);
    display: block;
    text-decoration: none;
}

.main-nav li a:hover,
.main-nav li.current-menu-item>a {
    color: var(--text-h);
    background: var(--bg-f);
    text-decoration: none;
}

.nav-cta {
    flex-shrink: 0;
    font-size: 0.83rem;
    font-weight: 600;
    background: var(--blue);
    color: #fff;
    padding: 8px 18px;
    border-radius: var(--radius-sm);
    margin-left: 8px;
    transition: background var(--trans);
    text-decoration: none;
}

.nav-cta:hover {
    background: var(--blue-dk);
    text-decoration: none;
    color: #fff;
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin-left: auto;
}

.burger span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text-h);
    border-radius: 2px;
}

.mob-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 12px 24px 16px;
    border-top: 1px solid var(--border);
    background: #fff;
}

.mob-nav[hidden] {
    display: none;
}

.mob-a {
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-b);
    padding: 9px 12px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: background var(--trans);
}

.mob-a:hover {
    background: var(--bg-f);
    text-decoration: none;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    padding-block: 80px 72px;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(160deg, #f0f6ff 0%, #ffffff 55%);
    overflow: hidden;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 64px;
    align-items: center;
}

.eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 16px;
}

.hero-text>p {
    font-size: 1.06rem;
    color: var(--text-m);
    max-width: 520px;
    line-height: 1.8;
    margin-bottom: 36px;
}

.hero-btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-visual {
    display: flex;
    gap: 14px;
    flex-direction: column;
    align-items: flex-end;
}

.visual-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
    padding: 20px;
}

.vc-1 {
    width: 200px;
}

.vc-dot {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--blue-lt);
    border: 2px solid var(--blue-mid);
    margin-bottom: 14px;
}

.vc-lines {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.vc-lines span {
    display: block;
    height: 8px;
    background: var(--bg-f);
    border-radius: 4px;
}

.vc-lines .short {
    width: 65%;
}

.vc-2 {
    width: 240px;
}

.vc-bar-row {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 70px;
}

.vc-bar {
    flex: 1;
    background: var(--blue-mid);
    border-radius: 4px 4px 0 0;
}

.vc-bar:nth-child(4) {
    background: var(--blue);
}

.vc-3 {
    width: 180px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.vc-3 p {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-h);
    margin-bottom: 0;
}

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust-strip {
    border-bottom: 1px solid var(--border);
    background: var(--bg-f);
}

.trust-row {
    display: flex;
    align-items: center;
    padding-block: 20px;
}

.trust-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 8px 16px;
}

.trust-item strong {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-h);
}

.trust-item span {
    font-size: 0.75rem;
    color: var(--text-m);
    margin-top: 2px;
}

.trust-sep {
    width: 1px;
    height: 32px;
    background: var(--border);
}

/* ============================================================
   SECTIONS
   ============================================================ */
.sec {
    padding-block: 88px;
}

.bg-f {
    background: var(--bg-f);
}

/* TWO-COL ABOUT */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
}

.col-text {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.col-text p {
    font-size: 0.95rem;
    color: var(--text-b);
    line-height: 1.8;
}

.col-cards {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.mini-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 18px;
    box-shadow: var(--shadow);
    transition: box-shadow var(--trans);
}

.mini-card:hover {
    box-shadow: var(--shadow-md);
}

.mc-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--blue-lt);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mini-card strong {
    display: block;
    font-size: 0.88rem;
    color: var(--text-h);
    margin-bottom: 3px;
}

.mini-card p {
    font-size: 0.82rem;
    color: var(--text-m);
    margin-bottom: 0;
}

/* FEATURES */
.feat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feat-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 28px;
    box-shadow: var(--shadow);
    transition: box-shadow var(--trans), transform var(--trans);
}

.feat-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.feat-num {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: .08em;
    color: var(--blue);
    background: var(--blue-lt);
    padding: 3px 10px;
    border-radius: 999px;
    display: inline-block;
    margin-bottom: 14px;
}

.feat-card h3 {
    margin-bottom: 8px;
}

.feat-card p {
    font-size: 0.9rem;
    color: var(--text-m);
    line-height: 1.75;
    margin-bottom: 0;
}

/* ACCOUNTS */
.acc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: start;
}

.acc-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow);
}

.acc-card.acc-featured {
    border-color: var(--blue);
    box-shadow: 0 0 0 1px var(--blue), var(--shadow-md);
}

.acc-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--text-m);
    background: var(--bg-f);
    border: 1px solid var(--border);
    padding: 3px 10px;
    border-radius: 999px;
    margin-bottom: 14px;
}

.acc-badge-blue {
    color: #fff;
    background: var(--blue);
    border-color: var(--blue);
}

.acc-card h3 {
    margin-bottom: 10px;
}

.acc-card p {
    font-size: 0.9rem;
    color: var(--text-m);
    line-height: 1.75;
    margin-bottom: 20px;
}

.acc-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.acc-list li {
    font-size: 0.88rem;
    color: var(--text-b);
    display: flex;
    align-items: center;
    gap: 8px;
}

.acc-list li::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--blue);
    flex-shrink: 0;
}

/* ============================================================
   REVIEWS SECTION
   ============================================================ */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.review-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 28px;
    box-shadow: var(--shadow);
    transition: box-shadow var(--trans);
}

.review-card:hover {
    box-shadow: var(--shadow-md);
}

.review-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 14px;
}

.review-stars svg {
    width: 18px;
    height: 18px;
}

.review-text {
    font-size: 0.92rem;
    color: var(--text-b);
    line-height: 1.75;
    margin-bottom: 20px;
    font-style: italic;
}

.reviewer {
    display: flex;
    align-items: center;
    gap: 12px;
}

.reviewer-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--blue-lt);
    color: var(--blue);
    font-size: 0.85rem;
    font-weight: 700;
    font-style: normal;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.reviewer-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-h);
}

.reviewer-loc {
    font-size: 0.75rem;
    color: var(--text-m);
}

.rating-summary {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--blue-lt);
    border: 1px solid var(--blue-mid);
    border-radius: var(--radius-md);
    padding: 20px 28px;
    margin-bottom: 40px;
}

.rating-big {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-h);
    line-height: 1;
}

.rating-detail {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.rating-detail .stars-row {
    display: flex;
    gap: 3px;
}

.rating-detail span {
    font-size: 0.8rem;
    color: var(--text-m);
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-con {
    max-width: 760px;
}

.faq-list {
    border-top: 1px solid var(--border);
}

.faq-row {
    border-bottom: 1px solid var(--border);
}

.fq-btn {
    width: 100%;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 20px 0;
    font-family: var(--font);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-h);
    cursor: pointer;
    text-align: left;
    transition: color var(--trans);
}

.fq-btn:hover {
    color: var(--blue);
}

.fq-arr {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    display: block;
    transition: transform 0.25s ease;
}

.fq-btn[aria-expanded="true"] .fq-arr {
    transform: rotate(180deg);
}

.fq-body {
    padding-bottom: 20px;
}

.fq-body:not([hidden]) {
    animation: fqIn 0.22s ease;
}

.fq-body p {
    font-size: 0.92rem;
    color: var(--text-m);
    line-height: 1.8;
    margin-bottom: 0;
}

@keyframes fqIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.con-con {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 64px;
    align-items: start;
}

.con-info {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.con-info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--text-m);
    font-weight: 500;
}

.con-form {
    background: var(--bg-f);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.fg {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-h);
}

input,
textarea,
select {
    font-family: var(--font);
    font-size: 0.9rem;
    padding: 10px 13px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    background: #fff;
    color: var(--text-h);
    outline: none;
    transition: border-color var(--trans);
    width: 100%;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--blue);
}

textarea {
    resize: vertical;
}

.f-status {
    font-size: 0.82rem;
    min-height: 18px;
}

/* ============================================================
   BLOG ARCHIVE
   ============================================================ */
.page-header {
    padding-block: 56px 48px;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(160deg, #f0f6ff 0%, #fff 60%);
}

.page-header h1 {
    margin-bottom: 8px;
}

.page-header p {
    font-size: 1rem;
    color: var(--text-m);
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.post-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: box-shadow var(--trans), transform var(--trans);
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.post-thumb {
    aspect-ratio: 16/9;
    background: var(--blue-lt);
    overflow: hidden;
}

.post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-thumb-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--blue-lt), var(--blue-mid));
    display: flex;
    align-items: center;
    justify-content: center;
}

.post-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.post-meta {
    font-size: 0.75rem;
    color: var(--text-m);
    margin-bottom: 10px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.post-meta time {
    font-weight: 500;
}

.post-cat {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--blue);
    background: var(--blue-lt);
    padding: 2px 8px;
    border-radius: 999px;
}

.post-card h2 {
    font-size: 1rem;
    line-height: 1.4;
    margin-bottom: 10px;
}

.post-card h2 a {
    color: var(--text-h);
    text-decoration: none;
}

.post-card h2 a:hover {
    color: var(--blue);
}

.post-excerpt {
    font-size: 0.875rem;
    color: var(--text-m);
    line-height: 1.7;
    flex: 1;
    margin-bottom: 18px;
}

.read-more {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--blue);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.read-more:hover {
    text-decoration: underline;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 60px;
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--border);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-b);
    text-decoration: none;
    transition: all var(--trans);
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    background: var(--blue);
    color: #fff;
    border-color: var(--blue);
}

.pagination .prev,
.pagination .next {
    width: auto;
    padding-inline: 14px;
}

/* ============================================================
   SINGLE POST
   ============================================================ */
.single-wrap {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 48px;
    align-items: start;
    padding-block: 60px;
}

.post-article {
    min-width: 0;
}

.post-article .post-meta {
    margin-bottom: 16px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 0.8rem;
    color: var(--text-m);
}

.post-article h1 {
    margin-bottom: 24px;
}

.post-article .post-feat-img {
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 32px;
}

.post-content {
    font-size: 0.97rem;
    line-height: 1.85;
    color: var(--text-b);
}

.post-content p {
    margin-bottom: 1.25em;
}

.post-content h2 {
    font-size: 1.4rem;
    margin: 2em 0 0.6em;
}

.post-content h3 {
    font-size: 1.1rem;
    margin: 1.5em 0 0.5em;
}

.post-content ul,
.post-content ol {
    padding-left: 1.5em;
    margin-bottom: 1.25em;
}

.post-content ul {
    list-style: disc;
}

.post-content ol {
    list-style: decimal;
}

.post-content li {
    margin-bottom: 0.4em;
}

.post-content blockquote {
    border-left: 3px solid var(--blue);
    padding: 12px 20px;
    margin: 1.5em 0;
    background: var(--blue-lt);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic;
    color: var(--text-b);
}

.post-content a {
    color: var(--blue);
    text-decoration: underline;
}

.post-content img {
    border-radius: var(--radius-md);
    margin: 1.5em 0;
}

.post-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.post-tag {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-m);
    background: var(--bg-f);
    border: 1px solid var(--border);
    padding: 4px 12px;
    border-radius: 999px;
    text-decoration: none;
}

.post-tag:hover {
    color: var(--blue);
    border-color: var(--blue);
    text-decoration: none;
}

/* Sidebar */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 28px;
    position: sticky;
    top: 80px;
}

.widget {
    background: var(--bg-f);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
}

.widget-title {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .09em;
    color: var(--text-m);
    margin-bottom: 16px;
}

.widget ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.widget ul li a {
    font-size: 0.88rem;
    color: var(--text-b);
    display: flex;
    justify-content: space-between;
}

.widget ul li a:hover {
    color: var(--blue);
}

.widget ul li a span {
    color: var(--text-m);
    font-size: 0.78rem;
}

/* Post nav */
.post-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.post-nav-item {
    background: var(--bg-f);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 18px;
    transition: border-color var(--trans);
}

.post-nav-item:hover {
    border-color: var(--blue);
}

.post-nav-item.next {
    text-align: right;
}

.nav-dir {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--text-m);
    margin-bottom: 6px;
}

.post-nav-item a {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-h);
    text-decoration: none;
    line-height: 1.4;
}

.post-nav-item a:hover {
    color: var(--blue);
}

/* ============================================================
   GENERIC PAGE CONTENT
   ============================================================ */
.page-content-wrap {
    max-width: 760px;
    margin-inline: auto;
    padding-block: 64px;
}

.page-content {
    font-size: 0.97rem;
    line-height: 1.85;
    color: var(--text-b);
}

.page-content p {
    margin-bottom: 1.25em;
}

.page-content h2 {
    font-size: 1.4rem;
    margin: 2em 0 0.6em;
}

.page-content h3 {
    font-size: 1.1rem;
    margin: 1.5em 0 0.5em;
}

.page-content ul {
    list-style: disc;
    padding-left: 1.5em;
    margin-bottom: 1.25em;
}

.page-content ol {
    list-style: decimal;
    padding-left: 1.5em;
    margin-bottom: 1.25em;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: #0f172a;
    color: #94a3b8;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1.4fr;
    gap: 48px;
    padding-block: 60px;
}

.footer-brand .site-brand {
    color: #e2e8f0;
    margin-bottom: 14px;
}

.footer-brand p {
    font-size: 0.85rem;
    line-height: 1.75;
}

.footer-col h3 {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .09em;
    color: #64748b;
    margin-bottom: 14px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-col ul li a {
    font-size: 0.85rem;
    color: #cbd5e1;
    transition: color var(--trans);
}

.footer-col ul li a:hover {
    color: #fff;
    text-decoration: none;
}

.footer-col>p {
    font-size: 0.85rem;
    line-height: 1.75;
    color: #94a3b8;
}

.footer-bar {
    border-top: 1px solid #1e293b;
    padding-block: 18px;
}

.footer-bar p {
    font-size: 0.78rem;
    color: #475569;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {

    .hero-inner,
    .two-col,
    .con-con {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        display: none;
    }

    .two-col {
        gap: 36px;
    }

    .feat-grid,
    .reviews-grid {
        grid-template-columns: 1fr 1fr;
    }

    .acc-grid {
        grid-template-columns: 1fr 1fr;
    }

    .posts-grid {
        grid-template-columns: 1fr 1fr;
    }

    .single-wrap {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 640px) {
    .sec {
        padding-block: 60px;
    }

    .hero {
        padding-block: 56px 48px;
    }

    .main-nav,
    .nav-cta {
        display: none;
    }

    .burger {
        display: flex;
    }

    .trust-row {
        flex-wrap: wrap;
    }

    .trust-sep {
        display: none;
    }

    .trust-item {
        min-width: 50%;
        padding-block: 10px;
    }

    .feat-grid,
    .reviews-grid,
    .acc-grid,
    .posts-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        grid-column: auto;
    }

    .hero-btns {
        flex-direction: column;
    }

    .hero-btns .btn {
        width: 100%;
        justify-content: center;
    }

    .con-form {
        padding: 24px;
    }

    .post-nav {
        grid-template-columns: 1fr;
    }

    .post-nav-item.next {
        text-align: left;
    }

    .rating-summary {
        flex-direction: column;
        gap: 8px;
    }
}