/*
Theme Name: Wise Corner Daily
Theme URI: https://wisecornerdaily.com
Author: Wise Corner Daily
Author URI: https://wisecornerdaily.com
Description: A clean, modern editorial publication covering lifestyle, travel, beauty, tech, and home & garden. Pixel-faithful WordPress conversion of the Wise Corner Daily design.
Version: 1.0.21
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wisecornerdaily
Domain Path: /languages
Tags: blog, news, custom-menu, featured-images, sticky-post, translation-ready, one-column, two-columns
*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,600;0,700;0,800;1,400;1,600&family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  --color-white: #FFFFFF;
  --color-fresh-sky: #00A7E1;
  --color-ink-black: #00171F;
  --color-deep-space-blue: #003459;
  --color-cerulean: #007EA7;
  --color-bg-subtle: #F6FAFC;
  --color-bg-card: #FFFFFF;
  --color-border: #E2ECF2;
  --color-border-hover: #00A7E1;
  --color-text-body: #2B3A42;
  --color-text-muted: #5C707C;
  --color-text-light: #F0F7FB;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --space-2xs: 4px;
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 80px;
  --space-5xl: 96px;
  --site-max-width: 1520px;
  --container-px: clamp(1.25rem, 5vw, 4rem);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --radius-xl: 14px;
  --radius-pill: 9999px;
  --shadow-subtle: 0 4px 20px rgba(0, 23, 31, 0.04);
  --shadow-hover: 0 12px 28px rgba(0, 52, 89, 0.12);
  --transition-smooth: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-ink-black);
  background-color: var(--color-white);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

.screen-reader-text,
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100000;
  padding: 8px 16px;
  background: var(--color-ink-black);
  color: var(--color-white);
}

.skip-link:focus {
  left: 16px;
  top: 16px;
}

.container {
  width: 100%;
  max-width: var(--site-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-px);
  padding-right: var(--container-px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-smooth);
  white-space: nowrap;
  text-align: center;
  border: 1.5px solid transparent;
}

.btn-primary {
  background-color: var(--color-fresh-sky);
  color: var(--color-white);
  border-color: var(--color-fresh-sky);
}

.btn-primary:hover {
  background-color: var(--color-deep-space-blue);
  border-color: var(--color-deep-space-blue);
  color: var(--color-white);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-fresh-sky);
  border-color: var(--color-fresh-sky);
}

.btn-outline:hover {
  background-color: var(--color-fresh-sky);
  color: var(--color-white);
}

.btn-white {
  background-color: var(--color-white);
  color: var(--color-deep-space-blue);
  border-color: var(--color-white);
}

.btn-white:hover {
  background-color: var(--color-fresh-sky);
  color: var(--color-white);
  border-color: var(--color-fresh-sky);
}

.btn-outline-white {
  background-color: transparent;
  color: #FFFFFF;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: #FFFFFF;
  color: #FFFFFF;
}

.category-tag,
.page-eyebrow {
  display: inline-block;
  width: fit-content;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-fresh-sky);
  background-color: rgba(0, 167, 225, 0.1);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  transition: var(--transition-smooth);
}

.category-tag:hover {
  background-color: var(--color-fresh-sky);
  color: var(--color-white);
}

.page-eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  background: transparent;
  padding: 0;
  border-radius: 0;
  margin-bottom: var(--space-xs);
}

/* Header */
.site-header {
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-subtle);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  padding-top: var(--space-md);
  padding-bottom: var(--space-md);
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-ink-black);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.logo-dot {
  color: var(--color-fresh-sky);
}

.header-end {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-shrink: 0;
  margin-left: auto;
}

.header-nav-cluster {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 1.8vw, 2rem);
  flex: 1;
  justify-content: center;
  min-width: 0;
}

.main-nav {
  display: flex;
  justify-content: center;
}

.nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: clamp(0.75rem, 1.8vw, 2rem);
  flex-wrap: wrap;
}

.nav-list a,
.nav-item a,
a.nav-item {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-ink-black);
  padding: 6px 4px;
  position: relative;
}

.nav-list a:hover,
.nav-item a:hover,
a.nav-item:hover {
  color: var(--color-fresh-sky);
}

.nav-list a.current-menu-item,
.nav-list a.current-menu-ancestor,
.nav-item.active a,
a.nav-item.current-menu-item {
  color: var(--color-fresh-sky);
}

.nav-list a.current-menu-item::after,
.nav-list a.current-menu-ancestor::after,
.nav-item.active a::after,
a.nav-item.current-menu-item::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--color-fresh-sky);
  border-radius: var(--radius-pill);
}

.header-search {
  flex-shrink: 0;
}

.search-form {
  display: flex;
  align-items: center;
  background-color: var(--color-bg-subtle);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  transition: var(--transition-smooth);
  min-width: 220px;
}

.search-form:focus-within {
  border-color: var(--color-fresh-sky);
  background-color: var(--color-white);
  box-shadow: 0 0 0 3px rgba(0, 167, 225, 0.15);
}

.search-input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 0.88rem;
  color: var(--color-ink-black);
  width: 180px;
  padding: 0 4px;
  transition: width 0.25s ease;
}

.search-input:focus {
  width: 220px;
}

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

.search-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
}

.search-btn:hover {
  color: var(--color-fresh-sky);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--color-border);
  background: var(--color-white);
  border-radius: var(--radius-sm);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  color: var(--color-ink-black);
}

.nav-toggle:hover {
  border-color: var(--color-fresh-sky);
  color: var(--color-fresh-sky);
}

