/*
Theme Name: YorkieLove Blog Theme
Theme URI: https://yorkielove.com
Author: YorkieLove
Description: A soft, friendly WordPress blog theme for Yorkshire Terrier care, grooming, feeding, training, health, and lifestyle articles.
Version: 1.4
License: GPL v2 or later
Text Domain: yorkielove
*/

:root {
  --yl-pink: #f76f86;
  --yl-pink-soft: #ffe8ec;
  --yl-pink-light: #fff5f7;
  --yl-navy: #08264a;
  --yl-gold: #c79636;
  --yl-cream: #fffaf5;
  --yl-border: #f3d7d7;
  --yl-text: #1e2b3a;
  --yl-muted: #6b7280;
  --yl-white: #ffffff;
  --yl-radius: 22px;
  --yl-shadow: 0 12px 35px rgba(8, 38, 74, 0.08);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--yl-text);
  background: linear-gradient(180deg, #fffaf7 0%, #ffffff 50%, #fff5f7 100%);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

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

.yl-topbar {
  background: linear-gradient(90deg, #f9798f, #f7a0aa);
  color: #fff;
  font-size: 14px;
}

.yl-topbar-inner {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.yl-topbar-left,
.yl-topbar-right {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.yl-nav-wrap {
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid rgba(247,111,134,0.18);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
}

.yl-nav-inner {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.yl-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-weight: 700;
  color: var(--yl-navy);
  font-size: 15px;
}

.yl-menu a {
  padding: 28px 0 22px;
  border-bottom: 3px solid transparent;
}

.yl-menu a:hover,
.yl-menu .current-menu-item a {
  color: var(--yl-pink);
  border-bottom-color: var(--yl-pink);
}

.yl-hero {
  min-height: 460px;
  background:
    radial-gradient(circle at 82% 35%, rgba(255,232,236,0.95), transparent 32%),
    linear-gradient(90deg, rgba(255,250,247,0.96), rgba(255,250,247,0.62)),
    var(--yl-hero-image, linear-gradient(135deg, #fff7f7, #ffe6eb));
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid rgba(247,111,134,0.15);
  position: relative;
  overflow: hidden;
}

.yl-hero-inner {
  min-height: 460px;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 30px;
  padding: 48px 0;
}

.yl-hero-card {
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(247,111,134,0.22);
  border-radius: var(--yl-radius);
  padding: 38px;
  box-shadow: var(--yl-shadow);
  backdrop-filter: blur(8px);
}

.yl-logo-text {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 7vw, 90px);
  line-height: 0.92;
  color: var(--yl-navy);
  letter-spacing: -2px;
}

.yl-logo-text span {
  color: var(--yl-pink);
  font-family: "Brush Script MT", "Segoe Script", cursive;
  font-weight: 400;
}

.yl-logo-text small {
  font-size: .48em;
  letter-spacing: -1px;
}

.yl-tagline {
  color: var(--yl-navy);
  font-size: 21px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0 0 5px;
}

.yl-script-line {
  color: var(--yl-pink);
  font-family: "Brush Script MT", "Segoe Script", cursive;
  font-size: 36px;
  margin: 0 0 24px;
}

.yl-hero-intro {
  max-width: 540px;
  margin: 0 0 26px;
  font-size: 18px;
}

.yl-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.yl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  font-weight: 800;
  border: 1px solid transparent;
}

.yl-btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--yl-pink), #ef5873);
  box-shadow: 0 10px 22px rgba(247,111,134,0.28);
}

.yl-btn-secondary {
  background: #fff;
  color: var(--yl-navy);
  border-color: var(--yl-border);
}

.yl-category-icons {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: 32px;
}

.yl-category-icon {
  background: rgba(255,255,255,0.8);
  border: 1px solid var(--yl-border);
  border-radius: 18px;
  padding: 14px 10px;
  text-align: center;
  color: var(--yl-navy);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.yl-category-icon .icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 8px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--yl-pink-soft);
  font-size: 24px;
}

.yl-main {
  padding: 34px 0 50px;
}

.yl-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
}

.yl-card {
  background: #fff;
  border: 1px solid var(--yl-border);
  border-radius: var(--yl-radius);
  box-shadow: var(--yl-shadow);
}

.yl-featured {
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 26px;
  padding: 20px;
  align-items: center;
  margin-bottom: 26px;
}

.yl-featured img {
  border-radius: 18px;
  aspect-ratio: 1.15/1;
  object-fit: cover;
}

