/**
 * JEE Main subject × resource-category landing V1 — layout composition only.
 * Scoped under .rbl-jee-category-v1. Typography follows global Ribblu tokens
 * (Outfit / tokens.css). Do not edit tokens.css or public.css globals.
 */

.rbl-jee-category-v1 {
  --ink: var(--rbl-ink-strong, #142238);
  --muted: #607188;
  --line: #e2e9ee;
  --orange: var(--rbl-cta-fill, #c2410c);
  /* Subject accent defaults to Chemistry; overridden by [data-subject]. */
  --accent: #0c9e7d;
  --mint: var(--accent);
  --mint-bg: #ecfaf4;
  --tint: #ecfaf4;
  --edge: #c9eddb;
  --shadow: 0 3px 20px rgba(23, 50, 71, .045);
  color: var(--ink);
  background: #fff;
  font-family: inherit;
  font-size: inherit;
  line-height: var(--rbl-leading-body, 1.55);
}

/* Align with JEE Subject Hub V4 subject identity (scoped; do not edit V4 assets). */
.rbl-jee-category-v1[data-subject="physics"] {
  --accent: #277dc9;
  --mint: var(--accent);
  --mint-bg: #edf7ff;
  --tint: #edf7ff;
  --edge: #c8e3fb;
}

.rbl-jee-category-v1[data-subject="chemistry"] {
  --accent: #0c9e7d;
  --mint: var(--accent);
  --mint-bg: #ecfaf4;
  --tint: #ecfaf4;
  --edge: #c9eddb;
}

.rbl-jee-category-v1[data-subject="mathematics"] {
  --accent: #8757c6;
  --mint: var(--accent);
  --mint-bg: #f5f0ff;
  --tint: #f5f0ff;
  --edge: #e3d8fa;
}

.rbl-jee-category-v1 .rbl-jee-category-v1__wrap {
  width: calc(100% - 64px);
  max-width: 1240px;
  margin-inline: auto;
}

.rbl-jee-category-v1 h1,
.rbl-jee-category-v1 h2,
.rbl-jee-category-v1 h3,
.rbl-jee-category-v1 h4 {
  margin: 0;
  font-family: var(--rbl-font-display, Outfit, sans-serif);
  letter-spacing: -0.035em;
}

.rbl-jee-category-v1 p { margin: 0; }

.rbl-jee-category-v1 a {
  color: inherit;
  text-decoration: none;
}

.rbl-jee-category-v1 button,
.rbl-jee-category-v1 input {
  font: inherit;
}

.rbl-jee-category-v1 button {
  cursor: pointer;
  color: inherit;
}

.rbl-jee-category-v1 img {
  display: block;
  max-width: 100%;
}

.rbl-jee-category-v1 a:focus-visible,
.rbl-jee-category-v1 button:focus-visible,
.rbl-jee-category-v1 input:focus-visible,
.rbl-jee-category-v1 summary:focus-visible {
  outline: 3px solid var(--rbl-focus, #277dc9);
  outline-offset: 3px;
}

.rbl-jee-category-v1 button[hidden],
.rbl-jee-category-v1 nav[hidden],
.rbl-jee-category-v1 div[hidden] {
  display: none !important;
}

.rbl-jee-category-v1 .sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.rbl-jee-category-v1 .eyebrow {
  font-size: 0.625rem;
  letter-spacing: 1.15px;
  font-weight: 800;
  color: #b84c21;
}

.rbl-jee-category-v1 .dot {
  width: 7px;
  height: 7px;
  background: var(--mint);
  display: inline-block;
  border-radius: 50%;
  margin-right: 5px;
}

.rbl-jee-category-v1 .category-hero{isolation:isolate;position:relative;overflow:hidden;background:linear-gradient(112deg,#fffdfa 0%,#f7fbfd 32%,var(--tint) 65%,var(--mint-bg) 100%);border-bottom:1px solid var(--edge)}
.rbl-jee-category-v1 .category-hero:before{position:absolute;z-index:-1;inset:0;content:"";background:radial-gradient(ellipse at 84% 62%,color-mix(in srgb,var(--accent) 22%,transparent),transparent 54%),radial-gradient(ellipse at 3% 100%,rgba(255,225,192,.20),transparent 46%)}
.rbl-jee-category-v1 .hero-art{position:absolute;z-index:-1;right:0;top:0;height:100%;width:min(54vw,740px);overflow:hidden;pointer-events:none;display:flex;align-items:center;justify-content:flex-end}
.rbl-jee-category-v1 .hero-art:before{content:"";position:absolute;inset:0;background:repeating-linear-gradient(0deg,transparent,transparent 24px,color-mix(in srgb,var(--accent) 4%,transparent) 25px),repeating-linear-gradient(90deg,transparent,transparent 24px,color-mix(in srgb,var(--accent) 4%,transparent) 25px);mask-image:linear-gradient(to right,transparent,black 60%)}
.rbl-jee-category-v1 .hero-art img{width:100%;height:100%;object-fit:contain;object-position:center right;opacity:.58;mask-image:linear-gradient(90deg,transparent 2%,#000 40%)}
.rbl-jee-category-v1 .hero-inner{padding:24px 0 23px;position:relative}
.rbl-jee-category-v1 .breadcrumbs{color:#78889c;font-size:11px;display:flex;gap:7px;align-items:center;flex-wrap:wrap;margin-bottom:16px}
.rbl-jee-category-v1 .breadcrumbs strong{font-weight:700;color:#446d6b}
.rbl-jee-category-v1 .hero-copy{position:relative;z-index:1;max-width:61%}
.rbl-jee-category-v1 .category-hero h1{font-size:clamp(30px,2.55vw,38px);font-weight:800;line-height:1.13;margin:7px 0 10px;letter-spacing:-.045em}
.rbl-jee-category-v1 .category-hero h1 span:not(.title-tail){color:var(--mint)}
.rbl-jee-category-v1 .category-hero h1 .title-tail{display:block;color:var(--ink)}
.rbl-jee-category-v1 .hero-copy p{font-size:.95rem;line-height:var(--rbl-leading-body,1.6);color:var(--rbl-muted-readable,#4b5563);max-width:675px}
.rbl-jee-category-v1 .hero-bottom{position:relative;z-index:1;display:flex;align-items:center;gap:18px;margin-top:17px}
.rbl-jee-category-v1 .hero-bottom form{width:min(590px,55%);height:49px;display:flex;gap:9px;align-items:center;border:1px solid #d7e4e8;box-shadow:var(--shadow);border-radius:11px;background:#fff;padding:4px 5px 4px 13px}
.rbl-jee-category-v1 .hero-bottom form>img{height:18px;width:18px;opacity:.72}
.rbl-jee-category-v1 .hero-bottom input{flex:1;min-width:0;border:none;background:transparent;outline:0;font-size:var(--rbl-text-sm,.875rem)}
.rbl-jee-category-v1 .hero-bottom input::placeholder{color:#8390a2}
.rbl-jee-category-v1 .hero-bottom form button{height:39px;min-width:88px;border:0;border-radius:8px;color:white;background:var(--orange);font-weight:750;padding:0 18px;font-size:var(--rbl-text-sm,.875rem)}
.rbl-jee-category-v1 .hero-metrics{display:flex;align-items:center;gap:13px;color:#526b75;font-size:var(--rbl-fs-eyebrow,.75rem);white-space:nowrap}
.rbl-jee-category-v1 .hero-metrics b{font:800 21px var(--rbl-font-display);color:#193b41;margin-right:3px}
.rbl-jee-category-v1 .hero-metrics i{height:19px;width:1px;background:#c9dfdb}
/* Subject switcher — match V4 conventions (scoped to V1). */
.rbl-jee-category-v1 .subjects{display:flex;align-items:center;flex-wrap:wrap;gap:.5rem;margin-top:.85rem;position:relative;z-index:2}
.rbl-jee-category-v1 .subjects-intro{font-size:var(--rbl-fs-eyebrow,.75rem);letter-spacing:.08em;color:#75869a;font-weight:750;margin-right:.2rem}
.rbl-jee-category-v1 .subjects a{display:flex;align-items:center;justify-content:center;gap:.45rem;padding:.5rem .85rem;min-height:var(--rbl-target,44px);border:1px solid #d8e3ed;background:#fff;border-radius:var(--rbl-radius,8px);font-size:var(--rbl-text-sm,.875rem);font-weight:700;transition:background .2s,border .2s}
.rbl-jee-category-v1 .subjects a img{width:1rem;height:1rem}
.rbl-jee-category-v1 .subjects a[aria-current="true"]{background:var(--accent);color:#fff;border-color:var(--accent);box-shadow:0 4px 11px #174d921a}
.rbl-jee-category-v1 .subjects a[aria-current="true"] img{filter:brightness(0) invert(1)}
.rbl-jee-category-v1 .subjects a[aria-current="true"]::after{content:"\2713";font-size:.7rem}
.rbl-jee-category-v1 .subjects a:not([aria-current="true"]):hover{background:var(--tint);border-color:var(--edge)}
.rbl-jee-category-v1 .subject-select{display:none;margin-top:.75rem;position:relative;z-index:3;max-width:100%}
.rbl-jee-category-v1 .subject-select>summary{list-style:none;display:inline-flex;align-items:center;gap:.45rem;min-height:var(--rbl-target,44px);padding:.45rem .85rem;border:1px solid #d8e3ed;border-radius:var(--rbl-radius,8px);background:#fff;font-size:var(--rbl-text-sm,.875rem);font-weight:750;color:var(--ink);cursor:pointer}
.rbl-jee-category-v1 .subject-select>summary::-webkit-details-marker{display:none}
.rbl-jee-category-v1 .subject-select-chevron{font-size:.75rem;color:#75869a}
.rbl-jee-category-v1 .subject-select[open]>summary{border-color:var(--accent);background:var(--tint)}
.rbl-jee-category-v1 .subject-select-menu{list-style:none;margin:6px 0 0;padding:6px;display:flex;flex-direction:column;gap:4px;border:1px solid #d8e3ed;border-radius:10px;background:#fff;box-shadow:0 8px 22px #13304814;max-width:min(100%,280px)}
.rbl-jee-category-v1 .subject-select-menu li{margin:0;padding:0}
.rbl-jee-category-v1 .subject-select-menu a{display:flex;align-items:center;gap:.55rem;min-height:var(--rbl-target,44px);padding:.5rem .7rem;border-radius:8px;font-size:var(--rbl-text-sm,.875rem);font-weight:700}
.rbl-jee-category-v1 .subject-select-menu a img{width:1rem;height:1rem}
.rbl-jee-category-v1 .subject-select-menu a[aria-current="true"]{background:var(--accent);color:#fff}
.rbl-jee-category-v1 .subject-select-menu a[aria-current="true"] img{filter:brightness(0) invert(1)}
.rbl-jee-category-v1 .subject-select-check{margin-left:auto;font-size:.75rem}
.rbl-jee-category-v1 .subject-select-menu a:not([aria-current="true"]):hover{background:var(--tint)}
.rbl-jee-category-v1 .type-section{padding:22px 0 19px;border-bottom:1px solid #eef0f3}
.rbl-jee-category-v1 .section-top{display:flex;align-items:flex-end;justify-content:space-between;gap:12px}
.rbl-jee-category-v1 .section-top h2{font-size:clamp(1.25rem,1.1rem + .5vw,1.5rem);line-height:1.2;font-weight:800;margin:4px 0 0}
.rbl-jee-category-v1 .section-top p{font-size:var(--rbl-fs-meta,.8125rem);color:var(--rbl-muted-readable,#4b5563)}
.rbl-jee-category-v1 .type-top{margin-bottom:12px}
.rbl-jee-category-v1 .type-list{display:flex;flex-wrap:wrap;gap:8px}
.rbl-jee-category-v1 .type-pill{position:relative;display:flex;gap:7px;align-items:center;justify-content:center;background:#fff;border:1px solid #dce6ec;border-radius:10px;padding:9px 11px;font-size:var(--rbl-text-sm,.875rem);font-weight:700;min-height:44px;white-space:nowrap;transition:background .15s,border-color .15s}
.rbl-jee-category-v1 .type-pill img{width:16px;height:16px;flex:0 0 16px}
.rbl-jee-category-v1 .type-pill-copy{display:flex;flex-direction:column;align-items:flex-start;line-height:1.25;gap:.1rem}
.rbl-jee-category-v1 .type-pill-copy em{font-style:normal;color:#5c6c7e;font-size:var(--rbl-fs-meta,.8125rem);font-weight:600}
.rbl-jee-category-v1 .type-pill--all{border-color:#cfdbe6}
.rbl-jee-category-v1 .type-pill:hover{border-color:var(--accent)}
.rbl-jee-category-v1 .type-pill[aria-current="page"]{background:var(--accent);border-color:var(--accent);box-shadow:0 3px 12px color-mix(in srgb,var(--accent) 18%,transparent);color:#fff}
.rbl-jee-category-v1 .type-pill[aria-current="page"] img{filter:brightness(0) invert(1)}
.rbl-jee-category-v1 .type-pill[aria-current="page"] .type-pill-copy em{color:#ffffffd9}
.rbl-jee-category-v1 .text-more{border:0;background:none;color:#b94113;font-weight:750;font-size:12px;padding:10px 0}
.rbl-jee-category-v1 .mobile-only{display:none}
.rbl-jee-category-v1 .chapters-section{padding:27px 0 30px}
.rbl-jee-category-v1 .chapter-top{margin-bottom:14px}
.rbl-jee-category-v1 .chapter-top .more-link{color:var(--orange);font-weight:750;font-size:12px;white-space:nowrap;padding-bottom:5px}
.rbl-jee-category-v1 .chapter-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.rbl-jee-category-v1 .chapter-card{min-height:3.75rem;position:relative;display:flex;align-items:center;gap:7px;padding:.7rem 1.75rem .7rem .8rem;border:1px solid #e0e8ee;border-radius:var(--rbl-radius-lg,12px);background:white;box-shadow:0 1px 4px #13304808;transition:transform .15s,border-color .15s}
.rbl-jee-category-v1 .chapter-card:hover{transform:translateY(-1px);border-color:#9fcfc3;background:#fbfffd}
.rbl-jee-category-v1 .chapter-card b{font-size:var(--rbl-text-sm,.875rem);line-height:1.3;font-weight:700;color:var(--ink)}
.rbl-jee-category-v1 .chapter-card .card-arrow{position:absolute;right:.65rem;top:50%;transform:translateY(-50%);color:#829aa6;font-size:1rem}
.rbl-jee-category-v1 .chapter-note{display:flex;gap:10px;justify-content:space-between;align-items:center;margin-top:12px;font-size:var(--rbl-fs-meta,.8125rem);color:var(--rbl-muted-readable,#4b5563)}
.rbl-jee-category-v1 .chapter-note a{color:#b84c21;font-weight:700}
/* Desktop: compact 8-chapter preview (V1 reference); expand reveals remaining SSR links */
@media(min-width:761px){
.rbl-jee-category-v1 .chapter-card:nth-child(n+9){display:none}
.rbl-jee-category-v1 .chapter-grid.expanded .chapter-card:nth-child(n+9){display:flex}
}
.rbl-jee-category-v1 .discovery-section{background:#f8fafb;border-block:1px solid #eef2f4;padding:25px 0 28px}
.rbl-jee-category-v1 .discovery-layout{display:grid;grid-template-columns:minmax(0,1fr) 278px;gap:22px}
.rbl-jee-category-v1 .popular-head{margin-bottom:13px}
.rbl-jee-category-v1 .small-caption{font-size:11px;color:#8695a5}
.rbl-jee-category-v1 .popular-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.rbl-jee-category-v1 .popular-card{display:flex;align-items:center;gap:12px;background:white;border:1px solid #e2e8ed;border-radius:11px;padding:11px 13px;min-height:77px}
.rbl-jee-category-v1 .popular-rank{font:800 28px/1 var(--rbl-font-display);color:#b84c21;width:31px;flex:0 0 31px;letter-spacing:-.035em}
.rbl-jee-category-v1 .popular-info{display:flex;flex-direction:column;gap:.15rem;min-width:0}
.rbl-jee-category-v1 .popular-info b{font-size:var(--rbl-text-sm,.875rem);line-height:1.35;font-weight:700;color:var(--ink)}
.rbl-jee-category-v1 .popular-info small{font-size:var(--rbl-fs-meta,.8125rem);color:var(--rbl-muted-readable,#4b5563);line-height:1.35}
.rbl-jee-category-v1 .discovery-aside{display:flex;flex-direction:column;gap:11px}
.rbl-jee-category-v1 .aside-card{background:white;border:1px solid #e4ebf0;border-radius:13px;padding:18px}
.rbl-jee-category-v1 .aside-card h3{font-size:var(--rbl-text-lg,1.125rem);line-height:1.2;font-weight:800;margin:6px 0 8px}
.rbl-jee-category-v1 .aside-card p{font-size:var(--rbl-fs-supporting,.875rem);color:var(--rbl-muted-readable,#4b5563);line-height:var(--rbl-leading-body,1.6)}
.rbl-jee-category-v1 .aside-icon{width:34px;height:34px;background:#eaf6f0;border-radius:9px;display:grid;place-items:center}
.rbl-jee-category-v1 .aside-icon img{width:18px}
.rbl-jee-category-v1 .upload-card{background:#fbf6f1;border-color:#f2e9e2}
.rbl-jee-category-v1 .aside-cta{display:block;text-align:center;border-radius:9px;padding:10px 12px;margin-top:14px;background:var(--orange);color:#fff;font-size:var(--rbl-text-sm,.875rem);font-weight:750}
.rbl-jee-category-v1 .recent-card a{display:inline-block;margin-top:11px;color:var(--orange);font-size:var(--rbl-text-sm,.875rem);font-weight:700}
.rbl-jee-category-v1 .library-section{padding:30px 0 31px}
.rbl-jee-category-v1 .library-head{margin-bottom:15px}
.rbl-jee-category-v1 .library-count{display:flex;flex-direction:column;align-items:flex-end;gap:2px;font-size:12px;color:#65758a}
.rbl-jee-category-v1 .library-count strong{font-size:19px;color:var(--ink)}
.rbl-jee-category-v1 .pdf-list{border:1px solid #e2e9ef;border-radius:12px;overflow:hidden;background:#fff}
.rbl-jee-category-v1 .pdf-row{display:flex;align-items:center;gap:12px;padding:.75rem .85rem;border-bottom:1px solid #edf1f3;min-height:3.5rem}
.rbl-jee-category-v1 .pdf-row:last-child{border-bottom:none}
.rbl-jee-category-v1 .pdf-icon{background:#fff1e9;border-radius:9px;width:2.25rem;height:2.5rem;flex:0 0 2.25rem;display:grid;place-items:center}
.rbl-jee-category-v1 .pdf-icon img{width:1.15rem;height:1.15rem}
.rbl-jee-category-v1 .pdf-label{flex:1;min-width:0;display:flex;flex-direction:column;gap:.15rem}
.rbl-jee-category-v1 .pdf-label a{font-size:var(--rbl-text-sm,.875rem);line-height:1.35;font-weight:700;color:var(--ink)}
.rbl-jee-category-v1 .pdf-label a:hover{color:#bd4618}
.rbl-jee-category-v1 .pdf-meta{font-size:var(--rbl-fs-meta,.8125rem);color:var(--rbl-muted-readable,#4b5563);display:flex;gap:8px;align-items:center;flex-wrap:wrap;line-height:1.35}
.rbl-jee-category-v1 .pdf-kind{color:#286c99;background:#edf6fc;padding:3px 6px;border-radius:5px;font-weight:650;font-size:var(--rbl-fs-meta,.8125rem)}
.rbl-jee-category-v1 .detail-link{color:var(--orange);border:1px solid #f0c3ad;border-radius:9px;padding:9px 12px;font-size:var(--rbl-text-sm,.875rem);font-weight:750;white-space:nowrap;background:#fff;min-height:var(--rbl-target,44px);display:inline-flex;align-items:center}
.rbl-jee-category-v1 .detail-link:hover{background:#fff5ef}
.rbl-jee-category-v1 .show-rows{display:block;margin:14px auto 0;padding:10px 20px;border-radius:9px;background:#fff;border:1px solid #dfe6ec;font-weight:750;font-size:var(--rbl-text-sm,.875rem);color:#c2410c}
/* Beat .show-rows display:block so desktop never shows the mobile PDF expand. */
.rbl-jee-category-v1 .show-rows.mobile-only{display:none}
.rbl-jee-category-v1 .pagination{display:flex;gap:12px;justify-content:center;align-items:center;padding-top:20px;font-size:var(--rbl-fs-meta,.8125rem);color:#687b90}
.rbl-jee-category-v1 .pagination a{background:#fff;border:1px solid #dbe5eb;color:#b84113;border-radius:9px;padding:9px 15px;font-weight:750}
.rbl-jee-category-v1 .mobile-upload{display:none}
.rbl-jee-category-v1 .closing{background:#fcfdfd;border-top:1px solid #ecf0f3;padding:25px 0 30px}
.rbl-jee-category-v1 .closing-layout{display:grid;grid-template-columns:minmax(0,1fr) 278px;gap:22px}
.rbl-jee-category-v1 .about{border:1px solid #e2e9ef;background:#fff;border-radius:11px;margin-bottom:15px}
.rbl-jee-category-v1 .about summary{font-size:var(--rbl-text-sm,.875rem);font-weight:800;padding:13px;cursor:pointer}
.rbl-jee-category-v1 .about p,
.rbl-jee-category-v1 .about .about-body{color:var(--rbl-muted-readable,#4b5563);font-size:var(--rbl-fs-supporting,.875rem);margin:0 13px 12px;line-height:var(--rbl-leading-body,1.6)}
.rbl-jee-category-v1 .about .about-body p{margin:0 0 10px;font-size:var(--rbl-fs-supporting,.875rem);color:var(--rbl-muted-readable,#4b5563);line-height:var(--rbl-leading-body,1.6)}
.rbl-jee-category-v1 .about .about-body p:last-child{margin-bottom:0}
.rbl-jee-category-v1 .chapter-note .text-more{color:#b84c21;font-weight:700;font-size:var(--rbl-fs-meta,.8125rem);padding:0}
.rbl-jee-category-v1 .chapter-top .more-link.text-more{color:var(--orange);font-weight:750;font-size:var(--rbl-fs-meta,.8125rem);white-space:nowrap;padding-bottom:5px}
.rbl-jee-category-v1 a.popular-card{color:inherit}
.rbl-jee-category-v1 .faqs h3{font-size:clamp(1.125rem,1.05rem + .3vw,1.25rem);margin:4px 0 11px;font-weight:800}
.rbl-jee-category-v1 .faqs details{border:1px solid #e4eaef;background:#fff;border-radius:9px;margin:7px 0}
.rbl-jee-category-v1 .faqs summary{cursor:pointer;font-size:var(--rbl-text-sm,.875rem);font-weight:700;padding:12px}
.rbl-jee-category-v1 .faqs details p{font-size:var(--rbl-fs-supporting,.875rem);color:var(--rbl-muted-readable,#4b5563);padding:0 12px 12px;line-height:var(--rbl-leading-body,1.6)}
.rbl-jee-category-v1 .upload-nudge{border-radius:12px;background:#eaf6f1;border:1px solid #d8e8e1;padding:17px;display:flex;gap:11px;align-items:center}
.rbl-jee-category-v1 .upload-nudge img{width:23px}
.rbl-jee-category-v1 .upload-nudge p{font-size:var(--rbl-fs-meta,.8125rem);color:var(--rbl-muted-readable,#4b5563);margin-top:2px}
.rbl-jee-category-v1 .upload-nudge b{font-size:var(--rbl-text-sm,.875rem)}
.rbl-jee-category-v1 .upload-nudge a{margin-left:auto;font-size:var(--rbl-text-sm,.875rem);color:#ae4a26;font-weight:750}

@media(max-width:1050px){.rbl-jee-category-v1 .hero-copy{max-width:66%}
.rbl-jee-category-v1 .hero-bottom form{width:55%}
.rbl-jee-category-v1 .hero-metrics{font-size:11px}
.rbl-jee-category-v1 .discovery-layout, .rbl-jee-category-v1 .closing-layout{grid-template-columns:minmax(0,1fr) 240px}
.rbl-jee-category-v1 .chapter-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}

@media(max-width:760px){.rbl-jee-category-v1 .rbl-jee-category-v1__wrap{width:calc(100% - 30px)}
.rbl-jee-category-v1 .hero-inner{padding:14px 0 14px}
.rbl-jee-category-v1 .breadcrumbs{font-size:10px;margin-bottom:10px;gap:5px}
.rbl-jee-category-v1 .hero-copy{max-width:100%}
.rbl-jee-category-v1 .category-hero h1{font-size:clamp(25px,6.7vw,29px);margin:6px 0 9px;line-height:1.14;max-width:92%}
.rbl-jee-category-v1 .hero-copy{position:relative;z-index:2}
.rbl-jee-category-v1 .hero-copy p{max-width:100%;font-size:.95rem;line-height:var(--rbl-leading-body,1.6);position:relative;z-index:2;color:var(--rbl-muted-readable,#4b5563)}
/* Soften motif so lead stays legible; keep composition and artwork unchanged */
.rbl-jee-category-v1 .hero-art{right:-31px;top:46px;width:236px;height:169px;opacity:.26;mask-image:linear-gradient(100deg,transparent 0%,transparent 18%,#000 78%)}
.rbl-jee-category-v1 .hero-art img{opacity:.72;object-fit:cover;object-position:71% 28%;mask-image:linear-gradient(90deg,transparent 0%,#000 55%)}
.rbl-jee-category-v1 .hero-bottom{display:block;margin-top:13px}
.rbl-jee-category-v1 .hero-bottom form{width:100%;height:48px;border-radius:11px;padding:4px 5px 4px 12px}
.rbl-jee-category-v1 .hero-bottom form input{font-size:var(--rbl-fs-search,16px)}
.rbl-jee-category-v1 .hero-bottom form button{height:38px;min-width:73px;font-size:var(--rbl-text-sm,.875rem);padding:0 13px}
.rbl-jee-category-v1 .hero-metrics{justify-content:flex-start;font-size:var(--rbl-fs-eyebrow,.75rem);margin-top:9px;gap:11px}
.rbl-jee-category-v1 .hero-metrics b{font-size:17px}
.rbl-jee-category-v1 .hero-metrics i{height:15px}
.rbl-jee-category-v1 .subjects-desktop{display:none}
.rbl-jee-category-v1 .subject-select.mobile-only{display:block}
.rbl-jee-category-v1 .type-section{padding:15px 0 17px}
.rbl-jee-category-v1 .type-top{margin-bottom:10px}
.rbl-jee-category-v1 .eyebrow{font-size:var(--rbl-fs-eyebrow,.75rem)}
.rbl-jee-category-v1 .section-top h2{font-size:clamp(1.2rem,1.05rem + .4vw,1.35rem)}
.rbl-jee-category-v1 .type-top p, .rbl-jee-category-v1 .small-caption{display:none}
.rbl-jee-category-v1 .type-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.rbl-jee-category-v1 .type-pill{height:auto;min-height:44px;white-space:normal;text-align:center;gap:4px;padding:7px 5px;font-size:var(--rbl-text-sm,.875rem);line-height:1.25;border-radius:9px}
.rbl-jee-category-v1 .type-pill img{width:14px;height:14px;flex:0 0 14px}
.rbl-jee-category-v1 .type-pill-copy{align-items:center;text-align:center;min-width:0}
.rbl-jee-category-v1 .type-pill-copy em{display:none}
.rbl-jee-category-v1 .type-pill.mobile-collapsed{display:none}
.rbl-jee-category-v1 .mobile-only{display:flex}
.rbl-jee-category-v1 .show-rows.mobile-only{display:block;margin-left:auto;margin-right:auto}
.rbl-jee-category-v1 .type-list .text-more{align-items:center;justify-content:center;text-align:center;color:#b84c21;font-size:var(--rbl-fs-meta,.8125rem);padding:6px;border-radius:9px;border:1px dashed #edcbb9;min-height:44px}
.rbl-jee-category-v1 .chapters-section{padding:18px 0 22px}
.rbl-jee-category-v1 .chapter-top{margin-bottom:11px}
.rbl-jee-category-v1 .chapter-top p{display:none}
.rbl-jee-category-v1 .chapter-top .more-link{font-size:var(--rbl-fs-meta,.8125rem)}
.rbl-jee-category-v1 .chapter-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.rbl-jee-category-v1 .chapter-card{min-height:3.5rem;padding:.65rem 1.4rem .65rem .65rem;border-radius:10px}
.rbl-jee-category-v1 .chapter-card b{font-size:var(--rbl-text-sm,.875rem);line-height:1.3}
.rbl-jee-category-v1 .chapter-card .card-arrow{right:8px;font-size:1rem}
.rbl-jee-category-v1 .chapter-card:nth-child(n+7){display:none}
.rbl-jee-category-v1 .chapter-grid.expanded .chapter-card:nth-child(n+7){display:flex}
.rbl-jee-category-v1 .chapter-note{font-size:var(--rbl-fs-meta,.8125rem);align-items:center}
.rbl-jee-category-v1 .chapter-note>span{display:none}
.rbl-jee-category-v1 .discovery-section{padding:19px 0 23px}
.rbl-jee-category-v1 .discovery-layout, .rbl-jee-category-v1 .closing-layout{display:flex;flex-direction:column;gap:13px}
.rbl-jee-category-v1 .popular-head{margin-bottom:12px}
.rbl-jee-category-v1 .popular-grid{grid-template-columns:1fr;gap:8px}
.rbl-jee-category-v1 .popular-card{min-height:64px;gap:11px;padding:10px 12px}
.rbl-jee-category-v1 .popular-rank{font-size:23px}
.rbl-jee-category-v1 .popular-info b{font-size:var(--rbl-text-sm,.875rem);line-height:1.35}
.rbl-jee-category-v1 .popular-info small{font-size:var(--rbl-fs-meta,.8125rem)}
.rbl-jee-category-v1 .popular-card:nth-child(n+5){display:none}
.rbl-jee-category-v1 .popular-grid.expanded .popular-card:nth-child(n+5){display:flex}
.rbl-jee-category-v1 .discovery-aside{display:none}
.rbl-jee-category-v1 .library-section{padding:21px 0 24px}
.rbl-jee-category-v1 .library-head{align-items:flex-end;margin-bottom:11px}
.rbl-jee-category-v1 .library-head h2{font-size:clamp(1.2rem,1.05rem + .4vw,1.35rem);max-width:290px}
.rbl-jee-category-v1 .library-head p{font-size:var(--rbl-fs-meta,.8125rem);margin-top:3px}
.rbl-jee-category-v1 .library-count{white-space:nowrap;font-size:var(--rbl-fs-meta,.8125rem)}
.rbl-jee-category-v1 .library-count strong{font-size:var(--rbl-text-md,1rem)}
.rbl-jee-category-v1 .pdf-row{min-height:3.75rem;padding:10px 10px;gap:10px}
.rbl-jee-category-v1 .pdf-icon{width:34px;height:37px;flex:0 0 34px}
.rbl-jee-category-v1 .pdf-icon img{width:18px}
.rbl-jee-category-v1 .pdf-label a{font-size:var(--rbl-text-sm,.875rem);line-height:1.35}
.rbl-jee-category-v1 .pdf-meta{font-size:var(--rbl-fs-meta,.8125rem)}
.rbl-jee-category-v1 .detail-link{font-size:0;display:grid;place-items:center;height:var(--rbl-target,44px);width:var(--rbl-target,44px);min-height:var(--rbl-target,44px);min-width:var(--rbl-target,44px);padding:0;border-radius:9px;flex:0 0 var(--rbl-target,44px)}
.rbl-jee-category-v1 .detail-link:after{content:'↗';font-size:18px}
.rbl-jee-category-v1 .pdf-row:nth-child(n+7){display:none}
.rbl-jee-category-v1 .pdf-list.expanded .pdf-row:nth-child(n+7){display:flex}
.rbl-jee-category-v1 .pagination{padding-top:17px}
.rbl-jee-category-v1 .mobile-upload{display:block;background:#fbf6ef;padding:15px 0;border-top:1px solid #f2e9de}
.rbl-jee-category-v1 .mobile-upload .rbl-jee-category-v1__wrap{display:grid;grid-template-columns:33px 1fr;gap:5px 11px;align-items:start}
.rbl-jee-category-v1 .mobile-upload-icon{width:33px;height:33px;background:#fff;border-radius:9px;display:grid;place-items:center}
.rbl-jee-category-v1 .mobile-upload-icon img{width:18px}
.rbl-jee-category-v1 .mobile-upload h3{font-size:var(--rbl-text-lg,1.125rem)}
.rbl-jee-category-v1 .mobile-upload p{font-size:var(--rbl-fs-meta,.8125rem);color:var(--rbl-muted-readable,#4b5563);line-height:1.45;margin-top:3px}
.rbl-jee-category-v1 .mobile-upload a{grid-column:1/-1;display:block;text-align:center;border-radius:9px;margin-top:7px;padding:11px;background:var(--orange);color:#fff;font-size:var(--rbl-text-sm,.875rem);font-weight:750;min-height:var(--rbl-target,44px)}
.rbl-jee-category-v1 .closing{padding:17px 0 22px}
.rbl-jee-category-v1 .about{margin-bottom:12px}
.rbl-jee-category-v1 .about summary{font-size:var(--rbl-text-sm,.875rem)}
.rbl-jee-category-v1 .faqs h3{font-size:clamp(1.125rem,1.05rem + .3vw,1.2rem)}
.rbl-jee-category-v1 .closing-right{display:none}
}

@media(max-width:359px){.rbl-jee-category-v1 .rbl-jee-category-v1__wrap{width:calc(100% - 24px)}
.rbl-jee-category-v1 .category-hero h1{font-size:24px}
.rbl-jee-category-v1 .hero-copy p{font-size:.95rem;line-height:var(--rbl-leading-body,1.6)}
.rbl-jee-category-v1 .hero-art{width:199px;height:165px;right:-30px;top:45px;opacity:.22}
.rbl-jee-category-v1 .hero-metrics{gap:8px;font-size:var(--rbl-fs-eyebrow,.75rem)}
.rbl-jee-category-v1 .type-list{grid-template-columns:repeat(2,minmax(0,1fr))}
.rbl-jee-category-v1 .chapter-top .more-link{font-size:var(--rbl-fs-meta,.8125rem)}
.rbl-jee-category-v1 .chapter-top h2{font-size:clamp(1.125rem,1rem + .5vw,1.25rem)}
.rbl-jee-category-v1 .chapter-top p{max-width:230px}
.rbl-jee-category-v1 .chapter-card{padding:.6rem 1.25rem .6rem .6rem}
.rbl-jee-category-v1 .library-head h2{max-width:240px;font-size:clamp(1.125rem,1rem + .5vw,1.25rem)}
}

@media(prefers-reduced-motion:reduce){.rbl-jee-category-v1 *{transition:none!important}
}

/* Practice-format nav (rare; e.g. Physics question-bank) — reuse global partial, scoped. */
.rbl-jee-category-v1 .practice-format-section{padding:22px 0 6px;border-bottom:1px solid var(--line)}
.rbl-jee-category-v1 .practice-format-section .rbl-stype-v2-section{padding:0;margin:0;border:0;background:transparent}
.rbl-jee-category-v1 .practice-format-section .rbl-stype-v2-section-title{font-family:var(--rbl-font-display,Outfit,sans-serif);font-size:clamp(1.15rem,1rem + .45vw,1.35rem);letter-spacing:-.035em;margin:0 0 6px}
.rbl-jee-category-v1 .practice-format-section .rbl-stype-v2-section-lead{font-size:var(--rbl-fs-supporting,.875rem);color:var(--rbl-muted-readable,#4b5563);margin:0 0 14px;line-height:var(--rbl-leading-body,1.6)}
