/*
 Theme Name:   EasyTweaks Child Theme
 Theme URI:    https://www.easytweaks.com
 Description:  Custom child theme for EasyTweaks.com — clean, professional redesign with category-focused homepage.
 Author:       EasyTweaks
 Author URI:   https://www.easytweaks.com
 Template:     generatepress
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  easytweaks-child
*/

/* ═══════════════════════════════════════════════
   EASYTWEAKS CUSTOM STYLES
   Drop this into Appearance → Customize → Additional CSS
   OR keep it here in the child theme style.css
═══════════════════════════════════════════════ */

:root {
  /* ─── PALETTE ─── */
  --et-white: #FFFFFF;
  --et-snow: #F8F9FB;
  --et-fog: #EEF1F6;
  --et-silver: #D4D9E3;
  --et-slate: #6B7A90;
  --et-ink: #1B2434;

  --et-blue-50: #EFF5FF;
  --et-blue-100: #DBEAFE;
  --et-blue-200: #BFDBFE;
  --et-blue-500: #3B7CEC;
  --et-blue-600: #2563EB;
  --et-blue-700: #1D4FCC;
  --et-blue-900: #152046;

  /* Category palette */
  --et-cat-teams: #7C5DC7;
  --et-cat-teams-bg: #F3EFFE;
  --et-cat-office: #2563EB;
  --et-cat-office-bg: #EFF5FF;
  --et-cat-copilot: #D97706;
  --et-cat-copilot-bg: #FFFBEB;
  --et-cat-windows: #059669;
  --et-cat-windows-bg: #ECFDF5;
  --et-cat-powerbi: #DC2626;
  --et-cat-powerbi-bg: #FEF2F2;
  --et-cat-browser: #0891B2;
  --et-cat-browser-bg: #ECFEFF;

  /* ─── TYPOGRAPHY ─── */
  --et-font-display: 'Newsreader', Georgia, serif;
  --et-font-body: 'Plus Jakarta Sans', system-ui, sans-serif;

  /* ─── SPACING ─── */
  --et-page-max: 1140px;
  --et-page-pad: 2rem;

  /* ─── EFFECTS ─── */
  --et-shadow-sm: 0 1px 2px rgba(27,36,52,0.04), 0 1px 4px rgba(27,36,52,0.03);
  --et-shadow-md: 0 2px 4px rgba(27,36,52,0.04), 0 8px 20px rgba(27,36,52,0.06);
  --et-shadow-lg: 0 4px 8px rgba(27,36,52,0.04), 0 16px 40px rgba(27,36,52,0.08);
  --et-radius: 12px;
  --et-radius-lg: 16px;
}

/* ─── GLOBAL OVERRIDES ─── */
body {
  font-family: var(--et-font-body);
  background: var(--et-white);
  color: var(--et-ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Smaller body text on posts and pages */
.single .entry-content,
.page .entry-content,
.single .entry-content p,
.page .entry-content p,
.single .entry-content li,
.page .entry-content li,
.single .entry-content td,
.page .entry-content td,
.single .entry-content blockquote,
.page .entry-content blockquote {
  font-size: 1rem !important;
  line-height: 1.75 !important;
}

/* ─── HIDE DEFAULT GP HEADER/NAV SITE-WIDE ─── */
.site-header,
#site-navigation,
.main-navigation,
.navigation-branding,
.gen-sidebar-nav,
.site-branding-container,
header#masthead,
.top-bar,
.inside-header,
.menu-toggle,
#mobile-header,
.mobile-header-navigation,
#menu-topnav,
.sf-menu,
.search-item,
.site-branding,
.inside-navigation {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Hide GP footer & sidebar on homepage only */
.site-footer {
  display: none !important;
}

.home .entry-title,
.home .entry-meta,
.home #primary-sidebar {
  display: none !important;
}

.home .site-content {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
}

.home .inside-article {
  padding: 0 !important;
  margin: 0 !important;
}

/* ─── DOT GRID BACKGROUND ─── */
.et-dot-bg {
  background-image: radial-gradient(circle, var(--et-silver) 0.6px, transparent 0.6px);
  background-size: 24px 24px;
  background-position: 12px 12px;
}

/* ═══════════════════════════════════
   CUSTOM NAV
═══════════════════════════════════ */
.et-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--et-fog);
  animation: et-fadeDown 0.5s ease-out;
}

