/*
Theme Name:   Hartwood Beer (Divi Child)
Theme URI:    https://hartwoodbeer.com
Description:  Divi child theme for Hartwood Beer.
Author:       Flashpoint Digital Marketing
Author URI:   https://flashpoint.agency
Template:     Divi
Version:      1.0.0
Text Domain:  hartwood-divi-child
*/

:root {
  --hb-red: #d0103a;
  --hb-navy: #00112b;
  --hb-blue: #0046ad;
  --hb-gold: #fdc82f;
  --hb-ink: #43403f;
  --hb-cream: #f6f3ee;
}

/* Display headings in Bebas Neue with a little tracking */
h1, h2, h3, h4,
.et_pb_module_header,
.et_pb_slide_title {
  font-family: 'Bebas Neue', Impact, sans-serif;
  letter-spacing: .02em;
  font-weight: 400 !important;
  line-height: 1.05;
}

/* Eyebrow label used above section headings */
.hb-eyebrow { font-family: 'Source Sans 3', sans-serif; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: 13px; color: var(--hb-red); }

/* Top contact bar */
.hb-topbar a { color: #fff !important; }
.hb-topbar .et-pb-icon { font-size: 14px; margin-right: 6px; }

/* Cards */
.hb-card { border-radius: 10px; overflow: hidden; box-shadow: 0 6px 24px rgba(0,17,43,.08); transition: transform .2s ease, box-shadow .2s ease; }
.hb-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,17,43,.14); }

/* Brewery logo grid */
.hb-logos .et_pb_image img { max-height: 110px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .85; transition: filter .2s, opacity .2s; }
.hb-logos .et_pb_image:hover img { filter: none; opacity: 1; }

/* Buttons */
.et_pb_button { border-radius: 6px !important; letter-spacing: .06em !important; }

/* Events Calendar inherits brand */
.tribe-common .tribe-common-c-btn, .tribe-events .tribe-events-c-search__button { background-color: var(--hb-red) !important; }
.tribe-events-single-event-title, .tribe-events-calendar-list__event-title { font-family: 'Bebas Neue', Impact, sans-serif; letter-spacing: .02em; }

/* Buttons never underlined */
.et_pb_button, .et_pb_button:hover { text-decoration: none !important; }
/* Card images: consistent crop */
.hb-card .hb-card-img img { width: 100%; height: 230px; object-fit: cover; }
.hb-card .hb-card-img { margin-bottom: 0 !important; }
.hb-rounded img { border-radius: 10px; }
/* Logo cards */
.hb-logo-card { display: flex; align-items: center; justify-content: center; min-height: 170px; padding: 18px; }
.hb-logo-card .et_pb_image { margin: 0 !important; }
.hb-logo-card img { max-height: 120px; width: auto !important; object-fit: contain; }
/* Footer list */
.et_pb_text ul li a { text-decoration: none; }
@media (max-width: 980px) {
  .hb-topbar { text-align: center !important; }
}
