/*
Theme Name:  Woolshie
Theme URI:   https://woolshie.com
Description: A modern, mobile-first Kadence child theme for Woolshie — Crochet Patterns & Mom Life. Blends the clean card-based mobile layout of Woolshie with the fresh teal-and-pink aesthetic of MJ's Off The Hook Designs.
Author:      Woolshie
Author URI:  https://woolshie.com
Template:    kadence
Version:     1.0.0
License:     GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: woolshie
Tags:        crochet, mobile-first, teal, pink, modern, blog, amigurumi
*/

/* ==========================================================================
   GOOGLE FONTS
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,700;1,500&family=Nunito:wght@300;400;600;700;800&family=Satisfy&display=swap');

/* ==========================================================================
   DESIGN TOKENS
   ========================================================================== */
:root {
  /* MJ's Off the Hook palette — teal/mint + warm pink/coral */
  --teal:          #5BBFB5;
  --teal-dark:     #3D9E95;
  --teal-light:    #A8DDD9;
  --teal-pale:     #E8F7F6;
  --coral:         #F07C7C;
  --coral-dark:    #D85F5F;
  --coral-light:   #FBCECE;
  --coral-pale:    #FEF3F3;
  --gold:          #F5B942;
  --gold-light:    #FDEFC8;
  --white:         #FFFFFF;
  --off-white:     #FAFAF9;
  --gray-100:      #F5F5F4;
  --gray-200:      #E7E5E4;
  --gray-400:      #A8A29E;
  --gray-600:      #78716C;
  --gray-800:      #292524;

  /* Woolshie screenshot brand */
  --brand-bg-hero: linear-gradient(180deg, #F9EDE3 0%, #EDF7F5 100%);
  --brand-tag-bg:  #EDF7F5;
  --brand-tag-text:#3D9E95;

  /* Semantic roles */
  --color-primary:       var(--teal);
  --color-primary-dark:  var(--teal-dark);
  --color-primary-light: var(--teal-light);
  --color-primary-pale:  var(--teal-pale);
  --color-secondary:     var(--coral);
  --color-secondary-dark:var(--coral-dark);
  --color-accent:        var(--gold);
  --color-bg:            var(--off-white);
  --color-surface:       var(--white);
  --color-text:          var(--gray-800);
  --color-text-muted:    var(--gray-600);
  --color-border:        var(--gray-200);

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'Nunito', 'Helvetica Neue', Arial, sans-serif;
  --font-script:  'Satisfy', cursive;

  /* Sizing */
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  28px;
  --radius-pill:9999px;

  /* Shadows */
  --shadow-xs:  0 1px 3px rgba(0,0,0,.06);
  --shadow-sm:  0 2px 8px rgba(0,0,0,.08);
  --shadow-md:  0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:  0 8px 32px rgba(0,0,0,.12);
  --shadow-card:0 2px 12px rgba(91,191,181,.10);

  /* Transitions */
  --t-fast:  .15s ease;
  --t-base:  .25s ease;
  --t-slow:  .4s ease;

  /* Layout */
  --max-w:         1200px;
  --content-w:     760px;
  --mobile-bottom-nav-h: 64px;
}

/* ==========================================================================
   BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html  { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  /* Space for fixed bottom nav on mobile */
  padding-bottom: var(--mobile-bottom-nav-h);
}

@media (min-width: 768px) { body { padding-bottom: 0; } }

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

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-heading);
  color: var(--gray-800);
  line-height: 1.25;
  font-weight: 700;
  margin-top: 0;
}
h1 { font-size: clamp(1.75rem, 5vw, 3rem); }
h2 { font-size: clamp(1.4rem, 3.5vw, 2.25rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }

p { margin-bottom: 1rem; }
a { color: var(--color-primary-dark); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--color-secondary); }

strong { font-weight: 800; }

blockquote {
  border-left: 4px solid var(--color-primary);
  background: var(--color-primary-pale);
  margin: 2rem 0;
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  font-family: var(--font-heading);
  font-style: italic;
  color: var(--teal-dark);
}

/* ==========================================================================
   ANNOUNCEMENT BAR (top strip like MJ's)
   ========================================================================== */
.woolshie-announcement-bar {
  background: var(--color-primary);
  color: var(--white);
  text-align: center;
  padding: .5rem 1rem;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .04em;
}
.woolshie-announcement-bar a { color: var(--white); text-decoration: underline; }

