/*
Theme Name:   London Loves Commerce Child
Theme URI:    https://londonlovescommerce.com
Template:     astra
Author:       LLC Editorial
Author URI:   https://londonlovescommerce.com
Description:  Child theme for londonlovescommerce.com — visually matched to the London Loves network design system.
Version:      2.0.0
License:      GPL v2 or later
Text Domain:  londonlovescommerce
*/

/* ============================================================
   GOOGLE FONTS — matches LLT's clean sans system
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:wght@400;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  /* Brand — LondonLoves network palette adapted for Commerce */
  --llc-red:          #e8192c;   /* Network accent red — identical to LLT */
  --llc-navy:         #1c2b4a;   /* Deep navy header */
  --llc-navy-mid:     #243154;
  --llc-dark:         #111111;
  --llc-text:         #333333;
  --llc-muted:        #777777;
  --llc-border:       #e0e0e0;
  --llc-bg:           #f4f4f4;
  --llc-white:        #ffffff;
  --llc-yellow:       #f5c518;   /* "Most Read" highlight bar */

  /* Category colours — one per nav item, matching LLT style */
  --cat-commerce:     #e8192c;
  --cat-ecommerce:    #0070f3;
  --cat-retailtech:   #7928ca;
  --cat-fintech:      #00a651;
  --cat-supplychain:  #f97316;
  --cat-martech:      #0891b2;
  --cat-greencommerce:#16a34a;
  --cat-b2b:          #6d28d9;
  --cat-startups:     #dc2626;
  --cat-investment:   #b45309;
  --cat-people:       #0f766e;
  --cat-insights:     #1d4ed8;

  /* Typography */
  --font-heading:     'Source Serif 4', Georgia, 'Times New Roman', serif;
  --font-body:        'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Layout */
  --max-width:        1200px;
  --content-width:    760px;
  --sidebar-width:    300px;
  --header-height:    68px;
  --card-radius:      4px;
  --shadow-sm:        0 1px 4px rgba(0,0,0,.08);
  --shadow-md:        0 4px 16px rgba(0,0,0,.1);
}

/* ============================================================
   GLOBAL RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--llc-text);
  background: var(--llc-bg);
  margin: 0;
}

a { color: var(--llc-navy); text-decoration: none; transition: color .18s; }
a:hover { color: var(--llc-red); }

img { max-width: 100%; height: auto; display: block; }

/* ============================================================
   TOP BAR — "London Loves" network switcher (mirrors LLT exactly)
   ============================================================ */
.llc-topbar {
  background: var(--llc-navy);
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding: 0;
  height: 36px;
  display: flex;
  align-items: center;
}

.llc-topbar__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
  height: 100%;
}

.llc-topbar__item {
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  height: 100%;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,.7);
  letter-spacing: .04em;
  text-transform: uppercase;
  border-right: 1px solid rgba(255,255,255,.1);
  transition: background .15s, color .15s;
}
.llc-topbar__item:first-child { border-left: 1px solid rgba(255,255,255,.1); }
.llc-topbar__item:hover,
.llc-topbar__item.active {
  background: var(--llc-red);
  color: #fff;
}

.llc-topbar__label {
  color: rgba(255,255,255,.35);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 0 0 0 14px;
  margin-left: auto;
}

/* ============================================================
   HEADER — sticky, white background, red bottom border
   ============================================================ */
#masthead,
.site-header {
  background: #fff !important;
  border-bottom: 3px solid var(--llc-red) !important;
  position: sticky !important;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 8px rgba(0,0,0,.07) !important;
}

/* Logo */
.ast-site-name,
.site-title a {
  font-family: var(--font-heading) !important;
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  color: var(--llc-navy) !important;
}

/* Navigation — mirrors LLT's clean horizontal nav */
.main-navigation li a,
.ast-nav-menu > li > a {
  font-family: var(--font-body) !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: .055em !important;
  color: var(--llc-navy) !important;
  padding: 8px 12px !important;
  transition: color .18s !important;
}

