/* ===== SALT Magazine - Vancouver Beach Blog ===== */

/* --- CSS Variables --- */
:root {
  --sand: #f5efe6;
  --sand-light: #faf7f2;
  --sand-dark: #e8dfd3;
  --ocean-light: #c8e6f0;
  --ocean: #7fbdd4;
  --ocean-dark: #4a9ab8;
  --ocean-deep: #2d7a9c;
  --driftwood: #8b7355;
  --driftwood-dark: #6b5740;
  --shell: #f0e2d0;
  --seafoam: #b8d8d0;
  --coral: #e8967a;
  --text-primary: #3a3530;
  --text-secondary: #6b6358;
  --text-light: #9a8e80;
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(58, 53, 48, 0.06);
  --shadow-md: 0 4px 20px rgba(58, 53, 48, 0.1);
  --shadow-lg: 0 8px 40px rgba(58, 53, 48, 0.12);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-primary);
  background: var(--sand-light);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
ul, ol { list-style: none; }

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Typography --- */
h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; }

p { color: var(--text-secondary); }

.section-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ocean-dark);
  margin-bottom: 12px;
}

.section-title {
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 560px;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header .section-subtitle {
  margin: 0 auto;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
}

.btn-primary {
  background: var(--ocean-dark);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--ocean-deep);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(74, 154, 184, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--ocean-dark);
  border: 2px solid var(--ocean);
}

.btn-outline:hover {
  background: var(--ocean-dark);
  color: var(--white);
  border-color: var(--ocean-dark);
}

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  padding: 8px 0;
  border-radius: 0;
  position: relative;
}

.btn-ghost::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--ocean-dark);
  transition: width var(--transition);
}

.btn-ghost:hover::after { width: 100%; }
.btn-ghost:hover { color: var(--ocean-dark); }

.btn svg, .btn i {
  width: 16px;
  height: 16px;
  transition: transform var(--transition);
}

.btn:hover svg, .btn:hover i {
  transform: translateX(3px);
}

/* --- Header & Navigation --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(200, 230, 240, 0.3);
  transition: all var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--ocean), var(--ocean-dark));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.2rem;
}

.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 2px;
}

.logo-tagline {
  font-size: 0.6rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-light);
  margin-top: -2px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.main-nav a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  letter-spacing: 0.3px;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--ocean);
  border-radius: 1px;
  transition: width var(--transition);
}

.main-nav a:hover { color: var(--ocean-dark); }
.main-nav a:hover::after { width: 100%; }
.main-nav a.active { color: var(--ocean-dark); }
.main-nav a.active::after { width: 100%; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.search-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--sand);
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  font-size: 1.1rem;
}

.search-toggle:hover {
  background: var(--ocean-light);
  color: var(--ocean-dark);
}

.subscribe-btn {
  padding: 10px 24px;
  font-size: 0.82rem;
}

/* Mobile menu */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--sand-light);
  padding: 40px 24px;
  z-index: 999;
}

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

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mobile-menu nav a {
  font-size: 1.4rem;
  font-family: 'Playfair Display', serif;
  color: var(--text-primary);
}

/* --- Hero Section --- */
.hero {
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(200, 230, 240, 0.3) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(184, 216, 208, 0.2) 0%, transparent 50%),
    radial-gradient(ellipse at 60% 80%, rgba(240, 226, 208, 0.3) 0%, transparent 50%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
}

.hero-content {
  max-width: 540px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--ocean-light);
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ocean-deep);
  margin-bottom: 28px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--ocean);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  margin-bottom: 20px;
}

.hero h1 em {
  font-style: italic;
  color: var(--ocean-dark);
}

.hero-desc {
  font-size: 1.12rem;
  line-height: 1.8;
  margin-bottom: 36px;
  color: var(--text-secondary);
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
}

.hero-image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 240px 240px;
  gap: 16px;
}

.hero-img {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
}

.hero-img:first-child {
  grid-row: span 2;
  border-radius: var(--radius-lg);
}

.hero-img .img-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-img-overlay {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-sm);
}

.hero-img-overlay span {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ocean-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-img-overlay p {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: var(--text-primary);
  font-weight: 600;
  margin-top: 4px;
}

/* Image Placeholders (SVG-based) */
.img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--ocean-light), var(--seafoam), var(--sand));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ocean);
  font-size: 2rem;
  position: relative;
  overflow: hidden;
}