.lang-switcher {
  position: relative;
  flex-shrink: 0;
}

.lang-switcher__toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: inherit;
  color: var(--color-ink-black);
  padding: 6px 4px;
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
}

.lang-switcher__toggle:hover {
  color: var(--color-fresh-sky);
}

.lang-switcher__flag,
.lang-switcher img {
  display: block;
  width: 16px;
  height: 11px;
  object-fit: cover;
  border-radius: 1px;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(0, 23, 31, 0.14);
}

.lang-switcher__flag img {
  display: block;
  width: 16px;
  height: 11px;
}

.lang-switcher__caret {
  width: 7px;
  height: 7px;
  flex-shrink: 0;
  opacity: 0.55;
  transition: transform 0.15s ease;
  margin-left: -1px;
}

.lang-switcher.is-open .lang-switcher__caret {
  transform: rotate(180deg);
}

.lang-switcher__menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 180px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-hover);
  padding: 8px;
  z-index: 120;
}

.lang-switcher.is-open .lang-switcher__menu {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.lang-switcher__item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-ink-black);
  border-radius: var(--radius-sm);
}

.lang-switcher__item:hover,
.lang-switcher__item.is-current {
  color: var(--color-fresh-sky);
  background: rgba(0, 167, 225, 0.08);
}

/* Hero slideshow */
.hero-slideshow-section {
  position: relative;
  background-color: var(--color-ink-black);
  overflow: hidden;
  min-height: 560px;
}

.slideshow-wrapper {
  position: relative;
  width: 100%;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.slideshow-track {
  position: relative;
  width: 100%;
  min-height: 560px;
  display: grid;
}

.hero-slide {
  grid-area: 1 / 1;
  position: relative;
  width: 100%;
  min-height: 560px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease-in-out, visibility 0.35s ease-in-out;
  display: flex;
  align-items: center;
  padding: var(--space-4xl) 0 calc(var(--space-4xl) + 40px);
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
}

.slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.slide-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
  transition: transform 4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-slide.active .slide-bg img {
  transform: scale(1);
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(0, 23, 31, 0.94) 0%, rgba(0, 34, 59, 0.85) 45%, rgba(0, 52, 89, 0.6) 100%);
}

.slide-content-container {
  position: relative;
  z-index: 2;
}

.slide-content {
  max-width: 740px;
  color: var(--color-white);
}

.slide-meta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: var(--space-md);
  flex-wrap: wrap;
}

.slide-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: var(--color-text-light);
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.slide-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-fresh-sky);
  display: inline-block;
  box-shadow: 0 0 10px var(--color-fresh-sky);
}

.slide-title {
  font-family: var(--font-heading);
  font-size: clamp(2.1rem, 4.2vw, 3.5rem);
  line-height: 1.16;
  font-weight: 800;
  margin-bottom: var(--space-md);
  color: var(--color-white);
  letter-spacing: -0.02em;
}

.slide-title a {
  color: var(--color-white);
}

.slide-title a:hover {
  color: var(--color-fresh-sky);
}

.slide-excerpt {
  font-size: clamp(1.02rem, 1.35vw, 1.18rem);
  line-height: 1.7;
  color: #E2ECF2;
  margin-bottom: var(--space-xl);
  max-width: 640px;
}

.slide-actions {
  display: flex;
  gap: var(--space-md);
  align-items: center;
  flex-wrap: wrap;
}

.slideshow-controls {
  position: absolute;
  bottom: 28px;
  left: 0;
  right: 0;
  z-index: 10;
  pointer-events: none;
}

.slideshow-controls-bar {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  background: rgba(0, 23, 31, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  pointer-events: auto;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.slideshow-arrows {
  display: flex;
  align-items: center;
  gap: 8px;
}

.slide-nav-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.slide-nav-btn:hover {
  background: var(--color-fresh-sky);
  border-color: var(--color-fresh-sky);
  color: #FFFFFF;
}

.slide-counter-display {
  font-size: 0.88rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 4px;
}

.slide-counter-display .slide-current {
  color: var(--color-white);
  font-size: 1.05rem;
}

.slide-indicators {
  display: flex;
  align-items: center;
  gap: 8px;
}

.slide-dot {
  width: 24px;
  height: 6px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.32);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: var(--transition-smooth);
}

.slide-dot:hover {
  background: rgba(255, 255, 255, 0.75);
}

.slide-dot.active {
  width: 44px;
  background: var(--color-fresh-sky);
}

.section-spacing {
  padding-top: var(--space-4xl);
  padding-bottom: var(--space-4xl);
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-2xl);
  border-bottom: 2px solid var(--color-border);
  padding-bottom: var(--space-md);
  gap: var(--space-md);
  flex-wrap: wrap;
}

.section-header-left h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 2.5vw, 2.4rem);
  font-weight: 700;
  color: var(--color-ink-black);
  line-height: 1.2;
}

.section-eyebrow {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-fresh-sky);
  margin-bottom: 6px;
}

.view-all-link {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-fresh-sky);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  background-color: rgba(0, 167, 225, 0.08);
}

.view-all-link:hover {
  background-color: var(--color-fresh-sky);
  color: var(--color-white);
}

.read-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-fresh-sky);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.read-link:hover {
  color: var(--color-deep-space-blue);
  gap: 8px;
}

/* Lifestyle carousel */
.lifestyle-section {
  background-color: var(--color-white);
}

.carousel-container {
  position: relative;
}

