/*
Theme Name: SearchToLearn
Theme URI: https://searchtolearn.com
Author: SearchToLearn
Author URI: https://searchtolearn.com
Description: A full-featured, mobile-friendly WordPress theme for SearchToLearn – Acronyms Academy. Includes customizable header, hero section, alphabet navigation, category cards, sidebar, and footer with newsletter.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: searchtolearn
Tags: custom-colors, custom-logo, custom-menu, featured-images, footer-widgets, full-width-template, responsive-layout, one-column, two-columns, right-sidebar, blog
*/

/* =====================================================================
   GOOGLE FONTS (loaded via functions.php too – this is the fallback)
   ===================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700;800&family=DM+Sans:wght@300;400;500&display=swap');

/* =====================================================================
   CSS CUSTOM PROPERTIES  (editable via Customizer → Additional CSS)
   ===================================================================== */
:root {
  --stl-primary:    #0a3d62;   /* Dark Blue */
  --stl-secondary:  #1e90d6;   /* Light Blue */
  --stl-accent:     #27ae60;   /* Green */
  --stl-accent2:    #f5a623;   /* Amber / logo colour */
  --stl-bg:         #f0f7ff;
  --stl-white:      #ffffff;
  --stl-text:       #1e293b;
  --stl-muted:      #64748b;
  --stl-border:     #dde8f5;
  --stl-shadow:     0 4px 24px rgba(10,61,98,0.10);
  --stl-radius:     12px;
  --stl-font-head:  'Nunito', sans-serif;
  --stl-font-body:  'DM Sans', sans-serif;
}

/* =====================================================================
   BASE RESET
   ===================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--stl-font-body);
  background: var(--stl-white);
  color: var(--stl-text);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--stl-secondary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--stl-primary); }
ul { list-style: none; }

/* =====================================================================
   LAYOUT HELPERS
   ===================================================================== */
.stl-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.stl-full { width: 100%; }

/* =====================================================================
   SKIP LINK (accessibility)
   ===================================================================== */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--stl-primary);
  color: #fff;
  padding: 8px 16px;
  z-index: 9999;
  transition: top .2s;
}
.skip-link:focus { top: 0; }

/* =====================================================================
   HEADER / NAV
   ===================================================================== */
.stl-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--stl-white);
  box-shadow: 0 2px 16px rgba(10,61,98,0.10);
}
.stl-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.stl-logo img { height: 56px; width: auto; }
.stl-logo .stl-site-title {
  font-family: var(--stl-font-head);
  font-size: 22px;
  font-weight: 800;
  color: var(--stl-primary);
}
.stl-logo .stl-site-title span { color: var(--stl-accent); }

/* Primary Nav */
.stl-nav ul { display: flex; gap: 28px; }
.stl-nav a {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--stl-primary);
  padding: 6px 0;
  position: relative;
}
.stl-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--stl-accent);
  transition: width .25s;
}
.stl-nav a:hover { color: var(--stl-secondary); }
.stl-nav a:hover::after { width: 100%; }

/* Hamburger */
.stl-menu-toggle {
  display: none;
  background: none; border: none;
  cursor: pointer; padding: 8px;
}
.stl-menu-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--stl-primary); margin: 5px 0;
  transition: all .3s;
}

/* =====================================================================
   HERO SECTION
   ===================================================================== */