.img-placeholder::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(245, 239, 230, 0.4), transparent);
}

.img-placeholder.beach {
  background: linear-gradient(180deg, var(--ocean-light) 0%, var(--ocean) 40%, var(--sand) 60%, var(--shell) 100%);
}

.img-placeholder.food {
  background: linear-gradient(135deg, var(--shell), var(--coral) 60%, var(--sand-dark));
}

.img-placeholder.city {
  background: linear-gradient(180deg, var(--ocean-light) 0%, var(--seafoam) 50%, var(--driftwood) 100%);
}

.img-placeholder.nature {
  background: linear-gradient(180deg, var(--ocean-light), #a8d5a2 40%, var(--driftwood) 80%, var(--sand));
}

.img-placeholder.portrait {
  background: linear-gradient(135deg, var(--sand), var(--ocean-light));
}

.wave-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(to right, var(--ocean-light), var(--ocean), var(--ocean-light));
  border-radius: 2px;
  margin: 16px 0;
}

.section-header .wave-divider {
  margin: 16px auto;
}

/* --- Featured Article --- */
.featured-section {
  padding: 80px 0;
}

.featured-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
}

.featured-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.featured-img {
  min-height: 420px;
  position: relative;
}

.featured-img .img-placeholder {
  position: absolute;
  inset: 0;
}

.featured-category {
  position: absolute;
  top: 24px;
  left: 24px;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ocean-dark);
  z-index: 1;
}

.featured-content {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  font-size: 0.82rem;
  color: var(--text-light);
}

.featured-meta .author {
  display: flex;
  align-items: center;
  gap: 8px;
}

.author-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ocean-light), var(--ocean));
}

.featured-content h2 {
  margin-bottom: 16px;
  line-height: 1.3;
}

.featured-content h2 a:hover {
  color: var(--ocean-dark);
}

.featured-excerpt {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 28px;
}

.read-time {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-light);
}

/* --- Article Grid --- */
.articles-section {
  padding: 80px 0;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.article-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

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

.article-card-img {
  height: 220px;
  position: relative;
  overflow: hidden;
}

.article-card-img .img-placeholder {
  transition: transform 0.6s ease;
}

.article-card:hover .article-card-img .img-placeholder {
  transform: scale(1.05);
}

.article-card-body {
  padding: 28px;
}

.article-card-category {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ocean-dark);
  margin-bottom: 10px;
  display: block;
}

.article-card-body h3 {
  margin-bottom: 12px;
  line-height: 1.35;
}

.article-card-body h3 a:hover {
  color: var(--ocean-dark);
}

.article-card-body p {
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--sand);
}

.article-card-footer .author {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.article-card-footer .date {
  font-size: 0.78rem;
  color: var(--text-light);
}

/* --- Categories Section --- */
.categories-section {
  padding: 80px 0;
  background: var(--white);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.category-card {
  position: relative;
  height: 300px;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition);
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.category-card .img-placeholder {
  transition: transform 0.6s ease;
}

.category-card:hover .img-placeholder {
  transform: scale(1.08);
}

.category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(58, 53, 48, 0.7), transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  z-index: 1;
}

.category-overlay h3 {
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 4px;
}

.category-overlay span {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.82rem;
}

/* --- Newsletter --- */
.newsletter-section {
  padding: 100px 0;
}

.newsletter-card {
  background: linear-gradient(135deg, var(--ocean-light) 0%, var(--seafoam) 50%, var(--sand) 100%);
  border-radius: var(--radius-lg);
  padding: 80px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.newsletter-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
  animation: shimmer 8s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(10%, 5%); }
}

.newsletter-card h2 {
  position: relative;
  margin-bottom: 16px;
}

.newsletter-card p {
  position: relative;
  font-size: 1.05rem;
  max-width: 480px;
  margin: 0 auto 36px;
  color: var(--text-secondary);
}

.newsletter-form {
  position: relative;
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 16px 24px;
  border: 2px solid rgba(127, 189, 212, 0.3);
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.8);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.92rem;
  color: var(--text-primary);
  outline: none;
  transition: all var(--transition);
}

.newsletter-form input::placeholder {
  color: var(--text-light);
}

.newsletter-form input:focus {
  border-color: var(--ocean);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(127, 189, 212, 0.15);
}

.newsletter-form button {
  white-space: nowrap;
}