.lifestyle-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(320px, 1fr);
  gap: var(--space-lg);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: var(--space-md);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--color-fresh-sky) var(--color-bg-subtle);
}

.lifestyle-row::-webkit-scrollbar {
  height: 6px;
}

.lifestyle-row::-webkit-scrollbar-track {
  background: var(--color-bg-subtle);
  border-radius: var(--radius-pill);
}

.lifestyle-row::-webkit-scrollbar-thumb {
  background-color: var(--color-fresh-sky);
  border-radius: var(--radius-pill);
}

.lifestyle-card {
  scroll-snap-align: start;
  background-color: var(--color-bg-subtle);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.lifestyle-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--color-fresh-sky);
  background-color: var(--color-white);
}

.lifestyle-img-wrap {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.lifestyle-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.lifestyle-card:hover .lifestyle-img-wrap img {
  transform: scale(1.06);
}

.lifestyle-body {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.lifestyle-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.35;
  margin: var(--space-xs) 0;
  color: var(--color-ink-black);
}

.lifestyle-title a:hover {
  color: var(--color-fresh-sky);
}

.lifestyle-excerpt {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-md);
  flex: 1;
}

/* Travel masonry */
.travel-section {
  background-color: var(--color-bg-subtle);
}

.travel-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--space-xl);
  align-items: stretch;
}

.travel-featured {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 480px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: var(--shadow-subtle);
}

.travel-featured-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.travel-featured:hover .travel-featured-img {
  transform: scale(1.05);
}

.travel-featured-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 23, 31, 0.1) 0%, rgba(0, 23, 31, 0.88) 100%);
}

.travel-featured-content {
  position: relative;
  z-index: 2;
  padding: clamp(1.5rem, 4vw, 2.75rem);
  color: var(--color-white);
}

.travel-featured-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  line-height: 1.25;
  font-weight: 700;
  margin: var(--space-sm) 0;
  color: var(--color-white);
}

.travel-featured-title a:hover {
  color: var(--color-fresh-sky);
}

.travel-featured-excerpt {
  font-size: 1rem;
  color: #D2E4EE;
  line-height: 1.6;
  max-width: 540px;
  margin-bottom: var(--space-md);
}

.travel-sidebar-stack {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  height: 100%;
  justify-content: space-between;
}

.travel-sub-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: grid;
  grid-template-columns: 200px 1fr;
  transition: var(--transition-smooth);
  flex: 1;
  min-height: 0;
  align-items: stretch;
}

.travel-sub-card:hover {
  border-color: var(--color-fresh-sky);
  box-shadow: var(--shadow-hover);
  transform: translateX(4px);
}

.travel-sub-img {
  height: 100%;
  min-height: 100%;
  position: relative;
  overflow: hidden;
}

.travel-sub-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.travel-sub-card:hover .travel-sub-img img {
  transform: scale(1.08);
}

.travel-sub-content {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.travel-sub-title {
  font-family: var(--font-heading);
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.35;
  margin: var(--space-xs) 0;
  color: var(--color-ink-black);
}

.travel-sub-title a:hover {
  color: var(--color-fresh-sky);
}

.travel-sub-excerpt {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}

/* Beauty split */
.beauty-section {
  background-color: var(--color-white);
}

.beauty-editorial-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: stretch;
}

.beauty-focus-card {
  background-color: var(--color-bg-subtle);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.beauty-focus-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--color-fresh-sky);
}

.beauty-focus-img {
  height: 380px;
  overflow: hidden;
}

.beauty-focus-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.beauty-focus-card:hover .beauty-focus-img img {
  transform: scale(1.04);
}

.beauty-focus-content {
  padding: var(--space-xl);
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.beauty-focus-title {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 700;
  line-height: 1.3;
  margin: var(--space-sm) 0;
  color: var(--color-ink-black);
}

.beauty-focus-title a:hover {
  color: var(--color-fresh-sky);
}

.beauty-focus-excerpt {
  font-size: 0.96rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: var(--space-md);
}

.beauty-text-list {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-lg);
}

.beauty-list-item {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  transition: var(--transition-smooth);
  position: relative;
}

.beauty-list-item:hover {
  border-color: var(--color-fresh-sky);
  transform: translateY(-2px);
  box-shadow: var(--shadow-subtle);
}

.beauty-list-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.35;
  margin: var(--space-xs) 0;
  color: var(--color-ink-black);
}

.beauty-list-title a:hover {
  color: var(--color-fresh-sky);
}

.beauty-list-excerpt {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.55;
  margin-bottom: var(--space-xs);
}

/* Tech ranked */
.tech-section {
  background-color: var(--color-bg-subtle);
}

.tech-ranked-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

.tech-rank-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  display: grid;
  grid-template-columns: 56px 1fr 140px;
  gap: var(--space-md);
  align-items: center;
  transition: var(--transition-smooth);
}

.tech-rank-card:hover {
  border-color: var(--color-fresh-sky);
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.tech-rank-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-fresh-sky);
  line-height: 1;
  text-align: center;
  opacity: 0.9;
}

.tech-rank-info {
  padding-right: var(--space-xs);
}

.tech-rank-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 4px 0 6px;
  color: var(--color-ink-black);
}

.tech-rank-title a:hover {
  color: var(--color-fresh-sky);
}