.et-nav-inner {
  max-width: var(--et-page-max);
  margin: 0 auto;
  padding: 0 var(--et-page-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.et-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--et-ink);
}

.et-logo-mark-img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: block;
  object-fit: contain;
}

.et-logo-name {
  font-family: var(--et-font-display);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.et-logo-name span { color: var(--et-blue-600); }

.et-nav-links {
  display: flex;
  align-items: center;
  gap: 1px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.et-nav-links a {
  text-decoration: none;
  color: var(--et-slate);
  font-size: 1rem;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 8px;
  transition: all 0.2s;
}

.et-nav-links a:hover {
  color: var(--et-ink);
  background: var(--et-snow);
}

.et-nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.et-nav-hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--et-ink);
  margin: 4px 0;
  border-radius: 2px;
}

/* ═══════════════════════════════════
   SEARCH TOGGLE & OVERLAY
═══════════════════════════════════ */
.et-search-toggle {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 36px !important;
  height: 36px !important;
  border: none !important;
  background: transparent !important;
  color: var(--et-slate) !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  transition: all 0.2s !important;
  margin-left: 4px !important;
  flex-shrink: 0 !important;
  padding: 0 !important;
}

.et-search-toggle:hover {
  color: var(--et-ink) !important;
  background: var(--et-snow) !important;
}

/* Search overlay — full screen, centered */
.et-search-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 999999 !important;
  background: rgba(27, 36, 52, 0.55) !important;
  backdrop-filter: blur(6px) !important;
  -webkit-backdrop-filter: blur(6px) !important;
  display: flex !important;
  align-items: flex-start !important;
  justify-content: center !important;
  padding-top: 18vh !important;
  padding-left: 1.5rem !important;
  padding-right: 1.5rem !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transition: opacity 0.25s ease, visibility 0.25s ease !important;
  margin: 0 !important;
  border: none !important;
  box-sizing: border-box !important;
}

.et-search-overlay.et-search-open {
  opacity: 1 !important;
  visibility: visible !important;
}

.et-search-overlay-inner {
  width: 100% !important;
  max-width: 560px !important;
  transform: translateY(-14px) !important;
  transition: transform 0.3s cubic-bezier(0.2, 0, 0, 1) !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

.et-search-open .et-search-overlay-inner {
  transform: translateY(0) !important;
}

.et-search-form {
  display: flex !important;
  align-items: center !important;
  background: var(--et-white) !important;
  border-radius: 16px !important;
  padding: 6px 8px 6px 20px !important;
  box-shadow: 0 20px 60px rgba(27, 36, 52, 0.22), 0 4px 12px rgba(27, 36, 52, 0.1) !important;
  gap: 4px !important;
  border: none !important;
  margin: 0 !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.et-search-form-icon {
  color: var(--et-silver) !important;
  flex-shrink: 0 !important;
  width: 22px !important;
  height: 22px !important;
}

.et-search-form-input {
  flex: 1 !important;
  border: none !important;
  outline: none !important;
  background: transparent !important;
  font-family: var(--et-font-body) !important;
  font-size: 1.1rem !important;
  color: var(--et-ink) !important;
  padding: 14px 12px !important;
  margin: 0 !important;
  box-shadow: none !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  width: auto !important;
  min-width: 0 !important;
}

.et-search-form-input::placeholder {
  color: var(--et-silver) !important;
}

.et-search-form-input:focus {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
}

.et-search-close {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  border: none !important;
  background: var(--et-snow) !important;
  color: var(--et-slate) !important;
  border-radius: 10px !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
  transition: all 0.2s !important;
  padding: 0 !important;
  margin: 0 !important;
}

.et-search-close:hover {
  background: var(--et-fog) !important;
  color: var(--et-ink) !important;
}

/* Submit button */
.et-search-submit {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  border: none !important;
  background: var(--et-blue-600) !important;
  color: white !important;
  border-radius: 10px !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
  transition: all 0.2s !important;
  padding: 0 !important;
  margin: 0 !important;
}

.et-search-submit:hover {
  background: var(--et-blue-700) !important;
}

/* ═══════════════════════════════════
   HERO
═══════════════════════════════════ */
.et-hero {
  position: relative;
  padding: 4.5rem var(--et-page-pad) 3.5rem;
  text-align: center;
  overflow: hidden;
  animation: et-fadeUp 0.7s ease-out;
}

.et-hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--et-page-max);
  margin: 0 auto;
}