/* --- About Preview / Story Section --- */
.story-section {
  padding: 100px 0;
  background: var(--white);
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.story-images {
  position: relative;
}

.story-img-main {
  width: 80%;
  height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.story-img-accent {
  position: absolute;
  bottom: -30px;
  right: 0;
  width: 55%;
  height: 220px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--white);
}

.story-content .section-label {
  margin-bottom: 16px;
}

.story-content h2 {
  margin-bottom: 24px;
}

.story-content p {
  font-size: 1.05rem;
  line-height: 1.9;
  margin-bottom: 20px;
}

.story-stats {
  display: flex;
  gap: 40px;
  margin: 36px 0;
  padding: 24px 0;
  border-top: 1px solid var(--sand);
  border-bottom: 1px solid var(--sand);
}

.stat-item h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--ocean-dark);
  margin-bottom: 4px;
}

.stat-item span {
  font-size: 0.82rem;
  color: var(--text-light);
}

/* --- Instagram / Gallery Strip --- */
.gallery-section {
  padding: 80px 0 0;
  overflow: hidden;
}

.gallery-strip {
  display: flex;
  gap: 8px;
  margin-top: 40px;
}

.gallery-item {
  flex: 1;
  height: 280px;
  position: relative;
  overflow: hidden;
  transition: flex var(--transition);
}

.gallery-item:hover {
  flex: 1.5;
}

.gallery-item .img-placeholder {
  transition: transform 0.6s ease;
}

.gallery-item:hover .img-placeholder {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(58, 53, 48, 0.4);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* --- Footer --- */
.site-footer {
  background: var(--text-primary);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo-text {
  color: var(--white);
  margin-bottom: 16px;
  display: block;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  transition: all var(--transition);
  font-size: 0.9rem;
}

.footer-social a:hover {
  background: var(--ocean-dark);
  color: var(--white);
}

.footer-col h4 {
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition);
}

.footer-col ul li a:hover {
  color: var(--ocean-light);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.35);
}

/* --- Page Headers (Interior Pages) --- */
.page-hero {
  padding: 140px 0 60px;
  text-align: center;
  position: relative;
  background: linear-gradient(180deg, var(--sand-light) 0%, var(--ocean-light) 100%);
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--sand-light));
}

.page-hero h1 {
  margin-bottom: 16px;
  position: relative;
}

.page-hero p {
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

.page-hero .wave-divider {
  margin: 20px auto;
  position: relative;
}

/* --- Blog Listing --- */
.blog-section {
  padding: 60px 0 100px;
}

.blog-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 22px;
  border-radius: 50px;
  border: 1px solid var(--sand-dark);
  background: transparent;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--ocean-dark);
  color: var(--white);
  border-color: var(--ocean-dark);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 60px;
}

.load-more {
  text-align: center;
}

/* --- Article Page --- */
.article-hero {
  padding: 120px 0 40px;
}

.article-hero-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.article-hero .article-card-category {
  margin-bottom: 20px;
}

.article-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 20px;
  line-height: 1.25;
}

.article-hero .featured-meta {
  justify-content: center;
  margin-bottom: 0;
}

.article-feature-img {
  max-width: 960px;
  margin: 40px auto;
  height: 480px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.article-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 0 80px;
}

.article-body p {
  font-size: 1.08rem;
  line-height: 1.9;
  margin-bottom: 24px;
  color: var(--text-secondary);
}

.article-body h2 {
  font-size: 1.6rem;
  margin: 48px 0 20px;
}

.article-body h3 {
  font-size: 1.3rem;
  margin: 36px 0 16px;
}

.article-body blockquote {
  border-left: 3px solid var(--ocean);
  padding: 20px 28px;
  margin: 36px 0;
  background: var(--sand);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.article-body blockquote p {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-style: italic;
  color: var(--text-primary);
  margin-bottom: 0;
}

.article-body ul, .article-body ol {
  margin: 20px 0;
  padding-left: 24px;
}

.article-body li {
  margin-bottom: 8px;
  font-size: 1.05rem;
  color: var(--text-secondary);
  list-style: disc;
}

.article-body ol li {
  list-style: decimal;
}

.article-body img {
  border-radius: var(--radius-md);
  margin: 36px 0;
}

.article-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid var(--sand);
}

.tag {
  padding: 6px 16px;
  background: var(--sand);
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition);
}

.tag:hover {
  background: var(--ocean-light);
  color: var(--ocean-dark);
}