.stl-hero {
  background: linear-gradient(135deg, var(--stl-primary) 0%, #0d5ca0 60%, #1565c0 100%);
  padding: 88px 20px 76px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.stl-hero-bg {
  position: absolute; inset: 0;
  opacity: .06;
  font-family: var(--stl-font-head);
  font-size: 160px; font-weight: 900;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  letter-spacing: 10px;
  user-select: none; pointer-events: none;
  overflow: hidden;
  white-space: nowrap;
}
.stl-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 55% 55% at 15% 40%, rgba(39,174,96,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 50% 55% at 85% 60%, rgba(30,144,214,0.14) 0%, transparent 70%);
  pointer-events: none;
}
.stl-hero-tag {
  display: inline-block;
  background: rgba(245,166,35,0.18);
  color: var(--stl-accent2);
  border: 1px solid rgba(245,166,35,0.35);
  border-radius: 100px;
  padding: 6px 18px;
  font-size: 12.5px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: 22px;
  animation: stlUp .6s ease both;
}
.stl-hero h1 {
  font-family: var(--stl-font-head);
  font-size: clamp(30px, 5.5vw, 62px);
  font-weight: 800;
  color: #fff;
  line-height: 1.12;
  max-width: 820px;
  margin: 0 auto 18px;
  animation: stlUp .7s .08s ease both;
}
.stl-hero h1 em { font-style: normal; color: var(--stl-accent2); }
.stl-hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,.65);
  max-width: 520px;
  margin: 0 auto 44px;
  font-weight: 300;
  animation: stlUp .7s .16s ease both;
}

/* Search */
.stl-search-wrap {
  max-width: 640px;
  margin: 0 auto 46px;
  animation: stlUp .7s .22s ease both;
  position: relative; z-index: 1;
}
.stl-search-box {
  display: flex;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 48px rgba(0,0,0,.22);
}
.stl-search-box input {
  flex: 1; border: none; outline: none;
  padding: 18px 22px;
  font-size: 15.5px;
  font-family: var(--stl-font-body);
  color: var(--stl-text);
}
.stl-search-box input::placeholder { color: #94a3b8; }
.stl-search-box button {
  background: var(--stl-accent2);
  color: #fff;
  border: none;
  padding: 0 28px;
  font-family: var(--stl-font-head);
  font-weight: 700; font-size: 15px;
  cursor: pointer;
  display: flex; align-items: center; gap: 8px;
  transition: background .2s;
  white-space: nowrap;
}
.stl-search-box button:hover { background: #e09400; }
.stl-search-icon { width: 17px; height: 17px; }

/* Alphabet grid */
.stl-alpha-label {
  font-size: 11px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.4); margin-bottom: 14px;
  animation: stlUp .7s .3s ease both;
}
.stl-alpha-grid {
  display: flex; flex-wrap: wrap;
  justify-content: center; gap: 8px;
  animation: stlUp .7s .35s ease both;
}
.stl-alpha-grid a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.88);
  font-family: var(--stl-font-head);
  font-weight: 700; font-size: 15px;
  text-decoration: none;
  transition: background .2s, color .2s, border-color .2s, transform .15s;
}
.stl-alpha-grid a:hover {
  background: var(--stl-accent);
  color: #fff; border-color: var(--stl-accent);
  transform: translateY(-3px);
}

/* =====================================================================
   STATS BAR
   ===================================================================== */
.stl-stats {
  background: var(--stl-primary);
  display: flex; justify-content: center; flex-wrap: wrap;
}
.stl-stat {
  padding: 22px 48px; text-align: center;
  border-right: 1px solid rgba(255,255,255,.08);
}
.stl-stat:last-child { border-right: none; }
.stl-stat-num {
  font-family: var(--stl-font-head);
  font-size: 28px; font-weight: 800;
  color: var(--stl-accent2); line-height: 1;
}
.stl-stat-label {
  font-size: 12px; color: rgba(255,255,255,.48);
  margin-top: 5px; letter-spacing: .04em;
}

/* =====================================================================
   INFO / ARTICLE SECTION
   ===================================================================== */
.stl-article {
  background: var(--stl-bg);
  padding: 80px 20px;
}
.stl-section-hd { text-align: center; margin-bottom: 52px; }
.stl-section-tag {
  display: inline-block;
  background: rgba(30,144,214,.1); color: var(--stl-secondary);
  border-radius: 100px; padding: 4px 14px;
  font-size: 12px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: 12px;
}
.stl-section-hd h2 {
  font-family: var(--stl-font-head);
  font-size: clamp(22px, 3.5vw, 38px);
  font-weight: 800; color: var(--stl-primary);
  line-height: 1.18; margin-bottom: 10px;
}
.stl-section-hd p { color: var(--stl-muted); font-size: 16px; max-width: 520px; margin: 0 auto; }

