/* TETCTET 2.3 visual system: readable type, aligned grids, and responsive rhythm. */
:root {
  --tct-ink: #18363b;
  --tct-muted: #526b70;
  --tct-deep: #10343a;
  --tct-teal: #087d70;
  --tct-paper: #f7f9f6;
  --tct-border: #dce7e0;
  --tct-radius: 18px;
  --tct-shadow: 0 20px 50px rgba(17, 50, 48, .09);
}

body.tct-theme { font-size: 16px; line-height: 1.65; letter-spacing: 0; }
body.tct-theme :is(button, input, select, textarea) { font-family: Manrope, "Noto Sans Telugu", "Noto Sans Devanagari", system-ui, sans-serif; }
.tct-container { width: min(1200px, calc(100% - 48px)); }
.tct-container--quiz { width: min(1360px, calc(100% - 40px)); }

/* Navigation and search */
.tct-header-inner { gap: clamp(24px, 3vw, 44px); min-height: 94px; }
.tct-brand-wrap { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 5px; max-width: 290px; }
.tct-brand-name { letter-spacing: -.048em; }
.tct-brand-tagline { display: block; max-width: 290px; color: #425e5d; font-size: 11px; font-weight: 700; line-height: 1.35; letter-spacing: 0; text-wrap: balance; }
.tct-nav-list { justify-content: center; gap: clamp(4px, .6vw, 10px); }
.tct-nav-list > li > a { min-height: 42px; padding: 8px 15px; border-radius: 10px; color: #405b5b; font-size: 14px; font-weight: 750; letter-spacing: -.012em; transition: color .2s ease, background .2s ease; }
.tct-nav-list > li > a:hover, .tct-nav-list .current-menu-item > a { background: #eaf5ee; color: #086e62; }
.tct-account-link { font-size: 14px; }
.tct-button { font-size: 14px; font-weight: 800; letter-spacing: -.01em; }
.tct-button--header { font-size: 12px; font-weight: 700; letter-spacing: 0; text-shadow: none; -webkit-font-smoothing: antialiased; font-synthesis: none; }
.tct-search-form input[type="search"] { font-size: 14px; }
.tct-search-form button { font-size: 13px; }
.tct-topbar-inner { font-size: 12px; }

/* Public collection pages */
.tct-collection-content { padding-block: clamp(30px, 3.3vw, 46px) 58px; }
.tct-collection-content > .tct-text-link { display: inline-flex; margin-bottom: 24px; }
.tct-subject-results { margin-top: 22px; }

/* Previous year papers */
.tct-pyq-page { background: #f6f9f6; }
.tct-pyq-hero { position: relative; overflow: hidden; background: radial-gradient(circle at 84% 18%, rgba(62, 155, 137, .32), transparent 27%), linear-gradient(125deg, #0b3036 7%, #115a55 100%); color: #f8fcfa; }
.tct-pyq-hero::after { content: ''; position: absolute; right: -170px; bottom: -300px; width: 600px; height: 600px; border: 1px solid rgba(211, 236, 222, .16); border-radius: 50%; box-shadow: 0 0 0 85px rgba(211, 236, 222, .035), 0 0 0 170px rgba(211, 236, 222, .025); pointer-events: none; }
.tct-pyq-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); gap: clamp(28px, 4vw, 60px); align-items: center; padding-block: clamp(40px, 4.5vw, 64px); }
.tct-pyq-hero .tct-breadcrumb { margin-bottom: 24px; color: #b9dcd2; }
.tct-pyq-hero .tct-breadcrumb a:hover { color: #fff; }
.tct-pyq-hero .tct-overline { color: #aee6cf; }
.tct-pyq-hero h1 { max-width: 720px; margin: 16px 0 20px; font-size: clamp(46px, 5vw, 76px); line-height: 1.06; letter-spacing: -.052em; }
.tct-pyq-hero h1 span { color: #eac079; }
.tct-pyq-hero p { max-width: 580px; margin: 0 0 30px; color: #d9eae4; font-size: 17px; line-height: 1.7; }
.tct-pyq-hero-panel { position: relative; padding: 30px 32px; border: 1px solid rgba(226, 246, 234, .23); border-radius: 24px; background: rgba(255, 255, 255, .09); box-shadow: 0 25px 70px rgba(3, 31, 32, .22); backdrop-filter: blur(12px); }
.tct-pyq-panel-kicker { display: block; margin-bottom: 20px; color: #bce9d8; font-size: 11px; font-weight: 800; letter-spacing: .14em; }
.tct-pyq-hero-panel > div { display: flex; align-items: center; gap: 18px; padding: 16px 0; border-top: 1px solid rgba(225, 242, 234, .16); font-size: 16px; font-weight: 700; }
.tct-pyq-hero-panel b { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 11px; background: rgba(182, 230, 206, .14); color: #eac079; font-size: 13px; }
.tct-pyq-hero-panel i { position: absolute; top: 26px; right: 27px; color: #eac079; font-size: 23px; font-style: normal; }
.tct-pyq-content { padding-block: clamp(38px, 4vw, 58px) 64px; }
.tct-pyq-content .tct-section-heading { margin-bottom: 25px; }
.tct-pyq-filter { display: flex; align-items: center; gap: 14px; padding: 16px; margin-bottom: 26px; border: 1px solid #dce9e2; border-radius: 16px; background: #fff; box-shadow: 0 10px 28px rgba(14, 59, 51, .04); }
.tct-pyq-filter label { flex: none; color: #234d4a; font-size: 13px; font-weight: 800; }
.tct-pyq-filter select { width: min(100%, 510px); min-width: 0; min-height: 47px; padding: 0 42px 0 14px; border: 1px solid #cadcd5; border-radius: 9px; background: #fff; color: #17363a; font-size: 14px; }
.tct-pyq-filter button { min-height: 47px; padding: 0 20px; border: 0; border-radius: 9px; background: var(--tct-teal); color: #fff; font-size: 13px; font-weight: 800; white-space: nowrap; }
.tct-pyq-filter button:hover { background: #075f59; }
.tct-pyq-filter > a { color: var(--tct-teal); font-size: 13px; font-weight: 800; }
.tct-pyq-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tct-pyq-card { display: flex; flex-direction: column; min-height: 262px; padding: 24px; border: 1px solid #dce8e2; border-radius: 18px; background: #fff; box-shadow: 0 12px 32px rgba(14, 59, 51, .045); transition: transform .2s ease, box-shadow .2s ease; }
.tct-pyq-card:hover { transform: translateY(-4px); box-shadow: 0 22px 45px rgba(14, 59, 51, .1); }
.tct-pyq-card-top, .tct-pyq-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tct-pyq-badge { padding: 6px 9px; border-radius: 7px; background: #e8f4ed; color: #176a5e; font-size: 10px; font-weight: 800; letter-spacing: .07em; }
.tct-pyq-card-top > span:last-child { color: var(--tct-teal); }
.tct-pyq-card h3 { margin: 22px 0 9px; color: #11383a; font-size: 21px; line-height: 1.35; letter-spacing: -.025em; }
.tct-pyq-card h3 a:hover { color: var(--tct-teal); }
.tct-pyq-card p { margin: 0 0 24px; color: var(--tct-muted); font-size: 14px; }
.tct-pyq-card-foot { margin-top: auto; padding-top: 15px; border-top: 1px solid #e6eeea; color: #647d79; font-size: 12px; font-weight: 700; }
.tct-pyq-card-foot a { color: var(--tct-teal); font-size: 13px; font-weight: 800; }
.tct-pyq-empty { max-width: 800px; margin: 0 auto; padding: clamp(38px, 6vw, 68px); border: 1px solid #dce9e2; border-radius: 22px; background: #fff; box-shadow: 0 18px 45px rgba(14, 59, 51, .055); text-align: center; }
.tct-pyq-empty > span { display: grid; place-items: center; width: 62px; height: 62px; margin: 0 auto 18px; border-radius: 16px; background: #e5f3ec; color: var(--tct-teal); font-size: 29px; }
.tct-pyq-empty h3 { margin: 0 0 12px; color: #11383a; font-size: clamp(23px, 3vw, 30px); letter-spacing: -.025em; }
.tct-pyq-empty p { max-width: 520px; margin: 0 auto 25px; color: var(--tct-muted); line-height: 1.7; }
.tct-pyq-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 32px; }
.tct-pyq-pagination .page-numbers { display: grid; place-items: center; min-width: 40px; height: 40px; padding-inline: 9px; border: 1px solid #dce8e2; border-radius: 9px; background: #fff; color: #234d4a; font-weight: 700; }
.tct-pyq-pagination .current { border-color: var(--tct-teal); background: var(--tct-teal); color: #fff; }
@media (max-width: 900px) { .tct-pyq-hero-grid { grid-template-columns: 1fr; } .tct-pyq-hero-panel { max-width: 570px; } .tct-pyq-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 650px) { .tct-pyq-hero-grid { gap: 28px; padding-block: 32px 42px; } .tct-pyq-hero .tct-breadcrumb { margin-bottom: 24px; } .tct-pyq-hero h1 { font-size: clamp(40px, 10vw, 54px); } .tct-pyq-hero p { margin-bottom: 22px; } .tct-pyq-hero-panel { padding: 20px; } .tct-pyq-hero-panel > div { padding-block: 12px; } .tct-pyq-content { padding-block: 38px 60px; } .tct-pyq-empty { padding: 30px 22px; } .tct-pyq-filter { flex-wrap: wrap; } .tct-pyq-filter label { width: 100%; } .tct-pyq-filter select { flex: 1 1 100%; } .tct-pyq-filter button { flex: 1 1 auto; } .tct-pyq-grid { grid-template-columns: 1fr; } }
@media (max-width: 900px) { .tct-nav-list { justify-content: start; } .tct-nav-list > li > a { min-height: 49px; padding: 9px 14px; } }
@media (max-width: 900px) { .tct-header-inner { min-height: 80px; } }
@media (max-width: 650px) {
  .tct-brand-wrap { max-width: 230px; gap: 4px; }
  .tct-brand-tagline { max-width: 230px; font-size: 9.5px; line-height: 1.3; }
  .tct-brand-wrap .custom-logo { max-width: 190px; max-height: 45px; }
}
@media (max-width: 390px) {
  .tct-brand-wrap, .tct-brand-tagline { max-width: 205px; }
  .tct-brand-tagline { font-size: 9px; }
  .tct-brand { gap: 9px; }
  .tct-brand-wrap .custom-logo { max-width: 205px; }
}
@media (max-width: 350px) {
  .tct-brand-wrap, .tct-brand-tagline { max-width: 155px; }
  .tct-brand-tagline { font-size: 8.5px; }
  .tct-brand-wrap .custom-logo { max-width: 155px; }
}

/* Home hero */
.tct-hero { padding: clamp(66px, 6vw, 88px) 0 clamp(70px, 6vw, 90px); }
.tct-hero-grid { grid-template-columns: minmax(0, 1.03fr) minmax(0, .97fr); gap: clamp(42px, 5vw, 72px); }
.tct-eyebrow { font-size: 11px; letter-spacing: .11em; }
.tct-hero-copy h1 { max-width: 650px; font-size: clamp(48px, 4.9vw, 70px); line-height: 1.1; letter-spacing: -.038em; }
.tct-hero-copy > p { max-width: 570px; font-size: 16px; line-height: 1.75; }
.tct-hero-search > span, .tct-hero-link { font-size: 13px; }
.tct-hero-visual { min-height: 470px; }
.tct-hero-panel { width: min(100%, 480px); transform: rotate(-1deg); }
.tct-hero-float { right: 10px; }
.tct-panel-top { font-size: 12px; }
.tct-mini-label { font-size: 10px; letter-spacing: .1em; }
.tct-panel-intro h2 { font-size: 25px; letter-spacing: -.035em; }
.tct-panel-intro p, .tct-panel-path strong, .tct-panel-featured strong { font-size: 12px; }
.tct-panel-featured > span { font-size: 10px; letter-spacing: .08em; }
.tct-hero-float strong { font-size: 11px; }
.tct-suggestions a { font-size: 13px; }
.tct-suggestions small { font-size: 11px; }

/* Shared homepage sections */
.tct-proofbar-inner { min-height: 90px; }
.tct-proofbar-lead span, .tct-proofbar-items span { font-size: 13px; }
.tct-section { padding: clamp(48px, 5vw, 68px) 0; }
.tct-section-heading { gap: 36px; margin-bottom: 32px; }
.tct-overline { font-size: 11px; letter-spacing: .12em; }
.tct-section-heading h2, .tct-process h2 { font-size: clamp(32px, 3.3vw, 44px); letter-spacing: -.038em; }
.tct-section-heading p { font-size: 15px; line-height: 1.7; }
.tct-text-link { font-size: 13px; }
.tct-filter-field { min-height: 48px; }
.tct-filter-field input, .tct-filter-sort, .tct-filter-count, .tct-test-filter > span { font-size: 13px; }
.tct-filter-sort select { min-height: 46px; }

/* Empty collections remain useful and visually finished before content is published. */
.tct-empty-state { position: relative; display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; column-gap: 21px; align-items: start; min-height: 146px; padding: 31px 34px; overflow: hidden; border: 1px solid #cddfd2; border-radius: 18px; background: radial-gradient(circle at 96% 12%, rgba(177, 223, 194, .24), transparent 28%), #fff; }
.tct-empty-state::before { position: absolute; inset: 0 auto 0 0; width: 4px; background: linear-gradient(#e9b868, #138a78); content: ""; }
.tct-empty-state > span { grid-column: 1; grid-row: 1 / span 3; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: #e9f5ed; color: #b47b32; font-size: 25px; }
.tct-empty-state h2, .tct-empty-state h3 { grid-column: 2; margin: 1px 0 5px; font-size: 20px; letter-spacing: -.03em; }
.tct-empty-state p { grid-column: 2; max-width: 620px; margin: 0; font-size: 14px; line-height: 1.65; }
.tct-empty-state .tct-text-link { grid-column: 3; grid-row: 1 / span 2; align-self: center; }

/* Exam, free-test, and series cards */
.tct-exam-grid, .tct-test-grid, .tct-pack-grid { gap: 20px; }
.tct-exam-card { min-height: 190px; padding: 25px; }
.tct-exam-card-bottom strong { font-size: 20px; letter-spacing: -.025em; }
.tct-exam-card-bottom small { font-size: 13px; }
.tct-feature-band { padding: 30px 0; }
.tct-feature-grid > div { min-height: 135px; padding: 17px 30px; }
.tct-feature-icon { width: 35px; height: 35px; font-size: 11px; }
.tct-feature-grid h3 { font-size: 17px; }
.tct-feature-grid p { font-size: 13px; line-height: 1.6; }
.tct-test-card, .tct-pack-card { min-height: 284px; padding: 26px; }
.tct-tag { font-size: 11px; letter-spacing: .05em; }
.tct-test-card h3, .tct-pack-card h3 { font-size: 19px; letter-spacing: -.025em; }
.tct-test-card p, .tct-pack-card p { font-size: 14px; line-height: 1.65; }
.tct-card-bottom > span, .tct-pack-card-foot small { font-size: 12px; }
.tct-card-bottom a, .tct-pack-card-foot a { font-size: 13px; }

/* Preparation steps and inner pages */
.tct-process { padding: clamp(72px, 7vw, 94px) 0; }
.tct-process-grid { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(48px, 7vw, 100px); }
.tct-process-grid > div:first-child > p { font-size: 15px; }
.tct-process-steps > div { padding: 20px 23px; }
.tct-process-steps h3 { font-size: 16px; }
.tct-process-steps p { font-size: 13px; }
.tct-page-hero h1, .tct-not-found h1 { letter-spacing: -.038em; }
.tct-page-hero p { font-size: 15px; }
.tct-breadcrumb, .tct-article-meta, .tct-card-kicker { font-size: 12px; }
.tct-directory-heading > span, .tct-search-results-bar > span { font-size: 13px; }
.tct-pagination .page-numbers { min-width: 42px; min-height: 42px; font-size: 13px; }
.tct-content-card h2 { font-size: 20px; letter-spacing: -.025em; }
.tct-content-card p, .tct-result-card p { font-size: 14px; }
.tct-result-card h2 { font-size: 19px; letter-spacing: -.025em; }
.tct-entry-content { font-size: 16px; line-height: 1.8; }
.tct-entry-content > pre, .tct-entry-content > .wp-block-code { font-size: 13px; }
.tct-entry-content > .wp-block-button .wp-block-button__link,
.tct-article-end .nav-links a { font-size: 14px; }

/* Footer uses the same readable scale as the rest of the site. */
.tct-footer-col a, .tct-footer-brand-block p { font-size: 13px; }
.tct-footer-search-card .tct-search-form { min-height: 50px; }
.tct-footer-search-card .tct-search-form input { font-size: 13px; }
.tct-footer-kicker { letter-spacing: .12em; }

@media (max-width: 1100px) {
  .tct-header-inner { gap: 22px; }
  .tct-nav-list { gap: 15px; }
  .tct-nav-list a { font-size: 13px; }
  .tct-hero-grid { gap: 36px; }
}

@media (max-width: 900px) {
  .tct-container { width: min(1200px, calc(100% - 40px)); }
  .tct-hero-grid { grid-template-columns: 1fr; }
  .tct-hero-copy h1 { max-width: 720px; font-size: clamp(46px, 7vw, 64px); }
  .tct-hero-visual { min-height: 450px; }
  .tct-process-grid { gap: 38px; }
  .tct-footer-main { grid-template-columns: 1.1fr .8fr .8fr; }
}

@media (max-width: 650px) {
  .tct-container { width: min(1200px, calc(100% - 32px)); }
  .tct-container--quiz { width: min(1360px, calc(100% - 22px)); }
  .tct-topbar-inner { min-height: 36px; font-size: 10px; }
  .tct-header-inner { min-height: 76px; }
  .tct-mobile-nav-extra > a { font-size: 13px; }
  .tct-mobile-nav-extra .tct-mobile-test-series { font-size: 13px; font-weight: 700; letter-spacing: 0; text-shadow: none; -webkit-font-smoothing: antialiased; font-synthesis: none; }
  .tct-hero { padding: 44px 0 52px; }
  .tct-hero-copy h1 { font-size: clamp(38px, 10vw, 50px); line-height: 1.13; letter-spacing: -.035em; }
  .tct-hero-copy > p { font-size: 15px; line-height: 1.7; }
  .tct-hero-search > span, .tct-hero-link { font-size: 12px; }
  .tct-hero-visual { min-height: 360px; }
  .tct-hero-panel { width: min(100%, 440px); transform: none; }
  .tct-hero-float { right: 8px; bottom: 8px; }
  .tct-panel-intro h2 { font-size: 22px; }
  .tct-proofbar-inner { gap: 15px; padding: 22px 0; }
  .tct-proofbar-lead { flex-wrap: wrap; }
  .tct-proofbar-lead span, .tct-proofbar-items span { font-size: 12px; }
  .tct-section { padding: 48px 0; }
  .tct-section-heading h2, .tct-process h2 { font-size: clamp(31px, 8vw, 39px); }
  .tct-section-heading p { font-size: 14px; }
  .tct-empty-state { grid-template-columns: 48px minmax(0, 1fr); gap: 6px 14px; min-height: 0; padding: 23px 21px; }
  .tct-empty-state > span { width: 45px; height: 45px; font-size: 21px; }
  .tct-empty-state h2, .tct-empty-state h3 { font-size: 17px; }
  .tct-empty-state p { font-size: 13px; }
  .tct-empty-state .tct-text-link { grid-column: 2; grid-row: auto; margin-top: 7px; }
  .tct-feature-band { padding: 15px 0; }
  .tct-feature-grid > div, .tct-feature-grid > div:first-child { min-height: 0; padding: 19px 0; }
  .tct-feature-grid h3 { font-size: 16px; }
  .tct-feature-grid p { font-size: 13px; }
  .tct-test-card, .tct-pack-card { min-height: 260px; padding: 23px; }
  .tct-test-card h3, .tct-pack-card h3 { font-size: 18px; }
  .tct-process-grid { grid-template-columns: 1fr; }
  .tct-process-steps > div { padding: 17px; }
  .tct-page-hero p { font-size: 14px; }
  .tct-result-card h2 { font-size: 17px; }
  .tct-result-card p { font-size: 13px; }
  .tct-entry-content { font-size: 15px; }
  .tct-footer-feature h2 { letter-spacing: -.035em; }
}

@media (max-width: 390px) {
  .tct-hero-copy h1 { font-size: 38px; }
  .tct-hero-actions { gap: 15px; }
  .tct-hero-visual { min-height: 350px; }
  .tct-panel-intro { padding: 18px; }
}

/* Footer refresh: a quiet full-width action, then aligned navigation. */
.tct-footer {
  padding: 0 0 28px;
  background: radial-gradient(circle at 90% 5%, rgba(22, 133, 117, .21), transparent 33%), #071f26;
}
.tct-footer::before {
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, #e9b868, #0d8a78 52%, #071f26);
  content: "";
}
.tct-footer-feature {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  margin: 0;
  padding: 72px 0 64px;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}
.tct-footer-feature::after { content: none; }
.tct-footer-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
  color: #a6d9c6;
  font-size: 11px;
  letter-spacing: .11em;
}
.tct-footer-kicker::before { width: 27px; height: 2px; background: #e9b868; content: ""; }
.tct-footer-feature h2 {
  max-width: 750px;
  font-size: clamp(34px, 3.6vw, 48px);
  line-height: 1.13;
  letter-spacing: -.045em;
}
.tct-footer-feature p { margin-top: 14px; color: #b8d0c5; font-size: 15px; }
.tct-footer-feature-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.tct-footer-feature-actions .tct-button {
  min-width: 186px;
  min-height: 54px;
  justify-content: center;
  border-color: #edc579;
  border-radius: 11px;
  background: #edc579;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .14);
}
.tct-footer-feature-actions .tct-button:hover { background: #f6cf8e; border-color: #f6cf8e; transform: translateY(-2px); }
.tct-footer-feature-actions > span { color: #93bcad; font-size: 11px; line-height: 1.4; }
.tct-footer-main {
  grid-template-columns: minmax(0, 1.5fr) minmax(135px, .75fr) minmax(125px, .75fr) minmax(260px, 1.2fr);
  align-items: start;
  gap: clamp(28px, 3.5vw, 55px);
  padding: 52px 0 60px;
  border-top: 1px solid rgba(216, 239, 226, .14);
}
.tct-footer-brand-block p { max-width: 285px; margin: 20px 0 0; color: #aac7bb; font-size: 14px; line-height: 1.75; }
.tct-footer-col h2,
.tct-footer-search-card h2 { margin: 3px 0 20px; color: #f2faf4; font-size: 15px; font-weight: 800; letter-spacing: -.02em; }
.tct-footer-col ul { gap: 12px; }
.tct-footer-col a { color: #b1cbbf; font-size: 14px; font-weight: 600; line-height: 1.55; }
.tct-footer-col a:hover,
.tct-footer-col a:focus-visible { color: #fff; }
.tct-footer-search-card { grid-column: auto; align-self: start; max-width: none; padding: 0; border: 0; border-radius: 0; background: none; }
.tct-footer-search-card p { max-width: 270px; margin: 0; color: #aac7bb; font-size: 13px; line-height: 1.65; }
.tct-footer-search-card .tct-search-form { min-height: 52px; margin-top: 22px; border-radius: 11px; }
.tct-footer-search-card .tct-search-form input { min-width: 0; font-size: 13px; }
.tct-footer-search-card .tct-search-form button { border-radius: 8px; }
.tct-footer-exams { padding: 22px 0; }
.tct-footer-exams a { border-radius: 8px; background: rgba(255, 255, 255, .035); }
.tct-footer-bottom { padding-top: 22px; color: #a3bfb1; font-size: 12px; }
.tct-footer-watermark { display: none; }

@media (max-width: 1100px) {
  .tct-footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 42px 48px; }
  .tct-footer-brand-block { grid-column: 1; grid-row: 1; }
  .tct-footer-col:first-of-type { grid-column: 1; grid-row: 2; }
  .tct-footer-col:last-of-type { grid-column: 2; grid-row: 2; }
  .tct-footer-search-card { grid-column: 2; grid-row: 1; }
}

@media (max-width: 650px) {
  .tct-footer { padding-bottom: 24px; }
  .tct-footer-feature { grid-template-columns: 1fr; gap: 26px; padding: 52px 0 44px; }
  .tct-footer-feature h2 { font-size: clamp(32px, 8vw, 40px); }
  .tct-footer-feature p { font-size: 14px; }
  .tct-footer-feature-actions { align-items: flex-start; }
  .tct-footer-feature-actions .tct-button { min-width: 0; }
  .tct-footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 35px 22px; padding: 42px 0 46px; }
  .tct-footer-brand-block { grid-column: 1 / -1; grid-row: 1; }
  .tct-footer-brand-block p { max-width: 330px; margin-top: 16px; }
  .tct-footer-col:first-of-type { grid-column: 1; grid-row: 2; }
  .tct-footer-col:last-of-type { grid-column: 2; grid-row: 2; }
  .tct-footer-search-card { grid-column: 1 / -1; grid-row: 3; padding-top: 30px; border-top: 1px solid rgba(216, 239, 226, .14); }
  .tct-footer-search-card .tct-search-form { max-width: 390px; }
  .tct-footer-exams { padding: 22px 0; }
  .tct-footer-exams > div { gap: 7px; }
  .tct-footer-bottom { line-height: 1.6; }
}

/* Syllabus index: published Posts in the Syllabus category. */
.tct-syllabus-page { background: #f7f9f6; }
.tct-syllabus-hero { padding: clamp(36px, 4vw, 54px) 0 clamp(40px, 4.5vw, 58px); border-bottom: 1px solid #d8e8df; background: radial-gradient(circle at 88% 20%, rgba(230, 190, 118, .22), transparent 23%), linear-gradient(115deg, #e7f4ec, #f7faf6); }
.tct-syllabus-hero .tct-breadcrumb { margin-bottom: 24px; }
.tct-syllabus-hero .tct-overline { color: #087d70; }
.tct-syllabus-hero h1 { max-width: 780px; margin: 13px 0 17px; color: #10343a; font-size: clamp(42px, 5.2vw, 68px); font-weight: 800; line-height: 1.12; letter-spacing: -.052em; }
.tct-syllabus-hero h1 span { color: #c58c3c; }
.tct-syllabus-hero p { max-width: 680px; margin: 0; color: #526b70; font-size: 17px; line-height: 1.7; }
.tct-syllabus-content { padding-block: clamp(36px, 4vw, 54px) 62px; }
.tct-syllabus-intro { margin-bottom: 24px; padding: 22px; border: 1px solid #dce8df; border-radius: 18px; background: #fff; box-shadow: 0 12px 30px rgba(17, 50, 48, .04); }
.tct-syllabus-heading { margin-bottom: 20px; }
.tct-syllabus-heading h2 { margin: 8px 0 0; color: #10343a; font-size: clamp(27px, 3vw, 36px); font-weight: 800; letter-spacing: -.035em; }
.tct-syllabus-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.tct-syllabus-card { display: flex; flex-direction: column; min-height: 190px; padding: 22px; border: 1px solid #dce8df; border-radius: 18px; background: #fff; box-shadow: 0 16px 34px rgba(17, 50, 48, .055); }
.tct-syllabus-card__label { color: #087d70; font-size: 11px; font-weight: 800; letter-spacing: .11em; }
.tct-syllabus-card h3 { margin: 12px 0 8px; color: #10343a; font-size: 20px; font-weight: 800; line-height: 1.35; letter-spacing: -.025em; }
.tct-syllabus-card h3 a:hover { color: #087d70; }
.tct-syllabus-card p { margin: 0 0 20px; color: #526b70; font-size: 14px; line-height: 1.65; }
.tct-syllabus-card__link { margin-top: auto; color: #087d70; font-size: 14px; font-weight: 800; }
.tct-syllabus-card__link:hover { color: #075c54; }
.tct-syllabus-pagination { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 22px 0 0; color: #526b70; }
.tct-syllabus-empty { max-width: 800px; padding: clamp(32px, 5vw, 56px); border: 1px solid #dce8df; border-radius: 22px; background: #fff; box-shadow: 0 20px 45px rgba(17, 50, 48, .06); }
.tct-syllabus-empty__icon { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 26px; border-radius: 15px; background: #e7f4ec; color: #087d70; font-size: 25px; }
.tct-syllabus-empty h2 { margin: 9px 0 12px; color: #10343a; font-size: clamp(25px, 3vw, 34px); font-weight: 800; letter-spacing: -.035em; }
.tct-syllabus-empty p { max-width: 590px; margin: 0 0 25px; color: #526b70; font-size: 15px; line-height: 1.7; }
@media (max-width: 900px) { .tct-syllabus-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 650px) { .tct-syllabus-hero { padding-block: 34px 42px; } .tct-syllabus-hero .tct-breadcrumb { margin-bottom: 22px; } .tct-syllabus-hero p { font-size: 15px; } .tct-syllabus-content { padding-block: 38px 56px; } .tct-syllabus-intro { margin-bottom: 24px; } .tct-syllabus-empty { padding: 30px 22px; } .tct-syllabus-grid { grid-template-columns: 1fr; } .tct-syllabus-card { min-height: 0; } }

/* Compact, fluid heading scale across desktop, tablet, and mobile. */
body.tct-theme {
  --tct-display-heading: clamp(30px, 3vw, 44px);
  --tct-page-heading: clamp(28px, 2.4vw, 38px);
  --tct-section-heading: clamp(24px, 2.5vw, 36px);
  --tct-subsection-heading: clamp(20px, 1.8vw, 27px);
  --tct-card-heading: clamp(17px, 1.35vw, 20px);
}

body.tct-theme .tct-hero-copy h1 { font-size: var(--tct-display-heading); line-height: 1.13; letter-spacing: -.04em; }
body.tct-theme :is(.tct-page-hero, .tct-not-found) h1 { font-size: var(--tct-page-heading); line-height: 1.16; letter-spacing: -.04em; }
body.tct-theme :is(.tct-pyq-hero, .tct-syllabus-hero) h1 { font-size: clamp(28px, 2.4vw, 38px); line-height: 1.14; letter-spacing: -.04em; }
body.tct-theme :is(.tct-section-heading, .tct-process) h2,
body.tct-theme .tct-footer-feature h2 { font-size: var(--tct-section-heading); line-height: 1.2; letter-spacing: -.035em; }
body.tct-theme :is(.tct-syllabus-heading, .tct-pyq-empty, .tct-syllabus-empty) h2 { font-size: var(--tct-subsection-heading); line-height: 1.25; }
body.tct-theme :is(.tct-directory-heading, .tct-panel-intro) h2 { font-size: clamp(19px, 1.65vw, 24px); line-height: 1.28; }
body.tct-theme .tct-search-panel h2 { font-size: clamp(20px, 1.7vw, 24px); }
body.tct-theme :is(.tct-test-card, .tct-pack-card, .tct-pyq-card, .tct-syllabus-card) h3,
body.tct-theme .tct-content-card h2 { font-size: var(--tct-card-heading); line-height: 1.35; }
body.tct-theme .tct-result-card h2 { font-size: clamp(17px, 1.25vw, 19px); line-height: 1.35; }
body.tct-theme .tct-entry-content h2 { font-size: var(--tct-subsection-heading); line-height: 1.3; }
body.tct-theme .tct-entry-content h3 { font-size: clamp(18px, 1.5vw, 22px); line-height: 1.35; }
body.tct-theme .tct-entry-content h4 { font-size: clamp(16px, 1.2vw, 18px); line-height: 1.4; }

/* Keep related page sections close without crowding their content. */
body.tct-theme .tct-page-hero { padding-block: clamp(18px, 2vw, 26px) clamp(23px, 2.4vw, 32px); }
body.tct-theme .tct-page-hero .tct-breadcrumb { margin-bottom: clamp(12px, 1.3vw, 18px); }
body.tct-theme .tct-page-hero p { margin-top: 8px; }
body.tct-theme .tct-collection-content { padding-block: clamp(18px, 2vw, 28px) clamp(34px, 3.5vw, 48px); }
body.tct-theme .tct-collection-content > .tct-text-link { margin-bottom: 8px; }
body.tct-theme .tct-subject-results { margin-top: 0; }
body.tct-theme .tct-directory-heading { margin-bottom: 16px; }
body.tct-theme .tct-section { padding-block: clamp(34px, 3.8vw, 50px); }
body.tct-theme .tct-section-heading { margin-bottom: 22px; }
body.tct-theme .tct-process { padding-block: clamp(42px, 5vw, 64px); }
body.tct-theme :is(.tct-listing-wrap, .tct-search-results, .tct-directory-content, .tct-page-body, .tct-article) { padding-block: clamp(26px, 3vw, 42px) clamp(44px, 5vw, 68px); }
body.tct-theme .tct-pyq-hero-grid { padding-block: clamp(28px, 3vw, 44px); }
body.tct-theme .tct-pyq-content { padding-block: clamp(24px, 3vw, 40px) clamp(40px, 4vw, 56px); }
body.tct-theme .tct-syllabus-hero { padding-block: clamp(26px, 3vw, 42px); }
body.tct-theme .tct-syllabus-content { padding-block: clamp(24px, 3vw, 40px) clamp(40px, 4vw, 56px); }
body.tct-theme .tct-syllabus-intro { margin-bottom: 26px; }

/* Center page and post titles with their supporting hero text. */
body.tct-theme :is(.tct-page-hero, .tct-syllabus-hero) > .tct-container { text-align: center; }
body.tct-theme :is(.tct-page-hero, .tct-syllabus-hero) .tct-breadcrumb { justify-content: center; }
body.tct-theme :is(.tct-page-hero, .tct-syllabus-hero) h1 { max-width: 900px; margin-inline: auto; text-align: center; }
body.tct-theme :is(.tct-page-hero, .tct-syllabus-hero) p { margin-inline: auto; text-align: center; }
body.tct-theme .tct-page-hero .tct-article-meta { justify-content: center; }

/* Exam pages lead from paper to subject to test. */
.tct-exam-route { margin-bottom: clamp(25px, 3vw, 38px); }
.tct-exam-route .tct-directory-heading { align-items: end; }
.tct-exam-route .tct-directory-heading .tct-overline { display: block; margin-bottom: 5px; }
.tct-exam-route__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); gap: 14px; }
.tct-exam-route__card { display: flex; flex-direction: column; min-width: 0; padding: clamp(17px, 2vw, 23px); border: 1px solid #d6e5da; border-radius: 16px; background: #fff; box-shadow: 0 9px 26px rgba(14, 61, 53, .045); }
.tct-exam-route__card-head { display: flex; align-items: center; gap: 13px; }
.tct-exam-route__mark { display: grid; place-items: center; flex: none; width: 39px; height: 39px; border-radius: 11px; background: #e7f3eb; color: #087d70; font-size: 19px; }
.tct-exam-route__card h3 { margin: 0; color: #12383b; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.25; }
.tct-exam-route__card h3 a:hover { color: #087d70; }
.tct-exam-route__card-head p { margin: 4px 0 0; color: #627979; font-size: 13px; }
.tct-exam-route__subjects { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 17px; }
.tct-exam-route__subjects a { display: inline-flex; align-items: center; gap: 7px; min-height: 32px; padding: 5px 10px; border: 1px solid #d9e8dd; border-radius: 8px; background: #f5faf6; color: #245052; font-size: 12px; font-weight: 650; line-height: 1.35; }
.tct-exam-route__subjects a:hover { border-color: #0b8377; background: #e8f5ee; color: #076d65; }
.tct-exam-route__subjects a span { color: #66817a; font-size: 11px; }
.tct-exam-route__all { display: inline-flex; align-items: center; gap: 7px; align-self: flex-start; margin-top: auto; padding-top: 17px; color: #087d70; font-size: 13px; font-weight: 750; }
.tct-exam-route__all:hover { color: #113e42; }
.tct-exam-route + .tct-directory-heading { padding-top: 22px; border-top: 1px solid #dce8e1; }
.tct-practice-exams { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 25px; }
.tct-practice-exams > span { margin-right: 5px; color: #31585a; font-size: 13px; font-weight: 750; }
.tct-practice-exams a { display: inline-flex; align-items: center; gap: 7px; min-height: 37px; padding: 7px 12px; border: 1px solid #cfe1d4; border-radius: 9px; background: #fff; color: #17615c; font-size: 12px; font-weight: 700; line-height: 1.3; }
.tct-practice-exams a:hover { border-color: #0b8377; background: #edf7f0; }
.tct-quiz-path { display: flex; justify-content: center; flex-wrap: wrap; gap: 7px; max-width: 1000px; margin: 17px auto 0; }
.tct-quiz-path a { display: inline-flex; align-items: center; gap: 7px; padding: 7px 11px; border: 1px solid #cfe1d4; border-radius: 8px; background: rgba(255,255,255,.75); color: #244d50; font-size: 12px; line-height: 1.35; }
.tct-quiz-path a:hover { border-color: #0b8377; background: #fff; color: #087d70; }
.tct-quiz-path a span { color: #587677; font-weight: 650; }
.tct-quiz-path a strong { font-weight: 750; }
@media (max-width: 650px) {
  .tct-exam-route__grid { grid-template-columns: 1fr; }
  .tct-exam-route .tct-directory-heading { align-items: start; }
  .tct-practice-exams { margin-bottom: 18px; }
  .tct-practice-exams > span { flex-basis: 100%; }
  .tct-quiz-path { justify-content: center; }
}

/* Post taxonomy and related reading. */
.tct-practice-promo { padding: 16px 0; }
body.tct-theme .tct-practice-promo + .tct-section { padding-top: clamp(20px, 2.4vw, 32px); }
.tct-practice-promo__card { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr); min-height: 286px; overflow: hidden; border: 1px solid #165850; border-radius: 20px; background: #10363a; color: #fff; box-shadow: 0 15px 36px rgba(8, 62, 57, .12); }
.tct-practice-promo__copy { display: flex; align-items: flex-start; flex-direction: column; justify-content: center; min-width: 0; padding: clamp(25px, 3vw, 38px) clamp(25px, 3.5vw, 46px); }
.tct-practice-promo__eyebrow { display: inline-flex; align-items: center; gap: 8px; color: #aae1ce; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.tct-practice-promo__eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #efc478; }
.tct-practice-promo h2 { max-width: 540px; margin: 11px 0 10px; color: #fff; font-size: clamp(26px, 2.45vw, 35px); font-weight: 750; line-height: 1.14; letter-spacing: -.035em; }
.tct-practice-promo p { max-width: 510px; margin: 0; color: #d8e9e3; font-size: 14px; line-height: 1.55; }
.tct-practice-promo__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 9px 16px; margin-top: 21px; }
.tct-practice-promo__actions a { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 43px; border-radius: 9px; font-size: 13px; font-weight: 750; text-decoration: none; }
.tct-practice-promo__primary { padding: 10px 17px; background: #efc478; color: #12343a; box-shadow: 0 4px 0 rgba(0,0,0,.12); }
.tct-practice-promo__primary:hover { background: #ffe1a8; color: #12343a; transform: translateY(-1px); }
.tct-practice-promo__secondary { color: #f6fffb; }
.tct-practice-promo__secondary:hover { color: #efc478; }
.tct-practice-promo__visual { position: relative; display: grid; place-items: center; min-width: 0; padding: 24px; background: #dcefe7; }
.tct-practice-promo__visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tct-practice-promo__plan { width: min(100%, 390px); padding: 19px 22px 17px; border: 1px solid #b9d7cb; border-radius: 16px; background: #fbfffc; color: #123b3d; box-shadow: 0 14px 32px rgba(12, 67, 58, .12); transform: rotate(-1deg); }
.tct-practice-promo__plan-head, .tct-practice-promo__plan-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tct-practice-promo__plan-head { padding-bottom: 11px; border-bottom: 1px solid #e2eee8; color: #176c62; font-size: 10px; font-weight: 800; letter-spacing: .11em; }
.tct-practice-promo__plan-mark { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: #f9ebce; color: #a46519; font-size: 19px; letter-spacing: 0; }
.tct-practice-promo__plan-steps { display: grid; gap: 0; padding: 5px 0; }
.tct-practice-promo__plan-steps > div { display: grid; grid-template-columns: 27px minmax(0, 1fr) 24px; align-items: center; gap: 9px; min-height: 42px; border-bottom: 1px solid #eef4ef; font-size: 14px; font-weight: 700; }
.tct-practice-promo__plan-steps b { color: #168477; font-size: 11px; letter-spacing: .04em; }
.tct-practice-promo__plan-steps i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #e7f4ed; color: #087f72; font-size: 12px; font-style: normal; }
.tct-practice-promo__plan-foot { padding-top: 9px; color: #6e8580; font-size: 9px; font-weight: 800; letter-spacing: .1em; }
.tct-practice-promo__plan-foot strong { color: #123b3d; font-size: 12px; letter-spacing: 0; }
@media (max-width: 850px) { .tct-practice-promo__card { grid-template-columns: 1fr; } .tct-practice-promo__visual { padding: 18px; } .tct-practice-promo__plan { transform: none; } }
@media (max-width: 450px) { .tct-practice-promo__copy { padding: 24px 22px; } .tct-practice-promo__actions { align-items: stretch; flex-direction: column; width: 100%; } .tct-practice-promo__secondary { justify-content: flex-start !important; } .tct-practice-promo__visual { padding: 14px; } .tct-practice-promo__plan { padding: 14px 16px 12px; } }

/* Post taxonomy and related reading. */
body.tct-theme .tct-article { padding-bottom: clamp(22px, 2.5vw, 34px); }
body.tct-theme .tct-post-tags { display: flex; flex-wrap: wrap; gap: 5px 10px; margin-top: 25px; color: var(--tct-deep); font-size: 14px; line-height: 1.6; }
body.tct-theme .tct-post-tags strong { font-weight: 800; }
body.tct-theme .tct-post-tags a { color: var(--tct-teal); text-decoration: underline; text-underline-offset: 3px; }
body.tct-theme .tct-post-tags a:hover { color: var(--tct-deep); }
body.tct-theme .tct-article-end { margin-top: 28px; }
body.tct-theme .tct-related-posts { padding: 25px 0 clamp(40px, 4vw, 56px); border-top: 1px solid var(--tct-border); }
body.tct-theme .tct-related-posts h2 { margin: 0 0 18px; color: var(--tct-deep); font-size: clamp(21px, 1.9vw, 27px); line-height: 1.25; font-weight: 800; letter-spacing: -.025em; text-align: center; }
body.tct-theme .tct-related-posts-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
body.tct-theme .tct-related-posts-grid:has(> :only-child) { grid-template-columns: minmax(0, 400px); justify-content: center; }
body.tct-theme .tct-related-posts-grid:has(> :first-child:nth-last-child(2)) { grid-template-columns: repeat(2, minmax(0, 400px)); justify-content: center; }
body.tct-theme .tct-related-post { display: flex; flex-direction: column; min-width: 0; padding: 20px; border: 1px solid var(--tct-border); border-radius: 16px; background: #fff; }
body.tct-theme .tct-related-post h3 { margin: 0 0 9px; color: var(--tct-deep); font-size: clamp(17px, 1.25vw, 20px); line-height: 1.35; font-weight: 800; }
body.tct-theme .tct-related-post h3 a:hover { color: var(--tct-teal); }
body.tct-theme .tct-related-post p { margin: 0 0 16px; color: var(--tct-muted); font-size: 14px; line-height: 1.6; }
body.tct-theme .tct-related-post .tct-text-link { margin-top: auto; }
body.tct-theme .tct-related-empty { margin: 0; color: var(--tct-muted); text-align: center; }
@media (max-width: 900px) { body.tct-theme .tct-related-posts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { body.tct-theme .tct-related-posts-grid, body.tct-theme .tct-related-posts-grid:has(> :only-child), body.tct-theme .tct-related-posts-grid:has(> :first-child:nth-last-child(2)) { grid-template-columns: 1fr; } }
