/*
Theme Name: Eatess (GeneratePress Child)
Theme URI: https://drecipes.com/
Author: dana
Author URI: https://www.drecipes.com/about/
Description: Clean recipe theme with sticky header + top bar (GeneratePress child).
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: drecipes
Template: generatepress
*/




/* General reset & font */
body {
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  background: #ffffff;
  color: #e7e6e6;
}

/* Top bar */
.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #8E2E2E;
  padding: 10px 10px;
  border-bottom: 1px solid #ffffff;
}

.social img {
  height: 24px;
}

.secondary-menu a {
  margin-left: 20px;
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
}

.main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 15px;
  background: rgba(255,255,255,.48);        /* fallback for browsers without lab() */
  background: lab(100% 0.01 -0.01 / 0.48);  /* preferred */
  border-bottom: 1px solid rgb(217, 202, 202);
}


.logo a {
  font-size: 28px;
  font-weight: 500;
  color: #b6a344;
  text-decoration: none;
}

.main-menu a {
  font-family: 'Work Sans', sans-serif;
  font-weight: 700; /* or 800 if you want it extra bold */
   font-size: 20px;  
  margin-left: 45px;
  color: #963d02;
  text-decoration: none;
  font-weight: bold;
}

.main-menu .dropdown {
  position: relative;
  display: inline-block;
}

.main-menu .dropdown-content {
  display: none;
  position: absolute;
  background-color: rgb(255, 255, 255);
  box-shadow: 0px 8px 16px rgba(139, 106, 106, 0.2);
  z-index: 3;
  padding: 15px;
}

.main-menu .dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content a {
  display: block;
  margin: 5px 20px;
  color: #000000;
  text-decoration: none;
}


.search-button {
  all: unset;             /* Reset all default browser styles */
  font-size: 22px;        /* Size of the emoji */
  cursor: pointer;
  display: inline-block;
  line-height: 1;
  margin-left: 15px;      /* spacing from previous item */
  background: none;
  border: none;
  outline: none;
  box-shadow: none;
  vertical-align: middle;
}
.search-button:hover {
  transform: scale(1.1);
}







.welcome-banner {
  background-color: #fafaf0;
  text-align: center;
  padding: 15px 20px;
  font-family: 'Open Sans', sans-serif;
  color: #0b0b0b;
}

.welcome-banner h1 {
  font-size: 2.5rem;
  font-family: 'Brush Script MT', cursive;
  margin-bottom: 10px;
}

.welcome-banner p {
  font-size: 1.2rem;
  color: #4e4c4c;
}


/* Hero Section */
.hero {
  text-align: center;
  padding: 30px 20px;
}

.hero h2 {

  font-size: 33px;
  margin-bottom: 10px;
  color: #6d2e2e;
}


/* Category Grid */
/* Grid Row Wrappers */
.category-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

/* Icon Styling */
.icon-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.2s ease;
  cursor: pointer;
}

.icon-wrapper img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  transition: transform 0.2s ease-in-out;
}

.icon-wrapper span {
  margin-top: 8px;
  font-weight: bold;
  color: #454545;
}





.icon-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.2s ease;
  cursor: pointer;
}

.icon-wrapper img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  transition: transform 0.2s ease-in-out;
}

.icon-wrapper span {
  margin-top: 8px;
  font-weight: bold;
  color: #000;
}


.about-me-wrapper {
  background-color: #d3d30c;
  padding: 10px 0;
}


.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 10px;
}



.about-me-section {
  padding: 50px 0;
  background-color: #fafaf1;
}

.about-me-container {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;

}

.about-me-image img {
  width: 180px;
  height: auto;
  border-radius: 12px;
}

.about-me-text {
  flex: 1;
}

.about-me-text h2 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 15px;
    color: #333;
}

.about-me-text p {
  font-size: 18px;
  line-height: 1.6;
  color: #333;
  margin-bottom: 20px;
    font-family: 'Jost', sans-serif;

}





.about-me-button {
  display: inline-block;
  background-color: #8b2c2c;
  color: #fff !important;             /* keep text white */
  padding: 12px 24px;
  border-radius: 30px;
  text-decoration: none !important;   /* no underline */
  font-weight: bold;
  cursor: pointer;
}

/* Ensure it stays white on all states */
.about-me-button:hover,
.about-me-button:focus,
.about-me-button:active,
.about-me-button:visited {
  color: #fff !important;
  text-decoration: none !important;
}

/* Optional: subtle hover so it feels clickable */
.about-me-button:hover { 
  background-color: #762525;
}

/* Optional: visible keyboard focus */
.about-me-button:focus-visible {
  outline: 2px solid #b76a6a;
  outline-offset: 2px;
}








.newest-recipes {
  padding: 10px 10px;
  background-color: #ffffff;
  color: #454545;
    font-family: 'Jost', sans-serif;

}

.newest-recipes .container {
  max-width: 1200px;
  margin: 0 auto;
      font-family: 'Jost', sans-serif;

}

.newest-recipes .header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
      font-family: 'Jost', sans-serif;

}

.newest-recipes h2 {

  font-size: 36px;
  margin-bottom: 10px;
}

.newest-recipes .see-all {
  color: #8b2c2c;
  font-weight: bold;
  text-decoration: underline;
  margin-bottom: 10px;
      font-family: 'Jost', sans-serif;

}

.newest-recipes .intro-text {
  font-size: 20px;
  color: #535151;
  margin: 1rem 0 2rem 0;
  padding: 0;
  max-width: none;
  text-align: left;
      font-family: 'Jost', sans-serif;


}












.recipe-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  

}




@media (max-width: 768px) {
  .recipe-cards,
  .recipe-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Two columns on mobile */
    gap: 20px;
    padding: 0 10px;
    
  }

  .recipe-card {
    width: 100%;
  }

  .recipe-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  }
}

@media (max-width: 768px) {
  .recipe-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .recipe-card {
    padding: 8px;
  }

  .recipe-card img {
    width: 100%;
    height: auto;
    border-radius: 6px;
  }

  .recipe-card .recipe-category {
    font-size: 11px;
    font-weight: bold;
    color: #b63636;
    margin-top: 6px;
    margin-bottom: 2px;
  }

  .recipe-card .recipe-title,
  .recipe-card h3.recipe-title {
    font-size: 13px;
    line-height: 1.4;
    font-weight: 600;
    margin: 2px 0 8px 0;
  }
}

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







.recipe-card {
  text-align: left;
}

/* DESKTOP & TABLET */
.recipe-card img {
  width: 100%;
  height: 350px;         /* consistent height on desktop */
  object-fit: cover;
  border-radius: 6px;
}

/* MOBILE */
@media (max-width: 768px) {
  .recipe-card img {
    height: 220px;       /* shorter height on mobile */
    object-fit: cover;
    border-radius: 6px;
  }
}



