/* ============================================================
   PHỔ CẬP GIÁO DỤC - MAIN CSS
   Version: 1.0.0
   ============================================================ */

/* --- CSS Variables --- */
:root {
    --blue: #2563eb;
    --blue-dark: #1d4ed8;
    --blue-light: #eff6ff;
    --cyan: #14b8a6;
    --cyan-light: #ccfbf1;
    --yellow: #f59e0b;
    --yellow-light: #fef3c7;
    --pink: #ec4899;
    --purple: #7c3aed;
    --green: #22c55e;
    --ink: #0f172a;
    --ink-soft: #1e293b;
    --muted: #64748b;
    --muted-light: #94a3b8;
    --soft: #f8fafc;
    --soft-2: #f1f5f9;
    --line: #e2e8f0;
    --line-soft: #f1f5f9;
    --white: #ffffff;
    --radius: 28px;
    --radius-sm: 16px;
    --radius-lg: 36px;
    --shadow: 0 24px 60px rgba(15, 23, 42, .10);
    --shadow-soft: 0 8px 24px rgba(15, 23, 42, .07);
    --shadow-card: 0 4px 16px rgba(15, 23, 42, .06);
    --transition: .22s cubic-bezier(.4, 0, .2, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    background: #f8fbff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { text-decoration: none; color: inherit; transition: color var(--transition); }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

/* --- Layout --- */
.container {
    width: min(1180px, calc(100% - 36px));
    margin: 0 auto;
}

.pcgd-section {
    padding: 64px 0;
}

/* ============================================================
   TOPBAR
   ============================================================ */
.pcgd-topbar {
    background: var(--ink);
    color: #dbeafe;
    font-size: 13px;
    font-weight: 600;
}

.pcgd-topbar .inner {
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.pcgd-topbar-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.pcgd-topbar-links a {
    color: #94a3b8;
    font-size: 12.5px;
    transition: color var(--transition);
}

.pcgd-topbar-links a:hover { color: #fff; }

/* ============================================================
   HEADER
   ============================================================ */
.pcgd-header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, .90);
    border-bottom: 1px solid rgba(226, 232, 240, .8);
    transition: box-shadow var(--transition);
}

.pcgd-header.scrolled {
    box-shadow: 0 4px 24px rgba(15, 23, 42, .08);
}

.pcgd-nav {
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

/* Brand */
.pcgd-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 900;
    letter-spacing: -.5px;
    color: var(--ink);
    flex-shrink: 0;
    text-decoration: none;
}

.pcgd-brand-mark {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 900;
    font-size: 16px;
    box-shadow: 0 8px 24px rgba(37, 99, 235, .30);
    flex-shrink: 0;
    overflow: hidden;
}

.pcgd-brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.pcgd-brand-text span {
    display: block;
    font-size: 18px;
    line-height: 1.1;
    color: var(--ink);
}

.pcgd-brand-text small {
    display: block;
    font-size: 11px;
    color: var(--muted);
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
}

/* Navigation Menu */
.pcgd-menu {
    display: flex;
    align-items: center;
    gap: 2px;
    font-size: 14px;
    font-weight: 700;
    flex: 1;
    justify-content: center;
}

.pcgd-menu > li {
    position: relative;
}

.pcgd-menu > li > a {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 10px 12px;
    border-radius: 999px;
    color: #334155;
    transition: all var(--transition);
    white-space: nowrap;
}

.pcgd-menu > li > a:hover,
.pcgd-menu > li.current-menu-item > a,
.pcgd-menu > li.current-menu-ancestor > a {
    background: var(--blue-light);
    color: var(--blue);
}

/* Submenu */
.pcgd-menu .sub-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 200px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 8px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, .12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all var(--transition);
    z-index: 200;
}

.pcgd-menu > li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.pcgd-menu .sub-menu li a {
    display: block;
    padding: 9px 14px;
    border-radius: 12px;
    color: #334155;
    font-size: 13.5px;
    transition: all var(--transition);
}

.pcgd-menu .sub-menu li a:hover {
    background: var(--blue-light);
    color: var(--blue);
}

/* Header Actions */
.pcgd-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

/* Buttons */
.pcgd-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 20px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 14px;
    border: 1.5px solid transparent;
    transition: all var(--transition);
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
    line-height: 1;
    font-family: inherit;
}

.pcgd-btn-primary {
    background: linear-gradient(135deg, var(--blue), #4f46e5);
    color: #fff;
    box-shadow: 0 8px 24px rgba(37, 99, 235, .25);
}

.pcgd-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(37, 99, 235, .32);
    color: #fff;
}

.pcgd-btn-light {
    background: #fff;
    color: var(--ink-soft);
    border-color: var(--line);
}

.pcgd-btn-light:hover {
    background: var(--soft);
    transform: translateY(-2px);
    box-shadow: var(--shadow-card);
    color: var(--ink);
}

.pcgd-btn-outline {
    background: transparent;
    color: var(--blue);
    border-color: var(--blue);
}

.pcgd-btn-outline:hover {
    background: var(--blue);
    color: #fff;
}

.pcgd-btn-white {
    background: #fff;
    color: var(--blue-dark);
    font-weight: 800;
}

.pcgd-btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, .15);
}

.pcgd-btn-sm {
    min-height: 36px;
    padding: 0 14px;
    font-size: 13px;
}

.pcgd-btn-lg {
    min-height: 52px;
    padding: 0 28px;
    font-size: 16px;
}

/* Mobile Toggle */
.pcgd-mobile-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: 1.5px solid var(--line);
    background: #fff;
    font-size: 20px;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all var(--transition);
}

.pcgd-mobile-toggle:hover {
    background: var(--soft);
    border-color: #cbd5e1;
}

/* Mobile Menu Overlay */
.pcgd-mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(15, 23, 42, .5);
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity var(--transition);
}

.pcgd-mobile-menu.open {
    opacity: 1;
}

.pcgd-mobile-menu-inner {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: min(340px, 88vw);
    background: #fff;
    padding: 24px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform .3s cubic-bezier(.4, 0, .2, 1);
    box-shadow: -20px 0 60px rgba(15, 23, 42, .15);
}

.pcgd-mobile-menu.open .pcgd-mobile-menu-inner {
    transform: translateX(0);
}

.pcgd-mobile-menu-close {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-bottom: 20px;
}

.pcgd-mobile-menu-close button {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1.5px solid var(--line);
    background: var(--soft);
    font-size: 18px;
    display: grid;
    place-items: center;
}

.pcgd-mobile-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 0;
    font-weight: 700;
    font-size: 15px;
    border-bottom: 1px solid var(--line-soft);
    color: var(--ink-soft);
}

.pcgd-mobile-nav .sub-menu {
    padding-left: 16px;
    display: none;
}

.pcgd-mobile-nav .sub-menu.open { display: block; }

.pcgd-mobile-nav .sub-menu a {
    font-size: 14px;
    color: var(--muted);
    font-weight: 600;
    padding: 10px 0;
}

.pcgd-mobile-menu-actions {
    margin-top: 24px;
    display: grid;
    gap: 10px;
}

.pcgd-mobile-menu-actions .pcgd-btn { width: 100%; justify-content: center; }

/* ============================================================
   HERO SECTION
   ============================================================ */
.pcgd-hero {
    padding: 72px 0 56px;
    background:
        radial-gradient(circle at 8% 0%, rgba(37, 99, 235, .12), transparent 30%),
        radial-gradient(circle at 92% 8%, rgba(20, 184, 166, .14), transparent 32%),
        linear-gradient(180deg, #f0f6ff 0%, #fff 50%, #f8fafc 100%);
    overflow: hidden;
    position: relative;
}

.pcgd-hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(20, 184, 166, .08), transparent 65%);
    pointer-events: none;
}

.pcgd-hero-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 48px;
    align-items: center;
}

.pcgd-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: #eef6ff;
    color: #1d4ed8;
    font-weight: 800;
    font-size: 13px;
    margin-bottom: 22px;
    border: 1px solid #dbeafe;
}

.pcgd-hero h1 {
    font-size: clamp(40px, 5.5vw, 70px);
    line-height: 1.0;
    margin: 0 0 22px;
    letter-spacing: -3px;
    font-weight: 900;
    color: var(--ink);
}

.pcgd-hero h1 strong {
    display: block;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pcgd-hero-desc {
    font-size: 18px;
    line-height: 1.75;
    color: #475569;
    max-width: 600px;
    margin: 0 0 28px;
}

.pcgd-search-box {
    background: #fff;
    border: 1.5px solid rgba(226, 232, 240, .9);
    border-radius: 20px;
    padding: 8px;
    display: flex;
    gap: 8px;
    max-width: 640px;
    box-shadow: 0 8px 32px rgba(15, 23, 42, .08);
    margin-bottom: 24px;
    transition: box-shadow var(--transition);
}

.pcgd-search-box:focus-within {
    box-shadow: 0 8px 40px rgba(37, 99, 235, .15);
    border-color: #bfdbfe;
}

.pcgd-search-box input {
    flex: 1;
    border: 0;
    outline: 0;
    padding: 0 16px;
    font-weight: 600;
    font-size: 15px;
    color: var(--ink);
    background: transparent;
    min-height: 48px;
}

.pcgd-search-box input::placeholder { color: var(--muted-light); }

.pcgd-hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 13px;
    font-weight: 700;
}

.pcgd-hero-tags a {
    background: #fff;
    border: 1.5px solid var(--line);
    padding: 8px 14px;
    border-radius: 999px;
    color: #475569;
    transition: all var(--transition);
}

.pcgd-hero-tags a:hover {
    border-color: var(--blue);
    color: var(--blue);
    background: var(--blue-light);
}

/* Hero Visual Card */
.pcgd-hero-card {
    background: linear-gradient(180deg, #fff, #f8fbff);
    border: 1.5px solid rgba(226, 232, 240, .9);
    border-radius: 36px;
    padding: 20px;
    box-shadow: var(--shadow);
    overflow: hidden;
    position: relative;
}

.pcgd-illustration {
    min-height: 420px;
    border-radius: 24px;
    background:
        radial-gradient(circle at 20% 20%, rgba(245, 158, 11, .22), transparent 22%),
        radial-gradient(circle at 78% 18%, rgba(37, 99, 235, .18), transparent 26%),
        linear-gradient(135deg, #dbeafe, #ccfbf1 55%, #fef3c7);
    position: relative;
    overflow: hidden;
    padding: 20px;
}

/* Floating cards in illustration */
.pcgd-float-card {
    position: absolute;
    background: rgba(255, 255, 255, .95);
    border: 1.5px solid rgba(226, 232, 240, .9);
    border-radius: 20px;
    padding: 12px 16px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, .12);
    z-index: 5;
    animation: pcgdFloat 3s ease-in-out infinite;
}

.pcgd-float-card:nth-child(2) { animation-delay: 1s; }
.pcgd-float-card:nth-child(3) { animation-delay: 2s; }

@keyframes pcgdFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.pcgd-float-card b { display: block; font-size: 17px; color: var(--ink); }
.pcgd-float-card span { font-size: 12px; color: var(--muted); font-weight: 700; display: block; margin-top: 2px; }
.pcgd-float-card .fc-icon { font-size: 22px; margin-bottom: 4px; }

.pcgd-fc1 { left: 16px; top: 28px; }
.pcgd-fc2 { right: 16px; top: 70px; }
.pcgd-fc3 { left: 24px; bottom: 28px; }

/* Hero illustration decorative elements */
.pcgd-hero-graphic {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 20px;
    padding: 0 30px 30px;
}

.pcgd-hero-book {
    width: 90px;
    height: 120px;
    border-radius: 4px 12px 12px 4px;
    position: relative;
    transform: rotate(-5deg);
    box-shadow: 0 12px 32px rgba(15, 23, 42, .18);
}

.pcgd-hero-book::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 10px;
    background: rgba(0, 0, 0, .15);
    border-radius: 4px 0 0 4px;
}

/* Hero Stats */
.pcgd-hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 16px;
}

.pcgd-stat {
    background: #fff;
    border: 1.5px solid var(--line);
    border-radius: 20px;
    padding: 16px;
    text-align: center;
    transition: all var(--transition);
}

.pcgd-stat:hover {
    border-color: #bfdbfe;
    box-shadow: var(--shadow-card);
    transform: translateY(-2px);
}

.pcgd-stat b {
    display: block;
    font-size: 22px;
    font-weight: 900;
    color: var(--ink);
}

.pcgd-stat span {
    display: block;
    font-size: 11.5px;
    color: var(--muted);
    font-weight: 700;
    margin-top: 4px;
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.pcgd-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 32px;
}

.pcgd-section-title .kicker {
    font-size: 12.5px;
    font-weight: 900;
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.pcgd-section-title .kicker::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 3px;
    background: var(--blue);
    border-radius: 999px;
}

.pcgd-section-title h2 {
    font-size: clamp(26px, 3.5vw, 40px);
    line-height: 1.15;
    letter-spacing: -1.5px;
    margin: 0 0 10px;
    font-weight: 900;
    color: var(--ink);
}

.pcgd-section-title p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
    font-size: 15.5px;
}

/* ============================================================
   CLASSES SECTION
   ============================================================ */
.pcgd-classes {
    background: #fff;
    border-radius: 0;
}

.pcgd-class-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
}

.pcgd-class-card {
    background: #fff;
    border: 1.5px solid var(--line);
    border-radius: 22px;
    padding: 20px 16px;
    box-shadow: var(--shadow-card);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
    display: block;
    text-decoration: none;
}

.pcgd-class-card::after {
    content: '';
    position: absolute;
    right: -20px;
    top: -20px;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(37, 99, 235, .07);
    transition: all var(--transition);
}

.pcgd-class-card:hover {
    transform: translateY(-5px);
    border-color: #bfdbfe;
    box-shadow: 0 12px 32px rgba(37, 99, 235, .12);
}

.pcgd-class-card:hover::after {
    background: rgba(37, 99, 235, .12);
    transform: scale(1.3);
}

.pcgd-class-card b {
    display: block;
    font-size: 24px;
    font-weight: 900;
    color: var(--blue);
    margin-bottom: 8px;
}

.pcgd-class-card span {
    display: block;
    font-size: 12.5px;
    color: var(--muted);
    font-weight: 700;
    line-height: 1.4;
}

/* ============================================================
   SUBJECTS SECTION
   ============================================================ */
.pcgd-subjects-section {
    background: var(--soft);
}

.pcgd-subject-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.pcgd-subject-card {
    background: #fff;
    border: 1.5px solid var(--line);
    border-radius: 26px;
    padding: 22px;
    box-shadow: var(--shadow-card);
    display: flex;
    gap: 16px;
    align-items: flex-start;
    transition: all var(--transition);
    text-decoration: none;
    color: inherit;
}

.pcgd-subject-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(15, 23, 42, .10);
    border-color: #bfdbfe;
}

.pcgd-subject-icon {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    font-size: 26px;
    flex-shrink: 0;
    background: var(--blue-light);
    transition: transform var(--transition);
}

.pcgd-subject-card:hover .pcgd-subject-icon {
    transform: scale(1.08) rotate(-3deg);
}

.pcgd-subject-card h3 {
    margin: 0 0 8px;
    font-size: 17px;
    font-weight: 800;
    color: var(--ink);
}

.pcgd-subject-card p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
    font-weight: 600;
}

/* ============================================================
   FEATURED LESSONS + LEARNING PATHS
   ============================================================ */
.pcgd-feature-wrap {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 24px;
    align-items: start;
}

.pcgd-lesson-list {
    display: grid;
    gap: 16px;
}

.pcgd-lesson-card {
    background: #fff;
    border: 1.5px solid var(--line);
    border-radius: 24px;
    padding: 18px;
    display: flex;
    gap: 16px;
    align-items: center;
    box-shadow: var(--shadow-card);
    transition: all var(--transition);
    text-decoration: none;
    color: inherit;
}

.pcgd-lesson-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(15, 23, 42, .10);
    border-color: #bfdbfe;
}

.pcgd-lesson-thumb {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: linear-gradient(135deg, #dbeafe, #ccfbf1);
    display: grid;
    place-items: center;
    font-size: 28px;
    flex-shrink: 0;
    transition: transform var(--transition);
}

.pcgd-lesson-card:hover .pcgd-lesson-thumb {
    transform: scale(1.05) rotate(-2deg);
}

.pcgd-lesson-body { flex: 1; min-width: 0; }

.pcgd-lesson-body h3 {
    margin: 0 0 10px;
    font-size: 16.5px;
    font-weight: 800;
    color: var(--ink);
    line-height: 1.4;
}

.pcgd-lesson-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.pcgd-lesson-meta span {
    font-size: 12px;
    font-weight: 800;
    color: #475569;
    background: var(--soft-2);
    padding: 5px 10px;
    border-radius: 999px;
    line-height: 1;
}

.pcgd-lesson-meta .meta-lop { background: #eff6ff; color: var(--blue-dark); }
.pcgd-lesson-meta .meta-mon { background: #f0fdf4; color: #166534; }
.pcgd-lesson-meta .meta-level { background: var(--yellow-light); color: #92400e; }

.pcgd-lesson-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--blue-light);
    color: var(--blue);
    display: grid;
    place-items: center;
    font-weight: 900;
    font-size: 16px;
    flex-shrink: 0;
    transition: all var(--transition);
}

.pcgd-lesson-card:hover .pcgd-lesson-arrow {
    background: var(--blue);
    color: #fff;
}

/* Learning Paths Panel */
.pcgd-path-panel {
    background: linear-gradient(160deg, var(--ink), #1e3a8a 80%);
    color: #fff;
    border-radius: 32px;
    padding: 28px;
    box-shadow: 0 20px 60px rgba(15, 23, 42, .20);
    position: sticky;
    top: 100px;
}

.pcgd-path-panel h3 {
    font-size: 26px;
    line-height: 1.2;
    margin: 0 0 12px;
    font-weight: 900;
    letter-spacing: -.8px;
}

.pcgd-path-panel > p {
    color: #cbd5e1;
    line-height: 1.7;
    margin: 0 0 24px;
    font-size: 14.5px;
}

.pcgd-path-item {
    background: rgba(255, 255, 255, .10);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 20px;
    padding: 16px;
    margin-bottom: 12px;
    text-decoration: none;
    color: inherit;
    display: block;
    transition: all var(--transition);
}

.pcgd-path-item:last-child { margin-bottom: 0; }

.pcgd-path-item:hover {
    background: rgba(255, 255, 255, .17);
    transform: translateX(4px);
}

.pcgd-path-item b {
    display: block;
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 10px;
    color: #fff;
}

.pcgd-path-bar {
    height: 8px;
    background: rgba(255, 255, 255, .18);
    border-radius: 999px;
    overflow: hidden;
}

.pcgd-path-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--yellow), var(--cyan));
    border-radius: 999px;
    transition: width 1s ease;
}

.pcgd-path-panel .pcgd-btn {
    width: 100%;
    justify-content: center;
    margin-top: 20px;
    background: rgba(255, 255, 255, .15);
    border-color: rgba(255, 255, 255, .25);
    color: #fff;
    font-weight: 800;
}

.pcgd-path-panel .pcgd-btn:hover {
    background: rgba(255, 255, 255, .25);
    transform: translateY(-2px);
}

/* ============================================================
   Q&A SECTION
   ============================================================ */
.pcgd-qa-section { background: var(--soft); }

.pcgd-qa-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.pcgd-qa-card {
    background: #fff;
    border: 1.5px solid var(--line);
    border-radius: 26px;
    padding: 24px;
    box-shadow: var(--shadow-card);
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.pcgd-qa-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(15, 23, 42, .10);
    border-color: #bfdbfe;
}

.pcgd-qa-tag {
    display: inline-flex;
    padding: 7px 12px;
    border-radius: 999px;
    background: var(--blue-light);
    color: var(--blue);
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 14px;
    align-self: flex-start;
    letter-spacing: .3px;
}

.pcgd-qa-card h3 {
    font-size: 17px;
    line-height: 1.5;
    margin: 0 0 12px;
    font-weight: 800;
    color: var(--ink);
    flex: 1;
}

.pcgd-qa-card p {
    margin: 0 0 16px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65;
}

.pcgd-qa-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--blue);
    font-weight: 800;
    font-size: 14px;
}

.pcgd-qa-link:hover { gap: 10px; }

/* ============================================================
   AUDIENCE SECTIONS (Parent + Teacher)
   ============================================================ */
.pcgd-audience-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.pcgd-aud-card {
    border-radius: 32px;
    padding: 30px;
    min-height: 340px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.pcgd-aud-card.parent {
    background: linear-gradient(140deg, #fff7ed, #ffedd5);
    border: 1.5px solid #fed7aa;
}

.pcgd-aud-card.teacher {
    background: linear-gradient(140deg, #eef2ff, #dbeafe);
    border: 1.5px solid #bfdbfe;
}

.pcgd-aud-card h3 {
    font-size: 28px;
    margin: 0 0 12px;
    letter-spacing: -1px;
    font-weight: 900;
    color: var(--ink);
}

.pcgd-aud-card > p {
    color: #475569;
    line-height: 1.7;
    max-width: 480px;
    margin: 0 0 22px;
}

.pcgd-aud-list {
    display: grid;
    gap: 10px;
}

.pcgd-aud-list a {
    background: rgba(255, 255, 255, .75);
    border: 1.5px solid rgba(255, 255, 255, .9);
    border-radius: 16px;
    padding: 13px 16px;
    font-weight: 700;
    font-size: 14px;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all var(--transition);
}

.pcgd-aud-list a::before {
    content: '→';
    font-size: 14px;
    color: var(--blue);
    transition: transform var(--transition);
}

.pcgd-aud-list a:hover {
    background: rgba(255, 255, 255, .95);
    transform: translateX(4px);
}

.pcgd-aud-list a:hover::before {
    transform: translateX(4px);
}

.pcgd-aud-emoji {
    position: absolute;
    right: 24px;
    bottom: 20px;
    font-size: 88px;
    opacity: .18;
    pointer-events: none;
    line-height: 1;
}

/* ============================================================
   NEWS SECTION
   ============================================================ */
.pcgd-news-section { background: var(--soft); }

.pcgd-news-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr;
    gap: 18px;
}

.pcgd-news-card {
    background: #fff;
    border: 1.5px solid var(--line);
    border-radius: 26px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: all var(--transition);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.pcgd-news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(15, 23, 42, .10);
    border-color: #bfdbfe;
}

.pcgd-news-img {
    height: 160px;
    background: linear-gradient(135deg, #bfdbfe, #99f6e4);
    display: grid;
    place-items: center;
    font-size: 48px;
    flex-shrink: 0;
    overflow: hidden;
}

.pcgd-news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pcgd-news-card.big .pcgd-news-img { height: 240px; }

.pcgd-news-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.pcgd-news-cat {
    font-weight: 900;
    color: var(--blue);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 8px;
}

.pcgd-news-body h3 {
    font-size: 18px;
    line-height: 1.4;
    margin: 0 0 10px;
    font-weight: 800;
    color: var(--ink);
}

.pcgd-news-card.big .pcgd-news-body h3 { font-size: 22px; }

.pcgd-news-body p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
    font-size: 14px;
    flex: 1;
}

.pcgd-news-date {
    font-size: 12px;
    color: var(--muted-light);
    font-weight: 600;
    margin-top: 12px;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.pcgd-cta-section { padding: 40px 0 72px; }

.pcgd-cta-box {
    background: linear-gradient(135deg, var(--blue), var(--cyan) 100%);
    border-radius: 36px;
    padding: 48px 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    color: #fff;
    box-shadow: 0 24px 70px rgba(37, 99, 235, .28);
    position: relative;
    overflow: hidden;
}

.pcgd-cta-box::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -60px;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, .08);
    border-radius: 50%;
    pointer-events: none;
}

.pcgd-cta-box::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: 30%;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, .06);
    border-radius: 50%;
    pointer-events: none;
}

.pcgd-cta-content { position: relative; z-index: 1; }

.pcgd-cta-box h2 {
    font-size: 32px;
    line-height: 1.25;
    margin: 0 0 10px;
    font-weight: 900;
    letter-spacing: -.8px;
}

.pcgd-cta-box p {
    margin: 0;
    color: rgba(255, 255, 255, .85);
    line-height: 1.7;
    font-size: 15.5px;
}

.pcgd-cta-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

/* ============================================================
   FOOTER
   ============================================================ */
.pcgd-footer {
    background: var(--ink);
    color: #cbd5e1;
    padding: 60px 0 28px;
}

.pcgd-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(4, 1fr);
    gap: 32px;
    margin-bottom: 40px;
}

.pcgd-footer-brand { }