/* Intro definition box */
.stl-intro-box {
  background: #fff;
  border-radius: 18px; padding: 40px 44px;
  max-width: 880px; margin: 0 auto 60px;
  box-shadow: var(--stl-shadow);
  border-left: 5px solid var(--stl-accent);
}
.stl-intro-box h3 {
  font-family: var(--stl-font-head);
  font-size: 21px; font-weight: 700;
  color: var(--stl-primary); margin-bottom: 14px;
}
.stl-intro-box p { color: var(--stl-muted); font-size: 15.5px; line-height: 1.78; }
.stl-intro-box p + p { margin-top: 12px; }

/* Category cards */
.stl-cats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px; max-width: 1120px; margin: 0 auto;
}
.stl-cat-card {
  background: #fff;
  border-radius: 16px; padding: 28px 26px;
  box-shadow: var(--stl-shadow);
  border: 1px solid var(--stl-border);
  text-decoration: none; color: inherit;
  display: block; position: relative; overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.stl-cat-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--cat-clr, var(--stl-secondary));
}
.stl-cat-card:hover { transform: translateY(-6px); box-shadow: 0 18px 44px rgba(10,61,98,.14); color: inherit; }
.stl-cat-icon { font-size: 34px; margin-bottom: 12px; display: block; }
.stl-cat-card h4 {
  font-family: var(--stl-font-head);
  font-size: 17px; font-weight: 700;
  color: var(--stl-primary); margin-bottom: 8px;
}
.stl-cat-card p { font-size: 13.5px; color: var(--stl-muted); line-height: 1.6; margin-bottom: 14px; }
.stl-cat-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.stl-cat-tags span {
  background: var(--stl-bg); color: var(--stl-secondary);
  font-size: 11.5px; font-weight: 700;
  padding: 3px 9px; border-radius: 6px;
  font-family: var(--stl-font-head);
}

/* =====================================================================
   WHY SECTION
   ===================================================================== */
.stl-why {
  background: var(--stl-primary);
  padding: 80px 20px; text-align: center;
}
.stl-why .stl-section-hd h2 { color: #fff; }
.stl-why .stl-section-hd p { color: rgba(255,255,255,.5); }
.stl-why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 20px; max-width: 920px; margin: 0 auto;
}
.stl-why-item {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 16px; padding: 28px 20px;
  transition: background .2s, transform .2s;
}
.stl-why-item:hover { background: rgba(255,255,255,.1); transform: translateY(-4px); }
.stl-why-icon { font-size: 30px; margin-bottom: 10px; display: block; }
.stl-why-item h4 {
  font-family: var(--stl-font-head);
  font-size: 15.5px; font-weight: 700;
  color: #fff; margin-bottom: 8px;
}
.stl-why-item p { font-size: 13px; color: rgba(255,255,255,.5); line-height: 1.6; }

/* =====================================================================
   CONTENT AREA (blog / single / pages with sidebar)
   ===================================================================== */
.stl-content-area {
  padding: 60px 20px;
  background: var(--stl-white);
}
.stl-content-inner {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 36px;
  max-width: 1200px;
  margin: 0 auto;
}
.stl-main-col { min-width: 0; }

/* Single post */
.stl-post-header { margin-bottom: 28px; }
.stl-post-title {
  font-family: var(--stl-font-head);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 800;
  color: var(--stl-primary);
  line-height: 1.2;
  margin-bottom: 12px;
}
.stl-post-meta {
  display: flex; flex-wrap: wrap; gap: 14px;
  font-size: 13px; color: var(--stl-muted);
  margin-bottom: 24px;
}
.stl-post-meta span { display: flex; align-items: center; gap: 5px; }
.stl-post-thumb {
  width: 100%; border-radius: var(--stl-radius);
  margin-bottom: 28px;
  overflow: hidden;
}
.stl-post-thumb img { width: 100%; object-fit: cover; }
.stl-post-content {
  font-size: 16px;
  line-height: 1.78;
  color: var(--stl-text);
}
.stl-post-content h2,
.stl-post-content h3 {
  font-family: var(--stl-font-head);
  color: var(--stl-primary);
  margin: 28px 0 12px;
}
.stl-post-content p { margin-bottom: 18px; }
.stl-post-content ul, .stl-post-content ol {
  padding-left: 22px; margin-bottom: 18px;
  list-style: disc;
}
.stl-post-content a { color: var(--stl-secondary); }
.stl-post-content a:hover { color: var(--stl-primary); }