.yl-kicker {
  color: var(--yl-pink);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
}

.yl-section-title,
.yl-featured h2,
.yl-sidebar h3 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--yl-navy);
  line-height: 1.05;
}

.yl-featured h2 {
  font-size: 36px;
  margin: 8px 0 8px;
}

.yl-featured .yl-script-line {
  font-size: 24px;
  margin-bottom: 10px;
}

.yl-section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 0 16px;
}

.yl-section-title {
  font-size: 26px;
  margin: 0;
}

.yl-post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.yl-post-card {
  overflow: hidden;
}

.yl-post-card img {
  width: 100%;
  aspect-ratio: 1.55/1;
  object-fit: cover;
}

.yl-post-card-content {
  padding: 14px;
}

.yl-post-card h2,
.yl-post-card h3 {
  color: var(--yl-navy);
  margin: 4px 0 8px;
  font-size: 17px;
  line-height: 1.25;
}

.yl-readmore {
  color: var(--yl-pink);
  font-size: 13px;
  font-weight: 800;
}

.yl-sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.yl-widget {
  padding: 20px;
}

.yl-search-form {
  display: flex;
  overflow: hidden;
  border: 1px solid var(--yl-border);
  border-radius: 14px;
}

.yl-search-form input {
  border: 0;
  padding: 14px;
  flex: 1;
  outline: none;
}

.yl-search-form button {
  border: 0;
  background: var(--yl-pink);
  color: #fff;
  padding: 0 18px;
  font-weight: 900;
}

.yl-popular-list {
  display: grid;
  gap: 12px;
}

.yl-popular-item {
  display: grid;
  grid-template-columns: 26px 60px 1fr;
  gap: 10px;
  align-items: center;
}

.yl-popular-number {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--yl-pink);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.yl-popular-item img {
  width: 60px;
  height: 52px;
  object-fit: cover;
  border-radius: 10px;
}

.yl-newsletter {
  background: linear-gradient(135deg, #fff, var(--yl-pink-soft));
}

.yl-newsletter input {
  width: 100%;
  border: 1px solid var(--yl-border);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 10px;
}

.yl-newsletter button {
  width: 100%;
  border: 0;
  border-radius: 12px;
  background: var(--yl-navy);
  color: #fff;
  padding: 14px;
  font-weight: 900;
}

.yl-footer {
  background: #fff;
  border-top: 1px solid var(--yl-border);
  padding: 40px 0 0;
}

.yl-footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 32px;
}

.yl-footer-logo {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 36px;
  color: var(--yl-navy);
}

.yl-footer-logo span { color: var(--yl-pink); font-family: "Brush Script MT", cursive; }

.yl-footer-bottom {
  margin-top: 34px;
  background: var(--yl-navy);
  color: #fff;
  padding: 18px 0;
  font-size: 14px;
}

.entry-content {
  margin-top: 24px;
}

.entry-content h2,
.entry-content h3 {
  color: var(--yl-navy);
  font-family: Georgia, "Times New Roman", serif;
}

.entry-content p {
  font-size: 18px;
}

@media (max-width: 980px) {
  .yl-layout,
  .yl-hero-inner,
  .yl-featured,
  .yl-footer-grid {
    grid-template-columns: 1fr;
  }
  .yl-post-grid { grid-template-columns: repeat(2, 1fr); }
  .yl-category-icons { grid-template-columns: repeat(3, 1fr); }
  .yl-menu { flex-wrap: wrap; gap: 16px; padding: 14px 0; }
}

@media (max-width: 640px) {
  .yl-container { width: min(100% - 24px, 1180px); }
  .yl-post-grid,
  .yl-category-icons { grid-template-columns: 1fr; }
  .yl-topbar-inner { align-items: flex-start; flex-direction: column; padding: 10px 0; }
  .yl-hero-card { padding: 24px; }
  .yl-nav-inner { justify-content: flex-start; overflow-x: auto; }
}


/* ====================================================
   YorkieLove v2 Design Refinements
   - tighter header/nav spacing
   - stronger hero image presence
   - more polished homepage cards/sidebar
   ==================================================== */

.yl-nav-wrap {
  min-height: auto;
}

.yl-nav-inner {
  min-height: 62px;
}

.yl-menu a {
  padding: 20px 0 16px;
}

.yl-hero {
  min-height: 520px;
  background-position: center right;
}

.yl-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255,250,247,0.88) 0%,
    rgba(255,245,247,0.55) 45%,
    rgba(255,245,247,0.15) 100%
  );
  pointer-events: none;
}