.recipe-card .category {
  font-size: 14px;
  color: #8b2c2c;
  font-weight: bold;
  text-transform: uppercase;
  margin-top: 12px;
  margin-bottom: 3px;
}

.recipe-card .recipe-title {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.4;
  color: #282727;
}






/* Shake animation */
@keyframes shake {
  0% { transform: rotate(0deg); }
  25% { transform: rotate(15deg); }
  50% { transform: rotate(-15deg); }
  75% { transform: rotate(10deg); }
  100% { transform: rotate(0deg); }
}

.icon-wrapper:hover img {
  animation: shake 0.4s ease;
}

/* Site footer only (not post meta footers) */
#colophon,
.site-footer {
  text-align: center;
  background: #8b2c2c;
  padding: 20px 0;
  margin-top: 50px;
  font-size: 14px;
  color: #ffffff;
}


.footer-links {
  margin-bottom: 10px;
}

.footer-links a {
  margin: 0 10px;
  color: #ffffff;
  text-decoration: none;
}


@media (max-width: 768px) {
  .about-me-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .about-me-text {
    text-align: center;
  }
}


.featured-recipe {
  background-color: #ffffff;
  padding: 10px 10px;
  padding-top: 1.5rem; /* reduce top padding */
  margin-top: 1rem;  /* reduce top margin */
}

.featured-recipe-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  background-color: #fafaf0;
  border: 4px dotted #ebeacc;
  border-radius: 20px;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 12px;  /* ⬅️ REDUCED GAP */
  flex-wrap: wrap;
  font-family: 'Jost', sans-serif;
}
/* Responsive featured image (scales with container) */
.featured-image img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}


/* Apply rounded corners to all images sitewide */
img {
  border-radius: 20px;
  display: block;
  max-width: 100%;
  height: auto;
}




.featured-content {
  max-width: 700px;
  flex: 1;
}










/* === CUSTOM ADDITIONAL CSS (from WordPress Customizer) === */


/* ─────────────────────────────────────────────
   1) Page tweaks
─────────────────────────────────────────────── */
.page .entry-title { display: none; }