/* Post card (archive) */
.stl-post-card {
  background: #fff;
  border: 1px solid var(--stl-border);
  border-radius: var(--stl-radius);
  overflow: hidden;
  margin-bottom: 28px;
  box-shadow: var(--stl-shadow);
  transition: transform .2s, box-shadow .2s;
}
.stl-post-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(10,61,98,.13); }
.stl-post-card-thumb img { width: 100%; height: 200px; object-fit: cover; }
.stl-post-card-body { padding: 24px; }
.stl-post-card-title {
  font-family: var(--stl-font-head);
  font-size: 19px; font-weight: 700;
  color: var(--stl-primary);
  margin-bottom: 10px;
  line-height: 1.3;
}
.stl-post-card-title a { color: inherit; }
.stl-post-card-title a:hover { color: var(--stl-secondary); }
.stl-post-card-excerpt { font-size: 14px; color: var(--stl-muted); margin-bottom: 16px; }
.stl-read-more {
  display: inline-block;
  background: var(--stl-secondary);
  color: #fff;
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 13.5px; font-weight: 600;
  transition: background .2s;
}
.stl-read-more:hover { background: var(--stl-primary); color: #fff; }

/* Pagination */
.stl-pagination {
  display: flex; justify-content: center; gap: 8px;
  margin-top: 40px;
}
.stl-pagination a, .stl-pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: 8px;
  border: 1px solid var(--stl-border);
  font-weight: 600; font-size: 14px;
  color: var(--stl-primary);
  transition: background .2s, color .2s;
}
.stl-pagination a:hover, .stl-pagination .current {
  background: var(--stl-secondary); color: #fff; border-color: var(--stl-secondary);
}

/* =====================================================================
   SIDEBAR
   ===================================================================== */
.stl-sidebar {}
.stl-widget {
  background: #fff;
  border-radius: var(--stl-radius);
  border: 1px solid var(--stl-border);
  box-shadow: var(--stl-shadow);
  padding: 24px;
  margin-bottom: 24px;
}
.stl-widget-title {
  font-family: var(--stl-font-head);
  font-size: 16px; font-weight: 800;
  color: var(--stl-primary);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--stl-accent);
  display: flex; align-items: center; gap: 8px;
}
.stl-sidebar-search { display: flex; gap: 8px; }
.stl-sidebar-search input {
  flex: 1; border: 1px solid var(--stl-border);
  border-radius: 8px; padding: 9px 12px;
  font-size: 14px; outline: none;
  font-family: var(--stl-font-body);
}
.stl-sidebar-search button {
  background: var(--stl-secondary); color: #fff;
  border: none; border-radius: 8px;
  padding: 9px 14px; cursor: pointer;
  font-size: 14px; transition: background .2s;
}
.stl-sidebar-search button:hover { background: var(--stl-primary); }

/* Sidebar alpha */
.stl-sidebar-alpha { display: flex; flex-wrap: wrap; gap: 6px; }
.stl-sidebar-alpha a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: 7px;
  background: var(--stl-bg);
  border: 1px solid var(--stl-border);
  color: var(--stl-primary);
  font-family: var(--stl-font-head);
  font-weight: 700; font-size: 13px;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.stl-sidebar-alpha a:hover {
  background: var(--stl-secondary); color: #fff; border-color: var(--stl-secondary);
}

