/* Herb Restaurant - styles for the Oct 2026 content pages (menu, Christmas, party,
   pre-theatre, vouchers/hampers, location pages) and the mobile call/book bar.
   Loaded AFTER custom.min.css by inc/site.php. Everything is namespaced `hp-` so it
   cannot change the look of existing pages. */

/* ---------- content wrapper ---------- */
.s-about.hp-content { padding-bottom: 20px; background: #fff; color: #010507; }
.s-about.hp-content p { text-align: left; }
.hp-content .row { max-width: 1000px; }
.hp-content p, .hp-content li { line-height: 1.75; }
.hp-content h2 { margin-top: 44px; }
.hp-content h3 { text-align: left; margin-top: 28px; }
.hp-content ul { margin: 12px 0 18px 22px; }
.hp-content ul li { margin-bottom: 6px; text-align: left; list-style: disc; }
.hp-content a { color: #6a8c00; }
.hp-content a:hover { color: #4d6600; }

/* answer-first capsule */
.hp-answer {
    border-left: 4px solid #6a8c00;
    background: #f6f7f1;
    padding: 18px 22px;
    margin: 0 0 28px;
    font-size: 1.05em;
    border-radius: 0 6px 6px 0;
}
.hp-answer p { margin: 0; text-align: left; }
.hp-updated { color: #888; font-size: 13px; margin: -12px 0 26px; }

/* quick facts */
.hp-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 20px 0 30px; }
.hp-fact { border: 1px solid #e3e3dc; border-radius: 6px; padding: 16px 18px; background: #fff; }
.hp-fact h4 { margin: 0 0 6px; font-size: 15px; text-transform: uppercase; letter-spacing: .04em; color: #6a8c00; }
.hp-fact p { margin: 0; font-size: 15px; line-height: 1.6; text-align: left; }

/* buttons row */
.hp-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 8px; }
.hp-actions .btn { margin: 0; }

/* cards */
.hp-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin: 20px 0 30px; }
.hp-card { border: 1px solid #e3e3dc; border-radius: 6px; overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.hp-card img { width: 100%; height: 180px; object-fit: cover; display: block; }
.hp-card-body { padding: 16px 18px 18px; flex: 1; display: flex; flex-direction: column; }
.hp-card h3, .hp-card h4 { margin: 0 0 8px; font-size: 18px; line-height: 1.3; text-align: left; }
.hp-card h3 a, .hp-card h4 a { color: #222; text-decoration: none; }
.hp-card h3 a:hover, .hp-card h4 a:hover { color: #6a8c00; }
.hp-card p { font-size: 14.5px; color: #555; flex: 1; text-align: left; margin: 0 0 8px; }
.hp-card .hp-more { font-size: 13px; font-weight: 600; color: #6a8c00; }
.hp-price { font-weight: 700; color: #222; white-space: nowrap; }

/* awards / reviews */
.hp-awards { list-style: none; margin: 14px 0 22px; padding: 0; }
.hp-awards li { list-style: none; padding: 10px 0; border-bottom: 1px solid #eee; }
.hp-awards li:last-child { border-bottom: 0; }
.hp-ratings { width: 100%; border-collapse: collapse; margin: 14px 0 6px; font-size: 15px; }
.hp-ratings th, .hp-ratings td { padding: 10px 12px; border-bottom: 1px solid #e6e6e0; text-align: left; vertical-align: top; }
.hp-ratings th { background: #f6f7f1; font-weight: 600; }
.hp-note { color: #777; font-size: 13px; line-height: 1.6; }

/* menu */
.hp-menu-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 28px; }
.hp-menu-nav a { padding: 6px 14px; border: 1px solid #d9dccd; border-radius: 20px; font-size: 13.5px; color: #444; text-decoration: none; }
.hp-menu-nav a:hover { background: #6a8c00; border-color: #6a8c00; color: #fff; }
.hp-menu-section { margin-bottom: 34px; scroll-margin-top: 90px; }
.hp-menu-section > h2 { margin: 0 0 6px; border-bottom: 2px solid #6a8c00; padding-bottom: 6px; font-size: 26px; }
.hp-menu-intro { color: #666; font-size: 14.5px; margin: 8px 0 14px; text-align: left; }
.hp-dish { padding: 13px 0; border-bottom: 1px solid #ececE6; }
.hp-dish-head { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.hp-dish-name { font-weight: 700; font-size: 17px; color: #222; margin: 0; text-align: left; }
.hp-dish-desc { margin: 4px 0 0; font-size: 14.5px; color: #555; line-height: 1.6; text-align: left; }
.hp-tags { margin-top: 6px; }
.hp-tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .04em; padding: 2px 8px; border-radius: 10px; margin-right: 5px; background: #eef2dd; color: #4d6600; }
.hp-tag.is-ask { background: #fff4d6; color: #7a5a00; }
.hp-key { background: #f6f7f1; border-radius: 6px; padding: 14px 18px; font-size: 14px; margin: 18px 0 26px; }
.hp-key p { margin: 0 0 6px; text-align: left; }

/* offer box */
.hp-offer { border: 2px solid #6a8c00; border-radius: 8px; padding: 20px 24px; margin: 22px 0; background: #fbfcf6; }
.hp-offer h3 { margin: 0 0 8px; }
.hp-offer p { margin: 0 0 8px; text-align: left; }

/* FAQ */
.hp-faq h3 { margin: 22px 0 6px; font-size: 18px; }
.hp-faq p { margin: 0; text-align: left; }

/* related-links module */
.hp-related { margin: 36px 0 10px; padding: 22px 24px; background: #f6f7f1; border-radius: 8px; }
.hp-related h2 { margin: 0 0 10px; font-size: 22px; }
.hp-related ul { margin: 0 0 0 20px; }

/* map */
.hp-map iframe { width: 100%; height: 320px; border: 0; border-radius: 6px; }

/* two-column enquiry form */
.hp-enquiry { max-width: 640px; margin: 20px 0 10px; }
.hp-enquiry .form-field { margin-bottom: 12px; }
.hp-enquiry .message-warning, .hp-enquiry .message-success { display: none; }

/* sticky call / directions / book bar (mobile only) */
.hp-sticky { display: none; }
@media (max-width: 800px) {
    .hp-sticky {
        display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 900;
        background: #1b1b1b; box-shadow: 0 -2px 10px rgba(0,0,0,.25);
    }
    .hp-sticky a {
        flex: 1; text-align: center; padding: 13px 4px 12px; color: #fff; text-decoration: none;
        font-size: 13px; font-weight: 600; letter-spacing: .02em; border-right: 1px solid #333;
    }
    .hp-sticky a:last-child { border-right: 0; background: #6a8c00; }
    .hp-sticky a:active { opacity: .8; }
    body.has-hp-sticky { padding-bottom: 50px; }
    .chat-button-section { bottom: 62px !important; }
    .hp-dish-head { flex-direction: column; gap: 2px; }
}

/* photo gallery (location pages) */
.hp-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; margin: 16px 0 24px; }
.hp-gallery figure { margin: 0; }
.hp-gallery img { width: 100%; height: auto; border-radius: 6px; display: block; }
.hp-gallery figcaption { font-size: 13px; color: #666; padding: 4px 2px 0; text-align: left; }

/* compact hero on content pages so the answer, buttons and phone number sit near the top (esp. on mobile) */
body.has-hp-sticky .s-home { min-height: 360px; height: auto; }
body.has-hp-sticky .s-home .home-content { height: auto; }
body.has-hp-sticky .home-content { padding-bottom: 4rem; }
body.has-hp-sticky .home-content__main { padding-top: 15rem; }
body.has-hp-sticky .home-content h1 { font-size: 4.2rem; line-height: 1.25; }
body.has-hp-sticky .home-content__scroll { display: none; }
@media (max-width: 800px) {
    body.has-hp-sticky .s-home { min-height: 300px; height: auto; }
    body.has-hp-sticky .home-content__main { padding-top: 11rem; }
    body.has-hp-sticky .home-content h1 { font-size: 2.8rem; }
}
