/*
Theme Name: Women Edits Pro
Theme URI: https://www.pinterest.com/womenedits/
Author: Women Edits
Author URI: https://www.pinterest.com/womenedits/
Description: A beautiful, feminine beauty and style blog theme with soft pink/cream color scheme. Features categories for Beauty (Hair Color, Hair Style, Nails) and Outfit.
Version: 2.0.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: women-edits
Tags: blog, beauty, fashion, feminine, responsive, custom-menu, featured-images

Women Edits WordPress Theme - Beauty & Style Blog
*/

/* Exact colors from Replit React app */
:root {
  --background: 30 30% 98%;
  --foreground: 20 10% 15%;
  --border: 30 15% 90%;
  --card: 0 0% 100%;
  --card-foreground: 20 10% 15%;
  --card-border: 30 15% 92%;
  --primary: 350 55% 60%;
  --primary-foreground: 0 0% 100%;
  --secondary: 30 20% 94%;
  --secondary-foreground: 20 10% 30%;
  --muted: 30 15% 95%;
  --muted-foreground: 20 8% 50%;
  --accent: 350 40% 95%;
  --accent-foreground: 350 50% 40%;
  --ring: 350 55% 60%;
  --radius: 0.5rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border-color: hsl(var(--border));
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.3;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* Container - max-w-7xl (1280px) */
.container {
  max-width: 80rem;
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* ===== HEADER WRAPPER ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: transform 0.3s ease;
  transform: translateY(0);
  display: flex;
  flex-direction: column;
}

.site-header.header-visible {
  transform: translateY(0);
}

.site-header.header-hidden {
  transform: translateY(-100%);
}

/* ===== HEADER 1 (White - Logo & Pages) ===== */
.site-header > nav.container {
  background-color: hsl(var(--background));
  border-bottom: 1px solid hsl(var(--border));
  transition: background-color 0.3s ease, border-bottom 0.3s ease;
  width: 100%;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 768px) {
  .site-header > nav.container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* Header 1 becomes semi-transparent after scrolling up from down */
.site-header.header-transparent > nav.container {
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* ===== HEADER 2 (Pink Strip - Categories) ===== */
/* This always stays pink regardless of scroll state - completely separate from Header 1 */
.secondary-header-strip {
  background-color: hsl(var(--primary));
  width: 100%;
  padding: 0.5rem 0;
  position: relative;
  border-top: none;
  margin-top: 0;
}

.secondary-header-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Scroll arrows for mobile */
.strip-scroll-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 100%;
  color: hsl(var(--primary-foreground));
  opacity: 0.7;
  cursor: pointer;
  flex-shrink: 0;
  z-index: 2;
}

.strip-scroll-arrow:hover {
  opacity: 1;
}

.strip-scroll-arrow svg {
  width: 1rem;
  height: 1rem;
}

@media (min-width: 640px) {
  .strip-scroll-arrow {
    display: none;
  }
}

/* Categories Row */
.strip-row-categories {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.35rem;
  flex-wrap: nowrap;
  overflow-x: auto;
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-behavior: smooth;
  padding: 0 0.25rem;
}

.strip-row-categories::-webkit-scrollbar {
  display: none;
}

.strip-row-categories a {
  color: hsl(var(--primary-foreground));
  font-size: 0.65rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
  transition: opacity 0.2s;
  padding: 0.15rem 0.35rem;
}

.strip-row-categories a:hover {
  opacity: 0.8;
}

.strip-row-categories .separator {
  color: hsl(var(--primary-foreground));
  opacity: 0.5;
  font-size: 0.65rem;
}

@media (min-width: 640px) {
  .secondary-header-strip {
    padding: 0.5rem 0;
  }
  
  .strip-row-categories {
    justify-content: center;
    gap: 0.75rem;
  }
  
  .strip-row-categories a {
    font-size: 0.8rem;
    padding: 0.25rem 0.75rem;
    letter-spacing: 0.05em;
  }
  
  .strip-row-categories .separator {
    font-size: 0.8rem;
  }
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

@media (min-width: 768px) {
  .header-inner {
    height: 5rem;
  }
}

/* Mobile menu button */
.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  background: transparent;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  color: hsl(var(--foreground));
  transition: background-color 0.2s;
}

.mobile-menu-toggle:hover {
  background-color: hsl(var(--muted));
}

@media (min-width: 768px) {
  .mobile-menu-toggle {
    display: none;
  }
}

/* Site logo */
.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

@media (min-width: 768px) {
  .site-logo {
    margin-right: auto;
  }
}

.site-logo .logo-text {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: hsl(var(--foreground));
  cursor: pointer;
}

@media (min-width: 768px) {
  .site-logo .logo-text {
    font-size: 1.875rem;
  }
}

.site-logo .pinterest-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: #E60023;
  transition: opacity 0.2s;
}

.site-logo .pinterest-icon:hover {
  opacity: 0.8;
}

@media (min-width: 768px) {
  .site-logo .pinterest-icon {
    width: 1.5rem;
    height: 1.5rem;
  }
}

/* Main navigation */
.main-navigation {
  display: none;
}

@media (min-width: 768px) {
  .main-navigation {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
}

.main-navigation a,
.main-navigation .dropdown-toggle {
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: hsl(var(--foreground));
  transition: color 0.2s;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.main-navigation a:hover,
.main-navigation .dropdown-toggle:hover,
.main-navigation a.active,
.main-navigation .dropdown-toggle.active {
  color: hsl(var(--primary));
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 10rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  padding: 0.25rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
  margin-top: 0.5rem;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
}

.dropdown-menu a {
  display: block;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  text-transform: none;
  letter-spacing: normal;
  border-radius: calc(var(--radius) - 2px);
}

.dropdown-menu a:hover {
  background: hsl(var(--muted));
}

/* Mobile spacer */
.mobile-spacer {
  width: 2.25rem;
}

@media (min-width: 768px) {
  .mobile-spacer {
    display: none;
  }
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  padding: 1rem 0;
  border-top: 1px solid hsl(var(--border));
}

.mobile-menu.active {
  display: block;
}

@media (min-width: 768px) {
  .mobile-menu {
    display: none !important;
  }
}

.mobile-menu > a,
.mobile-menu .submenu-label {
  display: block;
  padding: 0.5rem 0;
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: hsl(var(--muted-foreground));
}

.mobile-menu .submenu-label {
  color: hsl(var(--foreground));
}

.mobile-menu .submenu {
  padding-left: 1rem;
}

.mobile-menu .submenu a {
  display: block;
  padding: 0.5rem 0;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

/* ===== HERO SECTION ===== */
.hero-section {
  position: relative;
  overflow: hidden;
  margin-top: 6.5rem; /* Mobile: Space for fixed header */
  min-height: 400px;
}

/* Tablet */
@media (min-width: 640px) {
  .hero-section {
    margin-top: 7rem;
    min-height: 500px;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .hero-section {
    margin-top: 7.5rem;
    min-height: 600px;
  }
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-image img {
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
  object-position: center top;
}

@media (min-width: 640px) {
  .hero-image img {
    min-height: 500px;
  }
}

@media (min-width: 1024px) {
  .hero-image img {
    min-height: 600px;
  }
}

/* Mobile/Desktop hero image switching */
.hero-img-mobile {
  display: block !important;
}

.hero-img-desktop {
  display: none !important;
}

@media (min-width: 768px) {
  .hero-img-mobile {
    display: none !important;
  }
  
  .hero-img-desktop {
    display: block !important;
  }
}

/* If no mobile image uploaded, show desktop on all sizes */
.hero-section:not(.has-mobile-image) .hero-img-desktop {
  display: block !important;
}

.hero-section:not(.has-mobile-image) .hero-img-mobile {
  display: none !important;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.7), rgba(0,0,0,0.5), rgba(0,0,0,0.3));
}

.hero-content {
  position: relative;
  z-index: 10;
  padding: 6rem 0;
  max-width: 42rem;
}

@media (min-width: 768px) {
  .hero-content {
    padding: 8rem 0;
  }
}

@media (min-width: 1024px) {
  .hero-content {
    padding: 10rem 0;
  }
}

.hero-label {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.8);
}

@media (min-width: 768px) {
  .hero-label {
    font-size: 0.875rem;
  }
}

.hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.25rem;
  font-weight: 700;
  color: white;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

.hero-title .accent {
  display: block;
  color: hsl(var(--primary));
}

.hero-description {
  margin-top: 1.5rem;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 32rem;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .hero-description {
    font-size: 1.125rem;
  }
}

.hero-buttons {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius);
  transition: all 0.2s;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
}

.btn-lg {
  padding: 0.75rem 2rem;
  min-height: 2.75rem;
}

.btn-primary {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  border-color: hsl(var(--primary));
}

.btn-primary:hover {
  opacity: 0.9;
}

.btn-outline {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(4px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.2);
}

.btn-ghost {
  background: transparent;
  color: hsl(var(--muted-foreground));
}

.btn-ghost:hover {
  background: hsl(var(--muted));
  color: hsl(var(--foreground));
}

/* ===== MAIN CONTENT ===== */
.main-content {
  padding: 3rem 0 4rem;
}

/* Add top padding for pages with fixed header (except homepage and archive pages which have their own headers) */
/* Mobile */
body:not(.home):not(.archive):not(.category) .main-content {
  padding-top: 7rem;
}

/* Tablet */
@media (min-width: 640px) {
  body:not(.home):not(.archive):not(.category) .main-content {
    padding-top: 7.5rem;
  }
}

/* Desktop */
@media (min-width: 768px) {
  .main-content {
    padding: 4rem 0;
  }
}

@media (min-width: 1024px) {
  body:not(.home):not(.archive):not(.category) .main-content {
    padding-top: 8rem;
  }
}

/* Archive/Category pages - minimal padding since header provides spacing */
body.archive .main-content,
body.category .main-content {
  padding-top: 1.5rem;
  padding-bottom: 2rem;
}

.section-spacing {
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .section-spacing {
    margin-bottom: 6rem;
  }
}

/* ===== NEWS BAR - Animated Ticker ===== */
.news-bar-section {
  background-color: hsl(350 70% 92%);
  padding: 0.75rem 0;
  overflow: hidden;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  position: relative;
}

.news-bar-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: hsl(var(--primary));
  flex-shrink: 0;
  transition: transform 0.2s, opacity 0.2s;
  z-index: 10;
  position: relative;
  pointer-events: auto;
}

.news-bar-arrow:hover {
  transform: scale(1.15);
  opacity: 0.8;
}

.news-bar-arrow svg {
  stroke: hsl(var(--primary));
}

.news-bar-container {
  flex: 1;
  max-width: 1100px;
  overflow: hidden;
  position: relative;
}

.news-bar-track {
  display: flex;
  gap: 1rem;
  animation: newsBarScroll 30s linear infinite;
  width: max-content;
}

.news-bar-track.paused {
  animation-play-state: paused;
}

@keyframes newsBarScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.news-bar-card {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: hsl(var(--card));
  border-radius: var(--radius);
  padding: 0.35rem 0.75rem;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.news-bar-card:hover {
  transform: scale(1.02);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.news-bar-card-image {
  width: 36px;
  height: 36px;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
}

.news-bar-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-bar-card-title {
  font-size: 0.8rem;
  font-weight: 500;
  color: hsl(var(--foreground));
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (min-width: 768px) {
  .news-bar-section {
    padding: 1rem 0;
    gap: 1rem;
  }
  
  .news-bar-arrow {
    width: 36px;
    height: 36px;
  }
  
  .news-bar-card {
    padding: 0.5rem 1rem;
    gap: 0.75rem;
  }
  
  .news-bar-card-image {
    width: 44px;
    height: 44px;
  }
  
  .news-bar-card-title {
    font-size: 0.875rem;
    max-width: 220px;
  }
}

/* News bar on single article pages - reduced spacing */
.news-bar-single {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .news-bar-single {
    margin-top: 2rem;
    margin-bottom: 2rem;
  }
}

/* Section header with title and "View All" */
.section-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: hsl(var(--foreground));
}

@media (min-width: 768px) {
  .section-title {
    font-size: 1.875rem;
  }
}

.view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--muted-foreground));
  transition: color 0.2s;
}