/* ==========================================================================
   DESKTOP HEADER
   ========================================================================== */
.site-header, #masthead {
  background: var(--white);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-xs);
  position: sticky;
  top: 0;
  z-index: 200;
  transition: box-shadow var(--t-base);
}
.site-header.is-scrolled { box-shadow: var(--shadow-md); }

/* Logo / branding */
.site-title, .kadence-site-title {
  font-family: var(--font-script);
  font-size: 1.7rem;
  font-weight: 400;
  color: var(--teal-dark) !important;
  letter-spacing: .02em;
}
.site-title a { color: inherit; }
.site-title a:hover { color: var(--coral) !important; }

.site-description, .kadence-site-description {
  font-size: .78rem;
  color: var(--color-text-muted);
  letter-spacing: .06em;
  text-transform: uppercase;
  font-weight: 600;
}

/* Desktop nav */
.main-navigation ul, .header-navigation ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; align-items: center; gap: .25rem;
}
.main-navigation ul li a, .header-navigation .menu-item a {
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--gray-800);
  padding: .4rem .75rem;
  border-radius: var(--radius-pill);
  transition: all var(--t-fast);
  display: block;
}
.main-navigation ul li a:hover,
.header-navigation .menu-item a:hover,
.main-navigation ul li.current-menu-item > a {
  color: var(--color-primary-dark);
  background: var(--color-primary-pale);
}

/* Header search icon */
.header-search-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray-600);
  font-size: 1.2rem;
  padding: .4rem;
  border-radius: var(--radius-pill);
  transition: color var(--t-fast), background var(--t-fast);
}
.header-search-btn:hover { color: var(--color-primary); background: var(--color-primary-pale); }

/* ==========================================================================
   MOBILE HEADER  (Woolshie screenshot style)
   ========================================================================== */
@media (max-width: 767px) {
  .site-header, #masthead {
    position: sticky; top: 0;
    background: var(--white);
    border-bottom: 1px solid var(--color-border);
    z-index: 200;
  }

  .header-inner-wrap,
  .kadence-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .75rem 1rem;
    min-height: 56px;
  }

  /* Hide desktop nav on mobile */
  .main-navigation,
  .kadence-navigation.header-navigation {
    display: none !important;
  }

  /* Show mobile hamburger */
  .mobile-menu-toggle,
  .kadence-mobile-trigger { display: flex !important; }

  /* Mobile logo styling */
  .site-title { font-size: 1.4rem; }
}

/* ==========================================================================
   MOBILE HERO / PROFILE SECTION  (exact Woolshie screenshot)
   ========================================================================== */
.woolshie-hero-mobile {
  background: var(--brand-bg-hero);
  text-align: center;
  padding: 1.5rem 1.25rem 2rem;
  position: relative;
  overflow: hidden;
}

.woolshie-hero-mobile .hero-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--white);
  box-shadow: var(--shadow-md);
  margin: 0 auto 1rem;
  display: block;
}

.woolshie-hero-mobile .hero-site-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: .25rem;
}

.woolshie-hero-mobile .hero-tagline {
  font-size: .85rem;
  color: var(--color-text-muted);
  letter-spacing: .03em;
  font-weight: 600;
  margin-bottom: .75rem;
  text-transform: uppercase;
}