/* Sidebar social share */
.stl-social-share { display: flex; gap: 10px; flex-wrap: wrap; }
.stl-social-share a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 9px;
  text-decoration: none; font-size: 14px;
  transition: transform .15s, opacity .2s;
}
.stl-social-share a:hover { transform: translateY(-2px); opacity: .85; }
.stl-share-fb  { background: #1877f2; color: #fff; }
.stl-share-tw  { background: #000; color: #fff; }
.stl-share-wa  { background: #25d366; color: #fff; }
.stl-share-li  { background: #0a66c2; color: #fff; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.stl-footer {
  background: #05192e;
  padding: 64px 20px 0;
  color: rgba(255,255,255,.52);
}
.stl-footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1.4fr;
  gap: 44px;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.stl-footer-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; margin-bottom: 16px;
}
.stl-footer-logo img { height: 48px; width: auto; }
.stl-footer-logo-text {
  font-family: var(--stl-font-head);
  font-weight: 800; font-size: 20px; color: #fff;
}
.stl-footer-logo-text span { color: var(--stl-accent2); }
.stl-footer-desc {
  font-size: 14px; line-height: 1.75;
  color: rgba(255,255,255,.44);
  max-width: 340px; margin-bottom: 22px;
}
.stl-footer-socials { display: flex; gap: 10px; }
.stl-footer-socials a {
  width: 38px; height: 38px; border-radius: 9px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6); text-decoration: none;
  transition: background .2s, color .2s;
}
.stl-footer-socials a:hover { background: var(--stl-accent2); color: #05192e; }
.stl-footer-col h5 {
  font-family: var(--stl-font-head);
  font-weight: 800; font-size: 13.5px;
  color: #fff; letter-spacing: .08em;
  text-transform: uppercase; margin-bottom: 18px;
}
.stl-footer-col ul li + li { margin-top: 10px; }
.stl-footer-col ul a {
  color: rgba(255,255,255,.44); font-size: 14px;
  transition: color .2s;
}
.stl-footer-col ul a:hover { color: var(--stl-accent2); }

/* Newsletter */
.stl-newsletter-desc {
  font-size: 13.5px; color: rgba(255,255,255,.44);
  margin-bottom: 16px; line-height: 1.6;
}
.stl-newsletter-form { display: flex; flex-direction: column; gap: 10px; }
.stl-newsletter-form input[type="email"] {
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.07);
  border-radius: 9px; padding: 12px 16px;
  font-size: 14px; color: #fff;
  font-family: var(--stl-font-body);
  outline: none;
  transition: border-color .2s;
}
.stl-newsletter-form input[type="email"]::placeholder { color: rgba(255,255,255,.35); }
.stl-newsletter-form input[type="email"]:focus { border-color: var(--stl-accent2); }
.stl-newsletter-form button {
  background: var(--stl-accent2);
  color: #05192e;
  border: none; border-radius: 9px;
  padding: 12px 20px;
  font-family: var(--stl-font-head);
  font-weight: 700; font-size: 14px;
  cursor: pointer; transition: background .2s;
}
.stl-newsletter-form button:hover { background: #e09400; }

.stl-footer-bottom {
  text-align: center; padding: 20px 0;
  font-size: 13px; color: rgba(255,255,255,.24);
  max-width: 1200px; margin: 0 auto;
}
.stl-footer-bottom a { color: var(--stl-accent2); }

/* =====================================================================
   PAGE — FULL WIDTH (no sidebar)
   ===================================================================== */
.stl-page-full .stl-content-inner {
  grid-template-columns: 1fr;
}

/* =====================================================================
   CONTACT PAGE
   ===================================================================== */
.stl-contact-intro {
  background: linear-gradient(135deg, var(--stl-primary), #0d5ca0);
  padding: 60px 20px;
  text-align: center;
  color: #fff;
}
.stl-contact-intro h1 {
  font-family: var(--stl-font-head);
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 800; margin-bottom: 12px;
}
.stl-contact-intro p { font-size: 16px; color: rgba(255,255,255,.7); }
.stl-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px; max-width: 960px;
  margin: 60px auto; padding: 0 20px;
}
.stl-contact-info h3 {
  font-family: var(--stl-font-head);
  font-size: 20px; font-weight: 700;
  color: var(--stl-primary); margin-bottom: 16px;
}
.stl-contact-info p { color: var(--stl-muted); font-size: 14.5px; margin-bottom: 22px; line-height: 1.7; }
.stl-contact-item {
  display: flex; align-items: flex-start; gap: 14px;
  margin-bottom: 18px;
}
.stl-contact-item-icon {
  width: 42px; height: 42px; border-radius: 10px;
  background: var(--stl-bg);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.stl-contact-item-text strong {
  display: block; font-size: 13px;
  color: var(--stl-primary); font-weight: 700;
  margin-bottom: 2px;
}
.stl-contact-item-text span { font-size: 14px; color: var(--stl-muted); }
.stl-cf7-wrap {
  background: #fff;
  border-radius: 18px; padding: 36px 32px;
  box-shadow: var(--stl-shadow);
  border: 1px solid var(--stl-border);
}
.stl-cf7-wrap h3 {
  font-family: var(--stl-font-head);
  font-size: 20px; font-weight: 700;
  color: var(--stl-primary); margin-bottom: 22px;
}
/* CF7 overrides */
.stl-cf7-wrap .wpcf7-form-control-wrap { display: block; margin-bottom: 14px; }
.stl-cf7-wrap input[type="text"],
.stl-cf7-wrap input[type="email"],
.stl-cf7-wrap textarea {
  width: 100%;
  border: 1px solid var(--stl-border);
  border-radius: 9px; padding: 12px 16px;
  font-size: 14.5px; font-family: var(--stl-font-body);
  color: var(--stl-text); outline: none;
  transition: border-color .2s;
}
.stl-cf7-wrap input:focus,
.stl-cf7-wrap textarea:focus { border-color: var(--stl-secondary); }
.stl-cf7-wrap textarea { height: 130px; resize: vertical; }
.stl-cf7-wrap input[type="submit"] {
  background: var(--stl-secondary);
  color: #fff; border: none;
  border-radius: 9px; padding: 13px 28px;
  font-family: var(--stl-font-head);
  font-weight: 700; font-size: 15px;
  cursor: pointer; transition: background .2s;
  width: 100%;
}
.stl-cf7-wrap input[type="submit"]:hover { background: var(--stl-primary); }

/* =====================================================================
   ANIMATIONS
   ===================================================================== */
@keyframes stlUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1024px) {
  .stl-content-inner { grid-template-columns: 1fr 280px; }
}
@media (max-width: 860px) {
  .stl-footer-grid { grid-template-columns: 1fr 1fr; }
  .stl-contact-grid { grid-template-columns: 1fr; }
  .stl-content-inner { grid-template-columns: 1fr; }
  .stl-sidebar { margin-top: 32px; }
  .stl-stat { padding: 16px 24px; }
}
@media (max-width: 680px) {
  .stl-header-inner { position: relative; }
  .stl-nav { display: none; }
  .stl-nav.open { display: block; }
  .stl-nav.open ul {
    flex-direction: column; gap: 0;
    background: #fff;
    position: absolute; top: 70px; left: 0; right: 0;
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
    padding: 10px 0;
    z-index: 100;
  }
  .stl-nav.open ul li a {
    display: block; padding: 12px 24px;
    border-bottom: 1px solid var(--stl-border);
  }
  .stl-menu-toggle { display: block; }
  .stl-footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .stl-alpha-grid a { width: 38px; height: 38px; font-size: 13px; }
  .stl-intro-box { padding: 26px 20px; }
  .stl-stats { flex-direction: column; align-items: center; }
  .stl-stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,.07); width: 100%; }
}
@media (max-width: 400px) {
  .stl-search-box button span { display: none; }
  .stl-search-box button { padding: 0 16px; }
}

/* =====================================================================
   WORDPRESS CORE ALIGNMENT CLASSES
   ===================================================================== */
.alignleft  { float: left; margin: 0 20px 10px 0; }
.alignright { float: right; margin: 0 0 10px 20px; }
.aligncenter { margin: 0 auto 20px; display: block; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 13px; color: var(--stl-muted); text-align: center; margin-top: 6px; }
.screen-reader-text {
  clip: rect(1px,1px,1px,1px);
  position: absolute;
  height: 1px; width: 1px;
  overflow: hidden;
}