.view-all-link:hover {
  color: hsl(var(--foreground));
}

.view-all-link svg {
  transition: transform 0.2s;
}

.view-all-link:hover svg {
  transform: translateX(4px);
}

/* ===== BLOG CARDS ===== */
.card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.3s, transform 0.3s;
}

.card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Featured Post Card (split layout) */
.featured-card {
  display: block;
}

@media (min-width: 768px) {
  .featured-card {
    display: flex;
  }
}

.featured-card .card-image {
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .featured-card .card-image {
    width: 50%;
  }
}

.featured-card .card-image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.3s;
}

@media (min-width: 768px) {
  .featured-card .card-image img {
    aspect-ratio: auto;
    height: 100%;
  }
}

.card:hover .card-image img {
  transform: scale(1.02);
}

.card-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.3), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.card:hover .card-image-overlay {
  opacity: 1;
}

.featured-card .card-content {
  padding: 1.25rem 1.5rem;
}

@media (min-width: 768px) {
  .featured-card .card-content {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
  }
}

/* Regular Post Card */
.post-card .card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.post-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.post-card .card-content {
  padding: 1.25rem 1.5rem;
}

/* Card content elements */
.card-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.625rem;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 9999px;
  transition: background-color 0.2s;
}

.badge-secondary {
  background: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
}