.main-navigation li a:hover,
.ast-nav-menu > li > a:hover,
.ast-nav-menu > li.current-menu-item > a {
  color: var(--llc-red) !important;
}

/* Dropdown sub-menu */
.main-navigation .sub-menu,
.ast-nav-menu .sub-menu {
  background: #fff !important;
  border-top: 3px solid var(--llc-red) !important;
  box-shadow: var(--shadow-md) !important;
  min-width: 200px !important;
}

.main-navigation .sub-menu a,
.ast-nav-menu .sub-menu a {
  font-size: 0.8rem !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  padding: 9px 16px !important;
  border-bottom: 1px solid var(--llc-border) !important;
}

/* Search in header */
.ast-search-icon .search-field,
header .search-form input[type="search"] {
  border: 1px solid var(--llc-border);
  border-radius: 3px;
  padding: 6px 10px;
  font-size: 0.8rem;
  font-family: var(--font-body);
}

/* ============================================================
   MAIN CONTENT WRAPPER
   ============================================================ */
.site-content,
#content {
  background: var(--llc-bg);
}

.ast-container,
.container {
  max-width: var(--max-width) !important;
  padding: 0 20px !important;
}

/* ============================================================
   CATEGORY BADGE / LABEL — LLT-style pill above headlines
   ============================================================ */
.llc-cat-badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: 3px 8px;
  color: #fff;
  background: var(--llc-red);
  border-radius: 2px;
  margin-bottom: 6px;
  line-height: 1.2;
}
.llc-cat-badge.cat-ecommerce       { background: var(--cat-ecommerce); }
.llc-cat-badge.cat-retailtech      { background: var(--cat-retailtech); }
.llc-cat-badge.cat-fintech         { background: var(--cat-fintech); }
.llc-cat-badge.cat-supplychain     { background: var(--cat-supplychain); }
.llc-cat-badge.cat-martech         { background: var(--cat-martech); }
.llc-cat-badge.cat-greencommerce   { background: var(--cat-greencommerce); }
.llc-cat-badge.cat-b2b             { background: var(--cat-b2b); }
.llc-cat-badge.cat-start-ups       { background: var(--cat-startups); }
.llc-cat-badge.cat-investment      { background: var(--cat-investment); }
.llc-cat-badge.cat-people          { background: var(--cat-people); }
.llc-cat-badge.cat-insights-advice { background: var(--cat-insights); }

/* ============================================================
   POST CARDS — used in homepage sections and archive listings
   ============================================================ */
.llc-card {
  background: #fff;
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.llc-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.llc-card__img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.llc-card__body {
  padding: 14px 16px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.llc-card__title {
  font-family: var(--font-heading);
  font-size: 1.0rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--llc-dark);
  margin: 4px 0 8px;
}

.llc-card__title a { color: inherit; }
.llc-card__title a:hover { color: var(--llc-red); }

.llc-card__excerpt {
  font-size: 0.82rem;
  color: var(--llc-muted);
  line-height: 1.55;
  flex: 1;
}

.llc-card__meta {
  font-size: 0.72rem;
  color: var(--llc-muted);
  margin-top: 10px;
  display: flex;
  gap: 8px;
  align-items: center;
}

.llc-card__author { font-weight: 600; color: var(--llc-navy); }

/* ============================================================
   HERO / FEATURED POST — full-width top section (LLT-style)
   ============================================================ */
.llc-hero {
  background: #fff;
  margin-bottom: 24px;
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.llc-hero__grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 0;
}

.llc-hero__main {
  position: relative;
  overflow: hidden;
}

.llc-hero__main img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.llc-hero__main-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 20px 20px;
  background: linear-gradient(0deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.4) 60%, transparent 100%);
}

.llc-hero__main-title {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  color: #fff;
  line-height: 1.25;
  margin: 6px 0 8px;
}