.tech-rank-desc {
  font-size: 0.86rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.tech-rank-thumb {
  width: 140px;
  height: 95px;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.tech-rank-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.tech-rank-card:hover .tech-rank-thumb img {
  transform: scale(1.08);
}

/* Home & Garden bento */
.home-garden-section {
  background-color: var(--color-white);
}

.bento-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: var(--space-xl);
  align-items: stretch;
}

.bento-large-card {
  background-color: var(--color-bg-subtle);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-rows: 320px 1fr;
  transition: var(--transition-smooth);
}

.bento-large-card:hover {
  border-color: var(--color-fresh-sky);
  box-shadow: var(--shadow-hover);
}

.bento-large-img {
  overflow: hidden;
}

.bento-large-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.bento-large-card:hover .bento-large-img img {
  transform: scale(1.04);
}

.bento-large-body {
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-large-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.3;
  margin: var(--space-xs) 0 var(--space-sm);
  color: var(--color-ink-black);
}

.bento-large-title a:hover {
  color: var(--color-fresh-sky);
}

.bento-large-excerpt {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: var(--space-md);
}

.bento-stacked-cards {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.bento-small-card {
  background-color: var(--color-bg-subtle);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  flex: 1;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.bento-small-card:hover {
  border-color: var(--color-fresh-sky);
  box-shadow: var(--shadow-hover);
  background-color: var(--color-white);
}

.bento-small-img {
  height: 160px;
  overflow: hidden;
}

.bento-small-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.bento-small-card:hover .bento-small-img img {
  transform: scale(1.06);
}

.bento-small-body {
  padding: var(--space-md) var(--space-lg);
}

.bento-small-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  margin: var(--space-xs) 0;
  color: var(--color-ink-black);
}

.bento-small-title a:hover {
  color: var(--color-fresh-sky);
}

.bento-small-excerpt {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.home-grid-fallback {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

/* Newsletter */
.newsletter-section {
  background: linear-gradient(135deg, var(--color-deep-space-blue) 0%, var(--color-cerulean) 100%);
  color: var(--color-white);
  padding: var(--space-4xl) 0;
  position: relative;
  overflow: hidden;
}

.newsletter-box {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.newsletter-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  margin-bottom: var(--space-sm);
  color: var(--color-white);
}

.newsletter-subtitle {
  font-size: 1.1rem;
  color: #E1F1F8;
  margin-bottom: var(--space-xl);
  line-height: 1.6;
}

.newsletter-form {
  display: flex;
  gap: var(--space-xs);
  width: min(540px, 100%);
  max-width: 540px;
  margin: 0 auto;
  background-color: var(--color-white);
  padding: 6px;
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 30px rgba(0, 23, 31, 0.25);
  text-align: left;
  box-sizing: border-box;
}

.newsletter-form .wpcf7,
.newsletter-form .wpcf7-form {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
  width: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.newsletter-form .wpcf7-form > p,
.newsletter-form .wpcf7-form > label,
.newsletter-form .wpcf7-form br {
  display: contents;
}

.newsletter-form .wpcf7-form > p:empty {
  display: none !important;
}

.newsletter-form .hidden-fields-container,
.newsletter-form .screen-reader-response,
.newsletter-form .wpcf7-response-output {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.newsletter-form .wpcf7-form-control-wrap {
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
  display: block;
}

.newsletter-form .newsletter-btn,
.newsletter-form .wpcf7-submit,
.newsletter-form button[type="submit"],
.newsletter-form .iv-submit-wrap {
  flex: 0 0 auto;
  margin-left: 0;
}

.newsletter-form .wpcf7-not-valid-tip,
.newsletter-form .field-error {
  display: none !important;
}

.newsletter-form .screen-reader-text:not(:has(input)) {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  font-size: 0;
}

.newsletter-input,
.newsletter-form input[type="email"],
.newsletter-form .wpcf7-email {
  flex: 1;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 10px 12px 10px 16px;
  font-size: 0.95rem;
  color: var(--color-ink-black);
  outline: none;
  border-radius: var(--radius-pill);
  width: 100%;
  min-width: 0;
  text-align: left;
}

.newsletter-input:-webkit-autofill,
.newsletter-input:-webkit-autofill:hover,
.newsletter-input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--color-ink-black);
  caret-color: var(--color-ink-black);
  border: none;
  border-radius: var(--radius-pill);
  box-shadow: 0 0 0 1000px var(--color-white) inset;
  transition: background-color 99999s ease-out;
}

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

.newsletter-input.is-invalid {
  box-shadow: inset 0 0 0 1.5px #ef4444;
  border-radius: var(--radius-pill);
}

.newsletter-form .wpcf7-submit,
.newsletter-btn {
  background-color: var(--color-fresh-sky);
  color: var(--color-white);
  border: none;
  padding: 12px 28px;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition-smooth);
  width: auto;
}

.newsletter-form .wpcf7-submit:hover,
.newsletter-btn:hover {
  background-color: var(--color-deep-space-blue);
}

.newsletter-feedback,
.newsletter-notice {
  max-width: 540px;
  margin: var(--space-md) auto 0;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 500;
  text-align: center;
  display: none;
  transition: all 0.3s ease;
}

.newsletter-feedback.success,
.newsletter-notice.is-success,
.newsletter-notice.success {
  display: block !important;
  background-color: rgba(0, 182, 122, 0.22);
  border: 1px solid #00B67A;
  color: #ffffff;
}

.newsletter-feedback.error,
.newsletter-notice.is-error,
.newsletter-notice.error {
  display: block !important;
  background-color: rgba(239, 68, 68, 0.25);
  border: 1px solid #ef4444;
  color: #ffe4e4;
}

.field-error {
  display: block;
  color: #ef4444;
  font-size: 0.82rem;
  font-weight: 600;
  margin-top: 4px;
}

/* Footer */
.site-footer {
  background-color: var(--color-deep-space-blue);
  color: var(--color-text-light);
  padding-top: var(--space-4xl);
  padding-bottom: var(--space-xl);
  margin-top: auto;
  border-top: 3px solid var(--color-fresh-sky);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  padding-bottom: var(--space-3xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand .footer-logo {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--color-white);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-bottom: var(--space-md);
}

.footer-desc {
  font-size: 0.92rem;
  line-height: 1.7;
  color: #BFD7E5;
  max-width: 440px;
  margin-bottom: var(--space-lg);
}

.trustpilot-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  padding: 12px 20px;
  border-radius: var(--radius-md);
  color: var(--color-white);
  text-decoration: none;
  transition: var(--transition-smooth);
  width: fit-content;
  margin-top: 8px;
}

.trustpilot-badge:hover {
  background-color: rgba(255, 255, 255, 0.18);
  border-color: #00B67A;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 182, 122, 0.25);
}

.trustpilot-logo-text {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  color: var(--color-white);
  line-height: 1;
}

.footer-nav-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: var(--space-md);
  letter-spacing: 0.02em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: #CBE1ED;
  font-size: 0.92rem;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--color-fresh-sky);
  transform: translateX(4px);
}

.footer-social-wrap {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

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

.social-icon-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  transition: var(--transition-smooth);
}

.social-icon-link:hover {
  background-color: var(--color-fresh-sky);
  color: var(--color-white);
  transform: translateY(-2px);
}

.social-icon-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--space-xl);
  font-size: 0.85rem;
  color: #9AB4C3;
}

