/* Reduce bullet list indent on mobile screens */
@media (max-width: 768px) {
    .entry-content ul, 
    .entry-content ol {
        margin-left: 1.2em; 
    }
}

/* Box Style Button for PhysicsGurukul */
.pg-box-btn {
  background-color: #FFD700; /* Yellow Background */
  color: #000000 !important; /* Black Text */
  border: 2px solid #000000; /* Solid Black Border */
  padding: 15px 30px;        /* Big clickable area */
  text-align: center;
  text-decoration: none !important;
  display: inline-block;
  font-size: 18px;
  font-weight: 800;          /* Extra Bold */
  text-transform: uppercase; /* All Caps looks more like a button */
  border-radius: 0px;        /* 0px makes it a sharp BOX */
  transition: all 0.2s ease-in-out;
}

/* Hover Effect */
.pg-box-btn:hover {
  background-color: #008000; /* Turns Green */
  color: #FFFFFF !important; /* Text turns White */
  border-color: #000000;
  box-shadow: 5px 5px 0px rgba(0,0,0,0.2); /* Adds a 3D shadow on hover */
}



/* ==============================
   SCROLLABLE TABLES ON MOBILE
   ============================== */
.entry-content table {
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
  white-space: nowrap;
}

/* ==============================
   SCROLLABLE MATHJAX BLOCK/DISPLAY EQUATIONS ONLY
   ============================== */

/* MathJax v3 - Block equations only */
mjx-container[display="true"] {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
  display: block;
  padding-bottom: 5px;
}

/* MathJax v2 - Block equations only */
.MathJax_Display {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
  padding-bottom: 5px;
}

/* ==============================
   GENERAL SAFETY NET
   ============================== */
.entry-content {
  overflow-x: hidden;
}

.entry-content img {
  max-width: 100%;
  height: auto;
}

/* =================================================================
   PHYSICSGURUKUL — CATEGORY / ARCHIVE PAGE CSS
   Paste into: Appearance → Customize → Additional CSS → Publish
   Works with GeneratePress theme
   ================================================================= */

/* --- GOOGLE FONTS --- */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@600;700;800;900&display=swap');

/* ----------------------------------------------------------------
   1. HERO HEADER — category title banner
   ---------------------------------------------------------------- */
.archive .page-header,
.category .page-header,
.tag .page-header {
  background: linear-gradient(135deg, #1a237e 0%, #1565c0 100%) !important;
  padding: 36px 32px 32px !important;
  margin-bottom: 32px !important;
  border-radius: 12px !important;
  position: relative !important;
  overflow: hidden !important;
  width: 100% !important;
}

.archive .page-header .page-title,
.category .page-header .page-title,
.tag .page-header .page-title {
  font-family: 'Nunito', sans-serif !important;
  font-size: 28px !important;
  font-weight: 900 !important;
  color: #ffffff !important;
  margin: 0 !important;
  line-height: 1.3 !important;
  text-shadow: 0 2px 6px rgba(0,0,0,0.25) !important;
}

.archive .archive-description,
.category .archive-description,
.tag .archive-description {
  color: #c5d3ff !important;
  margin-top: 8px !important;
  font-size: 16px !important;
}

/* ----------------------------------------------------------------
   2. BACKGROUND
   ---------------------------------------------------------------- */
.archive #page,
.category #page,
.tag #page {
  background: #f5f7fa !important;
}

.archive #primary,
.category #primary,
.tag #primary {
  background: transparent !important;
}

/* ----------------------------------------------------------------
   3. POST GRID — flex layout, correct for GeneratePress
   ---------------------------------------------------------------- */

.archive .site-main,
.category .site-main,
.tag .site-main {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 20px !important;
  align-items: flex-start !important;
  padding: 0 !important;
  background: transparent !important;
}

/* Page header — force full width inside the flex container */
.archive .site-main > .page-header,
.category .site-main > .page-header,
.tag .site-main > .page-header {
  width: 100% !important;
  flex: 0 0 100% !important;
}

/* Pagination — force full width */
.archive .site-main > .pagination,
.category .site-main > .pagination,
.tag .site-main > .pagination,
.archive .site-main > nav,
.category .site-main > nav,
.tag .site-main > nav {
  width: 100% !important;
  flex: 0 0 100% !important;
}

/* Each article card — 3 column grid */
.archive .site-main > article,
.category .site-main > article,
.tag .site-main > article {
  flex: 1 1 calc(33.333% - 14px) !important;
  min-width: 280px !important;
  max-width: calc(33.333% - 14px) !important;
  background: #ffffff !important;
  border: 1px solid #e0e4ee !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  transition: box-shadow 0.25s, transform 0.25s !important;
  border-top: 4px solid #1a237e !important;
}

.archive .site-main > article:hover,
.category .site-main > article:hover,
.tag .site-main > article:hover {
  box-shadow: 0 8px 28px rgba(26,35,126,0.15) !important;
  transform: translateY(-3px) !important;
}

/* ----------------------------------------------------------------
   4. POST TITLE
   ---------------------------------------------------------------- */
.archive .entry-header,
.category .entry-header,
.tag .entry-header {
  padding: 18px 20px 18px !important;
  flex: 1 !important;
}

.archive .entry-title,
.category .entry-title,
.tag .entry-title {
  font-family: 'Nunito', sans-serif !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1.45 !important;
  margin: 0 0 8px !important;
}

.archive .entry-title a,
.category .entry-title a,
.tag .entry-title a {
  color: #1a237e !important;
  text-decoration: none !important;
  display: flex !important;
  align-items: flex-start !important;
  gap: 8px !important;
}

.archive .entry-title a::before,
.category .entry-title a::before,
.tag .entry-title a::before {
  content: '›' !important;
  color: #e53935 !important;
  font-size: 22px !important;
  line-height: 1.2 !important;
  flex-shrink: 0 !important;
  font-weight: 900 !important;
}

.archive .entry-title a:hover,
.category .entry-title a:hover,
.tag .entry-title a:hover {
  color: #e53935 !important;
}

/* ----------------------------------------------------------------
   5. META — hidden for clean title-only cards
   ---------------------------------------------------------------- */
.archive .entry-meta,
.category .entry-meta,
.tag .entry-meta {
  display: none !important;
}

/* ----------------------------------------------------------------
   6. EXCERPT — hidden for clean title-only cards
   ---------------------------------------------------------------- */
.archive .entry-summary,
.category .entry-summary,
.tag .entry-summary {
  display: none !important;
}

/* ----------------------------------------------------------------
   7. READ MORE — hidden, title itself is the link
   ---------------------------------------------------------------- */
.archive .more-link,
.category .more-link,
.tag .more-link {
  display: none !important;
}

/* ----------------------------------------------------------------
   8. ENTRY FOOTER — fully hidden for clean title-only cards
   ---------------------------------------------------------------- */
.archive .entry-footer,
.category .entry-footer,
.tag .entry-footer {
  display: none !important;
}

/* ----------------------------------------------------------------
   9. PAGINATION
   ---------------------------------------------------------------- */
.archive .pagination .nav-links,
.category .pagination .nav-links,
.tag .pagination .nav-links {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 6px !important;
  flex-wrap: wrap !important;
}

.archive .page-numbers,
.category .page-numbers,
.tag .page-numbers {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 38px !important;
  height: 38px !important;
  padding: 0 12px !important;
  border-radius: 8px !important;
  font-family: 'Nunito', sans-serif !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  border: 2px solid #e0e4ee !important;
  background: #fff !important;
  color: #1a237e !important;
  text-decoration: none !important;
  transition: all 0.2s !important;
}

.archive .page-numbers.current,
.category .page-numbers.current,
.tag .page-numbers.current,
.archive .page-numbers:hover,
.category .page-numbers:hover,
.tag .page-numbers:hover {
  background: #1a237e !important;
  border-color: #1a237e !important;
  color: #ffffff !important;
}

/* ----------------------------------------------------------------
   10. RESPONSIVE
   ---------------------------------------------------------------- */
@media (max-width: 900px) {
  .archive .site-main > article,
  .category .site-main > article,
  .tag .site-main > article {
    flex: 1 1 calc(50% - 10px) !important;
    max-width: calc(50% - 10px) !important;
  }
}

@media (max-width: 600px) {
  .archive .site-main > article,
  .category .site-main > article,
  .tag .site-main > article {
    flex: 1 1 100% !important;
    max-width: 100% !important;
  }

  .archive .site-main,
  .category .site-main,
  .tag .site-main {
    gap: 14px !important;
  }

  .archive .page-header .page-title,
  .category .page-header .page-title,
  .tag .page-header .page-title {
    font-size: 22px !important;
  }

  .archive .page-header,
  .category .page-header,
  .tag .page-header {
    padding: 22px 18px 20px !important;
    border-radius: 8px !important;
  }
}

/* =================================================================
   END — PHYSICSGURUKUL ARCHIVE/CATEGORY CSS
   ================================================================= */


/* --- Chapter Listing Global Styles --- */
.c8m-wrap { 
  margin: 4px 0 28px; 
  padding: 3px 6px 3px 2px; 
}

.c8m-list { 
  list-style: none; 
  margin: 0; 
  padding: 0; 
  display: flex; 
  flex-direction: column; 
  gap: 7px; 
}

.c8m-list a { 
  font-family: 'Gentium Book Basic', serif; /* Your preferred body font */
  display: flex; 
  align-items: center; 
  gap: 14px; 
  padding: 13px 16px 13px 0; 
  background: #fff; 
  border: 1.5px solid #e8eef6; 
  border-left: 4px solid var(--accent); 
  border-radius: 10px; 
  text-decoration: none; 
  transition: all 0.15s ease; 
  color: inherit; 
}

.c8m-list a:hover { 
  border-color: var(--accent); 
  box-shadow: 0 3px 14px rgba(0,0,0,0.09); 
  background: var(--accent-bg); 
  text-decoration: none; 
}

.c8m-num { 
  font-size: 1.05rem; 
  font-weight: 700; 
  color: var(--accent); 
  background: var(--accent-bg); 
  border-radius: 6px; 
  padding: 4px 8px; 
  min-width: 44px; 
  text-align: center; 
  flex-shrink: 0; 
  margin-left: 14px; 
}

.c8m-title { 
  font-size: 1.15rem; 
  font-weight: 700; 
  color: #1e293b; 
  flex: 1; 
  line-height: 1.4; 
}

.c8m-arrow { 
  font-size: 1rem; 
  color: #cbd5e1; 
  flex-shrink: 0; 
  margin-right: 4px; 
  transition: all 0.15s ease; 
}

.c8m-list a:hover .c8m-arrow { 
  color: var(--accent); 
  transform: translateX(3px); 
}

/* Optional: If you want a specific heading above the list */
.c8m-heading {
  font-family: 'Lora', serif; /* Your preferred heading font */
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #0f172a;
}