.woolshie-hero-mobile .hero-description {
  font-size: .9rem;
  color: var(--gray-600);
  max-width: 320px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ==========================================================================
   MOBILE CATEGORY PILL TABS  (Woolshie screenshot)
   ========================================================================== */
.woolshie-category-tabs {
  display: flex;
  gap: .5rem;
  padding: 1rem 1rem .5rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  background: var(--white);
  border-bottom: 1px solid var(--color-border);
}
.woolshie-category-tabs::-webkit-scrollbar { display: none; }

.woolshie-category-tabs a,
.woolshie-tab-pill {
  flex-shrink: 0;
  display: inline-block;
  padding: .45rem 1rem;
  border-radius: var(--radius-pill);
  font-size: .82rem;
  font-weight: 700;
  border: 2px solid var(--color-border);
  color: var(--gray-600);
  background: var(--white);
  text-decoration: none;
  transition: all var(--t-fast);
  white-space: nowrap;
  cursor: pointer;
}
.woolshie-category-tabs a.active,
.woolshie-category-tabs a:hover,
.woolshie-tab-pill.active {
  background: var(--gray-800);
  color: var(--white);
  border-color: var(--gray-800);
}

/* ==========================================================================
   PROMO BANNER (Woolshie "Free Crochet Patterns" orange strip)
   ========================================================================== */
.woolshie-promo-banner {
  background: linear-gradient(135deg, #F5B942 0%, #F07C7C 100%);
  border-radius: var(--radius-lg);
  margin: 1rem;
  padding: 1.25rem 1.5rem;
  position: relative;
  overflow: hidden;
}
@media (min-width: 768px) {
  .woolshie-promo-banner { margin: 1.5rem auto; max-width: var(--max-w); }
}

.woolshie-promo-banner::before {
  content: '';
  position: absolute;
  top: -30px; right: -30px;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
}

.woolshie-promo-banner .promo-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: .35rem;
  font-style: italic;
}
.woolshie-promo-banner .promo-text {
  font-size: .85rem;
  color: rgba(255,255,255,.9);
  margin-bottom: .85rem;
}
.woolshie-promo-banner .promo-btn {
  display: inline-block;
  background: var(--white);
  color: var(--gray-800);
  font-size: .8rem;
  font-weight: 800;
  padding: .5rem 1.25rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: transform var(--t-fast), box-shadow var(--t-fast);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.woolshie-promo-banner .promo-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
  color: var(--gray-800);
}

/* ==========================================================================
   SECTION HEADER (title + "See All" link — Woolshie screenshot)
   ========================================================================== */
.woolshie-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1rem .75rem;
  max-width: var(--max-w);
  margin: 0 auto;
}
.woolshie-section-header h2 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--gray-800);
  margin: 0;
}
.woolshie-section-header .see-all {
  font-size: .82rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  text-decoration: none;
  border-bottom: 1.5px solid currentColor;
  padding-bottom: 1px;
}
.woolshie-section-header .see-all:hover { color: var(--coral); }

/* ==========================================================================
   POST CARDS — HORIZONTAL SCROLL (mobile, Woolshie screenshot)
   ========================================================================== */