/* --- About Page --- */
.about-section {
  padding: 60px 0 100px;
}

.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 100px;
}

.about-intro-img {
  height: 500px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-intro h2 {
  margin-bottom: 24px;
}

.about-intro p {
  font-size: 1.05rem;
  line-height: 1.9;
  margin-bottom: 16px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 80px;
}

.value-card {
  text-align: center;
  padding: 48px 32px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

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

.value-icon {
  width: 64px;
  height: 64px;
  background: var(--ocean-light);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.5rem;
  color: var(--ocean-dark);
}

.value-card h3 {
  margin-bottom: 12px;
}

.value-card p {
  font-size: 0.92rem;
  line-height: 1.7;
}

.team-section {
  margin-top: 100px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.team-card {
  text-align: center;
}

.team-card-img {
  width: 100%;
  height: 280px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.team-card h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.team-card span {
  font-size: 0.82rem;
  color: var(--text-light);
}

/* --- Contact Page --- */
.contact-section {
  padding: 60px 0 100px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
}

.contact-info h2 {
  margin-bottom: 20px;
}

.contact-info > p {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 36px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--ocean-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ocean-dark);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-detail h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-detail p {
  font-size: 0.88rem;
  color: var(--text-light);
}

.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-md);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--sand-dark);
  border-radius: var(--radius-sm);
  background: var(--sand-light);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.92rem;
  color: var(--text-primary);
  outline: none;
  transition: all var(--transition);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--ocean);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(127, 189, 212, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-light);
}

.form-submit {
  margin-top: 8px;
}

/* --- Sidebar (for article page) --- */
.article-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 60px;
  max-width: 1100px;
  margin: 0 auto;
}

.sidebar {
  padding-top: 40px;
}

.sidebar-widget {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}

.sidebar-widget h4 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--sand);
}

.popular-post {
  display: flex;
  gap: 14px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--sand);
}

.popular-post:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.popular-post-img {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}

.popular-post h5 {
  font-family: 'Playfair Display', serif;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 6px;
}

.popular-post h5 a:hover {
  color: var(--ocean-dark);
}

.popular-post span {
  font-size: 0.75rem;
  color: var(--text-light);
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* --- Lifestyle / Category Pages --- */
.category-hero {
  padding: 140px 0 60px;
  text-align: center;
  position: relative;
}

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

.category-hero .category-hero-bg .img-placeholder {
  opacity: 0.15;
}

.category-hero .container {
  position: relative;
  z-index: 1;
}

/* --- Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { display: none; }
  .featured-card { grid-template-columns: 1fr; }
  .featured-img { min-height: 300px; }
  .articles-grid,
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .story-grid { grid-template-columns: 1fr; gap: 40px; }
  .story-images { order: -1; }
  .about-intro { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .article-with-sidebar { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .mobile-toggle { display: flex; }
  .hero { padding: 120px 0 60px; }
  .hero h1 { font-size: 2.2rem; }
  .articles-grid,
  .blog-grid { grid-template-columns: 1fr; }
  .categories-grid { grid-template-columns: 1fr 1fr; }
  .newsletter-card { padding: 48px 28px; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form button { width: 100%; justify-content: center; }
  .story-stats { gap: 24px; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { justify-content: center; }
  .values-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .gallery-strip { flex-direction: column; }
  .gallery-item { height: 200px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group.full-width { grid-column: span 1; }
  .featured-content { padding: 28px; }
  .container { padding: 0 16px; }
}

/* --- Search Overlay --- */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(250, 247, 242, 0.97);
  backdrop-filter: blur(20px);
  z-index: 2000;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding-top: 200px;
}

.search-overlay.open {
  display: flex;
}

.search-overlay-inner {
  width: 100%;
  max-width: 640px;
  padding: 0 24px;
}

.search-overlay input {
  width: 100%;
  padding: 20px 0;
  border: none;
  border-bottom: 3px solid var(--ocean);
  background: transparent;
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--text-primary);
  outline: none;
}

.search-overlay input::placeholder {
  color: var(--text-light);
}

.search-close {
  position: absolute;
  top: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--sand);
  color: var(--text-primary);
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.search-close:hover {
  background: var(--ocean-light);
}

/* --- Back to Top --- */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ocean-dark);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  box-shadow: var(--shadow-md);
  z-index: 900;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--ocean-deep);
  transform: translateY(-3px);
}