.llc-hero__main-excerpt {
  font-size: 0.87rem;
  color: rgba(255,255,255,.82);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.llc-hero__sidebar {
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--llc-border);
}

.llc-hero__side-item {
  padding: 16px 18px;
  border-bottom: 1px solid var(--llc-border);
  flex: 1;
}

.llc-hero__side-item:last-child { border-bottom: none; }

.llc-hero__side-title {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--llc-dark);
  line-height: 1.3;
  margin: 6px 0 4px;
}

.llc-hero__side-title a { color: inherit; }
.llc-hero__side-title a:hover { color: var(--llc-red); }

.llc-hero__side-author {
  font-size: 0.72rem;
  color: var(--llc-muted);
}

/* ============================================================
   HOMEPAGE SECTION HEADERS (like "## Tech News" in LLT)
   ============================================================ */
.llc-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0 10px;
  margin: 28px 0 16px;
  border-bottom: 3px solid var(--llc-red);
}

.llc-section-head__title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--llc-dark);
  text-transform: uppercase;
  letter-spacing: .04em;
  margin: 0;
}

.llc-section-head__link {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--llc-red);
  text-transform: uppercase;
  letter-spacing: .07em;
  white-space: nowrap;
}

.llc-section-head__link:hover { color: var(--llc-navy); }

/* ============================================================
   TWO-COLUMN HOMEPAGE LAYOUT
   ============================================================ */
.llc-home-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 24px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 20px 20px 40px;
}

/* Main posts grid */
.llc-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* Large featured post in section — first item full-width */
.llc-posts-grid .llc-card:first-child {
  grid-column: 1 / -1;
  flex-direction: row;
}

.llc-posts-grid .llc-card:first-child .llc-card__img {
  width: 42%;
  height: 220px;
  aspect-ratio: unset;
  flex-shrink: 0;
}

.llc-posts-grid .llc-card:first-child .llc-card__title {
  font-size: 1.15rem;
}

/* ============================================================
   "MORE NEWS" compact list (LLT right-side mini list)
   ============================================================ */
.llc-news-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.llc-news-list__item {
  padding: 10px 0;
  border-bottom: 1px solid var(--llc-border);
  font-size: 0.82rem;
}

.llc-news-list__item:last-child { border-bottom: none; }

.llc-news-list__item a {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--llc-dark);
  line-height: 1.35;
}

.llc-news-list__item a:hover { color: var(--llc-red); }

.llc-news-list__meta {
  font-size: 0.7rem;
  color: var(--llc-muted);
  margin-top: 3px;
}

/* ============================================================
   SIDEBAR
   ============================================================ */
.llc-sidebar .widget {
  background: #fff;
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-sm);
  padding: 16px;
  margin-bottom: 20px;
}

.llc-sidebar .widget-title,
.llc-sidebar h2.widgettitle {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--llc-dark);
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 3px solid var(--llc-red);
}

/* "Most Read" widget — LLT-style yellow numbered list */
.llc-most-read {
  counter-reset: most-read;
  list-style: none;
  padding: 0;
  margin: 0;
}

.llc-most-read__item {
  counter-increment: most-read;
  position: relative;
  padding: 10px 0 10px 36px;
  border-bottom: 1px solid var(--llc-border);
}

.llc-most-read__item::before {
  content: counter(most-read);
  position: absolute;
  left: 0;
  top: 10px;
  width: 26px;
  height: 26px;
  background: var(--llc-yellow);
  color: var(--llc-dark);
  font-size: 0.8rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
}

.llc-most-read__title {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--llc-dark);
  line-height: 1.3;
}

.llc-most-read__title a { color: inherit; }
.llc-most-read__title a:hover { color: var(--llc-red); }

.llc-most-read__date {
  font-size: 0.69rem;
  color: var(--llc-muted);
  margin-top: 3px;
}

/* Sign Up Box */
.llc-signup-box {
  background: var(--llc-navy);
  border-radius: var(--card-radius);
  padding: 20px;
  text-align: center;
  margin-bottom: 20px;
}