.badge-outline {
  background: transparent;
  border: 1px solid hsl(var(--border));
  color: hsl(var(--muted-foreground));
}

.card-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  transition: color 0.2s;
  line-height: 1.4;
}

.featured-card .card-title {
  font-size: 1.25rem;
}

@media (min-width: 768px) {
  .featured-card .card-title {
    font-size: 1.5rem;
  }
}

.card:hover .card-title {
  color: hsl(var(--primary));
}

.card-excerpt {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
}

.card-footer {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.35rem;
  font-size: 0.65rem;
  color: hsl(var(--muted-foreground));
  white-space: nowrap;
}

@media (min-width: 640px) {
  .card-footer {
    gap: 0.5rem;
    font-size: 0.75rem;
  }
}

.card-footer span {
  white-space: nowrap;
}

.card-footer .separator {
  color: hsl(var(--muted-foreground));
}

/* Posts Grid */
.posts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .posts-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ===== SINGLE ARTICLE - Exact Replit Match ===== */
.single-article {
  max-width: 48rem;
  margin: 0 auto;
}

/* Featured image FIRST - full width with rounded corners */
.article-featured-image {
  margin-bottom: 1.5rem;
  border-radius: var(--radius);
  overflow: hidden;
}

.article-featured-image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

/* Badges side by side - left aligned */
.article-badges {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

/* Article title - Playfair Display, large, left-aligned */
.article-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.2;
  color: hsl(var(--foreground));
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .article-title {
    font-size: 2.25rem;
  }
}