.woolshie-cards-scroll {
  display: flex;
  gap: .75rem;
  padding: .25rem 1rem 1.25rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.woolshie-cards-scroll::-webkit-scrollbar { display: none; }

/* Grid layout on desktop */
@media (min-width: 768px) {
  .woolshie-cards-scroll {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    overflow-x: visible;
    padding: .25rem 1.5rem 1.5rem;
    max-width: var(--max-w);
    margin: 0 auto;
  }
}
@media (min-width: 1024px) {
  .woolshie-cards-scroll {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ==========================================================================
   SINGLE CARD  (Woolshie screenshot layout)
   ========================================================================== */
.woolshie-card,
article.post,
.loop-entry,
.kadence-post {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
  transition: transform var(--t-base), box-shadow var(--t-base);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  width: 160px;  /* mobile card width */
}

@media (min-width: 768px) {
  .woolshie-card, article.post, .loop-entry, .kadence-post {
    width: auto;
  }
}

.woolshie-card:hover,
article.post:hover,
.loop-entry:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* Card image */
.woolshie-card__image,
.post-thumbnail,
.entry-thumbnail {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--gray-100);
}
.woolshie-card__image img,
.post-thumbnail img,
.entry-thumbnail img,
.wp-post-image {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}
.woolshie-card:hover .woolshie-card__image img,
.loop-entry:hover .post-thumbnail img { transform: scale(1.07); }

/* Card body */
.woolshie-card__body,
.entry-content-wrap,
.kadence-post-content-wrap {
  padding: .65rem .75rem .85rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Category tag (teal uppercase small — Woolshie screenshot) */
.woolshie-card__cat,
.post-categories a,
.cat-links a,
.entry-categories a {
  font-size: .65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--color-primary-dark);
  background: var(--color-primary-pale);
  display: inline-block;
  padding: .2rem .55rem;
  border-radius: var(--radius-pill);
  margin-bottom: .35rem;
  text-decoration: none;
}
.post-categories a:hover { background: var(--color-primary); color: var(--white); }

/* Card title */
.woolshie-card__title,
.entry-title,
.entry-title a,
.kadence-post-title a {
  font-family: var(--font-body);
  font-size: .88rem;
  font-weight: 800;
  color: var(--gray-800);
  line-height: 1.3;
  margin-bottom: .35rem;
  text-decoration: none;
}
.entry-title a:hover, .kadence-post-title a:hover { color: var(--color-primary-dark); }

/* Difficulty badge (Woolshie screenshot "Beginner" green pill) */
.woolshie-card__badge,
.difficulty-badge {
  display: inline-block;
  font-size: .65rem;
  font-weight: 700;
  padding: .2rem .55rem;
  border-radius: var(--radius-pill);
  background: #E8F5E9;
  color: #2E7D32;
  align-self: flex-start;
  margin-top: auto;
}

/* ==========================================================================
   LARGE CARD (blog post grid variant)
   ========================================================================== */
.woolshie-card--large {
  width: 280px;
}
@media (min-width: 768px) { .woolshie-card--large { width: auto; } }

.woolshie-card--large .woolshie-card__image { aspect-ratio: 4/3; }
.woolshie-card--large .woolshie-card__title { font-size: 1rem; }

/* ==========================================================================
   HERO — DESKTOP (MJ's style — full-width with side image)
   ========================================================================== */
.woolshie-hero-desktop {
  display: none;
}
@media (min-width: 768px) {
  .woolshie-hero-desktop {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    min-height: 520px;
    background: var(--brand-bg-hero);
    overflow: hidden;
    position: relative;
  }
  .woolshie-hero-desktop .hero-content {
    padding: 4rem 3rem 4rem 4rem;
    z-index: 1;
  }
  .woolshie-hero-desktop .hero-eyebrow {
    font-size: .8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--color-primary-dark);
    margin-bottom: .75rem;
    display: flex;
    align-items: center;
    gap: .5rem;
  }
  .woolshie-hero-desktop .hero-eyebrow::before { content: '✨'; }
  .woolshie-hero-desktop h1 {
    font-family: var(--font-script);
    font-size: clamp(2.5rem, 4vw, 4rem);
    font-weight: 400;
    color: var(--teal-dark);
    margin-bottom: .5rem;
    line-height: 1.15;
  }
  .woolshie-hero-desktop .hero-sub {
    font-size: 1.1rem;
    color: var(--gray-600);
    font-family: var(--font-heading);
    font-style: italic;
    margin-bottom: 1.5rem;
  }
  .woolshie-hero-desktop .hero-image {
    height: 100%;
    min-height: 520px;
    object-fit: cover;
    width: 100%;
  }
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn, .button, .read-more, .more-link,
.wp-block-button__link,
.woocommerce a.button,
.woocommerce button.button {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--color-primary);
  color: var(--white) !important;
  font-family: var(--font-body);
  font-size: .82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .07em;
  padding: .6rem 1.4rem;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
  box-shadow: 0 3px 10px rgba(91,191,181,.35);
}
.btn:hover, .button:hover, .read-more:hover, .more-link:hover,
.wp-block-button__link:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 5px 16px rgba(91,191,181,.4);
}

/* Coral CTA variant */
.btn-coral, .btn-secondary {
  background: var(--coral);
  box-shadow: 0 3px 10px rgba(240,124,124,.3);
}
.btn-coral:hover { background: var(--coral-dark); box-shadow: 0 5px 16px rgba(240,124,124,.4); }

/* Ghost button */
.btn-ghost {
  background: transparent;
  color: var(--teal-dark) !important;
  border: 2px solid var(--teal-dark);
  box-shadow: none;
}
.btn-ghost:hover { background: var(--teal-dark); color: var(--white) !important; }

/* MJ's outline button style */
.btn-outline-dark {
  background: transparent;
  color: var(--gray-800) !important;
  border: 2px solid var(--gray-800);
  box-shadow: none;
}
.btn-outline-dark:hover { background: var(--gray-800); color: var(--white) !important; }

/* ==========================================================================
   MOBILE BOTTOM NAV  (exact Woolshie screenshot)
   ========================================================================== */
