/*
Theme Name: Beauty Magazine
Theme URI: https://beautymagazine.example
Description: Allure-inspired Blocksy child theme for a Kosovo beauty magazine. Magazine-style editorial layout with utility bar, centered serif wordmark, uppercase nav row, In-the-News ticker, hero, The Latest river, category rails, shopping, newsletter, video, and mega footer.
Author: Beauty Magazine
Template: blocksy
Version: 2.0.0
Text Domain: beauty-magazine
*/

/* ============================================================
   1. TOKENS
   ============================================================ */
:root {
    /* Brand (kept from v1 so existing pages still work) */
    --bm-violet:        #7B3FA0;
    --bm-violet-deep:   #4E2370;
    --bm-pink:          #E56BA1;
    --bm-pink-soft:     #F6C6D8;
    --bm-nude:          #F3E4D7;
    --bm-nude-deep:     #D9B9A0;

    /* Editorial palette (Allure-style) */
    --bm-ink:           #0A0A0A;
    --bm-ink-soft:      #1C1420;
    --bm-muted:         #666;
    --bm-mute-soft:     #8A8A8A;
    --bm-red:           #D62B3E;   /* kicker/accent red */
    --bm-red-hover:     #A61E2D;
    --bm-bg:            #FFFFFF;
    --bm-bg-alt:        #FBF7F2;   /* cream */
    --bm-bg-cream:      #F5EEE5;
    --bm-border:        #E8E1D9;
    --bm-rule:          #DCD4C8;

    --bm-font-display:  "Playfair Display", "Canela", Georgia, serif;
    --bm-font-body:     "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

    --bm-shadow:        0 8px 28px rgba(0,0,0,0.08);
    --bm-max:           1280px;
    --bm-gutter:        20px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.bm-site {
    margin: 0;
    background: var(--bm-bg);
    color: var(--bm-ink);
    font-family: var(--bm-font-body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6,
.entry-title, .widget-title {
    font-family: var(--bm-font-display);
    color: var(--bm-ink);
    letter-spacing: -0.01em;
    margin: 0;
}

a { color: var(--bm-ink); text-decoration: none; }
a:hover { color: var(--bm-red); }

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

.bm-skip {
    position: absolute;
    left: -9999px;
    top: 0;
}
.bm-skip:focus {
    left: 1rem;
    top: 1rem;
    background: #000;
    color: #fff;
    padding: 8px 12px;
    z-index: 9999;
}

/* ============================================================
   2. HIDE BLOCKSY PARENT HEADER/FOOTER (we render our own)
   ============================================================ */
body.bm-site > header.ct-header,
body.bm-site > #header,
body.bm-site > footer.ct-footer,
body.bm-site > #footer {
    display: none !important;
}

/* ============================================================
   3. HEADER
   ============================================================ */
.bm-header {
    background: #fff;
    position: relative;
    z-index: 50;
    border-bottom: 1px solid var(--bm-border);
}

/* Utility strip */
.bm-utility {
    background: #0A0A0A;
    color: #fff;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.bm-utility__inner {
    max-width: var(--bm-max);
    margin: 0 auto;
    padding: 8px var(--bm-gutter);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.bm-utility__date {
    color: rgba(255,255,255,0.65);
    font-family: var(--bm-font-display);
    text-transform: none;
    letter-spacing: 0;
    font-style: italic;
    font-size: 13px;
}
.bm-utility__links {
    list-style: none;
    margin: 0; padding: 0;
    display: flex;
    gap: 22px;
}
.bm-utility__links a {
    color: rgba(255,255,255,0.85);
    font-weight: 600;
}
.bm-utility__links a:hover { color: var(--bm-pink); }
.bm-utility__cta {
    background: var(--bm-red);
    color: #fff !important;
    padding: 6px 14px;
    border-radius: 2px;
    letter-spacing: 0.14em;
}
.bm-utility__cta:hover { background: var(--bm-red-hover); color: #fff !important; }

/* Masthead (logo row) */
.bm-masthead {
    border-bottom: 1px solid var(--bm-border);
}
.bm-masthead__inner {
    max-width: var(--bm-max);
    margin: 0 auto;
    padding: 18px var(--bm-gutter);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
}
.bm-masthead__tools {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}
.bm-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: transparent;
    border: 0;
    color: var(--bm-ink);
    cursor: pointer;
    border-radius: 2px;
}
.bm-icon-btn:hover { background: var(--bm-bg-alt); color: var(--bm-red); }

.bm-brand {
    text-align: center;
    color: var(--bm-ink);
    display: block;
}
.bm-brand:hover { color: var(--bm-ink); }
.bm-brand__wordmark {
    display: block;
    font-family: var(--bm-font-display);
    font-weight: 700;
    font-size: clamp(38px, 6vw, 64px);
    line-height: 1;
    letter-spacing: -0.02em;
}
.bm-brand__tag {
    display: block;
    font-size: 10px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--bm-muted);
    margin-top: 8px;
}

/* Nav row */
.bm-nav {
    border-bottom: 1px solid var(--bm-border);
    background: #fff;
}
.bm-nav__inner {
    max-width: var(--bm-max);
    margin: 0 auto;
    padding: 0 var(--bm-gutter);
    overflow-x: auto;
    scrollbar-width: none;
}
.bm-nav__inner::-webkit-scrollbar { display: none; }
.bm-nav__list {
    list-style: none;
    margin: 0; padding: 0;
    display: flex;
    justify-content: center;
    gap: 4px;
    white-space: nowrap;
}
.bm-nav__list > li > a,
.bm-nav__list > li.menu-item > a {
    display: inline-block;
    padding: 14px 14px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 11px;
    font-weight: 700;
    color: var(--bm-ink);
    position: relative;
}
.bm-nav__list > li > a:hover { color: var(--bm-red); }
.bm-nav__list > li.current-menu-item > a,
.bm-nav__list > li.current_page_item > a,
.bm-nav__list > li.current-cat > a {
    color: var(--bm-red);
}
.bm-nav__list > li.current-menu-item > a::after,
.bm-nav__list > li.current_page_item > a::after {
    content: "";
    position: absolute;
    left: 14px; right: 14px; bottom: 0;
    height: 2px;
    background: var(--bm-red);
}
.bm-nav__list li.menu-bfk > a {
    color: var(--bm-red) !important;
    font-weight: 800;
}

/* Sticky masthead behaviour (subtle) */
.bm-header.is-sticky .bm-utility { display: none; }
.bm-header.is-sticky {
    position: sticky;
    top: 0;
    box-shadow: 0 1px 0 var(--bm-border);
}

/* Search */
.bm-search {
    border-bottom: 1px solid var(--bm-border);
    background: #fff;
    padding: 18px var(--bm-gutter);
}
.bm-search__form {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    gap: 8px;
}
.bm-search__form input[type=search] {
    flex: 1;
    padding: 12px 14px;
    border: 1px solid var(--bm-border);
    font-family: var(--bm-font-body);
    font-size: 15px;
    border-radius: 2px;
}
.bm-search__form button {
    padding: 12px 22px;
    border: 0;
    background: var(--bm-ink);
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    border-radius: 2px;
}

/* Drawer */
.bm-drawer {
    position: fixed;
    top: 0; left: 0; bottom: 0;
    width: min(340px, 86vw);
    background: #fff;
    z-index: 200;
    padding: 24px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
}
.bm-drawer.is-open { transform: translateX(0); }
.bm-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--bm-border);
    margin-bottom: 12px;
}
.bm-drawer__title {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 12px;
    font-weight: 700;
}
.bm-drawer__close { font-size: 28px; line-height: 1; }
.bm-drawer__list,
.bm-drawer ul {
    list-style: none;
    margin: 0; padding: 0;
}
.bm-drawer__list li a,
.bm-drawer ul li a {
    display: block;
    padding: 12px 0;
    font-family: var(--bm-font-display);
    font-size: 22px;
    font-weight: 600;
    color: var(--bm-ink);
    border-bottom: 1px solid var(--bm-border);
}
.bm-drawer__list li a:hover { color: var(--bm-red); }
.bm-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(10,10,10,0.5);
    z-index: 150;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.bm-drawer-backdrop.is-open { opacity: 1; }