@media (min-width: 768px) {
  .article-title {
    font-size: 2.5rem;
  }
}

/* Meta with icons - left aligned */
.article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid hsl(var(--border));
}

.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.meta-item svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

/* Article content */
.article-content {
  font-size: 1rem;
  line-height: 1.8;
  color: hsl(var(--foreground));
}

@media (min-width: 768px) {
  .article-content {
    font-size: 1.0625rem;
  }
}

.article-content p {
  margin-bottom: 1.5rem;
}

.article-content h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 2.5rem 0 1rem;
  color: hsl(var(--foreground));
}

.article-content h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin: 2rem 0 0.75rem;
  color: hsl(var(--foreground));
}

.article-content h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.125rem;
  font-weight: 600;
  margin: 1.5rem 0 0.5rem;
}

.article-content ul,
.article-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.article-content li {
  margin-bottom: 0.5rem;
}

.article-content blockquote {
  margin: 2rem 0;
  padding: 1.5rem 2rem;
  border-left: 4px solid hsl(var(--primary));
  background: hsl(var(--muted));
  font-style: italic;
  font-size: 1.125rem;
}

.article-content blockquote p:last-child {
  margin-bottom: 0;
}

.article-content img {
  border-radius: var(--radius);
  margin: 1.5rem 0;
  max-width: 100%;
  height: auto;
}

