/* Content pages: generic page, about, contact, recipes, 404. Scoped to .hme-main variants. */
.hme-page, .hme-about, .hme-contact, .hme-archive, .hme-single, .hme-404 {
  --hme-clock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E");
  --hme-branch: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120' fill='none' stroke='%236B7A3A' stroke-width='3.5' stroke-linecap='round'%3E%3Cpath d='M20 100 C45 75 70 50 100 20'/%3E%3Cpath d='M38 82 c-10-2-16-9-18-18 10 0 17 6 18 18z M52 68 c-8-6-10-15-8-24 9 4 13 12 8 24z M66 54 c-9-2-15-9-16-18 9 0 16 5 16 18z M60 70 c10 0 18 4 22 12 -10 3 -19 -1 -22 -12z M76 54 c9-1 17 3 20 11 -9 3 -18 0 -20 -11z M88 38 c7-3 12-9 12-17 -8 3 -12 9 -12 17z'/%3E%3C/svg%3E");
  background: var(--wp--preset--color--cream);
  color: var(--wp--preset--color--ink);
}
.hme-main { margin: 0 !important; }
.hme-main > * { margin-block-start: 0; }

/* Header band */
.hme-pagehead {
  background: linear-gradient(180deg, var(--wp--preset--color--sand) 0%, var(--wp--preset--color--cream) 100%);
  padding: clamp(40px, 6vw, 80px) 24px clamp(28px, 4vw, 48px);
  text-align: center;
  border-bottom: 1px solid var(--wp--preset--color--line);
}
.hme-pagehead h1 {
  font-family: var(--wp--preset--font-family--heading);
  font-weight: 600;
  color: var(--wp--preset--color--olive-900);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.15;
  margin: 0 0 .4em;
}
.hme-eyebrow, .hme-eyebrow a {
  font-family: var(--wp--preset--font-family--body);
  text-transform: uppercase;
  letter-spacing: .28em;
  font-size: .75rem;
  font-weight: 600;
  color: var(--wp--preset--color--gold) !important;
  text-decoration: none;
  margin-bottom: .8em;
}
.hme-ornament { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 14px auto 8px; }
.hme-ornament span { width: 64px; height: 1px; background: var(--wp--preset--color--gold); display: block; }
.hme-ornament i { width: 7px; height: 7px; background: var(--wp--preset--color--gold); transform: rotate(45deg); display: block; }
.hme-intro { color: var(--wp--preset--color--muted); font-style: italic; font-size: 1.1rem; margin: 10px auto 0; max-width: 560px; }

/* Readable body */
.hme-pagebody { padding: clamp(32px, 5vw, 64px) 24px clamp(48px, 7vw, 96px); }
.hme-pagebody .wp-block-post-content { font-family: var(--wp--preset--font-family--body); font-size: 1.0625rem; line-height: 1.8; }
.hme-pagebody .wp-block-post-content > * + * { margin-top: 1.1em; }
.hme-pagebody h2, .hme-pagebody h3, .hme-pagebody h4 {
  font-family: var(--wp--preset--font-family--heading);
  color: var(--wp--preset--color--olive-900);
  line-height: 1.25;
  font-weight: 600;
}
.hme-pagebody h2 { font-size: 1.75rem; margin-top: 2.2em; padding-bottom: .35em; border-bottom: 1px solid var(--wp--preset--color--line); position: relative; }
.hme-pagebody h2::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 56px; height: 2px; background: var(--wp--preset--color--gold); }
.hme-pagebody h3 { font-size: 1.3rem; margin-top: 1.8em; color: var(--wp--preset--color--olive-700); }
.hme-pagebody h4 { font-size: 1.1rem; margin-top: 1.5em; }
.hme-pagebody .wp-block-post-content > h2:first-child, .hme-pagebody .wp-block-post-content > h3:first-child { margin-top: 0; }
.hme-pagebody a { color: var(--wp--preset--color--olive-500); text-decoration: underline; text-decoration-color: var(--wp--preset--color--gold-light); text-underline-offset: 3px; }
.hme-pagebody a:hover { color: var(--wp--preset--color--gold); }
.hme-pagebody strong { color: var(--wp--preset--color--olive-900); font-weight: 600; }
.hme-pagebody ul, .hme-pagebody ol { padding-left: 1.4em; }
.hme-pagebody li { margin: .4em 0; }
.hme-pagebody li::marker { color: var(--wp--preset--color--gold); }
.hme-pagebody table { border-collapse: collapse; width: 100%; font-size: .95rem; }
.hme-pagebody th, .hme-pagebody td { border: 1px solid var(--wp--preset--color--line); padding: 8px 12px; text-align: left; }
.hme-pagebody th { background: var(--wp--preset--color--sand); }

