/* Halal Wellness Core – directory, forms and content helpers.
   Brand colours from the original site. Override any of these in Divi → Theme Options → Custom CSS. */
:root {
	--hw-primary: #4CAF50;
	--hw-primary-dark: #2E7D32;
	--hw-accent: #8BC34A;
	--hw-text: #263238;
	--hw-muted: #5f6b70;
	--hw-light: #f5f5f5;
	--hw-border: #e0e0e0;
	--hw-radius: 6px;
	--hw-heading-font: 'Playfair Display', Georgia, 'Times New Roman', serif;
}

/* ---------- Content helpers used in imported pages ---------- */
.hw-lead { font-size: 1.15em; color: var(--hw-muted); }
.hw-byline { color: var(--hw-muted); font-style: italic; }
.hw-prose h2 { margin-top: 1.6em; }
.hw-prose h3 { margin-top: 1.2em; }
.hw-prose ul, .hw-prose ol { margin: 0 0 1.2em 1.4em; padding: 0; }
.hw-prose ul { list-style: disc; }
.hw-prose ol { list-style: decimal; }
.hw-prose li { margin-bottom: .35em; }
.hw-prose blockquote, .entry-content blockquote { border-left: 4px solid var(--hw-primary); background: var(--hw-light); padding: 1em 1.25em; margin: 1.2em 0; font-style: italic; }
.hw-az { display: flex; flex-wrap: wrap; gap: .4em; }
.hw-az a { display: inline-block; min-width: 2em; text-align: center; padding: .2em .4em; border: 1px solid var(--hw-border); border-radius: 4px; text-decoration: none; }
.hw-author-box { display: flex; flex-direction: column; gap: .3em; margin-top: 2.5em; padding: 1.25em 1.5em; background: var(--hw-light); border-radius: var(--hw-radius); }
.hw-author-box h4 { margin: 0; }

details { border: 1px solid var(--hw-border); border-radius: var(--hw-radius); margin: 0 0 .75em; background: #fff; }
details > summary { cursor: pointer; padding: .9em 1.1em; font-weight: 600; color: var(--hw-text); list-style: none; position: relative; padding-right: 2.5em; }
details > summary::-webkit-details-marker { display: none; }
details > summary::after { content: '+'; position: absolute; right: 1.1em; top: 50%; transform: translateY(-50%); font-size: 1.3em; color: var(--hw-primary); }
details[open] > summary::after { content: '–'; }
details > *:not(summary) { padding: 0 1.1em; }
details > *:last-child { padding-bottom: .9em; }

/* ---------- Buttons ---------- */
.hw-btn, a.hw-btn, button.hw-btn {
	display: inline-block; background: var(--hw-primary); color: #fff !important; border: 2px solid var(--hw-primary);
	padding: .6em 1.2em; border-radius: 4px; font-weight: 600; line-height: 1.3; text-decoration: none; cursor: pointer;
	transition: background .2s ease, border-color .2s ease; font-size: 1em; margin: .2em .2em .2em 0;
}
.hw-btn:hover, .hw-btn:focus { background: var(--hw-primary-dark); border-color: var(--hw-primary-dark); }
.hw-btn-outline, a.hw-btn-outline { background: transparent; color: var(--hw-primary-dark) !important; }
.hw-btn-outline:hover { background: var(--hw-primary-dark); color: #fff !important; }
.hw-btn-small { font-size: .85em; padding: .45em .9em; }
.hw-hero-btn { display: inline-block; margin: 0 .4em; }

/* ---------- Directory filters ---------- */
.hw-directory { margin: 0 0 2em; }
.hw-filters { display: flex; flex-wrap: wrap; gap: 1em; align-items: flex-end; background: var(--hw-light); padding: 1.25em; border-radius: var(--hw-radius); margin-bottom: 1.5em; }
.hw-filters .hw-field { flex: 1 1 170px; margin: 0; }
.hw-filters .hw-field--grow { flex: 2 1 260px; }
.hw-filters .hw-field--actions { flex: 0 0 auto; display: flex; align-items: center; gap: .75em; }
.hw-reset { font-size: .9em; }
.hw-count { color: var(--hw-muted); font-size: .9em; margin-bottom: 1em; }

/* ---------- Cards ---------- */
.hw-grid { display: grid; gap: 1.5em; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hw-grid--1 { grid-template-columns: 1fr; }
.hw-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hw-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .hw-grid, .hw-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .hw-grid, .hw-grid--2, .hw-grid--4 { grid-template-columns: 1fr; } }

.hw-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--hw-border); border-radius: var(--hw-radius); overflow: hidden; box-shadow: 0 3px 6px rgba(0,0,0,.06); transition: transform .2s ease, box-shadow .2s ease; }
.hw-card:hover { transform: translateY(-3px); box-shadow: 0 6px 16px rgba(0,0,0,.09); }
.hw-card--featured { border-color: var(--hw-accent); box-shadow: 0 0 0 2px var(--hw-accent); }
.hw-card__media { display: flex; align-items: center; justify-content: center; height: 170px; background: var(--hw-light); overflow: hidden; }
.hw-card__media img { width: 100%; height: 100%; object-fit: cover; }
.hw-card__placeholder { font-family: var(--hw-heading-font); font-size: 3.5em; color: var(--hw-primary); opacity: .6; }
.hw-card__body { padding: 1.1em 1.2em 1.3em; display: flex; flex-direction: column; flex: 1; }
.hw-card__title { font-size: 1.2em; margin: .4em 0 .25em; padding: 0; line-height: 1.3; }
.hw-card__title a { color: var(--hw-text); text-decoration: none; }
.hw-card__title a:hover { color: var(--hw-primary-dark); }
.hw-card__meta { font-size: .85em; color: var(--hw-muted); margin: 0 0 .6em; padding: 0; }
.hw-card__excerpt { font-size: .95em; flex: 1; margin-bottom: 1em; }
.hw-card .hw-btn { align-self: flex-start; }