/* ── INTRO CSS ── */
#xc8 .intro-box {
  background: #fff;
  border: 1px solid var(--border);
  border-left: 4px solid var(--maroon);
  border-radius: 12px;
  padding: 24px 28px;
  font-family: 'Gentium Book Basic', serif;
  font-size: 20px;
  line-height: 1.85;
  box-shadow: 0 1px 8px rgba(78,15,28,0.07);
}
#xc8 .intro-box strong { color: var(--maroon-dark); }
#xc8 .curiosity-note {
  display: flex; align-items: flex-start; gap: 8px;
  background: var(--gold-light);
  border: 1px solid var(--gold-border);
  border-radius: 8px;
  padding: 10px 14px;
  font-family: 'Gentium Book Basic', serif;
  font-size: 18px;
  margin-top: 14px;
}

@media (max-width: 600px) {
  #xc8 .intro-box { font-size: 18px; }
  #xc8 .curiosity-note { font-size: 16px; }
}

/* ══════════════════════════════════════
   PG WRAP — SHARED UTILITIES
══════════════════════════════════════ */
.pg-wrap .gap { height: 44px; }
.pg-wrap a { text-decoration: none !important; box-shadow: none !important; }
.pg-wrap h2.pg-title {
  text-align: center;
  border: none;
  padding: 0;
  margin-bottom: 16px;
  background: none;
  font-family: 'Lora', serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--maroon-dark);
}

/* ══════════════════════════════════════
   CLASS NAV PILLS — Maroon
══════════════════════════════════════ */
.pg-wrap .class-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 30px;
}
.pg-wrap .class-pill {
  padding: 9px 22px;
  border-radius: 100px;
  font-family: 'Lora', serif;
  font-size: 15px;
  font-weight: 700;
  border: 2px solid var(--border);
  color: var(--maroon);
  background: #fff;
  transition: all 0.2s;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}
.pg-wrap .class-pill:hover {
  border-color: var(--maroon);
  background: var(--maroon-pale);
  color: var(--maroon-dark);
}
.pg-wrap .class-pill.on {
  background: var(--maroon);
  color: #fff;
  border-color: var(--maroon);
  box-shadow: 0 3px 12px rgba(78,15,28,0.2);
}

/* ══════════════════════════════════════
   SUBJECT NAV PILLS — Gold
══════════════════════════════════════ */
.pg-wrap .subject-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 24px;
}
.pg-wrap .subject-pill {
  padding: 7px 18px;
  border-radius: 100px;
  font-family: 'Gentium Book Basic', serif;
  font-size: 15px;
  font-weight: 700;
  border: 1.5px solid var(--gold-border);
  color: #7a4800;
  background: var(--gold-light);
  transition: all 0.2s;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}
.pg-wrap .subject-pill:hover {
  border-color: var(--gold);
  background: #faebd0;
  color: #5a3000;
}
.pg-wrap .subject-pill.on {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
  box-shadow: 0 3px 10px rgba(200,144,42,0.25);
}

@media (max-width: 600px) {
  .pg-wrap .class-pill { font-size: 14px; padding: 8px 16px; }
  .pg-wrap .subject-pill { font-size: 14px; padding: 6px 14px; }
}



@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;600&display=swap');

/* ══════════════════════════════════════
   PHYSICSGURUKUL — CSS VARIABLES
══════════════════════════════════════ */
:root {
  --maroon:        #7a1c2e;
  --maroon-dark:   #4e0f1c;
  --maroon-mid:    #9e2840;
  --maroon-pale:   #fdf5f5;
  --gold:          #c8902a;
  --gold-light:    #fdf6e8;
  --gold-border:   #e8c87a;
  --border:        #e8d0d4;
  --sage:          #2d6e4e;
  --sage-light:    #eaf7f0;
  --sage-border:   #a8d8c0;
  --code-bg:       #2a0a10;
  --code-text:     #ffcdd5;
  --blue:          #1a4a8a;
  --blue-light:    #eef3ff;
  --blue-border:   #b0c8f0;
}

