:root {
  --red: #FF271E;
  --red-dark: #D61B13;
  --cream: #FFF2BB;
  --cream-light: #FFFBEB;
  --slate: #1F2933;
  --slate-muted: #52606D;
  --white: #FFFFFF;
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow-sm: 0 6px 18px rgba(31, 41, 51, 0.06);
  --shadow-md: 0 14px 32px rgba(31, 41, 51, 0.12);
  --transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--slate);
  background-color: var(--cream-light);
  line-height: 1.6;
  overflow-x: hidden;
}
h1, h2, h3, h4, .brand-font { font-family: 'Fredoka', sans-serif; letter-spacing: -0.01em; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; height: auto; }
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.screen-reader-text { border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important; }

/* Top bar */
.top-bar { background-color: var(--slate); color: var(--cream); font-size: 0.85rem; font-weight: 500; padding: 10px 0; }
.top-bar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.top-links { display: flex; gap: 18px; list-style: none; margin: 0; padding: 0; }
.top-links a, .top-links li { color: var(--white); }
.top-links a { opacity: 0.85; transition: var(--transition); }
.top-links a:hover { color: var(--cream); opacity: 1; }
.top-ad-link { color: var(--cream); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.top-ad-link:hover { color: var(--white); }

/* Header */
.site-header { background-color: var(--cream); position: sticky; top: 0; z-index: 1000; border-bottom: 3px solid var(--slate); box-shadow: 0 4px 12px rgba(31,41,51,0.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; max-width: 1280px; margin: 0 auto; gap: 20px; }
.logo-link { display: inline-flex; align-items: center; flex-shrink: 0; }
.logo-link img, .custom-logo-link img { width: 220px; height: auto; aspect-ratio: 1188 / 387; object-fit: contain; }
.main-nav { display: flex; align-items: center; gap: 6px; }
.nav-list, .main-nav ul { display: flex; align-items: center; list-style: none; gap: 4px; margin: 0; padding: 0; }
.nav-item, .main-nav li { position: relative; }
.nav-link, .main-nav a { display: inline-flex; align-items: center; gap: 5px; padding: 9px 13px; font-weight: 700; font-size: 0.92rem; color: var(--slate); border-radius: 999px; transition: var(--transition); }
.nav-link:hover, .main-nav a:hover, .main-nav .current-menu-item > a, .main-nav .current_page_item > a { background-color: var(--red); color: var(--white); }
.main-nav .sub-menu, .dropdown-menu {
  position: absolute; top: calc(100% + 8px); right: 0; width: 290px; background: var(--slate); color: var(--white);
  border-radius: var(--radius-md); padding: 10px; list-style: none; box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: var(--transition); z-index: 100; display: block;
}
.main-nav li:hover > .sub-menu, .nav-item:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.main-nav .sub-menu li a, .dropdown-menu li a { display: block; padding: 9px 12px; font-size: 0.86rem; font-weight: 600; border-radius: 8px; color: var(--cream-light); }
.main-nav .sub-menu li a:hover, .dropdown-menu li a:hover { background-color: var(--red); color: var(--white); }
.mobile-menu-btn { display: none; background: var(--slate); color: var(--cream); border: none; border-radius: 10px; padding: 10px 14px; font-weight: 700; font-size: 1rem; cursor: pointer; }

/* Hero */
.hero { position: relative; background: linear-gradient(115deg, rgba(31,41,51,0.92) 0%, rgba(31,41,51,0.72) 58%, rgba(255,39,30,0.35) 100%), url('https://res.cloudinary.com/jtam/images/f_auto,q_auto/v1794994927/A-Lavish-Sunlit-Feast/A-Lavish-Sunlit-Feast.jpg?_i=AA') center/cover no-repeat; color: var(--white); padding: 90px 0 110px; }
.hero-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 40px; align-items: center; }
.hero-badge { display: inline-block; background-color: var(--cream); color: var(--slate); font-weight: 800; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; padding: 6px 14px; border-radius: 999px; margin-bottom: 18px; }
.hero h1 { font-size: clamp(2.6rem, 5vw, 4.3rem); line-height: 1.08; margin-bottom: 16px; }
.hero h1 span { color: var(--cream); }
.hero-subtitle { font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 600; color: var(--cream); margin-bottom: 16px; }
.hero p { font-size: 1.05rem; color: rgba(255,255,255,0.9); max-width: 620px; margin-bottom: 30px; }
.hero p a { color: var(--cream); text-decoration: underline; font-weight: 700; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 14px 24px; border-radius: 999px; font-weight: 700; font-size: 0.95rem; cursor: pointer; transition: var(--transition); border: 2px solid transparent; }
.btn-primary { background-color: var(--red); color: var(--white); box-shadow: 0 8px 20px rgba(255,39,30,0.35); }
.btn-primary:hover { background-color: var(--cream); color: var(--slate); transform: translateY(-2px); }
.btn-secondary { background-color: var(--cream); color: var(--slate); }
.btn-secondary:hover { background-color: var(--white); transform: translateY(-2px); }
.btn-outline { background-color: transparent; border-color: var(--cream); color: var(--cream); }
.btn-outline:hover { background-color: var(--cream); color: var(--slate); transform: translateY(-2px); }
.hero-card { background: var(--white); color: var(--slate); border-radius: var(--radius-lg); padding: 20px; border: 3px solid var(--cream); box-shadow: var(--shadow-md); }
.hero-card-tag { background: var(--red); color: var(--white); font-size: 0.75rem; font-weight: 800; text-transform: uppercase; padding: 4px 10px; border-radius: 6px; display: inline-block; margin-bottom: 12px; }
.hero-card img { width: 100%; height: 210px; object-fit: cover; border-radius: 12px; margin-bottom: 14px; }
.hero-card h3 { font-size: 1.25rem; margin-bottom: 8px; line-height: 1.25; }
.hero-card p { color: var(--slate-muted); font-size: 0.9rem; margin-bottom: 14px; }

/* Pillars */
.pillars-section { margin-top: -55px; position: relative; z-index: 10; padding-bottom: 60px; }
.pillars-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.pillar-card { background: var(--white); border: 2px solid var(--slate); border-radius: var(--radius-lg); padding: 28px 22px; text-align: center; box-shadow: 0 6px 0 var(--slate); transition: var(--transition); }
.pillar-card:hover { transform: translateY(-5px); background-color: var(--cream); }
.pillar-icon { width: 58px; height: 58px; margin: 0 auto 16px; background: var(--red); color: var(--cream); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; }
.pillar-card h3 { font-size: 1.25rem; margin-bottom: 8px; color: var(--slate); }
.pillar-card p { font-size: 0.92rem; color: var(--slate-muted); }

/* Sections */
.section-header { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 16px; margin-bottom: 32px; }
.section-header h2, .page-title { font-size: clamp(1.9rem, 3vw, 2.5rem); color: var(--slate); }
.section-header h2 span { color: var(--red); }
.view-all-link { font-weight: 800; color: var(--red); display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 999px; background: var(--cream); transition: var(--transition); }
.view-all-link:hover { background: var(--red); color: var(--white); }
.filter-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.filter-btn { background: var(--white); color: var(--slate); border: 2px solid var(--slate); padding: 8px 18px; border-radius: 999px; font-weight: 700; font-size: 0.9rem; cursor: pointer; transition: var(--transition); }
.filter-btn.active, .filter-btn:hover { background: var(--red); color: var(--white); border-color: var(--red); }

/* Recipes/cards */
.recipes-section, .content-section { padding: 40px 0 80px; }
.recipes-grid, .posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.recipe-card, .post-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; border: 2px solid rgba(31,41,51,0.12); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: var(--transition); }
.recipe-card:hover, .post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--red); }
.recipe-thumb, .post-thumb { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background-color: var(--cream); }
.recipe-thumb img, .post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease; }
.recipe-card:hover .recipe-thumb img, .post-card:hover .post-thumb img { transform: scale(1.06); }
.recipe-cat-badge, .post-cat-badge { position: absolute; top: 14px; left: 14px; background: var(--slate); color: var(--cream); font-size: 0.78rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; z-index: 2; }
.recipe-body, .post-body { padding: 24px; display: flex; flex-direction: column; flex-grow: 1; }
.recipe-body h3, .post-body h2, .post-body h3 { font-size: 1.3rem; line-height: 1.3; margin-bottom: 10px; color: var(--slate); }
.recipe-body h3 a:hover, .post-body h2 a:hover { color: var(--red); }
.recipe-body p, .post-body p, .entry-summary { font-size: 0.94rem; color: var(--slate-muted); margin-bottom: 20px; flex-grow: 1; }
.read-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 0.92rem; color: var(--red); transition: var(--transition); }
.read-more:hover { gap: 10px; color: var(--slate); }

