/*
Theme Name: Bake Gia Bake
Theme URI: https://bakegiabake.com
Author: Gia Ciccone
Author URI: https://bakegiabake.com/about-gia
Description: Custom theme for bakegiabake.com — a food and baking blog by Gia Ciccone.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: food, blog, recipe, custom
*/

/* ============================================================
   BAKE GIA BAKE — Brand Stylesheet
   Fonts: Caprasimo (display), Rubik (body)
   Loaded via functions.php from Google Fonts
   ============================================================ */

:root {
  --blue:       #87a2ff;
  --light-blue: #c4d7ff;
  --pink:       #fface6;
  --yellow:     #fff5b5;
  --hot-pink:   #fc56d7;
  --cream:      #faf9f4;
  --dark:       #4a4468;
}

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

body {
  font-family: 'Rubik', sans-serif;
  background: var(--cream);
  color: var(--dark);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; }

/* ── NAV ── */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 40px;
  background: white;
  border-bottom: 1.5px solid var(--light-blue);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-logo { font-family: 'Caprasimo', cursive; font-size: 20px; text-decoration: none; }
.nav-logo .b { color: var(--blue); }
.nav-logo .p { color: var(--hot-pink); }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a {
  font-size: 13px; font-weight: 600; letter-spacing: 0.8px;
  text-transform: uppercase; color: var(--dark); text-decoration: none;
}
.nav-links a:hover,
.nav-links a.active,
.nav-links .current-menu-item a { color: var(--hot-pink); }

