@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500&family=Roboto:wght@400;500&family=Open+Sans:wght@400;500&display=swap');

:root {
    --primary-colour: #2563EB;
    --secondary-colour: #F8FAFC;
    --accent-colour: #0F766E;
    --dark-colour: #0F172A;
    --light-colour: #F8FAFC;
    --background-colour: var(--light-colour);
    --surface-colour: #FFFFFF;
    --text-colour: #1F2937;
    --muted-colour: #6B7280;
    --border-colour: #E5E7EB;
    --footer-background: var(--dark-colour);
    --footer-text-colour: #CBD5E1;
    --footer-heading-colour: #FFFFFF;
    --footer-border-colour: rgba(255,255,255,.12);
    --content-width: 1200px;
    --font-family: 'Inter', 'Open Sans', sans-serif;
    --heading-font-family: 'Roboto', 'Inter', 'Open Sans', sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-family);
    background: var(--background-colour);
    color: var(--text-colour);
    line-height: 1.7;
    font-size: 18px;
    text-rendering: optimizeLegibility;
}

a {
    color: var(--primary-colour);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

a:hover {
    color: var(--accent-colour);
}

img {
    max-width: 100%;
    height: auto;
}

p {
    margin-top: 0;
    margin-bottom: 16px;
}

ul,
ol {
    padding-left: 22px;
}

li {
    margin-bottom: 8px;
}

/* HEADER */

.site-header {
    background: var(--surface-colour);
    border-bottom: 1px solid var(--border-colour);
    padding: 0 20px;
}

.top-nav {
    max-width: var(--content-width);
    margin: 0 auto;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
    padding: 14px 0 0;
    font-size: 15px;
    font-weight: 500;
}

.top-nav a {
    color: var(--text-colour);
    text-decoration: none;
}

.top-nav a:hover {
    color: var(--primary-colour);
}

.brand-row {
    max-width: var(--content-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 18px 0 22px;
}

.site-logo {
    width: 124px;
    height: auto;
    display: block;
    border-radius: 6px;
}

.logo-card a {
    display: block;
}

.site-title {
    font-family: var(--heading-font-family);
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--primary-colour);
}

.tagline {
    margin: 9px 0 0;
    color: var(--muted-colour);
    font-size: 16px;
}

/* MAIN LAYOUT */

.content-wrap {
    max-width: var(--content-width);
    margin: 34px auto 80px;
    padding: 0 20px;
}

.content-card {
    background: var(--surface-colour);
    padding: 42px;
    border: 1px solid var(--border-colour);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(47, 64, 80, .05);
}

.post-content,
.page-content,
.category-content,
.tag-content,
.author-content,
.search-content,
.contact_success-content,
.contact_error-content {
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}

/* Keep long-form internal pages at a comfortable reading measure without
   narrowing the Homepage Builder's full-width section layout. */
.is-internal-page .page-content {
    max-width: 900px;
}

.is-homepage .page-content {
    max-width: var(--content-width);
}

.is-internal-page .page-content .featured-image-medium {
    max-width: 360px;
}

h1,
h2,
h3,
h4 {
    font-family: var(--heading-font-family);
    color: var(--primary-colour);
    font-weight: 400;
    line-height: 1.22;
    letter-spacing: -0.01em;
}

h1 {
    font-size: clamp(34px, 4vw, 46px);
    margin: 0 0 24px;
}

h2 {
    font-size: clamp(25px, 3vw, 34px);
    margin: 42px 0 18px;
}

h3 {
    font-size: clamp(21px, 2.2vw, 25px);
    margin: 32px 0 14px;
}

h4 {
    font-size: 18px;
    margin: 26px 0 12px;
}

.content-card h1,
.content-card > h2,
.content-card > h3 {
    text-align: left;
}

.lead {
    font-size: 20px;
    line-height: 1.6;
    color: var(--muted-colour);
}

.text-center {
    text-align: center;
}

.section-heading-left {
    text-align: left;
}

/* BREADCRUMBS */

.breadcrumbs {
    font-size: 14px;
    margin-bottom: 24px;
    color: var(--muted-colour);
}

.breadcrumbs a {
    color: var(--muted-colour);
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: var(--primary-colour);
}

.breadcrumbs span {
    margin: 0 6px;
}

/* GENERAL PAGE SECTIONS */

.page-intro {
    max-width: 850px;
    margin: 0 0 38px;
    text-align: left;
}

.page-intro h2 {
    margin-top: 0;
    font-size: 26px;
}

.soft-panel,
.highlight-panel,
.note-box {
    border-radius: 8px;
    padding: 28px;
    margin: 32px 0;
}

.soft-panel {
    background: var(--secondary-colour);
    border: 1px solid var(--border-colour);
}

.highlight-panel {
    background: #ffffff;
    border: 1px solid var(--border-colour);
    box-shadow: 0 8px 20px rgba(47, 64, 80, .05);
}

.note-box {
    background: var(--secondary-colour);
    border-left: 4px solid var(--accent-colour);
}

.soft-panel h2,
.soft-panel h3,
.highlight-panel h2,
.highlight-panel h3 {
    margin-top: 0;
}

/* ABOUT / AUTHOR PAGE */

.author-intro {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 38px;
    align-items: center;
    margin: 8px 0 42px;
}

.author-photo {
    text-align: center;
}

.author-photo img {
    width: 240px;
    height: 240px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(47, 64, 80, .12);
    border: 6px solid #ffffff;
}

.author-summary h1 {
    text-align: left;
    margin-bottom: 14px;
}

.author-badge {
    display: inline-block;
    background: var(--secondary-colour);
    color: var(--primary-colour);
    border: 1px solid var(--border-colour);
    border-radius: 999px;
    padding: 7px 14px;
    font-size: 14px;
    font-weight: 500;
    margin: 4px 6px 4px 0;
}

.author-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    margin: 32px 0;
}

.author-card {
    background: var(--secondary-colour);
    border: 1px solid var(--border-colour);
    border-radius: 8px;
    padding: 24px;
}

.author-card h2,
.author-card h3 {
    text-align: left;
    margin-top: 0;
}

/* BLOG INDEX */

.blog-index {
    max-width: var(--content-width);
    margin: 0 auto;
}

.blog-index > h1 {
    margin-bottom: 12px;
}

.blog-index-intro {
    max-width: 780px;
    margin: 0 0 34px;
    color: var(--muted-colour);
    font-size: 18px;
}

.blog-summary {
    background: var(--surface-colour);
    border: 1px solid var(--border-colour);
    border-radius: 10px;
    padding: 24px;
    margin: 22px 0;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .06);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.blog-summary:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 34px rgba(15, 23, 42, .1);
    border-color: rgba(37, 99, 235, .22);
}

.blog-summary h2 {
    text-align: left;
    font-size: 25px;
    margin: 0 0 12px;
}

.blog-summary h2 a {
    text-decoration: none;
}

.blog-summary p:last-child {
    margin-bottom: 0;
}

.read-more,
.blog-summary p:last-child a,
.homepage-button {
    display: inline-block;
    background: var(--primary-colour);
    color: #ffffff;
    text-decoration: none;
    padding: 10px 17px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid var(--primary-colour);
    transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.read-more:hover,
.blog-summary p:last-child a:hover,
.homepage-button:hover {
    background: var(--accent-colour);
    border-color: var(--accent-colour);
    color: #ffffff;
    transform: translateY(-2px);
}

.blog-summary-image {
    display: block;
    margin-bottom: 18px;
}

.blog-summary-image img {
    width: 100%;
    border-radius: 6px;
    box-shadow: 0 6px 18px rgba(47, 64, 80, .1);
}

/* POST CONTENT */

.post-content {
    max-width: 860px;
}

.post-content h1 {
    margin-bottom: 12px;
}

.post-meta {
    color: var(--muted-colour);
    font-size: 14px;
    margin: -6px 0 28px;
}

.post-category {
    margin: 0 0 22px;
}

.post-category a,
.post-tags a,
.blog-category-nav a {
    display: inline-block;
    background: var(--secondary-colour);
    color: var(--primary-colour);
    text-decoration: none;
    padding: 6px 13px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid var(--border-colour);
}

.post-category a:hover,
.post-tags a:hover,
.blog-category-nav a:hover {
    background: #ffffff;
    color: var(--accent-colour);
}

.post-content h2,
.post-content h3 {
    text-align: left;
}

.post-content img {
    border-radius: 6px;
    box-shadow: 0 6px 18px rgba(47, 64, 80, .1);
}

.post-tags {
    margin-top: 34px;
    padding-top: 24px;
    border-top: 1px solid var(--border-colour);
}

.post-tags span {
    color: var(--muted-colour);
    margin-right: 8px;
}

/* TWO COLUMN ARTICLE SECTIONS */

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: center;
    margin: 42px 0;
}

