﻿/* ============================================================
   style-tutorial-new.css  |  TutorialRide v5
   Design: Bold editorial portal — navy + white + amber
   Fonts: Outfit (display) + Source Sans 3 (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Source+Sans+3:wght@400;500;600&display=swap');

/* === VARIABLES === */
:root {
  --navy:        #0f2744;
  --navy-mid:    #1a3a5c;
  --navy-light:  #2a5080;
  --accent:      #e8a020;
  --accent-dark: #c88010;
  --white:       #ffffff;
  --off-white:   #f2f5f9;
  --border:      #d8dfe8;
  --text-main:   #151e2d;
  --text-body:   #364558;
  --text-muted:  #627891;
  --green:       #1a7a3c;
  --orange:      #b5521a;
  --purple:      #5a35a0;
  --teal:        #1a7a8a;
  --red:         #b51a1a;
  --font-display:'Outfit', sans-serif;
  --font-body:   'Source Sans 3', sans-serif;
  --radius-sm:   5px;
  --radius-md:   10px;
  --radius-lg:   14px;
  --shadow-sm:   0 1px 4px rgba(15,39,68,0.10);
  --shadow-md:   0 4px 16px rgba(15,39,68,0.15);
  --shadow-lg:   0 8px 32px rgba(15,39,68,0.18);
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-main);
  background: var(--off-white);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { display: block; max-width: 100%; object-fit: cover; }
button { cursor: pointer; }

/* ========================================
   HEADER
   ======================================== */
.site-header {
  background: var(--navy);
  position: sticky; top: 0; z-index: 200;
  box-shadow: 0 2px 12px rgba(0,0,0,0.35);
}
.header-inner {
  max-width: 1300px; margin: 0 auto;
  padding: 0 28px;
  display: flex; align-items: center; gap: 10px;
  height: 62px;
}

/* Logo */
.logo { display: flex; align-items: center; flex-shrink: 0; text-decoration: none; }
/* .logo-mark and .logo-text removed — using image logo */
.logo img {
  height: 54px;
  width: auto;
  display: block;
  transition: opacity 0.15s;
}
.logo:hover img { opacity: 0.88; }

/* Nav */
.main-nav { display: flex; align-items: center; gap: 2px; margin-left: 16px; flex: 1; }
.main-nav a {
  color: #c8dcf0;
  font-family: var(--font-display); font-size: 16px; font-weight: 600;
  padding: 7px 14px; border-radius: var(--radius-sm);
  transition: background 0.15s, color 0.15s; white-space: nowrap;
}
.main-nav a:hover { background: rgba(255,255,255,0.12); color: var(--white); }
.main-nav a.active { background: var(--accent); color: var(--navy); }
.nav-close {
  display: none;
  color: var(--white);
  font-size: 22px;
  padding: 14px 20px 12px;
  cursor: pointer;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  text-align: right;
  line-height: 1;
  transition: color 0.15s;
}
.nav-close:hover { color: var(--accent); }
.nav-sep { width: 1px; height: 22px; background: rgba(255,255,255,0.18); margin: 0 5px; flex-shrink: 0; }