.llc-signup-box h3 {
  font-family: var(--font-heading);
  color: #fff;
  font-size: 1.05rem;
  margin: 0 0 8px;
}

.llc-signup-box p {
  color: rgba(255,255,255,.75);
  font-size: 0.8rem;
  margin: 0 0 14px;
}

.llc-signup-box input[type="email"] {
  width: 100%;
  padding: 9px 12px;
  border: none;
  border-radius: 3px;
  font-size: 0.82rem;
  margin-bottom: 8px;
}

.llc-signup-box button {
  width: 100%;
  background: var(--llc-red);
  color: #fff;
  border: none;
  padding: 9px;
  border-radius: 3px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .18s;
}

.llc-signup-box button:hover { background: #c4111f; }

/* Social Connect */
.llc-social-widget {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.llc-social-btn {
  flex: 1;
  min-width: 80px;
  text-align: center;
  padding: 8px 6px;
  border-radius: 3px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff !important;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.llc-social-btn.facebook  { background: #1877f2; }
.llc-social-btn.twitter   { background: #1da1f2; }
.llc-social-btn.linkedin  { background: #0a66c2; }
.llc-social-btn:hover { opacity: .88; }

/* ============================================================
   NETWORK FEEDS (LLT-style London Loves Business / Property strips)
   ============================================================ */
.llc-network-strip {
  background: #fff;
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
  overflow: hidden;
}

.llc-network-strip__header {
  padding: 10px 16px;
  border-bottom: 1px solid var(--llc-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.llc-network-strip__name {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--llc-muted);
}

.llc-network-strip__visit {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--llc-red);
  text-transform: uppercase;
  letter-spacing: .06em;
}

.llc-network-strip__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.llc-network-strip__item {
  padding: 10px 16px;
  border-bottom: 1px solid var(--llc-border);
  font-size: 0.8rem;
}

.llc-network-strip__item:last-child { border-bottom: none; }

.llc-network-strip__item a {
  color: var(--llc-dark);
  font-weight: 500;
  line-height: 1.35;
}

.llc-network-strip__item a:hover { color: var(--llc-red); }

/* ============================================================
   SINGLE POST PAGE
   ============================================================ */
.single .entry-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 700;
  color: var(--llc-dark);
  line-height: 1.2;
  margin-bottom: 12px;
}

.single .article-byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  font-size: 0.8rem;
  color: var(--llc-muted);
  padding: 12px 0;
  border-top: 1px solid var(--llc-border);
  border-bottom: 1px solid var(--llc-border);
  margin: 12px 0 24px;
}

.single .article-byline .author-name {
  font-weight: 700;
  color: var(--llc-navy);
}

.single .entry-content {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.8;
  color: var(--llc-text);
  max-width: var(--content-width);
}

.single .entry-content p { margin-bottom: 1.3em; }

.single .entry-content h2 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--llc-dark);
  margin: 1.8em 0 .6em;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--llc-border);
}

.single .entry-content h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--llc-dark);
  margin: 1.5em 0 .5em;
}

.single .entry-content a {
  color: var(--llc-red);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.single .entry-content blockquote {
  border-left: 4px solid var(--llc-red);
  margin: 1.5em 0;
  padding: 12px 20px;
  background: #fff8f8;
  font-style: italic;
  color: var(--llc-navy);
  font-size: 1.05rem;
}

/* Featured image on single post */
.single .post-thumbnail {
  margin-bottom: 24px;
  border-radius: var(--card-radius);
  overflow: hidden;
}

.single .post-thumbnail img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
}

/* ============================================================
   ARCHIVE / CATEGORY PAGE — matches LLT's list style exactly
   ============================================================ */
.archive .page-header {
  background: var(--llc-navy);
  padding: 20px 24px;
  margin-bottom: 20px;
  border-radius: var(--card-radius);
}

.archive .page-title {
  font-family: var(--font-heading);
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 0 4px;
}