.two-col.first-section {
    grid-template-columns: 0.95fr 1.05fr;
}

.two-col.reverse .image-col {
    order: 2;
}

.two-col.reverse .text-col {
    order: 1;
}

.image-col {
    display: flex;
    justify-content: center;
    align-items: center;
}

.text-col {
    font-size: 17px;
}

.two-col.first-section img,
.full-image img,
.intro-section img {
    border-radius: 6px;
    box-shadow: 0 6px 18px rgba(47, 64, 80, .1);
}

.two-col.first-section img {
    width: 100%;
    max-width: 420px;
}

.full-image {
    margin: 38px 0;
    text-align: center;
}

.full-image img {
    width: 100%;
    max-width: 840px;
}

.intro-section {
    margin: 38px 0;
    font-size: 17px;
}

.intro-section img {
    float: left;
    width: 390px;
    max-width: 48%;
    margin: 0 30px 18px 0;
}

.intro-section::after {
    content: "";
    display: block;
    clear: both;
}

/* PORTRAIT / IMAGE HELPERS */

.two-col .image-col img[src*="care-for-your-beauty"],
.two-col .image-col img[src*="care-for-your-skin"] {
    width: 100%;
    max-width: 340px;
    display: block;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(47, 64, 80, .1);
}

.portrait-card {
    padding: 0;
    margin: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.portrait-card img {
    display: block;
    max-width: 330px;
    width: 100%;
    border-radius: 8px !important;
    box-shadow: 0 6px 18px rgba(47, 64, 80, .1) !important;
}

/* FEATURED IMAGES */

.featured-image {
    margin: 0 auto 30px;
    text-align: center;
    clear: both;
}

.featured-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    box-shadow: 0 8px 24px rgba(47, 64, 80, .1);
}

.featured-image-small {
    max-width: 300px;
}

.featured-image-medium {
    max-width: 500px;
}

.featured-image-large {
    max-width: 800px;
}

.featured-image-full {
    max-width: 100%;
}

.featured-image-left {
    float: left;
    margin: 0 24px 20px 0;
}

.featured-image-right {
    float: right;
    margin: 0 0 20px 24px;
}

.featured-image-center {
    margin: 0 auto 30px;
    text-align: center;
}


/* CONTENT IMAGES */

.content-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    box-shadow: 0 6px 18px rgba(47, 64, 80, .1);
}

.content-image-small {
    max-width: 300px;
}

.content-image-medium {
    max-width: 500px;
}

.content-image-large {
    max-width: 800px;
}

.content-image-full {
    width: 100%;
    max-width: 100%;
}

.content-image-left {
    float: left;
    margin: 0 24px 20px 0;
}

.content-image-right {
    float: right;
    margin: 0 0 20px 24px;
}

.content-image-center {
    margin: 24px auto;
}

.fm-content-image {max-width:100%;height:auto;border-radius:8px;display:block;box-shadow:0 6px 18px rgba(47,64,80,.1)}
.fm-img-size-small {width:35%;max-width:320px}
.fm-img-size-medium {width:55%;max-width:560px}
.fm-img-size-large {width:75%;max-width:760px}
.fm-img-size-full {width:100%;max-width:100%}
.fm-img-align-left {float:left;margin:6px 24px 16px 0}
.fm-img-align-right {float:right;margin:6px 0 16px 24px}
.fm-img-align-center,.fm-img-size-full {float:none;clear:both;margin:22px auto}

.content-card::after,
.post-content::after,
.page-content::after {
    content: "";
    display: block;
    clear: both;
}

/* BANNERS / ADS */

.banner {
    text-align: center;
    margin: 26px 0;
}

.banner img {
    max-width: 728px;
    width: 100%;
    height: auto;
}

.ad-grid {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 12px;
    margin: 30px 0 10px;
}

.ad-grid a {
    flex: 1;
    max-width: 170px;
    display: block;
}

.ad-grid img {
    width: 100%;
    height: 105px;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 6px 14px rgba(47, 64, 80, .08);
    background: #ffffff;
}

/* SHARE ROW */

.share-row {
    text-align: left;
    margin: 34px 0 28px;
    padding-top: 22px;
    border-top: 1px solid var(--border-colour);
}

.share-label {
    margin: 0 0 10px;
    color: var(--muted-colour);
    font-size: 14px;
    font-weight: 500;
}

.share-row a {
    display: inline-block;
    padding: 6px 11px;
    margin: 3px;
    color: #ffffff;
    text-decoration: none;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
    transition: transform .18s ease, opacity .18s ease;
}

.share-row a:hover {
    color: #ffffff;
    opacity: .9;
    transform: translateY(-2px);
}