.et-hero h1 {
  font-family: var(--et-font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.25rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 640px;
  margin: 0 auto;
}

.et-hero h1 em {
  font-style: italic;
  color: var(--et-blue-600);
}

/* ── Floating icons ── */
.et-hero-floats {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.et-float-icon {
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  opacity: 0;
  animation: et-floatIn 0.6s ease-out forwards, et-floatBob 4s ease-in-out infinite;
}

.et-float-1 {
  top: 18%; left: 8%;
  background: var(--et-cat-teams-bg); color: var(--et-cat-teams);
  animation-delay: 0.3s, 0.9s;
  --et-float-y: -8px;
}
.et-float-2 {
  top: 60%; left: 5%;
  background: var(--et-cat-office-bg); color: var(--et-cat-office);
  animation-delay: 0.45s, 1.2s;
  --et-float-y: 10px;
}
.et-float-3 {
  top: 30%; left: 18%;
  background: var(--et-cat-copilot-bg); color: var(--et-cat-copilot);
  animation-delay: 0.55s, 0.6s;
  --et-float-y: -12px;
}
.et-float-4 {
  top: 20%; right: 10%;
  background: var(--et-cat-windows-bg); color: var(--et-cat-windows);
  animation-delay: 0.35s, 1.5s;
  --et-float-y: 9px;
}
.et-float-5 {
  top: 58%; right: 6%;
  background: var(--et-cat-powerbi-bg); color: var(--et-cat-powerbi);
  animation-delay: 0.5s, 0.3s;
  --et-float-y: -10px;
}
.et-float-6 {
  top: 35%; right: 20%;
  background: var(--et-blue-50); color: var(--et-blue-600);
  animation-delay: 0.6s, 1.8s;
  --et-float-y: 7px;
}

/* ═══════════════════════════════════
   CATEGORIES
═══════════════════════════════════ */
.et-categories {
  max-width: var(--et-page-max);
  margin: 0 auto;
  padding: 0 var(--et-page-pad) 4rem;
}

.et-cat-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.et-cat-card {
  background: var(--et-white);
  border: 1.5px solid var(--et-fog);
  border-radius: var(--et-radius-lg);
  padding: 1.75rem 1.5rem;
  text-decoration: none;
  color: var(--et-ink);
  transition: all 0.3s cubic-bezier(0.2, 0, 0, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  opacity: 0;
  animation: et-fadeUp 0.5s ease-out forwards;
}

.et-cat-card:nth-child(1) { animation-delay: 0.1s; }
.et-cat-card:nth-child(2) { animation-delay: 0.15s; }
.et-cat-card:nth-child(3) { animation-delay: 0.2s; }
.et-cat-card:nth-child(4) { animation-delay: 0.25s; }
.et-cat-card:nth-child(5) { animation-delay: 0.3s; }

.et-cat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s;
  border-radius: inherit;
}

.et-cat-card:hover {
  border-color: transparent;
  box-shadow: var(--et-shadow-lg);
  transform: translateY(-4px);
}

.et-cat-card:hover::before { opacity: 1; }

.et-cat-card .et-cat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  transition: transform 0.3s;
  position: relative;
  z-index: 1;
}

.et-cat-card:hover .et-cat-icon { transform: scale(1.08); }

.et-cat-card h3 {
  font-family: var(--et-font-display);
  font-size: 1.15rem;
  font-weight: 500;
  position: relative;
  z-index: 1;
}

.et-cat-card .et-cat-desc {
  font-size: 0.82rem;
  color: var(--et-slate);
  line-height: 1.55;
  position: relative;
  z-index: 1;
}

.et-cat-card .et-cat-count {
  margin-top: auto;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--et-slate);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
  padding-top: 0.85rem;
  border-top: 1px solid var(--et-fog);
  transition: border-color 0.3s;
}