/* ══════════════════════════════════════
   KEY CONCEPTS BOX
══════════════════════════════════════ */
.pg-key-concepts {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 32px rgba(78,15,28,0.15);
  font-family: 'Gentium Book Basic', serif;
  background: #fff;
  margin: 28px 0;
}
.pg-kc-header {
  background: linear-gradient(135deg, var(--maroon-dark) 0%, var(--maroon) 60%, var(--maroon-mid) 100%);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  overflow: hidden;
}
.pg-kc-header::before {
  content: '';
  position: absolute;
  right: -30px; top: -30px;
  width: 120px; height: 120px;
  border: 2px solid rgba(200,144,42,0.2);
  border-radius: 50%;
}
.pg-kc-header::after {
  content: '';
  position: absolute;
  right: 10px; top: 10px;
  width: 70px; height: 70px;
  border: 1.5px solid rgba(200,144,42,0.15);
  border-radius: 50%;
}
.pg-kc-icon {
  width: 40px; height: 40px;
  background: var(--gold);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  position: relative; z-index: 1;
}
.pg-kc-header-text { position: relative; z-index: 1; }
.pg-kc-header-text h2 {
  font-family: 'Lora', serif;
  font-weight: 700;
  font-size: 22px;
  color: #fff;
  margin: 0;
}
.pg-kc-header-text p {
  font-family: 'Gentium Book Basic', serif;
  font-size: 13px;
  font-style: italic;
  color: rgba(255,220,200,0.85);
  margin: 3px 0 0 0;
}
.pg-kc-chapter-tag {
  margin-left: auto;
  background: rgba(200,144,42,0.22);
  border: 1px solid rgba(200,144,42,0.45);
  color: #ffd890;
  font-family: 'Lora', serif;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 13px;
  border-radius: 20px;
  white-space: nowrap;
  position: relative; z-index: 1;
}
.pg-concept-row {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 0 18px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}
.pg-concept-row:last-of-type { border-bottom: none; }
.pg-concept-row:hover { background: var(--maroon-pale); }
.pg-concept-num {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--maroon-dark), var(--maroon));
  color: #fff;
  font-family: 'Lora', serif;
  font-weight: 700;
  font-size: 15px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  box-shadow: 0 2px 8px rgba(78,15,28,0.25);
}
.pg-concept-term {
  font-family: 'Lora', serif;
  font-weight: 700;
  font-size: 17px;
  color: var(--maroon-dark);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  line-height: 1.4;
}
.pg-formula-badge {
  font-family: 'Gentium Book Basic', serif;
  font-size: 11px;
  font-weight: 700;
  background: var(--gold-light);
  color: #7a4800;
  border: 1px solid var(--gold-border);
  padding: 1px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.pg-concept-def {
  font-family: 'Gentium Book Basic', serif;
  font-size: 18px;
  line-height: 1.8;
  color: #2e1a1e;
}
.pg-concept-def strong { color: var(--maroon); font-weight: 700; }
.pg-concept-formula {
  margin-top: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 17px;
  background: var(--code-bg);
  color: var(--code-text);
  padding: 10px 16px;
  border-radius: 8px;
  display: inline-block;
  border-left: 3px solid var(--gold);
  line-height: 1.6;
}
.pg-kc-footer {
  background: var(--gold-light);
  border-top: 2px solid var(--gold-border);
  padding: 14px 24px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.pg-kc-footer-icon { font-size: 18px; flex-shrink: 0; margin-top: 2px; }
.pg-kc-footer p {
  font-family: 'Gentium Book Basic', serif;
  font-size: 17px;
  color: #5a3800;
  line-height: 1.7;
  margin: 0;
}
.pg-kc-footer strong {
  font-family: 'Lora', serif;
  color: #3e2400;
  font-weight: 700;
}

/* ══════════════════════════════════════
   SHARED BASE — ALL QUESTION TYPES
══════════════════════════════════════ */
.pg-qblock {
  width: 100%;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 32px rgba(78,15,28,0.13);
  border: 1px solid var(--border);
  margin: 32px 0;
}
.pg-qblock-header {
  background: linear-gradient(135deg, var(--maroon-dark) 0%, var(--maroon) 60%, var(--maroon-mid) 100%);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  overflow: hidden;
}
.pg-qblock-header::before {
  content: '';
  position: absolute;
  right: -30px; top: -30px;
  width: 120px; height: 120px;
  border: 2px solid rgba(200,144,42,0.18);
  border-radius: 50%;
}
.pg-qblock-num {
  width: 44px; height: 44px;
  background: var(--gold);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Lora', serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--maroon-dark);
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  position: relative; z-index: 1;
}
.pg-qblock-header-text { position: relative; z-index: 1; }
.pg-qblock-header-text h3 {
  font-family: 'Lora', serif;
  font-weight: 700;
  font-size: 17px;
  color: #fff;
  margin: 0 0 2px 0;
  line-height: 1.3;
}
.pg-qblock-header-text span {
  font-family: 'Gentium Book Basic', serif;
  font-size: 13px;
  font-style: italic;
  color: rgba(255,210,190,0.85);
}
.pg-qblock-tag {
  margin-left: auto;
  background: rgba(200,144,42,0.22);
  border: 1px solid rgba(200,144,42,0.45);
  color: #ffd890;
  font-family: 'Lora', serif;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  white-space: nowrap;
  position: relative; z-index: 1;
}
.pg-question {
  padding: 20px 26px;
  border-bottom: 1px solid var(--border);
}
.pg-question:last-child { border-bottom: none; }
.pg-q-text {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
}
.pg-q-num {
  font-family: 'Lora', serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--maroon);
  background: var(--maroon-pale);
  border: 1.5px solid var(--border);
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.pg-q-stem {
  font-family: 'Gentium Book Basic', serif;
  font-size: 17px;
  line-height: 1.75;
  color: #1e1012;
  flex: 1;
}
.pg-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
  padding-left: 40px;
}
.pg-option {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background: #fdfbfb;
  font-size: 16px;
  line-height: 1.5;
  color: #2a1518;
  font-family: 'Gentium Book Basic', serif;
  transition: border-color 0.18s, background 0.18s;
}
.pg-option-letter {
  font-family: 'Lora', serif;
  font-weight: 700;
  font-size: 13px;
  color: var(--maroon);
  background: var(--maroon-pale);
  border: 1px solid var(--border);
  width: 24px; height: 24px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.pg-answer-toggle {
  margin-left: 40px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: 1.5px solid var(--maroon);
  color: var(--maroon);
  font-family: 'Lora', serif;
  font-weight: 600;
  font-size: 14px;
  padding: 8px 18px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}
.pg-answer-toggle:hover,
.pg-answer-toggle.open {
  background: var(--maroon);
  color: #fff;
}
.pg-answer-toggle .toggle-icon {
  font-size: 16px;
  transition: transform 0.25s;
  display: inline-block;
}
.pg-answer-toggle.open .toggle-icon {
  transform: rotate(180deg);
}
.pg-answer-panel {
  margin-left: 40px;
  margin-top: 12px;
  border-radius: 10px;
  overflow: hidden;
  border: 1.5px solid var(--sage-border);
  display: none;
}
.pg-answer-panel.visible {
  display: block;
  animation: pgSlideDown 0.22s ease;
}
@keyframes pgSlideDown {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.pg-answer-correct {
  background: var(--sage-light);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--sage-border);
}
.pg-answer-correct .correct-label {
  font-family: 'Lora', serif;
  font-weight: 700;
  font-size: 13px;
  color: var(--sage);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.pg-answer-correct .correct-value {
  font-family: 'Lora', serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--sage);
  background: #fff;
  border: 1.5px solid var(--sage-border);
  padding: 2px 12px;
  border-radius: 6px;
}
.pg-answer-correct .tick { margin-left: auto; font-size: 18px; }
.pg-answer-explanation {
  background: #fff;
  padding: 14px 16px;
}
.pg-answer-explanation .exp-label {
  font-family: 'Lora', serif;
  font-weight: 700;
  font-size: 13px;
  color: var(--maroon-dark);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 7px;
  display: block;
}
.pg-answer-explanation p {
  font-family: 'Gentium Book Basic', serif;
  font-size: 16px;
  line-height: 1.78;
  color: #2a1518;
  margin: 0;
}
.pg-answer-explanation p + p { margin-top: 10px; }
.pg-answer-explanation p strong { color: var(--maroon); }
.exp-formula {
  margin-top: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  background: var(--code-bg);
  color: var(--code-text);
  padding: 8px 14px;
  border-radius: 6px;
  display: inline-block;
  border-left: 3px solid var(--gold);
}

.pg-answer-toggle {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  cursor: pointer;
}

/* ══════════════════════════════════════
   CASE STUDY ADDITION
══════════════════════════════════════ */
.pg-cs-passage {
  padding: 22px 26px;
  border-bottom: 2px dashed var(--border);
  background: #fffaf8;
  position: relative;
}
.pg-cs-passage::before {
  content: '"';
  position: absolute;
  top: 10px; left: 18px;
  font-size: 60px;
  color: var(--border);
  font-family: 'Lora', serif;
  line-height: 1;
  pointer-events: none;
}
.pg-cs-passage p {
  font-size: 17px;
  line-height: 1.85;
  color: #2a1518;
  position: relative; z-index: 1;
  margin: 0;
}
.pg-cs-passage p + p { margin-top: 12px; }

/* ══════════════════════════════════════
   MCQ GROUP ADDITION
══════════════════════════════════════ */
.pg-mcq-group-header {
  padding: 14px 26px;
  background: var(--gold-light);
  border-bottom: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  gap: 10px;
}
.pg-mcq-group-header .group-icon { font-size: 16px; }
.pg-mcq-group-header .group-title {
  font-family: 'Lora', serif;
  font-weight: 700;
  font-size: 14px;
  color: #5a3800;
}
.pg-mcq-group-header .group-count {
  margin-left: auto;
  font-family: 'Gentium Book Basic', serif;
  font-style: italic;
  font-size: 13px;
  color: #8a6000;
}

/* ══════════════════════════════════════
   ASSERTION REASON ADDITIONS
══════════════════════════════════════ */
.pg-ar-directions {
  padding: 16px 26px;
  background: var(--blue-light);
  border-bottom: 2px solid var(--blue-border);
}
.pg-ar-directions .dir-label {
  font-family: 'Lora', serif;
  font-weight: 700;
  font-size: 12px;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  display: block;
}
.pg-ar-directions ol {
  padding-left: 18px;
}
.pg-ar-directions ol li {
  font-family: 'Gentium Book Basic', serif;
  font-size: 15px;
  line-height: 1.7;
  color: #1a2a4a;
  margin-bottom: 4px;
}
.pg-ar-directions ol li:last-child { margin-bottom: 0; }
.pg-ar-statements {
  padding: 12px 14px;
  background: var(--blue-light);
  border: 1.5px solid var(--blue-border);
  border-radius: 8px;
  margin-bottom: 14px;
  margin-left: 40px;
}
.pg-ar-statement {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-family: 'Gentium Book Basic', serif;
  font-size: 16px;
  line-height: 1.7;
  color: #1a2a4a;
}
.pg-ar-statement + .pg-ar-statement {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed var(--blue-border);
}
.pg-ar-statement .ar-label {
  font-family: 'Lora', serif;
  font-weight: 700;
  font-size: 13px;
  color: var(--blue);
  background: #fff;
  border: 1px solid var(--blue-border);
  padding: 1px 9px;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ══════════════════════════════════════
   SUBJECTIVE ADDITION
══════════════════════════════════════ */
.pg-subjective .pg-answer-toggle { margin-left: 40px; }
.pg-subjective .pg-answer-panel {
  margin-left: 40px;
  border-color: var(--gold-border);
}
.pg-subjective .pg-answer-correct {
  background: var(--gold-light);
  border-bottom-color: var(--gold-border);
}
.pg-subjective .pg-answer-correct .correct-label { color: #5a3800; }
.pg-subjective .pg-answer-correct .correct-value {
  color: #3e2400;
  border-color: var(--gold-border);
  font-size: 14px;
  font-style: italic;
}
.pg-subjective .pg-answer-correct .tick { font-size: 16px; }
.pg-subjective .pg-answer-explanation p {
  font-size: 16.5px;
  line-height: 1.85;
}

/* ══════════════════════════════════════
   MOBILE
══════════════════════════════════════ */
@media (max-width: 600px) {
  .pg-kc-chapter-tag { display: none; }
  .pg-concept-row { padding: 14px 16px; gap: 0 12px; }
  .pg-kc-header { padding: 16px 18px; }
  .pg-kc-header-text h2 { font-size: 17px; }
  .pg-concept-term { font-size: 15px; }
  .pg-concept-def { font-size: 15px; }
  .pg-qblock-tag { display: none; }
  .pg-cs-passage { padding: 16px 18px; }
  .pg-cs-passage::before { display: none; }
  .pg-question { padding: 16px 18px; }
  .pg-q-stem { font-size: 16px; }
  .pg-options { grid-template-columns: 1fr; padding-left: 0; }
  .pg-option { min-height: 48px; }
  .pg-answer-toggle { margin-left: 0; width: 100%; justify-content: center; }
  .pg-answer-panel { margin-left: 0; }
  .pg-ar-statements { margin-left: 0; }
  .pg-subjective .pg-answer-toggle { margin-left: 0; }
  .pg-subjective .pg-answer-panel { margin-left: 0; }
}


.pg-option { font-size: 17px; }
.pg-answer-explanation p { font-size: 18px; }
.pg-subjective .pg-answer-explanation p { font-size: 18px; }
.pg-ar-statement { font-size: 17px; }
.pg-ar-directions ol li { font-size: 16px; }


/* ══════════════════════════════════════
   SECTION HEADING
══════════════════════════════════════ */
.pg-section-heading-band {
  width: 100%;
  margin: 36px 0 8px 0;
}
.pg-section-heading-band h2 {
  font-family: 'Lora', serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--maroon-dark);
  margin: 0 0 8px 0;
  line-height: 1.3;
  display: flex;
  align-items: center;
  gap: 12px;
}
.pg-section-heading-band h2::before {
  content: '';
  width: 4px;
  height: 28px;
  background: linear-gradient(to bottom, var(--maroon-dark), var(--maroon-mid));
  border-radius: 2px;
  flex-shrink: 0;
}
.pg-section-heading-band .pg-sh-rule {
  height: 2px;
  background: linear-gradient(to right, var(--gold), transparent);
  border-radius: 1px;
  margin-bottom: 6px;
}
.pg-section-heading-band .pg-sh-meta {
  font-family: 'Gentium Book Basic', serif;
  font-size: 14px;
  font-style: italic;
  color: #7a5a60;
  padding-left: 16px;
}

@media (max-width: 600px) {
  .pg-section-heading-band h2 { font-size: 18px; }
}

/* ══════════════════════════════════════
   CALLOUT / TIPS BOXES
══════════════════════════════════════ */
.pg-callout {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  box-shadow: 0 3px 16px rgba(0,0,0,0.08);
  margin: 20px 0;
}
.pg-callout-icon {
  width: 52px;
  flex-shrink: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 18px;
  font-size: 22px;
}
.pg-callout-body {
  flex: 1;
  padding: 16px 20px 16px 4px;
}
.pg-callout-label {
  font-family: 'Lora', serif;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
  display: block;
}
.pg-callout-text {
  font-family: 'Gentium Book Basic', serif;
  font-size: 20px;
  line-height: 1.78;
}
.pg-callout-text strong { font-weight: 700; }

/* Exam Tip — Gold */
.pg-callout-tip {
  background: var(--gold-light);
  border: 1.5px solid var(--gold-border);
  border-left: 5px solid var(--gold);
}
.pg-callout-tip .pg-callout-icon { color: var(--gold); }
.pg-callout-tip .pg-callout-label { color: #7a4800; }
.pg-callout-tip .pg-callout-text { color: #4a2e00; }

/* Common Mistake — Maroon */
.pg-callout-mistake {
  background: var(--maroon-pale);
  border: 1.5px solid var(--border);
  border-left: 5px solid var(--maroon);
}
.pg-callout-mistake .pg-callout-icon { color: var(--maroon); }
.pg-callout-mistake .pg-callout-label { color: var(--maroon-dark); }
.pg-callout-mistake .pg-callout-text { color: #2e1a1e; }
.pg-callout-mistake .pg-callout-text strong { color: var(--maroon); }

/* Remember This — Sage Green */
.pg-callout-remember {
  background: var(--sage-light);
  border: 1.5px solid var(--sage-border);
  border-left: 5px solid var(--sage);
}
.pg-callout-remember .pg-callout-icon { color: var(--sage); }
.pg-callout-remember .pg-callout-label { color: #1a5a38; }
.pg-callout-remember .pg-callout-text { color: #0e2e1e; }
.pg-callout-remember .pg-callout-text strong { color: var(--sage); }

/* Important Note — Blue */
.pg-callout-important {
  background: var(--blue-light);
  border: 1.5px solid var(--blue-border);
  border-left: 5px solid var(--blue);
}
.pg-callout-important .pg-callout-icon { color: var(--blue); }
.pg-callout-important .pg-callout-label { color: #0e2a5a; }
.pg-callout-important .pg-callout-text { color: #0a1a3a; }
.pg-callout-important .pg-callout-text strong { color: var(--blue); }

/* Did You Know — Purple */
.pg-callout-didyouknow {
  background: #f3f0fa;
  border: 1.5px solid #c8b8e8;
  border-left: 5px solid #6a3aaa;
}
.pg-callout-didyouknow .pg-callout-icon { color: #6a3aaa; }
.pg-callout-didyouknow .pg-callout-label { color: #3a1a6a; }
.pg-callout-didyouknow .pg-callout-text { color: #1e0e3a; }
.pg-callout-didyouknow .pg-callout-text strong { color: #6a3aaa; }

@media (max-width: 600px) {
  .pg-callout-icon { width: 40px; font-size: 18px; padding-top: 16px; }
  .pg-callout-text { font-size: 18px; }
}

.pg-cs-passage p { font-size: 20px; }
.pg-q-stem { font-size: 20px; }
.pg-option { font-size: 20px; }
.pg-concept-def { font-size: 20px; }
.pg-answer-explanation p { font-size: 20px; }
.pg-subjective .pg-answer-explanation p { font-size: 20px; }
.pg-ar-statement { font-size: 20px; }

@media (max-width: 600px) {
  .pg-q-stem { font-size: 18px; }
  .pg-concept-def { font-size: 18px; }
  .pg-cs-passage p { font-size: 18px; }
}

/* Content/Sidebar width — Posts only, desktop only */
@media (min-width: 769px) {
  .single .content-area {
    width: 74% !important;
  }
  .single .widget-area {
    width: 24% !important;
  }
}══════════════════════════════════════
   ALSO CHECK SECTION
══════════════════════════════════════ */
.pg-also-check {
  width: 100%;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(78,15,28,0.10);
  border: 1px solid var(--border);
  margin: 32px 0;
}
.pg-ac-header {
  background: linear-gradient(135deg, var(--maroon-dark) 0%, var(--maroon) 60%, var(--maroon-mid) 100%);
  padding: 15px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  overflow: hidden;
}
.pg-ac-header::before {
  content: '';
  position: absolute;
  right: -30px; top: -30px;
  width: 120px; height: 120px;
  border: 2px solid rgba(200,144,42,0.18);
  border-radius: 50%;
}
.pg-ac-header-icon {
  font-size: 20px;
  position: relative; z-index: 1;
}
.pg-ac-header h2 {
  font-family: 'Lora', serif;
  font-weight: 700;
  font-size: 20px;
  color: #fff;
  margin: 0;
  position: relative; z-index: 1;
}
.pg-ac-header span {
  margin-left: auto;
  font-family: 'Gentium Book Basic', serif;
  font-size: 13px;
  font-style: italic;
  color: rgba(255,210,190,0.85);
  position: relative; z-index: 1;
}
.pg-ac-group {
  padding: 10px 24px 8px;
  font-family: 'Lora', serif;
  font-weight: 700;
  font-size: 12px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 1px solid var(--border);
  background: var(--gold-light);
}
.pg-ac-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 8px 16px 16px;
}
.pg-ac-link {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 9px 10px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.18s;
}
.pg-ac-link:hover { background: var(--maroon-pale); }
.pg-ac-link::before {
  content: '›';
  color: var(--gold);
  font-size: 20px;
  font-family: 'Lora', serif;
  font-weight: 700;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 1px;
}
.pg-ac-link-text {
  font-family: 'Gentium Book Basic', serif;
  font-size: 20px;
  color: var(--maroon-dark);
  line-height: 1.5;
}
.pg-ac-link:hover .pg-ac-link-text {
  color: var(--maroon);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.pg-ac-footer {
  border-top: 1px solid var(--border);
  padding: 10px 24px;
  background: var(--gold-light);
}
.pg-ac-footer p {
  font-family: 'Gentium Book Basic', serif;
  font-size: 13px;
  font-style: italic;
  color: #8a6000;
}

@media (max-width: 600px) {
  .pg-ac-grid { grid-template-columns: 1fr; padding: 8px 12px 12px; }
  .pg-ac-link-text { font-size: 18px; }
  .pg-ac-header span { display: none; }
}

.wp-block-heading:has(+ .wp-block-coblocks-posts) {
  color: var(--maroon-dark);
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid;
  border-image: linear-gradient(to right, var(--gold), transparent) 1;
}
.wp-block-heading:has(+ .wp-block-coblocks-posts)::before {
  content: '';
  width: 4px;
  height: 26px;
  background: linear-gradient(to bottom, var(--maroon-dark), var(--maroon-mid));
  border-radius: 2px;
  flex-shrink: 0;
}

.editor-styles-wrapper .pg-concept-row,
.editor-styles-wrapper .pg-option,
.editor-styles-wrapper .pg-ac-link,
.editor-styles-wrapper .pg-answer-toggle {
  transition: none !important;
}

@media (max-width: 600px) {
  .pg-option {
    font-size: 18px;
    padding: 8px 10px;
    min-height: 44px;
  }
  .pg-options {
    grid-template-columns: 1fr;
    padding-left: 0;
    gap: 6px;
  }
  .pg-q-stem { font-size: 18px; }
  .pg-answer-toggle {
    font-size: 13px;
    padding: 7px 14px;
  }
}


/* ══════════════════════════════════════
   CTA BLOCKS
══════════════════════════════════════ */

/* Shared */
.pg-cta-ebook,
.pg-cta-editable {
  width: 100%;
  border-radius: 14px;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  gap: 20px;
  text-decoration: none;
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
  margin: 24px 0;
}
.pg-cta-ebook::before,
.pg-cta-editable::before {
  content: '';
  position: absolute;
  right: -20px; bottom: -20px;
  width: 100px; height: 100px;
  border-radius: 50%;
}
.pg-cta-ebook:hover,
.pg-cta-editable:hover {
  transform: translateY(-2px);
}
.pg-cta-ebook-icon,
.pg-cta-editable-icon {
  font-size: 40px;
  flex-shrink: 0;
  position: relative; z-index: 1;
}
.pg-cta-ebook-text,
.pg-cta-editable-text {
  flex: 1;
  position: relative; z-index: 1;
}
.pg-cta-ebook-label,
.pg-cta-editable-label {
  font-family: 'Lora', serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 4px;
  display: block;
}
.pg-cta-ebook-title,
.pg-cta-editable-title {
  font-family: 'Lora', serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.3;
  margin-bottom: 6px;
}
.pg-cta-ebook-desc,
.pg-cta-editable-desc {
  font-family: 'Gentium Book Basic', serif;
  font-size: 15px;
  line-height: 1.55;
}
.pg-cta-ebook-btn,
.pg-cta-editable-btn {
  font-family: 'Lora', serif;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 22px;
  border-radius: 10px;
  white-space: nowrap;
  flex-shrink: 0;
  position: relative; z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}

/* eBook — Sage Green */
.pg-cta-ebook {
  background: var(--sage-light);
  border: 2px solid var(--sage-border);
  border-left: 6px solid var(--sage);
  box-shadow: 0 4px 20px rgba(45,110,78,0.12);
}
.pg-cta-ebook::before {
  border: 2px solid rgba(45,110,78,0.15);
}
.pg-cta-ebook:hover {
  box-shadow: 0 6px 28px rgba(45,110,78,0.2);
}
.pg-cta-ebook-label { color: var(--sage); }
.pg-cta-ebook-title { color: #1a4a32; }
.pg-cta-ebook-desc  { color: #1e4a30; }
.pg-cta-ebook-btn {
  background: var(--sage);
  color: #fff;
  box-shadow: 0 3px 12px rgba(45,110,78,0.25);
}
.pg-cta-ebook:hover .pg-cta-ebook-btn { background: #1a4a32; }

/* Editable Materials — Gold */
.pg-cta-editable {
  background: var(--gold-light);
  border: 2px solid var(--gold-border);
  border-left: 6px solid var(--gold);
  box-shadow: 0 4px 20px rgba(200,144,42,0.15);
}
.pg-cta-editable::before {
  border: 2px solid rgba(200,144,42,0.2);
}
.pg-cta-editable:hover {
  box-shadow: 0 6px 28px rgba(200,144,42,0.25);
}
.pg-cta-editable-label { color: var(--gold); }
.pg-cta-editable-title { color: var(--maroon-dark); }
.pg-cta-editable-desc  { color: #5a3800; }
.pg-cta-editable-btn {
  background: var(--maroon);
  color: #fff;
  box-shadow: 0 3px 12px rgba(78,15,28,0.2);
}
.pg-cta-editable:hover .pg-cta-editable-btn { background: var(--maroon-dark); }

@media (max-width: 600px) {
  .pg-cta-ebook,
  .pg-cta-editable {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 16px;
  }
  .pg-cta-ebook-btn,
  .pg-cta-editable-btn {
    width: 100%;
    justify-content: center;
    padding: 13px;
    font-size: 16px;
  }
  .pg-cta-ebook-title,
  .pg-cta-editable-title { font-size: 18px; }
  .pg-cta-ebook-desc,
  .pg-cta-editable-desc { font-size: 14px; }
}

/*Link Hover Underline Remover*/
a.pg-cta-ebook, a.pg-cta-ebook:hover, a.pg-cta-ebook:focus, a.pg-cta-ebook:active,
a.pg-cta-editable, a.pg-cta-editable:hover, a.pg-cta-editable:focus, a.pg-cta-editable:active,
a.pg-ac-link, a.pg-ac-link:hover, a.pg-ac-link:focus, a.pg-ac-link:active {
  text-decoration: none !important;
  box-shadow: none !important;
}

a.pg-cta-ebook *, a.pg-cta-ebook:hover *,
a.pg-cta-editable *, a.pg-cta-editable:hover *,
a.pg-ac-link *, a.pg-ac-link:hover * {
  text-decoration: none !important;
  box-shadow: none !important;
}

/* ══════════════════════════════════════
   HUB PAGE — HERO
══════════════════════════════════════ */
.pg-hero {
  background: linear-gradient(135deg, var(--maroon-dark) 0%, var(--maroon) 55%, var(--maroon-mid) 100%);
  padding: 52px 24px 44px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-bottom: 0;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
}
.pg-hero::before {
  content: '';
  position: absolute;
  left: -60px; top: -60px;
  width: 260px; height: 260px;
  border: 2px solid rgba(200,144,42,0.15);
  border-radius: 50%;
}
.pg-hero::after {
  content: '';
  position: absolute;
  right: -40px; bottom: -40px;
  width: 200px; height: 200px;
  border: 2px solid rgba(200,144,42,0.12);
  border-radius: 50%;
}
.pg-hero-badge {
  display: inline-block;
  background: rgba(200,144,42,0.22);
  border: 1px solid rgba(200,144,42,0.45);
  color: #ffd890;
  font-family: 'Lora', serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 20px;
  margin-bottom: 16px;
  position: relative; z-index: 1;
}
.pg-hero h1 {
  font-family: 'Lora', serif;
  font-weight: 700;
  font-size: 34px;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 14px;
  position: relative; z-index: 1;
}
.pg-hero p {
  font-family: 'Gentium Book Basic', serif;
  font-size: 18px;
  color: rgba(255,220,200,0.88);
  max-width: 640px;
  margin: 0 auto 24px;
  line-height: 1.7;
  position: relative; z-index: 1;
}
.pg-hero-stats {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative; z-index: 1;
}
.pg-hero-stat {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 10px;
  padding: 10px 20px;
  text-align: center;
}
.pg-hero-stat .stat-num {
  font-family: 'Lora', serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--gold-border);
  display: block;
}
.pg-hero-stat .stat-label {
  font-family: 'Gentium Book Basic', serif;
  font-size: 13px;
  color: rgba(255,220,200,0.8);
}

/* ══════════════════════════════════════
   HUB PAGE — STICKY NAV
══════════════════════════════════════ */
.pg-quick-nav {
  background: #fff;
  border-bottom: 2px solid var(--border);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(78,15,28,0.08);
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
}
.pg-quick-nav-inner {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}
.pg-quick-nav-label {
  font-family: 'Lora', serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--maroon);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-right: 4px;
  white-space: nowrap;
}
.pg-nav-pill {
  font-family: 'Lora', serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--maroon);
  background: var(--maroon-pale);
  border: 1.5px solid var(--border);
  padding: 5px 14px;
  border-radius: 20px;
  text-decoration: none !important;
  transition: all 0.18s;
  white-space: nowrap;
}
.pg-nav-pill:hover {
  background: var(--maroon);
  color: #fff !important;
  border-color: var(--maroon);
}

/* ══════════════════════════════════════
   HUB PAGE — SECTIONS & DIVIDER
══════════════════════════════════════ */
.pg-hero-inner,
.pg-section,
.pg-hub-divider {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}
.pg-section { padding-top: 40px; padding-bottom: 12px; }
.pg-hub-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border), transparent);
  margin-top: 8px;
  margin-bottom: 8px;
}

/* ══════════════════════════════════════
   HUB PAGE — SECTION HEADINGS
══════════════════════════════════════ */
.pg-section-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid;
  border-image: linear-gradient(to right, var(--gold), transparent) 1;
}
.pg-section-head::before {
  content: '';
  width: 4px;
  height: 32px;
  border-radius: 2px;
  flex-shrink: 0;
}
.pg-section-head h2 {
  font-family: 'Lora', serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.3;
  margin: 0;
}
.pg-section-head .section-icon { font-size: 22px; flex-shrink: 0; }
.pg-section-head .section-count {
  margin-left: auto;
  font-family: 'Gentium Book Basic', serif;
  font-style: italic;
  font-size: 14px;
  white-space: nowrap;
}

/* ══════════════════════════════════════
   HUB PAGE — CHAPTER GRID
══════════════════════════════════════ */
.pg-chapter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.pg-chapter-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  text-decoration: none !important;
  transition: all 0.18s;
  position: relative;
  overflow: hidden;
}
.pg-chapter-link::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  border-radius: 2px 0 0 2px;
}
.pg-chapter-link:hover {
  box-shadow: 0 3px 14px rgba(78,15,28,0.10);
  transform: translateY(-1px);
}
.pg-chapter-num {
  font-family: 'Lora', serif;
  font-weight: 700;
	width: auto;
	min-width: 40px;
  font-size: 12px;
  height: 32px;
	padding: 0 8px;
  white-space: nowrap;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.pg-chapter-title {
  font-family: 'Gentium Book Basic', serif;
  font-size: 15px;
  line-height: 1.4;
  flex: 1;
}
.pg-chapter-arrow {
  font-size: 16px;
  flex-shrink: 0;
  transition: transform 0.18s;
  opacity: 0.4;
}
.pg-chapter-link:hover .pg-chapter-arrow {
  transform: translateX(3px);
  opacity: 1;
}

/* ══════════════════════════════════════
   HUB PAGE — SECTION COLOUR THEMES
══════════════════════════════════════ */
.pg-section-cs .pg-section-head::before { background: linear-gradient(to bottom, var(--maroon-dark), var(--maroon-mid)); }
.pg-section-cs .pg-section-head h2 { color: var(--maroon-dark); }
.pg-section-cs .pg-section-head .section-count { color: #9e6070; }
.pg-section-cs .pg-chapter-link::before { background: var(--maroon); }
.pg-section-cs .pg-chapter-link:hover { background: var(--maroon-pale); }
.pg-section-cs .pg-chapter-num { background: var(--maroon-pale); color: var(--maroon); border: 1px solid var(--border); }
.pg-section-cs .pg-chapter-title { color: var(--maroon-dark); }
.pg-section-cs .pg-chapter-arrow { color: var(--maroon); }

.pg-section-mcq .pg-section-head::before { background: linear-gradient(to bottom, var(--blue), #3a6ab0); }
.pg-section-mcq .pg-section-head h2 { color: var(--blue); }
.pg-section-mcq .pg-section-head .section-count { color: #5a7ab0; }
.pg-section-mcq .pg-chapter-link::before { background: var(--blue); }
.pg-section-mcq .pg-chapter-link:hover { background: var(--blue-light); }
.pg-section-mcq .pg-chapter-num { background: var(--blue-light); color: var(--blue); border: 1px solid var(--blue-border); }
.pg-section-mcq .pg-chapter-title { color: #0e2a5a; }
.pg-section-mcq .pg-chapter-arrow { color: var(--blue); }

.pg-section-ar .pg-section-head::before { background: linear-gradient(to bottom, #6a3aaa, #8a5acc); }
.pg-section-ar .pg-section-head h2 { color: #4a1a8a; }
.pg-section-ar .pg-section-head .section-count { color: #8a6ab0; }
.pg-section-ar .pg-chapter-link::before { background: #6a3aaa; }
.pg-section-ar .pg-chapter-link:hover { background: #f3f0fa; }
.pg-section-ar .pg-chapter-num { background: #f3f0fa; color: #6a3aaa; border: 1px solid #c8b8e8; }
.pg-section-ar .pg-chapter-title { color: #3a1a6a; }
.pg-section-ar .pg-chapter-arrow { color: #6a3aaa; }

.pg-section-iq .pg-section-head::before { background: linear-gradient(to bottom, var(--sage), var(--sage-border)); }
.pg-section-iq .pg-section-head h2 { color: var(--sage); }
.pg-section-iq .pg-section-head .section-count { color: #5a9a7a; }
.pg-section-iq .pg-chapter-link::before { background: var(--sage); }
.pg-section-iq .pg-chapter-link:hover { background: var(--sage-light); }
.pg-section-iq .pg-chapter-num { background: var(--sage-light); color: var(--sage); border: 1px solid var(--sage-border); }
.pg-section-iq .pg-chapter-title { color: #1a4a32; }
.pg-section-iq .pg-chapter-arrow { color: var(--sage); }

.pg-section-notes .pg-section-head::before { background: linear-gradient(to bottom, var(--gold), #e8a830); }
.pg-section-notes .pg-section-head h2 { color: #7a4800; }
.pg-section-notes .pg-section-head .section-count { color: #a07030; }
.pg-section-notes .pg-chapter-link::before { background: var(--gold); }
.pg-section-notes .pg-chapter-link:hover { background: var(--gold-light); }
.pg-section-notes .pg-chapter-num { background: var(--gold-light); color: #7a4800; border: 1px solid var(--gold-border); }
.pg-section-notes .pg-chapter-title { color: #5a3000; }
.pg-section-notes .pg-chapter-arrow { color: var(--gold); }

.pg-section-ncert .pg-section-head::before { background: linear-gradient(to bottom, #c0392b, #e74c3c); }
.pg-section-ncert .pg-section-head h2 { color: #8a1a10; }
.pg-section-ncert .pg-section-head .section-count { color: #c06050; }
.pg-section-ncert .pg-chapter-link::before { background: #c0392b; }
.pg-section-ncert .pg-chapter-link:hover { background: #fdf0ee; }
.pg-section-ncert .pg-chapter-num { background: #fdf0ee; color: #8a1a10; border: 1px solid #f0b0a8; }
.pg-section-ncert .pg-chapter-title { color: #6a1008; }
.pg-section-ncert .pg-chapter-arrow { color: #c0392b; }

/* ══════════════════════════════════════
   HUB PAGE — MOBILE
══════════════════════════════════════ */
@media (max-width: 640px) {
  .pg-hero h1 { font-size: 24px; }
  .pg-hero p { font-size: 16px; }
  .pg-hero-stats { gap: 10px; }
  .pg-chapter-grid { grid-template-columns: 1fr; }
  .pg-quick-nav { display: none; }
  .pg-section-head h2 { font-size: 19px; }
}

.pg-chapter-title { font-size: 20px; }
.pg-section-head h2 { font-size: 24px; }
.pg-section-head .section-count { font-size: 16px; }
.pg-quick-nav-label { font-size: 14px; }
.pg-nav-pill { font-size: 15px; }
.pg-chapter-num { font-size: 13px; }
.pg-hero h1 { font-size: 38px; }
.pg-hero p { font-size: 20px; }
.pg-hero-stat .stat-num { font-size: 24px; }
.pg-hero-stat .stat-label { font-size: 15px; }

@media (max-width: 640px) {
  .pg-chapter-title { font-size: 18px; }
  .pg-section-head h2 { font-size: 20px; }
  .pg-hero h1 { font-size: 26px; }
  .pg-hero p { font-size: 18px; }
}

.pg-quick-nav-inner {
  justify-content: center;
}
.pg-quick-nav-label {
  text-align: center;
  width: 100%;
  margin-bottom: 6px;
}


@media (max-width: 640px) {
  /* Section heading — tighter */
  .pg-section-head {
    gap: 8px;
    padding-bottom: 10px;
  }
  .pg-section-head h2 {
    font-size: 18px;
    line-height: 1.3;
  }
  .pg-section-head .section-icon {
    font-size: 18px;
  }
  .pg-section-head::before {
    height: 24px;
  }

  /* Chapter grid — reduce padding */
  .pg-section {
    padding-left: 12px;
    padding-right: 12px;
  }
  .pg-chapter-link {
    padding: 10px 10px;
    gap: 8px;
  }
  .pg-chapter-title {
    font-size: 16px;
  }
  .pg-chapter-num {
    min-width: 36px;
    font-size: 11px;
    height: 28px;
  }

  /* Hide count on mobile — saves space */
  .pg-section-head .section-count {
    display: none;
  }
}

/* ══════════════════════════════════════
   CTA BANNERS — SHARED BASE
══════════════════════════════════════ */
a.pg-cta-exam,
a.pg-cta-printed,
a.pg-cta-pgnotes,
a.pg-cta-xamcontent {
  width: 100%;
  border-radius: 14px;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  gap: 20px;
  text-decoration: none !important;
  box-shadow: none !important;
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
  margin: 24px 0;
}
a.pg-cta-exam::before,
a.pg-cta-printed::before,
a.pg-cta-pgnotes::before,
a.pg-cta-xamcontent::before {
  content: '';
  position: absolute;
  right: -20px; bottom: -20px;
  width: 100px; height: 100px;
  border-radius: 50%;
}
a.pg-cta-exam:hover,
a.pg-cta-printed:hover,
a.pg-cta-pgnotes:hover,
a.pg-cta-xamcontent:hover { transform: translateY(-2px); }
a.pg-cta-exam *, a.pg-cta-exam:hover *,
a.pg-cta-printed *, a.pg-cta-printed:hover *,
a.pg-cta-pgnotes *, a.pg-cta-pgnotes:hover *,
a.pg-cta-xamcontent *, a.pg-cta-xamcontent:hover * {
  text-decoration: none !important;
  box-shadow: none !important;
}
.pg-cta-exam-icon,
.pg-cta-printed-icon,
.pg-cta-pgnotes-icon,
.pg-cta-xamcontent-icon {
  font-size: 40px;
  flex-shrink: 0;
  position: relative; z-index: 1;
}
.pg-cta-exam-text,
.pg-cta-printed-text,
.pg-cta-pgnotes-text,
.pg-cta-xamcontent-text {
  flex: 1;
  position: relative; z-index: 1;
}
.pg-cta-exam-label,
.pg-cta-printed-label,
.pg-cta-pgnotes-label,
.pg-cta-xamcontent-label {
  font-family: 'Lora', serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 4px;
  display: block;
}
.pg-cta-exam-title,
.pg-cta-printed-title,
.pg-cta-pgnotes-title,
.pg-cta-xamcontent-title {
  font-family: 'Lora', serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.3;
  margin-bottom: 6px;
}
.pg-cta-exam-desc,
.pg-cta-printed-desc,
.pg-cta-pgnotes-desc,
.pg-cta-xamcontent-desc {
  font-family: 'Gentium Book Basic', serif;
  font-size: 15px;
  line-height: 1.55;
}
.pg-cta-exam-btn,
.pg-cta-printed-btn,
.pg-cta-pgnotes-btn,
.pg-cta-xamcontent-btn {
  font-family: 'Lora', serif;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 22px;
  border-radius: 10px;
  white-space: nowrap;
  flex-shrink: 0;
  position: relative; z-index: 1;
  transition: all 0.2s;
  text-decoration: none !important;
}

/* ══════════════════════════════════════
   EXAM SPECIAL — Red/Orange
══════════════════════════════════════ */
a.pg-cta-exam {
  background: #fff5f0;
  border: 2px solid #f5c4b0;
  border-left: 6px solid #d94f1e;
  box-shadow: 0 4px 20px rgba(217,79,30,0.12);
}
a.pg-cta-exam::before { border: 2px solid rgba(217,79,30,0.12); }
a.pg-cta-exam:hover { box-shadow: 0 6px 28px rgba(217,79,30,0.22) !important; }
.pg-cta-exam-label { color: #d94f1e; }
.pg-cta-exam-title { color: #7a1a00; }
.pg-cta-exam-desc  { color: #5a2a10; }
.pg-cta-exam-btn {
  background: #d94f1e;
  color: #fff !important;
  box-shadow: 0 3px 12px rgba(217,79,30,0.28);
}
a.pg-cta-exam:hover .pg-cta-exam-btn { background: #b83a10; }

/* ══════════════════════════════════════
   PRINTED BOOKS — Deep Blue
══════════════════════════════════════ */
a.pg-cta-printed {
  background: #eef3ff;
  border: 2px solid #b0c8f0;
  border-left: 6px solid #1a4a8a;
  box-shadow: 0 4px 20px rgba(26,74,138,0.12);
}
a.pg-cta-printed::before { border: 2px solid rgba(26,74,138,0.1); }
a.pg-cta-printed:hover { box-shadow: 0 6px 28px rgba(26,74,138,0.2) !important; }
.pg-cta-printed-label { color: #1a4a8a; }
.pg-cta-printed-title { color: #0e2a5a; }
.pg-cta-printed-desc  { color: #1a2a4a; }
.pg-cta-printed-btn {
  background: #1a4a8a;
  color: #fff !important;
  box-shadow: 0 3px 12px rgba(26,74,138,0.25);
}
a.pg-cta-printed:hover .pg-cta-printed-btn { background: #0e2a5a; }

/* ══════════════════════════════════════
   PG NOTES — Purple
══════════════════════════════════════ */
a.pg-cta-pgnotes {
  background: #f3f0fa;
  border: 2px solid #c8b8e8;
  border-left: 6px solid #6a3aaa;
  box-shadow: 0 4px 20px rgba(106,58,170,0.12);
}
a.pg-cta-pgnotes::before { border: 2px solid rgba(106,58,170,0.1); }
a.pg-cta-pgnotes:hover { box-shadow: 0 6px 28px rgba(106,58,170,0.2) !important; }
.pg-cta-pgnotes-label { color: #6a3aaa; }
.pg-cta-pgnotes-title { color: #3a1a6a; }
.pg-cta-pgnotes-desc  { color: #2a1050; }
.pg-cta-pgnotes-btn {
  background: #6a3aaa;
  color: #fff !important;
  box-shadow: 0 3px 12px rgba(106,58,170,0.25);
}
a.pg-cta-pgnotes:hover .pg-cta-pgnotes-btn { background: #4a1a8a; }

/* ══════════════════════════════════════
   XAMCONTENT — Teal
══════════════════════════════════════ */
a.pg-cta-xamcontent {
  background: #eafafa;
  border: 2px solid #a0d8d8;
  border-left: 6px solid #0e7a7a;
  box-shadow: 0 4px 20px rgba(14,122,122,0.12);
}
a.pg-cta-xamcontent::before { border: 2px solid rgba(14,122,122,0.1); }
a.pg-cta-xamcontent:hover { box-shadow: 0 6px 28px rgba(14,122,122,0.2) !important; }
.pg-cta-xamcontent-label { color: #0e7a7a; }
.pg-cta-xamcontent-title { color: #054a4a; }
.pg-cta-xamcontent-desc  { color: #0a3a3a; }
.pg-cta-xamcontent-btn {
  background: #0e7a7a;
  color: #fff !important;
  box-shadow: 0 3px 12px rgba(14,122,122,0.25);
}
a.pg-cta-xamcontent:hover .pg-cta-xamcontent-btn { background: #054a4a; }

/* ══════════════════════════════════════
   MOBILE
══════════════════════════════════════ */
@media (max-width: 600px) {
  a.pg-cta-exam,
  a.pg-cta-printed,
  a.pg-cta-pgnotes,
  a.pg-cta-xamcontent {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 16px;
  }
  .pg-cta-exam-btn,
  .pg-cta-printed-btn,
  .pg-cta-pgnotes-btn,
  .pg-cta-xamcontent-btn {
    width: 100%;
    text-align: center;
    padding: 13px;
    font-size: 16px;
  }
  .pg-cta-exam-title,
  .pg-cta-printed-title,
  .pg-cta-pgnotes-title,
  .pg-cta-xamcontent-title { font-size: 18px; }
  .pg-cta-exam-desc,
  .pg-cta-printed-desc,
  .pg-cta-pgnotes-desc,
  .pg-cta-xamcontent-desc { font-size: 14px; }
}


/* ══════════════════════════════════════
   ANNOUNCEMENT BAR
══════════════════════════════════════ */
.pg-announce-bar {
  width: 100%;
  background: linear-gradient(135deg, var(--maroon-dark) 0%, var(--maroon) 100%);
  padding: 10px 44px 10px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
}
.pg-announce-bar-text {
  font-family: 'Gentium Book Basic', serif;
  font-size: 15px;
  color: rgba(255,220,200,0.95);
  text-align: center;
  line-height: 1.5;
}
.pg-announce-bar-text strong {
  color: #ffd890;
  font-family: 'Lora', serif;
  font-weight: 700;
}
.pg-announce-bar-link {
  display: inline-block;
  background: var(--gold);
  color: #fff !important;
  font-family: 'Lora', serif;
  font-weight: 700;
  font-size: 13px;
  padding: 5px 16px;
  border-radius: 20px;
  text-decoration: none !important;
  white-space: nowrap;
  transition: background 0.18s;
  flex-shrink: 0;
}
.pg-announce-bar-link:hover { background: #e8a830; }
.pg-announce-close {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255,220,200,0.7);
  font-size: 18px;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
  transition: color 0.18s;
}
.pg-announce-close:hover { color: #fff; }

@media (max-width: 600px) {
  .pg-announce-bar { flex-wrap: wrap; gap: 8px; padding: 10px 36px 10px 16px; }
  .pg-announce-bar-text { font-size: 13px; }
  .pg-announce-bar-link { font-size: 12px; padding: 5px 14px; }
}

/* ══════════════════════════════════════
   FLOATING BOTTOM BAR
══════════════════════════════════════ */
.pg-float-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: linear-gradient(135deg, var(--maroon-dark) 0%, var(--maroon) 100%);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 -4px 20px rgba(78,15,28,0.25);
  transform: translateY(100%);
  transition: transform 0.35s ease;
}
.pg-float-bar.visible { transform: translateY(0); }
.pg-float-bar-icon { font-size: 24px; flex-shrink: 0; }
.pg-float-bar-text { flex: 1; }
.pg-float-bar-title {
  font-family: 'Lora', serif;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  line-height: 1.3;
}
.pg-float-bar-sub {
  font-family: 'Gentium Book Basic', serif;
  font-size: 12px;
  color: rgba(255,210,190,0.85);
  line-height: 1.4;
}
.pg-float-bar-btn {
  display: inline-block;
  background: var(--gold);
  color: #fff !important;
  font-family: 'Lora', serif;
  font-weight: 700;
  font-size: 13px;
  padding: 9px 18px;
  border-radius: 8px;
  text-decoration: none !important;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.18s;
}
.pg-float-bar-btn:hover { background: #e8a830; }
.pg-float-bar-close {
  background: none;
  border: none;
  color: rgba(255,220,200,0.7);
  font-size: 20px;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  flex-shrink: 0;
  transition: color 0.18s;
}
.pg-float-bar-close:hover { color: #fff; }

@media (min-width: 769px) {
  .pg-float-bar { display: none; }
}

/* ══════════════════════════════════════
   INLINE TEXT CTA
══════════════════════════════════════ */
a.pg-inline-cta {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  border-radius: 12px;
  padding: 16px 20px;
  margin: 24px 0;
  text-decoration: none !important;
  box-shadow: none !important;
  transition: all 0.18s;
}
a.pg-inline-cta:hover {
  transform: translateY(-1px);
}
a.pg-inline-cta *, a.pg-inline-cta:hover * {
  text-decoration: none !important;
  box-shadow: none !important;
}
.pg-inline-cta-icon { font-size: 22px; flex-shrink: 0; margin-top: 2px; }
.pg-inline-cta-body { flex: 1; }
.pg-inline-cta-label {
  font-family: 'Lora', serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 4px;
  display: block;
}
.pg-inline-cta-text {
  font-family: 'Gentium Book Basic', serif;
  font-size: 18px;
  line-height: 1.6;
}
.pg-inline-cta-text strong { font-family: 'Lora', serif; font-weight: 700; }
.pg-inline-cta-arrow {
  font-family: 'Lora', serif;
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
  margin-top: 4px;
  transition: transform 0.18s;
}
a.pg-inline-cta:hover .pg-inline-cta-arrow { transform: translateX(4px); }

/* Gold */
a.pg-inline-cta.gold {
  background: var(--gold-light);
  border: 1.5px solid var(--gold-border);
  border-left: 5px solid var(--gold);
}
a.pg-inline-cta.gold:hover { background: #faebd0; box-shadow: 0 4px 16px rgba(200,144,42,0.15) !important; }
.pg-inline-cta.gold .pg-inline-cta-label { color: var(--gold); }
.pg-inline-cta.gold .pg-inline-cta-text { color: #3a2000; }
.pg-inline-cta.gold .pg-inline-cta-text strong { color: var(--maroon-dark); }
.pg-inline-cta.gold .pg-inline-cta-arrow { color: var(--gold); }

/* Blue */
a.pg-inline-cta.blue {
  background: var(--blue-light);
  border: 1.5px solid var(--blue-border);
  border-left: 5px solid var(--blue);
}
a.pg-inline-cta.blue:hover { background: #ddeaff; box-shadow: 0 4px 16px rgba(26,74,138,0.12) !important; }
.pg-inline-cta.blue .pg-inline-cta-label { color: var(--blue); }
.pg-inline-cta.blue .pg-inline-cta-text { color: #0e1a3a; }
.pg-inline-cta.blue .pg-inline-cta-text strong { color: #0e2a5a; }
.pg-inline-cta.blue .pg-inline-cta-arrow { color: var(--blue); }

/* Sage */
a.pg-inline-cta.sage {
  background: var(--sage-light);
  border: 1.5px solid var(--sage-border);
  border-left: 5px solid var(--sage);
}
a.pg-inline-cta.sage:hover { background: #d0f0e0; box-shadow: 0 4px 16px rgba(45,110,78,0.12) !important; }
.pg-inline-cta.sage .pg-inline-cta-label { color: var(--sage); }
.pg-inline-cta.sage .pg-inline-cta-text { color: #0e2a1e; }
.pg-inline-cta.sage .pg-inline-cta-text strong { color: #1a4a32; }
.pg-inline-cta.sage .pg-inline-cta-arrow { color: var(--sage); }

/* Purple */
a.pg-inline-cta.purple {
  background: #f3f0fa;
  border: 1.5px solid #c8b8e8;
  border-left: 5px solid #6a3aaa;
}
a.pg-inline-cta.purple:hover { background: #e8e0f8; box-shadow: 0 4px 16px rgba(106,58,170,0.12) !important; }
.pg-inline-cta.purple .pg-inline-cta-label { color: #6a3aaa; }
.pg-inline-cta.purple .pg-inline-cta-text { color: #1e0e3a; }
.pg-inline-cta.purple .pg-inline-cta-text strong { color: #3a1a6a; }
.pg-inline-cta.purple .pg-inline-cta-arrow { color: #6a3aaa; }

/* Red */
a.pg-inline-cta.red {
  background: #fff5f0;
  border: 1.5px solid #f5c4b0;
  border-left: 5px solid #d94f1e;
}
a.pg-inline-cta.red:hover { background: #ffe8dc; box-shadow: 0 4px 16px rgba(217,79,30,0.12) !important; }
.pg-inline-cta.red .pg-inline-cta-label { color: #d94f1e; }
.pg-inline-cta.red .pg-inline-cta-text { color: #3a0e00; }
.pg-inline-cta.red .pg-inline-cta-text strong { color: #7a1a00; }
.pg-inline-cta.red .pg-inline-cta-arrow { color: #d94f1e; }

@media (max-width: 600px) {
  .pg-inline-cta-text { font-size: 16px; }
}

/* ══════════════════════════════════════
   YOAST BREADCRUMB STYLING
══════════════════════════════════════ */
.yoast-breadcrumbs,
#breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2px;
  padding: 10px 18px;
  background: var(--maroon-pale);
  border: 1px solid var(--border);
  border-left: 3px solid var(--maroon);
  border-radius: 8px;
  margin-bottom: 20px;
  line-height: 1.5;
}
.yoast-breadcrumbs span,
#breadcrumbs span {
  font-family: 'Gentium Book Basic', serif;
  font-size: 15px;
  color: #7a5a60;
  display: inline-flex;
  align-items: center;
  padding: 0 2px;
}
.yoast-breadcrumbs a,
#breadcrumbs a {
  font-family: 'Gentium Book Basic', serif;
  font-size: 15px;
  color: var(--maroon) !important;
  text-decoration: none !important;
  box-shadow: none !important;
  transition: color 0.18s;
}
.yoast-breadcrumbs a:hover,
#breadcrumbs a:hover {
  color: var(--maroon-dark) !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}
/* Separators */
.yoast-breadcrumbs > span::before,
.yoast-breadcrumbs > span::after,
#breadcrumbs > span::before,
#breadcrumbs > span::after {
  content: none !important;
}
.yoast-breadcrumbs a::after,
#breadcrumbs a::after {
  content: ' ›';
  color: var(--gold);
  font-size: 16px;
  font-weight: 700;
  margin-left: 10px;
  font-family: 'Lora', serif;
}
/* Current page — last item */
.yoast-breadcrumbs span.breadcrumb_last,
#breadcrumbs span.breadcrumb_last {
  font-size: 15px;
  color: var(--maroon-dark);
  font-weight: 700;
  font-family: 'Lora', serif;
  margin-left: 10px;
}
/* Home icon — first link only */
.yoast-breadcrumbs > span:first-child > a::before,
#breadcrumbs > span:first-child > a::before {
  content: '🏠 ';
  font-size: 12px;
}

@media (max-width: 600px) {
  .yoast-breadcrumbs,
  #breadcrumbs { padding: 8px 12px; gap: 0; }
  .yoast-breadcrumbs span,
  #breadcrumbs span,
  .yoast-breadcrumbs a,
  #breadcrumbs a,
  .yoast-breadcrumbs span.breadcrumb_last,
  #breadcrumbs span.breadcrumb_last { font-size: 13px; }
  .yoast-breadcrumbs a::after,
  #breadcrumbs a::after { font-size: 14px; margin-left: 8px; }
  .yoast-breadcrumbs span.breadcrumb_last,
  #breadcrumbs span.breadcrumb_last { margin-left: 8px; }
}

/* More space around separator */
.yoast-breadcrumbs a::after,
#breadcrumbs a::after {
  content: ' ›';
  color: var(--gold);
  font-size: 16px;
  font-weight: 700;
  margin-left: 6px;
  font-family: 'Lora', serif;
}

/* More space before last item */
.yoast-breadcrumbs span.breadcrumb_last,
#breadcrumbs span.breadcrumb_last {
  font-size: 15px;
  color: var(--maroon-dark);
  font-weight: 700;
  font-family: 'Lora', serif;
  margin-left: 6px;
}

@media (max-width: 600px) {
  .yoast-breadcrumbs,
  #breadcrumbs {
    display: block;
    padding: 8px 12px;
    line-height: 1.4;
  }
  .yoast-breadcrumbs span,
  #breadcrumbs span {
    display: inline;
    font-size: 14px;
  }
  .yoast-breadcrumbs a,
  #breadcrumbs a {
    font-size: 14px;
    display: inline;
  }
  .yoast-breadcrumbs span.breadcrumb_last,
  #breadcrumbs span.breadcrumb_last {
    font-size: 15px;
    margin-left: 4px;
    display: inline;
  }
  .yoast-breadcrumbs a::after,
  #breadcrumbs a::after {
    margin-left: 5px;
    font-size: 16px;
  }
}

/* ══════════════════════════════════════
   RELATED POSTS — COBLOCKS
══════════════════════════════════════ */
.wp-block-coblocks-posts {
  margin: 32px 0 8px;
}
.wp-block-coblocks-posts__inner {
  margin-left: 0 !important;
  padding-left: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.wp-block-coblocks-posts__item {
  border-bottom: 1px solid var(--border);
  transition: background 0.18s;
}
.wp-block-coblocks-posts__item:first-child {
  border-top: 1px solid var(--border);
}
.wp-block-coblocks-posts__item:hover {
  background: var(--maroon-pale);
}
.wp-block-coblocks-posts__item a,
.wp-block-coblocks-posts__item .wp-block-coblocks-posts__item-title a {
  display: flex !important;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  font-family: 'Gentium Book Basic', serif;
  font-size: 17px;
  color: var(--maroon) !important;
  text-decoration: none !important;
  box-shadow: none !important;
  line-height: 1.4;
  transition: color 0.18s;
}
.wp-block-coblocks-posts__item a:hover,
.wp-block-coblocks-posts__item .wp-block-coblocks-posts__item-title a:hover {
  color: var(--maroon-dark) !important;
}
.wp-block-coblocks-posts__item a::before,
.wp-block-coblocks-posts__item .wp-block-coblocks-posts__item-title a::before {
  content: '›';
  color: var(--gold);
  font-family: 'Lora', serif;
  font-weight: 700;
  font-size: 20px;
  flex-shrink: 0;
  line-height: 1;
  transition: transform 0.18s;
}
.wp-block-coblocks-posts__item:hover a::before,
.wp-block-coblocks-posts__item:hover .wp-block-coblocks-posts__item-title a::before {
  transform: translateX(3px);
}

@media (max-width: 600px) {
  .wp-block-coblocks-posts__item a,
  .wp-block-coblocks-posts__item .wp-block-coblocks-posts__item-title a {
    font-size: 15px;
    padding: 12px 10px;
  }
}

.wp-block-coblocks-posts__item {
  border-bottom: 1px solid var(--border);
  transition: background 0.18s;
  margin: 0 !important;
  padding: 0 !important;
}

.wp-block-coblocks-posts__inner {
  margin-left: 0 !important;
  padding-left: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 0 !important;
}

.wp-block-coblocks-posts__item a,
.wp-block-coblocks-posts__item .wp-block-coblocks-posts__item-title a {
  display: flex !important;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  font-family: 'Gentium Book Basic', serif;
  font-size: 18px;
  color: var(--maroon) !important;
  text-decoration: none !important;
  box-shadow: none !important;
  line-height: 1.4;
  transition: color 0.18s;
}

@media (max-width: 600px) {
  .wp-block-coblocks-posts__item a,
  .wp-block-coblocks-posts__item .wp-block-coblocks-posts__item-title a {
    font-size: 16px;
    padding: 10px 10px;
  }
}


/* ================================================================
   PHYSICSGURUKUL — CBSE Class 12 Hub Page
   Headings: Lato | Body/text: Gentium Book Basic
   Paste into: Appearance > Customize > Additional CSS
   ================================================================ */

/* ── Toggle bar ── */
.pg-view-toggle{display:flex;gap:.5rem;margin:1.5rem 0 2rem;background:#f8f6f1;border:1.5px solid #dedad0;border-radius:10px;padding:.35rem}
.pg-toggle-btn{flex:1;text-align:center;padding:.55rem 1rem;border-radius:7px;font-family:'Lato',sans-serif;font-weight:700;font-size:.85rem;cursor:pointer;border:none;background:transparent;color:#4a4640;transition:all .2s}
.pg-toggle-btn.active{background:#c84b0a;color:#fff;box-shadow:0 2px 12px rgba(200,75,10,.25)}
.pg-toggle-btn:hover:not(.active){background:#fdf2eb;color:#c84b0a}

/* ── Views ── */
.pg-view{display:none}
.pg-view.active{display:block}

/* ── Subject strip ── */
.pg-subject-strip{display:flex;gap:.4rem;flex-wrap:wrap;margin-bottom:1.8rem;padding-bottom:1rem;border-bottom:2px solid #dedad0}
.pg-sub-btn{padding:.3rem .9rem;border-radius:20px;border:1.5px solid #dedad0;font-size:.75rem;font-weight:700;font-family:'Lato',sans-serif;cursor:pointer;background:#fff;color:#4a4640;transition:all .15s}
.pg-sub-btn:hover,.pg-sub-btn.active{background:#c84b0a;border-color:#c84b0a;color:#fff}

/* ── Subject panel ── */
.pg-subject-panel{display:none}
.pg-subject-panel.active{display:block}

/* ── Subject heading — Lato ── */
.pg-subj-hd{display:flex;align-items:center;gap:.8rem;padding:.9rem 1.3rem;border-radius:10px;margin:0 0 1.2rem;border-left:4px solid;box-shadow:0 2px 14px rgba(28,26,21,.07)}
.pg-subj-hd h2{font-family:'Lato',sans-serif;font-size:1.35rem;font-weight:900;color:#1c1a15;margin:0;letter-spacing:-.01em}
.pg-subj-hd span.cnt{margin-left:auto;font-size:.68rem;font-weight:700;font-family:'Gentium Book Basic',Georgia,serif;padding:2px 9px;border-radius:20px;background:rgba(0,0,0,.07);color:#4a4640;white-space:nowrap}
.pg-hd-phy{background:linear-gradient(90deg,#fdf2eb,#fff);border-color:#c84b0a}
.pg-hd-che{background:linear-gradient(90deg,#edf1ff,#fff);border-color:#1a4a9e}
.pg-hd-bio{background:linear-gradient(90deg,#e6f5ee,#fff);border-color:#0a7a4e}
.pg-hd-mat{background:linear-gradient(90deg,#f0eaff,#fff);border-color:#5e2fa0}
.pg-hd-acc{background:linear-gradient(90deg,#fdf7e3,#fff);border-color:#b87a00}
.pg-hd-eco{background:linear-gradient(90deg,#fdf0f0,#fff);border-color:#b52828}
.pg-hd-hum{background:linear-gradient(90deg,#f0f9ff,#fff);border-color:#0c4a6e}

/* ── Chapter grid — 2 columns desktop, 1 column mobile ── */
.pg-ch-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem;margin-bottom:2rem}

/* ── Chapter card ── */
.pg-ch-card{background:#fff;border:1.5px solid #dedad0;border-radius:10px;overflow:hidden;box-shadow:0 2px 14px rgba(28,26,21,.07);transition:box-shadow .2s,transform .2s}
.pg-ch-card:hover{box-shadow:0 6px 28px rgba(28,26,21,.13);transform:translateY(-2px)}
.pg-ch-head{display:flex;align-items:center;gap:.6rem;padding:.65rem .9rem;background:#f8f6f1;border-bottom:1.5px solid #dedad0}

/* Chapter number badge — Lato bold ── */
.pg-ch-num{flex-shrink:0;width:36px;height:36px;border-radius:6px;display:flex;align-items:center;justify-content:center;font-size:.82rem;font-weight:900;font-family:'Lato',sans-serif;color:#fff}
.pg-phy .pg-ch-num{background:#c84b0a}
.pg-che .pg-ch-num{background:#1a4a9e}
.pg-bio .pg-ch-num{background:#0a7a4e}
.pg-mat .pg-ch-num{background:#5e2fa0}
.pg-acc .pg-ch-num{background:#b87a00}
.pg-eco .pg-ch-num{background:#b52828}
.pg-hum .pg-ch-num{background:#0c4a6e}

/* Chapter name — Lato heading ── */
.pg-ch-name{font-family:'Lato',sans-serif;font-weight:700;font-size:1rem;color:#1c1a15;line-height:1.3;flex:1}

/* ── Resource pills — Gentium Book Basic, desktop size ── */
.pg-res{padding:.6rem .85rem .75rem;display:flex;flex-wrap:wrap;gap:.38rem}
.pg-tag{display:inline-flex;align-items:center;padding:.28rem .8rem;border-radius:20px;font-size:.78rem;font-weight:700;font-family:'Gentium Book Basic',Georgia,serif;text-decoration:none;border:1.5px solid;transition:all .15s;white-space:nowrap;line-height:1.4}
.pg-tag:hover{transform:translateY(-1px);filter:brightness(.9);box-shadow:0 2px 8px rgba(0,0,0,.1)}
.t-ar  {color:#7c2d12;background:#fff7ed;border-color:#fed7aa}
.t-cs  {color:#1e3a8a;background:#eff6ff;border-color:#bfdbfe}
.t-mcq {color:#14532d;background:#f0fdf4;border-color:#86efac}
.t-num {color:#713f12;background:#fefce8;border-color:#fde68a}
.t-der {color:#581c87;background:#faf5ff;border-color:#d8b4fe}
.t-imp {color:#9f1239;background:#fff1f2;border-color:#fecdd3}
.t-ncert{color:#0c4a6e;background:#f0f9ff;border-color:#7dd3fc}
.t-cq  {color:#064e3b;background:#ecfdf5;border-color:#6ee7b7}
.t-eq  {color:#1e1b4b;background:#eef2ff;border-color:#c7d2fe}
.t-rev {color:#4a1942;background:#fdf4ff;border-color:#d8b4fe}
.t-pyq {color:#431407;background:#fff7ed;border-color:#fdba74}
.t-wp  {color:#052e16;background:#f0fdf4;border-color:#86efac}
.t-dq  {color:#1c1917;background:#fafaf9;border-color:#d6d3d1}
.t-lu  {color:#713f12;background:#fffbeb;border-color:#fcd34d}

/* ── Resource-type view section headers — Lato ── */
.pg-rt-section{margin-bottom:2.2rem}
.pg-rt-hd{display:flex;align-items:center;gap:.7rem;padding:.7rem 1rem;border-radius:8px;margin-bottom:.8rem;border-left:3px solid}
.pg-rt-hd h3{font-family:'Lato',sans-serif;font-size:.92rem;font-weight:900;color:#1c1a15;margin:0;letter-spacing:-.01em}
.pg-rt-hd span.rt-cnt{margin-left:auto;font-size:.66rem;font-family:'Gentium Book Basic',Georgia,serif;color:#948e84;white-space:nowrap}
.rt-ar-hd  {background:#fff7ed;border-color:#f97316}
.rt-cs-hd  {background:#eff6ff;border-color:#3b82f6}
.rt-mcq-hd {background:#f0fdf4;border-color:#22c55e}
.rt-num-hd {background:#fefce8;border-color:#eab308}
.rt-der-hd {background:#faf5ff;border-color:#a855f7}
.rt-imp-hd {background:#fff1f2;border-color:#f43f5e}
.rt-ncert-hd{background:#f0f9ff;border-color:#0ea5e9}
.rt-rev-hd {background:#fdf4ff;border-color:#c026d3}
.rt-cq-hd  {background:#ecfdf5;border-color:#10b981}
.rt-eq-hd  {background:#eef2ff;border-color:#6366f1}

/* ── Link list — Gentium Book Basic body text ── */
.pg-link-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:.4rem}
.pg-link-item{display:flex;align-items:flex-start;gap:8px;padding:.5rem .8rem;border:1.5px solid #dedad0;border-radius:7px;text-decoration:none;color:#4a4640;font-size:.84rem;font-family:'Gentium Book Basic',Georgia,serif;background:#fff;transition:all .15s;line-height:1.45}
.pg-link-item:hover{border-color:#c84b0a;color:#c84b0a;background:#fdf2eb;transform:translateX(3px)}

/* Subject badge inside link — Lato ── */
.pg-link-subj{flex-shrink:0;font-size:.6rem;font-weight:700;font-family:'Lato',sans-serif;padding:1px 6px;border-radius:4px;margin-top:3px;color:#fff;background:#c84b0a}
.pg-link-subj.s-che{background:#1a4a9e}
.pg-link-subj.s-bio{background:#0a7a4e}
.pg-link-subj.s-mat{background:#5e2fa0}

/* ── Legend ── */
.pg-legend{background:#fff;border:1.5px solid #dedad0;border-radius:10px;padding:.9rem 1.1rem;margin-bottom:1.5rem}
.pg-legend-title{font-family:'Lato',sans-serif;font-size:.7rem;font-weight:900;text-transform:uppercase;letter-spacing:.07em;color:#948e84;margin-bottom:.55rem}
.pg-legend-row{display:flex;flex-wrap:wrap;gap:.3rem}

/* ── Responsive ── */
@media(max-width:768px){
  .pg-ch-grid{grid-template-columns:1fr}
  .pg-link-grid{grid-template-columns:1fr}
  .pg-view-toggle{flex-direction:column}
  .pg-subject-strip{gap:.3rem}

  /* Bigger card header on mobile */
  .pg-ch-head{padding:.8rem 1rem}
  .pg-ch-num{width:36px;height:36px;font-size:.82rem}
  .pg-ch-name{font-size:1rem}

  /* Bigger pills on mobile */
  .pg-tag{font-size:.78rem;padding:.28rem .72rem}
  .pg-res{padding:.65rem .85rem .8rem;gap:.4rem}

  /* Bigger link items on mobile */
  .pg-link-item{font-size:.95rem;padding:.65rem 1rem}
  .pg-link-subj{font-size:.72rem;padding:2px 8px}

  /* Bigger toggle & subject buttons */
  .pg-toggle-btn{font-size:.92rem;padding:.65rem 1rem}
  .pg-sub-btn{font-size:.82rem;padding:.38rem 1rem}
}