/* ============================================================
   4. LAYOUT
   ============================================================ */
.bm-main { display: block; }

.bm-wrap {
    max-width: var(--bm-max);
    margin: 0 auto;
    padding: 0 var(--bm-gutter);
}

.bm-section {
    padding: 48px 0;
}
.bm-section + .bm-section {
    border-top: 1px solid var(--bm-border);
}

/* Editorial section label — italic serif, centered, flanked by rules */
.bm-sec-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin: 0 0 28px;
    font-family: var(--bm-font-display);
    font-style: italic;
    font-size: 22px;
    color: var(--bm-ink);
    font-weight: 500;
}
.bm-sec-label::before,
.bm-sec-label::after {
    content: "";
    flex: 0 0 48px;
    height: 1px;
    background: var(--bm-ink);
}

/* Section heading (bold display, with rule + see all link) */
.bm-sec-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 24px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--bm-ink);
}
.bm-sec-head__title {
    font-family: var(--bm-font-display);
    font-size: clamp(26px, 3.5vw, 40px);
    font-weight: 700;
    line-height: 1;
}
.bm-sec-head__link {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--bm-ink);
    white-space: nowrap;
}
.bm-sec-head__link:hover { color: var(--bm-red); }

/* Kicker */
.bm-kicker {
    display: inline-block;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--bm-red);
    margin-bottom: 8px;
}
.bm-kicker--light { color: #ffb3be; }

/* Byline */
.bm-byline {
    font-size: 11.5px;
    letter-spacing: 0.04em;
    color: var(--bm-muted);
    text-transform: uppercase;
}
.bm-byline em { font-style: italic; color: var(--bm-ink); text-transform: none; }
.bm-byline a { color: var(--bm-ink); }
.bm-byline a:hover { color: var(--bm-red); }

/* ============================================================
   5. IN THE NEWS STRIP
   ============================================================ */
.bm-news-strip {
    padding: 34px 0 40px;
    border-bottom: 1px solid var(--bm-border);
}
.bm-news-strip__heading {
    text-align: center;
    font-family: var(--bm-font-display);
    font-style: italic;
    font-size: 22px;
    margin: 0 0 24px;
    color: var(--bm-ink);
    font-weight: 500;
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: center;
    max-width: var(--bm-max);
    margin-left: auto; margin-right: auto;
    padding: 0 var(--bm-gutter);
}
.bm-news-strip__heading::before,
.bm-news-strip__heading::after {
    content: "";
    height: 1px;
    background: var(--bm-ink);
    flex: 1;
    max-width: 240px;
}
.bm-news-strip__grid {
    max-width: var(--bm-max);
    margin: 0 auto;
    padding: 0 var(--bm-gutter);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.bm-news-strip__item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 16px;
    align-items: flex-start;
}
.bm-news-strip__item img {
    width: 120px;
    height: 90px;
    object-fit: cover;
    border-radius: 2px;
}
.bm-news-strip__cat {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 10px;
    color: var(--bm-red);
    font-weight: 800;
    margin-bottom: 6px;
}
.bm-news-strip__title {
    font-family: var(--bm-font-display);
    font-size: 16px;
    line-height: 1.3;
    margin: 0 0 6px;
    font-weight: 600;
}
.bm-news-strip__byline { font-size: 11px; color: var(--bm-muted); }

@media (max-width: 900px) {
    .bm-news-strip__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   6. HERO
   ============================================================ */
.bm-hero {
    padding: 48px 0 56px;
}
.bm-hero__inner {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 var(--bm-gutter);
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 48px;
    align-items: center;
}
.bm-hero__media {
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--bm-bg-alt);
}
.bm-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.bm-hero__media:hover img { transform: scale(1.03); }
.bm-hero__body .bm-kicker { margin-bottom: 12px; }
.bm-hero__title {
    font-size: clamp(32px, 4.5vw, 56px);
    line-height: 1.05;
    font-weight: 700;
    margin: 0 0 18px;
}
.bm-hero__title a { color: var(--bm-ink); }
.bm-hero__title a:hover { color: var(--bm-red); }
.bm-hero__dek {
    font-size: 17px;
    line-height: 1.5;
    color: var(--bm-muted);
    margin: 0 0 18px;
    max-width: 48ch;
}
@media (max-width: 860px) {
    .bm-hero__inner { grid-template-columns: 1fr; gap: 24px; }
    .bm-hero__body { text-align: center; }
    .bm-hero__dek { margin-left: auto; margin-right: auto; }
}

/* ============================================================
   7. THE LATEST — 3 column river
   ============================================================ */
.bm-latest-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 28px;
}
.bm-article {
    display: flex;
    flex-direction: column;
}
.bm-article__media {
    aspect-ratio: 3/2;
    overflow: hidden;
    margin-bottom: 14px;
    background: var(--bm-bg-alt);
}
.bm-article__media img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.bm-article:hover .bm-article__media img { transform: scale(1.04); }
.bm-article__title {
    font-family: var(--bm-font-display);
    font-size: 22px;
    line-height: 1.22;
    font-weight: 600;
    margin: 6px 0 10px;
}
.bm-article__title a { color: var(--bm-ink); }
.bm-article__title a:hover { color: var(--bm-red); }
.bm-article__dek {
    font-size: 14px;
    line-height: 1.5;
    color: var(--bm-muted);
    margin: 0 0 10px;
}
@media (max-width: 860px) {
    .bm-latest-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
}
@media (max-width: 560px) {
    .bm-latest-grid { grid-template-columns: 1fr; }
}