.et-cat-card:hover .et-cat-count { border-color: transparent; }

.et-cat-card .et-cat-arrow {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: all 0.3s;
}

.et-cat-card:hover .et-cat-arrow { transform: translateX(2px); }

/* Category theming */
.et-cat-teams .et-cat-icon { background: var(--et-cat-teams-bg); color: var(--et-cat-teams); }
.et-cat-teams::before { background: linear-gradient(135deg, var(--et-cat-teams-bg), transparent 60%); }
.et-cat-teams:hover { border-color: rgba(124,93,199,0.15); }
.et-cat-teams .et-cat-arrow { background: var(--et-cat-teams-bg); color: var(--et-cat-teams); }

.et-cat-office .et-cat-icon { background: var(--et-cat-office-bg); color: var(--et-cat-office); }
.et-cat-office::before { background: linear-gradient(135deg, var(--et-cat-office-bg), transparent 60%); }
.et-cat-office:hover { border-color: rgba(37,99,235,0.15); }
.et-cat-office .et-cat-arrow { background: var(--et-cat-office-bg); color: var(--et-cat-office); }

.et-cat-copilot .et-cat-icon { background: var(--et-cat-copilot-bg); color: var(--et-cat-copilot); }
.et-cat-copilot::before { background: linear-gradient(135deg, var(--et-cat-copilot-bg), transparent 60%); }
.et-cat-copilot:hover { border-color: rgba(217,119,6,0.15); }
.et-cat-copilot .et-cat-arrow { background: var(--et-cat-copilot-bg); color: var(--et-cat-copilot); }

.et-cat-windows .et-cat-icon { background: var(--et-cat-windows-bg); color: var(--et-cat-windows); }
.et-cat-windows::before { background: linear-gradient(135deg, var(--et-cat-windows-bg), transparent 60%); }
.et-cat-windows:hover { border-color: rgba(5,150,105,0.15); }
.et-cat-windows .et-cat-arrow { background: var(--et-cat-windows-bg); color: var(--et-cat-windows); }

.et-cat-powerbi .et-cat-icon { background: var(--et-cat-powerbi-bg); color: var(--et-cat-powerbi); }
.et-cat-powerbi::before { background: linear-gradient(135deg, var(--et-cat-powerbi-bg), transparent 60%); }
.et-cat-powerbi:hover { border-color: rgba(220,38,38,0.15); }
.et-cat-powerbi .et-cat-arrow { background: var(--et-cat-powerbi-bg); color: var(--et-cat-powerbi); }

/* ═══════════════════════════════════
   LATEST POSTS
═══════════════════════════════════ */
.et-latest {
  background: var(--et-snow);
  border-top: 1px solid var(--et-fog);
  border-bottom: 1px solid var(--et-fog);
}

.et-latest-inner {
  max-width: var(--et-page-max);
  margin: 0 auto;
  padding: 3.5rem var(--et-page-pad) 4rem;
}

.et-section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.et-section-header h2 {
  font-family: var(--et-font-display);
  font-size: 1.6rem;
  font-weight: 500;
}

.et-section-header a {
  color: var(--et-blue-600);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
}

.et-section-header a:hover { gap: 8px; }