/* ─────────────────────────────────────────────
   2) Card grid on homepage
─────────────────────────────────────────────── */
.newest-recipes .recipe-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
@media (max-width: 900px) {
  .newest-recipes .recipe-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .newest-recipes .recipe-cards { grid-template-columns: 1fr; }
}
.newest-recipes .recipe-card {
  border: 1px solid #e9e9e9;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.newest-recipes .recipe-card img { width: 100%; height: auto; display: block; }
.newest-recipes .recipe-card .category {
  margin: 12px 16px 0; font-size: 12px; letter-spacing: .06em; color: #a45a5a;
}
.newest-recipes .recipe-card .recipe-title { margin: 6px 16px 16px; font-size: 18px; line-height: 1.3; }
.newest-recipes .recipe-card .recipe-title a { text-decoration: none; color: #3b1f1f; }






/* ─────────────────────────────────────────────
   3) Full-bleed custom headers (mobile + desktop)
─────────────────────────────────────────────── */
.mobile-header,
.desktop-header {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  position: relative;
  z-index: 1000;
}

/* Prevent wrappers from clipping the search bar */
.site-header, .desktop-header, .mobile-header, .main-navigation,
.entry-content, .inside-article, .grid-container { overflow: visible !important; }

/* Hide GP nav on mobile if you’re using the custom header */
@media (max-width: 768px){
  .menu-toggle, .main-navigation { display: none !important; }
}

/* ─────────────────────────────────────────────
   4) Mobile header layout + compact logo (final)
─────────────────────────────────────────────── */
@media (max-width: 768px){
  .mobile-header .main-header{
    display:flex; align-items:center; justify-content:space-between;
    padding:.35rem .75rem !important; /* tighter row */
  }

  /* Buttons */
  .mobile-header .mobile-menu-toggle,
  .mobile-header .search-button{
    width:40px; height:40px; line-height:1;
    display:flex; align-items:center; justify-content:center;
    background:transparent; border:0; color:#2b2b2b; cursor:pointer;
  }

  /* Kill any rogue font-size/line-height inflation on the logo link */
  .mobile-header .logo,
  .mobile-header .logo a{
    display:flex !important; align-items:center !important;
    font-size:0 !important; line-height:0 !important;
    margin:0 !important; padding:0 !important;
  }

  /* Fixed mobile logo height */
  .mobile-header .logo { height:32px !important; }
  .mobile-header .logo img{
    height:100% !important; width:auto !important; max-width:180px;
    display:block !important;
  }
}

/* Desktop logo sanity (for WordPress logo widgets, etc.) */
.site-logo img, img.custom-logo, .inside-header .site-logo img {
  max-height: 56px !important; height: auto !important; width: auto !important; display: block !important;
}
@media (max-width: 768px){
  .site-logo img, img.custom-logo, .inside-header .site-logo img { max-height: 40px !important; }
}

/* ─────────────────────────────────────────────
   5) Slide panels (menu + search) with animation
─────────────────────────────────────────────── */
.slide-panel{
  overflow:hidden; max-height:0; opacity:0; transform:translateY(-4px);
  transition:max-height .28s ease, opacity .22s ease, transform .22s ease;
}
.slide-panel.is-open,
.slide-panel.show{
  max-height:800px; opacity:1; transform:translateY(0);
}

/* Mobile menu look */
.mobile-header .mobile-menu{
  background:#fff; border-top:1px solid #eee;
}
.mobile-header .mobile-menu a{
  display:block; padding:.9rem .9rem; color:#6b2f08; text-decoration:none; border-top:1px solid #f3f3f3;
}

/* ─────────────────────────────────────────────
   6) Shared search bar (under header)
─────────────────────────────────────────────── */
.header-search-bar{
  display:none; gap:.5rem; align-items:center; justify-content:flex-end;
  padding:.5rem .75rem; background:#f7f7f7;
  border-top:1px solid #e6e6e6; border-bottom:1px solid #e6e6e6;
  position:relative; z-index:9999; margin:8px auto 0; max-width:1200px;
}
.header-search-bar.is-open,
.header-search-bar.show{ display:flex !important; }

.header-search-bar input[type="search"]{
  width:100%; max-width:480px; padding:.6rem .75rem;
  border:1px solid #ddd; border-radius:4px;
}
.header-search-bar button[type="submit"]{
  padding:.6rem .9rem; border:0; border-radius:4px; background:#5f6065; color:#fff; cursor:pointer;
}
.header-search-bar button[type="submit"]:hover{ opacity:.9; }






/* Desktop logo size (adjust the px value to taste) */
@media (min-width: 769px){
  .desktop-header .logo img{
    height: 48px !important;   /* try 42 / 48 / 52 until it feels right */
    width: auto !important;
    display: block !important;
  }

  /* Optional: tighten the desktop header row a bit */
  .desktop-header .main-header{
    padding: 10px 0;           /* reduce vertical padding if needed */
  }
}


@media (min-width: 769px){
  .inside-header .site-logo img,
  img.custom-logo{
    max-height: 48px !important;
    height: auto !important;
    width: auto !important;
  }
}





/* Desktop header: keep full-width bars, just add side gutters */
@media (min-width: 769px){
  /* full-width red top bar, no centering */
  .desktop-header .top-bar{
    padding-left: 40px;   /* ~1cm */
    padding-right: 40px;
  }

  /* full-width white nav row, no centering */
  .desktop-header .main-header{
    padding-left: 40px;   /* ~1cm */
    padding-right: 40px;
  }

  /* optional: small gap between nav items */
  .desktop-header .main-menu{ gap: 24px; }
}




/* Social icons base */
.top-bar .social-icons{ display:flex; gap:14px; }
.top-bar .social-icons .icon{
  display:inline-flex; align-items:center; justify-content:center;
  width:34px; height:34px; border-radius:9999px;
  color:#8E2E2E; background:transparent;
  transition:transform .15s ease, background .15s ease, color .15s ease;
}
.top-bar .social-icons .icon:hover{ transform:translateY(-1px); background:#f4eaea; color:#652020; }
.top-bar .social-icons svg{ width:20px; height:20px; display:block; }

/* Desktop: center icons; keep About/Contact fixed to the right */
@media (min-width: 769px){
  .desktop-header .top-bar{
    display:flex; align-items:center; justify-content:center;
    position:relative; padding-left:40px; padding-right:40px; /* your gutter */
  }
  .desktop-header .top-bar .secondary-menu{
    position:absolute; right:40px; top:50%; transform:translateY(-50%);
    display:flex; gap:18px;
  }
}

/* Mobile: About/Contact left, icons right */
@media (max-width: 768px){
  .mobile-header .top-bar{
    display:flex; align-items:center; justify-content:space-between;
    padding:6px 16px;
  }
  .mobile-header .top-bar .secondary-menu{ display:flex; gap:16px; }
  .mobile-header .top-bar .social-icons{ gap:12px; }
  .mobile-header .top-bar .social-icons .icon{ width:32px; height:32px; }
}




/* Bigger, brighter social icons in the top bar */
.top-bar .social-icons .icon{
  width: 42px;
  height: 42px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;                     /* icon color */
  background: transparent;
  border: 1px solid rgba(255,255,255,.25);
  transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
}

/* make the SVG paths use the current text color */
.top-bar .social-icons svg{
  width: 24px;                     /* icon size */
  height: 24px;
}
.top-bar .social-icons svg path{
  fill: currentColor !important;
}

/* hover/focus */
.top-bar .social-icons .icon:hover,
.top-bar .social-icons .icon:focus-visible{
  background: rgba(255,255,255,.15);
  border-color: rgba(255,255,255,.45);
  transform: translateY(-1px);
}

/* (optional) active click feedback */
.top-bar .social-icons .icon:active{
  transform: translateY(0);
}










/* Full-bleed background even if footer sits inside a max-width container */
footer {
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;

  background: #7f2a2a;
  color: #f4e3c1;
  padding: 22px 16px;
}





.my-footer .container {
  max-width: 1200px; margin: 0 auto; padding: 0 16px;
  text-align: center;
}

.my-footer .links { display: inline-flex; gap: 20px; margin-bottom: 8px; }
.my-footer .links a { text-decoration: none; }












/* Force Tasty Jump + Print buttons to match Explore Further */
a.tasty-recipes-jump-to,
a.tasty-recipes-print,
.tasty-recipes-buttons a,
.tasty-recipes-quick-links a {
  background-color: #f4e7e4 !important;
  color: #333 !important;
  border: 1px solid #d8c8c6 !important;
  border-radius: 50px !important;
  padding: 0.75rem 1.8rem !important;
  font-weight: 600 !important;
  font-family: inherit !important;
  text-decoration: none !important;
  display: inline-block !important;
  transition: all 0.3s ease-in-out !important;
}

/* Hover effect */
a.tasty-recipes-jump-to:hover,
a.tasty-recipes-print:hover,
.tasty-recipes-buttons a:hover,
.tasty-recipes-quick-links a:hover {
  background-color: #e9dad8 !important;
  color: #111 !important;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08) !important;
}

/* Container centering */
.tasty-recipes-buttons,
.tasty-recipes-quick-links {
  text-align: center !important;
  margin: 2rem 0 !important;
}

.tasty-recipes-buttons a + a,
.tasty-recipes-quick-links a + a {
  margin-left: 1rem !important;
}






/* Remove dot + add spacing */
.tasty-recipes-buttons,
.tasty-recipes-quick-links {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 12px !important;      /* space between buttons */
  font-size: 0 !important;   /* hides the raw "·" text node */
}

.tasty-recipes-buttons a,
.tasty-recipes-quick-links a {
  font-size: 16px !important; /* restore text size */
}

/* Ensure no leftover margin rule adds extra space */
.tasty-recipes-buttons a + a,
.tasty-recipes-quick-links a + a {
  margin-left: 0 !important;
}




/* Mobile tweaks for Jump/Print buttons */
@media (max-width: 600px) {
  .tasty-recipes-buttons,
  .tasty-recipes-quick-links {
    gap: 8px !important;                 /* smaller space */
  }

  .tasty-recipes-buttons a,
  .tasty-recipes-quick-links a {
    font-size: 14px !important;          /* smaller text */
    padding: 0.55rem 1rem !important;     /* tighter padding */
    border-radius: 40px !important;       /* keep pill look, slightly tighter */
  }
}

/* Ultra-narrow phones: stack if needed */
@media (max-width: 360px) {
  .tasty-recipes-buttons,
  .tasty-recipes-quick-links {
    flex-direction: column !important;
    gap: 10px !important;
  }
}



















.featured-badge {
  font-size: 22px;
  font-family: 'Brush Script MT', cursive;
  color: #a52a2a;
  margin-bottom: 10px;
}



.featured-title {
  font-size: 36px;
  font-weight: 800;
  font-family: 'Anton', sans-serif;
  margin-bottom: 10px;
  color: #000000;
}

.featured-description {
  font-size: 20px;
  color: #555;
  margin-bottom: 10px;
  line-height: 1.6;
  
}

.featured-button {
  display: inline-block;
  background-color: #8b2c2c;
  color: white;
  padding: 14px 28px;
  border-radius: 40px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  transition: background 0.3s;
}

.featured-button:hover {
  background-color: #6a1e1e;
}

@media (max-width: 768px) {
  .featured-recipe-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .featured-content {
    max-width: 100%;
  }
}










.dinner-recipe-2 {
  padding: 3rem 1rem;
  background-color: #ffffff;
}

.dinner-recipe-2 .container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
  box-sizing: border-box;
}

.dinner-recipe-2 .header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}

.dinner-recipe-2 .section-title {
  font-size: 34px;
  font-weight: 800;
  font-family: 'Anton', sans-serif;
  color: #040404;
  margin: 0;
}

.dinner-recipe-2 .see-all-link {
  font-weight: bold;
  text-decoration: underline;
  color: #8b2e2e;
  font-size: 0.95rem;
    font-size: 19px;
}

.dinner-recipe-2 {
  padding: 2rem 1rem 1rem 1rem; /* Less bottom padding */
}

.dinner-recipe-2 .section-subtitle {
  font-size: 20px;
  color: #666;
  margin-bottom: 0.5rem; /* smaller space below */
  margin-top: 0.5rem;     /* smaller space above */
}


.recipe-grid {
   display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 30px;
  box-sizing: border-box;
}






.newest-recipes {
  margin-bottom: 40px; /* You can increase this number if needed */
}

.newsletter-section {
    margin-bottom: 20px;
}






@media (max-width: 767px) {
  .dinner-recipe-2 .header-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .dinner-recipe-2 .section-title {
    font-size: 28px;
    text-align: left;
  }



  .dinner-recipe-2 .section-subtitle {
    font-size: 16px;
    text-align: left;
    margin-top: 10px;
  }

  .recipe-grid {
    grid-template-columns: 1fr;
    padding: 0 10px;
  }

  .dinner-recipe-2 .container {
    padding: 0 10px;
  }
}


.recipe-grid {
  padding-left: 10px;  /* Match this with header-wrapper */
}





.custom-search-section {
  background-color: #f4f4ea; /* light cream */
  padding: 3rem 1rem;
  text-align: center;
  border-radius: 0;
}

.custom-search-section .subheading {
  font-family: 'Caveat', cursive;
  font-size: 1.25rem;
  color: #444;
  margin-bottom: 0.3rem;
}

.custom-search-section .search-title {
  font-family: 'Georgia', serif;
  font-size: 1.75rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  color: #2e2e2e;
}

.search-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 700px;
  margin: 0 auto;
  border: 3px solid #edece2;
  border-radius: 50px;
  overflow: hidden;
  background-color: white;
}