.woolshie-bottom-nav {
  display: none;
}
@media (max-width: 767px) {
  .woolshie-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    height: var(--mobile-bottom-nav-h);
    background: var(--white);
    border-top: 1px solid var(--color-border);
    z-index: 300;
    box-shadow: 0 -2px 16px rgba(0,0,0,.08);
  }
  .woolshie-bottom-nav__item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .2rem;
    font-size: .68rem;
    font-weight: 700;
    color: var(--gray-400);
    text-decoration: none;
    transition: color var(--t-fast);
    padding: .5rem 0;
    position: relative;
    cursor: pointer;
  }
  .woolshie-bottom-nav__item.active,
  .woolshie-bottom-nav__item:hover { color: var(--color-primary-dark); }

  .woolshie-bottom-nav__item.active::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 28px; height: 3px;
    background: var(--color-primary);
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  }

  .woolshie-bottom-nav__icon {
    font-size: 1.25rem;
    line-height: 1;
  }
}

/* ==========================================================================
   SINGLE POST
   ========================================================================== */
.single .entry-header,
.page .entry-header {
  text-align: center;
  background: var(--brand-bg-hero);
  padding: 2.5rem 1.25rem 2rem;
}
.single .entry-title,
.page .entry-title {
  font-size: clamp(1.5rem, 4vw, 2.75rem);
  color: var(--gray-800);
  max-width: 700px;
  margin: .5rem auto 1rem;
}
.single .wp-post-image,
.single .post-thumbnail img,
.single .featured-image img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  width: 100%;
  margin-bottom: 2rem;
}

/* Entry meta */
.entry-meta, .post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  font-size: .78rem;
  color: var(--color-text-muted);
  font-weight: 600;
}

/* Content */
.entry-content {
  max-width: var(--content-w);
  margin: 0 auto;
  padding: 0 1rem;
}
.entry-content h2 {
  color: var(--teal-dark);
  margin-top: 2.5rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--teal-light);
}
.entry-content h3 { margin-top: 2rem; color: var(--gray-800); }
.entry-content img { border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }

/* ==========================================================================
   PATTERN DETAILS BOX
   ========================================================================== */
.pattern-info-box {
  background: var(--teal-pale);
  border: 2px solid var(--teal-light);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  margin: 1.75rem 0;
}
.pattern-info-box h3 {
  font-family: var(--font-script);
  font-size: 1.6rem;
  color: var(--teal-dark);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: .5rem;
  font-weight: 400;
}
.pattern-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: .75rem;
}
.pattern-info-item {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: .85rem;
  text-align: center;
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--teal-light);
}
.pattern-info-item .label {
  font-size: .65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--color-text-muted);
  display: block;
  margin-bottom: .2rem;
}
.pattern-info-item .value {
  font-weight: 700;
  font-size: .9rem;
  color: var(--teal-dark);
}

/* Tip callout */
.tip-callout {
  background: linear-gradient(135deg, rgba(245,185,66,.15), rgba(240,124,124,.10));
  border: 1px solid #F5B94280;
  border-radius: var(--radius-xl);
  padding: 1.25rem 1.5rem;
  text-align: center;
  margin: 1.5rem 0;
  font-family: var(--font-heading);
  font-style: italic;
  color: var(--gray-800);
}
.tip-callout::before {
  content: '✨ PRO TIP ✨';
  display: block;
  font-family: var(--font-body);
  font-style: normal;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--gold);
  margin-bottom: .4rem;
}

/* Materials list */
.materials-list {
  background: #F0FAF9;
  border: 1px solid var(--teal-light);
  border-radius: var(--radius-xl);
  padding: 1.25rem 1.5rem;
  margin: 1rem 0;
}
.materials-list h4::before { content: '🪡 '; }

/* Abbreviations */
.abbreviations-box {
  background: var(--white);
  border-left: 4px solid var(--color-primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1rem 1.25rem;
  margin: 1rem 0;
  box-shadow: var(--shadow-xs);
}
.abbreviations-box h4::before { content: '📋 '; }

/* ==========================================================================
   MJ'S SOCIAL CTA SECTION (3-column: img | text | img)
   ========================================================================== */
.woolshie-social-cta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 2rem 0;
}
@media (min-width: 768px) {
  .woolshie-social-cta {
    grid-template-columns: 1fr auto 1fr;
    align-items: stretch;
    margin: 3rem 0;
  }
}
.woolshie-social-cta__img {
  overflow: hidden;
  aspect-ratio: 4/5;
}
.woolshie-social-cta__img img { width:100%; height:100%; object-fit:cover; }
.woolshie-social-cta__content {
  background: var(--teal-pale);
  padding: 2.5rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  min-width: 240px;
}
.woolshie-social-cta__content .eyebrow {
  font-family: var(--font-script);
  font-size: 1.5rem;
  color: var(--teal-dark);
}
.woolshie-social-cta__content h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--gray-800);
  margin: 0;
}
.woolshie-social-cta__content p { font-size: .88rem; color: var(--color-text-muted); margin: 0; }