.et-posts-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* Left column: 2 stacked featured cards, stretch to match right */
.et-featured-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.et-featured-post {
  background: var(--et-white);
  border-radius: var(--et-radius-lg);
  border: 1.5px solid var(--et-fog);
  padding: 1.75rem;
  text-decoration: none;
  color: var(--et-ink);
  display: flex;
  flex-direction: column;
  flex: 1;
  transition: all 0.3s cubic-bezier(0.2, 0, 0, 1);
}

.et-featured-post:hover {
  border-color: var(--et-blue-200);
  box-shadow: var(--et-shadow-md);
  transform: translateY(-2px);
}

.et-featured-post .et-post-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 6px;
  width: fit-content;
  margin-bottom: 0.75rem;
}

.et-featured-post h3 {
  font-family: var(--et-font-display);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 0.6rem;
}

.et-featured-post .et-post-excerpt {
  font-size: 0.88rem;
  color: var(--et-slate);
  line-height: 1.6;
  flex: 1;
}

.et-featured-post .et-post-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--et-fog);
  font-size: 0.78rem;
  color: var(--et-slate);
}

.et-featured-post .et-read-more {
  color: var(--et-blue-600);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
}

.et-featured-post:hover .et-read-more { gap: 8px; }

/* Right column: 6 compact items, stretch to match left */
.et-posts-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.et-post-item {
  background: var(--et-white);
  border-radius: var(--et-radius);
  border: 1.5px solid var(--et-fog);
  padding: 0.95rem 1.2rem;
  text-decoration: none;
  color: var(--et-ink);
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  flex: 1;
  transition: all 0.3s cubic-bezier(0.2, 0, 0, 1);
}

.et-post-item:hover {
  border-color: var(--et-blue-200);
  box-shadow: var(--et-shadow-sm);
  transform: translateX(3px);
}

.et-post-item .et-post-num {
  font-family: var(--et-font-display);
  font-size: 1.15rem;
  color: var(--et-silver);
  font-weight: 400;
  line-height: 1;
  min-width: 22px;
  padding-top: 2px;
}

.et-post-item:hover .et-post-num { color: var(--et-blue-500); }

.et-post-item-body h4 {
  font-family: var(--et-font-display);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.35;
  margin-bottom: 0.25rem;
}

.et-post-item-body .et-post-tag-sm {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 2px 7px;
  border-radius: 4px;
  display: inline-block;
}

/* Tag colors */
.et-tag-copilot { background: var(--et-cat-copilot-bg); color: var(--et-cat-copilot); }
.et-tag-browser { background: var(--et-cat-browser-bg); color: var(--et-cat-browser); }
.et-tag-outlook { background: var(--et-cat-teams-bg); color: var(--et-cat-teams); }
.et-tag-windows { background: var(--et-cat-windows-bg); color: var(--et-cat-windows); }
.et-tag-office { background: var(--et-cat-office-bg); color: var(--et-cat-office); }
.et-tag-teams { background: var(--et-cat-teams-bg); color: var(--et-cat-teams); }
.et-tag-powerbi { background: var(--et-cat-powerbi-bg); color: var(--et-cat-powerbi); }

/* ═══════════════════════════════════
   NEWSLETTER
═══════════════════════════════════ */
.et-newsletter {
  max-width: var(--et-page-max);
  margin: 0 auto;
  padding: 4rem var(--et-page-pad);
}

.et-newsletter-box {
  background: var(--et-blue-900);
  border-radius: 20px;
  padding: 3.5rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  position: relative;
  overflow: hidden;
}

.et-newsletter-box::before {
  content: '';
  position: absolute;
  top: -60%;
  right: -10%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(59,124,236,0.2), transparent 65%);
  pointer-events: none;
}

.et-newsletter-box::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: 10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(59,124,236,0.1), transparent 65%);
  pointer-events: none;
}

.et-newsletter-text { position: relative; z-index: 1; flex: 1; }

.et-newsletter-text h2 {
  font-family: var(--et-font-display);
  font-size: 1.65rem;
  font-weight: 500;
  color: var(--et-white);
  margin-bottom: 0.5rem;
}

