:root{
  --bg:#070911;
  --nav:#0f172a;
  --panel:#101421;
  --panel-soft:#15192a;
  --panel-glow:rgba(176,12,190,.14);
  --text:#f5efe3;
  --muted:#b8aec3;
  --gold:#e9c66d;
  --purple:#b00cbe;
  --purple-deep:#5b21b6;
  --border:rgba(255,255,255,.10);
  --shadow:0 24px 70px rgba(0,0,0,.46);
}

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  background:
    radial-gradient(circle at top left, rgba(117,58,180,.18), transparent 34%),
    radial-gradient(circle at top right, rgba(233,198,109,.12), transparent 34%),
    linear-gradient(180deg,#070911 0%, #0b1020 44%, #080b13 100%);
  color:var(--text);
  font-family:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a{
  color:inherit;
  text-decoration:none;
}

.container{
  width:min(1180px, calc(100% - 40px));
  margin-inline:auto;
}

/* Header */

.topbar{
  height:80px;
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  padding:0 32px;
  position:sticky;
  top:0;
  z-index:20;
  background:#0f172a;
  border-bottom:0;
}

.desktop-nav{
  grid-column:2;
  display:flex;
  gap:28px;
  color:#ded7e8;
  font-size:.94rem;
  align-items:center;
}

.desktop-nav a{
  opacity:.86;
  position:relative;
  padding:30px 0;
}

.desktop-nav a:hover,
.desktop-nav a.active{
  opacity:1;
  color:#fff;
}

.desktop-nav a.active:after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:20px;
  height:2px;
  background:linear-gradient(90deg,var(--purple),var(--gold));
  border-radius:999px;
}

.auth-actions{
  grid-column:3;
  justify-self:end;
  display:flex;
  gap:4px;
  align-items:center;
  transform:translateY(-5px);
}

.auth-link{
  display:flex;
  align-items:center;
  justify-content:center;
  height:38px;
  padding:8px 12px;
  border-radius:8px;
  font-family:Inter, sans-serif;
  font-size:14px;
  font-weight:500;
  line-height:20px;
  box-sizing:border-box;
  transition:all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow:hidden;
  text-decoration:none;
}

.auth-link.login{
  width:63px;
  background:rgba(176, 12, 190, 0.08);
  color:rgb(176, 12, 190);
  border:1px solid rgba(176, 12, 190, 0.15);
}

.auth-link.register{
  width:81.125px;
  background:rgba(176, 12, 190, 0.95);
  color:rgb(255, 255, 255);
  border:1px solid rgb(176, 12, 190);
}

.auth-link:hover{
  filter:brightness(1.08);
}

.mobile-menu-toggle,
.mobile-menu{
  display:none;
}

/* Banner */

.hero{
  height:350px;
  border:0;
  overflow:hidden;
  background:#000;
  line-height:0;
}

.hero img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center center;
  border:0;
  outline:0;
}

/* General layout */

.page-shell{
  width:min(1280px, calc(100% - 48px));
  margin:0 auto;
  padding:30px 0 86px;
}

.breadcrumbs{
  display:flex;
  gap:10px;
  align-items:center;
  color:#a99fba;
  font-size:.9rem;
  margin-bottom:18px;
}

.breadcrumbs a{
  color:#d9c6ff;
}

.breadcrumbs a:hover{
  color:var(--gold);
}

/* Article pages */

.article-layout{
  display:grid;
  grid-template-columns:minmax(0, 1fr) 330px;
  gap:24px;
  align-items:start;
}

.article-card,
.side-panel{
  background:linear-gradient(180deg,rgba(255,255,255,.065),rgba(255,255,255,.032));
  border:1px solid var(--border);
  border-radius:26px;
  box-shadow:var(--shadow);
}

.article-card{
  padding:0;
  overflow:hidden;
}

.article-header{
  padding:42px 46px 36px;
  background:
    radial-gradient(circle at top right,rgba(168,85,247,.20),transparent 34%),
    radial-gradient(circle at top left,rgba(233,198,109,.13),transparent 32%),
    rgba(255,255,255,.015);
  border-bottom:1px solid var(--border);
}