/* ── BADGES ── */
.badge {
  display: inline-block; font-size: 11px; font-weight: 600;
  padding: 4px 12px; border-radius: 99px;
}
.badge-pink   { background: var(--pink);       color: var(--hot-pink); }
.badge-blue   { background: var(--light-blue); color: #4060cc; }
.badge-yellow { background: var(--yellow);     color: #7a6800; }
.badge-purple { background: #ede9ff;           color: #6a4fcf; }
.badge-row  { display: flex; align-items: center; gap: 9px; margin-bottom: 10px; }
.badge-date { font-size: 12px; color: var(--dark); opacity: 0.4; }

/* ── BUTTONS ── */
.btn-hot {
  background: var(--hot-pink); color: white;
  font-family: 'Caprasimo', cursive; font-size: 15px;
  padding: 12px 28px; border-radius: 99px; border: none;
  cursor: pointer; text-decoration: none; display: inline-block;
}
.btn-white {
  background: white; color: var(--blue);
  font-family: 'Caprasimo', cursive; font-size: 14px;
  padding: 9px 22px; border-radius: 99px; text-decoration: none; display: inline-block;
}
.btn-white-lg {
  background: white; color: var(--hot-pink);
  font-family: 'Caprasimo', cursive; font-size: 17px;
  padding: 13px 32px; border-radius: 99px;
  text-decoration: none; display: inline-block; margin: 0 6px;
}
.btn-outline-white {
  background: transparent; color: white;
  font-family: 'Caprasimo', cursive; font-size: 17px;
  padding: 13px 32px; border-radius: 99px;
  border: 2.5px solid white; text-decoration: none;
  display: inline-block; margin: 0 6px;
}

/* ── CARD GRID ── */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

/* ── POST CARD (image) ── */
.post-card {
  background: white; border-radius: 16px; border: 1.5px solid #e8e4f0;
  overflow: hidden; text-decoration: none; color: inherit; display: block;
  transition: transform 0.18s, border-color 0.18s;
}
.post-card:hover { transform: translateY(-3px); border-color: var(--light-blue); }
.post-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; }
.post-card-body { padding: 15px 18px 18px; }

/* ── TEXT CARD (no image) ── */
.text-card {
  background: white; border-radius: 16px; border: 1.5px solid #e8e4f0;
  padding: 22px; text-decoration: none; color: inherit; display: block;
  transition: transform 0.18s, border-color 0.18s;
}
.text-card:hover { transform: translateY(-3px); border-color: var(--light-blue); }

/* ── SHARED CARD INTERNALS ── */
.card-title { font-family: 'Caprasimo', cursive; font-size: 17px; line-height: 1.25; color: var(--dark); margin-bottom: 8px; }
.card-desc  { font-size: 13px; line-height: 1.55; color: var(--dark); opacity: 0.62; margin-bottom: 13px; }
.read-more  { font-size: 13px; font-weight: 600; color: var(--hot-pink); text-decoration: none; }

/* ── SECTIONS ── */
.section { padding: 12px 40px 40px; }
.section-header { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 20px; }
.section-title  { font-family: 'Caprasimo', cursive; font-size: 24px; color: var(--dark); }
.section-link   { font-size: 13px; font-weight: 600; color: var(--hot-pink); text-decoration: none; }
.section-link:hover { text-decoration: underline; }
.section-eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: 1.6px;
  text-transform: uppercase; color: var(--dark); opacity: 0.4;
  margin-bottom: 16px; display: block;
}

/* ── FEATURED SPLIT CARD ── */
.featured-wrap { padding: 32px 40px; background: var(--cream); }
.featured-card {
  background: white; border-radius: 20px;
  display: grid; grid-template-columns: 55% 45%;
  overflow: hidden; border: 1.5px solid #e8e4f0;
}
.featured-card img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 320px; }
.featured-text { padding: 40px 36px; display: flex; flex-direction: column; justify-content: center; }
.feat-badge {
  display: inline-block; background: var(--pink); color: var(--hot-pink);
  font-size: 12px; font-weight: 600; padding: 5px 14px; border-radius: 99px;
  margin-bottom: 16px; width: fit-content;
}
.featured-text h2 { font-family: 'Caprasimo', cursive; font-size: 26px; line-height: 1.2; color: var(--dark); margin-bottom: 12px; }
.featured-text p  { font-size: 14px; line-height: 1.7; color: var(--dark); opacity: 0.68; margin-bottom: 22px; }
.feat-footer { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.read-link   { font-size: 14px; font-weight: 600; color: var(--hot-pink); text-decoration: none; }
.read-link:hover { text-decoration: underline; }
.feat-date   { font-size: 13px; color: var(--dark); opacity: 0.4; }

/* ── NEWSLETTER ── */
.newsletter {
  background: var(--yellow); padding: 44px 40px; text-align: center;
  border-top: 2px dashed var(--hot-pink); border-bottom: 2px dashed var(--hot-pink);
}
.newsletter h3 { font-family: 'Caprasimo', cursive; font-size: 26px; color: var(--blue); margin-bottom: 8px; }
.newsletter p  { font-size: 15px; color: var(--dark); opacity: 0.7; margin-bottom: 20px; }
.nl-form { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.nl-form input {
  padding: 12px 22px; border-radius: 99px;
  border: 2px solid var(--hot-pink); font-family: 'Rubik', sans-serif;
  font-size: 14px; width: 270px; background: white; color: var(--dark); outline: none;
}

/* ── ABOUT STRIP ── */
.about-strip {
  background: var(--blue); padding: 44px 40px;
  display: grid; grid-template-columns: 130px 1fr; gap: 28px; align-items: center;
}
.about-strip img { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; border: 4px solid white; display: block; }
.about-strip-text h3 { font-family: 'Caprasimo', cursive; font-size: 22px; color: white; margin-bottom: 8px; }
.about-strip-text p  { font-size: 14px; line-height: 1.65; color: rgba(255,255,255,0.88); margin-bottom: 16px; }

/* ── POST PAGE ── */
.post-wrap { max-width: 720px; margin: 0 auto; padding: 48px 24px 64px; }
.breadcrumb { font-size: 12px; color: var(--dark); opacity: 0.45; margin-bottom: 20px; }
.breadcrumb a { color: var(--hot-pink); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.post-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.post-title { font-family: 'Caprasimo', cursive; font-size: 38px; line-height: 1.15; color: var(--dark); margin-bottom: 14px; }
.post-meta  { font-size: 13px; color: var(--dark); opacity: 0.45; margin-bottom: 28px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.post-hero-img { width: 100%; border-radius: 18px; display: block; margin-bottom: 32px; aspect-ratio: 16/9; object-fit: cover; }

.jump-link {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--yellow); border: 1.5px solid #d4b800;
  color: #7a6800; font-size: 13px; font-weight: 600;
  padding: 10px 18px; border-radius: 99px; text-decoration: none; margin-bottom: 32px;
}
.jump-link:hover { background: #fff0a0; }

/* ── PROSE ── */
.prose { font-size: 16px; line-height: 1.8; color: var(--dark); }
.prose p   { margin-bottom: 20px; }
.prose h2  { font-family: 'Caprasimo', cursive; font-size: 24px; color: var(--blue); margin: 36px 0 14px; }
.prose h3  { font-family: 'Caprasimo', cursive; font-size: 20px; color: var(--dark); margin: 28px 0 10px; }
.prose img { width: 100%; border-radius: 14px; display: block; margin: 24px 0 10px; }
.prose .wp-caption-text { font-size: 12px; color: var(--dark); opacity: 0.45; text-align: center; margin-bottom: 24px; font-style: italic; }
.prose a   { color: var(--hot-pink); text-decoration: none; font-weight: 500; }
.prose a:hover { text-decoration: underline; }
.prose em  { font-style: italic; }
.prose strong { font-weight: 600; }
.prose ul, .prose ol { padding-left: 24px; margin-bottom: 20px; }
.prose li  { margin-bottom: 8px; line-height: 1.65; }

/* ── POST FOOTER TAGS ── */
.post-footer-tags { display: flex; gap: 8px; flex-wrap: wrap; margin: 36px 0 0; padding-top: 24px; border-top: 1.5px solid var(--light-blue); }
.post-footer-tags .label { font-size: 12px; color: var(--dark); opacity: 0.4; font-weight: 600; margin-right: 4px; align-self: center; }

/* ── COMMENTS ── */
.comments-section { margin-top: 48px; padding-top: 36px; border-top: 2px solid var(--light-blue); }
.comments-title   { font-family: 'Caprasimo', cursive; font-size: 24px; color: var(--dark); margin-bottom: 24px; }
.comment-list     { list-style: none; margin-bottom: 36px; }
.comment-item     { padding: 20px 0; border-bottom: 1px solid #ece8f6; }
.comment-meta     { font-size: 13px; color: var(--dark); opacity: 0.5; margin-bottom: 8px; }
.comment-meta strong { color: var(--dark); opacity: 1; font-weight: 600; }
.comment-body p   { font-size: 15px; line-height: 1.65; }
.comment-form-wrap { background: white; border-radius: 16px; border: 1.5px solid #e8e4f0; padding: 24px; }
.comment-form-wrap > p { font-size: 14px; color: var(--dark); opacity: 0.6; margin-bottom: 16px; }
.comment-form label { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; color: var(--dark); opacity: 0.5; margin-bottom: 6px; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form textarea {
  width: 100%; padding: 10px 14px; border-radius: 10px;
  border: 1.5px solid #e0dcf0; font-family: 'Rubik', sans-serif;
  font-size: 14px; color: var(--dark); background: var(--cream);
  outline: none; transition: border-color 0.15s; margin-bottom: 12px;
}
.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form textarea:focus { border-color: var(--blue); background: white; }
.comment-form textarea { min-height: 100px; resize: vertical; }
.comment-form input[type="submit"] {
  background: var(--hot-pink); color: white;
  font-family: 'Caprasimo', cursive; font-size: 15px;
  padding: 10px 26px; border-radius: 99px; border: none; cursor: pointer;
}

/* ── RELATED POSTS ── */
.related-section { margin-top: 56px; }
.related-title   { font-family: 'Caprasimo', cursive; font-size: 24px; color: var(--dark); margin-bottom: 20px; }
.related-grid    { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.related-card    {
  background: white; border-radius: 14px; border: 1.5px solid #e8e4f0;
  overflow: hidden; text-decoration: none; color: inherit; display: block;
  transition: transform 0.18s, border-color 0.18s;
}
.related-card:hover { transform: translateY(-3px); border-color: var(--light-blue); }
.related-card img   { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.related-card-body  { padding: 13px 15px 16px; }
.related-tag  { font-size: 10px; font-weight: 600; letter-spacing: 0.8px; text-transform: uppercase; color: var(--hot-pink); margin-bottom: 5px; }
.related-card h4 { font-family: 'Caprasimo', cursive; font-size: 15px; line-height: 1.25; color: var(--dark); }

/* ── ABOUT PAGE ── */
.about-hero {
  background: var(--light-blue); padding: 56px 40px 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  align-items: flex-end; overflow: hidden;
}
.about-hero-text { padding-bottom: 48px; }
.about-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 1.8px; text-transform: uppercase; color: var(--hot-pink); margin-bottom: 12px; }
.about-name    { font-family: 'Caprasimo', cursive; font-size: 52px; line-height: 1.05; color: white; margin-bottom: 18px; }
.about-tagline { font-size: 16px; line-height: 1.7; color: var(--dark); max-width: 400px; }
.about-hero-photo { display: flex; justify-content: flex-end; align-items: flex-end; }
.about-hero-photo img {
  width: 340px; height: 380px; object-fit: cover; object-position: top;
  border-radius: 18px 18px 0 0; border: 3px solid white; border-bottom: none; display: block;
}
.about-body { max-width: 720px; margin: 0 auto; padding: 56px 24px; }
.about-body h2 { font-family: 'Caprasimo', cursive; font-size: 26px; color: var(--blue); margin-bottom: 16px; }
.about-body p  { font-size: 16px; line-height: 1.8; color: var(--dark); margin-bottom: 20px; }
.about-body a  { color: var(--hot-pink); text-decoration: none; font-weight: 500; }
.faq-section   { max-width: 720px; margin: 0 auto; padding: 0 24px 56px; }
.faq-section h2 { font-family: 'Caprasimo', cursive; font-size: 26px; color: var(--blue); margin-bottom: 24px; }
.faq-item   { border-bottom: 1.5px solid var(--light-blue); padding: 20px 0; }
.faq-q { font-family: 'Caprasimo', cursive; font-size: 17px; color: var(--dark); margin-bottom: 8px; }
.faq-a { font-size: 15px; line-height: 1.7; color: var(--dark); opacity: 0.7; }
.faq-a a { color: var(--hot-pink); text-decoration: none; font-weight: 500; }
.about-cta { background: var(--hot-pink); padding: 52px 40px; text-align: center; }
.about-cta h2 { font-family: 'Caprasimo', cursive; font-size: 32px; color: white; margin-bottom: 10px; }
.about-cta p  { font-size: 16px; color: rgba(255,255,255,0.85); margin-bottom: 24px; }

/* ── CONTACT PAGE ── */
.contact-header {
  background: var(--yellow); padding: 52px 40px 48px;
  text-align: center; border-bottom: 2px dashed var(--hot-pink);
}
.contact-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 1.8px; text-transform: uppercase; color: var(--hot-pink); margin-bottom: 12px; }
.contact-title   { font-family: 'Caprasimo', cursive; font-size: 48px; color: var(--blue); margin-bottom: 16px; line-height: 1.1; }
.contact-sub     { font-size: 16px; line-height: 1.7; color: var(--dark); opacity: 0.75; max-width: 480px; margin: 0 auto; }
.contact-body    { max-width: 860px; margin: 0 auto; padding: 56px 24px 64px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-left h2 { font-family: 'Caprasimo', cursive; font-size: 24px; color: var(--dark); margin-bottom: 14px; }
.contact-left p  { font-size: 15px; line-height: 1.75; color: var(--dark); opacity: 0.72; margin-bottom: 16px; }
.welcome-types   { list-style: none; margin-bottom: 32px; }
.welcome-types li { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; line-height: 1.55; padding: 11px 0; border-bottom: 1px solid #ece8f6; }
.welcome-types li:last-child { border-bottom: none; }
.wt-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--hot-pink); flex-shrink: 0; margin-top: 5px; }
.social-section h3 { font-family: 'Caprasimo', cursive; font-size: 18px; color: var(--blue); margin-bottom: 14px; }
.social-links    { display: flex; flex-direction: column; gap: 9px; }
.social-link     { display: flex; align-items: center; gap: 12px; background: white; border: 1.5px solid #e8e4f0; border-radius: 12px; padding: 11px 15px; text-decoration: none; color: var(--dark); transition: border-color 0.15s, transform 0.15s; }
.social-link:hover { border-color: var(--hot-pink); transform: translateX(3px); }
.social-icon     { width: 34px; height: 34px; border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 17px; flex-shrink: 0; }
.ic-ig  { background: var(--pink); }
.ic-tok { background: #e8fff4; }
.ic-thr { background: #f0e8ff; }
.ic-bsk { background: #e0eeff; }
.ic-pin { background: #ffe0e0; }
.social-link-handle { font-weight: 600; color: var(--dark); font-size: 13px; display: block; }
.social-link-label  { font-size: 11px; color: var(--dark); opacity: 0.45; margin-top: 1px; display: block; }
.social-arrow { margin-left: auto; color: var(--dark); opacity: 0.3; font-size: 14px; }
.contact-form-wrap { background: white; border-radius: 20px; border: 1.5px solid #e8e4f0; padding: 32px; }
.contact-form-wrap h2 { font-family: 'Caprasimo', cursive; font-size: 22px; color: var(--dark); margin-bottom: 22px; }
.form-field   { margin-bottom: 16px; }
.form-label   { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; color: var(--dark); opacity: 0.5; margin-bottom: 6px; }
.form-input   { width: 100%; padding: 11px 14px; border-radius: 10px; border: 1.5px solid #e0dcf0; font-family: 'Rubik', sans-serif; font-size: 15px; color: var(--dark); background: var(--cream); outline: none; transition: border-color 0.15s; }
.form-input:focus { border-color: var(--blue); background: white; }
textarea.form-input { min-height: 130px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.subject-pills { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.subject-pill  { font-size: 12px; font-weight: 600; padding: 6px 14px; border-radius: 99px; border: 1.5px solid #e0dcf0; background: white; color: var(--dark); cursor: pointer; transition: all 0.15s; opacity: 0.65; }
.subject-pill:hover,
.subject-pill.selected { background: var(--pink); border-color: var(--hot-pink); color: var(--hot-pink); opacity: 1; }
.submit-btn { width: 100%; background: var(--hot-pink); color: white; font-family: 'Caprasimo', cursive; font-size: 17px; padding: 13px; border-radius: 99px; border: none; cursor: pointer; margin-top: 6px; }

/* ── FOOTER ── */
footer { background: var(--blue); padding: 28px 40px 20px; }
.footer-inner { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 24px; }
.footer-brand .logo { font-family: 'Caprasimo', cursive; font-size: 20px; color: white; margin-bottom: 6px; }
.footer-brand p { font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.5; max-width: 220px; }
.footer-links { display: flex; gap: 24px; list-style: none; padding-top: 4px; }
.footer-links a { font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.75); text-decoration: none; }
.footer-links a:hover { color: var(--pink); }
.footer-copy { text-align: center; font-size: 12px; color: rgba(255,255,255,0.35); border-top: 1px dashed rgba(255,255,255,0.2); padding-top: 18px; }

/* ── PRINT STYLES ── */
@media print {
  nav, footer, .newsletter, .about-strip, .comments-section,
  .related-section, .jump-link, .post-footer-tags { display: none !important; }
  .post-wrap { padding: 0; max-width: 100%; }
  .recipe-box { border: 1px solid #ccc; }
}

/* ── MOBILE ── */
@media (max-width: 700px) {
  nav { padding: 12px 20px; }
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 11px; letter-spacing: 0.3px; }
  .featured-wrap { padding: 20px; }
  .featured-card { grid-template-columns: 1fr; }
  .featured-card img { min-height: 220px; max-height: 260px; }
  .featured-text { padding: 24px 22px; }
  .featured-text h2 { font-size: 22px; }
  .section { padding: 12px 20px 32px; }
  .card-grid { grid-template-columns: 1fr; gap: 14px; }
  .newsletter { padding: 36px 20px; }
  .nl-form input { width: 100%; }
  .about-strip { grid-template-columns: 1fr; text-align: center; padding: 36px 20px; }
  .about-strip img { margin: 0 auto; }
  .post-title { font-size: 28px; }
  .related-grid { grid-template-columns: 1fr; }
  .about-hero { grid-template-columns: 1fr; padding: 36px 20px 0; gap: 24px; }
  .about-name { font-size: 38px; }
  .about-hero-photo { justify-content: center; }
  .about-hero-photo img { width: 220px; height: 260px; border-radius: 14px 14px 0 0; }
  .about-body { padding: 36px 20px; }
  .faq-section { padding: 0 20px 40px; }
  .about-cta { padding: 40px 20px; }
  .about-cta h2 { font-size: 26px; }
  .btn-white-lg, .btn-outline-white { display: block; margin: 8px auto; width: fit-content; }
  .contact-header { padding: 40px 20px 36px; }
  .contact-title { font-size: 36px; }
  .contact-body { grid-template-columns: 1fr; gap: 32px; padding: 36px 20px 48px; }
  .form-row { grid-template-columns: 1fr; }
  footer { padding: 24px 20px 16px; }
  .footer-inner { flex-direction: column; gap: 20px; }
  .footer-links { gap: 16px; }
}

/* ── SOCIAL LINK HANDLE (contact page) ── */
.social-link-handle { font-weight: 600; color: var(--dark); font-size: 14px; }

/* ── FOOTER SOCIAL ICONS ── */
.footer-social-icons { display: flex; gap: 8px; margin-top: 10px; }
.footer-soc {
  width: 32px; height: 32px; border-radius: 8px;
  background: rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; text-decoration: none;
  transition: background 0.15s;
}
.footer-soc:hover { background: rgba(255,255,255,0.25); }

/* ── FIX: remove underline from CTA buttons ── */
.btn-outline-white, .btn-white-lg { text-decoration: none; }

/* ── MOBILE: footer social icons ── */
@media (max-width: 700px) {
  .footer-social-icons { flex-wrap: wrap; }
}

/* ================================================================
   HEADING & TYPOGRAPHY SYSTEM — DEFINITIVE RULES
   These sit at the bottom of the stylesheet so they win over
   any WordPress / block editor defaults.
   ================================================================ */

/* Every heading element on the page — base font reset */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Rubik', sans-serif;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.2;
}

/* Post body H1 — large bold section title (e.g. book titles in imported posts) */
.entry-content h1,
.prose h1,
.post-wrap h1:not(.post-title) {
  font-family: 'Rubik', sans-serif !important;
  font-size: 22px !important;
  font-weight: 600 !important;
  color: var(--dark) !important;
  margin: 28px 0 10px !important;
  line-height: 1.3 !important;
}

/* Post body H2 — section headings, Caprasimo brand blue */
.entry-content h2,
.prose h2 {
  font-family: 'Caprasimo', cursive !important;
  font-size: 24px !important;
  font-weight: 400 !important;
  color: var(--blue) !important;
  margin: 28px 0 10px !important;
  line-height: 1.2 !important;
}

/* Post body H3 — sub-headings, Caprasimo dark */
.entry-content h3,
.prose h3 {
  font-family: 'Caprasimo', cursive !important;
  font-size: 20px !important;
  font-weight: 400 !important;
  color: var(--dark) !important;
  margin: 22px 0 8px !important;
}

/* Post body H4 — minor headings, Caprasimo dark */
.entry-content h4,
.prose h4 {
  font-family: 'Caprasimo', cursive !important;
  font-size: 17px !important;
  font-weight: 400 !important;
  color: var(--dark) !important;
  margin: 18px 0 6px !important;
}

/* Bold & strong — always Rubik, never Caprasimo */
h1 strong, h1 b,
h2 strong, h2 b,
h3 strong, h3 b,
h4 strong, h4 b,
p strong, p b,
li strong, li b,
.entry-content strong,
.entry-content b,
.prose strong,
.prose b {
  font-family: 'Rubik', sans-serif !important;
  font-weight: 600 !important;
}

/* Paragraph spacing in post body */
.entry-content p,
.prose p {
  margin-bottom: 14px;
  line-height: 1.65;
}

/* ── BLOG ARCHIVE PAGINATION ── */
.bgb-pagination { margin: 40px 0 20px; text-align: center; }
.bgb-pagination .nav-links { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.bgb-pagination .page-numbers {
  font-family: 'Caprasimo', cursive;
  font-size: 14px; padding: 8px 16px; border-radius: 99px;
  border: 1.5px solid #e0dcf0; color: var(--dark);
  text-decoration: none; display: inline-block;
  transition: all 0.15s;
}
.bgb-pagination .page-numbers:hover { border-color: var(--blue); color: var(--blue); }
.bgb-pagination .page-numbers.current { background: var(--hot-pink); border-color: var(--hot-pink); color: white; }
.bgb-pagination .page-numbers.dots { border: none; }

/* ── WS FORM — match theme styling ── */
.wsf-form { font-family: 'Rubik', sans-serif !important; }

.wsf-form input[type="text"],
.wsf-form input[type="email"],
.wsf-form input[type="tel"],
.wsf-form textarea,
.wsf-form select {
  width: 100% !important;
  padding: 11px 14px !important;
  border-radius: 10px !important;
  border: 1.5px solid #e0dcf0 !important;
  font-family: 'Rubik', sans-serif !important;
  font-size: 15px !important;
  color: #4a4468 !important;
  background: #faf9f4 !important;
  outline: none !important;
  transition: border-color 0.15s !important;
  box-shadow: none !important;
}

.wsf-form input[type="text"]:focus,
.wsf-form input[type="email"]:focus,
.wsf-form input[type="tel"]:focus,
.wsf-form textarea:focus,
.wsf-form select:focus {
  border-color: #87a2ff !important;
  background: white !important;
}

.wsf-form textarea {
  min-height: 130px !important;
  resize: vertical !important;
}

.wsf-form label {
  font-family: 'Rubik', sans-serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
  color: #4a4468 !important;
  opacity: 0.5 !important;
  margin-bottom: 6px !important;
  display: block !important;
}

.wsf-form input[type="submit"],
.wsf-form button[type="submit"] {
  width: 100% !important;
  background: #fc56d7 !important;
  color: white !important;
  font-family: 'Caprasimo', cursive !important;
  font-size: 17px !important;
  padding: 13px !important;
  border-radius: 99px !important;
  border: none !important;
  cursor: pointer !important;
  margin-top: 10px !important;
  transition: background 0.15s !important;
  box-shadow: none !important;
}

.wsf-form input[type="submit"]:hover,
.wsf-form button[type="submit"]:hover {
  background: #e040c0 !important;
}

/* Validation & help text */
.wsf-invalid-feedback,
.wsf-form .wsf-error {
  color: #fc56d7 !important;
  font-size: 12px !important;
  font-family: 'Rubik', sans-serif !important;
  margin-top: 4px !important;
}

.wsf-form .wsf-help {
  font-size: 12px !important;
  color: #4a4468 !important;
  opacity: 0.5 !important;
}

/* Success / error message banners */
.wsf-form .wsf-message-success {
  background: #e1f5ee !important;
  border-color: #1d9e75 !important;
  color: #0f6e56 !important;
  border-radius: 10px !important;
  font-family: 'Rubik', sans-serif !important;
  font-size: 14px !important;
  padding: 12px 16px !important;
}

.wsf-form .wsf-message-error {
  background: #fbeaf0 !important;
  border-color: #fc56d7 !important;
  color: #4a4468 !important;
  border-radius: 10px !important;
  font-family: 'Rubik', sans-serif !important;
  font-size: 14px !important;
  padding: 12px 16px !important;
}

/* ================================================================
   SHARED HERO PHOTO CARD
   Used on About Gia & Seattle Baking Commissions pages.
   Replaces the old cut-off image treatment.
   ================================================================ */

.hero-photo-card {
  background: white;
  border-radius: 20px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  overflow: hidden;
  width: 300px;
}

.hero-photo-card img {
  width: 100%;
  object-position: center;
  display: block;
}

.hero-photo-card-caption {
  padding: 14px 18px 16px;
}

.hero-photo-card-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--hot-pink);
  margin-bottom: 4px;
}

.hero-photo-card-title {
  font-family: 'Caprasimo', cursive;
  font-size: 17px;
  color: var(--dark);
}


/* ================================================================
   ABOUT PAGE — hero updated to use floating card
   ================================================================ */

.about-hero {
  background: var(--light-blue);
  padding: 56px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  overflow: visible; /* was hidden — caused the cut-off */
}

.about-hero-photo {
  display: flex;
  justify-content: right;
  align-items: right;
  padding-left: 12px;
  padding-right: 40px;
}


/* ================================================================
   COMMISSIONS PAGE
   ================================================================ */

.commissions-hero {
  background: var(--pink);
  padding: 52px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.commissions-hero-text {
  padding-bottom: 0;
}

.commissions-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--hot-pink);
  margin-bottom: 12px;
}

.commissions-name {
  font-family: 'Caprasimo', cursive;
  font-size: 52px;
  line-height: 1.05;
  color: white;
  margin-bottom: 18px;
}

.commissions-tagline {
  font-size: 15px;
  line-height: 1.75;
  color: var(--dark);
  max-width: 380px;
  margin-bottom: 28px;
}

.commissions-hero-photo {
  display: flex;
  justify-content: right;
  align-items: right;
  padding-left: 12px;
  padding-right: 40px;
}

/* Gallery */
.commissions-gallery-section {
  padding-top: 44px;
}

.commissions-gallery-card {
  cursor: default;
}

.commissions-gallery-placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--light-blue);
}

.commissions-gallery-caption {
  font-style: italic;
  font-size: 13px;
  color: var(--dark);
  opacity: 0.75;
}

/* CTA band — mirrors About page */
.commissions-cta {
  background: var(--hot-pink);
  padding: 52px 40px;
  text-align: center;
}

.commissions-cta h2 {
  font-family: 'Caprasimo', cursive;
  font-size: 32px;
  color: white;
  margin-bottom: 10px;
}

.commissions-cta p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 24px;
}


/* ================================================================
   MOBILE — Commissions & shared hero card
   ================================================================ */

@media (max-width: 700px) {
  .commissions-hero {
    grid-template-columns: 1fr;
    padding: 36px 20px;
    gap: 28px;
  }

  .commissions-name {
    font-size: 38px;
  }

  .commissions-hero-photo,
  .about-hero-photo {
    justify-content: center;
    padding-left: 0;
    padding-right: 0;
  }

  .hero-photo-card {
    width: 100%;
    max-width: 320px;
  }

  .commissions-cta {
    padding: 40px 20px;
  }

  .commissions-cta h2 {
    font-size: 26px;
  }

  /* About hero mobile override */
  .about-hero {
    grid-template-columns: 1fr;
    padding: 36px 20px;
    gap: 24px;
  }
}
@media (max-width: 700px) {
  nav {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
  }

  .nav-links {
    gap: 18px;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 300px;
  }
}
.commissions-gallery-card:hover {
  transform: none;
  border-color: #e8e4f0;
}
.commissions-gallery-card img {
  aspect-ratio: 1 / 1;
}
