  /* GENERAL STYLES START */
  :root{
    --radius:0.75rem;
    --background:oklch(0.985 0.012 85);
    --foreground:oklch(0.26 0.045 35);
    --surface:oklch(0.965 0.018 82);
    --card:oklch(0.99 0.01 85);
    --popover:oklch(0.995 0.006 85);
    --primary:oklch(0.58 0.16 45);
    --primary-foreground:oklch(0.99 0.01 85);
    --secondary:oklch(0.94 0.03 78);
    --muted-foreground:oklch(0.48 0.04 45);
    --border:oklch(0.72 0.045 65 / 0.4);
    --gold:oklch(0.68 0.13 82);
    --maroon:oklch(0.42 0.13 22);
    --sidebar:oklch(0.97 0.016 82);
    --sidebar-foreground:oklch(0.3 0.045 38);
    --sidebar-accent:oklch(0.93 0.032 78);
    --sidebar-border:oklch(0.74 0.04 65 / 0.45);
    --font-display:"Cormorant Garamond", Georgia, serif;
    --font-sans:"Karla", system-ui, sans-serif;
    --shadow-glow:0 0 0 1px oklch(0.72 0.15 68 / 0.3), 0 18px 45px -22px oklch(0.55 0.14 45 / 0.45);
    --shadow-card:0 12px 30px -20px oklch(0.45 0.08 40 / 0.5);
  }
  *{box-sizing:border-box;}
  body{margin:0;background:var(--background);color:var(--foreground);font-family:var(--font-sans);}
  h1,h2,h3{font-family:var(--font-display);letter-spacing:-0.01em;margin:0;}
  a{text-decoration:none;color:inherit;}
  img{display:block;max-width:100%;}
  .text-gradient-gold{
    background-image:linear-gradient(100deg, oklch(0.62 0.14 70), oklch(0.55 0.18 45) 55%, oklch(0.6 0.15 68));
    -webkit-background-clip:text;background-clip:text;color:transparent;
  }
  .surface-panel{
    background-image:linear-gradient(160deg, oklch(0.995 0.008 85), oklch(0.955 0.022 80));
    border:1px solid var(--border);box-shadow:var(--shadow-card);
  }
  .gold-rule{background-image:linear-gradient(90deg, transparent, oklch(0.68 0.13 70 / 0.7), transparent);}
  .btn-primary{background:var(--primary);color:var(--primary-foreground);box-shadow:var(--shadow-glow);}
  .btn-primary:hover{transform:scale(1.03);}
  .btn-outline{border:1px solid var(--border);background:var(--surface);}
  .btn-outline:hover{background:var(--secondary);}
  .rounded-full{border-radius:9999px;}
  .rounded-2xl{border-radius:1rem;}
  .layout{display:flex;}

  .pad16 {
	  padding:16px;
  }

  .pad20 {
	  padding: 20px;
  }

  /* GENERAL STYLES END */

  /* ---------------------------------------------------------------------------- */

  /* TOP NAVIGATION START */

  header.topnav{
	position:sticky;
	top:0;
	z-index:60;
	border-bottom:1px solid var(--border);
	background:color-mix(in oklab, var(--background) 85%, transparent);
	backdrop-filter:blur(20px);
  }

  .topnav-div {
	  display:flex;
	  align-items:center;
	  gap:12px;
	  height:64px;
	  padding:0 20px;
  }

  .nav-button {
	  border:none;
	  background:none;
	  border-radius:9999px;
	  padding:8px 8px 4px 8px;
	  color:var(--muted-foreground);
	  cursor:pointer;
  }

  .nav-button:hover {
		background: var(--secondary);
		border-radius:9999px;
		transform:scale(1.01);
  }

  .nav-button-dims {
	  width:20px;
	  height:20px;
  }

  .logo-anchor {
	  display:flex;
	  align-items:center;
	  gap:10px;
  }

  .logo {
	  display:grid;
	  place-items:center;
	  height:36px;
	  width:36px;
	  border-radius:9999px;
	  background:var(--primary);
	  color:var(--primary-foreground);
	  font-size:18px;
  }

  .site-name {
	  font-family:var(--font-display);
	  font-size:20px;
	  font-weight:600;
  }

  .logo-anchor {
	flex: 0 0 auto;
	min-width: 0;
  }

  .site-name {
	white-space: nowrap !important;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 180px;
	display: inline-block;
  }

  .mega-menu {
	  margin-left:24px;
	  display:flex;
	  align-items:center;
	  gap:4px;
  }

  .mega-menu-text-dims {
	  width:14px;
	  height:14px;
  }

  .notification-box {
	  margin-left:auto;
	  display:flex;
	  align-items:center;
	  gap:8px;
  }

  .search-box {
	  margin-left: 0px;
	  display:flex;
	  align-items:center;
	  gap:8px;
  }

  .search-placeholder {
	  display:flex;
	  align-items:center;
	  gap:8px;
	  border:1px solid var(--border);
	  background:var(--surface);
	  border-radius:9999px;
	  padding:8px 16px;
  }

  .search-icon {
	  width:16px;
	  height:16px;
	  color:var(--muted-foreground);
  }

  .search-input {
	  width:220px;
	  background:transparent;
	  border:none;
	  outline:none;
	  font-size:14px;
  }

  .notification-icon {
	  width:20px;
	  height:20px;
	  z-index:999;
  }

  .notification-btn{
    width:42px;
    height:42px;
    border:none;
    background:none;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    color:var(--muted-foreground);
    cursor:pointer;
    transition:all .25s ease;
  }

  .notification-btn:hover {
		background: var(--secondary);
		border-radius:9999px;
		transform:scale(1.02);
  }

  .subscribe-btn {
	  display:inline-flex;
	  align-items:center;
	  gap:8px;
	  padding:8px 16px;
	  font-size:14px;
	  font-weight:600;
  }

  .mega-menu-box {
	  max-width:1100px;
	  margin:0 auto;
	  display:grid;
	  grid-template-columns:repeat(4,1fr);
	  gap:32px;
	  padding:32px;
  }

  .mega-menu-box-images {
	  max-width:1100px;
	  margin:0 auto;
	  display:grid;
	  grid-template-columns:repeat(3,1fr);
	  gap:32px;
	  padding:32px;
  }

  .menu-box-image {
	  display:flex !important;
	  align-items:center;
	  gap:12px;
  }

  .menu-box-heading {
	  font-family:var(--font-display);
	  font-size:18px;
  }

  .menu-box-desc {
	  margin-top:8px;
	  font-size:14px;
	  color:var(--muted-foreground);
  }

  .menu-box-browse-link {
	  margin-top:16px;
	  display:inline-block;
	  font-size:14px;
	  font-weight:600;
	  color:var(--primary);
  }

  .mega-menu-image-dims {
	  height:48px;
	  width:48px;
	  border-radius:8px;
	  object-fit:cover;
  }

  .svg-flex {
	  flex-shrink:0;
  }

  main{min-width:0;flex:1;}
  .navlink{display:flex;align-items:center;gap:4px;border-radius:9999px;padding:8px 14px;font-size:14px;color:var(--muted-foreground);background:none;border:none;cursor:pointer;font-family:var(--font-sans);}
  .navlink:hover{color:var(--foreground);}
  .navlink.open{background:var(--secondary);color:var(--foreground);}
  .megamenu{position:absolute;left:0;right:0;top:64px;border-bottom:1px solid var(--border);background:color-mix(in oklab, var(--popover) 98%, transparent);box-shadow:var(--shadow-glow);backdrop-filter:blur(20px);display:none;}
  .megamenu.show{display:block;}
  .mega-col h3{font-size:11px;font-weight:600;letter-spacing:.18em;text-transform:uppercase;color:var(--primary);margin-bottom:12px;}
  .mega-col a{display:block;border-radius:8px;padding:8px 12px;}
  .mega-col a:hover{background:var(--secondary);}
  .mega-col .lbl{display:block;font-size:14px;font-weight:500;}
  .mega-col .sub{display:block;font-size:12px;color:var(--muted-foreground);}

  /* TOP NAVIGATION END */

  /* ---------------------------------------------------------------------------- */

  /* LEFT NAVIGATION START */

  .left-menu-end-desc {
	  padding:24px 20px 0;
	  font-size:12px;
	  line-height:1.5;
	  color:var(--muted-foreground);
  }

  aside.sidebar{
  position:sticky;
  top:64px;
  align-self:stretch;
  min-height:calc(100vh - 64px);
  width:240px;
  flex-shrink:0;
  overflow-y:auto;
  border-right:1px solid var(--sidebar-border);
  background:var(--sidebar);
  padding:16px 0;
  transition:width .3s;
  scrollbar-width:thin;
  scrollbar-color:color-mix(in oklab, var(--primary) 45%, transparent) transparent;
  }
  aside.sidebar.collapsed{width:72px;}
  aside.sidebar::-webkit-scrollbar{width:4px;}
  aside.sidebar::-webkit-scrollbar-track{background:transparent;}
  aside.sidebar::-webkit-scrollbar-thumb{background-color:color-mix(in oklab, var(--primary) 40%, transparent);border-radius:9999px;}
  aside.sidebar::-webkit-scrollbar-thumb:hover{background-color:color-mix(in oklab, var(--primary) 70%, transparent);}
  .cat-card{transition:transform .2s ease;}
  .cat-card:hover{transform:translateY(-4px);}
  .sidebar a{display:flex;align-items:center;gap:16px;padding:10px 12px;margin:0 8px;border-radius:12px;color:var(--sidebar-foreground);font-size:14px;}
  .sidebar a:hover{background:var(--sidebar-accent);}
  .sidebar svg{color:var(--primary);flex-shrink:0;}
  .sidebar-label{padding:0 20px 8px;font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:var(--muted-foreground);}
  .hr{height:1px;background:var(--sidebar-border);margin:12px 0;}

  .hamburger-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: none;
    padding: 8px;
    border-radius: 9999px;
    cursor: pointer;
    color: var(--muted-foreground);
    flex-shrink: 0;
  }
  
  .hamburger-btn:hover {
    background: var(--secondary);
  }

  /* LEFT NAVIGATION END */

  /* ---------------------------------------------------------------------------- */

  /* HERO SECTION START */

  .hero-section {
	  position:relative;
	  overflow:hidden;
  }

  .hero-section-logo-img {
	  inset:0;
	  object-fit:cover;
	  opacity:1;
  }

  .hero-section-bg-img {
	  position:absolute;
	  inset:0;
	  height:100%;
	  width:100%;
	  object-fit:cover;
	  opacity:1;
  }

  .hero-section-main-div {
	  position:absolute;
	  inset:0;
	  background:linear-gradient(to right, var(--background), color-mix(in oklab, var(--background) 95%, transparent), color-mix(in oklab, var(--background) 30%, transparent));
  }

  .hero-section-inner-div {
	  position:relative;
	  max-width:70rem;
	  margin:0 auto;
	  padding:10px 0px;
  }

  .hero-section-top-text-btn {
	  margin-bottom:16px;
	  display:inline-flex;
	  align-items:center;
	  gap:8px;
	  border-radius:9999px;
	  border:1px solid var(--border);
	  background:color-mix(in oklab, var(--surface) 70%, transparent);
	  padding:6px 16px;
	  font-size:12px;
	  letter-spacing:.2em;
	  text-transform:uppercase;
  }

  .hero-section-icon-flame {
	  width:14px;
	  height:14px;
	  color:var(--primary);
  }

  .hero-section-icon-script {
	  width:16px;
	  height:16px;
	  color:var(--primary);
  }

  .site-title-heading {
	  font-size:64px;
	  line-height:1.05;
	  font-weight:600;
  }

  .site-title-subheading {
	font-size: 24px;
	font-weight:600;
    color: var(--muted-foreground);
  }

  .site-title-desc {
	  margin-top:24px;
	  max-width:43rem;
	  font-size:18px;
	  color:var(--muted-foreground);
	  text-align: justify;
  }

  .hero-section-buttons {
	  margin-top:10px;
	  margin-bottom:10px;
	  display:flex;
	  flex-wrap:wrap;
	  gap:12px;
  }

  .hero-section-btn {
	  display:inline-flex;
	  align-items:center;
	  gap:8px;
	  padding:12px 24px;
	  font-size:14px;
	  font-weight:600;
  }

  /* HERO SECTION END */

  /* ---------------------------------------------------------------------------- */

  /* HOME CATEGORY START */

  .category-section-dims {
	  padding:30px 24px;
  }

  .category-section {
	  margin-top:24px;
	  display:grid;
	  gap:16px;
	  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  }

  .category-font-size {
	  font-size:30px;
  }

  .category-main-icons {
	  width:24px;
	  height:24px;
	  margin-bottom:-5px;
	  color:var(--primary);
  }

  .category-main-heading {
	  margin-top:0px;
	  font-family:var(--font-display);
	  font-size:24px;
  }

  .category-main-desc {
	  /*margin-top:4px;*/
	  margin-top: -15px !important;
	  font-size:14px;
	  color:var(--muted-foreground);
  }

  .section-dims {
	  padding:15px;
	  display:block;
  }

  /* HOME CATEGORY END */

  /* ---------------------------------------------------------------------------- */

  /* VIDEO HOME SECTION START */

  .video-section-home {
	  scroll-margin-top:80px;
	  padding:0 24px 64px;
  }

  .video-section-head {
	  margin-bottom:24px;
	  display:flex;
	  align-items:flex-end;
	  justify-content:space-between;
	  gap:16px;
  }

  .video-section-heading {
	  font-size:30px;
  }

  .video-section-text {
	  display:grid;
	  gap:20px;
	  grid-template-columns:repeat(auto-fit,minmax(360px,1fr));
  }

  .video-section-grid {
	 display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(360px,1fr));
  }

  .video-section-overflow {
	 overflow:hidden;
  }

  .video-section-dims {
	 position:relative;
	 aspect-ratio:16/9;
  }

  .video-section-image {
	 height:100%;
	 width:100%;
	 object-fit:cover;
	 opacity:.7;
  }

  .video-section-image-dims {
	 position:absolute;
	 inset:0;
	 display:grid;
	 place-items:center;
	 background:color-mix(in oklab, var(--maroon) 10%, transparent);
  }

  .video-section-video {
	 display:grid;place-items:center;
	 height:48px;
	 width:48px;
	 border-radius:9999px;
	 background:color-mix(in oklab, var(--primary) 90%, transparent);
	 color:var(--primary-foreground);
  }

  .video-section-duration {
	 position:absolute;
	 right:8px;
	 bottom:8px;
	 border-radius:4px;
	 background:color-mix(in oklab, var(--background) 85%, transparent);
	 padding:2px 8px;
	 font-size:12px;
  }

  .video-section-play-icon {
	  width:20px;
	  height:20px;
	  fill:currentColor;
  }

  .video-section-actions {
	  flex:1;
	  padding:8px 12px;
	  text-align:center;
	  font-size:12px;
	  font-weight:600;
  }

  .video-section-main-signals {
	  margin-top:12px;
	  display:flex;
	  align-items:center;
	  gap:16px;
	  font-size:12px;
	  color:var(--muted-foreground);
  }

  .video-section-signals {
	  display:inline-flex;
	  align-items:center;
	  gap:4px;
  }

  .video-section-signals-dims {
	  width:14px;
	  height:14px;
  }

  .video-section-video-category {
	  font-size:14px;
	  letter-spacing:.16em;
	  text-transform:uppercase;
	  color:var(--primary);
  }

  .video-section-video-title {
	  margin-top:6px;
	  font-family:var(--font-sans) !important;
	  font-size:14px;
	  line-height:1.3;
  }

  .video-section-action-signals {
	  margin-top:16px;
	  display:flex;
	  gap:8px;
  }

  /* VIDEO HOME SECTION END */

  /* ---------------------------------------------------------------------------- */

  /* FOOTER HOME SECTION START */

  .footer {
	  /*border-top:1px solid var(--border);*/
	  padding:0px 24px;
  }

  .footer-separator {
	  height:1px;
	  margin-bottom:0px;
  }

  .footer-div {
	  display:flex;
	  flex-wrap:wrap;
	  align-items:center;
	  justify-content:space-between;
	  gap:16px;
  }

  .footer-content-title {
	  font-family:var(--font-display);
	  font-size:20px;
  }

  .footer-copyright {
	  font-size:14px;
	  color:var(--muted-foreground);
  }

  /* FOOTER HOME SECTION END */

  /* ---------------------------------------------------------------------------- */

  /* RESPONSIVE START */