/* Social icons — colorful always */
.header-social { display: flex; align-items: center; gap: 8px; margin-left: auto; flex-shrink: 0; }
.header-social a {
  width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.15s, filter 0.15s;
}
.header-social a:hover { transform: scale(1.14); filter: brightness(1.18); }
.header-social svg { width: 16px; height: 16px; }
.header-social a.fb { background: #1877f2; }
.header-social a.fb svg { fill: #fff; }
.header-social a.yt { background: #ff0000; }
.header-social a.yt svg { fill: #fff; }
.header-social a.ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.header-social a.ig svg { fill: #fff; stroke: #fff; }
.header-social a.li { background: #0077b5; }
.header-social a.li svg { fill: #fff; }

/* Mobile toggle */
.nav-toggle { display: none; }
.nav-toggle-label { display: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 4px; }
.nav-toggle-label span { display: block; width: 24px; height: 2.5px; background: var(--white); border-radius: 2px; }


/* === LAST UPDATED SIGNAL (hidden — SEO only) === */
.page-updated { display: none; }

/* ========================================
   AD BANNER (between nav and hero)
   ======================================== */
.ad-banner {
  background: var(--off-white);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center;
}
.ad-banner-inner {
  max-width: 1300px; margin: 0 auto;
  padding: 10px 28px; width: 100%;
}
.ad-banner-inner ins { display: block !important; width: 100%; }

/* ========================================
   SITE INTRO (SEO text below hero)
   ======================================== */
.site-intro {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 10px 28px;
}
.site-intro p {
  max-width: 1300px; margin: 0 auto;
  font-family: var(--font-body); font-size: 18px;
  color: var(--text-muted); line-height: 1.6;
}

/* ========================================
   HERO
   ======================================== */
.hero {
  background: linear-gradient(130deg, #091c36 0%, #163354 50%, #1b4270 100%);
  padding: 22px 28px 22px;
  position: relative; overflow: hidden;
}
.hero-inner {
  max-width: 1300px; margin: 0 auto;
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 20px;
  align-items: stretch;
  position: relative; z-index: 1;
}

/* ── Feature Cards Grid (right side) ── */
.feat-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 10px;
}
.feat-card {
  border-radius: var(--radius-md);
  padding: 16px 16px 14px;
  display: flex; flex-direction: column; justify-content: space-between;
  text-decoration: none;
  position: relative; overflow: hidden;
  transition: transform 0.18s, filter 0.18s;
  min-height: 130px;
}
.feat-card:hover { transform: translateY(-3px); filter: brightness(1.08); }

.feat-card-deco {
  position: absolute; right: 8px; top: 8px;
  font-size: 52px; opacity: 0.35; line-height: 1;
  pointer-events: none;
}
.feat-card-body { flex: 1; }
.feat-card-title {
  font-family: var(--font-display); font-size: 17px; font-weight: 800;
  color: #fff; line-height: 1.2; margin-bottom: 6px;
}
.feat-card-sub {
  font-family: var(--font-body); font-size: 13px; font-weight: 500;
  color: rgba(255,255,255,0.82); line-height: 1.45;
  margin-bottom: 12px;
}
.feat-card-btn {
  display: inline-block;
  background: rgba(255,255,255,0.22);
  font-family: var(--font-display); font-size: 13px; font-weight: 700;
  color: #fff; padding: 6px 15px; border-radius: 20px;
  transition: background 0.15s;
  width: fit-content;
  border: 1px solid rgba(255,255,255,0.3);
}
.feat-card:hover .feat-card-btn { background: rgba(255,255,255,0.32); }

/* Card colour variants */
.fc-blue   { background: #1d4ed8; }
.fc-purple { background: #7c3aed; }
.fc-teal   { background: #0d9488; }
.fc-amber  { background: #b45309; }
.fc-pink   { background: #be185d; }
.fc-green  { background: #15803d; }

/* ========================================
   VIDEO CAROUSEL (inside hero)
   ======================================== */
.vid-carousel {
  width: 100%; min-width: 0;
  background: rgba(0,0,0,0.38);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}
.vid-carousel-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 13px;
  background: rgba(200,0,0,0.2);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.vid-carousel-title {
  display: flex; align-items: center; gap: 9px;
  font-family: var(--font-display); font-size: 18px; font-weight: 700;
  color: var(--white);
}
.vid-yt-icon { width: 22px; height: 22px; fill: #ff2222; flex-shrink: 0; }
.vid-subscribe {
  font-family: var(--font-display); font-size: 15px; font-weight: 700;
  color: var(--accent); padding: 5px 14px;
  border-radius: 20px; border: 1px solid rgba(232,160,32,0.5);
  white-space: nowrap; transition: background 0.15s;
}
.vid-subscribe:hover { background: rgba(232,160,32,0.18); }

.vid-slides-wrap { overflow: hidden; width: 100%; }
.vid-slides {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.4,0,0.2,1);
  will-change: transform;
}
.vid-slide { min-width: 100%; flex-shrink: 0; }

.vid-thumb-link {
  display: block; position: relative; overflow: hidden;
  width: 100%; height: 200px; background: #0a1e38;
}
.vid-thumb-link img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.35s ease;
}
.vid-thumb-link:hover img { transform: scale(1.03); }
.vid-play-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.22); transition: background 0.2s;
}
.vid-thumb-link:hover .vid-play-overlay { background: rgba(0,0,0,0.08); }
.vid-play-btn {
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,0.93);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.45);
  transition: transform 0.2s, background 0.2s;
}
.vid-thumb-link:hover .vid-play-btn { transform: scale(1.1); background: var(--accent); }
.vid-play-btn svg { width: 20px; height: 20px; fill: var(--navy); margin-left: 3px; }

.vid-slide-info { padding: 8px 14px 7px; }
.vid-slide-cat {
  display: inline-block;
  font-family: var(--font-display); font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.2px;
  color: var(--accent); margin-bottom: 4px;
}
.vid-slide-title {
  font-family: var(--font-display); font-size: 18px; font-weight: 700;
  color: var(--white); line-height: 1.3;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.vid-controls {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; padding: 6px 16px 10px;
}
.vid-prev, .vid-next {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  color: var(--white); border-radius: 50%;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; line-height: 1; padding: 0;
  transition: background 0.15s, transform 0.1s;
  font-family: sans-serif;
}
.vid-prev:hover, .vid-next:hover { background: var(--accent); color: var(--navy); transform: scale(1.1); }
.vid-dots { display: flex; gap: 9px; align-items: center; }
.vid-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,0.28);
  border: none; padding: 0;
  transition: background 0.2s, transform 0.2s;
}
.vid-dot.active { background: var(--accent); transform: scale(1.4); }

/* ========================================
   MAIN PAGE BODY
   ======================================== */
.page-body { max-width: 1300px; margin: 0 auto; padding: 20px 28px 50px; }

/* Inline ad unit inside body */
.ad-container {
  width: 100%; text-align: center;
  padding: 10px 0; margin: 0 0 20px;
  overflow: hidden;
}

/* ========================================
   SECTION BLOCKS
   ======================================== */
.section-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s, transform 0.2s;
}
.section-block:hover { box-shadow: var(--shadow-md); }

/* Section header bar */
.section-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 18px;
  border-bottom: 3px solid var(--navy);
}
.section-title-link {
  font-family: var(--font-display); font-size: 18px; font-weight: 800;
  color: var(--navy); display: flex; align-items: center; gap: 8px;
}
.s-icon { font-size: 18px; }
.see-more-link {
  font-family: var(--font-display); font-size: 15px; font-weight: 700;
  color: var(--white); background: var(--navy);
  padding: 5px 14px; border-radius: 20px;
  transition: background 0.15s, transform 0.1s;
  white-space: nowrap;
}
.see-more-link:hover { background: var(--navy-light); transform: translateY(-1px); }

/* Colour variants */
.sh-navy   { border-color: var(--navy);   background: linear-gradient(90deg,#e8f0f8,#f4f7fc); }
.sh-navy   .section-title-link { color: var(--navy); }
.sh-navy   .see-more-link { background: var(--navy); }
.sh-green  { border-color: var(--green);  background: linear-gradient(90deg,#e5f5eb,#f1faf4); }
.sh-green  .section-title-link { color: var(--green); }
.sh-green  .see-more-link { background: var(--green); }
.sh-orange { border-color: var(--orange); background: linear-gradient(90deg,#fbeee6,#fdf5ef); }
.sh-orange .section-title-link { color: var(--orange); }
.sh-orange .see-more-link { background: var(--orange); }
.sh-purple { border-color: var(--purple); background: linear-gradient(90deg,#ede7f8,#f5f0fc); }
.sh-purple .section-title-link { color: var(--purple); }
.sh-purple .see-more-link { background: var(--purple); }
.sh-teal   { border-color: var(--teal);   background: linear-gradient(90deg,#e4f4f7,#f0fafc); }
.sh-teal   .section-title-link { color: var(--teal); }
.sh-teal   .see-more-link { background: var(--teal); }
.sh-red    { border-color: var(--red);    background: linear-gradient(90deg,#f8e8e8,#fdf2f2); }
.sh-red    .section-title-link { color: var(--red); }
.sh-red    .see-more-link { background: var(--red); }
.sh-accent { border-color: var(--accent-dark); background: linear-gradient(90deg,#fdf0d8,#fef8ec); }
.sh-accent .section-title-link { color: #7a5008; }
.sh-accent .see-more-link { background: var(--accent-dark); }

/* 3-column layout */
.section-body { display: grid; grid-template-columns: 320px 280px 1fr; }

/* ========================================
   COL 1: FEATURED IMAGE + TITLE
   ======================================== */
.col-featured {
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column; overflow: hidden;
}
.hero-img-link {
  display: block; position: relative; overflow: hidden;
}
.hero-img-link img {
  width: 100%; height: 230px;
  object-fit: cover; display: block;
  transition: transform 0.4s ease;
}
.hero-img-link:hover img { transform: scale(1.06); }
.featured-badge {
  position: absolute; top: 9px; left: 9px;
  background: var(--navy); color: var(--white);
  font-size: 10px; font-family: var(--font-display); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.9px;
  padding: 3px 9px; border-radius: 4px;
}
.hero-article-title {
  font-family: var(--font-display); font-size: 16px; font-weight: 700;
  color: var(--text-main); line-height: 1.38;
  display: block; padding: 12px 14px 14px;
  border-top: 3px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.hero-article-title:hover { color: var(--navy); border-top-color: var(--accent); }

/* ========================================
   COL 2: TWO THUMBNAIL ITEMS
   ======================================== */
.col-thumbs {
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column;
}
.thumb-item {
  display: flex; flex-direction: column; text-decoration: none;
  flex: 1; overflow: hidden;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}
.thumb-item:last-child { border-bottom: none; }
.thumb-item:hover { background: #f6f9fd; }
.thumb-img-wrap {
  width: 100%; height: 120px;
  overflow: hidden; position: relative; background: #d0e2f4; flex-shrink: 0;
}
.thumb-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover; transition: transform 0.3s ease;
}
.thumb-item:hover .thumb-img-wrap img { transform: scale(1.07); }
.thumb-title {
  font-family: var(--font-display); font-size: 15px; font-weight: 700;
  color: var(--text-main); line-height: 1.38;
  display: block; padding: 9px 12px 10px;
  transition: color 0.15s;
}
.thumb-item:hover .thumb-title { color: var(--navy); }

/* ========================================
   COL 3: MULTI-COLUMN LINK GRID
   ======================================== */
.col-links { padding: 10px 16px 12px; overflow: hidden; }
.col-links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 8px;
}
.link-item {
  display: flex; align-items: flex-start; gap: 8px;
  padding: 5px 0; border-bottom: 1px solid var(--border);
  font-family: var(--font-display); font-size: 14px; font-weight: 500;
  color: var(--text-body); text-decoration: none;
  transition: color 0.12s; white-space: normal;
  word-break: break-word; line-height: 1.35;
}
.link-item:hover { color: var(--navy); }
.link-item:hover .link-bullet { opacity: 1; }
.link-bullet {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--navy-mid); flex-shrink: 0; opacity: 0.4;
  transition: opacity 0.12s;
}
.bullet-green  .link-bullet { background: var(--green); }
.bullet-orange .link-bullet { background: var(--orange); }
.bullet-purple .link-bullet { background: var(--purple); }
.bullet-teal   .link-bullet { background: var(--teal); }
.bullet-red    .link-bullet { background: var(--red); }
.bullet-accent .link-bullet { background: var(--accent-dark); }

/* ========================================
   PILL LINKS (compact sections)
   ======================================== */
.section-body-pills {
  display: flex; flex-wrap: wrap;
  gap: 9px; padding: 15px 18px 17px;
}
.pill-link {
  display: inline-flex; align-items: center;
  font-family: var(--font-display); font-size: 16px; font-weight: 600;
  color: var(--navy-mid);
  background: #eaf0f8;
  border: 1.5px solid #c8d6e6;
  border-radius: 22px;
  padding: 7px 16px;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.12s;
  white-space: nowrap;
}
.pill-link:hover {
  background: var(--navy); color: var(--white);
  border-color: var(--navy); transform: translateY(-2px);
}
/* pill colour variants */
.pills-green  .pill-link { color: var(--green);  background: #e8f6ee; border-color: #b0d9be; }
.pills-green  .pill-link:hover { background: var(--green); color:#fff; border-color:var(--green); }
.pills-orange .pill-link { color: var(--orange); background: #fdf0e8; border-color: #e2b898; }
.pills-orange .pill-link:hover { background: var(--orange); color:#fff; border-color:var(--orange); }
.pills-purple .pill-link { color: var(--purple); background: #f0eafa; border-color: #c4aee6; }
.pills-purple .pill-link:hover { background: var(--purple); color:#fff; border-color:var(--purple); }
.pills-teal   .pill-link { color: var(--teal);   background: #e8f5f8; border-color: #a4d0d8; }
.pills-teal   .pill-link:hover { background: var(--teal); color:#fff; border-color:var(--teal); }
.pills-red    .pill-link { color: var(--red);    background: #faebeb; border-color: #daa8a8; }
.pills-red    .pill-link:hover { background: var(--red); color:#fff; border-color:var(--red); }
.pills-accent .pill-link { color: #7a5008; background: #fdf4e4; border-color: #d8b468; }
.pills-accent .pill-link:hover { background: var(--accent-dark); color:#fff; border-color:var(--accent-dark); }
.pills-navy   .pill-link { color: var(--navy);   background: #eaf0f8; border-color: #b8cede; }
.pills-navy   .pill-link:hover { background: var(--navy); color:#fff; border-color:var(--navy); }

/* Compact grid (few items) */
.section-body-compact {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  padding: 11px 18px 13px; gap: 1px 8px;
}
.compact-link {
  display: flex; align-items: center; gap: 7px;
  padding: 5px 0; font-family: var(--font-display); font-size: 15px; font-weight: 500;
  color: var(--text-body); text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: color 0.12s; white-space: nowrap; overflow: hidden;
}
.compact-link:hover { color: var(--navy); }
.compact-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--navy-mid); flex-shrink: 0; opacity: 0.35; }

/* ========================================
   LAYOUT GRIDS
   ======================================== */
.two-col-grid   { display: grid; grid-template-columns: 1fr 1fr;     gap: 20px; margin-bottom: 20px; }
.three-col-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.two-col-grid   .section-block,
.three-col-grid .section-block { margin-bottom: 0; }

/* ========================================
   FOOTER
   ======================================== */
.site-footer { background: var(--navy); color: #9ab5cc; margin-top: 32px; text-align: left;}
.site-footer ul { padding: 0; list-style: none; }
.site-footer li { padding: 0; }
.footer-top {
  max-width: 1300px; margin: 0 auto; padding: 40px 28px 28px;
  display: grid; grid-template-columns: 270px 1fr 1fr 1fr; gap: 44px;
}
/* footer text logo replaced with image logo */
.footer-logo { margin-bottom: 13px; }
.footer-logo img {
  height: 40px;
  width: auto;
  display: block;
  transition: opacity 0.15s;
}
.footer-logo:hover img { opacity: 0.8; }
.footer-desc { font-size: 14px; line-height: 1.65; margin-bottom: 16px; color: #7a9ab5; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.15s, filter 0.15s;
}
.footer-social a:hover { transform: scale(1.14); filter: brightness(1.15); }
.footer-social svg { width: 16px; height: 16px; }
.footer-social a.fb { background: #1877f2; }
.footer-social a.fb svg { fill: #fff; }
.footer-social a.yt { background: #ff0000; }
.footer-social a.yt svg { fill: #fff; }
.footer-social a.ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.footer-social a.ig svg { fill: #fff; stroke: #fff; }
.footer-social a.li { background: #0077b5; }
.footer-social a.li svg { fill: #fff; }
.footer-col h4 {
  font-family: var(--font-display); font-size: 15px; font-weight: 700;
  color: var(--white); margin-bottom: 13px; padding-bottom: 9px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-col ul { display: flex; flex-direction: column; gap: 7px; }
.footer-col ul li a { font-size: 15px; color: #7a9ab5; transition: color 0.12s; }
.footer-col ul li a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.09); padding: 16px 28px;
  max-width: 1300px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.footer-copy { font-size: 14px; color: #5a7a96; }
.footer-links { display: flex; gap: 18px; }
.footer-links a { font-size: 14px; color: #5a7a96; transition: color 0.12s; }
.footer-links a:hover { color: var(--accent); }

/* Scroll-to-top */
.scroll-top {
  position: fixed; bottom: 22px; right: 22px;
  width: 42px; height: 42px;
  background: var(--navy); color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; box-shadow: var(--shadow-md);
  opacity: 0.88; transition: opacity 0.15s, background 0.15s; z-index: 50;
}
.scroll-top:hover { opacity: 1; background: var(--navy-light); }

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1150px) {
  .hero-inner { grid-template-columns: 360px 1fr; gap: 16px; }
  .feat-card { min-height: 120px; }
  .vid-thumb-link { height: 175px; }
  .section-body { grid-template-columns: 280px 240px 1fr; }
}
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 300px 1fr; gap: 14px; }
  .feat-card { min-height: 112px; padding: 12px 12px 10px; }
  .feat-card-title { font-size: 14px; }
  .feat-card-sub { font-size: 12px; }
  .feat-card-btn { font-size: 12px; padding: 5px 12px; }
  .vid-thumb-link { height: 155px; }
  .section-body { grid-template-columns: 240px 200px 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 26px; }
  .three-col-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .header-inner { padding: 0 16px; }
  .hero-inner { grid-template-columns: 1fr; gap: 14px; }
  .hero { padding: 18px 16px; }
  .feat-cards-grid { grid-template-columns: repeat(3, 1fr); }
  .feat-card { min-height: 100px; }
  .feat-card-sub { display: none; }
  .vid-thumb-link { height: 200px; }
  .section-body { grid-template-columns: 1fr; }
  .col-featured { border-right: none; border-bottom: 1px solid var(--border); }
  .col-thumbs { border-right: none; flex-direction: row; }
  .thumb-item { width: 50%; flex: none; }
  .two-col-grid, .three-col-grid { grid-template-columns: 1fr; }
  .nav-toggle-label { display: flex; }
  .main-nav {
    display: none; position: absolute; top: 62px; left: 0; right: 0;
    background: var(--navy-mid); flex-direction: column;
    padding: 6px 0; gap: 0; margin-left: 0; flex: none;
    box-shadow: 0 8px 20px rgba(0,0,0,0.35);
  }
  .nav-toggle:checked ~ .main-nav { display: flex; }
  .nav-close { display: block; }
  .main-nav a { border-radius: 0; padding: 12px 22px; font-size: 15px; }
  .nav-sep { display: none; }
  .footer-top { grid-template-columns: 1fr; gap: 22px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .header-social { display: none; }
  .page-body { padding: 14px 16px 36px; }
  .ad-banner-inner { padding: 8px 16px; }
  /* Latest Articles: hide hero panel, show mobile strip */
  .lat-hero-wrap { display: none; }
  .lat-mobile-section { display: block; }
}
@media (max-width: 480px) {
  .hero { padding: 14px 12px; }
  .feat-cards-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .feat-card { min-height: 90px; padding: 12px 10px 10px; }
  .feat-card-title { font-size: 13px; }
  .feat-card-deco { font-size: 30px; }
  .vid-thumb-link { height: 175px; }
  .pill-link { font-size: 13px; padding: 6px 13px; }
}

/* ========================================
   CATEGORY PAGES
   Targets .subcategory, .body-sec,
   .subcategory-topic ul li, .intro-msg
   Works for career.htm, aptitude.htm etc.
   ======================================== */

/* Hide old header elements rendered by header.js */
.headertopright,
.grid_10,
.social-icons { display: none !important; }

/* ── Category hero banner ── */
section.subcategory {
  background: linear-gradient(130deg, #091c36 0%, #163354 50%, #1b4270 100%);
  border-bottom: 3px solid var(--accent);
  padding: 0; margin: 0;
}
section.subcategory .container_16 {
  max-width: 1300px !important;
  margin: 0 auto;
  padding: 28px 28px 24px;
  width: 100% !important;
}
.subcategory-title {
  display: flex; flex-direction: column; gap: 6px;
}
.cat-breadcrumb {
  font-family: var(--font-display); font-size: 13px;
  color: rgba(255,255,255,0.55);
}
.cat-breadcrumb a { color: var(--accent); text-decoration: none; }
.cat-breadcrumb a:hover { text-decoration: underline; }
.subcategory-title h1 {
  font-family: var(--font-display);
  font-size: 40px; font-weight: 800;
  color: var(--white); margin: 0;
  line-height: 1.15; letter-spacing: -1px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
.cat-intro {
  font-family: var(--font-body);
  font-size: 1.15rem; font-weight: 400;
  color: rgba(255,255,255,0.88);
  margin: 8px 0 0; line-height: 1.7;
  max-width: auto;
}
.cat-intro h2 {
  font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 600;
  color: rgba(255,255,255,0.95);
  margin: 0 0 6px 0;
}
.cat-meta {
  display: flex; gap: 14px; margin-top: 14px;
  align-items: center; flex-wrap: wrap;
}
.cat-count {
  background: var(--amber);
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 12px; font-weight: 700;
  padding: 3px 12px; border-radius: 20px;
  letter-spacing: 0.3px;
}
.cat-pub {
  font-family: var(--font-body);
  font-size: 12px; color: rgba(255,255,255,0.50);
}

/* ── Hero responsive ── */
@media (max-width: 768px) {
  .subcategory-title h1 { font-size: 30px; letter-spacing: -0.5px; }
  .cat-intro { font-size: 0.92rem; }
}
@media (max-width: 480px) {
  .subcategory-title h1 { font-size: 24px; }
}

/* ── Body section wrapper ── */
section.body-sec {
  background: var(--off-white);
  padding: 24px 0 48px;
}
section.body-sec .container_16 {
  max-width: 1300px !important;
  margin: 0 auto;
  padding: 0 28px;
  width: 100% !important;
  display: block !important;
}
section.body-sec .grid_2 { display: none !important; }
section.body-sec .grid_12 {
  width: 100% !important;
  margin: 0 !important; padding: 0 !important;
}

/* ── Intro message from DB ── */
.intro-msg {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 22px;
  font-family: var(--font-body);
  font-size: 15px; color: var(--text-body);
  line-height: 1.65;
  box-shadow: var(--shadow-sm);
}

/* ── Ad unit inside body ── */
.subcategory-topic ins.adsbygoogle {
  margin-bottom: 20px;
}

/* ── Topic list → card grid ── */
.subcategory-topic ul {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)) !important;
  gap: 10px !important;
  list-style: none !important;
  padding: 0 !important; margin: 0 !important;
}
.subcategory-topic ul li {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.18s;
  position: relative;
  list-style: none !important;
}
.subcategory-topic ul li:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

/* Coloured top bar — 7 colours cycling */
.subcategory-topic ul li::before {
  content: ''; display: block; height: 4px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.subcategory-topic ul li:nth-child(7n+1)::before { background: #2563eb; }
.subcategory-topic ul li:nth-child(7n+2)::before { background: #7c3aed; }
.subcategory-topic ul li:nth-child(7n+3)::before { background: #0d9488; }
.subcategory-topic ul li:nth-child(7n+4)::before { background: #b45309; }
.subcategory-topic ul li:nth-child(7n+5)::before { background: #be185d; }
.subcategory-topic ul li:nth-child(7n+6)::before { background: #15803d; }
.subcategory-topic ul li:nth-child(7n+7)::before { background: #dc2626; }

/* Link inside card */
.subcategory-topic ul li a {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 13px 16px !important;
  font-family: var(--font-display) !important;
  font-size: 14px !important; font-weight: 600 !important;
  color: var(--text-main) !important;
  text-decoration: none !important;
  line-height: 1.35 !important; min-height: 52px !important;
  transition: color 0.15s !important;
}
.subcategory-topic ul li a:hover { color: var(--navy) !important; }

/* Arrow appears on hover */
.subcategory-topic ul li a::after {
  content: '→'; font-size: 13px;
  color: var(--text-muted); flex-shrink: 0;
  opacity: 0; margin-left: 6px;
  transition: opacity 0.15s, transform 0.15s;
}
.subcategory-topic ul li:hover a::after {
  opacity: 1; transform: translateX(3px);
  color: var(--navy);
}

/* ── Responsive — category pages ── */
@media (max-width: 1024px) {
  .subcategory-topic ul {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)) !important;
  }
}
@media (max-width: 768px) {
  section.subcategory .container_16 { padding: 20px 16px; }
  .subcategory-title p { font-size: 26px; }
  section.body-sec .container_16 { padding: 0 16px; }
  .subcategory-topic ul {
    grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)) !important;
    gap: 8px !important;
  }
}
@media (max-width: 480px) {
  .subcategory-title p { font-size: 22px; }
  .subcategory-topic ul {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 7px !important;
  }
  .subcategory-topic ul li a {
    font-size: 13px !important;
    padding: 11px 12px !important;
    min-height: 46px !important;
  }
}

/* ── Topic card: name, desc, date ── */
.topic-link {
  display: flex; flex-direction: column;
  gap: 2px; width: 100%; height: 100%;
  box-sizing: border-box; text-decoration: none;
}
.topic-name {
  font-family: var(--font-display);
  font-size: 17px; font-weight: 600;
  color: var(--text-main); line-height: 1.35;
}
.topic-item:hover .topic-name { color: var(--navy); }
.topic-desc {
  font-family: var(--font-body);
  font-size: 12px; color: #666; line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden; margin-top: 2px;
}
.topic-meta {
  display: flex; justify-content: flex-end;
  margin-top: auto; padding-top: 6px;
}
.topic-date {
  font-size: 11px; color: #bbb;
  font-family: var(--font-body);
  font-style: italic;
  margin-top: auto;
  padding-top: 6px;
  align-self: flex-end;
  display: block;
  text-align: right;
  width: 100%;
}



/* ========================================
   EDITORIAL TRUST / FOUNDERS
   ======================================== */
.editorial-trust {
  background: var(--off-white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 32px 28px;
}
.editorial-trust-inner {
  max-width: 1300px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 40px; align-items: center;
}
.editorial-trust-heading {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 800;
  color: var(--navy); margin-bottom: 10px;
}
.editorial-trust-text p {
  font-family: var(--font-body);
  font-size: 15px; color: var(--text-body); line-height: 1.7;
}
.founders-grid { display: flex; gap: 16px; flex-wrap: wrap; }
.founder-card {
  display: flex; align-items: center; gap: 12px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 14px 18px;
  flex: 1; min-width: 200px; box-shadow: var(--shadow-sm);
}
.founder-avatar {
  width: 48px; height: 48px;
  min-width: 48px; min-height: 48px;
  max-width: 48px; max-height: 48px;
  border-radius: 50%;
  background: var(--navy); color: var(--white);
  font-family: var(--font-display);
  font-size: 15px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.founder-info { display: flex; flex-direction: column; gap: 2px; }
.founder-name {
  font-family: var(--font-display);
  font-size: 15px; font-weight: 700; color: var(--navy);
}
.founder-role {
  font-family: var(--font-body);
  font-size: 13px; color: var(--text-muted);
}
.founder-socials { display: flex; gap: 8px; margin-top: 6px; }
.founder-socials a {
  width: 28px; height: 28px;
  min-width: 28px; min-height: 28px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--off-white); border: 1px solid var(--border);
  transition: transform 0.15s;
}
.founder-socials a:hover { transform: scale(1.15); }
.founder-socials svg { width: 13px; height: 13px; fill: var(--navy); }

@media (max-width: 768px) {
  .editorial-trust { padding: 24px 16px; }
  .editorial-trust-inner { grid-template-columns: 1fr; gap: 24px; }
  .founders-grid { flex-direction: column; }
}

/* ========================================
   LATEST ARTICLES SECTION (homepage)
   lat-* prefix — isolated from other styles
   ======================================== */
.lat-section {
  background: var(--white);
  border-bottom: 2px solid var(--accent);
  padding: 20px 28px 24px;
}
.lat-header {
  display: flex; align-items: center;
  justify-content: space-between; margin-bottom: 16px;
}
.lat-heading {
  display: flex; align-items: center; gap: 10px;
}
.lat-heading-bar {
  width: 4px; height: 22px;
  background: var(--accent); border-radius: 2px;
}
.lat-heading-text {
  font-family: var(--font-display);
  font-size: 17px; font-weight: 800;
  color: var(--navy); margin: 0;
}
.lat-heading-badge {
  background: var(--navy); color: var(--accent);
  font-family: var(--font-display);
  font-size: 11px; font-weight: 700;
  padding: 2px 10px; border-radius: 20px;
  letter-spacing: 0.3px;
}
.lat-see-all {
  font-family: var(--font-body);
  font-size: 13px; color: var(--navy);
  text-decoration: none;
  border: 1px solid var(--border);
  padding: 4px 14px; border-radius: 20px;
  transition: background 0.15s;
}
.lat-see-all:hover { background: var(--off-white); }
.lat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.lat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex; flex-direction: column; gap: 6px;
  text-decoration: none; color: inherit;
  transition: box-shadow 0.18s, border-color 0.18s;
}
.lat-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}
.lat-badge {
  font-family: var(--font-display);
  font-size: 11px; font-weight: 600;
  background: var(--off-white); color: var(--navy-mid);
  padding: 2px 8px; border-radius: 4px;
  align-self: flex-start;
}
.lat-title {
  font-family: var(--font-display);
  font-size: 14px; font-weight: 700;
  color: var(--navy); line-height: 1.35;
}
.lat-card:hover .lat-title { color: var(--accent-dark); }
.lat-desc {
  font-family: var(--font-body);
  font-size: 12px; color: var(--text-body);
  line-height: 1.45; flex: 1;
}
.lat-date {
  font-family: var(--font-body);
  font-size: 11px; color: #aaa;
  font-style: italic; margin-top: 2px;
  align-self: flex-end;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .lat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .lat-grid { grid-template-columns: 1fr; }
  .lat-section { padding: 16px; }
}

/* ========================================
   LATEST ARTICLES IN HERO
   ======================================== */
#latest-section {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 8px !important;
}
#latest-section a {
  background: #fff !important;
  border: 1px solid #dde3eb !important;
  border-left: 4px solid #e8a020 !important;
  border-radius: 6px !important;
  padding: 12px 14px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  text-decoration: none !important;
  color: inherit !important;
  transition: box-shadow 0.15s !important;
}
#latest-section a:hover {
  box-shadow: 0 3px 10px rgba(15,39,68,0.15) !important;
}
#latest-section .lat-badge {
  font-size: 11px !important;
  font-weight: 600 !important;
  padding: 2px 8px !important;
  border-radius: 3px !important;
  align-self: flex-start !important;
}
#latest-section .lat-title {
  font-size: 17px !important;
  font-weight: 700 !important;
  color: #0f2744 !important;
  line-height: 1.3 !important;
}
#latest-section .lat-desc {
  font-size: 15px !important;
  color: #555 !important;
  line-height: 1.35 !important;
}
#latest-section .lat-date {
  font-size: 11px !important;
  color: #bbb !important;
  font-style: italic !important;
  align-self: flex-end !important;
  margin-top: auto !important;
}

/* ========================================
   LATEST ARTICLES — HERO RIGHT PANEL
   ======================================== */

/* Desktop: sits as right column inside hero-inner grid */
.lat-hero-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.lat-hero-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 6px;
  border-bottom: 2px solid rgba(255,255,255,0.15);
}

.lat-heading-bar {
  width: 4px; height: 18px;
  background: var(--accent);
  border-radius: 2px;
  flex-shrink: 0;
}

.lat-heading-text {
  font-family: var(--font-display);
  font-size: 15px; font-weight: 700;
  color: #fff;
  letter-spacing: 0.3px;
}

.lat-heading-badge {
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-size: 10px; font-weight: 700;
  padding: 2px 7px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Mobile latest articles strip — hidden on desktop */
.lat-mobile-section {
  display: none;
  background: var(--navy);
  padding: 14px 16px 16px;
}

.lat-mobile-section .lat-hero-heading {
  margin-bottom: 10px;
}


/* ========================================
   BLOCK GOOGLE AD INJECTION IN CONTENT
   ======================================== */
.section-block { isolation: isolate; }
.section-body ins[data-ad-format], .section-body .adsbygoogle,
.section-body [data-google-query-id],
.col-featured ins, .col-featured .adsbygoogle,
.col-thumbs ins, .col-thumbs .adsbygoogle,
.col-links ins, .col-links .adsbygoogle,
ins.adsbygoogle[data-ad-format="autorelaxed"] {
  display: none !important; width: 0 !important; height: 0 !important;
  overflow: hidden !important; pointer-events: none !important;
}
/* ========================================
   FEATURE CARDS STRIP — 6x1
   ======================================== */
.feat-cards-strip {
  background: var(--navy);
  padding: 12px 28px 22px;
}

.feat-cards-strip-inner {
  display: grid !important;
  grid-template-columns: repeat(6, 1fr) !important;
  gap: 10px !important;
  max-width: 1300px !important;
  margin: 0 auto !important;
}

/* Responsive */
@media (max-width: 1024px) {
  #latest-section { grid-template-columns: repeat(2, 1fr) !important; }
  .feat-cards-strip {
  background: var(--navy);
  padding: 12px 28px 22px;
}

.feat-cards-strip-inner { grid-template-columns: repeat(3, 1fr) !important; }
}
@media (max-width: 768px) {
  #latest-section { grid-template-columns: repeat(2, 1fr) !important; }
  .feat-cards-strip {
  background: var(--navy);
  padding: 12px 28px 22px;
}

.feat-cards-strip-inner { grid-template-columns: repeat(3, 1fr) !important; }
}
@media (max-width: 480px) {
  #latest-section { grid-template-columns: 1fr !important; }
  .feat-cards-strip {
  background: var(--navy);
  padding: 12px 28px 22px;
}

.feat-cards-strip-inner { grid-template-columns: repeat(2, 1fr) !important; }
}





/* Menu items left — topic tabs */


/* Answer buttons */


/* Code blocks */


/* Aptitude table */
table.apti-tbl-answer { width: auto; }
table.apti-tbl-answer td { text-align: center; border: 0; }
i.apti-var { font-style: italic; margin: 0 1px; }
i.apti-bar { font-style: normal; text-decoration: overline; margin: 0 1px; }
i.apti-def { font-weight: 700; color: #555; font-style: normal; }
i.apti-formula, i.apti-facts { color: #f0f; font-style: normal; font-weight: 700; }


/* Highlighters */


/* Related links */


/* Toggle answer blocks */
#z1,#z2,#z3,#z4,#z5,#z6,#z7,#z8,#z9,#z10,#z11,#z12,#z13,#z14,#z15,#z16,#z17,#z18,#z19,#z20,#z21,#z22,#z23,#z24,#z25,#z26,#z27,#z28,#z29,#z30,#z31,#z32,#z33,#z34,#z35,#z36,#z37,#z38,#z39,#z40,#z41,#z42,#z43,#z44,#z45,#z46,#z47,#z48,#z49,#z50,#z51,#z52,#z53,#z54,#z55,#z56,#z57,#z58,#z59,#z60 { margin: -11px 0 10px; padding: 0 10px; border: 1px solid #006699; display: none; }
#y1,#y2,#y3,#y4,#y5,#y6,#y7,#y8,#y9,#y10,#y11,#y12,#y13,#y14,#y15,#y16,#y17,#y18,#y19,#y20,#y21,#y22,#y23,#y24,#y25,#y26,#y27,#y28,#y29,#y30,#y31,#y32,#y33,#y34,#y35,#y36,#y37,#y38,#y39,#y40,#y41,#y42,#y43,#y44,#y45,#y46,#y47,#y48,#y49,#y50,#y51,#y52,#y53,#y54,#y55,#y56,#y57,#y58,#y59,#y60 { margin: -11px 0 10px; padding: 0 10px; border: 1px solid #006699; display: none; }

/* ========================================
   ARTICLE / CONTENT PAGE LAYOUT
   ======================================== */

/* Override old CSS nav and header */
nav { background-color: #0f2744 !important; box-shadow: none !important; }
header { background: #0f2744 !important; box-shadow: 0 2px 12px rgba(0,0,0,0.35) !important; position: sticky !important; top: 0 !important; }

.art-page-wrap { background: #f2f5f9; min-height: 100vh; }

.art-hero {
  background: linear-gradient(130deg, #091c36 0%, #163354 50%, #1b4270 100%);
  padding: 20px 28px 22px;
}
.art-hero-inner { max-width: 1300px; margin: 0 auto; }
.art-breadcrumb { margin-bottom: 10px; }
.art-breadcrumb > div { font-size: 15px; color: rgba(255,255,255,0.8); }
.art-breadcrumb > div > a { font-size: 15px; color: rgba(255,255,255,0.8); text-decoration: none; }
.art-breadcrumb > div > a:hover { color: #e8a020; }
.art-hero-title { font-family: var(--font-display); font-size: 24px; font-weight: 700; color: #fff; line-height: 1.3; margin-top: 8px; }

.art-hero-meta {
  display: flex; align-items: center; gap: 14px;
  margin-top: 10px; flex-wrap: wrap;
}
.art-readtime {
  font-family: var(--font-body); font-size: 13px; font-weight: 600;
  color: #0f2744;
  background: #e8a020;
  padding: 3px 11px; border-radius: 20px;
}
.art-updated {
  font-family: var(--font-body); font-size: 13px;
  color: #ffffff;
}

.art-layout {
  display: grid;
  grid-template-columns: 1fr 260px;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 28px 50px;
  align-items: start;
  background: #fff;
}
.art-main {
  padding: 20px 24px 20px 0;
  min-width: 0;
  border-right: 1px solid #dde3ec;
  background: #fff;
}
.art-prevnext { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.art-prevnext div { flex: none; }
.art-prevnext div a {
  display: inline-block;
  padding: 7px 18px;
  border: 1px solid #0f2744;
  border-radius: 6px;
  text-decoration: none;
  background: #fff;
  font-size: 17px;
  color: #0f2744;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}
.art-prevnext div a:hover { background: #0f2744; color: #fff; text-decoration: none; }

.art-ad-slot { margin: 20px 0; text-align: center; }

.art-sidebar-right { padding: 20px 0 20px 20px; position: sticky; top: 20px; background: #fff; }
.art-related-box { background: #fff; border: 1px solid #dde3ec; border-radius: 10px; overflow: hidden; }
.art-related-box h4 { font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px; color: #888; padding: 10px 14px; margin: 0; background: #f5f7fa; border-bottom: 1px solid #dde3ec; }
.art-related-box ul { list-style: none; margin: 0; padding: 0; }
.art-related-box ul li { border-bottom: 1px solid #dde3ec; }
.art-related-box ul li:last-child { border-bottom: none; }
.art-related-box ul li a { display: block; padding: 8px 14px; font-size: 17px; color: #333; text-decoration: none; transition: background 0.15s; }
.art-related-box ul li a:hover { background: #f0f5fb; color: #0f2744; }

/* Block Related Search auto ads */
ins.adsbygoogle[data-ad-format="autorelaxed"],
ins.adsbygoogle[data-matched-content-ui-type] { display: none !important; width: 0 !important; height: 0 !important; pointer-events: none !important; }

@media (max-width: 1024px) {
  .art-layout { grid-template-columns: 1fr 220px; padding: 0 16px 36px; }
  .art-hero-title { font-size: 20px; }
  .art-hero { padding: 16px 16px 20px; }
}
@media (max-width: 768px) {
  .art-layout { grid-template-columns: 1fr; padding: 0 16px 36px; }
  .art-hero { padding: 16px; }
  .art-hero-title { font-size: 18px; }
  .art-main { padding: 16px 0; border-right: none; }
  .art-sidebar-right { position: static; padding: 0; }
  .art-prevnext { flex-wrap: wrap; gap: 8px; }
}