.article-content a {
  color: hsl(var(--primary));
  text-decoration: underline;
  text-underline-offset: 2px;
}

.article-content a:hover {
  opacity: 0.8;
}

.article-content strong {
  font-weight: 600;
}

.article-content em {
  font-style: italic;
}

.article-content code {
  background: hsl(var(--muted));
  padding: 0.2rem 0.4rem;
  border-radius: 0.25rem;
  font-size: 0.875em;
  font-family: 'Source Code Pro', monospace;
}

.article-content pre {
  background: hsl(var(--muted));
  padding: 1rem;
  border-radius: var(--radius);
  overflow-x: auto;
  margin-bottom: 1.5rem;
}

.article-content pre code {
  background: transparent;
  padding: 0;
}

.article-content figure {
  margin: 2rem 0;
}

.article-content figcaption {
  text-align: center;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin-top: 0.5rem;
}

.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
}

.article-content th,
.article-content td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid hsl(var(--border));
}

.article-content th {
  font-weight: 600;
  background: hsl(var(--muted));
}

.article-content hr {
  border: none;
  border-top: 1px solid hsl(var(--border));
  margin: 2rem 0;
}

/* Legacy single-post styles for backwards compatibility */
.single-post-header {
  max-width: 48rem;
  margin: 0 auto 2rem;
  text-align: center;
}

.single-post-title {
  font-size: 2rem;
  margin-top: 1rem;
}

@media (min-width: 768px) {
  .single-post-title {
    font-size: 2.5rem;
  }
}

.single-post-meta {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
}

.single-post-image {
  max-width: 56rem;
  margin: 0 auto 2rem;
  border-radius: var(--radius);
  overflow: hidden;
}

.single-post-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.single-post-content {
  max-width: 48rem;
  margin: 0 auto;
}

/* ===== PAGE CONTENT (About, Privacy, etc.) ===== */
.page-article {
  max-width: 48rem;
  margin: 0 auto;
  padding: 2rem 0;
}

.page-header {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid hsl(var(--border));
}

.page-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: hsl(var(--foreground));
}

@media (min-width: 768px) {
  .page-title {
    font-size: 1.75rem;
  }
}

.page-content {
  font-size: 0.85rem;
  line-height: 1.7;
  color: hsl(var(--muted-foreground));
}

.page-content p {
  margin-bottom: 0.75rem;
}