.article-meta-top{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  align-items:center;
  color:var(--muted);
  font-size:.9rem;
  margin-bottom:22px;
}

.pill{
  background:linear-gradient(135deg,var(--purple),var(--purple-deep));
  color:#fff;
  border-radius:999px;
  padding:7px 12px;
  font-weight:800;
  font-size:.78rem;
  letter-spacing:.02em;
}

.eyebrow{
  color:var(--gold);
  text-transform:uppercase;
  letter-spacing:.17em;
  font-size:.75rem;
  font-weight:800;
  margin:0 0 12px;
}

h1,
h2,
h3{
  font-family:Georgia,'Times New Roman',serif;
  font-weight:650;
  line-height:1.12;
  margin:0;
}

h1{
  font-size:clamp(2.7rem,4.4vw,4.7rem);
  max-width:930px;
  letter-spacing:-.045em;
  background:linear-gradient(90deg,#fff7df,#e9c66d 54%,#f3a8c7);
  -webkit-background-clip:text;
  color:transparent;
}

.article-lead{
  font-size:1.22rem;
  line-height:1.75;
  color:#d6cfdf;
  max-width:860px;
  margin:24px 0 0;
}

.article-question{
  font-family:Georgia,serif;
  color:#fff4d8;
  font-size:1.24rem;
  line-height:1.6;
  margin:20px 0 0;
  max-width:820px;
}

.article-section{
  padding:34px 46px 4px;
}

.article-section + .article-section{
  border-top:1px solid rgba(255,255,255,.07);
}

.article-section h2{
  font-size:2rem;
  margin-bottom:16px;
  color:#fff4e2;
}

.article-section h2:before{
  content:"✦";
  color:var(--gold);
  font-size:1.1rem;
  margin-right:12px;
}

.article-section h3{
  font-size:1.45rem;
  margin-bottom:10px;
  color:#fff;
}

.article-section p{
  color:#d0c8d8;
  line-height:1.78;
  font-size:1.04rem;
  margin:0 0 16px;
}

.quote-card{
  margin:24px 0;
  padding:25px 28px;
  border-radius:20px;
  background:linear-gradient(135deg,rgba(233,198,109,.12),rgba(168,85,247,.13));
  border:1px solid rgba(233,198,109,.22);
}

.quote-card p{
  margin:0 0 8px;
  color:var(--muted);
}

.quote-card strong{
  display:block;
  font-family:Georgia,serif;
  font-size:1.8rem;
  color:#fff7df;
}

.teaching-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:14px;
  margin:24px 0;
}

.teaching-grid div{
  border:1px solid var(--border);
  background:rgba(255,255,255,.035);
  border-radius:18px;
  padding:18px;
}

.teaching-grid span{
  display:block;
  color:var(--gold);
  font-weight:800;
  margin-bottom:8px;
}

.teaching-grid p{
  font-size:.98rem;
  margin:0;
}

.numbered-block{
  display:grid;
  grid-template-columns:54px 1fr;
  gap:22px;
  margin:24px 0 32px;
}

.number{
  width:48px;
  height:48px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg,var(--purple),var(--purple-deep));
  font-family:Inter, sans-serif;
  font-weight:800;
  font-size:1.25rem;
  line-height:1;
  box-shadow:0 18px 36px rgba(168,85,247,.22);
}

.soft-list,
.book-list{
  margin:18px 0 18px;
  padding:0;
  list-style:none;
}

.soft-list li,
.book-list li{
  position:relative;
  padding:11px 14px 11px 36px;
  margin-bottom:9px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:14px;
  background:rgba(255,255,255,.035);
  color:#d7d0df;
}

.soft-list li:before,
.book-list li:before{
  content:"✓";
  position:absolute;
  left:14px;
  color:var(--gold);
  font-weight:900;
}

.book-list{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:10px;
}

.book-list li{
  margin:0;
}

.quotes-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:14px;
  margin:22px 0;
}