.et-newsletter-text p {
  color: rgba(255,255,255,0.55);
  font-size: 0.92rem;
  line-height: 1.6;
}

.et-newsletter-action {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.et-newsletter-action input {
  width: 260px;
  padding: 13px 18px;
  border-radius: 10px;
  border: 1.5px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.06);
  color: white;
  font-family: var(--et-font-body);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
}

.et-newsletter-action input::placeholder { color: rgba(255,255,255,0.3); }
.et-newsletter-action input:focus { border-color: var(--et-blue-500); }

.et-newsletter-action button {
  padding: 13px 24px;
  background: var(--et-blue-600);
  color: white;
  border: none;
  border-radius: 10px;
  font-family: var(--et-font-body);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.et-newsletter-action button:hover {
  background: var(--et-blue-500);
  transform: translateY(-1px);
}

/* ═══════════════════════════════════
   CUSTOM FOOTER
═══════════════════════════════════ */
.et-footer {
  border-top: 1px solid var(--et-fog);
}

.et-footer-inner {
  max-width: var(--et-page-max);
  margin: 0 auto;
  padding: 2rem var(--et-page-pad);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--et-slate);
}

.et-footer a {
  color: var(--et-slate);
  text-decoration: none;
  transition: color 0.2s;
}

.et-footer a:hover { color: var(--et-blue-600); }

.et-footer-links { display: flex; gap: 1.5rem; }

/* ═══════════════════════════════════
   ANIMATIONS
═══════════════════════════════════ */
@keyframes et-fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes et-fadeDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes et-floatIn {
  from { opacity: 0; transform: translateY(12px) scale(0.85); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes et-floatBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(var(--et-float-y, -8px)); }
}

/* ═══════════════════════════════════
   RESPONSIVE
═══════════════════════════════════ */
@media (max-width: 1024px) {
  .et-cat-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .et-nav-inner {
    flex-wrap: wrap;
  }

  .et-nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0;
    padding: 0.5rem var(--et-page-pad) 1rem;
    order: 10;
    background: var(--et-white);
  }

  /* Full-width background behind mobile menu */
  .et-nav-open {
    background: var(--et-white) !important;
    box-shadow: 0 8px 24px rgba(27,36,52,0.1) !important;
  }

  .et-nav-links li {
    list-style: none;
  }

  .et-nav-links a {
    display: block !important;
    padding: 10px 0 !important;
    font-size: 1.05rem !important;
    border-bottom: 1px solid var(--et-fog);
  }

  .et-nav-links li:last-child a {
    border-bottom: none;
  }

  /* When hamburger is toggled open */
  .et-nav-open .et-nav-links {
    display: flex !important;
  }

  /* Hamburger animation */
  .et-nav-hamburger { display: block; }

  .et-nav-open .et-nav-hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
  }
  .et-nav-open .et-nav-hamburger span:nth-child(2) {
    opacity: 0;
  }
  .et-nav-open .et-nav-hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
  }

  .et-nav-hamburger span {
    transition: all 0.25s ease;
  }

  .et-search-toggle { margin-left: auto; }
  .et-hero { padding: 3rem var(--et-page-pad) 2rem; }
  .et-hero-floats { display: none; }
  .et-cat-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .et-cat-card { padding: 1.25rem; }
  .et-posts-layout { grid-template-columns: 1fr; }
  .et-newsletter-box { flex-direction: column; padding: 2.5rem 2rem; text-align: center; gap: 1.5rem; }
  .et-newsletter-action { flex-direction: column; width: 100%; }
  .et-newsletter-action input { width: 100%; }
  .et-section-header { flex-direction: column; align-items: flex-start; gap: 0.35rem; }
  .et-footer-inner { flex-direction: column; gap: 0.75rem; text-align: center; }
}

@media (max-width: 480px) {
  .et-cat-grid { grid-template-columns: 1fr; }
}