/* Category archive */
.category-banner,
.cat-hero {
  background-color: var(--color-bg-subtle);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-3xl) 0 var(--space-2xl);
  background-size: cover;
  background-position: center;
  position: relative;
}

.cat-hero.has-bg-image {
  min-height: 280px;
  display: flex;
  align-items: flex-end;
  color: var(--color-white);
}

.cat-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 23, 31, 0.2) 0%, rgba(0, 23, 31, 0.82) 100%);
}

.cat-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
}

.cat-hero.has-bg-image .category-title,
.cat-hero.has-bg-image .cat-hero__title {
  color: var(--color-white);
}

.category-eyebrow {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-fresh-sky);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-xs);
  display: inline-block;
  width: fit-content;
}

.category-title,
.cat-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  font-weight: 800;
  color: var(--color-ink-black);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: var(--space-sm);
}

.category-intro,
.cat-hero__desc {
  font-size: 1.12rem;
  line-height: 1.7;
  color: var(--color-text-muted);
}

.cat-hero__desc-band {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-lg) 0;
}

.archive-section {
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-5xl);
}

.archive-status {
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.article-card,
.post-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
  padding: 0;
}

.article-card:hover,
.post-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--color-fresh-sky);
}

.card-img-wrap,
.post-card__image-wrap {
  height: 240px;
  overflow: hidden;
  position: relative;
  border-radius: 0;
  margin: 0;
}

.card-img-wrap img,
.post-card__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.article-card:hover .card-img-wrap img,
.post-card:hover .post-card__image-wrap img {
  transform: scale(1.05);
}

.post-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-white);
  background: var(--color-fresh-sky);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.card-body,
.post-card__body {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.post-card__body {
  padding: 1rem 1rem 1.25rem;
}

.card-title,
.post-card__title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.35;
  margin: var(--space-xs) 0;
  color: var(--color-ink-black);
}

.card-title a:hover,
.post-card__title a:hover {
  color: var(--color-fresh-sky);
}

.card-excerpt,
.post-card__excerpt {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-md);
  flex: 1;
}

.pagination-nav {
  margin-top: var(--space-3xl);
  display: flex;
  justify-content: center;
  align-items: center;
}

.pagination-list {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
  justify-content: center;
}

.pagination-btn,
.pagination-list a,
.pagination-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-ink-black);
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.pagination-list a:hover,
.pagination-btn:hover:not(.disabled):not(.active) {
  border-color: var(--color-fresh-sky);
  color: var(--color-fresh-sky);
  background-color: var(--color-bg-subtle);
  transform: translateY(-1px);
}

.pagination-list .current,
.pagination-btn.active {
  background-color: var(--color-fresh-sky);
  border-color: var(--color-fresh-sky);
  color: var(--color-white);
  cursor: default;
  box-shadow: 0 2px 8px rgba(0, 167, 225, 0.28);
}

.pagination-list .disabled,
.pagination-btn.disabled {
  color: var(--color-text-muted);
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
  background-color: transparent;
}

.pagination-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 42px;
  color: var(--color-text-muted);
  font-weight: 700;
  letter-spacing: 2px;
  border: none;
  background: transparent;
}

/* Single post */
.post-header {
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-xl);
  text-align: center;
  background-color: var(--color-bg-subtle);
  border-bottom: 1px solid var(--color-border);
}

.post-header-inner {
  max-width: 900px;
  margin: 0 auto;
}

.post-breadcrumbs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
}

.post-breadcrumbs a:hover {
  color: var(--color-fresh-sky);
}

.post-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 800;
  color: var(--color-ink-black);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: var(--space-sm) 0 var(--space-md);
}

.post-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  font-size: 0.9rem;
  color: var(--color-text-muted);
  flex-wrap: wrap;
}

.post-author {
  font-weight: 600;
  color: var(--color-deep-space-blue);
}

.post-content-wrap {
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-4xl);
}