/* Buttons (scoped) */
.hme-main .hme-btn .wp-block-button__link {
  background: var(--wp--preset--color--olive-900); color: var(--wp--preset--color--cream);
  border: 1px solid var(--wp--preset--color--olive-900); border-radius: 4px;
  font-family: var(--wp--preset--font-family--body); font-weight: 500; letter-spacing: .04em;
  padding: .85em 1.8em; text-decoration: none; transition: background .2s, color .2s;
}
.hme-main .hme-btn .wp-block-button__link:hover { background: var(--wp--preset--color--gold); border-color: var(--wp--preset--color--gold); color: #fff; }
.hme-main .hme-btn.is-style-outline .wp-block-button__link { background: transparent; color: var(--wp--preset--color--olive-900); }
.hme-main .hme-btn.is-style-outline .wp-block-button__link:hover { background: var(--wp--preset--color--olive-900); color: var(--wp--preset--color--cream); border-color: var(--wp--preset--color--olive-900); }

/* Generic content sections (about/contact) */
.hme-about .hme-sec, .hme-contact .hme-sec { padding: clamp(36px, 5vw, 72px) 24px; }
.hme-about h2, .hme-contact h2, .hme-single h2, .hme-404 h1 {
  font-family: var(--wp--preset--font-family--heading); color: var(--wp--preset--color--olive-900); font-weight: 600; line-height: 1.2;
}
.hme-about h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 .6em; }
.hme-about p { font-family: var(--wp--preset--font-family--body); font-size: 1.0625rem; line-height: 1.85; }
.hme-about .hme-story-cols { gap: clamp(28px, 5vw, 64px); }
.hme-about-img {
  aspect-ratio: 4/5; border-radius: 6px; border: 1px solid var(--wp--preset--color--line);
  background:
    url("../img/about.jpg") center/cover no-repeat,
    url("/wp-content/uploads/2026/12/urun-erken-hasat-1-lt-sise.png") center/contain no-repeat,
    #fff;
  box-shadow: var(--hme-shadow);
}
.hme-quote-sec { padding-top: 0 !important; }
.hme-pullquote { border: 0 !important; margin: 0; padding: 0 !important; text-align: center; position: relative; }
.hme-pullquote::before { content: "“"; display: block; font-family: var(--wp--preset--font-family--heading); font-size: 5rem; line-height: .6; color: var(--wp--preset--color--gold); }
.hme-pullquote p { font-family: var(--wp--preset--font-family--heading) !important; font-style: italic; font-size: clamp(1.4rem, 3vw, 2rem) !important; line-height: 1.4 !important; color: var(--wp--preset--color--olive-700); }
.hme-year { background: var(--wp--preset--color--olive-900); padding: clamp(40px, 6vw, 72px) 24px; text-align: center; position: relative; overflow: hidden; }
.hme-year::before, .hme-year::after { content: ""; position: absolute; left: 50%; width: 1px; height: 28px; background: var(--wp--preset--color--gold); }
.hme-year::before { top: 0; } .hme-year::after { bottom: 0; }
.hme-year-num { font-family: var(--wp--preset--font-family--heading) !important; font-size: clamp(4rem, 12vw, 8rem) !important; line-height: 1 !important; color: var(--wp--preset--color--gold-light); margin: 0; letter-spacing: .04em; }
.hme-year-text { color: var(--wp--preset--color--cream); text-transform: uppercase; letter-spacing: .24em; font-size: .8rem !important; margin-top: .8em; }
.hme-story2 p:first-child::first-letter { font-family: var(--wp--preset--font-family--heading); font-size: 3.6em; float: left; line-height: .85; padding: .08em .12em 0 0; color: var(--wp--preset--color--gold); }
.hme-values { padding: 0 24px clamp(40px, 6vw, 72px); }
.hme-values-row { gap: 24px; border-top: 1px solid var(--wp--preset--color--line); border-bottom: 1px solid var(--wp--preset--color--line); padding: 36px 0; }
.hme-value { text-align: center; }
.hme-value::before { content: ""; display: block; width: 44px; height: 44px; margin: 0 auto 12px; background: var(--wp--preset--color--gold); -webkit-mask: var(--hme-branch) center/contain no-repeat; mask: var(--hme-branch) center/contain no-repeat; }
.hme-v-cold::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5'%3E%3Cpath d='M12 3C8 9 6 12 6 15a6 6 0 0 0 12 0c0-3-2-6-6-12z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5'%3E%3Cpath d='M12 3C8 9 6 12 6 15a6 6 0 0 0 12 0c0-3-2-6-6-12z'/%3E%3C/svg%3E"); }
.hme-v-pelit::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linejoin='round'%3E%3Cpath d='M2 19l7-10 4 6 3-4 6 8z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linejoin='round'%3E%3Cpath d='M2 19l7-10 4 6 3-4 6 8z'/%3E%3C/svg%3E"); }
.hme-value h3 { font-family: var(--wp--preset--font-family--heading); font-size: 1.3rem; color: var(--wp--preset--color--olive-900); margin: 0 0 .3em; }
.hme-value p { color: var(--wp--preset--color--muted); font-size: .95rem !important; line-height: 1.6 !important; margin: 0; }
.hme-cta-band { background: var(--wp--preset--color--sand); padding: clamp(44px, 6vw, 80px) 24px; text-align: center; }
.hme-cta-band h2 { font-size: clamp(1.4rem, 3vw, 2rem); }

