/*
Theme Name: Nipoban School
Theme URI: https://nipobanschool.com
Author: Nipoban School
Author URI: https://nipobanschool.com
Description: A custom WordPress theme built for Nipoban School, located on the campus of the University of Chittagong. Designed around the school's namesake, the nipoban (kadamba grove), with a green-canopy palette, custom post types for notices, faculty and testimonials, and full front-page content sections: hero, stats, about, academic stages, notice board, faculty, gallery and contact.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nipoban
Tags: education, custom-background, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* =========================================================
   0. DESIGN TOKENS
   ========================================================= */
:root{
  /* --- Palette: the nipoban (kadamba grove) --- */
  --forest:        #1E3A2B;   /* deep canopy green - primary */
  --forest-dark:   #12241A;   /* darkest green - footer/nav on scroll */
  --moss:          #4B7A57;   /* secondary green - links, secondary buttons */
  --moss-light:    #6E9C79;
  --sage:          #DCE6D8;   /* pale tint - alternating section bg */
  --sage-line:     #B9CBB4;   /* hairline on sage */
  --gold:          #E3992E;   /* kadamba flower gold - accent, CTAs */
  --gold-deep:     #B5731A;   /* gold hover / pressed */
  --gold-pale:     #FBE7C4;   /* pale gold tint */
  --cream:         #FBF6EC;   /* warm paper background */
  --cream-deep:    #F3EAD8;
  --ink:           #201C15;   /* primary text */
  --ink-soft:      #55503F;   /* secondary text */
  --white:         #FFFFFF;
  --line:          #E3D9C4;

  /* --- Type --- */
  --font-display: "Fraunces", "Baloo Da 2", Georgia, serif;
  --font-bn:      "Baloo Da 2", "Hind Siliguri", sans-serif;
  --font-body:    "Hind Siliguri", "Inter", sans-serif;
  --font-ui:      "Inter", "Hind Siliguri", sans-serif;

  /* --- Rhythm --- */
  --radius-s: 10px;
  --radius-m: 20px;
  --radius-l: 32px;
  --container: 1180px;
  --shadow-soft: 0 20px 45px -25px rgba(18,36,26,0.45);
  --shadow-card: 0 12px 30px -18px rgba(18,36,26,0.35);
}

/* =========================================================
   1. RESET & BASE
   ========================================================= */
*, *::before, *::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *, *::before, *::after{ animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; scroll-behavior:auto !important; }
}
body{
  margin:0;
  background:var(--cream);
  color:var(--ink);
  font-family:var(--font-body);
  font-size:17px;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; height:auto; display:block; }
a{ color:var(--moss); text-decoration:none; }
a:hover{ color:var(--gold-deep); }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ font-family:var(--font-display); color:var(--forest); line-height:1.15; margin:0 0 0.5em; font-weight:600; }
p{ margin:0 0 1em; }
.lang-bn{ font-family:var(--font-bn); }
:focus-visible{ outline:3px solid var(--gold); outline-offset:3px; }