.pcgd-footer-brand .pcgd-brand-text span { color: #fff; }
.pcgd-footer-brand .pcgd-brand-text small { color: #64748b; }

.pcgd-footer-desc {
    line-height: 1.75;
    margin: 16px 0 0;
    color: #94a3b8;
    font-size: 14px;
}

.pcgd-footer-col h4 {
    color: #fff;
    margin: 0 0 18px;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .2px;
}

.pcgd-footer-col ul li { }

.pcgd-footer-col ul li a {
    display: block;
    color: #94a3b8;
    font-size: 14px;
    padding: 6px 0;
    transition: color var(--transition);
    font-weight: 600;
}

.pcgd-footer-col ul li a:hover { color: #fff; }

.pcgd-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
}

.pcgd-footer-bottom a { color: #64748b; }
.pcgd-footer-bottom a:hover { color: #94a3b8; }

.pcgd-footer-links { display: flex; gap: 20px; flex-wrap: wrap; }

/* ============================================================
   ARCHIVE PAGES
   ============================================================ */
.pcgd-archive-hero {
    background: linear-gradient(135deg, #eff6ff, #f0fdf4);
    padding: 52px 0;
    border-bottom: 1px solid var(--line);
}

.pcgd-archive-hero h1 {
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 900;
    letter-spacing: -2px;
    margin: 0 0 12px;
    color: var(--ink);
}

.pcgd-archive-hero p {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.7;
    max-width: 600px;
    margin: 0;
}

/* Filters */
.pcgd-filter-bar {
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 16px 0;
    position: sticky;
    top: 76px;
    z-index: 50;
}

.pcgd-filter-wrap {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.pcgd-filter-group {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.pcgd-filter-btn {
    padding: 8px 14px;
    border-radius: 999px;
    border: 1.5px solid var(--line);
    background: #fff;
    font-size: 13.5px;
    font-weight: 700;
    color: #475569;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.pcgd-filter-btn:hover,
.pcgd-filter-btn.active {
    border-color: var(--blue);
    color: var(--blue);
    background: var(--blue-light);
}

/* Post Grid */
.pcgd-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.pcgd-post-card {
    background: #fff;
    border: 1.5px solid var(--line);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.pcgd-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(15, 23, 42, .10);
    border-color: #bfdbfe;
}

.pcgd-post-card-thumb {
    height: 170px;
    background: linear-gradient(135deg, #dbeafe, #ccfbf1);
    display: grid;
    place-items: center;
    font-size: 52px;
    overflow: hidden;
    flex-shrink: 0;
}

.pcgd-post-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pcgd-post-card-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.pcgd-post-card-body h2,
.pcgd-post-card-body h3 {
    font-size: 17px;
    line-height: 1.45;
    margin: 0 0 12px;
    font-weight: 800;
    color: var(--ink);
}

.pcgd-post-card-body p {
    font-size: 13.5px;
    color: var(--muted);
    line-height: 1.6;
    flex: 1;
    margin: 0;
}

.pcgd-post-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--line-soft);
}

/* ============================================================
   SINGLE POST
   ============================================================ */
.pcgd-single-wrap {
    padding: 44px 0 72px;
}

.pcgd-single-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 32px;
    align-items: start;
}

.pcgd-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    color: var(--muted);
    font-weight: 600;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.pcgd-breadcrumb a { color: var(--blue); }
.pcgd-breadcrumb span { color: var(--muted-light); }

.pcgd-single-header { margin-bottom: 28px; }

.pcgd-single-header h1 {
    font-size: clamp(28px, 3.5vw, 44px);
    font-weight: 900;
    letter-spacing: -1.5px;
    line-height: 1.15;
    margin: 0 0 16px;
    color: var(--ink);
}

.pcgd-single-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.pcgd-meta-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 800;
    line-height: 1;
}

.pcgd-meta-badge.lop { background: #eff6ff; color: var(--blue-dark); }
.pcgd-meta-badge.mon { background: #f0fdf4; color: #166534; }
.pcgd-meta-badge.level { background: var(--yellow-light); color: #92400e; }
.pcgd-meta-badge.time { background: var(--soft-2); color: var(--muted); }

.pcgd-lesson-goal {
    background: linear-gradient(135deg, #eff6ff, #f0fdf4);
    border: 1.5px solid #bfdbfe;
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 28px;
}

.pcgd-lesson-goal h4 {
    font-size: 14px;
    font-weight: 900;
    color: var(--blue);
    margin: 0 0 10px;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.pcgd-lesson-goal p { margin: 0; color: var(--ink-soft); line-height: 1.7; }

.pcgd-single-content {
    font-size: 16px;
    line-height: 1.8;
    color: #334155;
}

.pcgd-single-content h2 {
    font-size: 24px;
    font-weight: 900;
    color: var(--ink);
    margin: 36px 0 16px;
    letter-spacing: -.5px;
}

.pcgd-single-content h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--ink);
    margin: 28px 0 12px;
}

.pcgd-single-content p { margin-bottom: 1.2em; }

.pcgd-single-content ul, .pcgd-single-content ol {
    padding-left: 24px;
    margin-bottom: 1.2em;
}

.pcgd-single-content li { margin-bottom: .5em; }

.pcgd-single-content blockquote {
    border-left: 4px solid var(--blue);
    padding: 16px 20px;
    background: var(--blue-light);
    border-radius: 0 16px 16px 0;
    margin: 24px 0;
    font-style: italic;
    color: var(--ink-soft);
}

/* Single Sidebar */
.pcgd-single-sidebar { }

.pcgd-sidebar-widget {
    background: #fff;
    border: 1.5px solid var(--line);
    border-radius: 24px;
    padding: 22px;
    box-shadow: var(--shadow-card);
    margin-bottom: 20px;
}

.pcgd-sidebar-widget h4 {
    font-size: 15px;
    font-weight: 900;
    color: var(--ink);
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 1.5px solid var(--line-soft);
}

.pcgd-related-list { display: grid; gap: 12px; }

.pcgd-related-item {
    display: flex;
    gap: 12px;
    align-items: center;
    text-decoration: none;
    color: inherit;
    padding: 10px;
    border-radius: 14px;
    transition: all var(--transition);
}

.pcgd-related-item:hover { background: var(--soft); }

.pcgd-related-thumb {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, #dbeafe, #ccfbf1);
    display: grid;
    place-items: center;
    font-size: 20px;
    flex-shrink: 0;
}

.pcgd-related-item h5 {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.4;
}

/* ============================================================
   SEARCH PAGE
   ============================================================ */
.pcgd-search-hero {
    background: linear-gradient(135deg, var(--blue-light), #f0fdf4);
    padding: 60px 0;
    text-align: center;
    border-bottom: 1px solid var(--line);
}

.pcgd-search-hero h1 {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 900;
    letter-spacing: -1.5px;
    margin: 0 0 24px;
    color: var(--ink);
}

.pcgd-search-form-big {
    max-width: 640px;
    margin: 0 auto;
    background: #fff;
    border: 1.5px solid var(--line);
    border-radius: 20px;
    padding: 8px;
    display: flex;
    gap: 8px;
    box-shadow: 0 8px 32px rgba(15, 23, 42, .10);
}

.pcgd-search-form-big input {
    flex: 1;
    border: 0;
    outline: 0;
    padding: 0 18px;
    font-size: 16px;
    font-weight: 600;
    min-height: 52px;
    background: transparent;
    color: var(--ink);
    font-family: inherit;
}

.pcgd-no-results-suggestions {
    margin-top: 40px;
    text-align: center;
}

.pcgd-no-results-suggestions h3 {
    font-size: 18px;
    font-weight: 800;
    color: var(--ink);
    margin: 0 0 16px;
}

.pcgd-suggestion-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.pcgd-suggestion-tags a {
    background: #fff;
    border: 1.5px solid var(--line);
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 14px;
    color: #475569;
    transition: all var(--transition);
}

.pcgd-suggestion-tags a:hover {
    border-color: var(--blue);
    color: var(--blue);
    background: var(--blue-light);
}

/* ============================================================
   404 PAGE
   ============================================================ */
.pcgd-404-wrap {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 0;
    text-align: center;
}

.pcgd-404-inner { max-width: 520px; }

.pcgd-404-emoji {
    font-size: 80px;
    margin-bottom: 24px;
    animation: pcgdFloat 2.5s ease-in-out infinite;
}

.pcgd-404-inner h1 {
    font-size: 96px;
    font-weight: 900;
    letter-spacing: -4px;
    color: var(--blue);
    margin: 0 0 8px;
    line-height: 1;
}

.pcgd-404-inner h2 {
    font-size: 26px;
    font-weight: 800;
    margin: 0 0 14px;
    color: var(--ink);
}

.pcgd-404-inner p {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.7;
    margin: 0 0 28px;
}

.pcgd-404-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   PAGINATION
   ============================================================ */
.pcgd-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 44px;
    flex-wrap: wrap;
}

.pcgd-pagination a,
.pcgd-pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    border: 1.5px solid var(--line);
    background: #fff;
    transition: all var(--transition);
    color: #475569;
}

.pcgd-pagination a:hover {
    border-color: var(--blue);
    color: var(--blue);
    background: var(--blue-light);
}

.pcgd-pagination .current {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff;
}

/* ============================================================
   UTILITIES & MISC
   ============================================================ */
.pcgd-text-muted { color: var(--muted); }
.pcgd-text-blue { color: var(--blue); }
.pcgd-bg-soft { background: var(--soft); }
.pcgd-bg-white { background: #fff; }

.pcgd-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
}

.pcgd-badge-blue { background: var(--blue-light); color: var(--blue-dark); }
.pcgd-badge-green { background: #f0fdf4; color: #166534; }
.pcgd-badge-yellow { background: var(--yellow-light); color: #92400e; }
.pcgd-badge-purple { background: #f5f3ff; color: #6d28d9; }

.pcgd-divider {
    border: 0;
    height: 1px;
    background: var(--line);
    margin: 40px 0;
}

/* Skip link accessibility */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--blue);
    color: #fff;
    padding: 12px 20px;
    border-radius: 0 0 12px 0;
    font-weight: 700;
    z-index: 10000;
    transition: top .2s;
}

.skip-link:focus { top: 0; }

/* Loading state */
.pcgd-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
    color: var(--muted);
}

/* WordPress core classes */
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 13px; color: var(--muted); text-align: center; margin-top: 8px; }
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { display: block; margin: 0 auto 16px; }
.alignnone { margin: 0 0 16px; }

/* Screen reader only */
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ============================================================
   CURRENT TEMPLATE COMPATIBILITY + POLISH
   ============================================================ */
.pcgd-topbar .container {
    min-height: 38px;
    display: flex;
    align-items: center;
}

.pcgd-topbar__text {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pcgd-header__inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.pcgd-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    flex-shrink: 0;
    color: var(--ink);
    font-weight: 900;
}

.pcgd-logo__icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    box-shadow: 0 10px 24px rgba(37, 99, 235, .22);
    color: #fff;
    font-size: 22px;
    flex: 0 0 auto;
}

.pcgd-logo__img {
    max-height: 54px;
    width: auto;
}

.pcgd-logo__text {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.pcgd-logo__name {
    color: var(--ink);
    font-size: 18px;
    line-height: 1.12;
    letter-spacing: 0;
}

.pcgd-logo__sub {
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
}

.pcgd-nav {
    height: auto;
    flex: 1 1 auto;
    min-width: 0;
    justify-content: center;
}

.pcgd-nav__menu,
.pcgd-nav__menu ul {
    list-style: none;
}

.pcgd-nav__menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex-wrap: wrap;
    font-size: 14px;
    font-weight: 750;
}

.pcgd-nav__menu > li {
    position: relative;
}

.pcgd-nav__menu > li > a {
    display: flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 12px;
    border-radius: 999px;
    color: #334155;
    white-space: nowrap;
}

.pcgd-nav__menu > li > a:hover,
.pcgd-nav__menu > li.current-menu-item > a,
.pcgd-nav__menu > li.current-menu-ancestor > a {
    background: var(--blue-light);
    color: var(--blue);
}

.pcgd-nav__menu .sub-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 210px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: var(--transition);
    z-index: 30;
}

.pcgd-nav__menu > li:hover > .sub-menu,
.pcgd-nav__menu > li:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.pcgd-nav__menu .sub-menu a {
    display: block;
    padding: 9px 12px;
    border-radius: 12px;
    color: #334155;
    font-size: 13px;
}

.pcgd-nav__menu .sub-menu a:hover {
    background: var(--blue-light);
    color: var(--blue);
}

.pcgd-header__actions {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 20px;
    border: 1.5px solid transparent;
    border-radius: 999px;
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
    transition: var(--transition);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn--sm { min-height: 38px; padding: 0 14px; font-size: 13px; }
.btn--lg { min-height: 52px; padding: 0 26px; font-size: 15px; }
.btn--block { width: 100%; }
.btn--primary {
    background: linear-gradient(135deg, var(--blue), #4f46e5);
    color: #fff;
    box-shadow: 0 10px 24px rgba(37, 99, 235, .24);
}
.btn--primary:hover { color: #fff; box-shadow: 0 16px 36px rgba(37, 99, 235, .30); }
.btn--outline {
    background: #fff;
    color: var(--blue);
    border-color: #bfdbfe;
}
.btn--outline:hover {
    background: var(--blue-light);
    border-color: var(--blue);
    color: var(--blue);
}

.pcgd-hamburger {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border: 1.5px solid var(--line);
    border-radius: 14px;
    background: #fff;
    padding: 0;
}

.pcgd-hamburger span {
    width: 20px;
    height: 2px;
    border-radius: 99px;
    background: var(--ink);
}

.pcgd-mobile-menu {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--transition), visibility var(--transition);
}

.pcgd-mobile-menu.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.pcgd-mobile-menu__overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .52);
    backdrop-filter: blur(5px);
}

.pcgd-mobile-menu__panel {
    position: absolute;
    inset: 0 0 0 auto;
    width: min(380px, 90vw);
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 22px;
    background: #fff;
    box-shadow: -20px 0 50px rgba(15, 23, 42, .16);
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform .28s cubic-bezier(.4, 0, .2, 1);
}

.pcgd-mobile-menu.open .pcgd-mobile-menu__panel {
    transform: translateX(0);
}

.pcgd-mobile-menu__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.pcgd-mobile-menu__close {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--soft);
    color: var(--ink);
    flex: 0 0 auto;
}

.pcgd-mobile-menu__body {
    flex: 1 1 auto;
}

.pcgd-mobile-nav {
    display: grid;
    gap: 4px;
}

.pcgd-mobile-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 2px;
    border-bottom: 1px solid var(--line-soft);
    color: var(--ink-soft);
    font-size: 15px;
    font-weight: 750;
}

.pcgd-mobile-nav .sub-menu {
    display: block;
    padding-left: 14px;
}

.pcgd-mobile-nav .sub-menu a {
    color: var(--muted);
    font-size: 14px;
    font-weight: 650;
}

.pcgd-mobile-menu__foot {
    display: grid;
    gap: 10px;
}

.pcgd-hero {
    padding: 0;
}

.pcgd-hero__content {
    min-width: 0;
}

.pcgd-hero__eyebrow,
.pcgd-section-head__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(37, 99, 235, .09);
    color: var(--blue);
    font-size: 13px;
    font-weight: 800;
}

.pcgd-hero__title {
    max-width: 780px;
    margin: 0;
    font-size: clamp(42px, 5vw, 68px);
    line-height: 1.04;
    letter-spacing: 0;
    font-weight: 900;
}

.pcgd-hero__highlight {
    display: block;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.pcgd-hero__desc {
    max-width: 680px;
    margin: 20px 0 0;
    color: #475569;
    font-size: 18px;
}

.pcgd-hero__search {
    margin-top: 30px;
}

.pcgd-search-form__inner {
    max-width: 680px;
    min-height: 64px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(37, 99, 235, .12);
}

.pcgd-search-form__icon {
    margin-left: 10px;
    color: var(--blue);
    flex: 0 0 auto;
}

.pcgd-search-form__input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--ink);
    font-size: 16px;
}

.pcgd-search-form__btn {
    flex: 0 0 auto;
}

.pcgd-hero__tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.pcgd-hero__tags-label {
    color: var(--muted);
    font-size: 13px;
    font-weight: 750;
}

.pcgd-hero__tag {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 13px;
    border: 1px solid #dbeafe;
    border-radius: 999px;
    background: rgba(255, 255, 255, .82);
    color: #1d4ed8;
    font-size: 13px;
    font-weight: 750;
}

.pcgd-hero__tag:hover {
    background: var(--blue);
    color: #fff;
    border-color: var(--blue);
}

.pcgd-hero__stats {
    display: grid;
    grid-template-columns: auto auto auto auto auto;
    align-items: center;
    gap: 16px;
    margin-top: 30px;
}

.pcgd-hero__stat strong {
    display: block;
    color: var(--ink);
    font-size: 24px;
    line-height: 1.1;
}

.pcgd-hero__stat span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.pcgd-hero__stat-divider {
    width: 1px;
    height: 36px;
    background: var(--line);
}

.pcgd-section-head {
    max-width: 760px;
    margin: 0 auto 34px;
    text-align: center;
}

.pcgd-section-head__title {
    margin: 0;
    color: var(--ink);
    font-size: 38px;
    line-height: 1.14;
    letter-spacing: 0;
    font-weight: 900;
}

.pcgd-section-head__desc {
    margin: 12px auto 0;
    color: var(--muted);
    font-size: 16px;
}

.pcgd-section--paths {
    background: #0f172a;
    color: #e2e8f0;
}

.pcgd-section--paths .pcgd-section-head__title,
.pcgd-section--paths .pcgd-path-card__title a {
    color: #fff;
}

.pcgd-section--paths .pcgd-section-head__desc {
    color: #cbd5e1;
}

.pcgd-section--paths .pcgd-path-card {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(226, 232, 240, .16);
    color: #e2e8f0;
}

.pcgd-section--paths .pcgd-path-card__goal,
.pcgd-section--paths .pcgd-path-card__info {
    color: #cbd5e1;
}

/* ============================================================
   ADDITIONAL COMPONENT STYLES
   ============================================================ */