.search-bar input {
  flex: 1;
  padding: 1rem 1.5rem;
  border: none;
  font-size: 1rem;
  outline: none;
  border-radius: 50px 0 0 50px;
}

.search-bar button {
  background-color: #ffffff;
  color: white;
  border: none;
  padding: 0 1.5rem;
  font-size: 1.2rem;
  height: 100%;
  cursor: pointer;
  border-radius: 0 50px 50px 0;
}

.or-text {
  margin-top: 1.5rem;
  font-size: 1.1rem;
}

.browse-link {
  font-weight: bold;
  text-decoration: underline;
  color: #662828;
  margin-left: 0.25rem;
}



.category-section {
  padding: 3rem 1rem;
  border-top: 3px dotted #f2f2c7;
  text-align: left;
}

.category-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  max-width: 1200px;
  margin: 0 auto 0.5rem auto; /* reduced bottom margin */
  flex-wrap: wrap;
  gap: 1rem;
}

.category-title {
  font-family: Georgia, serif;
  font-weight: bold;
  font-size: 2rem;
  margin: 0; /* remove default spacing */
}

.see-all-link {
  font-weight: bold;
  text-decoration: underline;
  color: #8b2e2e;
  font-size: 0.95rem;
    font-size: 19px;

}

 

.category-description {
  margin: 0.5rem 0 2rem 0;
  color: #555;
  font-size: 1.125rem;
  text-align: left;
  padding: 0;
  max-width: none;
    font-size: clamp(18px, 2vw, 20px); /* Grows with screen size */


}

.category-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1rem;
}

.category-label {
  font-weight: bold;                 /* Make text bold */
  color: #8E2E2E;                    /* Use your theme color (dark red example) */
  font-family: 'Jost', sans-serif;  /* Ensure it's consistent with your body text */
  font-size: 15px;                   /* Adjust size as you prefer */
  text-transform: uppercase;        /* Makes sure it stays in all caps */
  letter-spacing: 0.5px;            /* Optional: nice spacing between letters */
  display: block;                   /* Ensures it behaves like a paragraph under the image */
  margin-top: 10px;                 /* Space between image and label */
}



.recipe-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.recipe-card {
  text-align: left;
}

.recipe-card img {
  width: 100%;
  border-radius: 5px;
  object-fit: cover;
}

.recipe-category {
  color: #8b2e2e;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin: 0.75rem 0 0.3rem;
}

.recipe-title {
  font-family: Georgia, serif;
  font-size: 1.1rem;
  font-weight: bold;
  line-height: 1.4;
}


.newsletter-section {
  background-color: #f7f7ea;
  padding: 15px 20px;
}

.newsletter-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
}

.newsletter-image img {
  max-width: 300px;
  border: 10px solid white;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.newsletter-form {
  flex: 1;
  max-width: 1200px;
}

.newsletter-form h2 {
  font-size: 2rem;
  font-family: 'Georgia', serif;
  font-weight: bold;
  margin-bottom: 10px;
  color: #333;
}

.newsletter-form p {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #333;
}

.newsletter-form input {
  width: 100%;
  padding: 15px;
  margin-bottom: 15px;
  font-size: 1rem;
  border: 1px solid #bcbcbc;
  border-radius: 5px;
}

.newsletter-form button {
  width: 100%;
  padding: 15px;
  background-color: #f4431e;
  color: rgb(13, 0, 0);
  font-size: 1.2rem;
  font-weight: bold;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: background-color 0.3s ease;
   margin-bottom: 20px;
}

.newsletter-form button:hover {
  background-color: #c53412;
}


















/* OPTIONAL: Make sure mobile menu appears properly on small screens */
@media (max-width: 768px) {
  .mobile-header {
    display: block;
    width: 100%;
    background: white;
    z-index: 1000;
  }

  .mobile-header nav,
  .mobile-header .logo,
  .mobile-header button {
    display: inline-block;
    vertical-align: middle;
  }

  .mobile-menu-toggle {
    font-size: 22px;
    margin: 10px;
    cursor: pointer;
    background: none;
    border: none;
  }

  .mobile-menu {
    display: none;
    flex-direction: column;
    background: #fff;
    padding: 10px;
    border-top: 1px solid #ddd;
  }

  .mobile-menu a {
    padding: 10px 0;
    text-decoration: none;
    color: #2d2b2b;
    font-weight: bold;
  }

  .mobile-menu.show {
    display: flex;
  }
}





@media (max-width: 768px) {
  .mobile-header {
    display: block;
  }
}


.mobile-header a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
}
/* and the rest I gave you */