.post-article-layout,
.post-layout-grid {
  max-width: 820px;
  margin: 0 auto;
}

.post-sidebar {
  position: sticky;
  top: 90px;
  align-self: start;
  height: fit-content;
}

.post-featured-media {
  margin-bottom: var(--space-2xl);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
}

.post-featured-media img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
}

.post-featured-media figcaption {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  padding: var(--space-xs) var(--space-sm);
  text-align: center;
  background-color: var(--color-bg-subtle);
}

.article-entry-content {
  font-size: 1.12rem;
  line-height: 1.8;
  color: var(--color-text-body);
}

.article-entry-content p {
  margin-bottom: var(--space-lg);
}

.article-entry-content p.lead,
.article-entry-content > p:first-of-type {
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--color-deep-space-blue);
  font-weight: 500;
}

.article-entry-content h2 {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--color-ink-black);
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
  line-height: 1.3;
}

.article-entry-content h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-deep-space-blue);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
  line-height: 1.4;
}

.article-entry-content blockquote {
  margin: var(--space-2xl) 0;
  padding: var(--space-lg) var(--space-xl);
  background-color: var(--color-bg-subtle);
  border-left: 4px solid var(--color-fresh-sky);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--color-deep-space-blue);
  line-height: 1.6;
}

.article-entry-content blockquote cite {
  display: block;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-style: normal;
  color: var(--color-text-muted);
  margin-top: var(--space-xs);
  font-weight: 600;
}

.article-entry-content ul,
.article-entry-content ol {
  margin-bottom: var(--space-lg);
  padding-left: var(--space-xl);
}

.article-entry-content li {
  margin-bottom: var(--space-xs);
}

.callout-box {
  background-color: rgba(0, 167, 225, 0.07);
  border: 1px solid rgba(0, 167, 225, 0.25);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  margin: var(--space-xl) 0;
}

.callout-title {
  font-weight: 700;
  color: var(--color-deep-space-blue);
  margin-bottom: var(--space-2xs);
  font-size: 1.05rem;
}

.author-bio-card {
  display: flex;
  gap: var(--space-lg);
  align-items: center;
  background-color: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  margin-top: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}

.author-avatar,
.author-avatar-fallback {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--color-fresh-sky);
}

.author-avatar-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-white);
  color: var(--color-fresh-sky);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.02em;
}

.author-bio-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-ink-black);
  margin-bottom: 4px;
}

.author-role {
  font-size: 0.85rem;
  color: var(--color-fresh-sky);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.author-bio-text {
  font-size: 0.95rem;
  color: var(--color-text-body);
  line-height: 1.6;
}

.comments-area {
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-2xl);
  margin-top: var(--space-2xl);
}

.comments-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: var(--space-xl);
  color: var(--color-ink-black);
}

.comment-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

.comment-item,
.comment-list .comment {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
}

.comment-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: var(--space-xs);
}

.comment-author-name {
  font-weight: 700;
  color: var(--color-ink-black);
}

.comment-date {
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

.comment-text,
.comment-content {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-text-body);
}

.comment-respond {
  background-color: var(--color-bg-subtle);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
}

.reply-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
  color: var(--color-ink-black);
}

.comment-notes {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full-width {
  grid-column: 1 / -1;
  margin-bottom: var(--space-md);
}

.form-label,
.form-group label,
.comment-form label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-ink-black);
}

.form-input,
.form-textarea,
.form-control,
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form textarea,
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 select,
.wpcf7 textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 10px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background-color: var(--color-white);
  color: var(--color-ink-black);
  outline: none;
  transition: var(--transition-smooth);
  width: 100%;
}

.form-input:focus,
.form-textarea:focus,
.form-control:focus,
.comment-form input:focus,
.comment-form textarea:focus,
.wpcf7 input:focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus {
  border-color: var(--color-fresh-sky);
  box-shadow: 0 0 0 3px rgba(0, 167, 225, 0.15);
}

.form-control.is-invalid,
.wpcf7 input.is-invalid,
.wpcf7 textarea.is-invalid,
.wpcf7 select.is-invalid {
  border-color: #ef4444;
}

.btn-submit,
.comment-form input[type="submit"],
.wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-deep-space-blue);
  color: var(--color-white);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 12px 26px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-submit,
.comment-form input[type="submit"],
.wpcf7-submit,
.newsletter-btn,
.iv-submit-wrap {
  position: relative;
}

.btn-submit.is-loading,
.newsletter-btn.is-loading,
.wpcf7-submit.is-loading,
.iv-submit-wrap.is-loading .newsletter-btn,
.iv-submit-wrap.is-loading .wpcf7-submit {
  color: transparent !important;
  pointer-events: none;
}

.btn-submit.is-loading::after,
.newsletter-btn.is-loading::after,
button.wpcf7-submit.is-loading::after,
.iv-submit-wrap.is-loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: iv-spin 0.6s linear infinite;
  pointer-events: none;
  z-index: 2;
}

.newsletter-form .wpcf7-spinner,
.newsletter-form .ajax-loader,
.contact-form-card .wpcf7-spinner,
.contact-form-card .ajax-loader {
  display: none !important;
}

.iv-submit-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.iv-submit-wrap--full {
  display: flex;
  width: 100%;
}

.iv-submit-wrap--full .wpcf7-submit,
.iv-submit-wrap--full .btn-submit {
  width: 100%;
}

.contact-form-card .wpcf7-form > p:has(.wpcf7-submit),
.contact-form-card .wpcf7-form > p:has(.iv-submit-wrap) {
  display: block;
  width: 100%;
  margin-bottom: 0;
}