.quotes-grid blockquote{
  margin:0;
  padding:20px;
  border-radius:18px;
  border:1px solid rgba(233,198,109,.18);
  background:rgba(233,198,109,.07);
  font-family:Georgia,serif;
  color:#fff3d5;
  line-height:1.45;
}

.final-thoughts{
  padding-bottom:34px;
}

.final-line{
  margin-top:24px;
  padding:24px;
  border-radius:20px;
  text-align:center;
  font-family:Georgia,serif;
  font-size:1.55rem;
  line-height:1.4;
  color:#fff;
  background:linear-gradient(135deg,rgba(168,85,247,.24),rgba(233,198,109,.15));
  border:1px solid rgba(233,198,109,.24);
}

.discussion-panel{
  margin:10px 46px 46px;
  padding:26px;
  border-radius:22px;
  background:linear-gradient(90deg,rgba(168,85,247,.18),rgba(233,198,109,.08));
  border:1px solid rgba(255,255,255,.11);
  display:flex;
  gap:28px;
  align-items:center;
  justify-content:space-between;
}

.discussion-panel h2{
  font-size:1.65rem;
}

.discussion-panel p:not(.eyebrow){
  color:var(--muted);
  margin:8px 0 0;
}

.button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:14px;
  padding:13px 22px;
  font-weight:800;
  border:1px solid var(--border);
  transition:.2s ease;
  min-width:190px;
}