.share-row a.facebook { background: #1877f2; }
.share-row a.x { background: #000000; }
.share-row a.linkedin { background: #0a66c2; }
.share-row a.whatsapp { background: #25d366; }
.share-row a.email { background: var(--primary-colour); }
.share-row a.pinterest { background: #bd081c; }
.share-row a.tumblr { background: #36465d; }

/* RELATED POSTS */

.related-posts {
    margin-top: 54px;
    padding-top: 34px;
    border-top: 1px solid var(--border-colour);
}

.related-post-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.related-post-card {
    background: var(--secondary-colour);
    border: 1px solid var(--border-colour);
    border-radius: 8px;
    padding: 16px;
}

.related-post-image {
    display: block;
    margin-bottom: 12px;
}

.related-post-image img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 6px;
}

.related-post-card h3 {
    text-align: left;
    font-size: 18px;
    margin: 0;
}

.related-post-card h3 a {
    text-decoration: none;
}



/* HOMEPAGE HERO */

.homepage-hero {
    position: relative;
    margin: 0;
    min-height: 460px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.homepage-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-overlay-none::before {
    background: transparent;
}

.hero-overlay-light::before {
    background: linear-gradient(90deg, rgba(15,23,42,.38), rgba(15,23,42,.14));
}

.hero-overlay-medium::before {
    background: linear-gradient(90deg, rgba(15,23,42,.62), rgba(15,23,42,.25));
}

.hero-overlay-dark::before {
    background: linear-gradient(90deg, rgba(15,23,42,.78), rgba(15,23,42,.42));
}

.hero-bg-fixed {
    background-attachment: fixed;
}

.hero-height-small {
    min-height: 330px;
}

.hero-height-medium {
    min-height: 460px;
}

.hero-height-large {
    min-height: 600px;
}

.hero-focus-left {
    background-position: left center;
}

.hero-focus-centre {
    background-position: center center;
}

.hero-focus-right {
    background-position: right center;
}

.homepage-hero-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: var(--content-width);
    margin: 0 auto;
    padding: clamp(46px, 8vw, 92px) 20px;
}

.homepage-hero-content {
    max-width: 680px;
    color: #ffffff;
}

.homepage-hero h1 {
    color: #ffffff;
    font-size: clamp(38px, 5vw, 62px);
    line-height: 1.08;
    margin: 0 0 18px;
    text-shadow: 0 2px 18px rgba(0,0,0,.24);
}

.homepage-hero p {
    max-width: 640px;
    color: rgba(255,255,255,.94);
    font-size: clamp(18px, 2vw, 22px);
    line-height: 1.6;
    margin: 0;
    text-shadow: 0 1px 12px rgba(0,0,0,.2);
}

.hero-text-centre .homepage-hero-content {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.hero-text-centre .homepage-hero p {
    margin-left: auto;
    margin-right: auto;
}

.hero-text-right .homepage-hero-content {
    margin-left: auto;
    text-align: right;
}

.hero-text-right .homepage-hero p {
    margin-left: auto;
}

.homepage-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 28px;
}

.hero-text-centre .homepage-hero-buttons {
    justify-content: center;
}

.hero-text-right .homepage-hero-buttons {
    justify-content: flex-end;
}

.homepage-hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 11px 19px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,.92);
    transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.homepage-hero-button.primary {
    background: #ffffff;
    color: var(--primary-colour);
}

.homepage-hero-button.secondary {
    background: rgba(255,255,255,.12);
    color: #ffffff;
    backdrop-filter: blur(4px);
}

.homepage-hero-button:hover {
    transform: translateY(-2px);
}

.homepage-hero-button.primary:hover {
    background: var(--secondary-colour);
    color: var(--primary-colour);
}

.homepage-hero-button.secondary:hover {
    background: rgba(255,255,255,.22);
    color: #ffffff;
}

/* SITE HEADER IMAGE */

.site-header-image {
    max-width: var(--content-width);
    margin: 30px auto 0;
    padding: 0 18px;
}

.site-header-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 6px 24px rgba(15,23,42,.08);
}

/* HOMEPAGE BUILDER */

.homepage-welcome,
.homepage-cta {
    padding: clamp(32px, 5vw, 58px);
    border-radius: 8px;
    margin: 34px 0;
}

.homepage-welcome {
    background:
        linear-gradient(135deg, rgba(245,244,240,.95), rgba(255,255,255,.95));
    border: 1px solid var(--border-colour);
}

.homepage-welcome h1,
.homepage-welcome h2,
.homepage-welcome h3,
.homepage-cta h1,
.homepage-cta h2,
.homepage-cta h3 {
    margin-top: 0;
}

.homepage-welcome p,
.homepage-cta p {
    max-width: 760px;
}

.homepage-cta {
    background: var(--primary-colour);
    color: #ffffff;
    border: 1px solid var(--primary-colour);
}

.homepage-cta h1,
.homepage-cta h2,
.homepage-cta h3,
.homepage-cta p {
    color: #ffffff;
}

.homepage-cta .homepage-button {
    background: #ffffff;
    color: var(--primary-colour);
    border-color: #ffffff;
}

.homepage-cta .homepage-button:hover {
    background: var(--secondary-colour);
    border-color: var(--secondary-colour);
}

.homepage-left {
    text-align: left;
}

.homepage-centre {
    text-align: center;
}

.homepage-centre p {
    margin-left: auto;
    margin-right: auto;
}


/* HOMEPAGE FEATURED CARDS */

.homepage-featured-pages {
    margin: 42px 0;
}

.homepage-featured-pages > h2 {
    margin-top: 0;
}

.homepage-feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.homepage-feature-card {
    background: var(--surface-colour);
    border: 1px solid var(--border-colour);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .06);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.homepage-feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 34px rgba(15, 23, 42, .1);
    border-color: rgba(37, 99, 235, .22);
}

.homepage-feature-card h3 {
    margin-top: 0;
    font-size: 22px;
}

.homepage-feature-card h3 a {
    text-decoration: none;
}

.homepage-feature-card p {
    color: var(--muted-colour);
}

.homepage-feature-card p:last-child {
    margin-bottom: 0;
}

/* BLOG DISPLAY SYSTEM */

.blog-category-nav {
    margin: 0 0 32px;
    padding: 16px;
    background: var(--secondary-colour);
    border: 1px solid var(--border-colour);
    border-radius: 8px;
}

.blog-category-nav a {
    margin: 4px;
}

.blog-display-wrap {
    display: grid;
    gap: 32px;
}

.blog-display-wrap.has-sidebar {
    grid-template-columns: minmax(0, 860px) 280px;
    justify-content: center;
}

.blog-display-wrap.no-sidebar {
    grid-template-columns: 1fr;
}

.content-wrap.with-sidebar {
    display: grid;
    grid-template-columns: minmax(0, 860px) 280px;
    gap: 40px;
    align-items: start;
}

.content-wrap.with-sidebar .content-card {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}

.blog-sidebar {
    background: var(--secondary-colour);
    border: 1px solid var(--border-colour);
    border-radius: 8px;
    padding: 20px;
    height: fit-content;
}

.sidebar-box {
    background: #ffffff;
    border: 1px solid var(--border-colour);
    border-radius: 8px;
    padding: 16px;
}

.blog-layout-grid .blog-summary-wrap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.blog-layout-grid .blog-summary {
    margin: 0;
}

.blog-layout-list .blog-summary {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 22px;
    align-items: start;
}

.blog-layout-list .blog-summary-image {
    margin: 0;
}

.blog-layout-list .blog-summary-image img {
    height: 165px;
    object-fit: cover;
}

.blog-image-small .blog-summary-image img {
    max-height: 180px;
    object-fit: cover;
}

.blog-image-medium .blog-summary-image img {
    max-height: 260px;
    object-fit: cover;
}

.blog-image-large .blog-summary-image img {
    max-height: none;
}

/* SEARCH */

.site-search-box {
    margin: 28px 0;
}

.site-search-box label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.site-search-box input {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid var(--border-colour);
    border-radius: 6px;
    font: inherit;
}

.search-count {
    color: var(--muted-colour);
    margin-top: 12px;
}

.search-result-card {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 22px;
    padding: 22px 0;
    border-top: 1px solid var(--border-colour);
}

.search-result-card h2 {
    margin-top: 0;
    font-size: 24px;
}

.search-result-image img {
    border-radius: 6px;
}

/* HOMEPAGE RESOURCES BAND */

.homepage-resources-band {
    margin: 56px 0;
    padding: clamp(34px, 5vw, 58px);
    border-radius: 18px;
    background: linear-gradient(135deg, var(--primary-colour), var(--accent-colour));
    color: #ffffff;
    box-shadow: 0 16px 40px rgba(15, 23, 42, .12);
}

.homepage-resources-content {
    max-width: 820px;
}

.homepage-resources-band h2 {
    margin-top: 0;
    color: #ffffff;
}

.homepage-resources-band p {
    color: rgba(255,255,255,.94);
    font-size: 18px;
}

.homepage-resources-band .homepage-button {
    background: #ffffff;
    color: var(--primary-colour);
    border-color: #ffffff;
}

.homepage-resources-band .homepage-button:hover {
    background: var(--secondary-colour);
    color: var(--primary-colour);
}

/* HOMEPAGE AUTHOR BLOCK */

.homepage-author-block {
    margin: 56px 0;
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 34px;
    align-items: center;
    padding: 34px;
    background: var(--surface-colour);
    border: 1px solid var(--border-colour);
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .06);
}

.homepage-author-image img {
    width: 240px;
    height: 240px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .14);
}

.homepage-author-copy h2 {
    margin-top: 0;
}

.homepage-author-copy p {
    color: var(--muted-colour);
}

/* FOOTER */

.site-footer {
    background: var(--footer-background);
    border-top: 1px solid var(--footer-border-colour);
    color: var(--footer-text-colour);
    font-size: 14px;
}

.footer-inner {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 52px 20px 44px;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 34px;
}

.footer-logo {
    width: 100px;
    height: auto;
    border-radius: 6px;
    margin-bottom: 12px;
    background: #ffffff;
    padding: 3px;
}

.footer-site-name {
    color: var(--footer-heading-colour);
    font-family: var(--heading-font-family);
    font-size: 21px;
    margin-bottom: 8px;
}

.footer-tagline {
    max-width: 340px;
    color: var(--footer-text-colour);
}

.footer-column h2 {
    font-size: 16px;
    margin: 0 0 14px;
    color: var(--footer-heading-colour);
}

.footer-column a {
    display: block;
    color: var(--footer-text-colour);
    text-decoration: none;
    margin-bottom: 9px;
}

.footer-column a:hover {
    color: #ffffff;
}

.footer-style-light .footer-column a:hover {
    color: var(--primary-colour);
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.footer-column .social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 38px;
    padding: 8px 12px;
    margin: 0;
    border-radius: 999px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 500;
    transition: transform .18s ease, opacity .18s ease;
}

.footer-column .social-link img {
    width: 17px;
    height: 17px;
    display: block;
    filter: brightness(0) invert(1);
}

.footer-column .social-link:hover {
    color: #ffffff;
    opacity: .9;
    transform: translateY(-2px);
}