/* Category rail (4 up) */
.bm-rail {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px 22px;
}
.bm-rail .bm-article__title { font-size: 18px; }
@media (max-width: 1000px) {
    .bm-rail { grid-template-columns: repeat(2, 1fr); gap: 24px 18px; }
}
@media (max-width: 560px) {
    .bm-rail { grid-template-columns: 1fr; }
}

/* Legacy card class kept for back-compat */
.bm-grid {
    display: grid;
    gap: 32px;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.bm-card {
    background: #fff;
    border: 0;
    border-radius: 0;
    overflow: hidden;
    transition: transform 0.25s ease;
}
.bm-card:hover { transform: translateY(-2px); }
.bm-card__media img {
    width: 100%;
    aspect-ratio: 3/2;
    object-fit: cover;
}
.bm-card__body { padding: 14px 0 0; }
.bm-card__cat {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 10.5px;
    color: var(--bm-red);
    font-weight: 800;
}
.bm-card__title {
    font-size: 20px;
    line-height: 1.22;
    margin: 8px 0 0;
    font-weight: 600;
    font-family: var(--bm-font-display);
}
.bm-card__title a { color: var(--bm-ink); }
.bm-card__title a:hover { color: var(--bm-red); }

/* ============================================================
   8. TRENDING — numbered list
   ============================================================ */
.bm-trending {
    background: var(--bm-bg-alt);
    padding: 48px 0;
    border-top: 1px solid var(--bm-border);
    border-bottom: 1px solid var(--bm-border);
}
.bm-trending__list {
    max-width: var(--bm-max);
    margin: 0 auto;
    padding: 0 var(--bm-gutter);
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    list-style: none;
}
.bm-trending__item {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 12px;
    align-items: flex-start;
}
.bm-trending__num {
    font-family: var(--bm-font-display);
    font-size: 44px;
    line-height: 0.9;
    color: var(--bm-red);
    font-weight: 700;
}
.bm-trending__title {
    font-family: var(--bm-font-display);
    font-size: 15px;
    line-height: 1.3;
    margin: 0;
    font-weight: 600;
}
.bm-trending__title a { color: var(--bm-ink); }
.bm-trending__title a:hover { color: var(--bm-red); }
@media (max-width: 1000px) {
    .bm-trending__list { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   9. SHOPPING RAIL
   ============================================================ */
.bm-shop {
    padding: 48px 0;
}
.bm-shop__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px 22px;
}
.bm-product {
    text-align: center;
}
.bm-product__media {
    background: var(--bm-bg-alt);
    aspect-ratio: 1/1;
    overflow: hidden;
    margin-bottom: 14px;
}
.bm-product__media img {
    width: 100%; height: 100%;
    object-fit: cover;
    mix-blend-mode: multiply;
}
.bm-product__brand {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 10px;
    color: var(--bm-muted);
    margin-bottom: 6px;
}
.bm-product__title {
    font-family: var(--bm-font-display);
    font-size: 16px;
    line-height: 1.3;
    font-weight: 600;
    margin: 0 0 8px;
}
.bm-product__price {
    font-weight: 700;
    font-size: 14px;
    color: var(--bm-ink);
}
.bm-product__cta {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    border: 1px solid var(--bm-ink);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--bm-ink);
    background: transparent;
    transition: all 0.2s ease;
}
.bm-product__cta:hover {
    background: var(--bm-ink);
    color: #fff;
}
@media (max-width: 900px) {
    .bm-shop__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   10. NEWSLETTER
   ============================================================ */
.bm-newsletter {
    background: var(--bm-bg-cream);
    padding: 64px 20px;
    text-align: center;
    border-top: 1px solid var(--bm-border);
    border-bottom: 1px solid var(--bm-border);
}
.bm-newsletter__inner { max-width: 640px; margin: 0 auto; }
.bm-newsletter__kicker {
    text-transform: uppercase;
    letter-spacing: 0.24em;
    font-size: 11px;
    font-weight: 700;
    color: var(--bm-red);
    margin-bottom: 12px;
}
.bm-newsletter__title {
    font-family: var(--bm-font-display);
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.1;
    margin: 0 0 14px;
    font-weight: 700;
}
.bm-newsletter__dek {
    font-size: 16px;
    color: var(--bm-muted);
    margin: 0 0 24px;
    line-height: 1.55;
}
.bm-newsletter__form {
    display: flex;
    gap: 0;
    max-width: 480px;
    margin: 0 auto 10px;
    border: 1px solid var(--bm-ink);
    background: #fff;
}
.bm-newsletter__form input[type=email] {
    flex: 1;
    padding: 14px 16px;
    border: 0;
    font-family: var(--bm-font-body);
    font-size: 15px;
    background: transparent;
    outline: none;
}
.bm-newsletter__form button {
    padding: 14px 26px;
    border: 0;
    background: var(--bm-ink);
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
}
.bm-newsletter__form button:hover { background: var(--bm-red); }
.bm-newsletter__fineprint {
    font-size: 11px;
    color: var(--bm-muted);
    max-width: 520px;
    margin: 10px auto 0;
    line-height: 1.45;
}
.bm-newsletter__success {
    color: #27613A;
    font-weight: 600;
    margin-top: 10px;
}

/* ============================================================
   11. VIDEO
   ============================================================ */
.bm-video {
    padding: 48px 0;
    background: #0A0A0A;
    color: #fff;
}
.bm-video .bm-sec-head { border-bottom-color: #fff; }
.bm-video .bm-sec-head__title,
.bm-video .bm-sec-head__link { color: #fff; }
.bm-video__grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 28px;
}
.bm-video__main,
.bm-video__side { display: flex; flex-direction: column; gap: 18px; }
.bm-video__card {
    display: block;
    color: #fff;
}
.bm-video__card--hero .bm-video__media { aspect-ratio: 16/9; }
.bm-video__media {
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #222;
    position: relative;
}
.bm-video__media img { width: 100%; height: 100%; object-fit: cover; }
.bm-video__media::after {
    content: "▶";
    position: absolute;
    left: 50%; top: 50%;
    transform: translate(-50%,-50%);
    width: 56px; height: 56px;
    border-radius: 50%;
    background: rgba(255,255,255,0.85);
    color: var(--bm-ink);
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
    transition: transform 0.2s ease;
}
.bm-video__media:hover::after { transform: translate(-50%,-50%) scale(1.08); }
.bm-video__kicker {
    color: #ffb3be;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-top: 10px;
}
.bm-video__title {
    font-family: var(--bm-font-display);
    font-size: 22px;
    line-height: 1.22;
    margin: 6px 0 0;
    font-weight: 600;
}
.bm-video__card--side .bm-video__title { font-size: 16px; }
.bm-video__card--side { display: grid; grid-template-columns: 160px 1fr; gap: 14px; align-items: flex-start; }
.bm-video__card--side .bm-video__media { width: 160px; aspect-ratio: 16/9; }
@media (max-width: 900px) {
    .bm-video__grid { grid-template-columns: 1fr; }
    .bm-video__card--side { grid-template-columns: 1fr; }
    .bm-video__card--side .bm-video__media { width: 100%; }
}

/* ============================================================
   12. BFK CTA BANNER
   ============================================================ */
.bm-bfk-banner {
    background: linear-gradient(135deg, var(--bm-violet-deep), var(--bm-pink));
    padding: 48px 20px;
    text-align: center;
    color: #fff;
}
.bm-bfk-banner__kicker {
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 11px;
    margin-bottom: 12px;
    opacity: 0.9;
}
.bm-bfk-banner__title {
    font-family: var(--bm-font-display);
    font-size: clamp(30px, 4.5vw, 54px);
    margin: 0 0 14px;
    color: #fff;
    font-weight: 700;
    line-height: 1.05;
}
.bm-bfk-banner__p { font-size: 16px; opacity: 0.95; max-width: 620px; margin: 0 auto 22px; }
.bm-bfk-banner__cta {
    display: inline-block;
    padding: 14px 32px;
    background: #fff;
    color: var(--bm-violet-deep);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 11.5px;
    font-weight: 800;
    border-radius: 2px;
}
.bm-bfk-banner__cta:hover { background: var(--bm-ink); color: #fff; }

/* ============================================================
   13. ADS
   ============================================================ */
.bm-ad {
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--bm-bg-alt);
    border-top: 1px solid var(--bm-border);
    border-bottom: 1px solid var(--bm-border);
    color: var(--bm-muted);
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: 0.24em;
    padding: 24px;
    margin: 32px auto;
    max-width: 970px;
    min-height: 90px;
}
.bm-ad::before { content: "Advertisement"; opacity: 0.6; }
.bm-ad:not(:empty)::before { content: ""; }
.bm-ad--leaderboard { min-height: 90px; }
.bm-ad--square { max-width: 300px; min-height: 250px; }
.bm-ad--inarticle { margin: 48px auto; }

.bm-ad-label {
    display: block;
    text-align: center;
    font-size: 9px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--bm-mute-soft);
    margin: 10px auto 6px;
}

/* ============================================================
   14. SINGLE POST
   ============================================================ */
.single .entry-title {
    font-size: clamp(32px, 4.5vw, 56px);
    line-height: 1.08;
    max-width: 880px;
    margin: 0 auto 16px;
    text-align: center;
    padding: 0 20px;
}
.single .entry-header {
    padding: 56px 0 32px;
    text-align: center;
    border-bottom: 1px solid var(--bm-border);
}
.entry-content {
    font-size: 19px;
    line-height: 1.75;
    max-width: 720px;
    margin: 40px auto 0;
    padding: 0 20px;
}
.entry-content p { margin-bottom: 1.4em; }
.entry-content h2 {
    font-size: 30px;
    margin: 1.6em 0 0.5em;
    font-weight: 700;
}
.entry-content h3 { font-size: 22px; margin: 1.4em 0 0.4em; font-weight: 600; }
.entry-content img { margin: 1.6em auto; }
.entry-content blockquote {
    border-left: 3px solid var(--bm-red);
    padding: 4px 0 4px 22px;
    margin: 1.6em 0;
    font-family: var(--bm-font-display);
    font-style: italic;
    font-size: 24px;
    line-height: 1.4;
    color: var(--bm-ink);
}

/* ============================================================
   14b. POST VIDEO (featured + embedded blocks)
   ============================================================ */
.bm-post-video {
    max-width: 960px;
    margin: 0 auto 32px;
    padding: 0 20px;
}
.bm-post-video iframe,
.bm-post-video video,
.bm-post-video embed,
.bm-post-video object {
    width: 100%;
    aspect-ratio: 16/9;
    height: auto;
    display: block;
    background: #000;
    border: 0;
}

/* Gutenberg video/embed blocks inside article body */
.entry-content .wp-block-video video,
.entry-content .wp-block-embed iframe {
    width: 100%;
    aspect-ratio: 16/9;
    height: auto;
    display: block;
}
.entry-content figure.wp-block-video,
.entry-content figure.wp-block-embed {
    margin: 1.6em 0;
}

/* Play badge overlay on article cards that have a featured video */
.bm-article__media,
.bm-card__media,
.bm-news-strip__item a,
.bm-hero__media {
    position: relative;
}
.bm-play-badge {
    position: absolute;
    left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    width: 48px; height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    color: var(--bm-ink);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    padding-left: 3px;
    pointer-events: none;
    box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}
.bm-news-strip__item .bm-play-badge { width: 32px; height: 32px; font-size: 10px; }

/* ============================================================
   15. BEAUTY FAIR KOSOVA
   ============================================================ */
.bfk-hero {
    position: relative;
    padding: 120px 20px;
    text-align: center;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(78,35,112,0.85), rgba(229,107,161,0.75)),
        url('https://images.unsplash.com/photo-1522337360788-8b13dee7a37e?w=1600') center/cover;
}
.bfk-hero__eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 12px;
    opacity: 0.9;
}
.bfk-hero__title {
    font-family: var(--bm-font-display);
    font-size: clamp(40px, 6vw, 88px);
    line-height: 1;
    margin: 16px 0;
    color: #fff;
}
.bfk-hero__sub {
    font-size: 18px;
    opacity: 0.95;
    max-width: 640px;
    margin: 0 auto;
}
.bfk-section { padding: 64px 20px; max-width: 1200px; margin: 0 auto; }
.bfk-layout {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 20px;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 48px;
    align-items: flex-start;
}
.bfk-aside { position: sticky; top: 24px; }
.bfk-aside .bm-ad-widget { margin-bottom: 24px; }
@media (max-width: 960px) {
    .bfk-layout { grid-template-columns: 1fr; }
    .bfk-aside { position: static; }
}
.bfk-section__title { font-size: 36px; margin-bottom: 8px; }
.bfk-section__kicker {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 12px;
    color: var(--bm-violet);
    font-weight: 700;
    margin-bottom: 6px;
}
.bfk-edition {
    background: var(--bm-nude);
    padding: 12px 24px;
    border-radius: 999px;
    display: inline-block;
    font-weight: 600;
    color: var(--bm-violet-deep);
    margin-bottom: 32px;
}