.hw-badges { display: flex; flex-wrap: wrap; gap: .35em; }
.hw-badge { display: inline-block; font-size: .72em; font-weight: 600; letter-spacing: .02em; padding: .25em .6em; border-radius: 999px; background: var(--hw-light); color: var(--hw-text); border: 1px solid var(--hw-border); }
.hw-badge--type { background: #e8f5e9; border-color: #c8e6c9; color: var(--hw-primary-dark); }
.hw-badge--certified, .hw-badge--verified { background: var(--hw-primary-dark); border-color: var(--hw-primary-dark); color: #fff; }
.hw-badge--muslim-owned { background: #f1f8e9; border-color: #dcedc8; }
.hw-badge--pending { background: #fff8e1; border-color: #ffecb3; }

.hw-pagination { margin-top: 2em; text-align: center; }
.hw-pagination .page-numbers { display: inline-block; padding: .4em .8em; margin: 0 .15em; border: 1px solid var(--hw-border); border-radius: 4px; text-decoration: none; }
.hw-pagination .current { background: var(--hw-primary); color: #fff; border-color: var(--hw-primary); }
.hw-empty { text-align: center; padding: 2em 1em; background: var(--hw-light); border-radius: var(--hw-radius); }

/* ---------- Single listing ---------- */
.hw-single { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 2.5em; align-items: start; }
@media (max-width: 900px) { .hw-single { grid-template-columns: 1fr; } .hw-single__side { order: -1; } }
.hw-single__logo img { max-width: 220px; height: auto; border-radius: var(--hw-radius); margin-bottom: 1em; }
.hw-details { background: var(--hw-light); border-radius: var(--hw-radius); padding: 1.4em; position: sticky; top: 100px; }
.hw-dl { margin: 1em 0 0; }
.hw-dl dt { font-weight: 600; font-size: .85em; color: var(--hw-muted); text-transform: uppercase; letter-spacing: .04em; margin-top: .9em; }
.hw-dl dd { margin: .15em 0 0; word-break: break-word; }
.hw-disclaimer { font-size: .8em; color: var(--hw-muted); margin-top: 1.2em; padding-bottom: 0; }
.hw-back { margin-top: 2em; }

/* ---------- Forms ---------- */
.hw-form-wrap { margin-top: 2em; }
.hw-form-title { font-size: 1.5em; }
.hw-form fieldset { border: 1px solid var(--hw-border); border-radius: var(--hw-radius); padding: 1em 1.25em .5em; margin: 0 0 1.25em; }
.hw-form legend { font-weight: 700; padding: 0 .4em; }
.hw-row { display: flex; flex-wrap: wrap; gap: 0 1em; }
.hw-row > .hw-field { flex: 1 1 220px; }
.hw-field { margin: 0 0 1em; padding: 0; }
.hw-field label { display: block; font-weight: 600; margin-bottom: .3em; font-size: .95em; }
.hw-field small { display: block; color: var(--hw-muted); margin-top: .3em; }
.hw-form input[type=text], .hw-form input[type=email], .hw-form input[type=tel], .hw-form input[type=url], .hw-form input[type=date],
.hw-form select, .hw-form textarea, .hw-filters input, .hw-filters select {
	width: 100%; box-sizing: border-box; padding: .65em .75em; border: 1px solid #c9d1d4; border-radius: 4px; background: #fff; font-size: 1em; color: var(--hw-text); line-height: 1.4;
}
.hw-form input:focus, .hw-form select:focus, .hw-form textarea:focus, .hw-filters input:focus, .hw-filters select:focus { outline: 2px solid var(--hw-accent); outline-offset: 1px; border-color: var(--hw-primary); }
.hw-field--check label, .hw-radios label { font-weight: normal; display: flex; gap: .5em; align-items: flex-start; }
.hw-radios { display: flex; flex-wrap: wrap; gap: .5em 1.5em; }
.hw-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.hw-notice { padding: 1em 1.25em; border-radius: var(--hw-radius); margin-bottom: 1.25em; font-weight: 600; }
.hw-notice--ok { background: #e8f5e9; border: 1px solid #a5d6a7; color: #1b5e20; }
.hw-notice--error { background: #ffebee; border: 1px solid #ef9a9a; color: #b71c1c; }

/* ---------- Archive template ---------- */
.hw-archive { padding: 40px 0 60px; }
.hw-archive__header { margin-bottom: 1.5em; }
.hw-breadcrumb { font-size: .9em; color: var(--hw-muted); }

/* ---------- Non-Divi home fallback ---------- */
.hw-topics { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.25em; }
.hw-topic { background: var(--hw-light); padding: 1.25em; border-radius: var(--hw-radius); }

/* =====================================================================
   Divi page design layer (v1.1)
   ===================================================================== */
body { -webkit-font-smoothing: antialiased; }
#main-content .et_pb_section { scroll-margin-top: 90px; }
.et_pb_text h2, .hw-heading h2 { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.2; letter-spacing: -.01em; padding-bottom: 12px; }
.et_pb_text h3, .et_pb_blurb h3, .et_pb_module_header { font-size: 21px; line-height: 1.3; padding-bottom: 8px; }
.hw-prose p, .hw-prose li { font-size: 17px; line-height: 1.75; }
.hw-prose h3 { margin-top: 1.4em; }
.hw-prose h4 { font-size: 17px; font-weight: 700; margin-top: 1em; color: var(--hw-primary-dark); }

/* Eyebrow + headings */
.hw-eyebrow { display: inline-block; font-size: 13px !important; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--hw-primary-dark); background: #E3F1E4; padding: 6px 14px !important; border-radius: 999px; margin-bottom: 18px; }
.hw-eyebrow--light { color: #fff; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); }
.hw-heading { margin-bottom: 26px !important; }
.hw-heading--center h2::after { content: ""; display: block; width: 56px; height: 4px; border-radius: 2px; background: var(--hw-primary); margin: 16px auto 0; }
.hw-heading .hw-intro p { font-size: 18px; color: var(--hw-muted); }
.hw-intro p { font-size: 18px; line-height: 1.7; color: var(--hw-muted); }
.hw-subhead { margin-top: 1.6em; padding-bottom: 10px !important; border-bottom: 2px solid #E3F1E4; }

/* Hero */
.hw-hero { position: relative; overflow: hidden; }
.hw-hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.12) 1.5px, transparent 1.5px); background-size: 26px 26px; pointer-events: none; }
.hw-hero::after { content: ""; position: absolute; width: 620px; height: 620px; right: -180px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(139,195,74,.35), rgba(139,195,74,0) 70%); pointer-events: none; }
.hw-hero .et_pb_row { position: relative; z-index: 2; }
.hw-hero h1 { font-size: clamp(34px, 5vw, 58px); line-height: 1.12; color: #fff; padding-bottom: 14px; letter-spacing: -.015em; }
.hw-hero-lead { font-size: clamp(17px, 1.6vw, 21px) !important; line-height: 1.6; opacity: .92; max-width: 680px; margin: 0 auto; }
.hw-hero .et_pb_column, .hw-cta .et_pb_column { text-align: center; }
.hw-hero .et_pb_button_module_wrapper, .hw-cta .et_pb_button_module_wrapper, .hw-band .et_pb_button_module_wrapper { display: inline-block; margin: 8px 6px 0 !important; }
.hw-hero-links a { color: #fff !important; opacity: .85; font-weight: 600; }
.hw-hero-search { display: flex; max-width: 620px; margin: 28px auto 0; background: #fff; border-radius: 999px; padding: 6px; box-shadow: 0 18px 40px rgba(0,0,0,.18); }
.hw-hero-search input { flex: 1; border: 0 !important; background: transparent !important; padding: 12px 20px !important; font-size: 16px; color: var(--hw-text); outline: none; min-width: 0; }
.hw-hero-search button { border: 0; background: var(--hw-primary); color: #fff; font-weight: 700; padding: 12px 24px; border-radius: 999px; cursor: pointer; font-size: 15px; white-space: nowrap; }
.hw-hero-search button:hover { background: var(--hw-primary-dark); }
@media (max-width: 600px) { .hw-hero-search { flex-direction: column; border-radius: 18px; } .hw-hero-search button { width: 100%; } }

/* Buttons */
a.et_pb_button.hw-dbtn { font-weight: 700 !important; padding: 12px 28px !important; letter-spacing: .01em; transition: transform .15s ease, box-shadow .2s ease, background .2s ease; }
a.et_pb_button.hw-dbtn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(0,0,0,.12); padding: 12px 28px !important; }
a.hw-dbtn--primary:hover { background: var(--hw-primary-dark) !important; border-color: var(--hw-primary-dark) !important; }
a.hw-dbtn--outline:hover { background: var(--hw-primary) !important; color: #fff !important; }
a.hw-dbtn--ghost:hover { background: rgba(255,255,255,.12) !important; }

/* Cards (Blurb modules) */
.hw-dcard { background: #fff; border: 1px solid #E4ECE3; border-radius: 16px; padding: 28px 26px !important; height: 100%; box-shadow: 0 1px 2px rgba(16,40,20,.04), 0 8px 24px rgba(16,40,20,.05); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.et_pb_section[style*="F3F8F2"] .hw-dcard, .et_pb_section .hw-dcard { }
.hw-dcard .et_pb_main_blurb_image { margin-bottom: 18px !important; }
.hw-dcard .et-pb-icon { padding: 16px !important; }
.hw-dcard.et_pb_blurb_position_left .et_pb_main_blurb_image { width: 56px; padding-right: 16px; }
.hw-dcard .et_pb_blurb_description p, .hw-dcard .et_pb_blurb_description li { font-size: 16px; line-height: 1.65; }
.hw-dcard .et_pb_blurb_description ul { padding-left: 1.1em; }
.hw-dcard .et_pb_blurb_description h4 { font-size: 15px; font-weight: 700; color: var(--hw-primary-dark); margin-top: .8em; }
.hw-dcard--link:hover { transform: translateY(-4px); border-color: #BFE0C1; box-shadow: 0 16px 36px rgba(16,40,20,.10); }
.hw-dcard--link .et_pb_module_header a { color: var(--hw-text); }
.hw-more { color: var(--hw-primary-dark); font-weight: 700; margin-top: 8px; }
.hw-dcard--glass { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); box-shadow: none; margin-bottom: 14px !important; height: auto; }
.hw-dcard--glass .et_pb_module_header, .hw-dcard--glass p { color: #fff !important; }
.hw-dcard--glass .et_pb_blurb_description p { opacity: .85; }
.et_pb_row.et_pb_equal_columns > .et_pb_column { display: flex; flex-direction: column; }
.et_pb_row.et_pb_equal_columns > .et_pb_column > .hw-dcard { flex: 1; }

/* On-this-page chips */
.hw-toc-section { border-bottom: 1px solid #E4ECE3; box-shadow: 0 6px 16px rgba(16,40,20,.04); }
.hw-toc { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center; }
.hw-toc span { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--hw-muted); margin-right: 6px; }
.hw-toc a { font-size: 14px; font-weight: 600; color: var(--hw-primary-dark) !important; background: #F3F8F2; border: 1px solid #DDEBDC; padding: 7px 14px; border-radius: 999px; text-decoration: none; transition: background .15s; }
.hw-toc a:hover { background: var(--hw-primary); border-color: var(--hw-primary); color: #fff !important; }
.hw-toc--az a { min-width: 40px; text-align: center; padding: 7px 10px; }

/* Toggles (FAQ) */
.hw-toggle.et_pb_toggle { border: 1px solid #E4ECE3 !important; border-radius: 12px; background: #fff !important; padding: 18px 22px !important; margin-bottom: 12px !important; box-shadow: 0 1px 2px rgba(16,40,20,.04); }
.hw-toggle .et_pb_toggle_title { font-size: 17px !important; font-weight: 700; color: var(--hw-text) !important; padding-right: 40px; }
.hw-toggle .et_pb_toggle_title::before { color: var(--hw-primary) !important; font-size: 18px; }
.hw-toggle.et_pb_toggle_open { border-color: #BFE0C1 !important; box-shadow: 0 10px 26px rgba(16,40,20,.07); }
.hw-toggle .et_pb_toggle_content { padding-top: 14px; }
.hw-toggle .et_pb_toggle_content p, .hw-toggle .et_pb_toggle_content li { font-size: 16px; line-height: 1.7; }

/* Quotes */
.hw-quote.et_pb_testimonial { background: #fff !important; border: 1px solid #E4ECE3; border-radius: 16px; padding: 44px 30px 30px !important; height: 100%; box-shadow: 0 8px 24px rgba(16,40,20,.05); }
.hw-quote .et_pb_testimonial_description_inner p { font-size: 17px; line-height: 1.7; font-style: italic; color: var(--hw-text); }
.hw-quote .et_pb_testimonial_author { color: var(--hw-primary-dark); margin-top: 14px; }
.hw-quote::before { color: var(--hw-primary) !important; background: #E3F1E4 !important; }
.hw-feature-quote { position: relative; background: #fff; border: 0 !important; border-radius: 20px; padding: 44px 40px 36px !important; box-shadow: 0 20px 50px rgba(16,40,20,.10); font-style: normal !important; margin: 0 !important; }
.hw-feature-quote::before { content: "“"; position: absolute; top: -10px; left: 28px; font-family: Georgia, serif; font-size: 110px; line-height: 1; color: var(--hw-primary); opacity: .35; }
.hw-feature-quote p { font-family: var(--hw-heading-font); font-size: 22px !important; line-height: 1.55 !important; color: var(--hw-text); }
.hw-feature-quote cite { display: block; margin-top: 16px; font-style: normal; font-weight: 700; color: var(--hw-primary-dark); }
.hw-prose blockquote { border-left: 4px solid var(--hw-primary); background: #F3F8F2; border-radius: 0 12px 12px 0; padding: 18px 22px; font-style: italic; }
.hw-split .et_pb_column { display: flex; flex-direction: column; justify-content: center; }

/* Dark bands */
.hw-band { position: relative; overflow: hidden; }
.hw-band::after { content: ""; position: absolute; width: 520px; height: 520px; left: -200px; bottom: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(76,175,80,.35), rgba(76,175,80,0) 70%); pointer-events: none; }
.hw-band .et_pb_row { position: relative; z-index: 2; }
.hw-band .hw-eyebrow { color: #fff; background: rgba(255,255,255,.12); }
.hw-band .hw-intro p { color: rgba(255,255,255,.85); }
.hw-band .hw-directory { margin-top: 10px; }
.hw-cta { position: relative; overflow: hidden; }
.hw-cta::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.10) 1.5px, transparent 1.5px); background-size: 26px 26px; pointer-events: none; }
.hw-cta .et_pb_row { position: relative; z-index: 2; }
.hw-cta h2 { color: #fff !important; }
.hw-cta p { font-size: 18px; opacity: .9; }

/* Forms inside Divi */
.hw-form-card, .hw-contact-row > .et_pb_column:first-child { background: #fff; border: 1px solid #E4ECE3; border-radius: 18px; padding: 36px !important; box-shadow: 0 16px 40px rgba(16,40,20,.07); }
@media (max-width: 600px) { .hw-form-card, .hw-contact-row > .et_pb_column:first-child { padding: 22px !important; } }
.hw-form fieldset { border-radius: 12px; border-color: #E4ECE3; padding: 18px 22px 8px; }
.hw-form legend { color: var(--hw-primary-dark); }
.hw-form input[type=text], .hw-form input[type=email], .hw-form input[type=tel], .hw-form input[type=url], .hw-form input[type=date], .hw-form select, .hw-form textarea, .hw-filters input, .hw-filters select { border-radius: 10px; padding: .75em .9em; background: #FBFDFB; }
.hw-form button.hw-btn, .hw-filters button.hw-btn { border-radius: 999px; padding: .8em 1.8em; }
.hw-filters { border-radius: 16px; background: #fff; border: 1px solid #E4ECE3; box-shadow: 0 12px 30px rgba(16,40,20,.06); padding: 22px; }
.hw-card { border-radius: 16px; border-color: #E4ECE3; }
.hw-empty { border-radius: 16px; background: #F3F8F2; padding: 40px 20px; }

/* Glossary */
.hw-letter-row { padding: 26px 0 !important; border-bottom: 1px solid #DDEBDC; }
.hw-letter { display: inline-flex; align-items: center; justify-content: center; width: 84px; height: 84px; border-radius: 22px; background: #fff; color: var(--hw-primary-dark); font-family: var(--hw-heading-font); font-size: 44px; font-weight: 700; box-shadow: 0 10px 24px rgba(16,40,20,.07); scroll-margin-top: 110px; }
.hw-terms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 800px) { .hw-terms { grid-template-columns: 1fr; } .hw-letter { width: 64px; height: 64px; font-size: 32px; } }
.hw-term { background: #fff; border: 1px solid #E4ECE3; border-radius: 14px; padding: 20px 22px; }
.hw-term h3 { font-size: 19px !important; color: var(--hw-primary-dark); padding-bottom: 6px !important; }
.hw-term p { font-size: 15.5px; line-height: 1.65; padding-bottom: 0; }

/* Blog module */
.hw-blog-grid .et_pb_post { background: #fff; border: 1px solid #E4ECE3 !important; border-radius: 16px; padding: 28px !important; box-shadow: 0 8px 24px rgba(16,40,20,.05); transition: transform .2s, box-shadow .2s; overflow: hidden; }
.hw-blog-grid .et_pb_post:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(16,40,20,.10); }
.hw-blog-grid .entry-title { font-size: 21px !important; line-height: 1.35 !important; }
.hw-blog-grid .entry-title a:hover { color: var(--hw-primary-dark); }
.hw-blog-grid .post-meta a { color: var(--hw-primary-dark) !important; font-weight: 600; }
.hw-blog-grid .more-link { display: inline-block; margin-top: 10px; font-weight: 700; color: var(--hw-primary-dark); }
.hw-blog-grid .et_pb_image_container { margin: -28px -28px 20px; }

/* Legal pages */
.hw-legal h2 { font-size: 26px !important; margin-top: 1.6em; padding-top: 10px; border-top: 1px solid #E4ECE3; scroll-margin-top: 110px; }
.hw-legal h2:first-of-type { border-top: 0; }

/* Articles (single posts) */
.single-post #left-area .entry-content p, .single-post #left-area .entry-content li { font-size: 18px; line-height: 1.8; }
.single-post #left-area .entry-content h2 { font-size: 30px; margin-top: 1.4em; }
.single-post #left-area .entry-content h3 { font-size: 22px; margin-top: 1.2em; }
.single-post #left-area .entry-content blockquote { border-left: 4px solid var(--hw-primary); background: #F3F8F2; border-radius: 0 12px 12px 0; padding: 18px 22px; }
.single-post .hw-byline { font-size: 16px !important; font-style: normal; font-weight: 600; color: var(--hw-primary-dark); }
.single-post .hw-author-box { border: 1px solid #E4ECE3; border-radius: 16px; background: #F3F8F2; }

/* Header polish */
#top-menu li a { font-weight: 600; }
#top-menu li.current-menu-item > a { color: var(--hw-primary-dark) !important; }
#main-footer #footer-bottom { background: #13361D; }

/* Inline SVG card icons */
.hw-ic { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 16px; background: #E3F1E4; color: var(--hw-primary-dark); margin-bottom: 18px; flex: 0 0 auto; }
.hw-ic svg { width: 26px; height: 26px; display: block; }
.hw-has-ic .et_pb_blurb_container { display: flex; flex-direction: column; }
.hw-has-ic .et_pb_blurb_description { display: contents; }
.hw-has-ic .hw-ic { order: -1; }
.hw-dcard--center .hw-ic { align-self: center; }
.hw-dcard--row .et_pb_blurb_container { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 18px; align-items: start; }
.hw-dcard--row .et_pb_blurb_container > *, .hw-dcard--row .et_pb_blurb_description > * { grid-column: 2; }
.hw-dcard--row .hw-ic { grid-column: 1 !important; grid-row: 1 / span 12; margin-bottom: 0; }
.hw-dcard--glass .hw-ic { background: rgba(255,255,255,.12); color: #fff; }
.hw-dcard .et_pb_main_blurb_image { display: none; }
@media (max-width: 600px) { .hw-dcard--row .et_pb_blurb_container { grid-template-columns: 48px minmax(0, 1fr); column-gap: 14px; } .hw-ic { width: 48px; height: 48px; } }

/* Timeline year badge */
.hw-ic.hw-year { width: auto; height: auto; padding: 6px 14px; border-radius: 999px; font-weight: 800; font-size: 14px; letter-spacing: .08em; align-self: flex-start; }

/* Tighter gap between a section heading row and its content */
.et_pb_row:has(> .et_pb_column > .hw-heading) { padding-bottom: 0 !important; }
.et_pb_row:has(> .et_pb_column > .hw-heading) + .et_pb_row { padding-top: 10px !important; }

/* Article cards [hw_posts] */
.hw-posts { display: grid; gap: 28px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 30px; }
.hw-posts--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hw-posts--1 { grid-template-columns: 1fr; }
.hw-posts--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .hw-posts, .hw-posts--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .hw-posts, .hw-posts--2, .hw-posts--4 { grid-template-columns: 1fr; } }
.hw-post { display: flex; flex-direction: column; background: #fff; border: 1px solid #E4ECE3; border-radius: 16px; overflow: hidden; box-shadow: 0 8px 24px rgba(16,40,20,.05); transition: transform .2s ease, box-shadow .2s ease; }
.hw-post:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(16,40,20,.10); }
.hw-post::before { content: ""; display: block; height: 6px; background: linear-gradient(90deg, #2E7D32, #8BC34A); }
.hw-post__img img { display: block; width: 100%; height: 190px; object-fit: cover; }
.hw-post__body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.hw-post__meta { display: flex; gap: 10px; align-items: center; font-size: 13px !important; color: var(--hw-muted); padding-bottom: 10px !important; }
.hw-post__cat { background: #E3F1E4; color: var(--hw-primary-dark); font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.hw-post__title { font-size: 21px !important; line-height: 1.35 !important; padding-bottom: 10px !important; }
.hw-post__title a { color: var(--hw-text) !important; }
.hw-post__title a:hover { color: var(--hw-primary-dark) !important; }
.hw-post__excerpt { font-size: 15.5px; line-height: 1.65; color: #4a5a60; flex: 1; }
.hw-post__more { margin-top: 12px; font-weight: 700; color: var(--hw-primary-dark) !important; }

/* Buttons side by side inside split columns; hide empty featured-listings row */
.hw-split .et_pb_column { flex-direction: row; flex-wrap: wrap; align-content: center; }
.hw-split .et_pb_column > * { width: 100%; }
.hw-split .et_pb_column > .et_pb_button_module_wrapper { width: auto; margin: 8px 12px 0 0 !important; }
.hw-band .et_pb_row:last-child:not(:has(.hw-card)) { display: none; }

/* Consent checkbox on one line */
.hw-field--check label { display: block !important; font-weight: 400; line-height: 1.6; }
.hw-field--check input[type=checkbox] { margin: 0 8px 0 0; vertical-align: middle; }