.social-facebook { background: #1877f2; }
.social-linkedin { background: #0a66c2; }
.social-youtube { background: #ff0000; }
.social-x { background: #000000; }
.social-instagram { background: #c13584; }
.social-whatsapp { background: #25d366; }

.footer-bottom {
    border-top: 1px solid var(--footer-border-colour);
    padding: 17px 20px;
    text-align: center;
    color: var(--footer-text-colour);
}

.footer-bottom p {
    margin: 0;
}

/* THEME CONTROLS */

.header-logo-centre .brand-row {
    flex-direction: column;
    text-align: center;
    gap: 14px;
}

.header-logo-centre .brand-text {
    text-align: center;
}

.header-logo-centre .site-logo {
    margin: 0 auto;
}

.header-text-only .brand-row {
    justify-content: center;
    text-align: center;
}

.header-text-only .brand-text {
    text-align: center;
}

.header-text-only .logo-card {
    display: none;
}

.footer-centred .site-footer {
    text-align: center;
}

.footer-wide .site-footer {
    max-width: none;
}


@media (max-width: 768px) {
    .hero-bg-fixed {
        background-attachment: scroll;
    }

    .homepage-hero,
    .hero-height-small,
    .hero-height-medium,
    .hero-height-large {
        min-height: 380px;
    }

    .homepage-hero-inner {
        padding: 48px 18px;
    }

    .homepage-hero-content,
    .hero-text-right .homepage-hero-content {
        max-width: 100%;
        text-align: left;
        margin-left: 0;
        margin-right: 0;
    }

    .hero-text-centre .homepage-hero-content {
        text-align: center;
    }

    .hero-text-right .homepage-hero-buttons {
        justify-content: flex-start;
    }

    .hero-text-centre .homepage-hero-buttons {
        justify-content: center;
    }
}

/* RESPONSIVE */

@media (max-width: 1000px) {
    .blog-display-wrap.has-sidebar,
    .content-wrap.with-sidebar {
        grid-template-columns: 1fr;
    }

    .blog-layout-grid .blog-summary-wrap,
    .homepage-feature-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 900px) {
    .top-nav {
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px 18px;
    }

    .brand-row {
        max-width: 760px;
    }

    .site-logo {
        width: 112px;
    }

    .author-intro,
    .author-grid,
    .two-col,
    .two-col.first-section {
        grid-template-columns: 1fr;
    }

    .author-summary h1 {
        text-align: center;
    }

    .author-summary {
        text-align: center;
    }

    .two-col.reverse .image-col,
    .two-col.reverse .text-col {
        order: initial;
    }

    .ad-grid {
        flex-wrap: wrap;
    }

    .ad-grid a {
        flex: 0 0 30%;
    }

    .related-post-grid {
        grid-template-columns: 1fr;
    }

    .search-result-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .site-header {
        padding: 0 16px;
    }

    .featured-image-left,
    .featured-image-right,
    .content-image-left,
    .content-image-right {
        float: none;
        margin: 24px auto;
    }

    .featured-image-small,
    .featured-image-medium,
    .featured-image-large,
    .content-image-small,
    .content-image-medium,
    .content-image-large {
        max-width: 100%;
    }



    .brand-row {
        flex-direction: column;
        text-align: center;
        padding: 16px 0 20px;
    }

    .brand-text {
        text-align: center;
    }

    .content-wrap {
        margin: 24px auto 56px;
        padding: 0 14px;
    }

    .content-card {
        padding: 26px 18px;
    }

    .homepage-welcome,
    .homepage-cta {
        padding: 28px 20px;
    }

    .author-photo img {
        width: 220px;
        height: 220px;
    }

    .ad-grid a {
        flex: 0 0 45%;
    }

    .intro-section img {
        float: none;
        max-width: 100%;
        width: 100%;
        margin: 0 0 20px;
    }

    .blog-layout-grid .blog-summary-wrap,
    .homepage-feature-grid {
        grid-template-columns: 1fr;
    }

    .blog-layout-list .blog-summary {
        grid-template-columns: 1fr;
    }

    .homepage-author-block {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 26px 18px;
    }

    .homepage-author-image img {
        width: 220px;
        height: 220px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        padding: 34px 20px;
    }
}

.nav-dropdown{
    position:relative;
    display:inline-block;
}

.dropdown-menu{
    display:none;
    position:absolute;
    top:100%;
    left:0;
    min-width:220px;
    background:var(--surface-colour);
    border:1px solid var(--border-colour);
    box-shadow:0 8px 20px rgba(0,0,0,.08);
    z-index:999;
}

.dropdown-menu a{
    display:block;
    padding:10px 14px;
    text-decoration:none;
    white-space:nowrap;
}

.nav-dropdown:hover .dropdown-menu{
    display:block;
}


/* HOMEPAGE FEATURED CATEGORIES */

.homepage-featured-categories {
    margin: 54px 0;
    padding: 36px 0 0;
    border-top: 1px solid var(--border-colour);
}

.homepage-section-heading {
    max-width: 820px;
    margin-bottom: 28px;
}

.homepage-section-heading h2 {
    margin-top: 0;
    margin-bottom: 12px;
}

.homepage-section-heading p {
    color: var(--muted-colour);
    font-size: 18px;
}

.homepage-category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.homepage-category-tile {
    display: block;
    background: linear-gradient(180deg, #ffffff, var(--secondary-colour));
    border: 1px solid var(--border-colour);
    border-radius: 14px;
    padding: 30px 24px;
    text-decoration: none;
    text-align: center;
    color: var(--text-colour);
    min-height: 225px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, .05);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

.homepage-category-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(15, 23, 42, .1);
    border-color: rgba(37, 99, 235, .28);
    color: var(--text-colour);
    background: #ffffff;
}

.homepage-category-icon {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--primary-colour);
}

.homepage-category-icon img,
.homepage-icon-img {
    width: 42px;
    height: 42px;
    display: block;
    object-fit: contain;
    filter: invert(37%) sepia(94%) saturate(2552%) hue-rotate(214deg) brightness(96%) contrast(91%);
}

.homepage-category-title {
    display: block;
    margin: 0 0 12px;
    font-family: var(--heading-font-family);
    font-size: 21px;
    font-weight: 500;
    line-height: 1.25;
    color: var(--primary-colour);
}

.homepage-category-text {
    display: block;
    margin: 0;
    color: var(--muted-colour);
    font-size: 15px;
    line-height: 1.65;
}

.homepage-category-count {
    display: inline-block;
    margin-top: 14px;
    color: var(--accent-colour);
    font-size: 13px;
    font-weight: 500;
}

/* HOMEPAGE FEATURED LINKS - LESS SAMEY THAN CARD STACKS */

.homepage-featured-links {
    margin: 54px 0;
    padding: 34px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(37, 99, 235, .08), rgba(15, 118, 110, .08));
    border: 1px solid rgba(37, 99, 235, .14);
}

.homepage-featured-links > h2 {
    margin-top: 0;
}

.homepage-featured-links .homepage-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.homepage-featured-links .homepage-feature-card {
    box-shadow: none;
    border-radius: 12px;
    padding: 20px;
    background: rgba(255,255,255,.82);
}

.homepage-featured-links .homepage-feature-card h3 {
    font-size: 20px;
}

.homepage-featured-links .homepage-feature-card p {
    font-size: 15px;
}

.homepage-featured-links .homepage-feature-card .read-more {
    padding: 8px 13px;
}

@media (max-width: 1000px) {
    .homepage-category-grid,
    .homepage-category-columns-4 .homepage-category-grid,
    .homepage-category-columns-6 .homepage-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .homepage-featured-links .homepage-feature-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 700px) {
    .homepage-category-grid,
    .homepage-category-columns-4 .homepage-category-grid,
    .homepage-category-columns-6 .homepage-category-grid,
    .homepage-featured-links .homepage-feature-grid {
        grid-template-columns: 1fr;
    }

    .homepage-featured-links,
    .homepage-after-categories-inner {
        padding: 24px 18px;
    }

    .homepage-category-tile {
        min-height: auto;
    }
}


/* ==========================================================
   HBB4U HOMEPAGE FINAL POLISH
========================================================== */

.screen-reader-text {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.homepage-welcome {
    margin: 72px 0;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
}

.homepage-welcome h1,
.homepage-welcome h2,
.homepage-welcome h3 {
    margin-top: 0;
}

.homepage-intro-section,
.homepage-featured-categories,
.homepage-after-categories,
.homepage-featured-links,
.homepage-resources-band,
.homepage-author-block,
.homepage-latest-posts,
.homepage-cta {
    margin-top: 72px;
    margin-bottom: 72px;
}

.homepage-intro-section {
    padding: clamp(32px, 5vw, 54px);
    background: var(--surface-colour);
    border: 1px solid var(--border-colour);
    border-left: 5px solid var(--accent-colour);
    border-radius: 14px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .05);
}

.homepage-intro-section h2 {
    margin-top: 0;
}

.homepage-intro-section p:last-child {
    margin-bottom: 0;
}

.homepage-author-block {
    grid-template-columns: 290px minmax(0, 1fr);
    min-height: 330px;
}

.homepage-author-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.homepage-author-image img {
    width: 270px;
    height: 270px;
}

.homepage-author-copy {
    align-self: center;
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
}

.footer-column .social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    min-height: 42px;
    padding: 0;
    margin: 0;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 50%;
    background: transparent;
    color: #ffffff;
    text-decoration: none;
    transition:
        transform .18s ease,
        background .18s ease,
        border-color .18s ease;
}

.footer-column .social-link img {
    display: block;
    width: 22px;
    height: 22px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.footer-column .social-link:hover {
    background: var(--primary-colour);
    border-color: var(--primary-colour);
    transform: translateY(-3px);
    opacity: 1;
}

.social-facebook,
.social-linkedin,
.social-youtube,
.social-x,
.social-instagram,
.social-whatsapp {
    background: transparent;
}

@media (max-width: 700px) {
    .homepage-welcome,
    .homepage-intro-section,
    .homepage-featured-categories,
    .homepage-after-categories,
    .homepage-featured-links,
    .homepage-resources-band,
    .homepage-author-block,
    .homepage-latest-posts,
    .homepage-cta {
        margin-top: 48px;
        margin-bottom: 48px;
    }

    .homepage-intro-section {
        padding: 28px 20px;
    }

    .homepage-author-block {
        min-height: 0;
    }

    .homepage-author-image img {
        width: 230px;
        height: 230px;
    }
}
/* BWM social links, WhatsApp contact and section media */
.footer-social{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:16px}
.social-link{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:999px;background:var(--primary-colour,#334155);transition:transform .15s ease,opacity .15s ease}
.social-link:hover{transform:translateY(-2px);opacity:.88}
.social-icon-img{width:21px;height:21px;filter:brightness(0) invert(1)}
.screen-reader-text{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.whatsapp-connect{position:fixed;right:22px;bottom:22px;z-index:999;display:inline-flex;align-items:center;gap:9px;padding:12px 16px;border-radius:999px;background:#25d366;color:#092d17!important;text-decoration:none;font-weight:800;box-shadow:0 8px 28px rgba(0,0,0,.24)}
.whatsapp-connect img{width:25px;height:25px}
.bwm-section-background{position:relative;isolation:isolate;background-size:cover;background-repeat:no-repeat;background-position:center;overflow:hidden}
.bwm-section-background>*:not(.bwm-section-video){position:relative;z-index:2}
.bwm-section-background::after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none}
.bwm-overlay-none::after{background:transparent}.bwm-overlay-light::after{background:rgba(255,255,255,.28)}.bwm-overlay-medium::after{background:rgba(0,0,0,.42)}.bwm-overlay-dark::after{background:rgba(0,0,0,.68)}
.bwm-focus-left{background-position:left center}.bwm-focus-centre{background-position:center}.bwm-focus-right{background-position:right center}
.bwm-text-light,.bwm-text-light h1,.bwm-text-light h2,.bwm-text-light h3,.bwm-text-light p{color:#fff}.bwm-text-dark,.bwm-text-dark h1,.bwm-text-dark h2,.bwm-text-dark h3,.bwm-text-dark p{color:#172033}
.bwm-section-video,.homepage-hero-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0}
.homepage-hero{isolation:isolate}.homepage-hero::before{z-index:1}.homepage-hero-inner{position:relative;z-index:2}
@media(max-width:700px){.whatsapp-connect span{display:none}.whatsapp-connect{right:16px;bottom:16px;padding:13px}.bwm-section-video,.homepage-hero-video{display:none}}

/* Theme-aware page builder blocks */
.bwm-page-section{position:relative;box-sizing:border-box;width:100vw;margin:42px calc(50% - 50vw);padding:54px max(22px,calc((100vw - min(1160px,var(--content-width,1160px)))/2));color:inherit;background:transparent}
.bwm-page-section-inner{max-width:1160px;margin:0 auto}
.bwm-page-section h2{margin:0 0 20px}
.bwm-page-lead{font-size:clamp(18px,2vw,22px);line-height:1.65;max-width:850px}
.bwm-page-section-content .bwm-page-section-inner{max-width:100%}
.bwm-section-style-soft{background:var(--secondary-colour,#f7f5ed)}
.bwm-section-style-brand{background:var(--primary-colour,#174c45);color:#fff}
.bwm-section-style-brand h2,.bwm-section-style-brand h3,.bwm-section-style-brand a{color:#fff}
.bwm-section-style-accent{background:var(--accent-colour,#c96f59);color:#fff}
.bwm-section-style-accent h2,.bwm-section-style-accent h3,.bwm-section-style-accent a{color:#fff}
.bwm-page-image-text{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(24px,5vw,64px);align-items:center}
.bwm-page-image-text figure{margin:0}.bwm-page-image-text img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border-radius:8px}
.bwm-page-image-text.bwm-image-left figure{order:-1}.bwm-page-copy>*:first-child{margin-top:0}.bwm-page-copy>*:last-child{margin-bottom:0}
.bwm-page-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:18px}
.bwm-page-card{padding:22px;border:1px solid var(--border-colour,#e5e9e3);border-radius:8px;background:var(--surface-colour,#fff)}
.bwm-page-card h3{margin:0 0 10px}.bwm-page-card p:last-child{margin-bottom:0}
.bwm-page-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px}.bwm-page-gallery figure{margin:0}.bwm-page-gallery img{display:block;width:100%;height:240px;object-fit:cover;border-radius:8px}.bwm-page-gallery figcaption{margin-top:7px;font-size:.9em}
.bwm-faq-item{padding:14px 0;border-bottom:1px solid var(--border-colour,#e5e9e3)}.bwm-faq-item summary{font-weight:700;cursor:pointer}.bwm-faq-answer{padding:10px 0 2px;line-height:1.65}
.bwm-related-links{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px 24px;padding-left:20px}
.bwm-section-button{display:inline-block;padding:12px 19px;border-radius:5px;background:var(--primary-colour,#174c45);color:#fff!important;text-decoration:none;font-weight:700}.bwm-section-style-brand .bwm-section-button,.bwm-section-style-accent .bwm-section-button{background:#fff;color:var(--primary-colour,#174c45)!important}
.bwm-contact-details{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px 28px}.bwm-contact-details p{margin:0}.bwm-map-wrap{position:relative;min-height:320px}.bwm-map-wrap iframe{display:block;width:100%;height:360px;border:0;border-radius:8px}
@media(max-width:720px){.bwm-page-section{padding-top:40px;padding-bottom:40px;margin-top:28px;margin-bottom:28px}.bwm-page-image-text{grid-template-columns:1fr}.bwm-page-image-text.bwm-image-left figure{order:0}.bwm-page-gallery img{height:220px}}

/* Section background colour controls */
.bwm-bg-light,.bwm-section-style-soft{background:var(--secondary-colour,#f7f5ed)}
.bwm-bg-white,.bwm-section-style-white{background:#fff;color:var(--text-colour,#20332f)}
.bwm-bg-brand{background:var(--primary-colour,#174c45);color:#fff}
.bwm-bg-accent{background:var(--accent-colour,#c96f59);color:#fff}
.bwm-bg-dark,.bwm-section-style-dark{background:#172033;color:#fff}
.bwm-bg-brand h1,.bwm-bg-brand h2,.bwm-bg-brand h3,.bwm-bg-brand p,.bwm-bg-brand a,.bwm-bg-accent h1,.bwm-bg-accent h2,.bwm-bg-accent h3,.bwm-bg-accent p,.bwm-bg-accent a,.bwm-bg-dark h1,.bwm-bg-dark h2,.bwm-bg-dark h3,.bwm-bg-dark p,.bwm-bg-dark a,.bwm-section-style-dark h2,.bwm-section-style-dark h3,.bwm-section-style-dark a{color:#fff}
.bwm-bg-light h1,.bwm-bg-light h2,.bwm-bg-light h3,.bwm-bg-light p,.bwm-bg-white h1,.bwm-bg-white h2,.bwm-bg-white h3,.bwm-bg-white p{color:var(--text-colour,#20332f)}


/* Shared builder featured products strip */
.bwm-featured-products{width:calc(100% - 36px);max-width:1160px;margin:28px auto;padding:18px 20px;background:#f7f8fa;border:1px solid #e5e7eb;border-radius:12px;box-sizing:border-box}.bwm-featured-products h2{margin:0 0 14px;text-align:center;font-size:clamp(18px,2.2vw,24px)}.bwm-featured-products-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;align-items:stretch}.bwm-featured-product{min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;padding:10px;background:#fff;border:1px solid #e5e7eb;border-radius:9px;color:inherit;text-decoration:none;text-align:center;box-shadow:0 2px 8px rgba(15,23,42,.08);transition:transform .16s ease,box-shadow .16s ease}.bwm-featured-product:hover{transform:translateY(-2px);box-shadow:0 5px 14px rgba(15,23,42,.14)}.bwm-featured-product img{display:block;width:100%;height:110px;object-fit:contain}.bwm-featured-product span{font-size:14px;font-weight:700;line-height:1.35}@media(max-width:760px){.bwm-featured-products-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.bwm-featured-product img{height:90px}}@media(max-width:480px){.bwm-featured-products{width:calc(100% - 24px);padding:14px}.bwm-featured-products-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Beauty Editorial theme: plum, coral, aqua and soft cream. */
:root{
    --boa-plum:#50395a;
    --boa-plum-soft:#725879;
    --boa-coral:#ef795f;
    --boa-coral-dark:#d9654d;
    --boa-aqua:#b8e4df;
    --boa-aqua-pale:#e8f5f2;
    --boa-cream:#fbf8f5;
    --boa-rose:#f9e5e1;
    --boa-ink:#302d35;
    --boa-muted:#716c75;
    --boa-line:#ebe3e4;
    --boa-shadow:0 14px 36px rgba(69,48,72,.10);
    --heading-font-family:Georgia,'Times New Roman',serif;
    --font-family:'Inter','Open Sans',Arial,sans-serif;
}
html{scroll-behavior:smooth}
body{background:#fff;color:var(--boa-ink);font-family:var(--font-family);line-height:1.72;font-size:17px}
a{color:var(--boa-plum);text-underline-offset:3px}
a:hover{color:var(--boa-coral-dark)}
h1,h2,h3,h4,.content-card h1,.content-card h2,.content-card h3{font-family:Georgia,'Times New Roman',serif;color:var(--boa-plum);letter-spacing:-.025em}

/* Brand and navigation */
.site-header{position:relative;z-index:5;padding:0 clamp(16px,3vw,34px);background:rgba(255,255,255,.97);border-bottom:1px solid var(--boa-line)}
.top-nav{max-width:1180px;padding:12px 0 0;gap:7px;font-size:14px;font-weight:600}
.top-nav a{padding:8px 12px;border-radius:999px;color:var(--boa-plum);transition:background .18s ease,color .18s ease}
.top-nav a:hover,.top-nav .nav-dropdown:hover>a{background:var(--boa-aqua-pale);color:var(--boa-plum)}
.brand-row{max-width:1180px;gap:16px;padding:12px 0 18px}
.logo-card{flex:0 0 auto}
.site-logo{width:68px;height:68px;object-fit:cover;border:1px solid var(--boa-line);border-radius:15px;background:#fff;box-shadow:0 5px 16px rgba(69,48,72,.12)}
.site-title{font:500 clamp(22px,3vw,32px)/1.13 Georgia,'Times New Roman',serif;color:var(--boa-plum)}
.tagline{margin-top:5px;color:var(--boa-muted);font-size:13px;letter-spacing:.035em}

/* Split hero: real photograph in a simple frame, with an offset aqua layer. */
.homepage-hero{min-height:0;margin:0;background:linear-gradient(112deg,#fbf2ed 0%,#fbf8f5 52%,#e8f5f2 100%);overflow:hidden}
.homepage-hero::before{display:none}
.homepage-hero-layout-split{min-height:0}
.homepage-hero-layout-split .homepage-hero-inner{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(300px,.95fr);gap:clamp(28px,5vw,64px);align-items:center;padding:clamp(44px,7vw,82px) clamp(22px,4vw,42px);max-width:1220px}
.homepage-hero-content{max-width:650px;color:var(--boa-ink)}
.homepage-hero-content .homepage-hero-small-heading{margin:0 0 12px;color:var(--boa-coral);font-size:13px;font-weight:700;letter-spacing:.13em;line-height:1.4;text-transform:uppercase}
.homepage-hero h1{max-width:650px;margin:0 0 18px;color:var(--boa-plum);font:500 clamp(40px,5.2vw,66px)/1.04 Georgia,'Times New Roman',serif;letter-spacing:-.045em;text-shadow:none}
.homepage-hero p{max-width:610px;margin:0;color:#5f5963;font-size:clamp(17px,1.7vw,20px);line-height:1.7;text-shadow:none}
.homepage-hero-image{position:relative;isolation:isolate;z-index:0;min-width:0;margin:0 12px 12px 0;padding:12px;border:1px solid rgba(80,57,90,.1);border-radius:18px;background:#fff;box-shadow:var(--boa-shadow);transform:rotate(.35deg)}
.homepage-hero-image::before{content:"";position:absolute;z-index:-1;inset:12px -12px -12px 12px;border-radius:18px;background:var(--boa-aqua);box-shadow:0 10px 26px rgba(51,105,99,.12)}
.homepage-hero-image img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:11px}
.homepage-hero-buttons{gap:11px;margin-top:25px}
.homepage-hero-button{min-height:46px;padding:11px 19px;border:1px solid var(--boa-coral);border-radius:999px;font-weight:700}
.homepage-hero-button.primary{background:var(--boa-coral);color:#fff}
.homepage-hero-button.primary:hover{background:var(--boa-coral-dark);color:#fff}
.homepage-hero-button.secondary{background:#fff;border-color:var(--boa-line);color:var(--boa-plum)}
.homepage-hero-button.secondary:hover{background:var(--boa-aqua-pale);color:var(--boa-plum)}
.homepage-hero:not(.homepage-hero-layout-split){min-height:380px;background-color:var(--boa-plum);background-image:linear-gradient(110deg,rgba(80,57,90,.84),rgba(80,57,90,.42))}
.homepage-hero:not(.homepage-hero-layout-split)::before{display:block;background:linear-gradient(90deg,rgba(45,34,51,.62),rgba(80,57,90,.16))}
.homepage-hero:not(.homepage-hero-layout-split) .homepage-hero-content{color:#fff}
.homepage-hero:not(.homepage-hero-layout-split) h1,.homepage-hero:not(.homepage-hero-layout-split) p{color:#fff}

/* Homepage content hierarchy */
.content-wrap{max-width:1220px;margin:30px auto 72px;padding:0 clamp(16px,3vw,30px)}
.content-card{padding:clamp(18px,3vw,34px);border:0;border-radius:0;background:#fff;box-shadow:none}
.is-homepage .content-card{padding-top:0}
.homepage-welcome{margin:30px auto 48px;padding:0;background:transparent;border:0;text-align:center}
.homepage-welcome h1,.homepage-welcome h2,.homepage-welcome h3{max-width:850px;margin:0 auto 12px;color:var(--boa-plum);font:500 clamp(29px,3.6vw,44px)/1.15 Georgia,'Times New Roman',serif}
.homepage-welcome p{max-width:780px;margin-left:auto;margin-right:auto;color:var(--boa-muted);font-size:17px}
.homepage-intro-section,.homepage-featured-categories,.homepage-after-categories,.homepage-featured-links,.homepage-resources-band,.homepage-author-block,.homepage-latest-posts,.homepage-cta,.homepage-gallery,.homepage-team,.homepage-testimonials,.homepage-image-text{margin:58px 0}
.homepage-intro-section{padding:clamp(24px,4vw,42px);border:1px solid var(--boa-line);border-left:4px solid var(--boa-coral);border-radius:18px;background:linear-gradient(120deg,var(--boa-cream),#fff)}
.homepage-intro-section h2,.homepage-section-heading h2,.homepage-latest-posts>h2,.homepage-featured-pages>h2{margin:0 0 12px;color:var(--boa-plum);font:500 clamp(28px,3vw,38px)/1.16 Georgia,'Times New Roman',serif}
.homepage-section-heading{max-width:790px;margin:0 auto 26px;text-align:center}
.homepage-section-heading p{color:var(--boa-muted);font-size:16px}
.homepage-featured-categories{padding-top:8px;border-top:0}
.homepage-category-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.homepage-category-columns-4 .homepage-category-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.homepage-category-columns-6 .homepage-category-grid{grid-template-columns:repeat(6,minmax(0,1fr))}
.homepage-category-tile{position:relative;min-height:195px;padding:26px 22px;border:1px solid var(--boa-line);border-radius:17px;background:linear-gradient(145deg,#fff 20%,var(--boa-aqua-pale));box-shadow:0 8px 24px rgba(69,48,72,.06);text-align:left;color:var(--boa-ink)}
.homepage-category-tile:nth-child(3n+2){background:linear-gradient(145deg,#fff 20%,#fbefeb)}
.homepage-category-tile:nth-child(3n){background:linear-gradient(145deg,#fff 20%,#f4eef5)}
.homepage-category-tile:hover{transform:translateY(-3px);border-color:rgba(239,121,95,.38);box-shadow:var(--boa-shadow);color:var(--boa-plum)}
.homepage-category-icon{width:45px;height:45px;margin:0 0 13px;color:var(--boa-coral)}
.homepage-category-icon img,.homepage-icon-img{filter:none;opacity:.82}
.homepage-category-title{margin:0 0 8px;color:var(--boa-plum);font:500 23px/1.2 Georgia,'Times New Roman',serif}
.homepage-category-text{color:var(--boa-muted);font-size:14px;line-height:1.6}
.homepage-category-count{color:var(--boa-coral-dark);font-size:12px;font-weight:700}
.homepage-after-categories-inner{max-width:900px;margin:auto;padding:clamp(24px,4vw,40px);border-radius:18px;background:var(--boa-plum);color:#fff;text-align:center}
.homepage-after-categories-inner h2,.homepage-after-categories-inner p{color:#fff}
.homepage-after-categories .read-more,.homepage-feature-card .read-more{display:inline-flex;align-items:center;justify-content:center;padding:10px 16px;border-radius:999px;background:var(--boa-coral);color:#fff;text-decoration:none;font-size:14px;font-weight:700}
.homepage-featured-links{padding:clamp(22px,4vw,36px);border:1px solid var(--boa-line);border-radius:20px;background:var(--boa-cream)}
.homepage-featured-links>h2{color:var(--boa-plum)}
.homepage-featured-links .homepage-feature-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.homepage-featured-links .homepage-feature-card{padding:20px;border:1px solid var(--boa-line);border-radius:14px;background:#fff;box-shadow:none}
.homepage-feature-card h3{font:500 21px/1.25 Georgia,'Times New Roman',serif;color:var(--boa-plum)}
.homepage-feature-card h3 a{color:inherit}
.homepage-feature-card p{color:var(--boa-muted);font-size:14px}
.homepage-featured-links .homepage-feature-card .read-more{background:transparent;color:var(--boa-coral-dark);padding:2px 0}

/* Article cards, long-form reading and builder sections */
.homepage-latest-posts>h2{margin-bottom:23px}
.homepage-post-grid,.related-post-grid{gap:18px}
.homepage-post-grid .post-summary,.related-post-grid .post-summary{overflow:hidden;border:1px solid var(--boa-line);border-radius:16px;background:#fff;box-shadow:0 7px 24px rgba(69,48,72,.06)}
.homepage-post-grid .post-summary-image,.related-post-grid .post-summary-image{aspect-ratio:16/10;overflow:hidden}
.homepage-post-grid .post-summary-image img,.related-post-grid .post-summary-image img{width:100%;height:100%;object-fit:cover}
.homepage-post-grid .post-summary h2,.homepage-post-grid .post-summary h3{font:500 22px/1.25 Georgia,'Times New Roman',serif;color:var(--boa-plum)}
.post-content,.page-content,.category-content,.tag-content,.author-content,.search-content{max-width:800px}
.is-internal-page .page-content{max-width:860px}
.content-card h1{font:500 clamp(34px,4vw,48px)/1.12 Georgia,'Times New Roman',serif;color:var(--boa-plum)}
.post-content h2,.page-content h2{margin-top:2em;color:var(--boa-plum);font:500 clamp(25px,3vw,34px)/1.2 Georgia,'Times New Roman',serif}
.post-content h3,.page-content h3{color:var(--boa-plum);font:500 22px/1.3 Georgia,'Times New Roman',serif}
.post-content p,.page-content p{line-height:1.82}
.featured-image-medium,.post-featured-image,.featured-image-large{position:relative;border:8px solid #fff;border-radius:16px;box-shadow:var(--boa-shadow)}
.bwm-page-section{margin:30px 0}
.bwm-page-section h2{color:var(--boa-plum)}
.bwm-page-card,.bwm-review-card{border:1px solid var(--boa-line);border-radius:14px;background:#fff;box-shadow:0 6px 20px rgba(69,48,72,.06)}
.bwm-section-button,.homepage-button,.read-more{border-radius:999px}
.blog-index{gap:20px}
.blog-index>.blog-summary{overflow:hidden;border:1px solid var(--boa-line);border-radius:16px;background:#fff;box-shadow:0 7px 24px rgba(69,48,72,.06)}
.blog-index>.blog-summary>.blog-summary-image{aspect-ratio:16/10;background:var(--boa-aqua-pale)}
.blog-index>.blog-summary>.blog-summary-image img{width:100%;height:100%;object-fit:cover}
.blog-index>.blog-summary>:not(.blog-summary-image){margin-right:18px;margin-left:18px}
.blog-index>.blog-summary>h2{font:500 22px/1.25 Georgia,'Times New Roman',serif;color:var(--boa-plum)}
.blog-index>.blog-summary>h2 a{color:inherit;text-decoration:none}
.blog-index>.blog-summary .read-more{background:var(--boa-coral);color:#fff}

/* Shared five-image offers row. The builder can place this after the content
   on the homepage, article, post and archive pages when enabled. */
[data-bwm-featured-products]{width:100%;margin:46px auto 0;padding:0 clamp(16px,3vw,30px);box-sizing:border-box}
.bwm-featured-products{width:100%;max-width:1160px;margin:0 auto 38px;padding:22px;border:1px solid var(--boa-line);border-radius:18px;background:var(--boa-cream);box-shadow:0 8px 24px rgba(69,48,72,.06)}
.bwm-featured-products h2{margin:0 0 17px;text-align:center;color:var(--boa-plum);font:500 clamp(23px,2.8vw,32px)/1.2 Georgia,'Times New Roman',serif}
.bwm-featured-products-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:stretch;gap:14px}
.bwm-featured-product{min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:10px;padding:12px;border:1px solid var(--boa-line);border-radius:13px;background:#fff;color:var(--boa-plum);text-align:center;text-decoration:none;box-shadow:0 4px 14px rgba(69,48,72,.07);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.bwm-featured-product:hover{transform:translateY(-3px);border-color:rgba(239,121,95,.5);box-shadow:var(--boa-shadow);color:var(--boa-plum)}
.bwm-featured-product img{display:block;width:100%;height:115px;object-fit:contain;border-radius:7px}
.bwm-featured-product span{font-size:13px;font-weight:700;line-height:1.35}

/* Footer and social profiles */
.site-footer{background:#f7f1f0;border-top:1px solid var(--boa-line);color:#5f5963}
.footer-inner{max-width:1180px;padding:42px 22px 34px}
.footer-site-name,.footer-column h2{color:var(--boa-plum)}
.footer-tagline,.footer-column a,.footer-bottom{color:#69616c}
.footer-column a:hover{color:var(--boa-coral-dark)}
.footer-bottom{border-color:var(--boa-line)}
.footer-column .social-link{border:1px solid rgba(80,57,90,.16);background:#fff;color:var(--boa-plum)}
.footer-column .social-link img{filter:none}
.footer-column .social-link:hover{background:var(--boa-plum);border-color:var(--boa-plum);color:#fff}
.footer-column .social-link:hover img{filter:brightness(0) invert(1)}

@media(max-width:900px){
    .homepage-hero-layout-split .homepage-hero-inner{grid-template-columns:minmax(0,1fr) minmax(240px,.85fr);gap:28px}
    .homepage-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    .homepage-featured-links .homepage-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    .bwm-featured-products-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:650px){
    body{font-size:16px}
    .top-nav{justify-content:center;gap:2px;padding-top:7px;font-size:12px}
    .top-nav a{padding:7px 8px}
    .brand-row{justify-content:center;gap:11px;padding:10px 0 14px}
    .site-logo{width:55px;height:55px;border-radius:12px}
    .site-title{font-size:22px}
    .tagline{font-size:11px}
    .homepage-hero-layout-split .homepage-hero-inner{grid-template-columns:minmax(0,1fr);gap:26px;padding:38px 22px 42px}
    .homepage-hero h1{font-size:clamp(37px,11vw,49px)}
    .homepage-hero p{font-size:16px}
    .homepage-hero-image{max-width:520px;width:calc(100% - 14px);margin:0 12px 12px 0}
    .homepage-hero-image img{aspect-ratio:4/3}
    .content-wrap{margin:18px auto 48px;padding:0 14px}
    .content-card{padding:14px 4px}
    .homepage-welcome{margin:25px auto 38px}
    .homepage-intro-section,.homepage-featured-categories,.homepage-after-categories,.homepage-featured-links,.homepage-resources-band,.homepage-author-block,.homepage-latest-posts,.homepage-cta,.homepage-gallery,.homepage-team,.homepage-testimonials,.homepage-image-text{margin:40px 0}
    .homepage-category-grid,.homepage-featured-links .homepage-feature-grid{grid-template-columns:minmax(0,1fr)}
    .homepage-category-tile{min-height:0;padding:21px}
    .homepage-featured-links{padding:21px 16px}
    .homepage-post-grid,.related-post-grid{grid-template-columns:minmax(0,1fr)}
    [data-bwm-featured-products]{padding:0 14px;margin-top:34px}
    .bwm-featured-products{padding:16px 12px;margin-bottom:25px}
    .bwm-featured-products-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
    .bwm-featured-product{padding:9px}
    .bwm-featured-product img{height:96px}
    .footer-inner{grid-template-columns:1fr 1fr;gap:24px;padding:34px 18px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}

/* Keep the after-categories callout heading readable on its plum panel. */
.homepage-after-categories .homepage-after-categories-inner h2{color:#fff!important}



/* Internal pages: keep plain sections aligned, while coloured panels run full width. */
.is-internal-page .bwm-page-section{width:100%;max-width:100%;margin:30px 0;padding:0;box-sizing:border-box}
.is-internal-page .bwm-page-section-inner{width:100%;max-width:860px;margin:0 auto;box-sizing:border-box}
.is-internal-page .bwm-page-section-content .bwm-page-section-inner{width:100%;max-width:860px;margin:0 auto}
.is-internal-page .bwm-page-image-text{width:100%;max-width:100%;grid-template-columns:minmax(0,1fr) minmax(0,1fr);box-sizing:border-box}
.is-internal-page .bwm-page-image-text>*{min-width:0}
.is-internal-page .bwm-page-section:is(.bwm-bg-light,.bwm-bg-white,.bwm-bg-brand,.bwm-bg-accent,.bwm-bg-dark,.bwm-section-style-soft,.bwm-section-style-white,.bwm-section-style-brand,.bwm-section-style-accent,.bwm-section-style-dark){
    width:100vw;max-width:100vw;margin:42px calc(50% - 50vw);
    padding:clamp(30px,5vw,58px) max(22px,calc((100vw - min(860px,var(--content-width,860px)))/2));
}
/* Use the Beauty Editorial palette for page-builder backgrounds. */
.is-internal-page .bwm-page-section:is(.bwm-bg-light,.bwm-section-style-soft){background:linear-gradient(115deg,var(--boa-cream),var(--boa-aqua-pale))!important;color:var(--boa-ink)}
.is-internal-page .bwm-page-section:is(.bwm-bg-white,.bwm-section-style-white){background:#fff!important;color:var(--boa-ink)}
.is-internal-page .bwm-page-section:is(.bwm-bg-brand,.bwm-section-style-brand,.bwm-bg-dark,.bwm-section-style-dark){background:var(--boa-plum)!important;color:#fff}
.is-internal-page .bwm-page-section:is(.bwm-bg-accent,.bwm-section-style-accent){background:var(--boa-rose)!important;color:var(--boa-ink)}
.is-internal-page .bwm-page-section:is(.bwm-bg-brand,.bwm-section-style-brand,.bwm-bg-dark,.bwm-section-style-dark) h1,
.is-internal-page .bwm-page-section:is(.bwm-bg-brand,.bwm-section-style-brand,.bwm-bg-dark,.bwm-section-style-dark) h2,
.is-internal-page .bwm-page-section:is(.bwm-bg-brand,.bwm-section-style-brand,.bwm-bg-dark,.bwm-section-style-dark) h3,
.is-internal-page .bwm-page-section:is(.bwm-bg-brand,.bwm-section-style-brand,.bwm-bg-dark,.bwm-section-style-dark) p,
.is-internal-page .bwm-page-section:is(.bwm-bg-brand,.bwm-section-style-brand,.bwm-bg-dark,.bwm-section-style-dark) li,
.is-internal-page .bwm-page-section:is(.bwm-bg-brand,.bwm-section-style-brand,.bwm-bg-dark,.bwm-section-style-dark) a{color:#fff!important}
.is-internal-page .bwm-page-section:is(.bwm-bg-accent,.bwm-section-style-accent) h1,
.is-internal-page .bwm-page-section:is(.bwm-bg-accent,.bwm-section-style-accent) h2,
.is-internal-page .bwm-page-section:is(.bwm-bg-accent,.bwm-section-style-accent) h3,
.is-internal-page .bwm-page-section:is(.bwm-bg-accent,.bwm-section-style-accent) p,
.is-internal-page .bwm-page-section:is(.bwm-bg-accent,.bwm-section-style-accent) li,
.is-internal-page .bwm-page-section:is(.bwm-bg-accent,.bwm-section-style-accent) a{color:var(--boa-ink)!important}
.boa-top-nav{flex-wrap:wrap;justify-content:flex-end}
@media(max-width:650px){
    .boa-top-nav{justify-content:center}
    .is-internal-page .bwm-page-section:is(.bwm-bg-light,.bwm-bg-white,.bwm-bg-brand,.bwm-bg-accent,.bwm-bg-dark,.bwm-section-style-soft,.bwm-section-style-white,.bwm-section-style-brand,.bwm-section-style-accent,.bwm-section-style-dark){
        margin-top:30px;margin-bottom:30px;padding:30px 22px
    }
    .is-internal-page .bwm-page-image-text{grid-template-columns:1fr}
}

/* BWM blog card grids and pagination */
.homepage-post-grid,.related-post-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;align-items:stretch}
.homepage-post-grid>.blog-summary,.related-post-grid>.blog-summary{min-width:0;overflow:hidden}
.blog-summary-wrap{display:grid;grid-template-columns:repeat(var(--blog-columns,3),minmax(0,1fr));gap:22px;align-items:stretch}
.blog-summary-wrap>.blog-summary{display:flex;min-width:0;flex-direction:column;overflow:hidden}
.blog-summary-wrap>.blog-summary .blog-summary-image{display:block;aspect-ratio:4/3;overflow:hidden}
.blog-summary-wrap>.blog-summary .blog-summary-image img{width:100%;height:100%;object-fit:cover}
.blog-pagination{grid-column:1/-1;display:flex;align-items:center;justify-content:center;gap:18px;margin:28px 0 8px}
.blog-page-link{display:inline-flex;align-items:center;padding:10px 16px;border-radius:999px;text-decoration:none;background:var(--primary-colour,#3f5568);color:#fff}
.blog-page-current{color:var(--muted-colour,#6b7280)}
.post-banner{width:100%;margin:22px auto}
@media(max-width:900px){.blog-summary-wrap{grid-template-columns:repeat(2,minmax(0,1fr))}.homepage-post-grid,.related-post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.blog-summary-wrap,.homepage-post-grid,.related-post-grid{grid-template-columns:minmax(0,1fr)}}
/* BWM archive card refinement */

.blog-index{display:block}
.blog-summary-wrap>.blog-summary{padding:0 0 18px;border:1px solid var(--border-colour,#e5e7eb);border-radius:12px;background:var(--surface-colour,#fff);box-shadow:0 4px 18px rgba(15,23,42,.07)}
.blog-summary-wrap>.blog-summary>:not(.blog-summary-image){margin-left:18px;margin-right:18px}
.blog-summary-wrap>.blog-summary>h2{margin-top:12px}
.blog-summary-wrap>.blog-summary>p:last-child{margin-top:auto}

/* Keep homepage latest-post cards equal and align their Read more actions */
.homepage-post-grid{align-items:stretch}
.homepage-post-grid>.blog-summary{display:flex;flex-direction:column;height:100%;min-width:0}
.homepage-post-grid>.blog-summary .blog-summary-image{display:block;flex:0 0 auto;aspect-ratio:4/3;overflow:hidden}
.homepage-post-grid>.blog-summary .blog-summary-image img{display:block;width:100%;height:100%;object-fit:cover}
.homepage-post-grid>.blog-summary>p:last-child{margin-top:auto;padding-top:14px}

/* Desktop archive cards: supports direct cards and the wrapped archive markup */
.blog-display-main>.blog-index{display:grid;grid-template-columns:repeat(var(--blog-columns,3),minmax(0,1fr));gap:22px;align-items:stretch}
.blog-display-main>.blog-index>h1,.blog-display-main>.blog-index>.blog-index-intro{grid-column:1/-1}
.blog-display-main>.blog-index>.blog-summary-wrap{grid-column:1/-1;width:100%}
.blog-display-main>.blog-index>.blog-summary{display:flex;flex-direction:column;min-width:0;overflow:hidden;padding:0 0 18px;border:1px solid var(--border-colour,#e5e7eb);border-radius:12px;background:var(--surface-colour,#fff);box-shadow:0 4px 18px rgba(15,23,42,.07)}
.blog-display-main>.blog-index>.blog-summary>.blog-summary-image{display:block;aspect-ratio:4/3;overflow:hidden;margin:0 0 14px}
.blog-display-main>.blog-index>.blog-summary>.blog-summary-image img{display:block;width:100%;height:100%;object-fit:cover}
.blog-display-main>.blog-index>.blog-summary>:not(.blog-summary-image){margin-left:18px;margin-right:18px}
.blog-display-main>.blog-index>.blog-summary>p:last-child{margin-top:auto;padding-top:14px}
@media(max-width:900px){.blog-display-main>.blog-index{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.blog-display-main>.blog-index{grid-template-columns:minmax(0,1fr)}}