.archive .archive-description {
  color: rgba(255,255,255,.7);
  font-size: 0.85rem;
  margin: 0;
}

/* Archive post list — matches LLT's plain list with date */
.archive article.type-post {
  background: #fff;
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  margin-bottom: 16px;
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 140px;
}

.archive article.type-post .post-thumbnail {
  margin: 0;
  border-radius: 0;
}

.archive article.type-post .post-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.archive article.type-post .entry-summary-wrap {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.archive article .entry-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--llc-dark);
  line-height: 1.3;
  margin: 6px 0 8px;
}

.archive article .entry-title a { color: inherit; }
.archive article .entry-title a:hover { color: var(--llc-red); }

.archive article .entry-summary {
  font-size: 0.82rem;
  color: var(--llc-muted);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.archive article .entry-meta {
  font-size: 0.72rem;
  color: var(--llc-muted);
  margin-top: 8px;
}

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination,
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  justify-content: center;
  padding: 24px 0;
}

.page-numbers,
.nav-links a,
.nav-links span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 3px;
  border: 1px solid var(--llc-border);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--llc-text);
  background: #fff;
  transition: all .15s;
}

.page-numbers.current,
.page-numbers:hover {
  background: var(--llc-red);
  border-color: var(--llc-red);
  color: #fff;
}

/* ============================================================
   BREADCRUMBS
   ============================================================ */
.llc-breadcrumbs {
  font-size: 0.75rem;
  color: var(--llc-muted);
  padding: 12px 0 8px;
  border-bottom: 1px solid var(--llc-border);
  margin-bottom: 20px;
}

.llc-breadcrumbs a { color: var(--llc-muted); }
.llc-breadcrumbs a:hover { color: var(--llc-red); }
.llc-breadcrumbs .sep { padding: 0 6px; }

/* ============================================================
   FOOTER — matches LLT's clean dark footer
   ============================================================ */
.site-footer,
#colophon {
  background: var(--llc-navy) !important;
  color: rgba(255,255,255,.65) !important;
  padding: 40px 0 0 !important;
  margin-top: 40px;
  font-size: 0.82rem !important;
}

.site-footer a,
#colophon a {
  color: rgba(255,255,255,.65) !important;
  transition: color .18s;
}

.site-footer a:hover,
#colophon a:hover { color: #fff !important; }

.footer-widget-area .widget-title {
  font-family: var(--font-body) !important;
  font-size: 0.75rem !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: .1em !important;
  color: #fff !important;
  margin-bottom: 14px !important;
}

.footer-widget-area ul { padding: 0; list-style: none; margin: 0; }
.footer-widget-area ul li {
  padding: 5px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.site-footer .ast-footer-copyright {
  background: rgba(0,0,0,.2) !important;
  padding: 14px 20px !important;
  margin-top: 30px !important;
  font-size: 0.75rem !important;
  color: rgba(255,255,255,.4) !important;
  text-align: center !important;
}

/* ============================================================
   READING PROGRESS BAR
   ============================================================ */
#llc-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: var(--llc-red);
  z-index: 9999;
  transition: width .08s linear;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .llc-home-grid {
    grid-template-columns: 1fr;
  }
  .llc-sidebar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .llc-hero__grid { grid-template-columns: 1fr; }
  .llc-hero__sidebar { display: none; }
  .llc-posts-grid { grid-template-columns: 1fr; }
  .llc-posts-grid .llc-card:first-child { flex-direction: column; }
  .llc-posts-grid .llc-card:first-child .llc-card__img { width: 100%; height: auto; aspect-ratio: 16/9; }
  .archive article.type-post { grid-template-columns: 1fr; }
  .archive article.type-post .post-thumbnail { height: 180px; }
  .llc-sidebar { grid-template-columns: 1fr; }
  .llc-topbar { display: none; }
}

@media (max-width: 480px) {
  .llc-card__title { font-size: 0.95rem; }
  .single .entry-title { font-size: 1.4rem; }
}