/* ============================================================
   16. FOOTER
   ============================================================ */
.bm-footer {
    background: #0A0A0A;
    color: #D9D3CB;
    padding: 56px 0 24px;
}
.bm-footer a { color: #D9D3CB; }
.bm-footer a:hover { color: #fff; }

.bm-footer__brandbar {
    max-width: var(--bm-max);
    margin: 0 auto 40px;
    padding: 0 var(--bm-gutter);
    text-align: center;
    border-bottom: 1px solid #2A2A2A;
    padding-bottom: 32px;
}
.bm-footer__brand {
    font-family: var(--bm-font-display);
    font-size: 48px;
    font-weight: 700;
    color: #fff !important;
    letter-spacing: -0.02em;
    text-transform: lowercase;
}
.bm-footer__tag {
    font-size: 11px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: #8A8378;
    margin: 10px 0 0;
}

.bm-footer__grid {
    max-width: var(--bm-max);
    margin: 0 auto;
    padding: 0 var(--bm-gutter);
    display: grid;
    grid-template-columns: repeat(4, 1fr) 1.4fr;
    gap: 32px;
}
.bm-footer__col ul { list-style: none; padding: 0; margin: 0; }
.bm-footer__col li { margin-bottom: 10px; font-size: 13px; }
.bm-footer__heading {
    font-family: var(--bm-font-body);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: #fff;
    margin: 0 0 16px;
}
.bm-footer__p { font-size: 13px; margin: 0 0 14px; color: #B5AEA3; line-height: 1.5; }

.bm-footer__col--wide .bm-newsletter__form {
    border-color: #fff;
    background: #1A1A1A;
    margin: 0 0 18px;
}
.bm-footer__col--wide .bm-newsletter__form input[type=email] {
    color: #fff;
}
.bm-footer__col--wide .bm-newsletter__form input[type=email]::placeholder { color: #888; }
.bm-footer__col--wide .bm-newsletter__form button {
    background: #fff;
    color: #0A0A0A;
}
.bm-footer__col--wide .bm-newsletter__form button:hover { background: var(--bm-red); color: #fff; }

.bm-footer__social {
    display: flex;
    gap: 14px;
    margin-top: 8px;
}
.bm-footer__social a {
    width: 36px; height: 36px;
    border: 1px solid #3A3A3A;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #D9D3CB;
}
.bm-footer__social a:hover { background: #fff; color: #0A0A0A; border-color: #fff; }

.bm-footer__bottom {
    max-width: var(--bm-max);
    margin: 40px auto 0;
    padding: 24px var(--bm-gutter) 0;
    border-top: 1px solid #2A2A2A;
    font-size: 11px;
    color: #8A8378;
    text-align: center;
}
.bm-footer__fineprint { max-width: 780px; margin: 8px auto 0; line-height: 1.5; }

@media (max-width: 900px) {
    .bm-footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .bm-footer__col--wide { grid-column: 1 / -1; }
}

/* ============================================================
   17. UTILITIES
   ============================================================ */
.bm-hidden { display: none !important; }
.bm-center { text-align: center; }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; animation: none !important; }
}

/* ============================================================
   18. CATEGORY / ARCHIVE
   ============================================================ */
.bm-archive-header {
    padding: 48px 0 24px;
    text-align: center;
    border-bottom: 1px solid var(--bm-border);
}
.bm-archive-header .bm-kicker { margin-bottom: 10px; }
.bm-archive-header__title {
    font-family: var(--bm-font-display);
    font-size: clamp(36px, 6vw, 72px);
    line-height: 1.02;
    font-weight: 700;
    margin: 0 0 12px;
    letter-spacing: -0.01em;
}
.bm-archive-header__dek {
    font-size: clamp(15px, 1.6vw, 18px);
    line-height: 1.55;
    color: var(--bm-muted);
    max-width: 60ch;
    margin: 0 auto;
}
.bm-archive-lead { padding-top: 32px; }

.bm-pagination {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--bm-border);
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 700;
}
.bm-pagination a,
.bm-pagination span {
    display: inline-block;
    padding: 10px 14px;
    min-width: 40px;
    text-align: center;
    border: 1px solid var(--bm-border);
    color: var(--bm-ink);
}
.bm-pagination a:hover { background: var(--bm-ink); color: #fff; border-color: var(--bm-ink); }
.bm-pagination .current { background: var(--bm-ink); color: #fff; border-color: var(--bm-ink); }
.bm-pagination .dots { border-color: transparent; }

.bm-archive-empty { text-align: center; padding: 32px 0; }
.bm-archive-empty .bm-product__cta { margin-top: 16px; }

/* ============================================================
   18b. CONTACT FORM
   ============================================================ */
.bm-contact {
    max-width: 640px;
    margin: 0 auto;
    padding: 0 var(--bm-gutter);
}
.bm-contact__alert {
    padding: 14px 16px;
    margin-bottom: 20px;
    border-left: 3px solid;
    font-size: 14px;
    line-height: 1.5;
}
.bm-contact__alert--ok  { background: #EEF7F0; border-color: #27613A; color: #1F4A2C; }
.bm-contact__alert--err { background: #FBEEEF; border-color: var(--bm-red); color: #7A1A25; }

.bm-contact__form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.bm-contact__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.bm-contact__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.bm-contact__label {
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--bm-ink);
}
.bm-contact__form input[type=text],
.bm-contact__form input[type=email],
.bm-contact__form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--bm-border);
    background: #fff;
    font-family: var(--bm-font-body);
    font-size: 15px;
    color: var(--bm-ink);
    border-radius: 2px;
    outline: none;
    transition: border-color 0.2s ease;
}
.bm-contact__form input:focus,
.bm-contact__form textarea:focus {
    border-color: var(--bm-ink);
}
.bm-contact__form textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.55;
}
.bm-contact__hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.bm-contact__submit {
    align-self: flex-start;
    padding: 14px 30px;
    border: 0;
    background: var(--bm-ink);
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 11.5px;
    font-weight: 800;
    cursor: pointer;
    border-radius: 2px;
    transition: background 0.2s ease;
}
.bm-contact__submit:hover { background: var(--bm-red); }
.bm-contact__fineprint {
    font-size: 12px;
    color: var(--bm-muted);
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 600px) {
    .bm-contact__row { grid-template-columns: 1fr; gap: 18px; }
    .bm-contact__submit { align-self: stretch; text-align: center; }
}

/* ============================================================
   19. RESPONSIVE REFINEMENTS (global)
   Focused fills for gaps at small/medium widths — bigger breakpoints
   still come from the section-specific rules above.
   ============================================================ */

/* Tablet-ish: ≤ 768px */
@media (max-width: 768px) {
    :root { --bm-gutter: 16px; }

    .bm-section { padding: 36px 0; }

    /* Header: compress paddings so masthead breathes */
    .bm-masthead__inner { padding: 14px var(--bm-gutter); gap: 8px; }
    .bm-icon-btn { width: 40px; height: 40px; } /* bigger tap target */

    /* Utility strip: tuck links closer, smaller date */
    .bm-utility__inner { gap: 10px; padding: 6px var(--bm-gutter); }
    .bm-utility__links { gap: 14px; }
    .bm-utility__date { font-size: 12px; }

    /* Nav row: tighter padding for horizontal scroll experience */
    .bm-nav__list > li > a,
    .bm-nav__list > li.menu-item > a { padding: 12px 10px; font-size: 10.5px; letter-spacing: 0.14em; }

    /* Section heads wrap cleanly */
    .bm-sec-head { flex-wrap: wrap; gap: 8px 16px; }
    .bm-sec-head__title { font-size: clamp(22px, 5.5vw, 32px); }

    /* News strip: image smaller so title has room */
    .bm-news-strip__item { grid-template-columns: 96px 1fr; gap: 12px; }
    .bm-news-strip__item img { width: 96px; height: 72px; }

    /* Hero already stacks at 860px; keep body left-aligned on phones */
    .bm-hero { padding: 32px 0 40px; }

    /* Trending numbered list cramps at 2-col on small tablets */
    .bm-trending { padding: 36px 0; }
    .bm-trending__num { font-size: 36px; }

    /* Single post content: tighter leading for smaller screens */
    .single .entry-header { padding: 40px 0 24px; }
    .entry-content { font-size: 17px; margin-top: 28px; }
    .entry-content h2 { font-size: 26px; }
    .entry-content h3 { font-size: 20px; }
    .entry-content blockquote { font-size: 20px; padding-left: 16px; }

    /* Archive header */
    .bm-archive-header { padding: 36px 0 20px; }

    /* Newsletter padding */
    .bm-newsletter { padding: 48px 20px; }
    .bm-newsletter__form { max-width: 100%; }

    /* Ads: remove tight min-heights on small */
    .bm-ad { padding: 16px; margin: 20px auto; }
    .bm-ad--leaderboard { min-height: 60px; }
    .bm-ad--inarticle { margin: 28px auto; }
}

/* Phone: ≤ 600px */
@media (max-width: 600px) {
    /* Utility strip: hide date (nice-to-have, not critical) to stop overflow */
    .bm-utility__date { display: none; }
    .bm-utility__inner { justify-content: center; }

    /* Section labels smaller + tighter rules */
    .bm-sec-label { font-size: 18px; gap: 12px; }
    .bm-sec-label::before, .bm-sec-label::after { flex-basis: 24px; }

    /* News strip heading rules shrink */
    .bm-news-strip__heading { font-size: 18px; gap: 10px; }
    .bm-news-strip__heading::before,
    .bm-news-strip__heading::after { max-width: 80px; }

    /* Trending: 1 column on phones */
    .bm-trending__list { grid-template-columns: 1fr; gap: 18px; }

    /* Shopping: 1 column on very small */
    .bm-shop__grid { grid-template-columns: 1fr; gap: 24px; }
    .bm-product__media { max-width: 360px; margin-left: auto; margin-right: auto; }

    /* Footer: single column on phones */
    .bm-footer { padding: 40px 0 20px; }
    .bm-footer__grid { grid-template-columns: 1fr; gap: 28px; }
    .bm-footer__brand { font-size: 38px; }
    .bm-footer__brandbar { margin-bottom: 28px; padding-bottom: 24px; }

    /* Newsletter form stacks */
    .bm-newsletter__form { flex-direction: column; border: 0; background: transparent; }
    .bm-newsletter__form input[type=email] {
        border: 1px solid var(--bm-ink);
        background: #fff;
        padding: 14px 16px;
    }
    .bm-newsletter__form button {
        margin-top: 8px;
        padding: 14px 20px;
    }
    .bm-footer__col--wide .bm-newsletter__form input[type=email] {
        background: #1A1A1A;
        border-color: #3A3A3A;
    }

    /* Search form stacks */
    .bm-search { padding: 14px var(--bm-gutter); }
    .bm-search__form { flex-direction: column; }
    .bm-search__form button { padding: 12px; }

    /* Drawer links a touch smaller */
    .bm-drawer__list li a, .bm-drawer ul li a { font-size: 20px; padding: 10px 0; }

    /* Hero on phones */
    .bm-hero { padding: 24px 0 32px; }
    .bm-hero__inner { gap: 18px; }
    .bm-hero__dek { font-size: 15px; }

    /* BFK banner */
    .bm-bfk-banner { padding: 40px 18px; }
    .bm-bfk-banner__p { font-size: 15px; }

    /* Video side cards look fine after 900px rule — tidy spacing */
    .bm-video { padding: 36px 0; }
    .bm-video__grid { gap: 20px; }
    .bm-video__main, .bm-video__side { gap: 14px; }

    /* Pagination: shrink pill padding */
    .bm-pagination a, .bm-pagination span { padding: 8px 10px; min-width: 34px; font-size: 11px; }
}

/* Small phone: ≤ 400px */
@media (max-width: 400px) {
    :root { --bm-gutter: 14px; }

    /* News strip item: stack image above text for legibility */
    .bm-news-strip__item { grid-template-columns: 1fr; }
    .bm-news-strip__item img { width: 100%; height: auto; aspect-ratio: 4/3; }

    .bm-brand__wordmark { font-size: 34px; }
    .bm-brand__tag { font-size: 9px; letter-spacing: 0.24em; }

    .bm-utility { font-size: 10px; }
    .bm-utility__links { gap: 10px; }
    .bm-utility__cta { padding: 5px 10px; }

    .bm-archive-header__title { font-size: 34px; }
}

/* Prevent horizontal overflow from oversized media anywhere.
   Use overflow-x: clip (not hidden) so position:sticky on the header still works. */
.bm-main img,
.bm-main iframe,
.bm-main video { max-width: 100%; }
html, body.bm-site { overflow-x: clip; }