.button.primary{
  background:linear-gradient(135deg,var(--purple),#7c3aed);
  box-shadow:0 16px 42px rgba(168,85,247,.24);
}

.button:hover{
  transform:translateY(-2px);
  border-color:rgba(233,198,109,.45);
}

/* Sidebar */

.article-sidebar{
  position:sticky;
  top:104px;
  display:grid;
  gap:16px;
}

.side-panel{
  padding:22px;
}

.side-panel p:not(.eyebrow){
  color:var(--muted);
  line-height:1.6;
  margin:0 0 18px;
}

.side-panel dl{
  margin:18px 0 0;
}

.side-panel dl div{
  display:flex;
  justify-content:space-between;
  gap:14px;
  border-top:1px solid rgba(255,255,255,.08);
  padding:12px 0;
}

.side-panel dt{
  color:#fff;
  font-weight:700;
}

.side-panel dd{
  margin:0;
  color:var(--muted);
  text-align:right;
}

.contents-panel a,
.related-panel a{
  display:block;
  padding:12px 0;
  border-top:1px solid rgba(255,255,255,.08);
  color:#ddd3e7;
}

.contents-panel a:first-of-type,
.related-panel a:first-of-type{
  border-top:0;
}

.contents-panel a:hover,
.related-panel a:hover{
  color:var(--gold);
}

.related-panel strong{
  display:block;
  line-height:1.35;
}

.related-panel span{
  display:block;
  color:var(--muted);
  font-size:.86rem;
  margin-top:4px;
}

.related-disabled{
  display:block;
  padding:12px 0;
  border-top:1px solid rgba(255,255,255,.08);
  color:#ddd3e7;
  opacity:.65;
}

.related-disabled strong{
  display:block;
  line-height:1.35;
}

.related-disabled span{
  display:block;
  color:var(--muted);
  font-size:.86rem;
  margin-top:4px;
}

/* Library homepage */

.library-home{
  padding-top:30px;
}

.library-hero,
.library-featured{
  background:linear-gradient(180deg,rgba(255,255,255,.065),rgba(255,255,255,.032));
  border:1px solid var(--border);
  border-radius:26px;
  box-shadow:var(--shadow);
  overflow:hidden;
}

.library-hero{
  padding:54px 56px;
  margin-bottom:24px;
  display:grid;
  grid-template-columns:minmax(0, 1fr) 340px;
  gap:34px;
  align-items:center;
  background:
    radial-gradient(circle at top right,rgba(168,85,247,.22),transparent 34%),
    radial-gradient(circle at bottom left,rgba(233,198,109,.13),transparent 32%),
    linear-gradient(180deg,rgba(255,255,255,.065),rgba(255,255,255,.032));
}

.library-hero-copy{
  max-width:860px;
}

.library-hero-panel{
  padding:24px;
  border-radius:22px;
  border:1px solid rgba(233,198,109,.18);
  background:
    radial-gradient(circle at top right,rgba(233,198,109,.12),transparent 34%),
    rgba(255,255,255,.04);
}

.library-stat-row{
  display:flex;
  justify-content:space-between;
  gap:18px;
  padding:13px 0;
  border-top:1px solid rgba(255,255,255,.08);
}

.library-stat-row:first-of-type{
  border-top:0;
}

.library-stat-row strong{
  color:#fff4e2;
  font-family:Georgia, 'Times New Roman', serif;
  font-size:1.25rem;
}

.library-stat-row span{
  color:#d0c8d8;
  text-align:right;
}

.library-start-link{
  display:block;
  margin-top:18px;
  padding:13px 15px;
  border-radius:14px;
  background:rgba(176,12,190,.16);
  border:1px solid rgba(176,12,190,.28);
  color:#fff;
  font-weight:800;
  text-align:center;
}

.library-start-link:hover{
  color:var(--gold);
  border-color:rgba(233,198,109,.38);
}

.library-hero h1{
  font-size:clamp(2.7rem,4.4vw,4.9rem);
  max-width:900px;
  letter-spacing:-.045em;
  background:linear-gradient(90deg,#fff7df,#e9c66d 54%,#f3a8c7);
  -webkit-background-clip:text;
  color:transparent;
}

.library-featured{
  padding:38px;
  background:
    radial-gradient(circle at top left,rgba(176,12,190,.16),transparent 36%),
    linear-gradient(135deg,rgba(168,85,247,.12),rgba(233,198,109,.06));
}

.featured-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:14px;
}

.featured-card{
  display:flex;
  flex-direction:column;
  min-height:260px;
  padding:22px;
  border-radius:20px;
  border:1px solid rgba(255,255,255,.09);
  background:
    radial-gradient(circle at top right,rgba(233,198,109,.10),transparent 34%),
    rgba(255,255,255,.035);
  transition:.2s ease;
}

.featured-card:hover{
  transform:translateY(-2px);
  border-color:rgba(233,198,109,.35);
}

.featured-card h3{
  font-size:1.45rem;
  color:#fff4e2;
  margin:14px 0 12px;
}

.featured-card p{
  color:#d0c8d8;
  line-height:1.65;
  font-size:.98rem;
  margin:0;
}

.featured-card small{
  margin-top:auto;
  padding-top:18px;
  color:var(--muted);
  line-height:1.4;
}

.featured-status{
  align-self:flex-start;
  border-radius:999px;
  padding:6px 10px;
  font-size:.72rem;
  font-weight:800;
  letter-spacing:.03em;
  text-transform:uppercase;
}

.featured-status.live{
  background:rgba(176,12,190,.20);
  border:1px solid rgba(176,12,190,.35);
  color:#fff;
}

.featured-status.soon{
  background:rgba(233,198,109,.10);
  border:1px solid rgba(233,198,109,.24);
  color:#fff4d8;
}

.library-section{
  margin-top:24px;
  background:linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,.028));
  border:1px solid var(--border);
  border-radius:26px;
  box-shadow:var(--shadow);
  padding:38px;
}

.section-heading{
  max-width:820px;
  margin-bottom:24px;
}

.section-heading h2{
  font-size:2.25rem;
  color:#fff4e2;
  margin-bottom:12px;
}

.section-heading p{
  color:#d0c8d8;
  line-height:1.75;
  font-size:1.04rem;
  margin:0;
}

.category-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:14px;
}

.category-card{
  display:block;
  border:1px solid rgba(255,255,255,.09);
  border-radius:20px;
  padding:22px;
  background:
    radial-gradient(circle at top right,rgba(176,12,190,.12),transparent 34%),
    rgba(255,255,255,.035);
  transition:.2s ease;
}

.category-card:hover{
  transform:translateY(-2px);
  border-color:rgba(233,198,109,.35);
}

.category-card span{
  display:block;
  color:var(--gold);
  font-weight:800;
  margin-bottom:10px;
}