/* Contact cards */
.hme-cards { gap: 24px; }
.hme-card { background: var(--wp--preset--color--paper); border: 1px solid var(--wp--preset--color--line); border-radius: 6px; padding: 28px 28px 26px 92px; position: relative; box-shadow: var(--hme-shadow); }
.hme-card::before { content: ""; position: absolute; left: 28px; top: 28px; width: 40px; height: 40px; background: var(--wp--preset--color--gold); -webkit-mask: var(--ico) center/contain no-repeat; mask: var(--ico) center/contain no-repeat; }

.hme-card h3 { font-family: var(--wp--preset--font-family--heading); font-size: 1.25rem; color: var(--wp--preset--color--olive-900); margin: 0 0 .4em; }
.hme-card p, .hme-card li { margin: 0 0 .3em; line-height: 1.6; }
.hme-card ul { margin: 0; padding-left: 1.2em; }
.hme-card li::marker { color: var(--wp--preset--color--gold); }
.hme-card a { color: var(--wp--preset--color--olive-700); text-decoration-color: var(--wp--preset--color--gold-light); text-underline-offset: 3px; word-break: break-word; }
.hme-card a:hover { color: var(--wp--preset--color--gold); }
.hme-card .hme-link { margin-top: .6em; font-weight: 500; }
.hme-c-phone { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linejoin='round'%3E%3Cpath d='M5 4h4l2 5-2.5 1.5a11 11 0 0 0 5 5L15 13l5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 6a2 2 0 0 1 2-2z'/%3E%3C/svg%3E"); }
.hme-c-mail { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 7l9 6 9-6'/%3E%3C/svg%3E"); }
.hme-c-clock { --ico: var(--hme-clock); }
.hme-c-pin { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linejoin='round'%3E%3Cpath d='M12 21s7-6 7-11a7 7 0 0 0-14 0c0 5 7 11 7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E"); }
.hme-c-store { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linejoin='round'%3E%3Cpath d='M4 9l1-5h14l1 5M4 9v11h16V9M4 9a3 3 0 0 0 5.3 2 3 3 0 0 0 5.4 0A3 3 0 0 0 20 9M10 20v-6h4v6'/%3E%3C/svg%3E"); }

/* Recipe cards */
.hme-archive-body { padding: clamp(36px, 5vw, 64px) 24px clamp(56px, 8vw, 100px); }
.hme-recipe-grid { gap: 32px 28px !important; }
.hme-recipe-card { text-align: left; }
.hme-thumb {
  position: relative; aspect-ratio: 3/2; overflow: hidden; border-radius: 6px; border: 1px solid var(--wp--preset--color--line);
  background: var(--hme-branch) center/38% no-repeat, linear-gradient(135deg, var(--wp--preset--color--sand), var(--wp--preset--color--paper));
}
.hme-thumb .wp-block-post-featured-image { position: absolute; inset: 0; margin: 0; }
.hme-thumb .wp-block-post-featured-image a, .hme-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hme-thumb img { transition: transform .5s ease; }
.hme-recipe-card:hover .hme-thumb img { transform: scale(1.04); }
.hme-recipe-card h3 { font-family: var(--wp--preset--font-family--heading); font-size: 1.25rem; line-height: 1.3; margin: 14px 0 6px; font-weight: 600; }
.hme-recipe-card h3 a { color: var(--wp--preset--color--olive-900); text-decoration: none; }
.hme-recipe-card h3 a:hover { color: var(--wp--preset--color--gold); }
.hme-meta { color: var(--wp--preset--color--muted); font-size: .85rem; margin: 0; letter-spacing: .02em; }
.hme-meta p { margin: 0; display: inline-flex; align-items: center; gap: 7px; }
.hme-meta p::before { content: ""; width: 15px; height: 15px; background: var(--wp--preset--color--olive-500); -webkit-mask: var(--hme-clock) center/contain no-repeat; mask: var(--hme-clock) center/contain no-repeat; }
.hme-meta-lg { font-size: 1rem; margin-top: 10px; }
.hme-meta-lg p::before { width: 18px; height: 18px; }
.wp-block-query-pagination { margin-top: 40px; gap: 16px; }

/* Single recipe */
.hme-single-hero { padding: 32px 24px 0; }
.hme-thumb-lg { border-radius: 8px; }
.hme-postbody .hme-lead { font-size: 1.25rem; font-style: italic; color: var(--wp--preset--color--olive-700); line-height: 1.6; }
.hme-postbody .wp-block-list { padding-left: 1.4em; }
.hme-postbody ol.wp-block-list { counter-reset: s; list-style: none; padding-left: 0; }
.hme-postbody ol.wp-block-list > li { counter-increment: s; position: relative; padding-left: 3em; margin: 1em 0; }
.hme-postbody ol.wp-block-list > li::before { content: counter(s); position: absolute; left: 0; top: .1em; width: 2em; height: 2em; border-radius: 50%; background: var(--wp--preset--color--olive-900); color: var(--wp--preset--color--gold-light); font-family: var(--wp--preset--font-family--heading); text-align: center; line-height: 2em; font-size: .95rem; }
.hme-tip { background: var(--wp--preset--color--sand); border-left: 3px solid var(--wp--preset--color--gold); padding: 18px 22px; border-radius: 0 6px 6px 0; margin-top: 2em; }
.hme-tip p { margin: 0; }
.hme-cta-wrap { padding: 0 24px; }
.hme-cta-box { background: var(--wp--preset--color--olive-900); border-radius: 8px; padding: 40px 28px; text-align: center; }
.hme-cta-box h3 { font-family: var(--wp--preset--font-family--heading); color: var(--wp--preset--color--cream); font-size: 1.7rem; margin: 0 0 .3em; }
.hme-cta-box p { color: var(--wp--preset--color--sand); }
.hme-cta-box .hme-btn .wp-block-button__link { background: var(--wp--preset--color--gold); border-color: var(--wp--preset--color--gold); color: #fff; }
.hme-cta-box .hme-btn .wp-block-button__link:hover { background: var(--wp--preset--color--gold-light); border-color: var(--wp--preset--color--gold-light); color: var(--wp--preset--color--olive-900); }
.hme-more { padding: clamp(48px, 7vw, 96px) 24px; }
.hme-more h2 { text-align: center; font-size: 2rem; margin: 0 0 1.2em; }

/* 404 */
.hme-404-inner { padding-block: clamp(64px, 10vw, 140px); border-bottom: 0; }
.hme-404 .hme-pagehead h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }

@media (max-width: 781px) {
  .hme-card { padding: 84px 22px 22px; }
  .hme-card::before { left: 22px; top: 22px; }
  .hme-about-img { aspect-ratio: 4/3; }
  .hme-pagebody h2 { font-size: 1.5rem; }
}

.hme-pagehead .hme-eyebrow { text-align: center !important; margin-inline: auto !important; max-width: none; display: block; }
.hme-pagehead .hme-eyebrow a { display: inline-block; }
.hme-card.hme-c-store { grid-column: span 2; }
@media (max-width: 781px) { .hme-card.hme-c-store { grid-column: auto; } }
.hme-cta-box .hme-eyebrow, .hme-cta-band .hme-eyebrow { text-align:center !important; margin-inline:auto !important; display:block; }