.container{ max-width:var(--container); margin:0 auto; padding:0 24px; }
.section{ padding:88px 0; position:relative; }
.section--sage{ background:var(--sage); }
.section--forest{ background:var(--forest); color:var(--cream); }
.section--forest h2, .section--forest h3, .section--forest p{ color:var(--cream); }
.section-head{ max-width:640px; margin:0 0 48px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-family:var(--font-ui); text-transform:uppercase; letter-spacing:.14em;
  font-size:12.5px; font-weight:700; color:var(--gold-deep); margin-bottom:14px;
}
.eyebrow::before{ content:""; width:18px; height:2px; background:var(--gold); display:inline-block; border-radius:2px; }
.section--forest .eyebrow{ color:var(--gold); }
h2.section-title{ font-size:clamp(28px,3.4vw,42px); }
.lede{ color:var(--ink-soft); font-size:18px; }
.section--forest .lede{ color:#D8E4DA; }

.btn{
  display:inline-flex; align-items:center; gap:10px;
  font-family:var(--font-ui); font-weight:700; font-size:15px;
  padding:14px 26px; border-radius:100px; border:2px solid transparent;
  cursor:pointer; transition:all .2s ease; white-space:nowrap;
}
.btn--gold{ background:var(--gold); color:var(--forest-dark); }
.btn--gold:hover{ background:var(--gold-deep); color:var(--white); transform:translateY(-2px); }
.btn--outline{ border-color:rgba(251,246,236,.55); color:var(--cream); }
.btn--outline:hover{ background:rgba(251,246,236,.12); color:var(--white); border-color:var(--cream); }
.btn--forest{ background:var(--forest); color:var(--cream); }
.btn--forest:hover{ background:var(--forest-dark); color:var(--white); }

/* Leaf/vine divider - signature motif, replaces plain hairlines */
.vine-divider{ width:100%; height:34px; display:flex; align-items:center; justify-content:center; opacity:.55; }
.vine-divider svg{ height:100%; width:auto; }

/* Grove ring - circular badge of kadamba-leaf marks, used around stats/eyebrows */
.grove-ring{ position:relative; display:inline-flex; }

/* =========================================================
   2. SITE HEADER
   ========================================================= */
#masthead{
  position:absolute; top:0; left:0; right:0; z-index:50;
  padding:20px 0;
}
#masthead.is-solid{
  position:fixed; background:var(--forest-dark); box-shadow:0 6px 24px rgba(0,0,0,.18);
  padding:12px 0; animation:slideDown .3s ease;
}
@keyframes slideDown{ from{ transform:translateY(-100%);} to{ transform:translateY(0);} }
.masthead-inner{ display:flex; align-items:center; justify-content:space-between; gap:24px; }
.site-branding{ display:flex; align-items:center; gap:14px; }
.site-branding a{ display:flex; align-items:center; gap:12px; }
.brand-mark{ width:46px; height:46px; flex-shrink:0; }
.brand-text{ display:flex; flex-direction:column; line-height:1.2; }
.brand-text .bn{ font-family:var(--font-bn); font-size:20px; font-weight:700; color:var(--cream); }
.brand-text .en{ font-family:var(--font-ui); font-size:11.5px; letter-spacing:.1em; text-transform:uppercase; color:var(--gold-pale); }

.main-navigation{ display:flex; align-items:center; gap:6px; }
.main-navigation ul{ display:flex; align-items:center; gap:4px; }
.main-navigation a{
  font-family:var(--font-ui); font-weight:600; font-size:14.5px; color:var(--cream);
  padding:10px 16px; border-radius:100px; display:inline-block; transition:background .2s;
}
.main-navigation a:hover, .main-navigation .current-menu-item > a{ background:rgba(227,153,46,.18); color:var(--gold-pale); }
.header-cta{ display:flex; align-items:center; gap:14px; }
.menu-toggle{ display:none; background:none; border:2px solid rgba(251,246,236,.4); color:var(--cream); width:44px; height:44px; border-radius:12px; align-items:center; justify-content:center; cursor:pointer; }

@media (max-width: 960px){
  .menu-toggle{ display:flex; }
  .main-navigation{ position:fixed; inset:0; top:0; background:var(--forest-dark); flex-direction:column; justify-content:center; transform:translateX(100%); transition:transform .3s ease; padding:32px; }
  .main-navigation.is-open{ transform:translateX(0); }
  .main-navigation ul{ flex-direction:column; width:100%; gap:6px; }
  .main-navigation a{ display:block; text-align:center; padding:16px; font-size:19px; }
  .header-cta .btn--gold{ display:none; }
}

/* =========================================================
   3. HERO
   ========================================================= */