.category-card p{
  color:#d0c8d8;
  line-height:1.65;
  font-size:.98rem;
  margin:0;
}

/* Library category pages */

.library-category-nav{
  margin:0 0 28px;
  padding:16px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.035);
}

.library-category-nav > span{
  display:block;
  margin-bottom:10px;
  color:var(--muted);
  font-size:.82rem;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.08em;
}

.library-category-nav-links{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.library-category-nav a{
  display:inline-flex;
  align-items:center;
  min-height:36px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.035);
  color:#ddd3e7;
  font-size:.9rem;
  font-weight:700;
}

.library-category-nav a:hover{
  border-color:rgba(233,198,109,.35);
  color:#fff4e2;
}

.library-category-nav a.is-active{
  background:linear-gradient(135deg,var(--purple),var(--purple-deep));
  border-color:rgba(255,255,255,.16);
  color:#fff;
}
.library-category-page .library-section + .library-section{
  margin-top:24px;
}

.category-hero{
  margin-bottom:24px;
}

.article-list-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:14px;
}

.article-list-card{
  display:flex;
  flex-direction:column;
  min-height:250px;
  padding:22px;
  border-radius:20px;
  border:1px solid rgba(255,255,255,.09);
  background:
    radial-gradient(circle at top right,rgba(233,198,109,.10),transparent 34%),
    rgba(255,255,255,.035);
  transition:.2s ease;
}

a.article-list-card:hover{
  transform:translateY(-2px);
  border-color:rgba(233,198,109,.35);
}

.article-list-card h3{
  font-size:1.45rem;
  color:#fff4e2;
  margin:14px 0 12px;
}

.article-list-card p{
  color:#d0c8d8;
  line-height:1.65;
  font-size:.98rem;
  margin:0;
}

.article-list-card small{
  margin-top:auto;
  padding-top:18px;
  color:var(--muted);
  line-height:1.4;
}

.article-list-card.is-coming-soon{
  opacity:.72;
}

/* Footer */

.site-footer{
  border-top:1px solid var(--border);
  padding:30px 0;
  color:var(--muted);
  background:rgba(0,0,0,.2);
}

.footer-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}

.footer-inner strong{
  color:var(--gold);
  font-family:Georgia,serif;
}

.footer-inner p{
  margin:7px 0 0;
}

.footer-inner nav{
  display:flex;
  gap:20px;
}

.footer-inner a{
  font-size:.9rem;
}

.copyright{
  margin:8px 0 0;
  font-size:.85rem;
  color:rgba(184,174,195,.75);
}

/* Tablet and mobile */