/* --- Hero Visual Cards --- */
.pcgd-hero__inner { display: grid; grid-template-columns: 1fr 420px; gap: 60px; align-items: center; padding: 80px 0; }
.pcgd-hero__visual { position: relative; }
.pcgd-hero__visual-main { background: linear-gradient(135deg, var(--blue), var(--cyan)); border-radius: var(--radius); padding: 40px; text-align: center; color: #fff; }
.pcgd-hero__visual-main .pcgd-hero__visual-icon { font-size: 60px; display: block; margin-bottom: 12px; }
.pcgd-hero__visual-main p { margin: 0; font-size: 1.1rem; font-weight: 600; opacity: .9; }
.pcgd-hero__visual-card { position: absolute; background: #fff; border-radius: 16px; padding: 12px 16px; display: flex; align-items: center; gap: 10px; box-shadow: var(--shadow); font-size: 13px; white-space: nowrap; }
.pcgd-hero__visual-card--1 { top: -20px; left: -30px; }
.pcgd-hero__visual-card--2 { bottom: 40px; left: -40px; }
.pcgd-hero__visual-card--3 { top: 50%; right: -30px; transform: translateY(-50%); }
.pcgd-hero__visual-card .pcgd-hero__visual-emoji { font-size: 24px; }
.pcgd-hero__visual-card strong { display: block; font-size: 13px; color: var(--ink); }
.pcgd-hero__visual-card span { font-size: 11px; color: var(--muted); }

/* --- Classes Section --- */
.pcgd-classes__tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.pcgd-classes__tab { padding: 8px 20px; border: 2px solid var(--line); border-radius: 100px; background: #fff; color: var(--muted); font-size: 14px; font-weight: 600; cursor: pointer; transition: var(--transition); }
.pcgd-classes__tab:hover, .pcgd-classes__tab.is-active { border-color: var(--blue); background: var(--blue); color: #fff; }
.pcgd-classes__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.pcgd-class-card { background: #fff; border-radius: var(--radius-sm); padding: 24px 16px; text-align: center; text-decoration: none; color: var(--ink); border: 2px solid var(--line); transition: var(--transition); }
.pcgd-class-card:hover { border-color: var(--blue); box-shadow: var(--shadow-soft); transform: translateY(-4px); color: var(--blue); }
.pcgd-class-card[data-cap="Tiểu học"] { --card-color: #22c55e; }
.pcgd-class-card[data-cap="THCS"] { --card-color: var(--blue); }
.pcgd-class-card[data-cap="THPT"] { --card-color: var(--purple); }
.pcgd-class-card__emoji { font-size: 32px; margin-bottom: 8px; }
.pcgd-class-card__name { font-size: 15px; font-weight: 700; color: var(--ink); }
.pcgd-class-card__cap { font-size: 11px; color: var(--muted); margin-top: 4px; }
.pcgd-class-card__count { font-size: 11px; color: var(--blue); margin-top: 4px; font-weight: 600; }
.pcgd-class-card.is-hidden { display: none; }

/* --- Subjects Grid --- */
.pcgd-subjects__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pcgd-subject-card { background: #fff; border-radius: var(--radius-sm); padding: 28px 20px; text-align: center; text-decoration: none; color: var(--ink); border: 2px solid var(--line); transition: var(--transition); }
.pcgd-subject-card:hover { border-color: var(--subject-color, var(--blue)); box-shadow: 0 8px 30px rgba(0,0,0,.1); transform: translateY(-4px); }
.pcgd-subject-card__icon { font-size: 40px; margin-bottom: 12px; display: block; }
.pcgd-subject-card__name { font-size: 15px; font-weight: 700; color: var(--ink); }
.pcgd-subject-card__count { font-size: 12px; color: var(--muted); margin-top: 6px; }

/* --- Lessons Grid --- */
.pcgd-lessons-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pcgd-lessons-grid--3 { grid-template-columns: repeat(3, 1fr); }
.pcgd-lesson-card { background: #fff; border-radius: var(--radius-sm); overflow: hidden; border: 1.5px solid var(--line); transition: var(--transition); position: relative; }
.pcgd-lesson-card:hover { box-shadow: var(--shadow-soft); transform: translateY(-4px); border-color: var(--blue); }
.pcgd-lesson-card--featured { border-color: var(--yellow); }
.pcgd-lesson-card__badge { position: absolute; top: 12px; right: 12px; background: var(--yellow); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 100px; z-index: 2; }
.pcgd-lesson-card__thumb { display: block; height: 200px; overflow: hidden; background: var(--soft); }
.pcgd-lesson-card__img { width: 100%; height: 100%; object-fit: cover; }
.pcgd-lesson-card__emoji-thumb { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 64px; background: linear-gradient(135deg, var(--soft), var(--blue-light)); }
.pcgd-lesson-card__body { padding: 20px; }
.pcgd-lesson-card__meta { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.pcgd-lesson-card__title { font-size: 15px; font-weight: 700; margin: 0 0 8px; line-height: 1.4; }
.pcgd-lesson-card__title a { color: var(--ink); text-decoration: none; }
.pcgd-lesson-card__title a:hover { color: var(--blue); }
.pcgd-lesson-card__subtitle { font-size: 13px; color: var(--muted); margin: 0 0 12px; }
.pcgd-lesson-card__foot { display: flex; gap: 12px; font-size: 12px; color: var(--muted); align-items: center; flex-wrap: wrap; }
.pcgd-lesson-card__date, .pcgd-lesson-card__duration { display: flex; align-items: center; gap: 4px; }

/* --- Paths Grid --- */
.pcgd-paths__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.pcgd-paths__grid--full { grid-template-columns: repeat(3, 1fr); }
.pcgd-path-card { background: #fff; border-radius: var(--radius-sm); padding: 28px; border: 1.5px solid var(--line); transition: var(--transition); display: flex; flex-direction: column; gap: 12px; }
.pcgd-path-card:hover { box-shadow: var(--shadow-soft); border-color: var(--blue); transform: translateY(-2px); }
.pcgd-path-card__head { display: flex; align-items: center; gap: 12px; }
.pcgd-path-card__icon { font-size: 36px; }
.pcgd-path-card__meta { display: flex; gap: 6px; flex-wrap: wrap; }
.pcgd-path-card__title { font-size: 16px; font-weight: 700; margin: 0; }
.pcgd-path-card__title a { color: var(--ink); text-decoration: none; }
.pcgd-path-card__title a:hover { color: var(--blue); }
.pcgd-path-card__goal { font-size: 13px; color: var(--muted); margin: 0; }
.pcgd-path-card__info { display: flex; gap: 16px; font-size: 12px; color: var(--muted); flex-wrap: wrap; }
.pcgd-path-card__bar { height: 6px; background: var(--soft-2); border-radius: 100px; overflow: hidden; }
.pcgd-path-card__bar-fill { height: 100%; background: linear-gradient(90deg, var(--blue), var(--cyan)); border-radius: 100px; width: 0; transition: width .8s ease; }
.pcgd-path-card__cta { margin-top: auto; }

/* --- QA Grid --- */
.pcgd-qa__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.pcgd-qa__grid--full { grid-template-columns: repeat(2, 1fr); }
.pcgd-qa-card { background: #fff; border-radius: var(--radius-sm); padding: 24px; border: 1.5px solid var(--line); transition: var(--transition); }
.pcgd-qa-card:hover { box-shadow: var(--shadow-soft); border-color: var(--cyan); }
.pcgd-qa-card__meta { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.pcgd-qa-card__question { font-size: 15px; font-weight: 600; display: flex; gap: 8px; align-items: flex-start; margin: 0 0 10px; }
.pcgd-qa-card__q-icon { font-size: 18px; flex-shrink: 0; }
.pcgd-qa-card__question a { color: var(--ink); text-decoration: none; }
.pcgd-qa-card__question a:hover { color: var(--blue); }
.pcgd-qa-card__answer { font-size: 13px; color: var(--muted); display: flex; gap: 8px; align-items: flex-start; margin: 0 0 12px; }
.pcgd-qa-card__a-icon { flex-shrink: 0; }
.pcgd-qa-card__more { font-size: 13px; color: var(--blue); text-decoration: none; font-weight: 600; }
.pcgd-qa-card__more:hover { text-decoration: underline; }

/* --- News Grid --- */
.pcgd-news__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.pcgd-news-card { background: #fff; border-radius: var(--radius-sm); overflow: hidden; border: 1.5px solid var(--line); transition: var(--transition); }
.pcgd-news-card:hover { box-shadow: var(--shadow-soft); transform: translateY(-4px); }
.pcgd-news-card--featured { grid-column: span 2; display: flex; flex-direction: column; }
.pcgd-news-card__thumb { display: block; height: 180px; overflow: hidden; background: var(--soft); }
.pcgd-news-card--featured .pcgd-news-card__thumb { height: 240px; }
.pcgd-news-card__img { width: 100%; height: 100%; object-fit: cover; }
.pcgd-news-card__placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 48px; background: linear-gradient(135deg, #f0f9ff, #e0f2fe); }
.pcgd-news-card__body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.pcgd-news-card__meta { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
.pcgd-news-card__date { font-size: 12px; color: var(--muted); }
.pcgd-news-card__title { font-size: 15px; font-weight: 700; margin: 0 0 8px; line-height: 1.4; }
.pcgd-news-card__title a { color: var(--ink); text-decoration: none; }
.pcgd-news-card__title a:hover { color: var(--blue); }
.pcgd-news-card__excerpt { font-size: 13px; color: var(--muted); margin: 0 0 12px; flex: 1; }
.pcgd-news-card__more { font-size: 13px; color: var(--blue); text-decoration: none; font-weight: 600; margin-top: auto; }

/* --- Audience (parent+teacher) section --- */
.pcgd-audience__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.pcgd-audience-card { border-radius: var(--radius); padding: 48px 40px; display: flex; gap: 28px; align-items: flex-start; }
.pcgd-audience-card--parent { background: linear-gradient(135deg, #eff6ff, #dbeafe); }
.pcgd-audience-card--teacher { background: linear-gradient(135deg, #f0fdf4, #dcfce7); }
.pcgd-audience-card__icon { font-size: 56px; flex-shrink: 0; }
.pcgd-audience-card__title { font-size: 1.4rem; font-weight: 800; margin: 8px 0 12px; color: var(--ink); }
.pcgd-audience-card__desc { font-size: 14px; color: var(--muted); margin: 0 0 16px; line-height: 1.7; }
.pcgd-audience-card__list { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-direction: column; gap: 8px; }
.pcgd-audience-card__list li { font-size: 14px; color: var(--ink-soft); }

/* --- CTA Section --- */
.pcgd-cta { background: linear-gradient(135deg, var(--blue) 0%, var(--cyan) 100%); }
.pcgd-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 60px 0; }
.pcgd-cta__content { flex: 1; }
.pcgd-cta__title { font-size: 2.2rem; font-weight: 900; color: #fff; margin: 0 0 12px; line-height: 1.2; }
.pcgd-cta__desc { font-size: 1.05rem; color: rgba(255,255,255,.85); margin: 0 0 28px; }
.pcgd-cta__actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn--white { background: #fff; color: var(--blue); border: none; }
.btn--white:hover { background: #f8fafc; }
.btn--white-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.6); }
.btn--white-outline:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn--secondary { background: #fff; color: var(--ink); border: 2px solid var(--line); }
.btn--secondary:hover { border-color: var(--blue); color: var(--blue); }
.pcgd-cta__icons { display: flex; gap: 16px; font-size: 40px; opacity: .4; }

/* --- Archive Hero --- */
.pcgd-archive-hero { background: linear-gradient(135deg, var(--blue-light), var(--soft)); padding: 60px 0 40px; margin-bottom: 40px; }
.pcgd-archive-hero__title { font-size: 2rem; font-weight: 900; color: var(--ink); margin: 8px 0; }
.pcgd-archive-hero__desc { font-size: 1rem; color: var(--muted); margin: 0 0 20px; max-width: 600px; }
.pcgd-archive-search { display: flex; gap: 12px; max-width: 500px; }
.pcgd-archive-search__input { flex: 1; padding: 12px 16px; border: 2px solid var(--line); border-radius: 12px; font-size: 14px; font-family: inherit; }
.pcgd-archive-search__input:focus { outline: none; border-color: var(--blue); }

/* --- Archive Wrap --- */

/* ============================================================
   HOMEPAGE PREVIEW ALIGNMENT OVERRIDES
   ============================================================ */
body {
    background:
        radial-gradient(circle at 10% 0%, rgba(37, 99, 235, .12), transparent 28%),
        radial-gradient(circle at 90% 8%, rgba(20, 184, 166, .13), transparent 30%),
        linear-gradient(180deg, #f8fbff 0%, #fff 34%, #f8fafc 100%);
}

.pcgd-topbar {
    background: #0f172a;
    color: #dbeafe;
}

.pcgd-header {
    background: rgba(255, 255, 255, .84);
    border-bottom: 1px solid rgba(226, 232, 240, .72);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.pcgd-header__inner {
    min-height: 76px;
}

.pcgd-logo__icon {
    box-shadow: 0 12px 30px rgba(37, 99, 235, .28);
}

.pcgd-logo__name {
    font-size: 20px;
    letter-spacing: 0;
}

.pcgd-nav__menu > li > a {
    min-height: 42px;
    padding: 10px 12px;
}

.pcgd-hero {
    padding: 66px 0 44px;
    background:
        radial-gradient(circle at 10% 0%, rgba(37, 99, 235, .12), transparent 28%),
        radial-gradient(circle at 90% 8%, rgba(20, 184, 166, .13), transparent 30%),
        linear-gradient(180deg, #f8fbff 0%, #fff 56%, #f8fafc 100%);
}

.pcgd-hero__inner {
    grid-template-columns: 1.08fr .92fr;
    gap: 42px;
    padding: 0;
}

.pcgd-hero__eyebrow {
    margin-bottom: 20px;
    border: 1px solid #dbeafe;
    background: #eef6ff;
}

.pcgd-hero__title {
    font-size: clamp(42px, 6vw, 74px);
    line-height: .98;
    letter-spacing: 0;
    margin-bottom: 20px;
}

.pcgd-hero__desc {
    font-size: 18px;
    line-height: 1.8;
    margin-top: 0;
    margin-bottom: 26px;
}

.pcgd-hero__content > .pcgd-hero__stats {
    display: none;
}

.pcgd-search-form__inner {
    min-height: 70px;
    border-radius: 24px;
    box-shadow: 0 14px 34px rgba(15, 23, 42, .08);
    margin-bottom: 22px;
}

.pcgd-search-form__input {
    min-height: 50px;
    font-weight: 650;
}

.pcgd-hero__tags {
    margin-top: 0;
}

.pcgd-hero-card {
    position: relative;
    padding: 22px;
    border: 1px solid rgba(226, 232, 240, .9);
    border-radius: 36px;
    background: linear-gradient(180deg, #fff, #f8fbff);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.pcgd-hero-card::before {
    content: "";
    position: absolute;
    inset: -80px -70px auto auto;
    width: 220px;
    height: 220px;
    border-radius: 999px;
    background: rgba(20, 184, 166, .16);
}

.pcgd-hero-illustration {
    position: relative;
    min-height: 440px;
    padding: 24px;
    border-radius: 28px;
    overflow: hidden;
    background:
        radial-gradient(circle at 22% 20%, rgba(245, 158, 11, .25), transparent 22%),
        radial-gradient(circle at 76% 20%, rgba(37, 99, 235, .20), transparent 24%),
        linear-gradient(135deg, #dbeafe, #ccfbf1 55%, #fef3c7);
}

.pcgd-hero-student {
    position: absolute;
    left: 50%;
    bottom: 34px;
    width: 250px;
    height: 250px;
    border-radius: 42% 42% 38% 38%;
    background: linear-gradient(180deg, #fef3c7, #fed7aa);
    box-shadow: 0 26px 70px rgba(15, 23, 42, .18);
    transform: translateX(-50%);
}

.pcgd-hero-student::before {
    content: "";
    position: absolute;
    left: 62px;
    top: -64px;
    width: 126px;
    height: 126px;
    border-radius: 50%;
    background: #f8c38a;
    box-shadow: inset 0 -8px 0 rgba(0, 0, 0, .05);
}

.pcgd-hero-student::after {
    content: "";
    position: absolute;
    left: 35px;
    right: 35px;
    bottom: 36px;
    height: 92px;
    border-radius: 28px;
    background: linear-gradient(135deg, var(--blue), #60a5fa);
}

.pcgd-hero-hair {
    position: absolute;
    left: 82px;
    top: 40px;
    z-index: 2;
    width: 170px;
    height: 92px;
    border-radius: 60px 60px 24px 24px;
    background: #1e293b;
    transform: rotate(-8deg);
}

.pcgd-hero-book {
    position: absolute;
    right: 42px;
    bottom: 78px;
    z-index: 4;
    width: 164px;
    height: 112px;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 36px rgba(15, 23, 42, .14);
    transform: rotate(-7deg);
}

.pcgd-hero-book::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 14px;
    bottom: 14px;
    width: 2px;
    background: #e2e8f0;
}

.pcgd-hero-book::after {
    content: "A+";
    position: absolute;
    left: 20px;
    top: 28px;
    color: var(--blue);
    font-size: 28px;
    font-weight: 900;
}

.pcgd-hero__visual-card {
    z-index: 5;
    border-radius: 22px;
    padding: 14px 16px;
    box-shadow: 0 15px 35px rgba(15, 23, 42, .12);
}

.pcgd-hero__visual-card--1 {
    top: 36px;
    left: 22px;
}

.pcgd-hero__visual-card--2 {
    top: 78px;
    right: 20px;
    left: auto;
    transform: none;
}

.pcgd-hero__visual-card--3 {
    left: 30px;
    right: auto;
    top: auto;
    bottom: 32px;
    transform: none;
}

.pcgd-hero__stats--card {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 16px;
}

.pcgd-hero__stats--card .pcgd-hero__stat {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #fff;
    text-align: center;
}

.pcgd-classes__grid {
    gap: 14px;
}

.pcgd-class-card {
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 18px;
    box-shadow: 0 14px 34px rgba(15, 23, 42, .08);
}

.pcgd-class-card:hover {
    transform: translateY(-5px);
}

.pcgd-subjects__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.pcgd-subject-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 28px;
    text-align: left;
    box-shadow: 0 14px 34px rgba(15, 23, 42, .08);
}

.pcgd-subject-card__icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    margin: 0;
    border-radius: 18px;
    background: #eff6ff;
    font-size: 25px;
}

.pcgd-subject-card__name {
    margin: 0 0 7px;
    font-size: 18px;
}

.pcgd-subject-card p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.55;
}

.pcgd-subject-card__count {
    margin-top: 9px;
    color: var(--subject-color, var(--blue));
    font-weight: 800;
}

.pcgd-feature-section .pcgd-feature-wrap {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 24px;
    align-items: start;
}

.pcgd-feature-section .pcgd-lesson-list {
    display: grid;
    gap: 16px;
    margin-top: 24px;
}

.pcgd-feature-main .pcgd-section-head {
    margin-bottom: 0;
}

.pcgd-feature-section .pcgd-lesson-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 16px;
    align-items: center;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(15, 23, 42, .08);
}

.pcgd-feature-section .pcgd-lesson-thumb {
    width: 74px;
    height: 74px;
    border-radius: 22px;
}

.pcgd-path-panel {
    position: sticky;
    top: 100px;
    padding: 26px;
    border-radius: 34px;
    color: #fff;
    background: linear-gradient(135deg, #0f172a, #1e3a8a);
    box-shadow: var(--shadow);
}

.pcgd-feature-section .pcgd-path-panel {
    align-self: center;
    margin-top: 0;
}

.pcgd-path-panel__kicker {
    display: inline-flex;
    margin-bottom: 16px;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    color: #bfdbfe;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.pcgd-path-panel h3 {
    margin: 0 0 10px;
    color: #fff;
    font-size: 28px;
    line-height: 1.15;
}

.pcgd-path-panel p {
    margin: 0 0 22px;
    color: #cbd5e1;
    line-height: 1.7;
}

.pcgd-path-panel__list {
    display: grid;
    gap: 12px;
}

.pcgd-path-panel__item {
    display: block;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 22px;
    background: rgba(255, 255, 255, .10);
}

.pcgd-path-panel__item strong,
.pcgd-path-panel__item span {
    display: block;
}

.pcgd-path-panel__item strong {
    margin-bottom: 7px;
    color: #fff;
}

.pcgd-path-panel__item span {
    color: #dbeafe;
    font-size: 13px;
    line-height: 1.5;
}

.pcgd-path-panel__item i {
    display: block;
    height: 8px;
    margin-top: 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .18);
    overflow: hidden;
}

.pcgd-path-panel__item i b {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--yellow), var(--cyan));
}

.pcgd-path-panel__cta {
    margin-top: 20px;
}

.pcgd-qa__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.pcgd-qa-card {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 28px;
    box-shadow: 0 14px 34px rgba(15, 23, 42, .08);
}

.pcgd-qa-card__question {
    font-size: 18px;
    line-height: 1.45;
    font-weight: 800;
}

.pcgd-qa-card__answer {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65;
}

.pcgd-qa-card__more {
    font-size: 14px;
    font-weight: 900;
}

.pcgd-audience__grid {
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.pcgd-audience-card {
    position: relative;
    min-height: 360px;
    padding: 28px;
    border-radius: 34px;
    overflow: hidden;
    box-shadow: 0 14px 34px rgba(15, 23, 42, .08);
}

.pcgd-audience-card--parent {
    background: linear-gradient(135deg, #fff7ed, #ffedd5);
}

.pcgd-audience-card--teacher {
    background: linear-gradient(135deg, #eef2ff, #dbeafe);
}

.pcgd-audience-card__icon {
    position: absolute;
    right: 26px;
    bottom: 20px;
    font-size: 88px;
    opacity: .18;
}

.pcgd-audience-card__title {
    max-width: 520px;
    font-size: 30px;
    letter-spacing: 0;
}

.pcgd-audience-card__desc {
    max-width: 540px;
    color: #475569;
}

.pcgd-audience-card__list li {
    padding: 13px 16px;
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 18px;
    background: rgba(255, 255, 255, .72);
    color: #334155;
    font-weight: 800;
}

.pcgd-news__grid {
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 18px;
    align-items: start;
}

.pcgd-news-card {
    border: 1px solid var(--line);
    border-radius: 28px;
    box-shadow: 0 14px 34px rgba(15, 23, 42, .08);
    height: auto;
}

.pcgd-news-card--featured {
    grid-column: auto;
}

.pcgd-news-card__thumb {
    height: 170px;
}

.pcgd-news-card--featured .pcgd-news-card__thumb {
    height: 260px;
}

.pcgd-news-card--featured .pcgd-news-card__title {
    font-size: 28px;
}

.pcgd-news-card__placeholder {
    background: linear-gradient(135deg, #bfdbfe, #99f6e4);
}

.pcgd-cta {
    padding: 34px 0 70px;
    background: transparent;
}

.pcgd-cta__inner {
    padding: 38px;
    border-radius: 38px;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    box-shadow: 0 25px 70px rgba(37, 99, 235, .28);
}

.pcgd-cta__title {
    font-size: 34px;
}

.pcgd-footer {
    background: #0f172a;
    color: #cbd5e1;
}

.pcgd-footer__grid {
    display: grid;
    grid-template-columns: 1.3fr repeat(4, 1fr);
    gap: 30px;
}

.pcgd-footer__col-title,
.pcgd-footer h4 {
    color: #fff;
}

.pcgd-footer__desc,
.pcgd-footer__bottom-note,
.pcgd-footer__copyright {
    color: #94a3b8;
}

.pcgd-footer__links a {
    color: #cbd5e1;
}

.pcgd-footer__links a:hover {
    color: #fff;
}

/* Section heading correction */
/* The WP templates render section heading as direct children: kicker + h2 + p. */
.pcgd-section-head {
    display: block;
    max-width: 760px;
    margin: 0 0 24px;
    text-align: left;
}

.pcgd-section-head__eyebrow {
    display: block;
    width: fit-content;
    margin: 0 0 8px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--blue);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .8px;
    line-height: 1.3;
    text-transform: uppercase;
}

.pcgd-section-head__title {
    max-width: 760px;
    margin: 0 0 10px;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.12;
    letter-spacing: 0;
}

.pcgd-section-head__desc {
    max-width: 720px;
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.pcgd-section-head--with-action {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    max-width: none;
}

.pcgd-section-head--with-action .pcgd-section-title {
    max-width: 760px;
}

.pcgd-section-head--with-action .btn {
    flex: 0 0 auto;
}

.pcgd-section--qa .pcgd-section-head--with-action {
    margin-bottom: 30px;
}

.pcgd-section--qa .pcgd-section-head--with-action .btn {
    margin-bottom: 8px;
}

.pcgd-section--qa .pcgd-section-head__title {
    max-width: 760px;
}

.pcgd-section--qa .pcgd-section-head__desc {
    max-width: 960px;
}

.pcgd-qa-card {
    min-height: 0;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: var(--white);
    box-shadow: 0 14px 36px rgba(15, 23, 42, .07);
}

.pcgd-qa-card__meta {
    margin-bottom: 16px;
}

.pcgd-qa-card__question {
    display: block;
    margin: 0 0 14px;
    font-size: 18px;
    line-height: 1.45;
    font-weight: 900;
}

.pcgd-qa-card__answer {
    display: block;
    margin: 0 0 18px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65;
}

.pcgd-qa-card__more {
    color: var(--blue);
    font-size: 14px;
    font-weight: 900;
    text-decoration: none;
}

.pcgd-qa-card__more:hover {
    color: var(--cyan);
    text-decoration: none;
}

.pcgd-qa-card__q-icon,
.pcgd-qa-card__a-icon,
.pcgd-cta__icons {
    display: none !important;
}

.pcgd-cta {
    padding: 34px 0 70px;
    background: transparent;
}

.pcgd-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 38px 48px;
    border-radius: 38px;
    background: linear-gradient(135deg, var(--blue) 0%, var(--cyan) 100%);
    box-shadow: 0 25px 70px rgba(37, 99, 235, .28);
}

.pcgd-cta__content {
    flex: 1 1 auto;
}

.pcgd-cta__title {
    margin: 0 0 10px;
    color: var(--white);
    font-size: 34px;
    line-height: 1.25;
    font-weight: 900;
}

.pcgd-cta__desc {
    margin: 0;
    color: rgba(255, 255, 255, .88);
    font-size: 17px;
    line-height: 1.55;
}

.pcgd-cta__actions {
    flex: 0 0 auto;
    display: flex;
    margin: 0;
}

.pcgd-cta__actions .btn {
    min-height: 54px;
    padding: 0 28px;
    border-radius: 999px;
    box-shadow: none;
    white-space: nowrap;
}

.pcgd-footer {
    position: relative;
    padding: 72px 0 24px;
    background:
        radial-gradient(circle at 70% 115%, rgba(244, 114, 182, .16), transparent 32%),
        #0f172a;
    color: #cbd5e1;
}

.pcgd-footer__grid {
    display: grid;
    grid-template-columns: 1.65fr repeat(4, minmax(130px, 1fr));
    gap: 58px;
    align-items: start;
}

.pcgd-footer__brand {
    max-width: 305px;
}

.pcgd-footer__brand-link {
    display: inline-flex;
    align-items: flex-end;
    gap: 12px;
    color: var(--white);
    text-decoration: none;
}

.pcgd-footer__mark {
    display: inline-grid;
    width: 58px;
    height: 58px;
    place-items: center;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    color: var(--white);
    font-size: 20px;
    font-weight: 900;
    letter-spacing: 0;
    box-shadow: 0 16px 38px rgba(20, 184, 166, .26);
}

.pcgd-footer__brand-text {
    display: grid;
    gap: 2px;
    padding-bottom: 2px;
}

.pcgd-footer__brand-text strong {
    color: var(--white);
    font-size: 24px;
    line-height: 1.05;
    font-weight: 900;
}

.pcgd-footer__brand-text small {
    color: #94a3b8;
    font-size: 11px;
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.pcgd-footer__desc {
    margin: 24px 0 0;
    color: #b8c6db;
    font-size: 17px;
    line-height: 1.7;
}

.pcgd-footer__title {
    margin: 0 0 18px;
    color: var(--white);
    font-size: 19px;
    line-height: 1.25;
    font-weight: 900;
}

.pcgd-footer__links {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pcgd-footer__links a {
    display: inline-block;
    color: #dbeafe;
    font-size: 17px;
    line-height: 1.35;
    font-weight: 500;
    text-decoration: none;
}

.pcgd-footer__links a:hover {
    color: var(--white);
    transform: translateX(3px);
}

.pcgd-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 58px;
    padding-top: 24px;
    border-top: 1px solid rgba(226, 232, 240, .14);
}

.pcgd-footer__copyright {
    margin: 0;
    color: #aab8ce;
    font-size: 15px;
    line-height: 1.6;
}

.pcgd-footer__bottom-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pcgd-footer__bottom-links li {
    display: flex;
    align-items: center;
}

.pcgd-footer__bottom-links li + li::before {
    content: "·";
    margin: 0 8px;
    color: #64748b;
}

.pcgd-footer__bottom-links a {
    color: #aab8ce;
    font-size: 15px;
    line-height: 1.6;
    text-decoration: none;
}

.pcgd-footer__bottom-links a:hover {
    color: var(--white);
}

.pcgd-section--news .pcgd-news__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

.pcgd-section--news .pcgd-news-card,
.pcgd-section--news .pcgd-news-card--featured {
    grid-column: auto;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 458px;
    border: 1px solid var(--line);
    border-radius: 28px;
    overflow: hidden;
    background: var(--white);
    box-shadow: 0 16px 42px rgba(15, 23, 42, .08);
}

.pcgd-section--news .pcgd-news-card__thumb,
.pcgd-section--news .pcgd-news-card--featured .pcgd-news-card__thumb {
    height: 212px;
    flex: 0 0 212px;
}

.pcgd-section--news .pcgd-news-card__placeholder {
    height: 100%;
    background: linear-gradient(135deg, #bfdbfe 0%, #99f6e4 100%);
}

.pcgd-section--news .pcgd-news-card__body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 24px;
}

.pcgd-section--news .pcgd-news-card__title,
.pcgd-section--news .pcgd-news-card--featured .pcgd-news-card__title {
    margin: 0 0 12px;
    font-size: 20px;
    line-height: 1.35;
    font-weight: 900;
}

.pcgd-section--news .pcgd-news-card__excerpt {
    margin: 0 0 16px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.6;
}

.pcgd-section--news .pcgd-news-card__more {
    margin-top: auto;
    color: var(--blue);
    font-weight: 900;
}

.pcgd-hero {
    position: relative;
    padding: 58px 0 54px;
    background:
        radial-gradient(circle at 14% 8%, rgba(37, 99, 235, .12), transparent 34%),
        radial-gradient(circle at 88% 12%, rgba(20, 184, 166, .16), transparent 36%),
        linear-gradient(180deg, #eaf6ff 0%, #f5fbff 62%, #ffffff 100%);
    overflow: hidden;
}

.pcgd-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(15, 23, 42, .04), transparent 18%, transparent 82%, rgba(20, 184, 166, .08));
}

.pcgd-hero .container {
    position: relative;
    z-index: 1;
}

.pcgd-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(430px, .92fr);
    gap: 52px;
    align-items: center;
    padding: 0;
}

.pcgd-hero__content {
    min-width: 0;
}

.pcgd-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    width: auto;
    min-height: 38px;
    margin: 0 0 24px;
    padding: 8px 16px;
    border: 1px solid #dbeafe;
    border-radius: 999px;
    background: rgba(255, 255, 255, .72);
    color: #1d4ed8;
    box-shadow: 0 10px 28px rgba(37, 99, 235, .08);
    font-size: 15px;
    font-weight: 900;
}

.pcgd-hero__title {
    max-width: 760px;
    margin: 0 0 24px;
    color: var(--ink);
    font-size: clamp(64px, 6.2vw, 96px);
    line-height: .93;
    letter-spacing: 0;
    font-weight: 900;
}

.pcgd-hero__highlight {
    display: block;
    background: linear-gradient(135deg, var(--blue) 0%, var(--cyan) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.pcgd-hero__desc {
    max-width: 760px;
    margin: 0 0 34px;
    color: #334155;
    font-size: 21px;
    line-height: 1.72;
}

.pcgd-hero__search {
    margin: 0 0 24px;
}

.pcgd-hero .pcgd-search-form__inner {
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 770px;
    min-height: 88px;
    padding: 10px 12px 10px 30px;
    border: 0;
    border-radius: 28px;
    background: var(--white);
    box-shadow: 0 20px 56px rgba(37, 99, 235, .14);
}

.pcgd-hero .pcgd-search-form__icon {
    display: none;
}

.pcgd-hero .pcgd-search-form__input {
    min-width: 0;
    flex: 1 1 auto;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--ink);
    font-size: 18px;
    font-weight: 700;
}

.pcgd-hero .pcgd-search-form__input::placeholder {
    color: #64748b;
    opacity: 1;
}

.pcgd-hero .pcgd-search-form__btn {
    flex: 0 0 auto;
    min-height: 64px;
    padding: 0 28px;
    border-radius: 24px;
    font-size: 18px;
    font-weight: 900;
}

.pcgd-hero__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0;
}

.pcgd-hero__tags-label {
    display: none;
}

.pcgd-hero__tag {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 9px 17px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, .92);
    color: #334155;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .04);
    font-size: 15px;
    font-weight: 900;
    text-decoration: none;
}

.pcgd-hero__tag:hover {
    border-color: #bfdbfe;
    background: var(--white);
    color: var(--blue);
    transform: translateY(-2px);
}

.pcgd-hero-card {
    position: relative;
    min-width: 0;
    padding: 28px;
    border: 0;
    border-radius: 42px;
    background: rgba(255, 255, 255, .78);
    box-shadow: 0 28px 80px rgba(15, 23, 42, .12);
    overflow: hidden;
}

.pcgd-hero-card::before {
    content: "";
    position: absolute;
    top: -96px;
    right: -78px;
    width: 260px;
    height: 260px;
    border-radius: 999px;
    background: rgba(153, 246, 228, .44);
}

.pcgd-hero-illustration {
    position: relative;
    min-height: 550px;
    padding: 34px;
    border-radius: 32px;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 72%, rgba(254, 240, 138, .58), transparent 30%),
        linear-gradient(135deg, #dbeafe 0%, #99f6e4 100%);
}

.pcgd-hero-student {
    position: absolute;
    left: 50%;
    bottom: 44px;
    width: 310px;
    height: 300px;
    border-radius: 46% 46% 38% 38%;
    background: linear-gradient(180deg, #fff1b8 0%, #fed7aa 100%);
    transform: translateX(-50%);
    box-shadow: inset 0 -12px 0 rgba(245, 158, 11, .12);
}

.pcgd-hero-student::before {
    content: "";
    position: absolute;
    left: 84px;
    top: -92px;
    width: 142px;
    height: 142px;
    border-radius: 999px;
    background: #fdc98a;
    box-shadow: inset 0 -10px 0 rgba(180, 83, 9, .10);
}

.pcgd-hero-student::after {
    content: "";
    position: absolute;
    left: 50px;
    right: 50px;
    bottom: 58px;
    height: 116px;
    border-radius: 28px 28px 38px 38px;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
}

.pcgd-hero-hair {
    position: absolute;
    z-index: 3;
    left: 112px;
    top: 72px;
    width: 210px;
    height: 105px;
    border-radius: 90px 90px 34px 34px;
    background: #172033;
    transform: rotate(-8deg);
}

.pcgd-hero-book {
    position: absolute;
    right: 58px;
    bottom: 118px;
    z-index: 5;
    width: 210px;
    height: 132px;
    border-radius: 18px;
    background: var(--white);
    box-shadow: 0 18px 46px rgba(15, 23, 42, .16);
    transform: rotate(-7deg);
}

.pcgd-hero-book::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 24px;
    bottom: 24px;
    width: 2px;
    background: #e2e8f0;
}

.pcgd-hero-book::after {
    content: "A+";
    position: absolute;
    left: 34px;
    top: 46px;
    color: var(--blue);
    font-size: 34px;
    line-height: 1;
    font-weight: 900;
}

.pcgd-hero__visual-card {
    position: absolute;
    z-index: 6;
    display: grid;
    gap: 5px;
    border-radius: 22px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 18px 42px rgba(15, 23, 42, .13);
    white-space: normal;
}

.pcgd-hero__visual-card strong {
    display: block;
    color: var(--ink);
    font-size: 24px;
    line-height: 1.08;
    font-weight: 900;
}

.pcgd-hero__visual-card span {
    color: #64748b;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 900;
}

.pcgd-hero__visual-card--1 {
    top: 46px;
    left: 28px;
    width: 290px;
    padding: 22px;
}

.pcgd-hero__visual-card--2 {
    top: 102px;
    right: 24px;
    width: 168px;
    padding: 20px;
}

.pcgd-hero__visual-card--3 {
    left: 38px;
    bottom: 40px;
    width: 236px;
    padding: 20px;
}

.pcgd-hero__stats--card {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin: 22px 0 0;
}

.pcgd-hero__stats--card .pcgd-hero__stat {
    min-height: 126px;
    padding: 23px 18px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--white);
    text-align: center;
}

.pcgd-hero__stats--card .pcgd-hero__stat strong {
    display: block;
    color: #020617;
    font-size: 30px;
    line-height: 1.1;
    font-weight: 900;
}

.pcgd-hero__stats--card .pcgd-hero__stat span {
    display: block;
    margin-top: 6px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.25;
    font-weight: 900;
}

/* Compact hero sizing to match the HTML preview height */
.pcgd-hero {
    padding: 42px 0 38px;
}

.pcgd-hero__inner {
    gap: 48px;
}

.pcgd-hero__eyebrow {
    margin-bottom: 18px;
}

.pcgd-hero__title {
    margin-bottom: 20px;
    font-size: clamp(58px, 5.6vw, 84px);
    line-height: .94;
}

.pcgd-hero__desc {
    margin-bottom: 28px;
    font-size: 19px;
    line-height: 1.68;
}

.pcgd-hero .pcgd-search-form__inner {
    max-width: 740px;
    min-height: 76px;
    border-radius: 24px;
}

.pcgd-hero .pcgd-search-form__btn {
    min-height: 56px;
    border-radius: 22px;
}

.pcgd-hero__tag {
    min-height: 40px;
    padding: 8px 15px;
}

.pcgd-hero-card {
    padding: 22px;
    border-radius: 38px;
}

.pcgd-hero-illustration {
    min-height: 420px;
    padding: 28px;
}

.pcgd-hero-student {
    bottom: 34px;
    width: 252px;
    height: 248px;
}

.pcgd-hero-student::before {
    left: 66px;
    top: -74px;
    width: 120px;
    height: 120px;
}

.pcgd-hero-student::after {
    left: 42px;
    right: 42px;
    bottom: 46px;
    height: 94px;
}

.pcgd-hero-hair {
    left: 88px;
    top: 58px;
    width: 176px;
    height: 88px;
}

.pcgd-hero-book {
    right: 46px;
    bottom: 88px;
    width: 168px;
    height: 108px;
}

.pcgd-hero-book::after {
    left: 28px;
    top: 36px;
    font-size: 28px;
}

.pcgd-hero__visual-card strong {
    font-size: 22px;
}

.pcgd-hero__visual-card span {
    font-size: 13px;
}

.pcgd-hero__visual-card--1 {
    top: 34px;
    left: 24px;
    width: 260px;
    padding: 18px;
}

.pcgd-hero__visual-card--2 {
    top: 78px;
    right: 22px;
    width: 150px;
    padding: 17px;
}

.pcgd-hero__visual-card--3 {
    left: 30px;
    bottom: 32px;
    width: 218px;
    padding: 17px;
}

.pcgd-hero__stats--card {
    gap: 16px;
    margin-top: 16px;
}

.pcgd-hero__stats--card .pcgd-hero__stat {
    min-height: 96px;
    padding: 17px 14px;
}

.pcgd-hero__stats--card .pcgd-hero__stat strong {
    font-size: 27px;
}

.pcgd-hero__stats--card .pcgd-hero__stat span {
    font-size: 13px;
}

/* Hero visual composition: match preview object placement */
.pcgd-hero-card {
    justify-self: end;
    width: min(100%, 656px);
    padding: 26px 26px 28px;
    border-radius: 42px;
}

.pcgd-hero-illustration {
    min-height: 500px;
    border-radius: 30px;
    background:
        radial-gradient(circle at 78% 76%, rgba(254, 240, 138, .62), transparent 31%),
        linear-gradient(135deg, #dbeafe 0%, #a7f3d0 100%);
}

.pcgd-hero-student {
    left: 52%;
    bottom: 42px;
    width: 272px;
    height: 278px;
}

.pcgd-hero-student::before {
    left: 74px;
    top: -88px;
    width: 136px;
    height: 136px;
}

.pcgd-hero-student::after {
    left: 45px;
    right: 45px;
    bottom: 54px;
    height: 106px;
    border-radius: 30px 30px 38px 38px;
}

.pcgd-hero-hair {
    z-index: 4;
    left: 118px;
    top: 104px;
    width: 220px;
    height: 88px;
    border-radius: 72px 72px 28px 28px;
    transform: rotate(-8deg);
}

.pcgd-hero-book {
    right: 54px;
    bottom: 104px;
    width: 202px;
    height: 126px;
    border-radius: 18px;
    transform: rotate(-7deg);
}

.pcgd-hero-book::after {
    left: 34px;
    top: 43px;
    font-size: 34px;
}

.pcgd-hero__visual-card {
    z-index: 7;
}

.pcgd-hero__visual-card--1 {
    top: 46px;
    left: 28px;
    width: 276px;
    padding: 20px 22px;
}

.pcgd-hero__visual-card--2 {
    top: 98px;
    right: 28px;
    width: 166px;
    padding: 20px;
}

.pcgd-hero__visual-card--3 {
    left: 36px;
    bottom: 36px;
    width: 238px;
    padding: 19px 22px;
}

.pcgd-hero__visual-card--1 strong,
.pcgd-hero__visual-card--3 strong {
    font-size: 24px;
}

.pcgd-hero__visual-card--2 strong {
    font-size: 27px;
}

.pcgd-hero__stats--card {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 20px;
}

.pcgd-hero__stats--card .pcgd-hero__stat {
    min-height: 112px;
    padding: 22px 16px;
    border-radius: 22px;
}

/* Final hero visual lock: prevent older absolute-card rules from stretching the layout */
.pcgd-hero .pcgd-hero-card {
    width: 656px;
    max-width: 100%;
    padding: 18px 18px 22px;
}

.pcgd-hero .pcgd-hero-illustration {
    height: 410px;
    min-height: 410px;
}

.pcgd-hero .pcgd-hero__visual-card {
    display: block;
    box-sizing: border-box;
    height: auto;
    max-width: none;
    min-height: 0;
    transform: none;
    opacity: 1;
    background: rgba(255, 255, 255, .94);
}

.pcgd-hero .pcgd-hero__visual-card--1 {
    inset: 34px auto auto 26px;
    width: 268px;
    min-height: 82px;
    padding: 16px 20px;
}

.pcgd-hero .pcgd-hero__visual-card--2 {
    inset: 82px 24px auto auto;
    width: 156px;
    min-height: 80px;
    padding: 16px 18px;
}

.pcgd-hero .pcgd-hero__visual-card--3 {
    inset: auto auto 28px 30px;
    width: 226px;
    min-height: 82px;
    padding: 16px 20px;
}

.pcgd-hero .pcgd-hero__visual-card strong {
    margin: 0 0 6px;
}

.pcgd-hero .pcgd-hero__visual-card--2 strong {
    font-size: 25px;
}

.pcgd-hero .pcgd-hero-book {
    z-index: 8;
    opacity: 1;
    background: #fff;
    filter: none;
}

.pcgd-hero .pcgd-hero-book::after {
    opacity: 1;
}

.pcgd-hero .pcgd-hero-student {
    bottom: 28px;
    width: 230px;
    height: 232px;
}

.pcgd-hero .pcgd-hero-student::before {
    left: 62px;
    top: -72px;
    width: 112px;
    height: 112px;
}

.pcgd-hero .pcgd-hero-student::after {
    left: 38px;
    right: 38px;
    bottom: 42px;
    height: 88px;
}

.pcgd-hero .pcgd-hero-hair {
    left: 104px;
    top: 78px;
    width: 190px;
    height: 76px;
}

.pcgd-hero .pcgd-hero-book {
    right: 48px;
    bottom: 78px;
    width: 166px;
    height: 104px;
}

.pcgd-hero__stats--card {
    gap: 14px;
    margin-top: 14px;
}

.pcgd-hero__stats--card .pcgd-hero__stat {
    min-height: 86px;
    padding: 14px 12px;
}

.pcgd-hero__stats--card .pcgd-hero__stat strong {
    font-size: 25px;
}

.pcgd-hero__stats--card .pcgd-hero__stat span {
    font-size: 12px;
}

/* Professional lesson archive */
.pcgd-lesson-archive {
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 34%, #f8fafc 100%);
}

.pcgd-lesson-archive__hero {
    position: relative;
    margin: 0;
    padding: 46px 0 82px;
    border-bottom: 0;
    background:
        radial-gradient(circle at 12% 20%, rgba(37, 99, 235, .16), transparent 32%),
        radial-gradient(circle at 86% 10%, rgba(20, 184, 166, .18), transparent 34%),
        linear-gradient(135deg, #eff6ff 0%, #ecfeff 100%);
    overflow: hidden;
}

.pcgd-lesson-archive__hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 58px;
    background: linear-gradient(180deg, transparent, rgba(248, 250, 252, .92));
    pointer-events: none;
}

.pcgd-lesson-archive__hero .container {
    position: relative;
    z-index: 1;
}

.pcgd-lesson-archive__hero .pcgd-breadcrumb {
    margin-bottom: 26px;
}

.pcgd-lesson-archive__hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 48px;
    align-items: end;
}

.pcgd-archive-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    margin-bottom: 18px;
    padding: 7px 14px;
    border: 1px solid #bfdbfe;
    border-radius: 999px;
    background: rgba(255, 255, 255, .82);
    color: var(--blue);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.pcgd-lesson-archive__hero .pcgd-archive-hero__title {
    max-width: 820px;
    margin: 0;
    color: var(--ink);
    font-size: clamp(42px, 4.2vw, 64px);
    line-height: 1.02;
    letter-spacing: 0;
    font-weight: 900;
}

.pcgd-lesson-archive__hero .pcgd-archive-hero__desc {
    max-width: 760px;
    margin: 20px 0 0;
    color: #475569;
    font-size: 18px;
    line-height: 1.75;
}

.pcgd-lesson-archive__summary {
    display: grid;
    gap: 12px;
}

.pcgd-lesson-archive__summary div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    border: 1px solid rgba(191, 219, 254, .92);
    border-radius: 22px;
    background: rgba(255, 255, 255, .78);
    box-shadow: 0 14px 35px rgba(37, 99, 235, .08);
}

.pcgd-lesson-archive__summary strong {
    color: var(--ink);
    font-size: 30px;
    line-height: 1;
    font-weight: 900;
}

.pcgd-lesson-archive__summary span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 900;
    text-align: right;
}

.pcgd-lesson-archive__body {
    margin-top: -44px;
    padding-bottom: 70px;
    position: relative;
    z-index: 2;
}

.pcgd-lesson-archive__filters {
    padding: 22px;
    border: 1px solid rgba(226, 232, 240, .96);
    border-radius: 28px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 20px 60px rgba(15, 23, 42, .08);
}

.pcgd-lesson-archive__filters .pcgd-filter-form {
    display: grid;
    grid-template-columns: repeat(3, minmax(150px, 1fr)) auto;
    gap: 14px;
    align-items: end;
}

.pcgd-lesson-archive__filters .pcgd-filter-group {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.pcgd-lesson-archive__filters label {
    color: #475569;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.pcgd-lesson-archive__filters select {
    width: 100%;
    min-height: 48px;
    padding: 0 42px 0 14px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background-color: #f8fafc;
    color: var(--ink);
    font-family: inherit;
    font-size: 14px;
    font-weight: 800;
}

.pcgd-lesson-archive__filters select:focus {
    outline: 0;
    border-color: var(--blue);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .10);
}

.pcgd-filter-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.pcgd-filter-actions .btn {
    min-height: 48px;
    white-space: nowrap;
}

.pcgd-lesson-archive__content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 32px;
    align-items: start;
    margin-top: 32px;
}

.pcgd-lesson-archive__toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin: 0 0 20px;
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--white);
}

.pcgd-lesson-archive__toolbar div {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.pcgd-lesson-archive__toolbar strong {
    color: var(--blue);
    font-size: 26px;
    line-height: 1;
    font-weight: 900;
}

.pcgd-lesson-archive__toolbar span {
    color: var(--ink);
    font-weight: 900;
}

.pcgd-lesson-archive__toolbar p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
}

.pcgd-lesson-archive .pcgd-lessons-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.pcgd-lesson-archive .pcgd-lesson-card {
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--white);
    box-shadow: 0 12px 30px rgba(15, 23, 42, .06);
    overflow: hidden;
}

.pcgd-lesson-archive .pcgd-lesson-card:hover {
    border-color: #bfdbfe;
    box-shadow: 0 22px 48px rgba(37, 99, 235, .13);
    transform: translateY(-4px);
}

.pcgd-lesson-archive .pcgd-lesson-card__thumb {
    height: 118px;
    flex: 0 0 118px;
    background: linear-gradient(135deg, #dbeafe, #ccfbf1);
}

.pcgd-lesson-archive .pcgd-lesson-card__emoji-thumb {
    font-size: 42px;
    background:
        radial-gradient(circle at 72% 16%, rgba(255, 255, 255, .75), transparent 28%),
        linear-gradient(135deg, #dbeafe, #99f6e4);
}

.pcgd-lesson-archive .pcgd-lesson-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 16px;
}

.pcgd-lesson-archive .pcgd-lesson-card__meta {
    gap: 6px;
    margin-bottom: 10px;
}

.pcgd-lesson-archive .pcgd-lesson-card__title {
    display: -webkit-box;
    margin: 0 0 8px;
    overflow: hidden;
    font-size: 15.5px;
    line-height: 1.38;
    font-weight: 900;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.pcgd-lesson-archive .pcgd-lesson-card__subtitle {
    display: -webkit-box;
    margin: 0 0 12px;
    overflow: hidden;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.pcgd-lesson-archive .pcgd-lesson-card__foot {
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid #eef2f7;
    color: #64748b;
    font-size: 11.5px;
    font-weight: 800;
}

.pcgd-lesson-archive__sidebar {
    position: sticky;
    top: 104px;
    display: grid;
    gap: 20px;
}

.pcgd-lesson-archive__sidebar .pcgd-sidebar-widget {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--white);
    box-shadow: 0 12px 30px rgba(15, 23, 42, .06);
}

.pcgd-lesson-archive__sidebar .pcgd-sidebar-widget__title {
    margin: 0 0 16px;
    color: var(--ink);
    font-size: 16px;
    line-height: 1.3;
    font-weight: 900;
}

.pcgd-sidebar-list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pcgd-sidebar-list__item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    align-items: start;
    padding: 10px;
    border-radius: 16px;
    background: #f8fafc;
}

.pcgd-sidebar-list__emoji {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 12px;
    background: #e0f2fe;
    font-size: 18px;
}

.pcgd-sidebar-list__item a {
    color: var(--ink);
    font-size: 13.5px;
    line-height: 1.45;
    font-weight: 800;
    text-decoration: none;
}

.pcgd-sidebar-list__item a:hover {
    color: var(--blue);
}

.pcgd-sidebar-terms {
    display: grid;
    gap: 8px;
}

.pcgd-sidebar-term {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 42px;
    padding: 9px 12px;
    border: 1px solid #eef2f7;
    border-radius: 14px;
    background: #f8fafc;
    color: #334155;
    font-size: 14px;
    font-weight: 850;
    text-decoration: none;
}

.pcgd-sidebar-term:hover {
    border-color: #bfdbfe;
    background: #eff6ff;
    color: var(--blue);
}

.pcgd-sidebar-term span {
    color: #64748b;
    font-size: 12px;
    font-weight: 900;
}

/* Lesson single layout repair */
body.single-bai-hoc {
    overflow-x: hidden;
    background: #f8fafc;
}

.single-bai-hoc .pcgd-main {
    overflow: hidden;
    background:
        radial-gradient(circle at 10% 0%, rgba(37, 99, 235, .08), transparent 32%),
        radial-gradient(circle at 90% 4%, rgba(20, 184, 166, .08), transparent 34%),
        #f8fafc;
}

.single-bai-hoc .pcgd-single--lesson {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 32px;
    align-items: start;
    width: 100%;
    max-width: 100%;
    padding: 42px 0 70px;
    margin: 0;
}

.single-bai-hoc .pcgd-single__content-area {
    min-width: 0;
    max-width: 100%;
}

.single-bai-hoc .pcgd-lesson-header {
    margin: 0 0 24px;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 30px;
    background: var(--white);
    box-shadow: 0 16px 42px rgba(15, 23, 42, .06);
}

.single-bai-hoc .pcgd-lesson-header .pcgd-breadcrumb {
    margin-bottom: 18px;
}

.single-bai-hoc .pcgd-lesson-header__meta {
    gap: 8px;
    margin-bottom: 18px;
}

.single-bai-hoc .pcgd-lesson-header__title {
    max-width: 920px;
    margin: 0 0 16px;
    color: var(--ink);
    font-size: clamp(34px, 3.4vw, 52px);
    line-height: 1.08;
    letter-spacing: 0;
    font-weight: 900;
}

.single-bai-hoc .pcgd-lesson-header__subtitle {
    max-width: 860px;
    margin: 0 0 18px;
    color: #475569;
    font-size: 18px;
    line-height: 1.7;
}

.single-bai-hoc .pcgd-lesson-header__info {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: #64748b;
    font-size: 14px;
    font-weight: 800;
}

.single-bai-hoc .pcgd-lesson-header__info span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 12px;
    border-radius: 999px;
    background: #f8fafc;
}

.single-bai-hoc .pcgd-lesson-goal,
.single-bai-hoc .pcgd-single__body,
.single-bai-hoc .pcgd-lesson-exercises,
.single-bai-hoc .pcgd-lesson-answer,
.single-bai-hoc .pcgd-lesson-download,
.single-bai-hoc .pcgd-lesson-cta,
.single-bai-hoc .pcgd-lesson-related {
    max-width: 100%;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: var(--white);
    box-shadow: 0 14px 34px rgba(15, 23, 42, .05);
}

.single-bai-hoc .pcgd-lesson-goal {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 16px;
    margin: 0 0 22px;
    padding: 24px;
    background: linear-gradient(135deg, #eff6ff, #ecfeff);
}

.single-bai-hoc .pcgd-lesson-goal__icon {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 16px;
    background: var(--white);
    font-size: 24px;
}

.single-bai-hoc .pcgd-lesson-goal__title {
    margin: 0 0 8px;
    color: var(--blue);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.single-bai-hoc .pcgd-lesson-goal__text {
    margin: 0;
    color: #334155;
    font-size: 16px;
    line-height: 1.7;
}

.single-bai-hoc .pcgd-single__body {
    padding: 32px;
}

.single-bai-hoc .pcgd-content {
    color: #0f172a;
    font-size: 18px;
    line-height: 1.85;
    overflow-wrap: anywhere;
}

.single-bai-hoc .pcgd-content > *:first-child {
    margin-top: 0;
}

.single-bai-hoc .pcgd-content > *:last-child {
    margin-bottom: 0;
}

.single-bai-hoc .pcgd-content h2 {
    margin: 34px 0 14px;
    color: var(--ink);
    font-size: 27px;
    line-height: 1.25;
    font-weight: 900;
}

.single-bai-hoc .pcgd-content h3 {
    margin: 28px 0 12px;
    color: var(--ink);
    font-size: 22px;
    line-height: 1.3;
    font-weight: 900;
}

.single-bai-hoc .pcgd-content p {
    margin: 0 0 20px;
}

.single-bai-hoc .pcgd-sidebar {
    position: sticky;
    top: 104px;
    display: grid;
    gap: 20px;
    min-width: 0;
    max-width: 100%;
}

.single-bai-hoc .pcgd-sidebar-widget {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: var(--white);
    box-shadow: 0 14px 34px rgba(15, 23, 42, .06);
}

.single-bai-hoc .pcgd-sidebar-widget__title {
    margin: 0 0 18px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.single-bai-hoc .pcgd-sidebar-info {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.single-bai-hoc .pcgd-sidebar-info li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.5;
}

.single-bai-hoc .pcgd-sidebar-info strong {
    color: var(--ink);
}

.single-bai-hoc .pcgd-sidebar-info a {
    color: #64748b;
    text-decoration: none;
}

.single-bai-hoc .pcgd-sidebar-terms {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.single-bai-hoc .pcgd-sidebar-term {
    display: inline-flex;
    min-height: 40px;
    padding: 9px 13px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #f8fafc;
    color: #64748b;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
}

.single-bai-hoc .pcgd-sidebar-term:hover {
    border-color: #bfdbfe;
    background: #eff6ff;
    color: var(--blue);
}

.single-bai-hoc .pcgd-lesson-related {
    margin-top: 28px;
    padding: 28px;
}

.single-bai-hoc .pcgd-lesson-related .pcgd-lessons-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Upgraded lesson reader */
.pcgd-lesson-single {
    overflow: hidden;
    background: #f8fafc;
}

.pcgd-lesson-single__hero {
    padding: 38px 0 76px;
    background:
        radial-gradient(circle at 12% 10%, rgba(37, 99, 235, .14), transparent 32%),
        radial-gradient(circle at 88% 0%, rgba(20, 184, 166, .16), transparent 35%),
        linear-gradient(135deg, #eff6ff 0%, #ecfeff 100%);
}

.pcgd-lesson-single__hero .pcgd-breadcrumb {
    margin-bottom: 22px;
}

.pcgd-lesson-single__hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 270px;
    gap: 34px;
    align-items: end;
}

.pcgd-lesson-single__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.pcgd-lesson-single__title {
    max-width: 940px;
    margin: 0;
    color: var(--ink);
    font-size: clamp(42px, 4.4vw, 68px);
    line-height: 1.02;
    letter-spacing: 0;
    font-weight: 900;
}

.pcgd-lesson-single__subtitle {
    max-width: 850px;
    margin: 20px 0 0;
    color: #475569;
    font-size: 19px;
    line-height: 1.72;
}

.pcgd-lesson-single__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.pcgd-lesson-single__meta span {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 7px 13px;
    border: 1px solid rgba(191, 219, 254, .9);
    border-radius: 999px;
    background: rgba(255, 255, 255, .75);
    color: #475569;
    font-size: 13px;
    font-weight: 900;
}

.pcgd-lesson-single__hero-card {
    display: grid;
    gap: 8px;
    justify-items: start;
    padding: 24px;
    border: 1px solid rgba(191, 219, 254, .9);
    border-radius: 28px;
    background: rgba(255, 255, 255, .82);
    box-shadow: 0 18px 44px rgba(37, 99, 235, .10);
}

.pcgd-lesson-single__emoji {
    display: grid;
    width: 64px;
    height: 64px;
    place-items: center;
    border-radius: 20px;
    background: linear-gradient(135deg, #dbeafe, #99f6e4);
    font-size: 34px;
}

.pcgd-lesson-single__hero-card strong {
    color: var(--ink);
    font-size: 20px;
    line-height: 1.2;
    font-weight: 900;
}

.pcgd-lesson-single__hero-card span {
    color: #64748b;
    font-size: 14px;
    line-height: 1.45;
    font-weight: 800;
}

.pcgd-lesson-single__body {
    margin-top: -44px;
    padding-bottom: 72px;
    position: relative;
    z-index: 2;
}

.pcgd-lesson-single__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 30px;
    align-items: start;
}

.pcgd-lesson-single__article {
    min-width: 0;
    display: grid;
    gap: 22px;
}

.pcgd-lesson-panel,
.pcgd-lesson-answer,
.pcgd-lesson-download,
.pcgd-lesson-cta,
.pcgd-lesson-related {
    border: 1px solid var(--line);
    border-radius: 28px;
    background: var(--white);
    box-shadow: 0 16px 38px rgba(15, 23, 42, .06);
}

.pcgd-lesson-panel {
    padding: 30px;
}

.pcgd-lesson-panel--goal {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 18px;
    background: linear-gradient(135deg, #eff6ff, #ecfeff);
}

.pcgd-lesson-panel__icon {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 16px;
    background: var(--white);
    color: var(--blue);
    font-size: 24px;
    font-weight: 900;
}

.pcgd-lesson-panel h2,
.pcgd-lesson-panel__head strong,
.pcgd-lesson-related__title {
    margin: 0 0 14px;
    color: var(--ink);
    font-size: 24px;
    line-height: 1.28;
    font-weight: 900;
}

.pcgd-lesson-panel__head {
    margin-bottom: 22px;
}

.pcgd-lesson-panel__head span {
    display: block;
    margin-bottom: 6px;
    color: var(--blue);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.pcgd-lesson-panel__head strong {
    display: block;
    margin: 0;
}

.pcgd-lesson-single .pcgd-content {
    color: #172033;
    font-size: 18px;
    line-height: 1.86;
    overflow-wrap: anywhere;
}

.pcgd-lesson-single .pcgd-content > *:first-child {
    margin-top: 0;
}

.pcgd-lesson-single .pcgd-content > *:last-child {
    margin-bottom: 0;
}

.pcgd-lesson-single .pcgd-content h2 {
    margin: 36px 0 14px;
    color: var(--ink);
    font-size: 28px;
    line-height: 1.25;
    font-weight: 900;
}

.pcgd-lesson-single .pcgd-content h3 {
    margin: 28px 0 12px;
    color: var(--ink);
    font-size: 22px;
    line-height: 1.35;
    font-weight: 900;
}

.pcgd-lesson-single .pcgd-content p {
    margin: 0 0 20px;
}

.pcgd-lesson-single__thumb {
    overflow: hidden;
    border-radius: 28px;
    box-shadow: 0 16px 38px rgba(15, 23, 42, .08);
}

.pcgd-lesson-single__thumb img {
    display: block;
    width: 100%;
    height: auto;
}

.pcgd-lesson-answer {
    overflow: hidden;
}

.pcgd-lesson-answer__toggle {
    padding: 22px 28px;
    cursor: pointer;
    color: var(--ink);
    font-size: 18px;
    font-weight: 900;
}

.pcgd-lesson-answer__content {
    padding: 0 28px 28px;
    border-top: 1px solid var(--line);
}

.pcgd-lesson-download,
.pcgd-lesson-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 24px 28px;
}

.pcgd-lesson-download strong,
.pcgd-lesson-cta h2 {
    display: block;
    margin: 0;
    color: var(--ink);
    font-size: 20px;
    font-weight: 900;
}

.pcgd-lesson-download span,
.pcgd-lesson-cta p {
    display: block;
    margin: 6px 0 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.5;
}

.pcgd-lesson-cta {
    background: linear-gradient(135deg, #2563eb, #14b8a6);
}

.pcgd-lesson-cta h2,
.pcgd-lesson-cta p {
    color: var(--white);
}

.pcgd-lesson-related {
    padding: 28px;
}

.pcgd-lesson-related .pcgd-lessons-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pcgd-lesson-single__sidebar {
    position: sticky;
    top: 104px;
    display: grid;
    gap: 18px;
    min-width: 0;
}

.pcgd-lesson-side-card {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: var(--white);
    box-shadow: 0 16px 38px rgba(15, 23, 42, .06);
}

.pcgd-lesson-side-card h2 {
    margin: 0 0 16px;
    color: #64748b;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.pcgd-lesson-side-card--toc {
    display: grid;
    gap: 8px;
}

.pcgd-lesson-side-card--toc a {
    display: flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 11px;
    border-radius: 13px;
    background: #f8fafc;
    color: #334155;
    font-size: 14px;
    font-weight: 850;
    text-decoration: none;
}

.pcgd-lesson-side-card--toc a:hover {
    background: #eff6ff;
    color: var(--blue);
}

.pcgd-lesson-single__sidebar .pcgd-sidebar-info {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pcgd-lesson-single__sidebar .pcgd-sidebar-info li {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.5;
}

.pcgd-lesson-single__sidebar .pcgd-sidebar-info strong {
    color: var(--ink);
    font-weight: 900;
}

.pcgd-lesson-single__sidebar .pcgd-sidebar-info a,
.pcgd-lesson-single__sidebar .pcgd-sidebar-info span {
    color: #64748b;
    text-align: right;
    text-decoration: none;
}

/* Global overflow and mobile-menu hard lock */
html,
body {
    max-width: 100%;
    overflow-x: clip;
}

.pcgd-mobile-menu,
.pcgd-mobile-menu[aria-hidden="true"],
.pcgd-mobile-menu:not(.open) {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.pcgd-mobile-menu:not(.open) .pcgd-mobile-menu__panel,
.pcgd-mobile-menu[aria-hidden="true"] .pcgd-mobile-menu__panel {
    transform: translateX(110%) !important;
}

.pcgd-mobile-menu.open,
.pcgd-mobile-menu[aria-hidden="false"] {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

@media (min-width: 1061px) {
    .pcgd-mobile-menu,
    .pcgd-mobile-menu.open,
    .pcgd-mobile-menu[aria-hidden="false"] {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }

    body.pcgd-menu-open {
        overflow: auto !important;
    }
}

.pcgd-hero__eyebrow {
    display: inline-flex;
    width: auto;
    padding: 8px 13px;
    border: 1px solid #dbeafe;
    border-radius: 999px;
    background: #eef6ff;
    letter-spacing: 0;
    text-transform: none;
}
.pcgd-archive-wrap { max-width: 100%; }
.pcgd-archive__content { display: grid; grid-template-columns: 1fr 280px; gap: 40px; align-items: flex-start; margin-top: 32px; }
.pcgd-archive__main { min-width: 0; }
.pcgd-archive-results { font-size: 14px; color: var(--muted); margin-bottom: 20px; }

/* --- Filter Bar --- */
.pcgd-filter-bar { background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 20px; }
.pcgd-filter-form { display: flex; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.pcgd-filter-group { display: flex; flex-direction: column; gap: 6px; min-width: 150px; }
.pcgd-filter-group label { font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.pcgd-filter-group select { padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 10px; font-size: 14px; font-family: inherit; color: var(--ink); background: #fff; cursor: pointer; }
.pcgd-filter-group select:focus { outline: none; border-color: var(--blue); }

/* --- Sidebar --- */
.pcgd-sidebar { display: flex; flex-direction: column; gap: 24px; position: sticky; top: 88px; }
.pcgd-sidebar-widget { background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 24px; }
.pcgd-sidebar-widget__title { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0 0 16px; }
.pcgd-sidebar-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.pcgd-sidebar-list__item { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; }
.pcgd-sidebar-list__item a { color: var(--ink); text-decoration: none; }
.pcgd-sidebar-list__item a:hover { color: var(--blue); }
.pcgd-sidebar-terms { display: flex; flex-wrap: wrap; gap: 8px; }
.pcgd-sidebar-term { font-size: 12px; padding: 4px 10px; border: 1px solid var(--line); border-radius: 100px; text-decoration: none; color: var(--muted); transition: var(--transition); }
.pcgd-sidebar-term:hover { border-color: var(--blue); color: var(--blue); }
.pcgd-sidebar-info { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.pcgd-sidebar-info li { color: var(--muted); }
.pcgd-sidebar-info strong { color: var(--ink); }

/* --- Lesson Single --- */
.pcgd-single { display: grid; grid-template-columns: 1fr 300px; gap: 48px; align-items: flex-start; padding: 48px 0; }
.pcgd-single__content-area { min-width: 0; }
.pcgd-lesson-header { margin-bottom: 32px; }
.pcgd-lesson-header__meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.pcgd-lesson-header__title { font-size: 2rem; font-weight: 900; margin: 0 0 12px; line-height: 1.25; }
.pcgd-lesson-header__info { display: flex; gap: 20px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.pcgd-lesson-header__subtitle { font-size: 1.1rem; color: var(--muted); margin: 0 0 16px; }
.pcgd-lesson-goal { display: flex; gap: 16px; align-items: flex-start; background: linear-gradient(135deg, #eff6ff, #dbeafe); border-radius: 16px; padding: 24px; margin: 24px 0; }
.pcgd-lesson-goal__icon { font-size: 32px; flex-shrink: 0; }
.pcgd-lesson-goal__title { font-size: 14px; font-weight: 700; margin: 0 0 6px; color: var(--blue); }
.pcgd-lesson-goal__text { font-size: 14px; color: var(--ink-soft); margin: 0; }
.pcgd-single__thumb { border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 32px; }
.pcgd-single__thumb img { width: 100%; height: auto; display: block; }
.pcgd-lesson-video { margin: 32px 0; }
.pcgd-lesson-video h3 { font-size: 16px; font-weight: 700; margin: 0 0 12px; }
.pcgd-lesson-video__embed { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 12px; }
.pcgd-lesson-video__embed iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.pcgd-lesson-exercises { background: var(--soft); border-radius: 16px; padding: 28px; margin: 32px 0; }
.pcgd-lesson-exercises__title { font-size: 16px; font-weight: 700; display: flex; gap: 8px; align-items: center; margin: 0 0 16px; }
.pcgd-lesson-answer { background: #fff; border: 1.5px solid var(--yellow); border-radius: 16px; padding: 0; margin: 24px 0; overflow: hidden; }
.pcgd-lesson-answer__toggle { padding: 20px 24px; font-size: 15px; font-weight: 700; cursor: pointer; display: flex; align-items: center; gap: 10px; list-style: none; }
.pcgd-lesson-answer__toggle::-webkit-details-marker { display: none; }
.pcgd-lesson-answer__content { padding: 0 24px 24px; border-top: 1px solid var(--yellow); }
.pcgd-lesson-download { display: flex; align-items: center; gap: 12px; padding: 20px; background: var(--soft); border-radius: 12px; margin: 24px 0; }
.pcgd-lesson-related { margin: 40px 0 0; }
.pcgd-lesson-related__title { font-size: 18px; font-weight: 700; margin: 0 0 20px; }
.pcgd-lesson-cta { background: linear-gradient(135deg, var(--blue-light), #dbeafe); border-radius: 20px; padding: 36px; text-align: center; margin: 40px 0; }
.pcgd-lesson-cta h3 { font-size: 1.3rem; font-weight: 800; margin: 0 0 8px; }
.pcgd-lesson-cta p { color: var(--muted); margin: 0 0 20px; }

/* --- QA Single --- */
.pcgd-qa__q-prefix { font-size: .9em; }
.pcgd-qa-short-answer { display: flex; gap: 16px; background: linear-gradient(135deg, #f0fdf4, #dcfce7); border-radius: 16px; padding: 24px; margin: 24px 0; }
.pcgd-qa-short-answer__icon { font-size: 32px; flex-shrink: 0; }
.pcgd-qa-short-answer h3 { font-size: 14px; font-weight: 700; color: #16a34a; margin: 0 0 6px; }
.pcgd-qa-short-answer p { font-size: 14px; margin: 0; color: var(--ink-soft); }
.pcgd-qa-detail { margin: 32px 0; }
.pcgd-qa-detail h3 { font-size: 16px; font-weight: 700; margin: 0 0 16px; }
.pcgd-qa-note { display: flex; gap: 12px; background: #fffbeb; border: 1px solid var(--yellow); border-radius: 12px; padding: 16px; margin: 24px 0; font-size: 13px; }
.pcgd-qa-related-lesson { margin: 32px 0; }
.pcgd-qa-related-lesson h3 { font-size: 16px; font-weight: 700; margin: 0 0 16px; }
.pcgd-qa-related-lesson .pcgd-lesson-card { display: flex; flex-direction: row; gap: 16px; align-items: center; padding: 20px; height: auto; text-decoration: none; color: var(--ink); }

/* --- Doc Cards --- */
.pcgd-docs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pcgd-doc-card { background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 24px; display: flex; gap: 16px; align-items: flex-start; transition: var(--transition); }
.pcgd-doc-card:hover { box-shadow: var(--shadow-soft); border-color: var(--blue); }
.pcgd-doc-card__icon { font-size: 40px; flex-shrink: 0; }
.pcgd-doc-card__body { flex: 1; min-width: 0; }
.pcgd-doc-card__meta { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.pcgd-doc-card__title { font-size: 14px; font-weight: 700; margin: 0 0 6px; }
.pcgd-doc-card__title a { color: var(--ink); text-decoration: none; }
.pcgd-doc-card__title a:hover { color: var(--blue); }
.pcgd-doc-card__pages { font-size: 12px; color: var(--muted); display: block; margin-bottom: 12px; }
.pcgd-doc-download { margin: 32px 0; }
.pcgd-doc-download__card { background: var(--soft); border-radius: 16px; padding: 28px; display: flex; align-items: center; gap: 20px; }
.pcgd-doc-download__icon { font-size: 48px; }
.pcgd-doc-download__info { flex: 1; }
.pcgd-doc-download__info strong { display: block; font-size: 15px; font-weight: 700; }
.pcgd-doc-download__info span { font-size: 13px; color: var(--muted); }
.pcgd-doc-preview { margin: 24px 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.pcgd-doc-preview img { width: 100%; height: auto; display: block; }

/* --- Premium Document Archive --- */
.pcgd-doc-archive__hero {
    background:
        radial-gradient(circle at 78% 18%, rgba(20, 184, 166, .20), transparent 28%),
        radial-gradient(circle at 12% 0%, rgba(37, 99, 235, .16), transparent 30%),
        linear-gradient(135deg, #eef6ff 0%, #f8fafc 58%, #ecfeff 100%);
    border-bottom: 1px solid rgba(148, 163, 184, .18);
}

.pcgd-doc-archive__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 8px 13px;
    margin: 12px 0 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .82);
    border: 1px solid rgba(191, 219, 254, .9);
    color: var(--blue);
    font-weight: 800;
    font-size: 13px;
}

.pcgd-doc-archive__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.pcgd-doc-archive__stats span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .78);
    border: 1px solid rgba(226, 232, 240, .95);
    color: #475569;
    font-size: 14px;
    font-weight: 700;
}

.pcgd-doc-archive__stats strong {
    color: var(--ink);
    font-weight: 900;
}

.pcgd-doc-archive__panel {
    margin: -28px 0 30px;
    padding: 24px;
    border-radius: 28px;
    background: rgba(255, 255, 255, .94);
    border: 1px solid rgba(226, 232, 240, .95);
    box-shadow: 0 24px 70px rgba(15, 23, 42, .08);
    position: relative;
    z-index: 2;
}

.pcgd-doc-archive__panel-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.pcgd-doc-archive__panel-head h2 {
    margin: 4px 0 0;
    color: var(--ink);
    font-size: clamp(24px, 3vw, 36px);
    line-height: 1.08;
    font-weight: 900;
}

.pcgd-doc-archive__panel-head p {
    margin: 0;
    color: var(--muted);
    font-weight: 700;
    white-space: nowrap;
}

.pcgd-doc-archive__filters {
    padding: 0;
    border: 0;
    background: transparent;
}

.pcgd-doc-archive__filters .pcgd-filter-form {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
    gap: 14px;
    align-items: end;
}

.pcgd-doc-archive__filters .pcgd-filter-group {
    min-width: 0;
}

.pcgd-doc-archive__filters label {
    color: #334155;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: none;
}

.pcgd-doc-archive__filters select {
    width: 100%;
    min-height: 48px;
    border-radius: 15px;
    border: 1px solid #dbe4f0;
    background-color: #f8fafc;
    color: var(--ink);
    font-weight: 750;
}

.pcgd-doc-archive__filters select:focus {
    background: #fff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .10);
}

.pcgd-doc-archive__filter-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.pcgd-doc-archive__filter-actions .btn {
    min-height: 48px;
    white-space: nowrap;
}

.pcgd-docs-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.pcgd-doc-card {
    min-height: 100%;
    padding: 0;
    gap: 0;
    overflow: hidden;
    border-radius: 26px;
    border: 1px solid #dbe4f0;
    background:
        linear-gradient(180deg, rgba(248, 250, 252, .9), #fff 34%),
        #fff;
    box-shadow: 0 18px 50px rgba(15, 23, 42, .06);
    flex-direction: column;
}

.pcgd-doc-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 26px 70px rgba(37, 99, 235, .14);
    border-color: rgba(37, 99, 235, .32);
}

.pcgd-doc-card__icon {
    width: 100%;
    min-height: 126px;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 70% 22%, rgba(255, 255, 255, .82), transparent 22%),
        linear-gradient(135deg, #bfdbfe, #99f6e4);
}

.pcgd-doc-card__icon span {
    display: grid;
    place-items: center;
    width: 74px;
    height: 74px;
    border-radius: 22px;
    background: rgba(255, 255, 255, .86);
    border: 1px solid rgba(255, 255, 255, .9);
    color: var(--blue);
    font-size: 18px;
    font-weight: 1000;
    box-shadow: 0 18px 38px rgba(15, 23, 42, .12);
}

.pcgd-doc-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 24px;
}

.pcgd-doc-card__meta {
    gap: 8px;
    margin-bottom: 12px;
}

.pcgd-doc-card__title {
    margin: 0 0 10px;
    font-size: 20px;
    line-height: 1.25;
    font-weight: 900;
}

.pcgd-doc-card__excerpt {
    margin: 0 0 18px;
    color: #64748b;
    font-size: 15px;
    line-height: 1.62;
}

.pcgd-doc-card__details {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
}

.pcgd-doc-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.pcgd-doc-card__actions .btn {
    flex: 1 1 auto;
    min-height: 42px;
}

.pcgd-doc-archive__empty {
    grid-column: 1 / -1;
    padding: 54px 24px;
    border-radius: 28px;
    border: 1px dashed #bfdbfe;
    background: linear-gradient(135deg, #eff6ff, #f8fafc);
    text-align: center;
}

.pcgd-doc-archive__empty span {
    display: inline-grid;
    place-items: center;
    width: 70px;
    height: 70px;
    margin-bottom: 16px;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 16px 42px rgba(15, 23, 42, .10);
    font-size: 32px;
}

.pcgd-doc-archive__empty h2 {
    margin: 0 0 8px;
    font-size: 28px;
    font-weight: 900;
}

.pcgd-doc-archive__empty p {
    max-width: 560px;
    margin: 0 auto 22px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.7;
}

@media (max-width: 1100px) {
    .pcgd-doc-archive__filters .pcgd-filter-form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pcgd-doc-archive__filter-actions {
        grid-column: 1 / -1;
    }

    .pcgd-docs-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .pcgd-doc-archive__panel {
        margin-top: -18px;
        padding: 18px;
        border-radius: 22px;
    }

    .pcgd-doc-archive__panel-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .pcgd-doc-archive__panel-head p {
        white-space: normal;
    }

    .pcgd-doc-archive__filters .pcgd-filter-form,
    .pcgd-docs-grid {
        grid-template-columns: 1fr;
    }

    .pcgd-doc-archive__filter-actions,
    .pcgd-doc-card__actions {
        flex-direction: column;
    }

    .pcgd-doc-archive__filter-actions .btn,
    .pcgd-doc-card__actions .btn {
        width: 100%;
    }

    .pcgd-doc-card {
        border-radius: 22px;
    }

    .pcgd-doc-card__icon {
        min-height: 108px;
    }

    .pcgd-doc-card__body {
        padding: 20px;
    }

    .pcgd-doc-card__title {
        font-size: 18px;
    }
}

@media (max-width: 900px) {
    .pcgd-feature-section .pcgd-path-panel,
    .pcgd-path-panel {
        align-self: auto;
        margin-top: 0;
    }
}

/* --- Page Single --- */
.pcgd-page { max-width: 800px; margin: 0 auto; padding: 48px 0; }
.pcgd-page__header { margin-bottom: 32px; }
.pcgd-page__title { font-size: 2rem; font-weight: 900; margin: 8px 0; }
.pcgd-page__thumb { border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 32px; }
.pcgd-page__content { line-height: 1.8; }

/* --- Search Page --- */
.pcgd-search-page { padding: 48px 0; }
.pcgd-search-hero { margin-bottom: 40px; }
.pcgd-search-hero__title { font-size: 1.8rem; font-weight: 900; margin: 0 0 20px; }
.pcgd-search-hero__query { color: var(--blue); }
.pcgd-search-hero__form .pcgd-search-form__inner { max-width: 600px; }
.pcgd-search-hero__suggestions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 16px; font-size: 13px; color: var(--muted); }
.pcgd-search-info { font-size: 14px; color: var(--muted); margin-bottom: 24px; }
.pcgd-search-results { display: flex; flex-direction: column; gap: 20px; }
.pcgd-search-item { background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 24px; display: flex; gap: 16px; align-items: flex-start; transition: var(--transition); }
.pcgd-search-item:hover { box-shadow: var(--shadow-soft); border-color: var(--blue); }
.pcgd-search-item__type { font-size: 12px; font-weight: 700; color: var(--muted); white-space: nowrap; min-width: 90px; padding-top: 3px; }
.pcgd-search-item__body { flex: 1; min-width: 0; }
.pcgd-search-item__meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 8px; }
.pcgd-search-item__date { font-size: 12px; color: var(--muted); }
.pcgd-search-item__title { font-size: 16px; font-weight: 700; margin: 0 0 8px; }
.pcgd-search-item__title a { color: var(--ink); text-decoration: none; }
.pcgd-search-item__title a:hover { color: var(--blue); }
.pcgd-search-item__excerpt { font-size: 13px; color: var(--muted); margin: 0 0 10px; }
.pcgd-search-item__link { font-size: 13px; color: var(--blue); text-decoration: none; font-weight: 600; }
.pcgd-search-empty { text-align: center; padding: 80px 40px; }
.pcgd-search-empty__icon { font-size: 64px; margin-bottom: 20px; }
.pcgd-search-empty h2 { font-size: 1.5rem; margin: 0 0 12px; }
.pcgd-search-empty p { color: var(--muted); margin: 0 0 28px; }
.pcgd-search-empty__suggestions h3 { font-size: 14px; font-weight: 700; margin: 0 0 12px; }
.pcgd-search-empty__tags { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 28px; }
.pcgd-search-empty__links { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* --- 404 --- */
.pcgd-404 { text-align: center; padding: 80px 40px; max-width: 600px; margin: 0 auto; }
.pcgd-404__icon { font-size: 80px; margin-bottom: 20px; }
.pcgd-404__title { font-size: 2rem; font-weight: 900; margin: 0 0 12px; }
.pcgd-404__desc { color: var(--muted); margin: 0 0 28px; }
.pcgd-404__search { display: flex; gap: 12px; justify-content: center; margin-bottom: 24px; }
.pcgd-404__search .pcgd-search-form__input { max-width: 360px; }
.pcgd-404__links { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.pcgd-404__popular h3 { font-size: 14px; font-weight: 700; margin: 0 0 12px; }
.pcgd-404__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.pcgd-404__list a { color: var(--blue); text-decoration: none; font-size: 14px; }

/* --- Path Lessons List --- */
.pcgd-path-lessons { margin: 32px 0; background: var(--soft); border-radius: 16px; padding: 28px; }
.pcgd-path-lessons h3 { font-size: 16px; font-weight: 700; margin: 0 0 16px; }
.pcgd-path-lessons__list { padding-left: 20px; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.pcgd-path-lessons__item { font-size: 14px; }
.pcgd-path-lessons__item a { color: var(--ink); text-decoration: none; }
.pcgd-path-lessons__item a:hover { color: var(--blue); }
.pcgd-path-result { margin: 28px 0; }
.pcgd-path-result h3 { font-size: 16px; font-weight: 700; margin: 0 0 12px; }

/* --- Post-nav --- */
.post-navigation { border-top: 1px solid var(--line); margin: 40px 0 0; padding: 32px 0 0; display: flex; justify-content: space-between; gap: 24px; }
.nav-previous a, .nav-next a { font-size: 14px; color: var(--blue); text-decoration: none; display: flex; flex-direction: column; gap: 4px; }
.nav-next { text-align: right; }
.nav-previous span:first-child, .nav-next span:first-child { font-size: 12px; color: var(--muted); font-weight: 600; }

/* --- Archive post card --- */
.pcgd-archive__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pcgd-archive__header { margin-bottom: 32px; padding: 40px 0 0; }
.pcgd-archive__title { font-size: 2rem; font-weight: 900; margin: 0 0 8px; }
.pcgd-archive__desc { color: var(--muted); }
.pcgd-post-card { background: #fff; border-radius: var(--radius-sm); overflow: hidden; border: 1.5px solid var(--line); transition: var(--transition); }
.pcgd-post-card:hover { box-shadow: var(--shadow-soft); transform: translateY(-4px); }
.pcgd-post-card__thumb { display: block; height: 200px; overflow: hidden; }
.pcgd-post-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.pcgd-post-card__body { padding: 20px; }
.pcgd-post-card__meta { font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.pcgd-post-card__title { font-size: 15px; font-weight: 700; margin: 0 0 10px; }
.pcgd-post-card__title a { color: var(--ink); text-decoration: none; }
.pcgd-post-card__title a:hover { color: var(--blue); }
.pcgd-post-card__excerpt { font-size: 13px; color: var(--muted); }

/* --- Mobile menu panel extra --- */
.pcgd-mobile-nav .menu-item-has-children > a { display: flex; justify-content: space-between; align-items: center; }
.pcgd-mobile-nav .sub-menu { display: none; padding-left: 16px; }
.pcgd-mobile-nav .menu-item-has-children.is-open > .sub-menu { display: block; }
.pcgd-mobile-nav .sub-menu a { font-size: 14px; color: var(--muted); }

/* --- Content richtext --- */
.pcgd-content h2 { font-size: 1.4rem; margin: 2em 0 .8em; }
.pcgd-content h3 { font-size: 1.2rem; margin: 1.8em 0 .6em; }
.pcgd-content p { margin: 0 0 1.2em; }
.pcgd-content ul, .pcgd-content ol { padding-left: 1.5em; margin: 0 0 1.2em; }
.pcgd-content li { margin-bottom: .4em; }
.pcgd-content blockquote { border-left: 4px solid var(--blue); padding: 16px 20px; background: var(--blue-light); border-radius: 0 12px 12px 0; margin: 1.5em 0; }
.pcgd-content img { max-width: 100%; height: auto; border-radius: 10px; }
.pcgd-content table { width: 100%; border-collapse: collapse; margin: 1.5em 0; }
.pcgd-content th, .pcgd-content td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; font-size: 14px; }
.pcgd-content th { background: var(--soft); font-weight: 700; }

/* =========================================================
   SIDEBAR
   ========================================================= */
.pcgd-archive-layout { display: grid; grid-template-columns: 1fr 300px; gap: 40px; padding-top: 32px; padding-bottom: 60px; align-items: start; }
.pcgd-sidebar { display: flex; flex-direction: column; gap: 24px; }
.pcgd-widget { background: #fff; border: 1.5px solid var(--line); border-radius: 16px; padding: 22px; }
.pcgd-widget-title { font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0 0 16px; }

/* Search widget */
.pcgd-search-wrap { display: flex; gap: 0; border: 1.5px solid var(--line); border-radius: 10px; overflow: hidden; }
.pcgd-search-input { flex: 1; border: none; padding: 10px 14px; font-size: 14px; outline: none; background: transparent; }
.pcgd-search-btn { background: var(--blue); color: #fff; border: none; padding: 10px 14px; cursor: pointer; display: flex; align-items: center; }

/* Lesson list widget */
.pcgd-widget-lesson-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.pcgd-wl-link { display: flex; align-items: flex-start; gap: 10px; text-decoration: none; color: inherit; }
.pcgd-wl-emoji { font-size: 22px; flex-shrink: 0; }
.pcgd-wl-info { display: flex; flex-direction: column; gap: 2px; }
.pcgd-wl-title { font-size: 13px; font-weight: 600; color: var(--ink); line-height: 1.4; }
.pcgd-wl-meta { font-size: 11px; color: var(--muted); }
.pcgd-wl-link:hover .pcgd-wl-title { color: var(--blue); }

/* Class grid widget */
.pcgd-widget-class-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.pcgd-widget-class-item { display: flex; align-items: center; justify-content: center; background: var(--soft); border-radius: 8px; padding: 8px 4px; font-size: 12px; font-weight: 700; color: var(--blue); text-decoration: none; transition: var(--transition); }
.pcgd-widget-class-item:hover { background: var(--blue); color: #fff; }

/* Subject list widget */
.pcgd-widget-subject-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.pcgd-widget-subject-link { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 8px; text-decoration: none; font-size: 13px; color: var(--ink); transition: var(--transition); }
.pcgd-widget-subject-link:hover { background: var(--blue-light); color: var(--blue); }

/* QA list widget */
.pcgd-widget-qa-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.pcgd-widget-qa-link { display: flex; align-items: flex-start; gap: 8px; text-decoration: none; font-size: 13px; color: var(--ink); line-height: 1.4; }
.pcgd-wqa-icon { flex-shrink: 0; font-size: 14px; }
.pcgd-widget-qa-link:hover { color: var(--blue); }

/* Taxonomy hero */
.pcgd-tax-hero-inner { display: flex; align-items: center; gap: 24px; }
.pcgd-tax-icon { font-size: 64px; flex-shrink: 0; }

/* FINAL CRITICAL LOCKS - keep these last */
html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
}

.pcgd-mobile-menu[hidden],
.pcgd-mobile-menu[aria-hidden="true"],
.pcgd-mobile-menu:not(.open) {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.pcgd-mobile-menu[hidden] .pcgd-mobile-menu__panel,
.pcgd-mobile-menu[aria-hidden="true"] .pcgd-mobile-menu__panel,
.pcgd-mobile-menu:not(.open) .pcgd-mobile-menu__panel {
    transform: translateX(110%) !important;
}

@media (min-width: 1061px) {
    .pcgd-mobile-menu,
    .pcgd-mobile-menu.open,
    .pcgd-mobile-menu[aria-hidden="false"],
    .pcgd-mobile-menu__overlay,
    .pcgd-mobile-menu__panel {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }

    body.pcgd-menu-open {
        overflow: auto !important;
    }
}

.single-bai-hoc .pcgd-main,
.single-bai-hoc .pcgd-lesson-single,
.single-bai-hoc .pcgd-lesson-single__hero,
.single-bai-hoc .pcgd-lesson-single__body,
.single-bai-hoc .pcgd-footer {
    max-width: 100vw;
    overflow-x: hidden;
}

/* FINAL HEADER + SINGLE LESSON GUARDRAILS */
*,
*::before,
*::after {
    box-sizing: border-box;
}

.pcgd-topbar,
.pcgd-header,
.pcgd-main,
.pcgd-footer {
    width: 100%;
    max-width: 100%;
}

.pcgd-topbar {
    display: block;
    position: relative;
    z-index: 70;
    overflow: hidden;
}

.pcgd-topbar > .container,
.pcgd-header > .container {
    width: min(1180px, calc(100% - 36px)) !important;
    max-width: 1180px !important;
    margin-inline: auto !important;
    padding-inline: 0 !important;
}

.pcgd-header {
    display: block !important;
    position: sticky !important;
    top: var(--wp-admin--admin-bar--height, 0px);
    left: 0 !important;
    right: 0 !important;
    z-index: 80 !important;
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.78);
}

.pcgd-header__inner {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 18px !important;
    width: 100% !important;
    min-height: 76px !important;
    padding: 0 !important;
}

.pcgd-logo {
    flex: 0 0 auto !important;
    min-width: 0;
    max-width: 270px;
    text-decoration: none;
}

.pcgd-nav {
    display: flex !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    position: static !important;
    inset: auto !important;
    justify-content: center !important;
    align-items: center !important;
    overflow: visible !important;
}

.pcgd-nav__menu {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: nowrap !important;
    gap: 4px !important;
    width: auto !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.pcgd-nav__menu > li {
    display: block !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
    padding: 0 !important;
}

.pcgd-nav__menu > li > a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 40px !important;
    padding: 9px 13px !important;
    white-space: nowrap !important;
    border-radius: 999px !important;
}

.pcgd-header__actions {
    display: inline-flex !important;
    flex: 0 0 auto !important;
    align-items: center !important;
    gap: 10px !important;
    min-width: max-content !important;
}

.pcgd-hamburger {
    display: none !important;
    flex: 0 0 auto !important;
}

@media (max-width: 1060px) {
    .pcgd-topbar > .container,
    .pcgd-header > .container {
        width: min(100% - 28px, 1180px) !important;
    }

    .pcgd-header__inner {
        min-height: 66px !important;
    }

    .pcgd-nav,
    .pcgd-header__actions {
        display: none !important;
    }

    .pcgd-hamburger {
        display: inline-flex !important;
    }
}

.single-bai-hoc .pcgd-lesson-single__hero {
    margin: 0 !important;
    padding: 64px 0 54px !important;
    overflow: hidden !important;
}

.single-bai-hoc .pcgd-lesson-single__hero-grid {
    width: min(1180px, calc(100% - 40px)) !important;
    max-width: 1180px !important;
    margin-inline: auto !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 360px !important;
    gap: 34px !important;
    align-items: end !important;
}

.single-bai-hoc .pcgd-lesson-single__intro,
.single-bai-hoc .pcgd-lesson-single__hero-card,
.single-bai-hoc .pcgd-lesson-single__article,
.single-bai-hoc .pcgd-lesson-single__sidebar {
    min-width: 0 !important;
}

.single-bai-hoc .pcgd-lesson-single__title {
    max-width: 840px !important;
    font-size: clamp(42px, 5.2vw, 76px) !important;
    line-height: 0.98 !important;
    letter-spacing: 0 !important;
    margin: 18px 0 22px !important;
}

.single-bai-hoc .pcgd-lesson-single__excerpt {
    max-width: 780px !important;
    font-size: 20px !important;
    line-height: 1.65 !important;
}

.single-bai-hoc .pcgd-lesson-single__layout {
    width: min(1180px, calc(100% - 40px)) !important;
    max-width: 1180px !important;
    margin-inline: auto !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 330px !important;
    gap: 34px !important;
    align-items: start !important;
}

.single-bai-hoc .pcgd-lesson-single__article {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
}

.single-bai-hoc .pcgd-lesson-single__sidebar {
    width: 100% !important;
    max-width: 330px !important;
    overflow: hidden !important;
}

@media (max-width: 1024px) {
    .single-bai-hoc .pcgd-lesson-single__hero-grid,
    .single-bai-hoc .pcgd-lesson-single__layout {
        grid-template-columns: 1fr !important;
    }

    .single-bai-hoc .pcgd-lesson-single__sidebar {
        max-width: 100% !important;
    }
}

@media (max-width: 640px) {
    .single-bai-hoc .pcgd-lesson-single__hero {
        padding: 42px 0 34px !important;
    }

    .single-bai-hoc .pcgd-lesson-single__hero-grid,
    .single-bai-hoc .pcgd-lesson-single__layout {
        width: min(100% - 28px, 1180px) !important;
    }

    .single-bai-hoc .pcgd-lesson-single__title {
        font-size: clamp(34px, 12vw, 46px) !important;
    }

    .single-bai-hoc .pcgd-lesson-single__excerpt {
        font-size: 17px !important;
    }
}

/* SINGLE LESSON PAGE FLOW RESET */
body.single-bai-hoc {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-x: hidden !important;
}

body.single-bai-hoc > .pcgd-topbar,
body.single-bai-hoc > .pcgd-header,
body.single-bai-hoc > .pcgd-main,
body.single-bai-hoc > .pcgd-footer {
    display: block !important;
    float: none !important;
    clear: both !important;
    grid-column: 1 / -1 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    transform: none !important;
}

body.single-bai-hoc > .pcgd-topbar {
    position: relative !important;
    inset: auto !important;
}

body.single-bai-hoc > .pcgd-header {
    position: sticky !important;
    top: var(--wp-admin--admin-bar--height, 0px) !important;
    left: 0 !important;
    right: 0 !important;
}

body.single-bai-hoc > .pcgd-footer {
    position: relative !important;
    inset: auto !important;
    z-index: 1 !important;
}

body.single-bai-hoc .pcgd-main {
    position: relative !important;
    z-index: 2 !important;
}

/* SINGLE LESSON CONTENT CLEANUP */
.single-bai-hoc .pcgd-lesson-panel--content .pcgd-single__body {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.single-bai-hoc .pcgd-lesson-panel--content {
    overflow: hidden;
}

.single-bai-hoc .pcgd-lesson-single__meta {
    margin-bottom: 18px !important;
}

@media (max-width: 640px) {
    .single-bai-hoc .pcgd-lesson-single__body {
        margin-top: 0 !important;
        padding-top: 18px !important;
    }

    .single-bai-hoc .pcgd-lesson-single__layout {
        width: min(100% - 36px, 1180px) !important;
        gap: 20px !important;
    }

    .single-bai-hoc .pcgd-lesson-panel,
    .single-bai-hoc .pcgd-lesson-related,
    .single-bai-hoc .pcgd-lesson-side-card {
        padding: 20px !important;
        border-radius: 22px !important;
    }

    .single-bai-hoc .pcgd-lesson-panel__head {
        margin-bottom: 16px !important;
    }

    .single-bai-hoc .pcgd-lesson-panel__head strong {
        font-size: 23px !important;
        line-height: 1.25 !important;
    }

    .single-bai-hoc .pcgd-lesson-single .pcgd-content,
    .single-bai-hoc .pcgd-content {
        font-size: 16px !important;
        line-height: 1.72 !important;
    }

    .single-bai-hoc .pcgd-content h2 {
        font-size: 23px !important;
        margin: 26px 0 10px !important;
    }

    .single-bai-hoc .pcgd-content p {
        margin-bottom: 16px !important;
    }
}

/* SINGLE LESSON MOBILE WIDE READER */
@media (max-width: 640px) {
    .single-bai-hoc .pcgd-lesson-single__hero-grid,
    .single-bai-hoc .pcgd-lesson-single__layout,
    .single-bai-hoc .pcgd-lesson-single__body > .container,
    .single-bai-hoc .pcgd-lesson-single__hero > .container {
        width: calc(100% - 18px) !important;
        max-width: calc(100% - 18px) !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .single-bai-hoc .pcgd-lesson-panel,
    .single-bai-hoc .pcgd-lesson-related,
    .single-bai-hoc .pcgd-lesson-side-card,
    .single-bai-hoc .pcgd-lesson-cta,
    .single-bai-hoc .pcgd-lesson-answer,
    .single-bai-hoc .pcgd-lesson-download {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
        border-radius: 20px !important;
    }

    .single-bai-hoc .pcgd-lesson-panel--content {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .single-bai-hoc .pcgd-lesson-panel__head strong {
        max-width: 100% !important;
        font-size: 22px !important;
    }
}

/* CPT SINGLE FLOW RESET */
body.single-lo-trinh,
body.single-hoi-dap,
body.single-tai-lieu,
body.single-tin-giao-duc {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-x: hidden !important;
}

body.single-lo-trinh > .pcgd-topbar,
body.single-lo-trinh > .pcgd-header,
body.single-lo-trinh > .pcgd-main,
body.single-lo-trinh > .pcgd-footer,
body.single-hoi-dap > .pcgd-topbar,
body.single-hoi-dap > .pcgd-header,
body.single-hoi-dap > .pcgd-main,
body.single-hoi-dap > .pcgd-footer,
body.single-tai-lieu > .pcgd-topbar,
body.single-tai-lieu > .pcgd-header,
body.single-tai-lieu > .pcgd-main,
body.single-tai-lieu > .pcgd-footer,
body.single-tin-giao-duc > .pcgd-topbar,
body.single-tin-giao-duc > .pcgd-header,
body.single-tin-giao-duc > .pcgd-main,
body.single-tin-giao-duc > .pcgd-footer {
    display: block !important;
    float: none !important;
    clear: both !important;
    grid-column: 1 / -1 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    transform: none !important;
}

body.single-lo-trinh > .pcgd-header,
body.single-hoi-dap > .pcgd-header,
body.single-tai-lieu > .pcgd-header,
body.single-tin-giao-duc > .pcgd-header {
    position: sticky !important;
    top: var(--wp-admin--admin-bar--height, 0px) !important;
    left: 0 !important;
    right: 0 !important;
}

body.single-lo-trinh .pcgd-main,
body.single-hoi-dap .pcgd-main,
body.single-tai-lieu .pcgd-main,
body.single-tin-giao-duc .pcgd-main {
    position: relative !important;
    z-index: 2 !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
}

/* Path single polish */
.single-lo-trinh .pcgd-main {
    background:
        radial-gradient(circle at 10% 0%, rgba(37, 99, 235, .08), transparent 32%),
        radial-gradient(circle at 90% 4%, rgba(20, 184, 166, .1), transparent 34%),
        #f8fafc;
}

.single-lo-trinh .pcgd-main > .container {
    width: min(1180px, calc(100% - 40px)) !important;
    max-width: 1180px !important;
    margin-inline: auto !important;
}

.single-lo-trinh .pcgd-single--path {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 330px !important;
    gap: 34px !important;
    align-items: start !important;
    padding: 56px 0 72px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
}

.single-lo-trinh .pcgd-single__content-area,
.single-lo-trinh .pcgd-sidebar {
    min-width: 0 !important;
    max-width: 100% !important;
}

.single-lo-trinh .pcgd-lesson-header,
.single-lo-trinh .pcgd-lesson-goal,
.single-lo-trinh .pcgd-single__body,
.single-lo-trinh .pcgd-path-lessons,
.single-lo-trinh .pcgd-path-result,
.single-lo-trinh .pcgd-lesson-cta,
.single-lo-trinh .pcgd-sidebar-widget {
    background: #fff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 26px !important;
    box-shadow: 0 22px 60px rgba(15, 23, 42, .07) !important;
}

.single-lo-trinh .pcgd-lesson-header {
    padding: 34px !important;
    margin: 0 0 24px !important;
}

.single-lo-trinh .pcgd-lesson-header__title {
    max-width: 880px !important;
    font-size: clamp(42px, 5vw, 68px) !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
}

.single-lo-trinh .pcgd-lesson-goal,
.single-lo-trinh .pcgd-single__body,
.single-lo-trinh .pcgd-path-lessons,
.single-lo-trinh .pcgd-path-result,
.single-lo-trinh .pcgd-lesson-cta {
    padding: 30px !important;
    margin: 0 0 22px !important;
}

.single-lo-trinh .pcgd-sidebar {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    position: sticky !important;
    top: 118px !important;
}

.single-lo-trinh .pcgd-sidebar-widget {
    padding: 24px !important;
}

@media (max-width: 1024px) {
    .single-lo-trinh .pcgd-single--path {
        grid-template-columns: 1fr !important;
    }

    .single-lo-trinh .pcgd-sidebar {
        position: static !important;
    }
}

@media (max-width: 640px) {
    .single-lo-trinh .pcgd-main > .container {
        width: calc(100% - 18px) !important;
        max-width: calc(100% - 18px) !important;
    }

    .single-lo-trinh .pcgd-single--path {
        padding: 28px 0 48px !important;
        gap: 20px !important;
    }

    .single-lo-trinh .pcgd-lesson-header,
    .single-lo-trinh .pcgd-lesson-goal,
    .single-lo-trinh .pcgd-single__body,
    .single-lo-trinh .pcgd-path-lessons,
    .single-lo-trinh .pcgd-path-result,
    .single-lo-trinh .pcgd-lesson-cta,
    .single-lo-trinh .pcgd-sidebar-widget {
        padding: 18px !important;
        border-radius: 22px !important;
    }

    .single-lo-trinh .pcgd-lesson-header__title {
        font-size: clamp(34px, 11vw, 46px) !important;
    }
}

/* SUBJECT TAXONOMY ARCHIVE */
.pcgd-subject-tax {
    background:
        radial-gradient(circle at 10% 0%, rgba(37, 99, 235, .09), transparent 30%),
        radial-gradient(circle at 92% 4%, rgba(20, 184, 166, .11), transparent 32%),
        #f8fafc;
}

.pcgd-subject-tax__hero {
    padding: 54px 0 32px;
}

.pcgd-subject-tax__hero-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 32px;
    align-items: stretch;
    padding: 42px;
    border: 1px solid rgba(226, 232, 240, .9);
    border-radius: 34px;
    background: rgba(255, 255, 255, .86);
    box-shadow: 0 28px 80px rgba(15, 23, 42, .08);
    backdrop-filter: blur(18px);
}

.pcgd-subject-tax__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    padding: 7px 13px;
    border-radius: 999px;
    background: #eff6ff;
    color: var(--blue);
    font-weight: 900;
    font-size: 13px;
}

.pcgd-subject-tax__copy h1 {
    max-width: 780px;
    margin: 18px 0;
    color: var(--ink);
    font-size: clamp(48px, 6vw, 82px);
    line-height: .98;
    letter-spacing: 0;
}

.pcgd-subject-tax__copy p {
    max-width: 760px;
    margin: 0;
    color: #475569;
    font-size: 18px;
    line-height: 1.75;
}

.pcgd-subject-tax__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.pcgd-subject-tax__stats {
    display: grid;
    gap: 14px;
}

.pcgd-subject-tax__stats > div {
    display: grid;
    align-content: center;
    min-height: 92px;
    padding: 20px;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    background: #fff;
}

.pcgd-subject-tax__stats .pcgd-subject-tax__icon {
    min-height: 112px;
    place-items: center;
    background: linear-gradient(135deg, #dbeafe, #ccfbf1);
    font-size: 58px;
}

.pcgd-subject-tax__stats strong {
    color: var(--ink);
    font-size: 31px;
    line-height: 1;
}

.pcgd-subject-tax__stats span {
    margin-top: 6px;
    color: #64748b;
    font-weight: 800;
    font-size: 13px;
}

.pcgd-subject-tax__body {
    padding: 0 0 72px;
}

.pcgd-subject-tax__filters {
    display: grid;
    grid-template-columns: repeat(3, minmax(150px, 1fr)) auto;
    gap: 14px;
    align-items: end;
    margin-bottom: 28px;
    padding: 20px;
    border: 1px solid #e2e8f0;
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(15, 23, 42, .06);
}

.pcgd-subject-tax__filter {
    display: grid;
    gap: 8px;
}

.pcgd-subject-tax__filter label {
    color: #64748b;
    font-weight: 900;
    font-size: 12px;
    text-transform: uppercase;
}

.pcgd-subject-tax__filter select {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid #dbe3ef;
    border-radius: 15px;
    background: #f8fafc;
    color: var(--ink);
    font-weight: 800;
}

.pcgd-subject-tax__filter-actions {
    display: flex;
    gap: 10px;
}

.pcgd-subject-tax__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 30px;
    align-items: start;
}

.pcgd-subject-tax__main,
.pcgd-subject-tax__sidebar {
    min-width: 0;
}

.pcgd-subject-tax__toolbar {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    margin-bottom: 22px;
    padding: 20px 22px;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    background: #fff;
}

.pcgd-subject-tax__toolbar span {
    display: block;
    color: var(--blue);
    font-weight: 900;
    font-size: 12px;
    text-transform: uppercase;
}

.pcgd-subject-tax__toolbar strong {
    display: block;
    margin-top: 4px;
    color: var(--ink);
    font-size: 22px;
}

.pcgd-subject-tax__toolbar p {
    max-width: 520px;
    margin: 0;
    color: #64748b;
    line-height: 1.6;
}

.pcgd-subject-tax__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 20px !important;
    align-items: stretch;
}

.pcgd-subject-tax__grid .pcgd-lesson-card {
    display: flex !important;
    flex-direction: column !important;
    min-height: 352px !important;
    padding: 20px !important;
    overflow: hidden !important;
    border: 1px solid #dbe5f0 !important;
    border-radius: 26px !important;
    background:
        radial-gradient(circle at 14% 8%, rgba(37, 99, 235, .08), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%) !important;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .06) !important;
}

.pcgd-subject-tax__grid .pcgd-lesson-card:hover {
    transform: translateY(-5px) !important;
    border-color: #bfdbfe !important;
    box-shadow: 0 24px 60px rgba(37, 99, 235, .12) !important;
}

.pcgd-subject-tax__grid .pcgd-lesson-card__thumb {
    display: grid !important;
    place-items: center !important;
    width: 66px !important;
    height: 66px !important;
    flex: 0 0 66px !important;
    margin: 0 0 16px !important;
    border: 1px solid rgba(20, 184, 166, .22) !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    background: linear-gradient(135deg, #dbeafe 0%, #ccfbf1 100%) !important;
    box-shadow: 0 12px 28px rgba(20, 184, 166, .12) !important;
}

.pcgd-subject-tax__grid .pcgd-lesson-card__img,
.pcgd-subject-tax__grid .pcgd-lesson-card__emoji-thumb {
    width: 100% !important;
    height: 100% !important;
}

.pcgd-subject-tax__grid .pcgd-lesson-card__img {
    object-fit: cover !important;
}

.pcgd-subject-tax__grid .pcgd-lesson-card__emoji-thumb {
    display: grid !important;
    place-items: center !important;
    font-size: 30px !important;
    line-height: 1 !important;
    background: transparent !important;
}

.pcgd-subject-tax__grid .pcgd-lesson-card__body {
    display: flex !important;
    flex: 1 1 auto !important;
    flex-direction: column !important;
    min-width: 0 !important;
    padding: 0 !important;
}

.pcgd-subject-tax__grid .pcgd-lesson-card__meta {
    order: -1;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 7px !important;
    margin: 0 0 12px !important;
}

.pcgd-subject-tax__grid .pcgd-badge {
    min-height: 27px !important;
    padding: 6px 10px !important;
    border-radius: 999px !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    line-height: 1.1 !important;
}

.pcgd-subject-tax__grid .pcgd-lesson-card__title {
    margin: 0 0 10px !important;
    font-size: 20px !important;
    line-height: 1.26 !important;
    letter-spacing: 0 !important;
}

.pcgd-subject-tax__grid .pcgd-lesson-card__title a {
    color: #0f172a !important;
}

.pcgd-subject-tax__grid .pcgd-lesson-card__subtitle {
    display: -webkit-box !important;
    margin: 0 0 18px !important;
    overflow: hidden !important;
    color: #64748b !important;
    font-size: 15px !important;
    line-height: 1.65 !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.pcgd-subject-tax__grid .pcgd-lesson-card__foot {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px 14px !important;
    align-items: center !important;
    margin-top: auto !important;
    padding-top: 14px !important;
    border-top: 1px solid #eef2f7 !important;
    color: #64748b !important;
    font-size: 13px !important;
    font-weight: 800 !important;
}

.pcgd-subject-tax__grid .pcgd-lesson-card__date,
.pcgd-subject-tax__grid .pcgd-lesson-card__duration {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
}

.pcgd-subject-tax__sidebar {
    position: sticky;
    top: 106px;
    display: grid;
    gap: 18px;
}

.pcgd-subject-tax__widget {
    padding: 22px;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(15, 23, 42, .055);
}

.pcgd-subject-tax__widget h2 {
    margin: 0 0 16px;
    color: var(--ink);
    font-size: 17px;
    line-height: 1.25;
}

.pcgd-subject-tax__chips,
.pcgd-subject-tax__other {
    display: grid;
    gap: 8px;
}

.pcgd-subject-tax__chips a,
.pcgd-subject-tax__class-grid a,
.pcgd-subject-tax__other a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 42px;
    padding: 10px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #f8fafc;
    color: #334155;
    font-weight: 800;
    text-decoration: none;
}

.pcgd-subject-tax__chips a:hover,
.pcgd-subject-tax__class-grid a:hover,
.pcgd-subject-tax__other a:hover {
    border-color: #bfdbfe;
    background: #eff6ff;
    color: var(--blue);
}

.pcgd-subject-tax__class-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.pcgd-subject-tax__other a {
    justify-content: flex-start;
    gap: 10px;
}

.pcgd-subject-tax__empty {
    border: 1px solid #e2e8f0;
    border-radius: 26px;
    background: #fff;
}

@media (max-width: 1180px) {
    .pcgd-subject-tax__hero-card,
    .pcgd-subject-tax__layout {
        grid-template-columns: 1fr;
    }

    .pcgd-subject-tax__stats {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .pcgd-subject-tax__sidebar {
        position: static;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .pcgd-subject-tax__filters {
        grid-template-columns: 1fr 1fr;
    }

    .pcgd-subject-tax__filter-actions {
        grid-column: 1 / -1;
    }

    .pcgd-subject-tax__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .pcgd-subject-tax__sidebar,
    .pcgd-subject-tax__stats {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .pcgd-subject-tax__hero {
        padding: 34px 0 22px;
    }

    .pcgd-subject-tax__hero .container,
    .pcgd-subject-tax__body .container {
        width: calc(100% - 18px) !important;
    }

    .pcgd-subject-tax__hero-card {
        padding: 20px;
        border-radius: 26px;
    }

    .pcgd-subject-tax__copy h1 {
        font-size: clamp(38px, 14vw, 54px);
    }

    .pcgd-subject-tax__copy p {
        font-size: 16px;
    }

    .pcgd-subject-tax__filters,
    .pcgd-subject-tax__toolbar,
    .pcgd-subject-tax__sidebar,
    .pcgd-subject-tax__stats,
    .pcgd-subject-tax__grid {
        grid-template-columns: 1fr !important;
    }

    .pcgd-subject-tax__toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .pcgd-subject-tax__filter-actions,
    .pcgd-subject-tax__actions {
        flex-direction: column;
    }

    .pcgd-subject-tax__filter-actions .btn,
    .pcgd-subject-tax__actions .btn {
        width: 100%;
        justify-content: center;
    }
}

/* QA ARCHIVE PROFESSIONAL LAYOUT */
.pcgd-qa-archive {
    overflow-x: clip;
    background:
        radial-gradient(circle at 8% 10%, rgba(37, 99, 235, .12), transparent 30%),
        radial-gradient(circle at 92% 14%, rgba(20, 184, 166, .16), transparent 28%),
        linear-gradient(180deg, #f8fbff 0%, #ffffff 46%, #f8fafc 100%);
}

.pcgd-qa-archive__hero {
    padding: 54px 0 28px;
}

.pcgd-qa-archive__hero-card {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
    gap: 34px;
    align-items: center;
    margin-top: 16px;
    padding: 42px;
    border: 1px solid rgba(226, 232, 240, .95);
    border-radius: 34px;
    background: rgba(255, 255, 255, .78);
    box-shadow: 0 28px 70px rgba(15, 23, 42, .08);
    backdrop-filter: blur(16px);
}

.pcgd-qa-archive__copy h1 {
    max-width: 760px;
    margin: 14px 0 16px;
    color: var(--ink);
    font-size: clamp(44px, 5.8vw, 78px);
    line-height: .98;
    letter-spacing: 0;
}

.pcgd-qa-archive__copy p {
    max-width: 760px;
    margin: 0;
    color: #475569;
    font-size: 19px;
    line-height: 1.75;
}

.pcgd-qa-archive__panel {
    position: relative;
    min-height: 300px;
    overflow: hidden;
    border-radius: 30px;
    background:
        radial-gradient(circle at 50% 48%, #fde68a 0 23%, transparent 24%),
        radial-gradient(circle at 50% 53%, rgba(251, 191, 36, .34) 0 34%, transparent 35%),
        linear-gradient(135deg, #dbeafe 0%, #ccfbf1 62%, #fef9c3 100%);
}

.pcgd-qa-archive__panel::before {
    content: "";
    position: absolute;
    inset: 30px 42px auto auto;
    width: 150px;
    height: 68px;
    border-radius: 24px;
    background: #fff;
    transform: rotate(-7deg);
    box-shadow: 0 20px 42px rgba(15, 23, 42, .12);
}

.pcgd-qa-archive__bubble,
.pcgd-qa-archive__mini {
    position: absolute;
    z-index: 1;
    display: grid;
    gap: 4px;
    padding: 18px 20px;
    border: 1px solid rgba(226, 232, 240, .92);
    border-radius: 22px;
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 18px 40px rgba(15, 23, 42, .12);
}

.pcgd-qa-archive__bubble strong,
.pcgd-qa-archive__mini span {
    color: var(--ink);
    font-size: 30px;
    line-height: 1;
    font-weight: 950;
}

.pcgd-qa-archive__bubble span,
.pcgd-qa-archive__mini small {
    color: #64748b;
    font-size: 14px;
    font-weight: 900;
}

.pcgd-qa-archive__bubble--main {
    top: 34px;
    left: 34px;
}

.pcgd-qa-archive__bubble--answer {
    right: 34px;
    bottom: 42px;
    transform: rotate(5deg);
}

.pcgd-qa-archive__mini {
    left: 38px;
    bottom: 34px;
}

.pcgd-qa-archive__body {
    padding: 26px 0 78px;
}

.pcgd-qa-archive__search-card {
    display: grid;
    gap: 16px;
    margin-bottom: 24px;
    padding: 22px;
    border: 1px solid #dbe5f0;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(15, 23, 42, .055);
}

.pcgd-qa-archive__search,
.pcgd-qa-archive__filters {
    display: grid;
    gap: 14px;
}

.pcgd-qa-archive__search {
    grid-template-columns: minmax(0, 1fr) auto;
}

.pcgd-qa-archive__filters {
    grid-template-columns: minmax(180px, 1fr) minmax(180px, 1fr) auto;
    align-items: end;
}

.pcgd-qa-archive__search label,
.pcgd-qa-archive__filters label {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.pcgd-qa-archive__search span,
.pcgd-qa-archive__filters span,
.pcgd-qa-archive__toolbar span {
    color: var(--blue);
    font-size: 12px;
    font-weight: 950;
    line-height: 1;
    text-transform: uppercase;
}

.pcgd-qa-archive__search input,
.pcgd-qa-archive__filters select {
    width: 100%;
    min-height: 54px;
    border: 1px solid #dbe5f0;
    border-radius: 16px;
    background: #f8fafc;
    color: var(--ink);
    font-size: 15px;
    font-weight: 750;
}

.pcgd-qa-archive__search input {
    padding: 0 18px;
}

.pcgd-qa-archive__filters select {
    padding: 0 14px;
}

.pcgd-qa-archive__filter-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.pcgd-qa-archive__toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin: 0 0 22px;
    padding: 20px 22px;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    background: #fff;
}

.pcgd-qa-archive__toolbar strong {
    display: block;
    margin-top: 5px;
    color: var(--ink);
    font-size: 24px;
    line-height: 1.2;
}

.pcgd-qa-archive .pcgd-qa__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 20px !important;
}

.pcgd-qa-archive .pcgd-qa-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 294px;
    padding: 22px;
    overflow: hidden;
    border: 1px solid #dbe5f0;
    border-radius: 26px;
    background:
        radial-gradient(circle at 100% 0%, rgba(20, 184, 166, .1), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 16px 42px rgba(15, 23, 42, .055);
}

.pcgd-qa-archive .pcgd-qa-card:hover {
    transform: translateY(-5px);
    border-color: #99f6e4;
    box-shadow: 0 24px 58px rgba(20, 184, 166, .13);
}

.pcgd-qa-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}

.pcgd-qa-card__mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 15px;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    color: #fff;
    font-size: 22px;
    font-weight: 950;
    box-shadow: 0 14px 26px rgba(37, 99, 235, .2);
}

.pcgd-qa-archive .pcgd-qa-card__meta {
    justify-content: flex-end;
    margin: 0;
}

.pcgd-qa-archive .pcgd-badge {
    min-height: 27px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
}

.pcgd-qa-archive .pcgd-qa-card__question {
    display: block;
    margin: 0 0 12px;
    font-size: 19px;
    font-weight: 950;
    line-height: 1.32;
}

.pcgd-qa-archive .pcgd-qa-card__question a {
    color: var(--ink);
}

.pcgd-qa-archive .pcgd-qa-card__answer {
    display: -webkit-box;
    margin: 0 0 18px;
    overflow: hidden;
    color: #64748b;
    font-size: 15px;
    line-height: 1.65;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.pcgd-qa-archive .pcgd-qa-card__more {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-top: auto;
    color: var(--blue);
    font-size: 14px;
    font-weight: 950;
    text-decoration: none;
}

.pcgd-qa-archive .pcgd-qa-card__more:hover {
    color: var(--cyan);
}

@media (max-width: 1180px) {
    .pcgd-qa-archive__hero-card {
        grid-template-columns: 1fr;
    }

    .pcgd-qa-archive .pcgd-qa__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 820px) {
    .pcgd-qa-archive__search,
    .pcgd-qa-archive__filters {
        grid-template-columns: 1fr;
    }

    .pcgd-qa-archive__filter-actions,
    .pcgd-qa-archive__toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .pcgd-qa-archive__filter-actions .btn,
    .pcgd-qa-archive__toolbar .btn {
        justify-content: center;
        width: 100%;
    }
}

@media (max-width: 640px) {
    .pcgd-qa-archive__hero {
        padding: 34px 0 18px;
    }

    .pcgd-qa-archive__hero .container,
    .pcgd-qa-archive__body .container {
        width: calc(100% - 18px) !important;
    }

    .pcgd-qa-archive__hero-card,
    .pcgd-qa-archive__search-card,
    .pcgd-qa-archive__toolbar,
    .pcgd-qa-archive .pcgd-qa-card {
        border-radius: 22px;
    }

    .pcgd-qa-archive__hero-card {
        padding: 20px;
    }

    .pcgd-qa-archive__copy h1 {
        font-size: clamp(38px, 13vw, 54px);
    }

    .pcgd-qa-archive__panel {
        min-height: 240px;
    }

    .pcgd-qa-archive .pcgd-qa__grid {
        grid-template-columns: 1fr !important;
    }

    .pcgd-qa-archive .pcgd-qa-card {
        min-height: 0;
        padding: 20px;
    }
}

/* QA SINGLE PROFESSIONAL LAYOUT */
.pcgd-qa-single {
    overflow-x: clip;
    background:
        radial-gradient(circle at 8% 0%, rgba(37, 99, 235, .12), transparent 32%),
        radial-gradient(circle at 92% 4%, rgba(20, 184, 166, .16), transparent 30%),
        linear-gradient(180deg, #f8fbff 0%, #ffffff 48%, #f8fafc 100%);
}

.pcgd-qa-single > .container,
.pcgd-qa-single__hero .container,
.pcgd-qa-single__body .container {
    width: min(1180px, calc(100% - 40px)) !important;
    max-width: 1180px !important;
    margin-inline: auto !important;
}

.pcgd-qa-single__hero {
    padding: 48px 0 28px;
}

.pcgd-qa-single__hero-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 28px;
    align-items: stretch;
    margin-top: 16px;
    padding: 38px;
    border: 1px solid #dbe5f0;
    border-radius: 34px;
    background: rgba(255, 255, 255, .82);
    box-shadow: 0 28px 70px rgba(15, 23, 42, .08);
    backdrop-filter: blur(16px);
}

.pcgd-qa-single__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.pcgd-qa-single__copy h1 {
    max-width: 820px;
    margin: 12px 0 18px;
    color: var(--ink);
    font-size: clamp(40px, 5.4vw, 72px);
    line-height: 1.02;
    letter-spacing: 0;
}

.pcgd-qa-single__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pcgd-qa-single__meta span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 12px;
    border: 1px solid #bfdbfe;
    border-radius: 999px;
    background: #eff6ff;
    color: #475569;
    font-size: 13px;
    font-weight: 900;
}

.pcgd-qa-single__ask-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 250px;
    overflow: hidden;
    padding: 28px;
    border-radius: 30px;
    background:
        radial-gradient(circle at 62% 32%, #fde68a 0 22%, transparent 23%),
        linear-gradient(135deg, #dbeafe 0%, #ccfbf1 68%, #fef9c3 100%);
}

.pcgd-qa-single__ask-card::before {
    content: "";
    position: absolute;
    top: 30px;
    right: 30px;
    width: 120px;
    height: 78px;
    border-radius: 24px;
    background: rgba(255, 255, 255, .9);
    transform: rotate(-8deg);
    box-shadow: 0 18px 38px rgba(15, 23, 42, .12);
}

.pcgd-qa-single__ask-card > span {
    position: absolute;
    top: 42px;
    left: 32px;
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    border-radius: 24px;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    color: #fff;
    font-size: 44px;
    font-weight: 950;
    box-shadow: 0 18px 38px rgba(37, 99, 235, .22);
}

.pcgd-qa-single__ask-card strong,
.pcgd-qa-single__ask-card p {
    position: relative;
    z-index: 1;
}

.pcgd-qa-single__ask-card strong {
    color: var(--ink);
    font-size: 24px;
    line-height: 1.15;
}

.pcgd-qa-single__ask-card p {
    margin: 10px 0 0;
    color: #475569;
    font-size: 15px;
    font-weight: 750;
    line-height: 1.55;
}

.pcgd-qa-single__body {
    padding: 22px 0 78px;
}

.pcgd-qa-single__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
    align-items: start;
}

.pcgd-qa-single__content {
    display: grid;
    gap: 22px;
    min-width: 0;
}

.pcgd-qa-single__answer,
.pcgd-qa-single__note,
.pcgd-qa-single__related-lesson,
.pcgd-qa-single__cta,
.pcgd-qa-single__side-card {
    border: 1px solid #dbe5f0;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(15, 23, 42, .055);
}

.pcgd-qa-single__answer {
    padding: 30px;
}

.pcgd-qa-single__answer--short {
    background:
        radial-gradient(circle at 100% 0%, rgba(20, 184, 166, .13), transparent 32%),
        linear-gradient(180deg, #ffffff 0%, #f0fdfa 100%);
}

.pcgd-qa-single__section-head {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 20px;
}

.pcgd-qa-single__section-head > span {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    color: #fff;
    font-size: 22px;
    font-weight: 950;
}

.pcgd-qa-single__section-head strong {
    display: block;
    color: var(--ink);
    font-size: 26px;
    line-height: 1.2;
}

.pcgd-qa-single__section-head p {
    margin: 5px 0 0;
    color: #64748b;
    font-size: 15px;
    line-height: 1.55;
}

.pcgd-qa-single__answer-text,
.pcgd-qa-single__prose {
    color: #0f172a;
    font-size: 18px;
    line-height: 1.85;
}

.pcgd-qa-single__answer-text p,
.pcgd-qa-single__prose p {
    margin: 0 0 18px;
}

.pcgd-qa-single__prose h2,
.pcgd-qa-single__prose h3,
.pcgd-qa-single__prose h4 {
    margin: 28px 0 12px;
    color: var(--ink);
    line-height: 1.2;
}

.pcgd-qa-single__prose ul,
.pcgd-qa-single__prose ol {
    padding-left: 1.3em;
}

.pcgd-qa-single__note {
    padding: 24px 26px;
    background: linear-gradient(135deg, #fffbeb, #fff7ed);
}

.pcgd-qa-single__note strong {
    display: block;
    margin-bottom: 8px;
    color: #b45309;
    font-size: 15px;
    text-transform: uppercase;
}

.pcgd-qa-single__note p,
.pcgd-qa-single__note div {
    margin: 0;
    color: #334155;
    font-size: 16px;
    line-height: 1.7;
}

.pcgd-qa-single__related-lesson {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    padding: 24px;
}

.pcgd-qa-single__lesson-icon {
    display: grid;
    place-items: center;
    width: 68px;
    height: 68px;
    border-radius: 22px;
    background: linear-gradient(135deg, #dbeafe, #ccfbf1);
    font-size: 32px;
}

.pcgd-qa-single__related-lesson strong {
    color: var(--blue);
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
}

.pcgd-qa-single__related-lesson h2 {
    margin: 6px 0 14px;
    color: var(--ink);
    font-size: 24px;
    line-height: 1.25;
}

.pcgd-qa-single__cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 26px;
    background: linear-gradient(135deg, #2563eb, #14b8a6);
}

.pcgd-qa-single__cta strong {
    display: block;
    color: #fff;
    font-size: 26px;
    line-height: 1.2;
}

.pcgd-qa-single__cta p {
    max-width: 620px;
    margin: 8px 0 0;
    color: rgba(255, 255, 255, .86);
    font-size: 15px;
    line-height: 1.6;
}

.pcgd-qa-single__cta .btn {
    flex: 0 0 auto;
    background: #fff;
    color: var(--blue);
}

.pcgd-qa-single__sidebar {
    position: sticky;
    top: 112px;
    display: grid;
    gap: 18px;
    min-width: 0;
}

.pcgd-qa-single__side-card {
    padding: 22px;
}

.pcgd-qa-single__side-card h2 {
    margin: 0 0 16px;
    color: var(--ink);
    font-size: 18px;
    line-height: 1.25;
}

.pcgd-qa-single__side-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pcgd-qa-single__side-card li {
    margin: 0;
}

.pcgd-qa-single__side-card li + li {
    border-top: 1px solid #eef2f7;
}

.pcgd-qa-single__side-card li:not(.pcgd-qa-single__related-list li) {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 0;
}

.pcgd-qa-single__side-card li span {
    color: #64748b;
    font-size: 13px;
    font-weight: 850;
}

.pcgd-qa-single__side-card li strong {
    color: var(--ink);
    font-size: 14px;
    font-weight: 950;
    text-align: right;
}

.pcgd-qa-single__related-list {
    display: grid;
    gap: 10px;
}

.pcgd-qa-single__related-list li + li {
    border-top: 0;
}

.pcgd-qa-single__related-list a {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #f8fafc;
    color: var(--ink);
    text-decoration: none;
}

.pcgd-qa-single__related-list a:hover {
    border-color: #bfdbfe;
    background: #eff6ff;
}

.pcgd-qa-single__related-list a span {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 11px;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    color: #fff;
    font-size: 16px;
    font-weight: 950;
}

.pcgd-qa-single__related-list a strong {
    text-align: left;
    line-height: 1.45;
}

.pcgd-qa-single__empty {
    margin: 0;
    color: #64748b;
    font-size: 14px;
}

@media (max-width: 1080px) {
    .pcgd-qa-single__hero-card,
    .pcgd-qa-single__layout {
        grid-template-columns: 1fr;
    }

    .pcgd-qa-single__sidebar {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .pcgd-qa-single__hero {
        padding: 34px 0 18px;
    }

    .pcgd-qa-single > .container,
    .pcgd-qa-single__hero .container,
    .pcgd-qa-single__body .container {
        width: calc(100% - 18px) !important;
    }

    .pcgd-qa-single__hero-card,
    .pcgd-qa-single__answer,
    .pcgd-qa-single__note,
    .pcgd-qa-single__related-lesson,
    .pcgd-qa-single__cta,
    .pcgd-qa-single__side-card {
        border-radius: 22px;
    }

    .pcgd-qa-single__hero-card,
    .pcgd-qa-single__answer {
        padding: 20px;
    }

    .pcgd-qa-single__copy h1 {
        font-size: clamp(36px, 12vw, 52px);
    }

    .pcgd-qa-single__ask-card {
        min-height: 220px;
        padding: 22px;
    }

    .pcgd-qa-single__answer-text,
    .pcgd-qa-single__prose {
        font-size: 16px;
        line-height: 1.78;
    }

    .pcgd-qa-single__section-head strong,
    .pcgd-qa-single__cta strong {
        font-size: 22px;
    }

    .pcgd-qa-single__related-lesson,
    .pcgd-qa-single__cta {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: flex-start;
    }

    .pcgd-qa-single__cta .btn {
        width: 100%;
        justify-content: center;
    }

    .pcgd-qa-single__sidebar {
        grid-template-columns: 1fr;
    }
}

/* PATH ARCHIVE PREMIUM */
.pcgd-path-archive {
    overflow-x: clip;
    background:
        radial-gradient(circle at 12% 0%, rgba(37, 99, 235, .15), transparent 32%),
        radial-gradient(circle at 90% 12%, rgba(20, 184, 166, .18), transparent 30%),
        linear-gradient(180deg, #f8fbff 0%, #ffffff 44%, #f8fafc 100%);
}

.pcgd-path-archive__hero {
    padding: 54px 0 30px;
}

.pcgd-path-archive__hero-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, .82fr);
    gap: 36px;
    align-items: stretch;
    margin-top: 16px;
    padding: 44px;
    overflow: hidden;
    border: 1px solid rgba(219, 229, 240, .95);
    border-radius: 38px;
    background:
        radial-gradient(circle at 8% 10%, rgba(37, 99, 235, .08), transparent 34%),
        rgba(255, 255, 255, .84);
    box-shadow: 0 30px 80px rgba(15, 23, 42, .09);
    backdrop-filter: blur(16px);
}

.pcgd-path-archive__copy h1 {
    max-width: 830px;
    margin: 14px 0 18px;
    color: var(--ink);
    font-size: clamp(46px, 5.8vw, 82px);
    line-height: .98;
    letter-spacing: 0;
}

.pcgd-path-archive__copy p {
    max-width: 760px;
    margin: 0;
    color: #475569;
    font-size: 19px;
    line-height: 1.75;
}

.pcgd-path-archive__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.pcgd-path-archive__visual {
    position: relative;
    min-height: 340px;
    overflow: hidden;
    border-radius: 32px;
    background:
        radial-gradient(circle at 50% 42%, rgba(251, 191, 36, .88) 0 18%, transparent 19%),
        radial-gradient(circle at 54% 54%, rgba(254, 240, 138, .66) 0 31%, transparent 32%),
        linear-gradient(135deg, #dbeafe 0%, #ccfbf1 62%, #fef9c3 100%);
}

.pcgd-path-archive__visual::before {
    content: "";
    position: absolute;
    inset: 28px 34px auto auto;
    width: 150px;
    height: 82px;
    border-radius: 28px;
    background: rgba(255, 255, 255, .94);
    transform: rotate(-8deg);
    box-shadow: 0 22px 46px rgba(15, 23, 42, .12);
}

.pcgd-path-archive__route-line {
    position: absolute;
    left: 58px;
    top: 88px;
    bottom: 70px;
    width: 6px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--blue), var(--cyan));
    box-shadow: 0 16px 32px rgba(37, 99, 235, .18);
}

.pcgd-path-archive__route-card {
    position: absolute;
    z-index: 1;
    display: grid;
    gap: 4px;
    width: min(250px, calc(100% - 72px));
    padding: 18px 20px;
    border: 1px solid rgba(226, 232, 240, .9);
    border-radius: 23px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 18px 42px rgba(15, 23, 42, .12);
}

.pcgd-path-archive__route-card strong {
    color: var(--ink);
    font-size: 24px;
    line-height: 1.1;
    font-weight: 950;
}

.pcgd-path-archive__route-card span {
    color: #64748b;
    font-size: 14px;
    font-weight: 850;
}

.pcgd-path-archive__route-card--one {
    top: 44px;
    left: 82px;
}

.pcgd-path-archive__route-card--two {
    top: 148px;
    right: 34px;
}

.pcgd-path-archive__route-card--three {
    left: 82px;
    bottom: 42px;
}

.pcgd-path-archive__body {
    padding: 28px 0 80px;
}

.pcgd-path-archive__filters {
    margin-bottom: 24px;
    padding: 22px;
    border: 1px solid #dbe5f0;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(15, 23, 42, .055);
}

.pcgd-path-archive__filters form {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) minmax(180px, 1fr) auto;
    gap: 14px;
    align-items: end;
}

.pcgd-path-archive__filters label {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.pcgd-path-archive__filters span,
.pcgd-path-archive__toolbar span {
    color: var(--blue);
    font-size: 12px;
    font-weight: 950;
    line-height: 1;
    text-transform: uppercase;
}

.pcgd-path-archive__filters select {
    width: 100%;
    min-height: 54px;
    padding: 0 14px;
    border: 1px solid #dbe5f0;
    border-radius: 16px;
    background: #f8fafc;
    color: var(--ink);
    font-size: 15px;
    font-weight: 800;
}

.pcgd-path-archive__filter-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.pcgd-path-archive__toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    margin-bottom: 22px;
    padding: 22px 24px;
    border: 1px solid #e2e8f0;
    border-radius: 26px;
    background: #fff;
}

.pcgd-path-archive__toolbar strong {
    display: block;
    margin-top: 5px;
    color: var(--ink);
    font-size: 25px;
    line-height: 1.2;
}

.pcgd-path-archive__toolbar p {
    max-width: 540px;
    margin: 0;
    color: #64748b;
    font-size: 15px;
    line-height: 1.6;
}

.pcgd-path-archive .pcgd-paths__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 22px !important;
}

.pcgd-path-archive .pcgd-path-card {
    position: relative;
    min-height: 380px;
    padding: 24px;
    overflow: hidden;
    border: 1px solid #dbe5f0;
    border-radius: 30px;
    background:
        radial-gradient(circle at 100% 0%, rgba(20, 184, 166, .12), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 18px 46px rgba(15, 23, 42, .06);
}

.pcgd-path-archive .pcgd-path-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 7px;
    background: linear-gradient(90deg, var(--blue), var(--cyan), var(--yellow));
}

.pcgd-path-archive .pcgd-path-card:hover {
    transform: translateY(-6px);
    border-color: #bfdbfe;
    box-shadow: 0 28px 64px rgba(37, 99, 235, .13);
}

.pcgd-path-archive .pcgd-path-card__head {
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.pcgd-path-archive .pcgd-path-card__icon {
    display: grid;
    place-items: center;
    width: 66px;
    height: 66px;
    flex: 0 0 66px;
    border-radius: 22px;
    background: linear-gradient(135deg, #dbeafe, #ccfbf1);
    font-size: 31px;
    box-shadow: 0 14px 30px rgba(20, 184, 166, .13);
}

.pcgd-path-archive .pcgd-path-card__meta {
    justify-content: flex-end;
    gap: 7px;
}

.pcgd-path-archive .pcgd-badge {
    min-height: 27px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
}

.pcgd-path-archive .pcgd-path-card__title {
    margin: 10px 0 0;
    font-size: 24px;
    line-height: 1.2;
    font-weight: 950;
}

.pcgd-path-archive .pcgd-path-card__title a {
    color: var(--ink);
}

.pcgd-path-archive .pcgd-path-card__goal {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: #64748b;
    font-size: 15px;
    line-height: 1.65;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.pcgd-path-card__progress {
    display: grid;
    gap: 8px;
    margin-top: auto;
}

.pcgd-path-card__progress > span {
    display: block;
    height: 9px;
    overflow: hidden;
    border-radius: 999px;
    background: #e2e8f0;
}

.pcgd-path-card__progress i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--yellow), var(--cyan));
}

.pcgd-path-card__progress small {
    color: #64748b;
    font-size: 12px;
    font-weight: 850;
}

.pcgd-path-archive .pcgd-path-card__info {
    gap: 8px;
    color: #475569;
    font-size: 13px;
    font-weight: 850;
}

.pcgd-path-archive .pcgd-path-card__info span {
    padding: 8px 10px;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    background: #fff;
}

.pcgd-path-archive .pcgd-path-card__cta {
    width: 100%;
    justify-content: center;
    min-height: 46px;
    margin-top: 2px;
}

@media (max-width: 1180px) {
    .pcgd-path-archive__hero-card {
        grid-template-columns: 1fr;
    }

    .pcgd-path-archive .pcgd-paths__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 820px) {
    .pcgd-path-archive__filters form {
        grid-template-columns: 1fr;
    }

    .pcgd-path-archive__filter-actions,
    .pcgd-path-archive__toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .pcgd-path-archive__filter-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .pcgd-path-archive__hero {
        padding: 34px 0 18px;
    }

    .pcgd-path-archive__hero .container,
    .pcgd-path-archive__body .container {
        width: calc(100% - 18px) !important;
    }

    .pcgd-path-archive__hero-card,
    .pcgd-path-archive__filters,
    .pcgd-path-archive__toolbar,
    .pcgd-path-archive .pcgd-path-card {
        border-radius: 23px;
    }

    .pcgd-path-archive__hero-card,
    .pcgd-path-archive .pcgd-path-card {
        padding: 20px;
    }

    .pcgd-path-archive__copy h1 {
        font-size: clamp(38px, 13vw, 56px);
    }

    .pcgd-path-archive__visual {
        min-height: 290px;
    }

    .pcgd-path-archive__route-card {
        width: min(220px, calc(100% - 58px));
    }

    .pcgd-path-archive__route-card--one,
    .pcgd-path-archive__route-card--three {
        left: 64px;
    }

    .pcgd-path-archive .pcgd-paths__grid {
        grid-template-columns: 1fr !important;
    }

    .pcgd-path-archive .pcgd-path-card {
        min-height: 0;
    }
}

/* NEWS ARCHIVE PREMIUM */
.pcgd-news-archive {
    overflow-x: clip;
    background:
        radial-gradient(circle at 10% 0%, rgba(37, 99, 235, .12), transparent 32%),
        radial-gradient(circle at 88% 8%, rgba(20, 184, 166, .16), transparent 30%),
        linear-gradient(180deg, #f8fbff 0%, #ffffff 45%, #f8fafc 100%);
}

.pcgd-news-archive__hero {
    padding: 54px 0 30px;
}

.pcgd-news-archive__hero-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(330px, .72fr);
    gap: 34px;
    align-items: stretch;
    margin-top: 16px;
    padding: 44px;
    border: 1px solid #dbe5f0;
    border-radius: 38px;
    background: rgba(255, 255, 255, .84);
    box-shadow: 0 30px 80px rgba(15, 23, 42, .09);
    backdrop-filter: blur(16px);
}

.pcgd-news-archive__copy h1 {
    max-width: 850px;
    margin: 14px 0 18px;
    color: var(--ink);
    font-size: clamp(46px, 5.6vw, 80px);
    line-height: .98;
    letter-spacing: 0;
}

.pcgd-news-archive__copy p {
    max-width: 800px;
    margin: 0;
    color: #475569;
    font-size: 19px;
    line-height: 1.75;
}

.pcgd-news-archive__panel {
    position: relative;
    min-height: 330px;
    overflow: hidden;
    border-radius: 32px;
    background:
        radial-gradient(circle at 54% 48%, rgba(251, 191, 36, .8) 0 18%, transparent 19%),
        radial-gradient(circle at 52% 58%, rgba(254, 240, 138, .62) 0 34%, transparent 35%),
        linear-gradient(135deg, #dbeafe 0%, #ccfbf1 65%, #fef9c3 100%);
}

.pcgd-news-archive__panel::before {
    content: "";
    position: absolute;
    inset: 34px 36px auto auto;
    width: 130px;
    height: 84px;
    border-radius: 24px;
    background: rgba(255, 255, 255, .92);
    transform: rotate(8deg);
    box-shadow: 0 20px 42px rgba(15, 23, 42, .12);
}

.pcgd-news-archive__paper,
.pcgd-news-archive__ticker {
    position: absolute;
    z-index: 1;
    display: grid;
    gap: 4px;
    padding: 18px 20px;
    border: 1px solid rgba(226, 232, 240, .9);
    border-radius: 23px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 18px 42px rgba(15, 23, 42, .12);
}

.pcgd-news-archive__paper strong,
.pcgd-news-archive__ticker span {
    color: var(--ink);
    font-size: 30px;
    line-height: 1;
    font-weight: 950;
}

.pcgd-news-archive__paper span,
.pcgd-news-archive__ticker small {
    color: #64748b;
    font-size: 14px;
    font-weight: 900;
}

.pcgd-news-archive__paper--main {
    top: 42px;
    left: 34px;
}

.pcgd-news-archive__paper--side {
    right: 34px;
    bottom: 50px;
    transform: rotate(-5deg);
}

.pcgd-news-archive__ticker {
    left: 38px;
    bottom: 42px;
}

.pcgd-news-archive__body {
    padding: 28px 0 80px;
}

.pcgd-news-archive__filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
    padding: 14px;
    border: 1px solid #dbe5f0;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 16px 42px rgba(15, 23, 42, .05);
}

.pcgd-news-archive__filters a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 9px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    background: #f8fafc;
    color: #334155;
    font-size: 14px;
    font-weight: 900;
    text-decoration: none;
}

.pcgd-news-archive__filters a:hover,
.pcgd-news-archive__filters a.is-active {
    border-color: #bfdbfe;
    background: #eff6ff;
    color: var(--blue);
}

.pcgd-news-archive__toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    margin-bottom: 22px;
    padding: 22px 24px;
    border: 1px solid #e2e8f0;
    border-radius: 26px;
    background: #fff;
}

.pcgd-news-archive__toolbar span {
    color: var(--blue);
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
}

.pcgd-news-archive__toolbar strong {
    display: block;
    margin-top: 5px;
    color: var(--ink);
    font-size: 25px;
    line-height: 1.2;
}

.pcgd-news-archive__toolbar p {
    max-width: 560px;
    margin: 0;
    color: #64748b;
    font-size: 15px;
    line-height: 1.6;
}

.pcgd-news-archive .pcgd-news__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 22px !important;
}

.pcgd-news-archive .pcgd-news-card {
    display: flex;
    flex-direction: column;
    min-height: 420px;
    overflow: hidden;
    border: 1px solid #dbe5f0;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 18px 46px rgba(15, 23, 42, .06);
}

.pcgd-news-archive .pcgd-news-card:hover {
    transform: translateY(-6px);
    border-color: #bfdbfe;
    box-shadow: 0 28px 64px rgba(37, 99, 235, .13);
}

.pcgd-news-archive .pcgd-news-card--featured {
    grid-column: span 1;
}

.pcgd-news-archive .pcgd-news-card__thumb {
    height: 210px;
    background: linear-gradient(135deg, #dbeafe, #ccfbf1);
}

.pcgd-news-archive .pcgd-news-card--featured .pcgd-news-card__thumb {
    height: 260px;
}

.pcgd-news-archive .pcgd-news-card__placeholder {
    background:
        radial-gradient(circle at 50% 48%, rgba(255, 255, 255, .9) 0 15%, transparent 16%),
        linear-gradient(135deg, #bfdbfe 0%, #99f6e4 100%);
    font-size: 54px;
}

.pcgd-news-archive .pcgd-news-card__body {
    padding: 22px;
}

.pcgd-news-archive .pcgd-news-card__meta {
    gap: 9px;
    margin-bottom: 13px;
}

.pcgd-news-archive .pcgd-badge {
    min-height: 27px;
    padding: 6px 10px;
    border-radius: 999px;
    color: var(--blue);
    font-size: 11px;
    font-weight: 950;
}

.pcgd-news-archive .pcgd-news-card__date {
    color: #64748b;
    font-size: 13px;
    font-weight: 850;
}

.pcgd-news-archive .pcgd-news-card__title {
    margin: 0 0 10px;
    font-size: 22px;
    line-height: 1.24;
    font-weight: 950;
}

.pcgd-news-archive .pcgd-news-card--featured .pcgd-news-card__title {
    font-size: 28px;
}

.pcgd-news-archive .pcgd-news-card__title a {
    color: var(--ink);
}

.pcgd-news-archive .pcgd-news-card__excerpt {
    display: -webkit-box;
    margin: 0 0 18px;
    overflow: hidden;
    color: #64748b;
    font-size: 15px;
    line-height: 1.65;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.pcgd-news-archive .pcgd-news-card__more {
    display: inline-flex;
    width: fit-content;
    margin-top: auto;
    color: var(--blue);
    font-size: 14px;
    font-weight: 950;
    text-decoration: none;
}

.pcgd-news-archive .pcgd-news-card__more:hover {
    color: var(--cyan);
}

@media (min-width: 1181px) {
    .pcgd-news-archive .pcgd-news-card--featured {
        grid-column: span 1;
    }
}

@media (max-width: 1180px) {
    .pcgd-news-archive__hero-card {
        grid-template-columns: 1fr;
    }

    .pcgd-news-archive .pcgd-news__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 820px) {
    .pcgd-news-archive__toolbar {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .pcgd-news-archive__hero {
        padding: 34px 0 18px;
    }

    .pcgd-news-archive__hero .container,
    .pcgd-news-archive__body .container {
        width: calc(100% - 18px) !important;
    }

    .pcgd-news-archive__hero-card,
    .pcgd-news-archive__filters,
    .pcgd-news-archive__toolbar,
    .pcgd-news-archive .pcgd-news-card {
        border-radius: 23px;
    }

    .pcgd-news-archive__hero-card {
        padding: 20px;
    }

    .pcgd-news-archive__copy h1 {
        font-size: clamp(38px, 13vw, 56px);
    }

    .pcgd-news-archive__panel {
        min-height: 260px;
    }

    .pcgd-news-archive__filters {
        padding: 10px;
    }

    .pcgd-news-archive__filters a {
        flex: 1 1 auto;
        justify-content: center;
    }

    .pcgd-news-archive .pcgd-news__grid {
        grid-template-columns: 1fr !important;
    }

    .pcgd-news-archive .pcgd-news-card {
        min-height: 0;
    }

    .pcgd-news-archive .pcgd-news-card__thumb,
    .pcgd-news-archive .pcgd-news-card--featured .pcgd-news-card__thumb {
        height: 190px;
    }

    .pcgd-news-archive .pcgd-news-card--featured .pcgd-news-card__title,
    .pcgd-news-archive .pcgd-news-card__title {
        font-size: 22px;
    }
}

/* NEWS SINGLE FLOW + PREMIUM ARTICLE */
.pcgd-news-single {
    overflow-x: clip;
    background:
        radial-gradient(circle at 10% 0%, rgba(37, 99, 235, .12), transparent 32%),
        radial-gradient(circle at 92% 6%, rgba(20, 184, 166, .16), transparent 30%),
        linear-gradient(180deg, #f8fbff 0%, #ffffff 46%, #f8fafc 100%);
}

.pcgd-news-single__hero .container,
.pcgd-news-single__body .container {
    width: min(1180px, calc(100% - 40px)) !important;
    max-width: 1180px !important;
    margin-inline: auto !important;
}

.pcgd-news-single__hero {
    padding: 48px 0 28px;
}

.pcgd-news-single__hero-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(330px, .72fr);
    gap: 32px;
    align-items: stretch;
    margin-top: 16px;
    padding: 38px;
    border: 1px solid #dbe5f0;
    border-radius: 36px;
    background: rgba(255, 255, 255, .84);
    box-shadow: 0 30px 80px rgba(15, 23, 42, .09);
    backdrop-filter: blur(16px);
}

.pcgd-news-single__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 16px;
}

.pcgd-news-single__meta span {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 7px 12px;
    border: 1px solid #bfdbfe;
    border-radius: 999px;
    background: #eff6ff;
    color: #2563eb;
    font-size: 12px;
    font-weight: 950;
}

.pcgd-news-single__copy h1 {
    max-width: 820px;
    margin: 0 0 18px;
    color: var(--ink);
    font-size: clamp(42px, 5.3vw, 74px);
    line-height: 1.02;
    letter-spacing: 0;
}

.pcgd-news-single__copy p {
    max-width: 760px;
    margin: 0;
    color: #475569;
    font-size: 19px;
    line-height: 1.75;
}

.pcgd-news-single__visual {
    min-height: 300px;
    overflow: hidden;
    border-radius: 30px;
    background: linear-gradient(135deg, #dbeafe, #ccfbf1 64%, #fef9c3);
}

.pcgd-news-single__image {
    width: 100%;
    height: 100%;
    min-height: 300px;
    object-fit: cover;
    display: block;
}

.pcgd-news-single__placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    min-height: 300px;
    background:
        radial-gradient(circle at 50% 48%, rgba(255, 255, 255, .92) 0 16%, transparent 17%),
        linear-gradient(135deg, #bfdbfe, #99f6e4);
    font-size: 74px;
}

.pcgd-news-single__body {
    padding: 24px 0 82px;
}

.pcgd-news-single__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 30px;
    align-items: start;
}

.pcgd-news-single__article {
    min-width: 0;
    padding: 34px;
    border: 1px solid #dbe5f0;
    border-radius: 30px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(15, 23, 42, .055);
}

.pcgd-news-single__prose {
    color: #0f172a;
    font-size: 18px;
    line-height: 1.85;
}

.pcgd-news-single__prose p {
    margin: 0 0 18px;
}

.pcgd-news-single__prose h2,
.pcgd-news-single__prose h3,
.pcgd-news-single__prose h4 {
    margin: 30px 0 12px;
    color: var(--ink);
    line-height: 1.22;
}

.pcgd-news-single__prose ul,
.pcgd-news-single__prose ol {
    padding-left: 1.3em;
}

.pcgd-news-single__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 26px;
    padding-top: 20px;
    border-top: 1px solid #eef2f7;
}

.pcgd-news-single__tags a {
    display: inline-flex;
    padding: 7px 11px;
    border-radius: 999px;
    background: #eff6ff;
    color: var(--blue);
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
}

.pcgd-news-single__sidebar {
    position: sticky;
    top: 112px;
    display: grid;
    gap: 18px;
    min-width: 0;
}

.pcgd-news-single__side-card {
    padding: 22px;
    border: 1px solid #dbe5f0;
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(15, 23, 42, .055);
}

.pcgd-news-single__side-card h2 {
    margin: 0 0 16px;
    color: var(--ink);
    font-size: 18px;
    line-height: 1.25;
}

.pcgd-news-single__side-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pcgd-news-single__side-card li {
    margin: 0;
}

.pcgd-news-single__side-card li + li {
    border-top: 1px solid #eef2f7;
}

.pcgd-news-single__side-card li:not(.pcgd-news-single__related-list li) {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 0;
}

.pcgd-news-single__side-card li span {
    color: #64748b;
    font-size: 13px;
    font-weight: 850;
}

.pcgd-news-single__side-card li strong {
    color: var(--ink);
    font-size: 14px;
    font-weight: 950;
    text-align: right;
}

.pcgd-news-single__related-list {
    display: grid;
    gap: 10px;
}

.pcgd-news-single__related-list li + li {
    border-top: 0;
}

.pcgd-news-single__related-list a {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #f8fafc;
    color: var(--ink);
    text-decoration: none;
}

.pcgd-news-single__related-list a:hover {
    border-color: #bfdbfe;
    background: #eff6ff;
}

.pcgd-news-single__related-list a span {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: linear-gradient(135deg, #dbeafe, #ccfbf1);
    font-size: 18px;
}

.pcgd-news-single__related-list a strong {
    text-align: left;
    line-height: 1.45;
}

.pcgd-news-single__related {
    margin-top: 34px;
}

.pcgd-news-single__section-head {
    margin-bottom: 18px;
}

.pcgd-news-single__section-head span {
    color: var(--blue);
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
}

.pcgd-news-single__section-head h2 {
    margin: 6px 0 0;
    color: var(--ink);
    font-size: 34px;
    line-height: 1.15;
}

.pcgd-news-single__related .pcgd-news__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 20px !important;
}

@media (max-width: 1080px) {
    .pcgd-news-single__hero-card,
    .pcgd-news-single__layout {
        grid-template-columns: 1fr;
    }

    .pcgd-news-single__sidebar {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .pcgd-news-single__hero {
        padding: 34px 0 18px;
    }

    .pcgd-news-single__hero .container,
    .pcgd-news-single__body .container {
        width: calc(100% - 18px) !important;
    }

    .pcgd-news-single__hero-card,
    .pcgd-news-single__article,
    .pcgd-news-single__side-card {
        border-radius: 23px;
    }

    .pcgd-news-single__hero-card,
    .pcgd-news-single__article {
        padding: 20px;
    }

    .pcgd-news-single__copy h1 {
        font-size: clamp(36px, 12vw, 52px);
    }

    .pcgd-news-single__copy p,
    .pcgd-news-single__prose {
        font-size: 16px;
        line-height: 1.78;
    }

    .pcgd-news-single__visual,
    .pcgd-news-single__image,
    .pcgd-news-single__placeholder {
        min-height: 220px;
    }

    .pcgd-news-single__sidebar,
    .pcgd-news-single__related .pcgd-news__grid {
        grid-template-columns: 1fr !important;
    }
}

/* PREMIUM COMMENT / ANSWER FORM */
.pcgd-comments {
    margin-top: 34px;
    padding: 30px;
    border: 1px solid #dbe5f0;
    border-radius: 30px;
    background:
        radial-gradient(circle at 100% 0%, rgba(20, 184, 166, .1), transparent 32%),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 20px 56px rgba(15, 23, 42, .07);
}

.pcgd-comments__intro {
    margin-bottom: 24px;
}

.pcgd-comments__intro span,
.pcgd-comments__title {
    color: var(--blue);
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
}

.pcgd-comments__intro h2 {
    margin: 8px 0 10px;
    color: var(--ink);
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.12;
    letter-spacing: 0;
}

.pcgd-comments__intro p {
    max-width: 760px;
    margin: 0;
    color: #64748b;
    font-size: 16px;
    line-height: 1.7;
}

.pcgd-comments__list-wrap {
    margin-bottom: 28px;
    padding-bottom: 26px;
    border-bottom: 1px solid #e2e8f0;
}

.pcgd-comments__title {
    margin: 0 0 16px;
}

.pcgd-comment-list {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pcgd-comment-list .comment {
    padding: 18px;
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    background: rgba(255, 255, 255, .78);
}

.pcgd-comment-list .comment-body {
    color: #334155;
    font-size: 15px;
    line-height: 1.7;
}

.pcgd-comment-list .comment-author {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    color: var(--ink);
    font-weight: 900;
}

.pcgd-comment-list .avatar {
    border-radius: 999px;
}

.pcgd-comment-list .comment-meta,
.pcgd-comment-list .reply {
    color: #64748b;
    font-size: 13px;
    font-weight: 800;
}

.pcgd-comment-list a {
    color: var(--blue);
    text-decoration: none;
}

.pcgd-comments__form-card {
    position: relative;
    overflow: hidden;
    padding: 24px;
    border: 1px solid #e2e8f0;
    border-radius: 26px;
    background: #fff;
}

.pcgd-comments__form-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 6px;
    background: linear-gradient(90deg, var(--blue), var(--cyan), var(--yellow));
}

.pcgd-comment-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
}

.pcgd-comment-form .comment-notes {
    display: none;
}

.pcgd-comment-logged-fields {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.pcgd-comment-field,
.pcgd-comment-submit-wrap {
    margin: 0;
}

.pcgd-comment-field--full,
.pcgd-comment-form .comment-form-comment,
.pcgd-comment-form .comment-form-cookies-consent,
.pcgd-comment-submit-wrap {
    grid-column: 1 / -1;
}

.pcgd-comment-field label {
    display: block;
    margin-bottom: 8px;
    color: var(--ink);
    font-size: 13px;
    font-weight: 950;
}

.pcgd-comment-field .required {
    color: #ef4444;
}

.pcgd-comment-field input,
.pcgd-comment-field textarea {
    width: 100%;
    border: 1px solid #dbe5f0;
    border-radius: 16px;
    background: #f8fafc;
    color: #0f172a;
    font-size: 15px;
    font-weight: 750;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.pcgd-comment-field input {
    min-height: 54px;
    padding: 0 16px;
}

.pcgd-comment-field textarea {
    min-height: 150px;
    padding: 14px 16px;
    resize: vertical;
}

.pcgd-comment-field input:focus,
.pcgd-comment-field textarea:focus {
    border-color: #93c5fd;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .1);
}

.pcgd-comment-form .comment-form-cookies-consent {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: #64748b;
    font-size: 14px;
    line-height: 1.5;
}

.pcgd-comment-form .comment-form-cookies-consent input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
}

.pcgd-comment-submit-wrap {
    display: flex;
    justify-content: flex-end;
    padding-top: 4px;
}

.pcgd-comment-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 26px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--blue), #4f46e5);
    color: #fff;
    font-size: 15px;
    font-weight: 950;
    cursor: pointer;
    box-shadow: 0 16px 32px rgba(37, 99, 235, .22);
    transition: transform .2s ease, box-shadow .2s ease;
}

.pcgd-comment-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 42px rgba(37, 99, 235, .3);
}

.pcgd-comments__closed {
    margin: 0;
    padding: 18px;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    background: #f8fafc;
    color: #64748b;
    font-weight: 850;
}

@media (max-width: 720px) {
    .pcgd-comments {
        margin-top: 24px;
        padding: 18px;
        border-radius: 24px;
    }

    .pcgd-comments__form-card {
        padding: 18px;
        border-radius: 20px;
    }

    .pcgd-comment-form {
        grid-template-columns: 1fr;
    }

    .pcgd-comment-logged-fields {
        grid-template-columns: 1fr;
    }

    .pcgd-comment-submit-wrap,
    .pcgd-comment-submit {
        width: 100%;
    }
}

/* GLOBAL FLOW GUARD
   Prevent body/template class collisions from turning the whole page into a grid. */
html body {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-x: hidden !important;
}

body > .pcgd-topbar,
body > .pcgd-header,
body > .pcgd-main,
body > .pcgd-footer,
body > #wpadminbar ~ .pcgd-topbar,
body > #wpadminbar ~ .pcgd-header,
body > #wpadminbar ~ .pcgd-main,
body > #wpadminbar ~ .pcgd-footer {
    display: block !important;
    float: none !important;
    clear: both !important;
    grid-column: 1 / -1 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    transform: none !important;
}

body > .pcgd-main,
body > #wpadminbar ~ .pcgd-main {
    position: relative !important;
    z-index: 1 !important;
    overflow-x: clip !important;
}

body > .pcgd-header,
body > #wpadminbar ~ .pcgd-header {
    z-index: 1000 !important;
}

.pcgd-main .container,
.pcgd-main [class*="__layout"],
.pcgd-main [class*="__content"],
.pcgd-main article,
.pcgd-main aside {
    min-width: 0;
}

/* STATIC PAGES: POLICY + FEEDBACK */
.pcgd-static-page {
    overflow-x: clip;
    background:
        radial-gradient(circle at 10% 0%, rgba(37, 99, 235, .12), transparent 32%),
        radial-gradient(circle at 92% 6%, rgba(20, 184, 166, .14), transparent 30%),
        linear-gradient(180deg, #f8fbff 0%, #ffffff 48%, #f8fafc 100%);
}

.pcgd-static-page__hero {
    padding: 52px 0 28px;
}

.pcgd-static-page__hero .container,
.pcgd-static-page__body .container {
    width: min(1180px, calc(100% - 40px)) !important;
    max-width: 1180px !important;
    margin-inline: auto !important;
}

.pcgd-static-page__hero-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 30px;
    align-items: stretch;
    margin-top: 16px;
    padding: 42px;
    border: 1px solid #dbe5f0;
    border-radius: 36px;
    background: rgba(255, 255, 255, .86);
    box-shadow: 0 30px 80px rgba(15, 23, 42, .09);
    backdrop-filter: blur(16px);
}

.pcgd-static-page__hero-card h1 {
    max-width: 780px;
    margin: 14px 0 16px;
    color: var(--ink);
    font-size: clamp(42px, 5.4vw, 74px);
    line-height: 1.02;
    letter-spacing: 0;
}

.pcgd-static-page__hero-card p {
    max-width: 780px;
    margin: 0;
    color: #475569;
    font-size: 19px;
    line-height: 1.75;
}

.pcgd-static-page__visual {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 230px;
    padding: 26px;
    border-radius: 30px;
    background:
        radial-gradient(circle at 72% 28%, rgba(251, 191, 36, .78) 0 18%, transparent 19%),
        linear-gradient(135deg, #dbeafe 0%, #ccfbf1 68%, #fef9c3 100%);
}

.pcgd-static-page__visual strong {
    color: var(--ink);
    font-size: 34px;
    line-height: 1;
    font-weight: 950;
}

.pcgd-static-page__visual span {
    margin-top: 8px;
    color: #475569;
    font-size: 15px;
    font-weight: 900;
}

.pcgd-static-page__body {
    padding: 28px 0 82px;
}

.pcgd-static-page__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.pcgd-static-card,
.pcgd-feedback-form-card,
.pcgd-static-cta {
    border: 1px solid #dbe5f0;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(15, 23, 42, .055);
}

.pcgd-static-card {
    padding: 26px;
}

.pcgd-static-card--wide {
    grid-column: 1 / -1;
    background:
        radial-gradient(circle at 100% 0%, rgba(20, 184, 166, .1), transparent 32%),
        #fff;
}

.pcgd-static-card > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 16px;
    border-radius: 15px;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    color: #fff;
    font-size: 14px;
    font-weight: 950;
}

.pcgd-static-card h2 {
    margin: 0 0 12px;
    color: var(--ink);
    font-size: 24px;
    line-height: 1.2;
}

.pcgd-static-card p {
    margin: 0;
    color: #475569;
    font-size: 16px;
    line-height: 1.75;
}

.pcgd-static-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    margin-top: 22px;
    padding: 28px;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
}

.pcgd-static-cta strong {
    display: block;
    color: #fff;
    font-size: 26px;
    line-height: 1.2;
}

.pcgd-static-cta p {
    margin: 8px 0 0;
    color: rgba(255, 255, 255, .86);
    font-size: 15px;
    line-height: 1.6;
}

.pcgd-static-cta .btn {
    flex: 0 0 auto;
    background: #fff;
    color: var(--blue);
}

.pcgd-feedback-layout {
    display: grid;
    grid-template-columns: minmax(0, .88fr) minmax(420px, 1.12fr);
    gap: 24px;
    align-items: start;
}

.pcgd-feedback-info {
    display: grid;
    gap: 18px;
}

.pcgd-feedback-form-card {
    position: sticky;
    top: 112px;
    overflow: hidden;
    padding: 26px;
}

.pcgd-feedback-form-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 7px;
    background: linear-gradient(90deg, var(--blue), var(--cyan), var(--yellow));
}

.pcgd-feedback-notice {
    margin-bottom: 16px;
    padding: 13px 14px;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 900;
}

.pcgd-feedback-notice--success {
    border: 1px solid #bbf7d0;
    background: #f0fdf4;
    color: #166534;
}

.pcgd-feedback-notice--error {
    border: 1px solid #fecaca;
    background: #fef2f2;
    color: #991b1b;
}

.pcgd-feedback-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.pcgd-feedback-form p {
    margin: 0;
}

.pcgd-feedback-form__full,
.pcgd-feedback-form__submit {
    grid-column: 1 / -1;
}

.pcgd-feedback-form label {
    display: block;
    margin-bottom: 8px;
    color: var(--ink);
    font-size: 13px;
    font-weight: 950;
}

.pcgd-feedback-form label span {
    color: #ef4444;
}

.pcgd-feedback-form input,
.pcgd-feedback-form textarea {
    width: 100%;
    border: 1px solid #dbe5f0;
    border-radius: 16px;
    background: #f8fafc;
    color: #0f172a;
    font-size: 15px;
    font-weight: 750;
    outline: none;
}

.pcgd-feedback-form input {
    min-height: 54px;
    padding: 0 16px;
}

.pcgd-feedback-form textarea {
    min-height: 160px;
    padding: 14px 16px;
    resize: vertical;
}

.pcgd-feedback-form input:focus,
.pcgd-feedback-form textarea:focus {
    border-color: #93c5fd;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .1);
}

.pcgd-feedback-form__submit {
    display: flex;
    justify-content: flex-end;
}

.pcgd-feedback-form button {
    min-height: 54px;
    padding: 0 28px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--blue), #4f46e5);
    color: #fff;
    font-size: 15px;
    font-weight: 950;
    cursor: pointer;
    box-shadow: 0 16px 32px rgba(37, 99, 235, .22);
}

@media (max-width: 980px) {
    .pcgd-static-page__hero-card,
    .pcgd-feedback-layout {
        grid-template-columns: 1fr;
    }

    .pcgd-feedback-form-card {
        position: static;
    }
}

@media (max-width: 640px) {
    .pcgd-static-page__hero {
        padding: 34px 0 18px;
    }

    .pcgd-static-page__hero .container,
    .pcgd-static-page__body .container {
        width: calc(100% - 18px) !important;
    }

    .pcgd-static-page__hero-card,
    .pcgd-static-card,
    .pcgd-feedback-form-card,
    .pcgd-static-cta {
        border-radius: 23px;
    }

    .pcgd-static-page__hero-card,
    .pcgd-static-card,
    .pcgd-feedback-form-card,
    .pcgd-static-cta {
        padding: 20px;
    }

    .pcgd-static-page__hero-card h1 {
        font-size: clamp(36px, 12vw, 52px);
    }

    .pcgd-static-page__grid,
    .pcgd-feedback-form {
        grid-template-columns: 1fr;
    }

    .pcgd-static-cta {
        align-items: flex-start;
        flex-direction: column;
    }

    .pcgd-static-cta .btn,
    .pcgd-feedback-form button {
        width: 100%;
        justify-content: center;
    }
}