.page-content h1 {
  font-size: 1.25rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.page-content h2 {
  font-size: 1.1rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

.page-content h3 {
  font-size: 1rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-top: 1rem;
  margin-bottom: 0.4rem;
}

.page-content h4,
.page-content h5,
.page-content h6 {
  font-size: 0.9rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-top: 0.75rem;
  margin-bottom: 0.3rem;
}

.page-content ul,
.page-content ol {
  margin-left: 1.25rem;
  margin-bottom: 0.75rem;
}

.page-content li {
  margin-bottom: 0.25rem;
}

.page-content strong {
  color: hsl(var(--foreground));
  font-weight: 600;
}

.page-content a {
  color: hsl(var(--primary));
  text-decoration: underline;
}

.page-content a:hover {
  opacity: 0.8;
}

@media (min-width: 768px) {
  .page-content {
    font-size: 0.875rem;
  }
  
  .page-content h1 {
    font-size: 1.35rem;
  }
  
  .page-content h2 {
    font-size: 1.15rem;
  }
}

/* Post navigation */
.post-navigation {
  max-width: 48rem;
  margin: 3rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid hsl(var(--border));
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.post-navigation > div {
  flex: 1;
}

.post-navigation .label {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  text-transform: uppercase;
}

.post-navigation .link {
  display: block;
  margin-top: 0.25rem;
  font-weight: 500;
  color: hsl(var(--foreground));
}

.post-navigation .link:hover {
  color: hsl(var(--primary));
}

/* ===== CATEGORY ARCHIVE ===== */
.archive-header {
  padding: 3rem 0 2rem;
  text-align: center;
  background: hsl(var(--accent));
  margin-top: 6.5rem;
}

@media (min-width: 640px) {
  .archive-header {
    margin-top: 7rem;
  }
}

@media (min-width: 1024px) {
  .archive-header {
    margin-top: 7.5rem;
  }
}

.archive-title {
  font-size: 2rem;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .archive-title {
    font-size: 2.5rem;
  }
}

.archive-description {
  margin-top: 0.5rem;
  color: hsl(var(--muted-foreground));
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.archive-header + .main-content {
  padding-top: 1.5rem !important;
}

.archive-header + .main-content .posts-grid {
  margin-top: 0;
}

/* ===== FOOTER ===== */
.site-footer {
  background: hsl(var(--card));
  border-top: 1px solid hsl(var(--border));
  margin-top: 4rem;
  padding: 3rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-brand .site-logo {
  margin-bottom: 1rem;
}

.footer-description {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  max-width: 28rem;
  line-height: 1.6;
}

.footer-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-links a:hover {
  color: hsl(var(--foreground));
}

.footer-links .pinterest-icon {
  width: 1rem;
  height: 1rem;
  color: #E60023;
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid hsl(var(--border));
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  text-align: center;
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }
}

.footer-bottom p {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
}

.footer-tagline {
  margin-bottom: 0.25rem;
}

.footer-copyright {
  margin-top: 0.5rem;
  white-space: nowrap;
}

.footer-bottom .heart {
  color: hsl(var(--primary));
}

/* ===== 404 PAGE ===== */
.error-404 {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 0;
}

.error-404 h1 {
  font-size: 6rem;
  color: hsl(var(--primary));
  margin-bottom: 1rem;
}

.error-404 h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.error-404 p {
  color: hsl(var(--muted-foreground));
  margin-bottom: 2rem;
}

/* ===== PAGINATION ===== */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 3rem;
}

.pagination .nav-links {
  display: flex;
  gap: 0.5rem;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.75rem;
  font-size: 0.875rem;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  transition: all 0.2s;
}

.pagination a:hover {
  background: hsl(var(--muted));
}

.pagination .current {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  border-color: hsl(var(--primary));
}

/* ===== RECENT POSTS SECTION ===== */
.recent-posts-section {
  background: hsl(var(--accent));
  padding: 2.5rem 0;
  margin-top: 2rem;
}

.recent-posts-section .section-title {
  text-align: center;
  margin-bottom: 1.5rem;
}

/* ===== OUTFIT IDEAS SECTION ===== */
.outfit-ideas-section {
  background: hsl(var(--background));
  padding: 2.5rem 0;
}

.outfit-ideas-section .section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.outfit-ideas-section .section-title {
  margin-bottom: 0;
}

.view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--foreground));
  transition: color 0.2s;
}

.view-all-link:hover {
  color: hsl(var(--primary));
}

.view-all-link svg {
  transition: transform 0.2s;
}

.view-all-link:hover svg {
  transform: translateX(4px);
}

/* ===== UTILITY CLASSES ===== */
.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

/* Screen reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