/* ==========================================================================
   EMAIL SIGNUP STRIP (MJ's teal bar)
   ========================================================================== */
.woolshie-email-strip {
  background: var(--teal-light);
  padding: 1.5rem 1.25rem;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  position: relative;
  overflow: hidden;
}
.woolshie-email-strip::before,
.woolshie-email-strip::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
}
.woolshie-email-strip::before { width:120px; height:120px; top:-40px; left:-20px; }
.woolshie-email-strip::after  { width:80px;  height:80px;  bottom:-20px; right:40px; }

.woolshie-email-strip .strip-text {
  font-size: .9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--teal-dark);
  display: flex;
  align-items: center;
  gap: .5rem;
}
.woolshie-email-strip .strip-text::before,
.woolshie-email-strip .strip-text::after { content: '✿'; color: var(--white); }

.woolshie-email-strip .btn-strip {
  background: var(--coral);
  color: var(--white) !important;
  padding: .55rem 1.5rem;
  border-radius: var(--radius-pill);
  font-size: .82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  text-decoration: none;
  transition: transform var(--t-fast), background var(--t-fast);
  box-shadow: 0 3px 10px rgba(240,124,124,.3);
}
.woolshie-email-strip .btn-strip:hover { transform: translateY(-2px); background: var(--coral-dark); }

/* ==========================================================================
   SIDEBAR
   ========================================================================== */
.widget-area, .sidebar, #secondary { font-size: .88rem; }

.widget, .kadence-widget {
  background: var(--white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-xs);
  position: relative;
  overflow: hidden;
}
.widget::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--coral), var(--gold));
}

.widget-title, .widgettitle {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--teal-dark);
  margin-bottom: 1rem;
  padding-bottom: .65rem;
  border-bottom: 2px dashed var(--color-border);
}

.widget_recent_entries ul { list-style: none; padding: 0; margin: 0; }
.widget_recent_entries li {
  padding: .5rem 0;
  border-bottom: 1px solid var(--color-border);
  display: flex; gap: .4rem;
}
.widget_recent_entries li::before { content: '🧶'; flex-shrink: 0; font-size: .85em; }
.widget_recent_entries li:last-child { border-bottom: none; }
.widget_recent_entries a { color: var(--gray-800); font-weight: 600; line-height: 1.4; }
.widget_recent_entries a:hover { color: var(--color-primary-dark); }

.widget_search .search-field {
  width: 100%; padding: .65rem 1rem;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: .85rem;
  background: var(--off-white);
  outline: none;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.widget_search .search-field:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(91,191,181,.15);
}
.widget_search .search-submit {
  background: var(--color-primary);
  color: var(--white);
  border: none; border-radius: var(--radius-pill);
  padding: .5rem 1.25rem;
  font-weight: 800; font-size: .78rem;
  text-transform: uppercase; letter-spacing: .06em;
  cursor: pointer; margin-top: .5rem;
  transition: background var(--t-fast);
}
.widget_search .search-submit:hover { background: var(--teal-dark); }

.tag-cloud-link, .widget_tag_cloud a {
  display: inline-block;
  background: var(--gray-100);
  color: var(--gray-600);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  padding: .2rem .65rem;
  font-size: .72rem !important;
  font-weight: 700;
  margin: 2px;
  transition: all var(--t-fast);
  text-decoration: none;
}
.tag-cloud-link:hover { background: var(--color-primary); color: var(--white); border-color: var(--color-primary); }

/* ==========================================================================
   FOOTER (MJ's style — logo left, search + social + links grid)
   ========================================================================== */
.site-footer, #colophon {
  background: var(--white);
  border-top: 3px solid var(--teal-light);
  padding: 3rem 1.25rem 1.5rem;
  margin-top: 3rem;
}

.woolshie-footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 768px) {
  .woolshie-footer-inner {
    grid-template-columns: 220px 1fr auto;
    align-items: start;
  }
}