/* Tools */
.tools-section { background-color: var(--slate); color: var(--white); padding: 80px 0; }
.tools-section .section-header h2 { color: var(--white); }
.tools-section .section-header h2 span { color: var(--cream); }
.tools-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tool-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,242,187,0.2); border-radius: var(--radius-md); padding: 22px; transition: var(--transition); display: flex; flex-direction: column; justify-content: space-between; color: inherit; }
.tool-card:hover { background: var(--cream); color: var(--slate); transform: translateY(-4px); }
.tool-card h3 { font-size: 1.2rem; margin-bottom: 8px; color: var(--cream); transition: var(--transition); }
.tool-card:hover h3 { color: var(--red); }
.tool-card p { font-size: 0.9rem; opacity: 0.85; margin-bottom: 14px; }
.tool-arrow { font-weight: 800; font-size: 0.88rem; color: var(--red); }
.finder-section { background-color: var(--cream); padding: 80px 0; border-top: 3px solid var(--slate); border-bottom: 3px solid var(--slate); }
.finder-frame-wrap { background: var(--white); border: 3px solid var(--slate); border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 10px 0 var(--slate); }
.finder-frame-wrap iframe { width: 100%; height: 760px; border: none; display: block; }

/* Content layouts */
.site-main { min-height: 40vh; }
.content-area { padding: 40px 0 80px; }
.layout-with-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; }
.entry-card, .widget, .comment-respond, .comments-area { background: var(--white); border: 2px solid rgba(31,41,51,0.12); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.entry-card { padding: 28px; margin-bottom: 28px; }
.entry-header { margin-bottom: 18px; }
.entry-title { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 8px; line-height: 1.2; }
.entry-meta { color: var(--slate-muted); font-size: 0.9rem; display: flex; flex-wrap: wrap; gap: 12px; }
.entry-content { font-size: 1rem; }
.entry-content p, .entry-content ul, .entry-content ol, .entry-content blockquote, .entry-content pre { margin-bottom: 1.1em; }
.entry-content h2, .entry-content h3, .entry-content h4 { margin: 1.2em 0 0.5em; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content a { color: var(--red); text-decoration: underline; }
.entry-content img { border-radius: 12px; margin: 1em 0; }
.wp-block-image img { height: auto; }
.post-thumbnail { margin: -28px -28px 20px; border-radius: var(--radius-lg) var(--radius-lg) 0 0; overflow: hidden; }
.post-thumbnail img { width: 100%; max-height: 420px; object-fit: cover; }
.pagination, .nav-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.page-numbers, .nav-links a, .nav-links span { padding: 8px 14px; border-radius: 999px; background: var(--white); border: 2px solid var(--slate); font-weight: 700; }
.page-numbers.current, .nav-links .current { background: var(--red); color: var(--white); border-color: var(--red); }

/* Sidebar/widgets */
.sidebar-area { display: grid; gap: 20px; }
.widget { padding: 20px; }
.widget-title, .widget_block h2 { font-size: 1.2rem; margin-bottom: 12px; color: var(--slate); }
.widget ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.widget a:hover { color: var(--red); }
.widget_search .search-form, .search-form { display: flex; gap: 8px; }
.search-form input[type="search"] { flex: 1; min-width: 0; padding: 10px 12px; border: 2px solid rgba(31,41,51,0.2); border-radius: 999px; font: inherit; }
.search-form button, .search-submit, .wp-element-button, button, input[type="submit"] { background: var(--red); color: var(--white); border: none; border-radius: 999px; padding: 10px 16px; font-weight: 700; cursor: pointer; }
.search-form button:hover { background: var(--red-dark); }

/* Comments */
.comments-area { padding: 24px; margin-top: 24px; }
.comment-list { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 16px; }
.comment-body { border: 1px solid rgba(31,41,51,0.12); border-radius: 12px; padding: 14px; }
.comment-meta { font-size: 0.85rem; color: var(--slate-muted); margin-bottom: 8px; }
.comment-respond { padding: 20px; margin-top: 20px; box-shadow: none; }
.comment-form p { margin-bottom: 12px; }
.comment-form label { display: block; font-weight: 700; margin-bottom: 4px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; padding: 10px 12px; border: 2px solid rgba(31,41,51,0.15); border-radius: 10px; font: inherit; }

/* Footer */
.site-footer { background-color: var(--slate); color: var(--white); padding: 65px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.15); }
.footer-logo { background: var(--cream); padding: 10px 16px; border-radius: 12px; display: inline-block; margin-bottom: 16px; }
.footer-logo img { width: 190px; height: auto; aspect-ratio: 1188 / 387; }
.footer-about p { color: rgba(255,255,255,0.8); font-size: 0.95rem; max-width: 380px; margin-bottom: 20px; }
.footer-social-title { color: var(--cream); font-size: 0.95rem; font-weight: 700; margin-bottom: 10px; }
.social-links { display: flex; flex-wrap: wrap; gap: 10px; }
.social-pill { padding: 7px 13px; border-radius: 999px; background: rgba(255,255,255,0.1); color: var(--cream); font-size: 0.82rem; font-weight: 700; transition: var(--transition); }
.social-pill:hover { background: var(--red); color: var(--white); }
.footer-col h4 { color: var(--cream); font-size: 1.2rem; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; padding: 0; margin: 0; }
.footer-col ul a { color: rgba(255,255,255,0.8); font-size: 0.92rem; transition: var(--transition); }
.footer-col ul a:hover { color: var(--cream); padding-left: 4px; }
.footer-bottom { padding-top: 24px; text-align: center; font-size: 0.86rem; color: rgba(255,255,255,0.65); }
.breadcrumbs { margin-bottom: 18px; color: var(--slate-muted); font-size: 0.9rem; }
.no-results { padding: 24px; }

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .recipes-grid, .posts-grid, .tools-grid { grid-template-columns: repeat(2, 1fr); }
  .layout-with-sidebar { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .mobile-menu-btn { display: inline-flex; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--cream); border-bottom: 3px solid var(--slate); padding: 20px 24px; flex-direction: column; align-items: flex-start; }
  .main-nav.open { display: flex; }
  .nav-list, .main-nav ul { flex-direction: column; align-items: flex-start; width: 100%; }
  .nav-item, .nav-link, .main-nav li, .main-nav a { width: 100%; }
  .main-nav .sub-menu, .dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; width: 100%; margin-top: 6px; display: none; }
  .main-nav li.dropdown-open > .sub-menu, .nav-item.dropdown-open .dropdown-menu { display: block; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .top-bar { display: none; }
  .logo-link img, .custom-logo-link img { width: 170px; }
  .pillars-grid, .recipes-grid, .posts-grid, .tools-grid { grid-template-columns: 1fr; }
  .hero { padding: 60px 0 90px; }
  .finder-frame-wrap iframe { height: 600px; }
}

/* Social icons in badges */
.social-pill { display: inline-flex; align-items: center; gap: 8px; }
.social-pill i { font-size: 0.95rem; line-height: 1; }