.hero{
  position:relative; background:linear-gradient(180deg,#24452F 0%, var(--forest) 55%, var(--forest) 100%);
  padding:170px 0 0; overflow:hidden; color:var(--cream);
}
.hero::before{
  content:""; position:absolute; inset:0;
  background-image:radial-gradient(circle at 15% 20%, rgba(227,153,46,.16), transparent 40%),
                   radial-gradient(circle at 85% 10%, rgba(227,153,46,.10), transparent 35%);
  pointer-events:none;
}
.hero-inner{ position:relative; z-index:2; text-align:center; max-width:820px; margin:0 auto; padding-bottom:120px; }
.hero .eyebrow{ color:var(--gold-pale); justify-content:center; }
.hero-title-bn{ font-family:var(--font-bn); font-size:clamp(40px,7vw,74px); font-weight:700; color:var(--white); margin:0 0 6px; }
.hero-title-en{ font-family:var(--font-display); font-style:italic; font-size:clamp(18px,2.2vw,24px); color:var(--gold-pale); font-weight:500; margin:0 0 22px; letter-spacing:.02em; }
.hero-tagline{ font-size:19px; color:#DCE7DF; max-width:560px; margin:0 auto 36px; }
.hero-ctas{ display:flex; gap:16px; justify-content:center; flex-wrap:wrap; }
.hero-canopy{ position:absolute; left:0; right:0; bottom:-2px; z-index:1; line-height:0; }
.hero-canopy svg{ width:100%; height:auto; display:block; }

/* Floating stats card overlapping hero/cream boundary */
.stats-strip{ position:relative; z-index:5; margin-top:-64px; margin-bottom:40px; }
.stats-card{
  background:var(--white); border-radius:var(--radius-l); box-shadow:var(--shadow-soft);
  display:grid; grid-template-columns:repeat(4,1fr); overflow:hidden;
}
.stat{ padding:34px 20px; text-align:center; border-left:1px solid var(--line); }
.stat:first-child{ border-left:none; }
.stat .num{ font-family:var(--font-display); font-size:clamp(28px,3.4vw,38px); color:var(--forest); font-weight:700; }
.stat .num .unit{ color:var(--gold-deep); }
.stat .label{ font-family:var(--font-ui); font-size:13px; color:var(--ink-soft); text-transform:uppercase; letter-spacing:.06em; margin-top:4px; }
@media (max-width:760px){
  .stats-card{ grid-template-columns:repeat(2,1fr); }
  .stat:nth-child(3){ border-left:none; }
  .stat{ border-bottom:1px solid var(--line); }
  .hero{ padding-top:130px; }
  .hero-inner{ padding-bottom:90px; }
}

/* =========================================================
   4. ABOUT
   ========================================================= */
.about-grid{ display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:center; }
.about-media{ position:relative; }
.about-media .ring{ position:absolute; width:120px; height:120px; border:3px solid var(--gold); border-radius:50%; top:-30px; right:-30px; opacity:.7; }
.about-media img{ border-radius:var(--radius-l); box-shadow:var(--shadow-card); }
.about-copy .signature-line{ font-family:var(--font-display); font-style:italic; color:var(--moss); font-size:20px; margin-top:20px; }
@media (max-width:860px){ .about-grid{ grid-template-columns:1fr; gap:36px; } }

/* =========================================================
   5. ACADEMIC STAGES (real sequence -> numbered)
   ========================================================= */
.stage-row{ display:grid; grid-template-columns:repeat(4,1fr); gap:24px; counter-reset:stage; }
.stage-card{
  background:var(--white); border-radius:var(--radius-m); padding:32px 26px; position:relative;
  box-shadow:var(--shadow-card); border-top:5px solid var(--gold);
}
.stage-card .stage-index{ font-family:var(--font-display); font-size:14px; color:var(--gold-deep); font-weight:700; letter-spacing:.06em; margin-bottom:10px; display:block; }
.stage-card h3{ font-size:21px; margin-bottom:8px; }
.stage-card .age{ font-family:var(--font-ui); font-size:13px; color:var(--ink-soft); margin-bottom:14px; display:block; }
.stage-card p{ font-size:15px; color:var(--ink-soft); margin:0; }
@media (max-width:960px){ .stage-row{ grid-template-columns:repeat(2,1fr);} }
@media (max-width:560px){ .stage-row{ grid-template-columns:1fr;} }

/* =========================================================
   6. NOTICE BOARD
   ========================================================= */
.notice-layout{ display:grid; grid-template-columns:1.6fr 1fr; gap:48px; align-items:start; }
.notice-list{ background:var(--white); border-radius:var(--radius-m); box-shadow:var(--shadow-card); overflow:hidden; }
.notice-item{ display:flex; gap:20px; align-items:flex-start; padding:22px 26px; border-bottom:1px solid var(--line); }
.notice-item:last-child{ border-bottom:none; }
.notice-date{
  flex-shrink:0; width:64px; text-align:center; background:var(--sage); border-radius:var(--radius-s); padding:8px 0; font-family:var(--font-ui);
}
.notice-date .d{ font-size:20px; font-weight:800; color:var(--forest); display:block; line-height:1.1; }
.notice-date .m{ font-size:11px; text-transform:uppercase; color:var(--moss); letter-spacing:.06em; }
.notice-body h4{ font-size:16.5px; margin:0 0 4px; }
.notice-body h4 a{ color:var(--ink); }
.notice-body h4 a:hover{ color:var(--gold-deep); }
.notice-tag{ display:inline-block; font-family:var(--font-ui); font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.05em; color:var(--gold-deep); background:var(--gold-pale); padding:2px 10px; border-radius:100px; margin-bottom:6px; }
.notice-sidebar{ background:var(--forest); color:var(--cream); border-radius:var(--radius-m); padding:32px; }
.notice-sidebar h3{ color:var(--cream); font-size:19px; }
.quick-link-list li{ border-bottom:1px solid rgba(255,255,255,.14); }
.quick-link-list a{ display:flex; justify-content:space-between; align-items:center; padding:13px 0; color:#E3EBE2; font-family:var(--font-ui); font-weight:600; font-size:14.5px; }
.quick-link-list a:hover{ color:var(--gold-pale); }
@media (max-width:900px){ .notice-layout{ grid-template-columns:1fr; } }

/* =========================================================
   7. FEATURES / WHY CHOOSE US
   ========================================================= */
.feature-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:28px; }
.feature-card{ background:var(--white); padding:30px 26px; border-radius:var(--radius-m); box-shadow:var(--shadow-card); }
.feature-icon{ width:52px; height:52px; border-radius:50%; background:var(--gold-pale); display:flex; align-items:center; justify-content:center; margin-bottom:18px; }
.feature-icon svg{ width:26px; height:26px; }
.feature-card h3{ font-size:18.5px; margin-bottom:8px; }
.feature-card p{ font-size:14.5px; color:var(--ink-soft); margin:0; }
@media (max-width:860px){ .feature-grid{ grid-template-columns:1fr 1fr;} }
@media (max-width:560px){ .feature-grid{ grid-template-columns:1fr;} }

/* =========================================================
   8. FACULTY
   ========================================================= */
.faculty-row{ display:grid; grid-template-columns:repeat(4,1fr); gap:28px; }
.faculty-card{ text-align:center; }
.faculty-photo{ width:132px; height:132px; border-radius:50%; margin:0 auto 16px; overflow:hidden; border:4px solid var(--white); box-shadow:var(--shadow-card); position:relative; }
.faculty-photo img{ width:100%; height:100%; object-fit:cover; }
.faculty-card h4{ font-family:var(--font-display); font-size:18px; color:var(--forest); margin:0 0 2px; }
.faculty-card .role{ font-family:var(--font-ui); font-size:13px; color:var(--gold-deep); font-weight:700; text-transform:uppercase; letter-spacing:.04em; }
.faculty-card .subject{ font-size:13.5px; color:var(--ink-soft); margin-top:4px; }
@media (max-width:860px){ .faculty-row{ grid-template-columns:repeat(2,1fr); gap:32px 20px; } }

/* =========================================================
   9. GALLERY
   ========================================================= */
.gallery-grid{ display:grid; grid-template-columns:repeat(4,1fr); grid-auto-rows:150px; gap:14px; }
.gallery-grid a{ display:block; border-radius:var(--radius-s); overflow:hidden; height:100%; }
.gallery-grid img{ width:100%; height:100%; object-fit:cover; transition:transform .4s ease; }
.gallery-grid a:hover img{ transform:scale(1.06); }
.gallery-grid .tall{ grid-row:span 2; }
@media (max-width:860px){ .gallery-grid{ grid-template-columns:repeat(2,1fr); } }

/* =========================================================
   10. TESTIMONIALS
   ========================================================= */
.testi-row{ display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }
.testi-card{ background:var(--white); border-radius:var(--radius-m); padding:30px 28px; box-shadow:var(--shadow-card); position:relative; }
.testi-quote-mark{ font-family:var(--font-display); font-size:52px; color:var(--gold-pale); line-height:0; display:block; margin-bottom:6px; }
.testi-card p.quote{ font-size:15.5px; color:var(--ink-soft); font-style:italic; }
.testi-who{ display:flex; align-items:center; gap:12px; margin-top:18px; }
.testi-who img{ width:44px; height:44px; border-radius:50%; object-fit:cover; }
.testi-who .name{ font-weight:700; font-size:14.5px; color:var(--forest); }
.testi-who .rel{ font-size:12.5px; color:var(--ink-soft); }
@media (max-width:860px){ .testi-row{ grid-template-columns:1fr; } }

/* =========================================================
   11. CONTACT / CTA STRIP
   ========================================================= */
.contact-strip{ display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center; }
.contact-info-list li{ display:flex; gap:14px; margin-bottom:22px; align-items:flex-start; }
.contact-info-list .ic{ width:40px; height:40px; border-radius:50%; background:rgba(227,153,46,.15); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.contact-info-list .ic svg{ width:19px; height:19px; }
.contact-info-list strong{ display:block; color:var(--white); font-size:15.5px; }
.contact-info-list span, .contact-info-list a{ color:#D6E1D9; font-size:14.5px; }
.map-embed{ border-radius:var(--radius-m); overflow:hidden; box-shadow:var(--shadow-soft); border:6px solid rgba(255,255,255,.08); }
.map-embed iframe{ width:100%; height:340px; border:0; display:block; }
@media (max-width:900px){ .contact-strip{ grid-template-columns:1fr; } }

/* =========================================================
   12. FOOTER
   ========================================================= */
#colophon{ background:var(--forest-dark); color:#B9CBB4; padding:64px 0 0; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:40px; padding-bottom:48px; border-bottom:1px solid rgba(255,255,255,.08); }
.footer-brand .brand-text .bn{ color:var(--cream); }
.footer-about p{ font-size:14px; margin-top:14px; color:#9FB4A6; }
.footer-col h4{ color:var(--cream); font-family:var(--font-ui); font-size:14px; text-transform:uppercase; letter-spacing:.06em; margin-bottom:18px; }
.footer-col li{ margin-bottom:10px; }
.footer-col a{ color:#9FB4A6; font-size:14.5px; }
.footer-col a:hover{ color:var(--gold-pale); }
.social-row{ display:flex; gap:10px; margin-top:18px; }
.social-row a{ width:38px; height:38px; border-radius:50%; background:rgba(255,255,255,.08); display:flex; align-items:center; justify-content:center; }
.social-row svg{ width:17px; height:17px; }
.footer-bottom{ display:flex; justify-content:space-between; align-items:center; padding:22px 0; font-size:13px; color:#7E9587; flex-wrap:wrap; gap:10px; }
@media (max-width:860px){ .footer-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .footer-grid{ grid-template-columns:1fr; } }

/* =========================================================
   13. INNER PAGE HEADER (About/Academics/Admission/etc.)
   ========================================================= */
.page-banner{ background:var(--forest); color:var(--cream); padding:170px 0 70px; position:relative; overflow:hidden; }
.page-banner .breadcrumb{ font-family:var(--font-ui); font-size:13.5px; color:var(--gold-pale); margin-bottom:10px; }
.page-banner .breadcrumb a{ color:var(--gold-pale); }
.page-banner h1{ color:var(--white); font-size:clamp(30px,4vw,46px); }
.page-banner p{ color:#D6E1D9; max-width:560px; margin-top:10px; }

.content-section{ padding:70px 0; }
.prose{ max-width:800px; }
.prose h2{ font-size:26px; margin-top:1.4em; }
.prose h3{ font-size:20px; color:var(--forest); }
.prose ul{ list-style:none; margin-bottom:1.2em; }
.prose ul li{ position:relative; padding-left:26px; margin-bottom:8px; }
.prose ul li::before{ content:"❧"; position:absolute; left:0; color:var(--gold-deep); }
.prose blockquote{ border-left:4px solid var(--gold); padding:6px 0 6px 22px; font-style:italic; color:var(--ink-soft); margin:1.5em 0; }
.prose table{ width:100%; border-collapse:collapse; margin:1.2em 0; }
.prose table th, .prose table td{ text-align:left; padding:12px 14px; border-bottom:1px solid var(--line); }
.prose table th{ background:var(--sage); color:var(--forest); font-family:var(--font-ui); font-size:13.5px; text-transform:uppercase; letter-spacing:.04em; }

/* Admission steps timeline (real sequence) */
.timeline{ counter-reset:step; margin-top:20px; }
.timeline-step{ display:flex; gap:22px; padding-bottom:34px; position:relative; }
.timeline-step::before{ counter-increment:step; content:counter(step); flex-shrink:0; width:44px; height:44px; border-radius:50%; background:var(--forest); color:var(--gold-pale); font-family:var(--font-display); font-weight:700; display:flex; align-items:center; justify-content:center; font-size:17px; }
.timeline-step::after{ content:""; position:absolute; left:22px; top:44px; bottom:0; width:2px; background:var(--sage-line); }
.timeline-step:last-child::after{ display:none; }
.timeline-step h4{ margin-bottom:4px; font-size:18px; color:var(--forest); }
.timeline-step p{ color:var(--ink-soft); font-size:15px; margin:0; }

/* Fee table card */
.info-card{ background:var(--white); border-radius:var(--radius-m); box-shadow:var(--shadow-card); padding:34px; margin:24px 0; }

/* Contact page form */
.contact-page-grid{ display:grid; grid-template-columns:1fr 1fr; gap:56px; }
.form-field{ margin-bottom:18px; }
.form-field label{ display:block; font-family:var(--font-ui); font-size:13.5px; font-weight:700; color:var(--forest); margin-bottom:6px; }
.form-field input, .form-field textarea, .form-field select{
  width:100%; padding:13px 16px; border-radius:var(--radius-s); border:1.5px solid var(--line); background:var(--white);
  font-family:var(--font-body); font-size:15px; color:var(--ink);
}
.form-field input:focus, .form-field textarea:focus{ border-color:var(--moss); outline:none; }
@media (max-width:860px){ .contact-page-grid{ grid-template-columns:1fr; } }

/* Faculty archive grid */
.faculty-archive-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:34px 24px; }
@media (max-width:860px){ .faculty-archive-grid{ grid-template-columns:repeat(2,1fr);} }

/* Notice archive */
.notice-archive-list .notice-item{ background:var(--white); border-radius:var(--radius-m); box-shadow:var(--shadow-card); margin-bottom:16px; border-bottom:none; }

.pagination{ display:flex; gap:8px; margin-top:36px; flex-wrap:wrap; }
.pagination a, .pagination span{ padding:10px 16px; border-radius:100px; background:var(--white); box-shadow:var(--shadow-card); font-family:var(--font-ui); font-weight:700; font-size:14px; }
.pagination .current{ background:var(--forest); color:var(--gold-pale); }

/* Single post/notice */
.single-notice-meta{ display:flex; gap:16px; align-items:center; margin-bottom:24px; flex-wrap:wrap; }
.single-notice-meta .notice-tag{ margin-bottom:0; }

/* Widgets / sidebar (used on single notice pages) */
.widget{ background:var(--white); border-radius:var(--radius-m); box-shadow:var(--shadow-card); padding:26px; margin-bottom:24px; }
.widget h3{ font-size:17px; margin-bottom:14px; }
.widget ul li{ padding:9px 0; border-bottom:1px solid var(--line); font-size:14.5px; }
.widget ul li:last-child{ border-bottom:none; }

/* Search form */
.search-form{ display:flex; gap:10px; }
.search-form input[type="search"]{ flex:1; padding:12px 16px; border-radius:100px; border:1.5px solid var(--line); }
.search-form button{ background:var(--forest); color:var(--cream); border:none; border-radius:100px; padding:12px 22px; font-family:var(--font-ui); font-weight:700; cursor:pointer; }

/* 404 */
.error-404{ text-align:center; padding:190px 0 120px; }
.error-404 .code{ font-family:var(--font-display); font-size:120px; color:var(--sage-line); font-weight:700; }

/* Skip link */
.skip-link{ position:absolute; left:-9999px; top:0; background:var(--gold); color:var(--forest-dark); padding:14px 22px; z-index:999; border-radius:0 0 10px 0; font-weight:700; }
.skip-link:focus{ left:0; }

/* Screen-reader text (WP standard) */
.screen-reader-text{ position:absolute !important; width:1px; height:1px; overflow:hidden; clip:rect(1px,1px,1px,1px); }

/* Alignments used by block editor content on pages */
.alignwide{ max-width:1000px; margin-left:auto; margin-right:auto; }
.alignfull{ width:100vw; position:relative; left:50%; right:50%; margin-left:-50vw; margin-right:-50vw; }