.contact-form-card .btn-submit,
.contact-form-card .wpcf7-submit,
.contact-form-card .iv-submit-wrap,
.contact-form-card .iv-submit-wrap .wpcf7-submit {
  display: flex;
  width: 100%;
  max-width: 100%;
}

.newsletter-notice:empty:not(.is-error):not(.error),
.newsletter-feedback:empty:not(.is-error):not(.error) {
  display: none !important;
}

@keyframes iv-spin {
  to { transform: rotate(360deg); }
}

.related-posts-section {
  background-color: var(--color-bg-subtle);
  border-top: 1px solid var(--color-border);
  padding: var(--space-3xl) 0;
}

.related-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--color-ink-black);
  margin-bottom: var(--space-xl);
  text-align: center;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.related-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.related-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--color-fresh-sky);
}

.related-card-img {
  height: 200px;
  overflow: hidden;
}

.related-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.related-card-body {
  padding: var(--space-md) var(--space-lg);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.related-card-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin: var(--space-2xs) 0 var(--space-xs);
  line-height: 1.35;
}

.related-card-title a:hover {
  color: var(--color-fresh-sky);
}

/* About */
.about-hero {
  background-color: var(--color-bg-subtle);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-4xl) 0 var(--space-3xl);
}

.about-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.about-eyebrow,
.contact-eyebrow,
.legal-eyebrow {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-fresh-sky);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-xs);
  display: inline-block;
  width: fit-content;
}

.about-title,
.contact-title,
.legal-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  font-weight: 800;
  color: var(--color-ink-black);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
}

.about-lead {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--color-deep-space-blue);
  margin-bottom: var(--space-lg);
}

.about-author-photo-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  border: 1px solid var(--color-border);
}

.about-author-photo-wrap img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.about-content-section {
  padding: var(--space-4xl) 0;
}

.about-content-inner {
  max-width: 860px;
  margin: 0 auto;
  font-size: 1.12rem;
  line-height: 1.8;
  color: var(--color-text-body);
}

.about-content-inner h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-ink-black);
  margin-top: var(--space-3xl);
  margin-bottom: var(--space-md);
  line-height: 1.25;
}

.about-content-inner p {
  margin-bottom: var(--space-lg);
}

.about-content-inner a {
  color: var(--color-fresh-sky);
  font-weight: 600;
  text-decoration: underline;
}

.about-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin: var(--space-2xl) 0;
}

.about-gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-subtle);
}

.about-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

/* Contact */
.contact-header {
  background-color: var(--color-bg-subtle);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-4xl) 0 var(--space-3xl);
  text-align: center;
}

.contact-header-inner {
  max-width: 760px;
  margin: 0 auto;
}

.contact-lead {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--color-text-muted);
}

.contact-section {
  padding: var(--space-4xl) 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.8fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.contact-info-panel {
  background-color: var(--color-bg-subtle);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-2xl);
}

.info-block {
  margin-bottom: var(--space-xl);
}

.info-block:last-child {
  margin-bottom: 0;
}

.info-label {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-fresh-sky);
  margin-bottom: 6px;
}

.info-value {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--color-ink-black);
  font-weight: 700;
  line-height: 1.4;
}

.info-value a:hover {
  color: var(--color-fresh-sky);
}

.info-desc {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  margin-top: 4px;
  line-height: 1.55;
}

.contact-form-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-subtle);
  position: sticky;
  top: 90px;
  align-self: start;
  height: fit-content;
}

.form-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-ink-black);
  margin-bottom: var(--space-xs);
}

.form-subtitle {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-xl);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.contact-form-card .form-group {
  margin-bottom: var(--space-md);
}

.contact-form-card .form-control,
.contact-form-card .wpcf7 textarea {
  min-height: 0;
}

.contact-form-card .wpcf7 textarea {
  height: 148px;
  min-height: 148px;
  max-height: 220px;
  resize: vertical;
}

.contact-form-card .btn-submit,
.contact-form-card .wpcf7-submit {
  width: 100%;
  padding: 14px 32px;
  font-size: 1rem;
}

.form-success-msg {
  display: none;
  background-color: rgba(0, 182, 122, 0.1);
  border: 1px solid #00B67A;
  color: #006846;
  padding: var(--space-md);
  border-radius: var(--radius-sm);
  margin-top: var(--space-lg);
  margin-bottom: 0;
  font-size: 0.95rem;
  font-weight: 500;
}

.form-success-msg p {
  margin: 6px 0 0;
  font-weight: 400;
  color: inherit;
}

.form-success-msg.is-success,
.form-success-msg.success,
.contact-notice.is-success,
#contact-success.is-success,
#contact-success.success {
  display: block !important;
}

.wpcf7 form.sent .wpcf7-response-output,
.wpcf7-response-output {
  display: none !important;
}

.wpcf7-not-valid-tip {
  color: #ef4444;
  font-size: 0.82rem;
  font-weight: 600;
}

/* Legal */
.legal-banner {
  background-color: var(--color-bg-subtle);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-4xl) 0 var(--space-2xl);
}

.legal-banner-inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.legal-content-section {
  padding: var(--space-4xl) 0;
}

.legal-article {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--color-text-body);
}

.legal-article h2 {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--color-ink-black);
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
  line-height: 1.3;
  text-align: center;
}

.legal-article p {
  margin-bottom: var(--space-md);
  text-align: center;
}