/* Show/hide headers based on screen size */
.mobile-header {
  display: none;
}
.desktop-header {
  display: block;
}

@media (max-width: 768px) {
  .mobile-header {
    display: block;
    background: white;
    z-index: 1000;
  }
  .desktop-header {
    display: none;
  }

  .mobile-header .main-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
  }

  .mobile-menu-toggle {
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
  }

  .mobile-menu {
    display: none;
    flex-direction: column;
    padding: 10px;
    background-color: #fff;
    border-top: 1px solid #ccc;
  }

  .mobile-menu.show {
    display: flex;
  }

  .mobile-menu a {
    padding: 10px 0;
    text-decoration: none;
    color: #353535;
    font-weight: bold;
  }
}




@media (max-width: 768px) {
  .category-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 0 10px;
    margin: 20px auto;
  }

  .icon-wrapper {
    width: 100px;
  }
}









/* Hide horizontal scroll globally */
html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  max-width: 100%;
}

/* Prevent image overflow */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Fix category icons layout */
@media (max-width: 768px) {
  .category-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 0 10px;
    margin: 20px auto;
    width: 100%;
  }

  .icon-wrapper {
    width: 100px;
    text-align: center;
  }
}

/* Fix logo area if it’s overflowing */
.mobile-header .main-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 15px;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

/* Prevent nav menu from overflowing */
.mobile-header nav {
  overflow-x: hidden;
  max-width: 100%;
}





@media (max-width: 768px) {
  .featured-recipe-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px;
    box-sizing: border-box;
    overflow: hidden;
  }

  .featured-image img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
  }

  .featured-content {
    text-align: center;
    padding: 12px;
  }

  .featured-title {
    font-size: 20px;
    line-height: 1.3;
    margin-bottom: 10px;
  }

  .featured-description {
    font-size: 19px;
    line-height: 1.5;
  }

  .featured-button {
    font-size: 14px;
    padding: 10px 16px;
    margin-top: 12px;
    display: inline-block;
  }
}




@media (min-width: 769px) {
  .featured-recipe-wrapper {
    display: flex;
    gap: 12px;                 /* reduced gap */
    align-items: center;
  }
  .featured-image { flex: 1; }
  .featured-content { flex: 1; }
}

/* continue with normal rules below */
.category-title {
  color: #000;
  opacity: 1;
  text-shadow: none;
}

.welcome-banner {
  padding-bottom: 10px; /* reduce spacing */
  margin-bottom: 0;
}

.about-divider {
  margin: 10px auto;  /* reduce vertical spacing */
}

.hero {
  padding-top: 10px;  /* less space above 'Find Your Perfect Recipe Here' */
}







/* === CATEGORY GRID LAYOUT === */

.category-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  padding: 30px 0;
}

.icon-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 100px;
}

.icon-wrapper img {
  width: 80px;
  height: 80px;
  margin-bottom: 10px;
}

.icon-wrapper span {
  font-size: 1rem;
  font-weight: bold;
  line-height: 1.2;
}


/* === MOBILE STYLES: 2 rows x 3 icons === */
@media (max-width: 768px) {
  .category-row {
    gap: 20px;
  }

  .icon-wrapper {
    width: 30%;         /* 3 icons per row */
    max-width: 100px;
  }

  .icon-wrapper img {
    width: 60px;
    height: 60px;
  }

  .icon-wrapper span {
    font-size: 0.85rem;
  }
}



/* ✅ Apply Suez One to all h2 and styled h2 equivalents */
h2,
.section-title,
.category-title,
.search-title,
.newsletter-form h2,
.about-me-text h2,
.hero h2,
.featured-title,
.dinner-recipe-2 .section-title {
  font-family: 'Suez One', serif !important;
}

/* Set Jost as the default font for the entire page */
body {
  font-family: 'Jost', sans-serif;
  line-height: 1.6;
  color: #2c2c2c;
}





.about-me-text h2,
.hero h2,
.newsletter-form h2,
.dinner-recipe-2 
.section-title {
  font-family: 'Suez One', serif !important;
  font-weight: 400; /* or bold, depending on style */
}




@media (min-width: 769px) {
  .icon-wrapper img {
    width: 100px;
    height: 100px;
  }

  .icon-wrapper span {
    font-size: 1.1rem;
  }
}



.recipe-title {
  font-family: 'Jost', sans-serif !important;
}






/* Scrollbar styling for WebKit browsers */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f5f5f5;
}

::-webkit-scrollbar-thumb {
  background-color: #8E2E2E; /* Dark pink theme */
  border-radius: 10px;
  border: 2px solid #f5f5f5;
}

/* Firefox scrollbar styling */
* {
  scrollbar-width: thin;
  scrollbar-color: #8E2E2E #f5f5f5;
}









/* Post meta row under cards/posts — inline + clean */
.site-main .inside-article footer.entry-meta {
  background: transparent !important;
  padding: 0 !important;
  margin-top: 10px !important;
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;      /* space between Category and Leave a comment */
  flex-wrap: wrap !important;
}

/* remove any badge/pill on the category link */
.site-main .inside-article footer.entry-meta .cat-links a {
  background: none !important;
  border: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
}

/* tidy icon spacing + ensure excerpt leaves space */
.site-main .inside-article footer.entry-meta .gp-icon { margin-right: 6px !important; }
.site-main .inside-article .entry-summary { margin-bottom: 12px !important; }

/* remove list styling if theme outputs lists here */
.site-main .inside-article footer.entry-meta ul { list-style: none; margin: 0; padding: 0; }
.site-main .inside-article footer.entry-meta li { display: inline-flex; align-items: center; margin: 0; }

/* link style */
.site-main .inside-article footer.entry-meta a { color: inherit; text-decoration: none; }
.site-main .inside-article footer.entry-meta a:hover { text-decoration: underline; }






.footer-bar, .site-info { display: none !important; }








/* EATESS footer: single-color bar, centered, compact */
.my-footer{
  background:#8E2E2E;      /* bar color */
  color:rgba(255,255,255,.9);
  padding:6px 0;
}
.my-footer .container{
  max-width:1100px;
  margin:0 auto;
  padding:0 14px;
  text-align:center;
  background:transparent !important;   /* kill the white box */
  box-shadow:none; border:0;
}
.my-footer .links{
  display:flex; justify-content:center; align-items:center;
  flex-wrap:wrap; gap:18px; margin:0 0 4px;
}
.my-footer p{ margin:0; line-height:1.3; }

/* Links */
.my-footer a{
  color:#fff !important;                /* white links */
  text-decoration:none;
}