/* ============ RESPONSIVE (single source of truth) ============ */

/* Global overflow guard */
html {
  overflow-x: hidden;
  max-width: 100vw;
}
body {
  /*overflow-x: hidden;
  max-width: 100vw;*/
}
img { max-width: 100%; height: auto; }

/* Grid children must be allowed to shrink below content size,
   or a long unbroken title stretches the whole page horizontally */
.video-section-grid > article,
.category-section > a {
  min-width: 0;
}
.video-section-video-title,
.video-section-video-category,
.category-main-heading,
.category-main-desc {
  overflow-wrap: break-word;
  word-break: break-word;
}

/* ============ COMPACT LAYOUT: phones + tablets (≤1024px) ============ */
@media (max-width: 1024px) {

  /* Sidebar becomes an off-canvas drawer at 85% width */
  aside.sidebar {
    position: fixed;
    top: 64px;
    left: 0;
    height: calc(100vh - 64px);
    width: 85%;
    max-width: 320px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 50;
    box-shadow: 4px 0 24px rgba(0,0,0,0.25);
  }
  aside.sidebar.mobile-open { transform: translateX(0); }
  aside.sidebar.collapsed { width: 85%; max-width: 320px; }

  .sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    top: 64px;
    background: rgba(0,0,0,0.4);
    z-index: 40;
  }
  .sidebar-overlay.active { display: block; }

  .layout { display: block; }
  main { width: 100%; min-width: 0; }

  .topnav-div {
    flex-wrap: wrap;
    height: auto;
    padding: 10px 16px;
    row-gap: 10px;
  }

  .hamburger-btn { order: 1; }
  .logo-anchor {
    order: 2;
    flex: 1;
    min-width: 0;
  }

  .site-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .subscribe-btn {
    order: 5;
    flex-shrink: 0;
    padding: 8px 14px;
    font-size: 13px;
    white-space: nowrap;
  }

  /* Mega-menu dropdown nav lives in the sidebar already — hide the top-bar duplicate */
  .mega-menu { display: none; }
  .megamenu { display: none !important; }

  /* Search: full-width second row */
  .search-box {
    order: 5;
    width: 100%;
    margin-left: 0;
  }
  .search-placeholder { flex: 1; min-width: 0; }
  .search-input { width: 100%; min-width: 0; }

  .notification-box {
    order: 2;
    margin-left: 0;
  }
  /* Hero: visible image, comfortable text sizing */
  .hero-section { min-height: 420px; }
  .hero-section-main-div {
    background: linear-gradient(to bottom, color-mix(in oklab, var(--background) 55%, transparent), var(--background) 88%);
  }
  .hero-section-inner-div {
    padding: 10px 20px;
    max-width: 100%;
  }
  .hero-section-top-text-btn {
    white-space: normal;
    max-width: 100%;
    text-align: center;
    line-height: 1.6;
  }
  .site-title-heading { font-size: 38px; line-height: 1.15; }
  .site-title-subheading { font-size: 14px; }
  .site-title-desc { font-size: 15px; margin-top: 16px; }
  .hero-section-buttons { flex-direction: column; }
  .hero-section-btn { width: 100%; justify-content: center; }

  /* Category + video grids: 2 columns on tablets/large phones */
  .category-section,
  .video-section-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .category-section-dims,
  .video-section-home {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* ============ SMALL PHONES (>=1024px) ============ */

@media (min-width: 1024px) and (max-width: 1400px) {
  .search-input {
    width: 130px;
  }
  .mega-menu {
    gap: 0;
  }
  .navlink {
    padding: 8px 8px;
    font-size: 13px;
  }
}

@media (min-width: 1025px) {
  .hero-section-inner-div {
    padding-left: 0px;
  }
}

@media (max-width: 1279px) {
  .megamenu {
    position: static;      /* was position:absolute — let it sit inline instead of overlaying */
    box-shadow: none;
    border-bottom: none;
    backdrop-filter: none;
  }

  /*.mega-menu {
    display: flex !important;   // overrides the earlier display:none
    order: 6;
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    margin-left: 0;
    gap: 4px;
    padding-bottom: 4px;
  }
  .navlink {
    font-size: 13px;
    padding: 6px 10px;
  }*/
}

/* ============ SMALL PHONES (≤640px) ============ */
@media (max-width: 640px) {
  .category-section,
  .video-section-grid {
    grid-template-columns: 1fr !important;
  }
  
  .category-section-dims {
	border-top: 1px solid #E0E0E0;
	  padding-top: 15px;
  }

  .category-font-size {
	  text-align: left;
  }

  .video-section-heading {
	  text-align: left;
  }

  /*.hero-section-bg-img {
    object-position: 85% center; /* narrower screens need a stronger bias */
  }*/
}

/* ============ EXTRA SMALL PHONES (≤480px) ============ */
@media (max-width: 480px) {
  .site-name { font-size: 16px; }
  .logo { height: 28px; width: 28px; }
  .site-title-heading { font-size: 34px; }
  .site-title-subheading { font-size: 14px; }
  .hero-section-top-text-btn {
    font-size: 10px;
    letter-spacing: 0.12em;
    padding: 6px 14px;
  }
}

/* ============ NARROWEST PHONES (≤360px) ============ */
@media (max-width: 360px) {
  .subscribe-btn { padding: 8px 10px; font-size: 11px; }
  .site-name { font-size: 14px; }
  .site-title-heading { font-size: 34px; }
  .site-title-subheading { font-size: 13px; }
  .hero-section-top-text-btn {
    font-size: 10px;
    letter-spacing: 0.25em;
    padding: 6px 14px;
  }
}

  /* RESPONSIVE CORRECTION END */