@media (max-width:980px){
  .desktop-nav{
    display:none;
  }

  .topbar{
    height:64px;
    display:flex;
    justify-content:flex-end;
    align-items:center;
    padding:0 20px;
  }

  .auth-actions{
    display:none;
  }

  .mobile-menu-toggle{
    display:flex;
    align-items:center;
    justify-content:center;
    width:44px;
    height:44px;
    padding:0;
    margin:0;
    background:transparent;
    border:0;
    border-radius:0;
    color:#fff;
    font:inherit;
    line-height:1;
    cursor:pointer;
    appearance:none;
    -webkit-appearance:none;
	transform:translate(4px, -3px);
  }

  .mobile-menu-toggle .menu-icon{
    display:block;
    font-size:2rem;
    line-height:1;
  }

.mobile-menu{
  display:grid;
  grid-template-rows:0fr;
  overflow:hidden;
  background:#0f172a;
  border-top:0;
  border-bottom:0;
  transition:grid-template-rows .38s linear;
}

.mobile-menu.is-open{
  grid-template-rows:1fr;
  border-top:1px solid rgba(255,255,255,.08);
  border-bottom:1px solid rgba(255,255,255,.08);
}

.mobile-menu-inner{
  min-height:0;
  overflow:hidden;
  padding:0 20px;
}

.mobile-menu.is-open .mobile-menu-inner{
  padding:10px 20px 16px;
}

.mobile-menu-inner > a{
  display:block;
  padding:13px 0;
  color:#ded7e8;
  font-weight:500;
  font-size:.9rem;
  border-top:1px solid rgba(255,255,255,.08);
}

.mobile-menu-inner > a:first-child{
  border-top:0;
}

.mobile-menu-inner > a:hover{
  color:var(--gold);
}

.mobile-auth-links{
  display:block;
  padding-top:0;
  margin-top:0;
  border-top:0;
}

.mobile-auth-links a{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  min-height:44px;
  padding:13px 12px;
  margin-top:8px;
  border-radius:10px;
  font-weight:500;
  font-size:.9rem;
}

.mobile-login{
  flex:1;
  background:rgba(176, 12, 190, 0.08) !important;
  color:rgb(176, 12, 190) !important;
  border:1px solid rgba(176, 12, 190, 0.2) !important;
}

.mobile-register{
  flex:1;
  background:rgba(176, 12, 190, 0.95) !important;
  color:#fff !important;
  border:1px solid rgb(176, 12, 190) !important;
}

  .hero{
    height:90px;
  }

  .page-shell{
    width:min(100% - 28px,1180px);
    padding-top:22px;
  }

  .article-layout{
    grid-template-columns:1fr;
  }

  .article-sidebar{
    position:static;
  }

  .article-header,
  .article-section{
    padding-left:26px;
    padding-right:26px;
  }

  .discussion-panel{
    margin-left:26px;
    margin-right:26px;
    flex-direction:column;
    align-items:flex-start;
  }

  .teaching-grid,
  .quotes-grid,
  .book-list{
    grid-template-columns:1fr;
  }

  .library-hero{
    grid-template-columns:1fr;
  }

.featured-grid,
.category-grid,
.article-list-grid{
  grid-template-columns:1fr;
}
}

@media (max-width:560px){
  .container{
    width:min(100% - 28px,1180px);
  }

  .hero{
    height:90px;
  }

  .breadcrumbs{
    font-size:.8rem;
    overflow:auto;
    white-space:nowrap;
  }

  .breadcrumb-current,
  .breadcrumb-current-separator{
    display:none;
  }

  h1{
    font-size:2.25rem;
  }

  .article-header{
    padding:30px 22px;
  }

  .article-section{
    padding:28px 22px 2px;
  }

  .article-section h2{
    font-size:1.55rem;
  }

  .article-section p{
    font-size:1rem;
  }

  .article-lead{
    font-size:1.05rem;
  }

  .article-question{
    font-size:1.08rem;
  }

  .numbered-block{
    grid-template-columns:1fr;
    gap:12px;
  }

  .quote-card strong{
    font-size:1.35rem;
  }

  .final-line{
    font-size:1.25rem;
  }

  .discussion-panel{
    margin:8px 22px 30px;
    padding:22px;
  }

  .button{
    width:100%;
  }

  .footer-inner{
    flex-direction:column;
    align-items:flex-start;
  }

  .footer-inner nav{
    flex-wrap:wrap;
  }

  .library-home{
    padding-top:22px;
  }

  .library-hero{
    padding:34px 22px;
    border-radius:22px;
    margin-bottom:18px;
    gap:24px;
  }

  .library-hero-panel{
    padding:20px;
    border-radius:18px;
  }

  .library-hero h1{
    font-size:2.35rem;
    line-height:1.08;
  }

  .library-featured{
    padding:26px 22px;
    border-radius:22px;
  }

  .featured-card{
    min-height:auto;
    padding:20px;
    border-radius:18px;
  }

  .featured-card h3{
    font-size:1.35rem;
  }

  .library-section{
    margin-top:18px;
    padding:26px 22px;
    border-radius:22px;
  }

  .section-heading h2{
    font-size:1.65rem;
  }

  .section-heading p{
    font-size:1rem;
  }

  .category-card{
    padding:20px;
    border-radius:18px;
  }
  .article-list-card{
  min-height:auto;
  padding:20px;
  border-radius:18px;
}

.article-list-card h3{
  font-size:1.35rem;
}
.library-category-nav-links{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
}

.library-category-nav a{
  justify-content:center;
  text-align:center;
  min-height:56px;
  padding:9px 10px;
}
}