.legal-article ul {
  margin-bottom: var(--space-lg);
  padding-left: 0;
  list-style-position: inside;
  text-align: center;
}

.legal-article li {
  margin-bottom: var(--space-xs);
  text-align: center;
}

.legal-article a {
  color: var(--color-fresh-sky);
  font-weight: 600;
}

/* 404 / search empty */
.error-panel,
.search-empty {
  padding: var(--space-4xl) 0;
  text-align: center;
}

.error-panel h1,
.search-empty h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  margin-bottom: var(--space-md);
}

.error-panel p,
.search-empty p {
  color: var(--color-text-muted);
  font-size: 1.1rem;
  max-width: 640px;
  margin: 0 auto var(--space-xl);
}

/* Cookie bar */
.cookie-bar {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 720px;
  margin: 0 auto;
  background: var(--color-ink-black);
  color: var(--color-white);
  padding: var(--space-lg) var(--space-xl);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-hover);
  z-index: 200;
  display: none;
}

.cookie-bar.is-visible {
  display: block;
}

.cookie-bar h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.cookie-bar p {
  font-size: 0.9rem;
  color: #D2E4EE;
  margin-bottom: var(--space-md);
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-accept {
  background: var(--color-fresh-sky);
  color: var(--color-white);
  border: none;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  cursor: pointer;
}

.cookie-dismiss {
  background: transparent;
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
}

.sidebar-widget {
  background: var(--color-bg-subtle);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.sidebar-widget-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: var(--space-sm);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 1024px) {
  .travel-grid,
  .beauty-editorial-split,
  .bento-grid,
  .about-hero-grid,
  .contact-grid,
  .home-grid-fallback,
  .tech-ranked-grid {
    grid-template-columns: 1fr;
  }
  .contact-form-card {
    position: static;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .article-grid,
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-author-photo-wrap img {
    height: 380px;
  }
}

@media (max-width: 768px) {
  .header-inner {
    display: grid;
    grid-template-columns: 1fr auto auto;
    grid-template-areas: "logo lang toggle";
    align-items: center;
    gap: 8px 10px;
  }
  .header-nav-cluster {
    display: contents;
  }
  .header-end {
    display: contents;
    margin-left: 0;
  }
  .logo {
    grid-area: logo;
    font-size: 1.45rem;
  }
  .lang-switcher {
    grid-area: lang;
    justify-self: end;
  }
  .nav-toggle {
    display: inline-flex;
    grid-area: toggle;
  }
  .lang-switcher__name {
    display: none;
  }
  .main-nav,
  .header-search {
    display: none;
    width: 100%;
  }
  body.nav-open .header-inner {
    grid-template-areas:
      "logo lang toggle"
      "nav nav nav"
      "search search search";
  }
  body.nav-open .main-nav {
    display: flex;
    grid-area: nav;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    overflow: visible;
    padding: 10px 0 0;
    margin-top: 4px;
    border-top: 1px solid var(--color-border);
  }
  body.nav-open .header-search {
    display: block;
    grid-area: search;
    padding: 12px 0 8px;
  }
  .nav-list {
    flex-direction: column;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    width: 100%;
  }
  .nav-list a,
  .nav-item a,
  a.nav-item {
    display: block;
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border);
  }
  .nav-list a.current-menu-item::after,
  .nav-list a.current-menu-ancestor::after,
  .nav-item.active a::after,
  a.nav-item.current-menu-item::after {
    display: none;
  }
  .search-form {
    min-width: 0;
    width: 100%;
  }
  .search-input,
  .search-input:focus {
    width: 100%;
  }
  .container {
    --container-px: 1rem;
  }
  .section-spacing {
    padding-top: var(--space-xl);
    padding-bottom: var(--space-xl);
  }
  .contact-header {
    padding: var(--space-xl) 0 var(--space-lg);
  }
  .contact-section {
    padding: var(--space-xl) 0;
  }
  .contact-info-panel{
    padding: var(--space-lg);
  }
  .contact-form-card {
    padding: var(--space-lg);
  }
  .form-title {
    font-size: 1.45rem;
  }
  .form-subtitle {
    margin-bottom: var(--space-md);
  }
  .hero-slideshow-section,
  .slideshow-wrapper,
  .slideshow-track {
    min-height: 520px;
  }
  .hero-slide {
    padding: var(--space-2xl) 0 calc(var(--space-2xl) + 60px);
  }
  .slide-overlay {
    background: linear-gradient(180deg, rgba(0, 23, 31, 0.88) 0%, rgba(0, 23, 31, 0.96) 100%);
  }
  .slideshow-controls {
    bottom: 16px;
  }
  .slideshow-controls-bar {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 14px;
  }
  .tech-ranked-grid,
  .article-grid,
  .related-grid,
  .about-gallery-grid,
  .form-row,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .tech-rank-card {
    grid-template-columns: 1fr;
    justify-items: stretch;
  }
  .tech-rank-number {
    text-align: left;
  }
  .tech-rank-info {
    padding-right: 0;
  }
  .tech-rank-thumb {
    width: 100%;
    height: 180px;
  }
  .travel-sub-card {
    grid-template-columns: 1fr;
  }
  .travel-sub-img {
    height: 180px;
  }
  .newsletter-form {
    flex-direction: column;
    border-radius: var(--radius-md);
    padding: var(--space-sm);
  }
  .newsletter-btn {
    width: 100%;
  }
  .author-bio-card {
    flex-direction: column;
    text-align: center;
  }
  .post-sidebar {
    position: static;
  }
}