.yl-hero-inner {
  position: relative;
  z-index: 2;
  min-height: 520px;
}

.yl-hero-card {
  max-width: 560px;
}

.yl-logo-text {
  font-size: clamp(54px, 7vw, 82px);
  letter-spacing: -3px;
}

.yl-logo-text span {
  font-size: 0.9em;
}

.yl-post-card img {
  aspect-ratio: 1.6 / 1;
  object-fit: cover;
}

.yl-post-card-content {
  padding: 16px 18px 18px;
}

.yl-post-card h2,
.yl-post-card h3 {
  font-size: 18px;
}

.yl-widget {
  padding: 24px;
}

.yl-sidebar h3 {
  font-size: 24px;
  margin-top: 0;
}

.yl-site-header {
  margin-bottom: 0;
}

body .yl-main {
  margin-top: 0;
}


/* ====================================================
   YorkieLove v3 Hero Banner Refinements
   - removes card-over-image look
   - stronger hero image visibility
   - full-width banner styling
   ==================================================== */

.yl-hero {
  min-height: 560px;
  background-position: center right !important;
  background-size: cover !important;
  border-bottom: 1px solid rgba(247,111,134,0.12);
}

.yl-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(255,250,247,0.92) 0%,
      rgba(255,250,247,0.82) 28%,
      rgba(255,245,247,0.38) 56%,
      rgba(255,245,247,0.08) 100%
    );
  pointer-events: none;
}

.yl-hero-inner {
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  z-index: 2;
  padding: 54px 0;
}

.yl-hero-card {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  padding: 0 !important;
  max-width: 650px;
}

.yl-logo-text {
  font-size: clamp(64px, 8vw, 104px);
  line-height: 0.9;
  margin-bottom: 18px;
  text-shadow: 0 4px 14px rgba(255,255,255,0.85);
}

.yl-logo-text span {
  font-size: 0.92em;
}

.yl-tagline {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 2.6px;
  text-shadow: 0 3px 10px rgba(255,255,255,0.85);
}

.yl-script-line {
  font-size: 42px;
  text-shadow: 0 3px 10px rgba(255,255,255,0.85);
}

.yl-hero-intro {
  max-width: 560px;
  font-size: 19px;
  color: #17304d;
  text-shadow: 0 2px 8px rgba(255,255,255,0.9);
}

.yl-category-icons {
  max-width: 620px;
}

.yl-category-icon {
  background: rgba(255,255,255,0.78);
  backdrop-filter: blur(6px);
}

@media (max-width: 980px) {
  .yl-hero {
    min-height: auto;
    background-position: 68% center !important;
  }

  .yl-hero::before {
    background:
      linear-gradient(
        90deg,
        rgba(255,250,247,0.96) 0%,
        rgba(255,250,247,0.88) 60%,
        rgba(255,245,247,0.45) 100%
      );
  }

  .yl-hero-inner {
    min-height: 520px;
  }

  .yl-hero-card {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .yl-logo-text {
    font-size: clamp(48px, 14vw, 70px);
  }

  .yl-tagline {
    font-size: 16px;
  }

  .yl-script-line {
    font-size: 32px;
  }
}


/* ====================================================
   YorkieLove v4 Stronger Hero Image
   - reduces faded overlay
   - makes background Yorkie image clearer
   - keeps readable left-side text
   ==================================================== */

.yl-hero {
  background-position: center right !important;
  background-size: cover !important;
}

.yl-hero::before {
  background:
    linear-gradient(
      90deg,
      rgba(255,250,247,0.82) 0%,
      rgba(255,250,247,0.58) 30%,
      rgba(255,245,247,0.18) 56%,
      rgba(255,245,247,0.00) 100%
    ) !important;
}

.yl-logo-text,
.yl-tagline,
.yl-script-line,
.yl-hero-intro {
  text-shadow:
    0 2px 8px rgba(255,255,255,0.95),
    0 4px 18px rgba(255,255,255,0.78);
}

.yl-category-icon {
  background: rgba(255,255,255,0.68) !important;
  border-color: rgba(247,111,134,0.28);
}

@media (max-width: 980px) {
  .yl-hero::before {
    background:
      linear-gradient(
        90deg,
        rgba(255,250,247,0.88) 0%,
        rgba(255,250,247,0.66) 52%,
        rgba(255,245,247,0.22) 100%
      ) !important;
  }
}