/* Footer logo */
.woolshie-footer-logo {
  font-family: var(--font-script);
  font-size: 2rem;
  color: var(--coral);
  line-height: 1.1;
}
.woolshie-footer-logo small {
  display: block;
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--gray-400);
  margin-top: .25rem;
}

/* Footer Browse Topics */
.woolshie-footer-topics h4 {
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--gray-600);
  margin-bottom: .75rem;
}
.woolshie-footer-topics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .35rem .75rem;
}
.woolshie-footer-topics-grid a {
  font-size: .82rem;
  color: var(--gray-600);
  font-weight: 600;
  transition: color var(--t-fast);
}
.woolshie-footer-topics-grid a:hover { color: var(--teal-dark); }

/* Footer social icons (MJ's colorful circle buttons) */
.woolshie-social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1rem;
}
.woolshie-social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white) !important;
  font-size: .85rem;
  text-decoration: none;
  transition: transform var(--t-fast), background var(--t-fast);
  font-weight: 800;
}
.woolshie-social-icons a:nth-child(2) { background: var(--coral); }
.woolshie-social-icons a:nth-child(3) { background: #E1306C; }
.woolshie-social-icons a:nth-child(4) { background: #BD081C; }
.woolshie-social-icons a:nth-child(5) { background: #010101; }
.woolshie-social-icons a:nth-child(6) { background: #FF0000; }
.woolshie-social-icons a:nth-child(7) { background: var(--gold); }
.woolshie-social-icons a:hover { transform: scale(1.12); }

/* Footer search */
.woolshie-footer-search {
  display: flex;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-pill);
  overflow: hidden;
  margin-bottom: 1rem;
  max-width: 300px;
}
.woolshie-footer-search input {
  flex: 1; border: none;
  padding: .55rem 1rem;
  font-family: var(--font-body);
  font-size: .85rem;
  background: var(--off-white);
  outline: none;
}
.woolshie-footer-search button {
  background: var(--coral);
  color: var(--white);
  border: none;
  padding: .55rem .9rem;
  cursor: pointer;
  font-size: .9rem;
  transition: background var(--t-fast);
}
.woolshie-footer-search button:hover { background: var(--coral-dark); }

/* Footer bottom bar */
.woolshie-footer-bottom {
  text-align: center;
  font-size: .75rem;
  color: var(--gray-400);
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
  margin-top: 2rem;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
}
.woolshie-footer-bottom a { color: var(--teal-dark); font-weight: 600; }

/* ==========================================================================
   PAGINATION
   ========================================================================== */
.pagination, .nav-links, .page-numbers {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: .4rem; margin: 2.5rem 0;
}
.page-numbers, .page-numbers a, .nav-links a, .nav-links span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  font-weight: 700; font-size: .85rem;
  color: var(--gray-600); background: var(--white);
  border: 2px solid var(--color-border);
  text-decoration: none;
  transition: all var(--t-fast);
}
.page-numbers.current, .nav-links .current {
  background: var(--teal); color: var(--white); border-color: var(--teal);
  box-shadow: 0 3px 10px rgba(91,191,181,.35);
}
.page-numbers:hover:not(.current), .nav-links a:hover {
  border-color: var(--teal); color: var(--teal);
}

/* Post nav */
.post-navigation {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1rem; margin: 2rem 0;
  padding: 1.5rem 0; border-top: 1px solid var(--color-border);
}
@media (max-width: 480px) { .post-navigation { grid-template-columns: 1fr; } }
.nav-previous, .nav-next {
  background: var(--white); border: 1px solid var(--color-border);
  border-radius: var(--radius-md); padding: 1rem 1.25rem;
  transition: all var(--t-base);
}
.nav-previous:hover, .nav-next:hover { border-color: var(--teal); box-shadow: var(--shadow-sm); }
.nav-next { text-align: right; }
.nav-previous a, .nav-next a { color: var(--gray-800); font-weight: 700; font-size: .88rem; }

/* ==========================================================================
   COMMENTS
   ========================================================================== */
.comments-area { max-width: var(--content-w); margin: 2.5rem auto 0; padding: 0 1rem; }
.comments-title, .comment-reply-title {
  font-family: var(--font-script);
  font-size: 1.8rem; color: var(--teal-dark); margin-bottom: 1.25rem; font-weight: 400;
}
.comment-body {
  background: var(--white); border: 1px solid var(--color-border);
  border-radius: var(--radius-xl); padding: 1.25rem;
  margin-bottom: .85rem; box-shadow: var(--shadow-xs);
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form textarea {
  width: 100%; padding: .65rem 1rem;
  border: 2px solid var(--color-border); border-radius: var(--radius-md);
  font-family: var(--font-body); font-size: .88rem;
  background: var(--off-white); outline: none;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.comment-form input:focus, .comment-form textarea:focus {
  border-color: var(--teal); box-shadow: 0 0 0 3px rgba(91,191,181,.15);
}
.comment-form .submit {
  background: var(--teal); color: var(--white);
  border: none; border-radius: var(--radius-pill);
  padding: .65rem 1.75rem; font-family: var(--font-body);
  font-weight: 800; font-size: .82rem;
  text-transform: uppercase; letter-spacing: .07em;
  cursor: pointer;
  transition: transform var(--t-fast), background var(--t-fast);
  box-shadow: 0 3px 10px rgba(91,191,181,.3);
}
.comment-form .submit:hover { background: var(--teal-dark); transform: translateY(-2px); }

/* ==========================================================================
   ARCHIVE HEADER
   ========================================================================== */
.archive-header, .page-header {
  background: var(--brand-bg-hero);
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  padding: 3rem 1.25rem 2.5rem;
  text-align: center; margin-bottom: 2rem;
}
.archive-title, .page-title {
  font-family: var(--font-script);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--teal-dark); margin: 0 0 .35rem; font-weight: 400;
}
.archive-description { color: var(--color-text-muted); font-style: italic; }

/* ==========================================================================
   FORMS
   ========================================================================== */
input[type="text"],
input[type="email"],
input[type="search"],
textarea, select {
  font-family: var(--font-body); font-size: .88rem;
  color: var(--color-text); background: var(--off-white);
  border: 2px solid var(--color-border); border-radius: var(--radius-md);
  padding: .65rem 1rem; width: 100%; outline: none;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
input:focus, textarea:focus, select:focus {
  border-color: var(--teal); box-shadow: 0 0 0 3px rgba(91,191,181,.15);
}
label { display: block; font-size: .85rem; font-weight: 700; color: var(--gray-800); margin-bottom: .35rem; }

/* ==========================================================================
   WOOCOMMERCE
   ========================================================================== */
.woocommerce .price, .woocommerce-Price-amount { color: var(--teal-dark); font-weight: 800; }
.woocommerce ul.products li.product {
  border-radius: var(--radius-lg) !important; overflow: hidden;
  box-shadow: var(--shadow-card); border: 1px solid var(--color-border);
  transition: transform var(--t-base), box-shadow var(--t-base);
  background: var(--white);
}
.woocommerce ul.products li.product:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.woocommerce ul.products li.product a img { border-radius: 0; }
.woocommerce a.button, .woocommerce button.button {
  background: var(--teal) !important; color: var(--white) !important;
  border-radius: var(--radius-pill) !important; font-weight: 800 !important;
  text-transform: uppercase !important; letter-spacing: .06em !important;
}

/* ==========================================================================
   SCROLLBAR
   ========================================================================== */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: var(--teal-light); border-radius: var(--radius-pill); }
::-webkit-scrollbar-thumb:hover { background: var(--teal); }

/* ==========================================================================
   READING PROGRESS BAR
   ========================================================================== */
#woolshie-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--teal), var(--coral), var(--gold));
  z-index: 9999; transition: width .1s linear;
}

/* ==========================================================================
   ACCESSIBILITY
   ========================================================================== */
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: var(--radius-sm); }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border-width:0; }
.skip-link {
  position:absolute; top:-100%; left:1rem; z-index:9999;
  background:var(--teal); color:var(--white); padding:.4rem 1.25rem;
  border-radius:var(--radius-pill); font-weight:800; text-decoration:none;
  transition:top var(--t-fast);
}
.skip-link:focus { top:.75rem; }

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   PRINT
   ========================================================================== */
@media print {
  .site-header, .site-footer, .sidebar, .woolshie-bottom-nav, #woolshie-progress { display: none; }
  body { background: white; color: black; padding-bottom: 0; }
  .entry-content { max-width: 100%; }
}