/* One solid footer bar (no inner lighter box) */
.my-footer{ background:#8E2E2E; padding:6px 0; color:#fff; }

.my-footer .container{
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  padding: 0 14px;               /* keep it compact */
  max-width:1100px; margin:0 auto; text-align:center;
}

/* kill any decorative overlays */
.my-footer::before,
.my-footer::after,
.my-footer .container::before,
.my-footer .container::after{ content:none !important; background:none !important; }

/* links */
.my-footer .links{ display:flex; justify-content:center; gap:18px; margin:0 0 4px; }
.my-footer a{ color:#fff !important; text-decoration:none; }
.my-footer a:hover{ color:#F4E3C1; text-decoration:underline; }
.my-footer p{ margin:0; line-height:1.3; }










/* 1) Keep the share icons inside the content width and aligned left */
.entry-content .sassy-social-share,
.entry-content .heateor_sss_sharing_container {
  max-width: 800px;              /* match your post content width */
  margin: 16px auto !important;  /* center within the content column */
  padding-left: 0 !important;
  text-align: left;
}

/* Remove odd internal left margins some share plugins add */
.entry-content .sassy-social-share .share-buttons,
.entry-content .heateor_sss_sharing_container .heateor_sss_sharing_ul {
  margin-left: 0 !important;
}






/* === Keep special blocks inside the text column === */
/* Set this to your article text width */
:root { --post-text-width: 800px; }

/* Center within the article like normal paragraphs */
.single .inside-article .entry-content > .heateor_sss_sharing_container,
.single .inside-article .entry-content > .sassy-social-share,
.single .inside-article .entry-content > nav.post-navigation {
  max-width: var(--post-text-width);
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* ---- Share icons: one line, aligned with text ---- */
.heateor_sss_sharing_container,
.sassy-social-share { text-align: left !important; }

.heateor_sss_sharing_container .heateor_sss_sharing_ul,
.sassy-social-share .share-buttons {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

/* ---- Post navigation: stack + left align ---- */
.single nav.post-navigation {
  position: static !important;
  margin: 24px auto 0 !important;
  padding: 0 !important;
  width: 100% !important;
}

.single nav.post-navigation .nav-links {
  display: flex !important;
  flex-direction: column !important;   /* two lines */
  align-items: flex-start !important;  /* flush with text edge */
  gap: 6px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.single .post-navigation .nav-next {
  order: 1 !important;
  float: none !important;
  width: auto !important;
}
.single .post-navigation .nav-previous {
  order: 2 !important;
  float: none !important;
  width: auto !important;
}

/* Link cosmetics (optional) */
.single .post-navigation a { color: #333; text-decoration: none; }
.single .post-navigation a:hover { text-decoration: underline; }









/* Prevent any float/bleed pushing text to page edges */
.post-navigation .nav-previous,
.post-navigation .nav-next {
  float: none;
  width: 100%;
}






/* Fix misaligned meta row on category/archive cards */
.archive .inside-article footer.entry-meta,
.blog    .inside-article footer.entry-meta{
  position: static !important;   /* cancel any absolute/relative tricks */
  float: none !important;
  clear: both;                   /* start on a new line under the excerpt */
  margin: 10px 0 0 !important;   /* small top space */
  padding: 0 !important;
  display: flex;                 /* tidy inline items */
  flex-wrap: wrap;
  gap: 10px;
}

/* Keep each meta item inline and inside the card */
.archive .inside-article footer.entry-meta > * ,
.blog    .inside-article footer.entry-meta > * {
  margin: 0 !important;
  display: inline-flex;
  align-items: center;
}








/* Home hero: remove the white box behind "Hey, I'm Klaudia!" */
.home .about-me-section { background:#fafaf0; }  /* your light green */
.home .about-me-section .container,
.home .about-me-section .about-me-container,
.home .about-me-section .wp-block-group.has-background {
  background: transparent !important;
  box-shadow: none !important;   /* in case a card style added it */
  border: 0 !important;
}




/* Kill the outer generic footer background */
footer,
.site-footer {
  background: transparent !important;
  padding: 0 !important;
  box-shadow: none !important;
}

/* Use ONE footer bar only */
.my-footer {
  background: #8E2E2E;   /* pick your shade */
  color: #fff;
  padding: 12px 0;
}



/* Ensure inner wrapper doesn't reintroduce a box */
.my-footer .container {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}



.my-footer {
  position: relative;
  left: 50%;
  margin-left: -50vw;
  width: 100vw;
}






/* Make main titles match the "The Story & Intro" style */
.single .inside-article .entry-title,
.page .inside-article .entry-title,
h1.entry-title {
  font-family: 'Suez One', serif !important;
  font-weight: 500;              /* or 700 if you want slightly lighter */
  line-height: 1.1;
  letter-spacing: .2px;
  color: #2c2c2c;
  font-size: clamp(30px, 5vw, 42px);  /* responsive size similar to your h2 look */
  margin-bottom: 8px;
}





























/* ========== CATEGORY LABELS (desktop + mobile) ========== */
.dinner-recipe-2 .recipe-card .category,
.dinner-recipe-2 .recipe-card .recipe-category,
.dinner-recipe-2 .recipe-card .category-label,
.category-section.dinner-recipe-2 .recipe-card .category,
.category-section.dinner-recipe-2 .recipe-card .recipe-category,
.category-section.dinner-recipe-2 .recipe-card .category-label{
  font-size: 16px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: .04em !important;
  color: #8b2e2e !important;
  margin-top: 12px !important;
}

@media (max-width: 768px){
  .dinner-recipe-2 .recipe-card .category,
  .dinner-recipe-2 .recipe-card .recipe-category,
  .dinner-recipe-2 .recipe-card .category-label,
  .category-section.dinner-recipe-2 .recipe-card .category,
  .category-section.dinner-recipe-2 .recipe-card .recipe-category,
  .category-section.dinner-recipe-2 .recipe-card .category-label{
    font-size: 14px !important;
  }
}

/* ========== MOBILE GRID + IMAGE RATIO (2-up, same height) ========== */
@media (max-width: 768px){
  /* Force 2 columns on all four sections you marked as dinner-recipe-2 */
  .dinner-recipe-2 .recipe-grid,
  .category-section.dinner-recipe-2 .recipe-grid{
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
    gap: 12px !important;
    padding: 0 8px !important;
  }

  /* Uniform tall thumbs; cancel any fixed heights */
  .dinner-recipe-2 .recipe-card img,
  .category-section.dinner-recipe-2 .recipe-card img{
    width: 100% !important;
    height: auto !important;       /* kills the old 220px rule */
    aspect-ratio: 3 / 4 !important;
    object-fit: cover !important;
    border-radius: 20px !important;
    display: block;
  }

  /* Tight cards so images dominate */
  .dinner-recipe-2 .recipe-card,
  .category-section.dinner-recipe-2 .recipe-card{
    margin: 0 !important;
    padding: 0 !important;
  }
}

/* ========== DESKTOP FEATURED IMAGE (smaller, no crop) ========== */
@media (min-width: 769px){
  .featured-recipe-wrapper .featured-image{
    max-width: 320px;        /* tweak 280–420 as you like */
    flex: 0 0 auto;
  }
  .featured-recipe-wrapper .featured-image img{
    width: 100%;
    height: auto;
    border-radius: 20px;
  }
  .featured-recipe-wrapper{ gap: 22px; }
}







/* Desktop/laptop: 4 cards per row for the category sections */
@media (min-width: 1024px){
  .dinner-recipe-2 .recipe-grid,
  .category-section.dinner-recipe-2 .recipe-grid{
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 24px !important;              /* tweak to 18–28px if you prefer */
  }

  /* Keep desktop thumbnails consistent and not overly tall */
  .dinner-recipe-2 .recipe-card img,
  .category-section.dinner-recipe-2 .recipe-card img{
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 4 / 5;               /* balanced portrait; try 1/1 if you want squares */
    object-fit: cover !important;
    border-radius: 16px;
  }
}

/* Optional: tablet = 3 per row */
@media (min-width: 768px) and (max-width: 1023px){
  .dinner-recipe-2 .recipe-grid,
  .category-section.dinner-recipe-2 .recipe-grid{
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}






/* Make the search section full width (keep same color & content) */
.custom-search-section {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}



/* Newest Recipes – make all thumbs identical + same hover */
.newest-recipes .recipe-card {
  overflow: hidden;                 /* clip zoom inside the card */
  border-radius: 12px;              /* same card rounding */
}

.newest-recipes .recipe-card img {
  width: 100%;
  height: auto !important;          /* beat earlier fixed heights */
  aspect-ratio: 3 / 2;              /* matches the other cards */
  object-fit: cover;                /* uniform crop */
  border-radius: 0;                 /* let the card control rounding */
  display: block;
  transition: transform .25s ease;  /* same hover feel */
}

.newest-recipes .recipe-card:hover img {
  transform: scale(1.02);           /* subtle zoom on hover */
}













/* ===== CATEGORY CARDS – match "Newest Recipes" behavior ===== */

/* 1) Kill underline from the anchor-wrapped cards (all states) */
.dinner-recipe-2 .recipe-card:link,
.dinner-recipe-2 .recipe-card:visited,
.dinner-recipe-2 .recipe-card:active,
.category-section .recipe-card:link,
.category-section .recipe-card:visited,
.category-section .recipe-card:active {
  text-decoration: none !important;
  border-bottom: 0 !important;
  background-image: none !important;
  box-shadow: none !important;
}

/* 2) Only show underline on the title when hovering the card */
.dinner-recipe-2 .recipe-card:hover .recipe-title,
.category-section .recipe-card:hover .recipe-title {
  text-decoration: underline !important;
  text-underline-offset: 2px; /* nicer spacing */
}

/* 3) Subtle image zoom on hover (no size change) */
.dinner-recipe-2 .recipe-card,
.category-section .recipe-card {
  overflow: hidden;               /* clip zoom so the card size stays the same */
}

.dinner-recipe-2 .recipe-card img,
.category-section .recipe-card img {
  transition: transform .25s ease;
}

.dinner-recipe-2 .recipe-card:hover img,
.category-section .recipe-card:hover img {
  transform: scale(1.02);         /* same vibe as Newest Recipes */
}




/* HERO ICONS – remove underline until hover */
.category-row .icon-wrapper,
.category-row .icon-wrapper:link,
.category-row .icon-wrapper:visited,
.category-row .icon-wrapper:active {
  text-decoration: none !important;
  border-bottom: 0 !important;
}

.category-row .icon-wrapper span {
  text-decoration: none !important;
  border-bottom: 0 !important;
}

.category-row .icon-wrapper:hover span {
  text-decoration: underline !important;
  text-underline-offset: 3px;
}









/* ========= TOP-LEVEL MENU: base underline + hover ========= */
.main-menu a{
  position: relative;
  text-decoration: none !important;
}
.main-menu a::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:-6px;
  height:2px;
  background:#8b2e2e;
  transform:scaleX(0);
  transform-origin:left;
  transition:transform .2s ease;
}
.main-menu a:hover::after,
.main-menu a:focus-visible::after{
  transform:scaleX(1); /* <-- hover underline returns */
}

/* Desktop thickness/offset (optional) */
@media (min-width:769px){
  .main-menu a::after{ bottom:-8px; height:3px; }
}

/* ========= STICKY (one active at a time) ========= */

/* Home (underline only the real Home) */
body.home .main-menu a[href="/"]::after,
body.home .main-menu a[href="https://www.drecipes.com/"]::after{ transform:scaleX(1); }

/* Drinks category archive */
body.category-drinks .main-menu a[href*="/drinks/"]::after{ transform:scaleX(1); }

/* Gluten-Free category archive */
body.category-gluten-free .main-menu a[href*="/gluten-free/"]::after{ transform:scaleX(1); }

/* Weight Loss Meals category archive */
body.category-weight-loss-meals .main-menu a[href*="/weight-loss-meals/"]::after{ transform:scaleX(1); }

/* Recipes hub pages (/recipes/ or /all-recipes/) */
body.page .main-menu a[href="/recipes/"]::after,
body.page .main-menu a[href*="/all-recipes/"]::after{ transform:scaleX(1); }

/* Any single post (recipe) -> keep Recipes underlined */
body.single-post .main-menu a[href*="/recipes/"]::after{ transform:scaleX(1); }

/* If you have “Recipes” sharing the Home URL, do NOT underline it on the homepage */
body.home .main-menu a[href*="/recipes/"]::after{ transform:scaleX(0) !important; }

/* ========= SUB-MENU (your dropdown) — keep what already works ========= */
.main-menu .dropdown-content a{
  position: relative;
  text-decoration: none !important;
}
.main-menu .dropdown-content a::after{
  content:"";
  position:absolute; left:0; right:0; bottom:-6px;
  height:2px; background:#8b2e2e;
  transform:scaleX(0); transform-origin:left;
  transition:transform .2s ease;
}
.main-menu .dropdown-content a:hover::after,
.main-menu .dropdown-content a:focus-visible::after{ transform:scaleX(1); }

/* Keep underline on the OPEN sub-category + parent “Recipes” */
body.category-breakfast  .main-menu .dropdown-content a[href*="/breakfast/"]::after,
body.category-lunch      .main-menu .dropdown-content a[href*="/lunch/"]::after,
body.category-dinner     .main-menu .dropdown-content a[href*="/dinner/"]::after,
body.category-desserts   .main-menu .dropdown-content a[href*="/desserts/"]::after,
body.single-post.category-breakfast  .main-menu .dropdown-content a[href*="/breakfast/"]::after,
body.single-post.category-lunch      .main-menu .dropdown-content a[href*="/lunch/"]::after,
body.single-post.category-dinner     .main-menu .dropdown-content a[href*="/dinner/"]::after,
body.single-post.category-desserts   .main-menu .dropdown-content a[href*="/desserts/"]::after,
body.category-breakfast  .main-menu a[href*="/recipes/"]::after,
body.category-lunch      .main-menu a[href*="/recipes/"]::after,
body.category-dinner     .main-menu a[href*="/recipes/"]::after,
body.category-desserts   .main-menu a[href*="/recipes/"]::after,
body.single-post.category-breakfast  .main-menu a[href*="/recipes/"]::after,
body.single-post.category-lunch      .main-menu a[href*="/recipes/"]::after,
body.single-post.category-dinner     .main-menu a[href*="/recipes/"]::after,
body.single-post.category-desserts   .main-menu a[href*="/recipes/"]::after{
  transform:scaleX(1) !important;
}









/* Compact, centered underline for the About button */
.about-me-button{
  position: relative;
  text-decoration: none !important;
}

.about-me-button::after{
  content:"";
  position:absolute;
  left:50%;
  bottom: 8px;          /* closer to text */
  width: 80%;           /* shorter line (tweak 45–65%) */
  height: 2px;          /* thin */
  background:#fff;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform .2s ease;
}

.about-me-button:hover::after,
.about-me-button:focus-visible::after{
  transform: translateX(-50%) scaleX(1);
}

/* Optional: a hair thicker on large screens */
@media (min-width: 769px){
  .about-me-button::after{ bottom: 10px; height: 2.5px; }
}





/* Pink CTA: compact centered underline + darker hover */
.featured-button{
  position: relative;
  display: inline-block;
  background: #d44a6a;              /* base pink */
  color: #fff !important;            /* keep text white */
  text-decoration: none !important;
  border-radius: 40px;
  padding: 12px 24px;
  font-weight: 700;
  transition: background .2s ease;
}

.featured-button::after{
  content:"";
  position:absolute;
  left:50%;
  bottom: 8px;                       /* closer to text */
  width: 70%;                        /* shorter line (tweak 45–70%) */
  height: 2px;                       /* thin */
  background:#fff;                   /* white underline */
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform .2s ease;
}

.featured-button:hover,
.featured-button:focus-visible{
  background:#b93b58;                /* darker on hover */
}

.featured-button:hover::after,
.featured-button:focus-visible::after{
  transform: translateX(-50%) scaleX(1);
}

/* Slightly thicker underline on larger screens (optional) */
@media (min-width: 769px){
  .featured-button::after{ bottom: 10px; height: 2.5px; }
}








/* Social icons widget – white background version */
.social-icons.sidebar-social {
  background-color: #ffffff;
  padding: 30px 0;
  display: flex;
  justify-content: center;
  gap: 22px;
}

/* Circle outline icon style */
.social-icons.sidebar-social .icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8c3330; /* Brand color */
  background: #ffffff;
  transition: 0.2s ease;
}

/* Make SVG inherit the icon color */
.social-icons.sidebar-social .icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Hover effect */
.social-icons.sidebar-social .icon:hover {
  color: #ffffff;
  background: #8c3330;
  border-color: #8c3330;
  transform: translateY(-2px);
}




/* Tighter gap between "Explore Further" and the icons */
.social-icons.sidebar-social {
  padding-top: 5px !important;   /* was 30px */
  padding-bottom: 15px !important; /* you can keep 20–30 if you like more space above Recent Posts */
}





















/* ===== SHOW ON UP / HIDE ON DOWN (both bars) ===== */
/* Adjust these heights if your bars are a bit different */
:root{
  --tb-desktop: 56px;  /* red bar height (desktop) */
  --mh-desktop: 72px;  /* primary bar height (desktop) */
  --tb-mobile: 44px;   /* red bar height (mobile) */
  --mh-mobile: 60px;   /* primary bar height (mobile) */
}

/* Safety: let sticky/fixed work */
#page, .site, .desktop-header, .mobile-header{ overflow: visible !important; }

/* ---------- DESKTOP ---------- */
@media (min-width: 769px){

  /* Stack both bars fixed at the top (red first, primary below) */
  .desktop-header .top-bar{
    position: fixed !important;
    top: 0; left: 0; right: 0;
    z-index: 10001;
    transform: translateY(0);
    transition: transform .25s ease;
  }
  .desktop-header .main-header{
    position: fixed !important;
    top: var(--tb-desktop); left: 0; right: 0;
    z-index: 10000;
    background: #fff;
    box-shadow: 0 1px 0 rgba(0,0,0,.08);
    transform: translateY(0);
    transition: transform .25s ease;
  }

  /* Push page content below both bars so nothing hides underneath */
  body{ padding-top: calc(var(--tb-desktop) + var(--mh-desktop)); }

  /* SCROLL DOWN → hide both */
  body.hide-headers .desktop-header .top-bar{
    transform: translateY(-100%);
  }
  body.hide-headers .desktop-header .main-header{
    /* move primary up by (red + primary) so it fully leaves the viewport */
    transform: translateY(calc(-1 * (var(--tb-desktop) + var(--mh-desktop))));
  }
}

/* ---------- MOBILE ---------- */
@media (max-width: 768px){

  .mobile-header .top-bar{
    position: fixed !important;
    top: 0; left: 0; right: 0;
    z-index: 10001;
    transform: translateY(0);
    transition: transform .25s ease;
  }
  .mobile-header .main-header{
    position: fixed !important;
    top: var(--tb-mobile); left: 0; right: 0;
    z-index: 10000;
    background: #fff;
    box-shadow: 0 1px 0 rgba(0,0,0,.08);
    transform: translateY(0);
    transition: transform .25s ease;
  }

  body{ padding-top: calc(var(--tb-mobile) + var(--mh-mobile)); }

  body.hide-headers .mobile-header .top-bar{
    transform: translateY(-100%);
  }
  body.hide-headers .mobile-header .main-header{
    transform: translateY(calc(-1 * (var(--tb-mobile) + var(--mh-mobile))));
  }
}

/* Admin bar offsets (logged-in) */
body.admin-bar .desktop-header .top-bar{ top: 32px; }
@media (min-width: 769px){
  body.admin-bar .desktop-header .main-header{ top: calc(var(--tb-desktop) + 32px); }
}
@media (max-width: 782px){
  body.admin-bar .mobile-header .top-bar{ top: 46px; }
  body.admin-bar .mobile-header .main-header{ top: calc(var(--tb-mobile) + 46px); }
}

/* Neutralize any GP "is_stuck" behavior that could interfere */
nav.main-navigation.is_stuck,
nav.main-navigation.toggled.is_stuck{
  position: static !important;
  top: auto !important;
  box-shadow: none !important;
}
