/* Swan Beauty Journal × Drozy Home 01 editorial layout */
body.home .page-wrap.fullwidth,
body.home .page-wrap,
body.home #themesflat-content {
    width: 100%;
    max-width: none;
    background: #fff;
}
body.home .page-wrap.fullwidth > .tf-container { max-width: none; }
body.home #main-content { background: #fff; }
body.home .swan-magazine {
    --sm-ink: #1c1b1b;
    --sm-muted: #7a777a;
    --sm-rose: #bb7f7c;
    --sm-border: #ededed;
    width: min(100% - 64px, 1410px);
    margin: 0 auto;
    color: var(--sm-ink);
    font-family: "Manrope", "Rethink Sans", Arial, sans-serif;
    padding: 0 0 36px;
}
body.home .swan-magazine * { box-sizing: border-box; }
body.home .swan-magazine a { color: inherit; text-decoration: none; }
body.home .swan-magazine a:hover { color: var(--sm-rose); }
body.home .swan-magazine button { cursor: pointer; }
body.home .sm-section { margin: 0 0 86px; }
body.home .sm-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 32px;
}
body.home .sm-section-head h1,
body.home .sm-section-head h2 {
    font-family: "Manrope", Arial, sans-serif;
    letter-spacing: -.052em;
    font-weight: 800;
    font-size: clamp(30px, 3vw, 44px);
    line-height: 1.14;
    color: var(--sm-ink);
    margin: 9px 0 0;
}
body.home .sm-section-head h2 span { font-weight: 400; }
body.home .sm-kicker,
body.home .sm-strapline,
body.home .sm-eyebrow {
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .13em;
    text-transform: uppercase;
}
body.home .sm-kicker { color: var(--sm-rose); }
body.home .sm-section-link {
    font-size: 13px;
    font-weight: 800;
    padding: 0 0 6px;
    white-space: nowrap;
    border-bottom: 1px solid #d5d4d3;
}
body.home .sm-section-link span { margin-left: 12px; font-size: 17px; }
body.home .sm-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 10px;
    color: var(--sm-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .035em;
}
body.home .sm-meta-dot { background: #c5b9b7; border-radius: 50%; width: 4px; height: 4px; display: inline-block; flex: none; }

/* Top four-story strip from original Drozy demo */
body.home .sm-news-strip { padding-top: 33px; margin-bottom: 30px; }
body.home .sm-strapline { display: flex; align-items: center; gap: 9px; margin-bottom: 17px; color: var(--sm-ink); }
body.home .sm-stripe { width: 18px; height: 3px; background: var(--sm-rose); }
body.home .sm-news-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 24px; }
body.home .sm-news-item { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 0 12px 0 0; border-right: 1px solid var(--sm-border); }
body.home .sm-news-item:last-child { border: none; }
body.home .sm-news-image { flex: 0 0 93px; width: 93px; height: 88px; border-radius: 5px; overflow: hidden; background: #f2e9e7; }
body.home .sm-news-image img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .5s; }
body.home .sm-news-item:hover img { transform: scale(1.06); }
body.home .sm-news-copy { min-width: 0; }
body.home .sm-news-copy .sm-meta { font-size: 9px; margin-bottom: 7px; }
body.home .sm-news-copy h2 { font-size: 13px; font-weight: 800; line-height: 1.4; margin: 0; letter-spacing: -.02em; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Full-bleed-ish editorial image carousel */
body.home .sm-hero { position: relative; height: clamp(430px, 44vw, 630px); border-radius: 7px; overflow: hidden; background: #3e3535; margin-bottom: 86px; isolation: isolate; }
body.home .sm-hero-slides, body.home .sm-hero-slide { position: absolute; inset: 0; }
body.home .sm-hero-slide { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .45s ease, visibility .45s ease; }
body.home .sm-hero-slide.is-active { opacity: 1; visibility: visible; pointer-events: auto; z-index: 1; }
body.home .sm-hero-photo { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center 42%; }
body.home .sm-hero-dim { position: absolute; inset: 0; background: linear-gradient(90deg,rgba(18,15,19,.79) 0%,rgba(18,15,19,.54) 40%,rgba(18,15,19,.12) 82%),linear-gradient(0deg,rgba(14,10,15,.32),transparent 65%); }
body.home .sm-hero-content { position: absolute; z-index: 2; left: 6.4%; top: 50%; transform: translateY(-48%); width: min(670px, 69%); color: #fff; }
body.home .sm-hero-tags { display: flex; align-items: center; gap: 14px; color: #f2e6e4; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
body.home .sm-hero-category { background: #c88d84; padding: 9px 12px; border-radius: 3px; color: #fff; }
body.home .sm-hero-date { margin: 24px 0 17px; display: flex; align-items: center; gap: 10px; color: #f4edef; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
body.home .sm-hero-content h2 { font-size: clamp(32px, 4.4vw, 65px); line-height: 1.12; letter-spacing: -.06em; font-weight: 850; color: #fff; margin: 0 0 18px; max-width: 715px; }
body.home .sm-hero-content h2 a { color: #fff; }
body.home .sm-hero-content h2 a:hover { color: #fae0dd; }
body.home .sm-hero-content p { color: #f0eeee; font-size: clamp(13px, 1.2vw, 16px); line-height: 1.75; max-width: 520px; margin: 0 0 25px; }
body.home .sm-hero-button { display: inline-flex; gap: 26px; align-items: center; justify-content: space-between; background: #fff; color: #222 !important; padding: 14px 21px; border-radius: 4px; font-weight: 850; font-size: 13px; transition: background .2s, transform .2s; }
body.home .sm-hero-button:hover { background: #f6dfdc; transform: translateY(-2px); }
body.home .sm-hero-controls { position: absolute; z-index: 4; bottom: 31px; right: 38px; display: flex; align-items: center; gap: 12px; color: #fff; }
body.home .sm-hero-controls button { width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.52); color: #fff; border-radius: 100%; background: rgba(0,0,0,.2); font-size: 19px; transition: background .2s; }
body.home .sm-hero-controls button:hover { background: #fff; color: #252023; }
body.home .sm-slider-count { font-size: 11px; font-weight: 850; letter-spacing: .1em; min-width: 52px; text-align: center; }

/* Four-column Drozy magazine cards */
body.home .sm-grid { display: grid; gap: 29px; }
body.home .sm-grid-four { grid-template-columns: repeat(4, minmax(0,1fr)); }
body.home .sm-grid-three { grid-template-columns: repeat(3, minmax(0,1fr)); column-gap: 30px; row-gap: 45px; }
body.home .sm-card { min-width: 0; }
body.home .sm-card-image { width: 100%; overflow: hidden; background: #eee4e3; border-radius: 5px; aspect-ratio: 1.27; display: block; }
body.home .sm-card-image img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .55s ease; }
body.home .sm-card:hover .sm-card-image img { transform: scale(1.05); }
body.home .sm-image-fallback { display:flex;justify-content:center;align-items:center;width:100%;height:100%;color:#b48f8d;letter-spacing:.16em;font-weight:800;font-size:12px;background:linear-gradient(135deg,#f4e9e6,#e6cec9); }
body.home .sm-card-body { padding-top: 17px; }
body.home .sm-eyebrow { color: var(--sm-rose) !important; display: inline-block; margin-bottom: 9px; }
body.home .sm-card h3 { font-size: 19px; font-weight: 800; line-height: 1.45; margin: 12px 0 0; letter-spacing: -.03em; color: var(--sm-ink); }
body.home .sm-grid-three .sm-card h3 { font-size: 21px; }
body.home .sm-card .sm-meta { font-size: 10px; }

/* Editor's picks split feature */
body.home .sm-editors { padding: 6px 0 0; }
body.home .sm-editors-layout { display: grid; grid-template-columns: 1.34fr 1fr; gap: 44px; }
body.home .sm-editors-feature .sm-card { display: grid; grid-template-columns: 1.1fr .95fr; gap: 25px; align-items: center; height: 100%; }
body.home .sm-editors-feature .sm-card-image { height: 100%; min-height: 390px; aspect-ratio: auto; }
body.home .sm-editors-feature .sm-card-body { padding: 10px 0; }
body.home .sm-editors-feature .sm-card h3 { font-size: clamp(27px,2.4vw,37px); line-height: 1.23; margin-top: 13px; }
body.home .sm-card--featured p { font-size: 13px; line-height: 1.85; color: #757174; margin-top: 18px; }
body.home .sm-read-more { font-size: 13px; font-weight: 800; display: inline-flex; gap: 12px; margin-top: 6px; padding-bottom: 6px; border-bottom: 1px solid #444; }
body.home .sm-editors-list { display: flex; flex-direction: column; gap: 19px; }
body.home .sm-card--compact { display: grid; grid-template-columns: 155px minmax(0,1fr); gap: 18px; align-items: center; padding-bottom: 18px; border-bottom: 1px solid var(--sm-border); }
body.home .sm-card--compact:last-child { border-bottom: none; padding-bottom: 0; }
body.home .sm-card--compact .sm-card-image { aspect-ratio: 1.25; height: 116px; }
body.home .sm-card--compact .sm-card-body { padding: 0; }
body.home .sm-card--compact h3 { font-size: 16px; margin-top: 8px; line-height: 1.42; }
body.home .sm-card--compact .sm-eyebrow { margin-bottom: 7px; }
body.home .sm-card--compact .sm-meta { margin-top: 2px; }

/* Latest and browse by category */
body.home .sm-latest .sm-card-image { aspect-ratio: 1.56; }
body.home .sm-center-action { text-align: center; padding-top: 37px; }
body.home .sm-outline-button { border: 1px solid #201c1c; color: #211d1d; display: inline-flex; align-items: center; justify-content: space-between; gap: 35px; padding: 16px 24px; border-radius: 4px; font-size: 13px; font-weight: 850; }
body.home .sm-outline-button:hover { background:#252020;color:white !important; }
body.home .sm-topic-columns { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 34px; }
body.home .sm-topic { border-top: 3px solid #221c20; padding-top: 16px; }
body.home .sm-topic-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 21px; }
body.home .sm-topic-head h3 { font-size: 22px; font-weight: 800; letter-spacing: -.035em; margin: 0; }
body.home .sm-topic-head a { font-size: 24px; }
body.home .sm-topic .sm-card--compact { grid-template-columns: 108px 1fr; gap: 14px; padding-bottom: 18px; margin-bottom: 18px; }
body.home .sm-topic .sm-card--compact .sm-card-image { height: 88px; }
body.home .sm-topic .sm-card--compact h3 { font-size: 14px; margin-top: 5px; }
body.home .sm-topic .sm-card--compact .sm-eyebrow { display:none; }
body.home .sm-topic .sm-card--compact .sm-meta { font-size: 9px; }

/* Broad editorial CTA – inspired by demo's final banner */
body.home .sm-bottom-cta { min-height: 330px; border-radius: 6px; background: #282528; color: white; display: grid; grid-template-columns: 1.3fr .7fr; align-items: center; gap: 30px; padding: 48px 6%; overflow: hidden; position: relative; }
body.home .sm-bottom-cta .sm-kicker { color: #eac7c2; }
body.home .sm-bottom-cta h2 { color: #fff; font-size: clamp(32px, 4vw, 58px); line-height: 1.12; font-weight: 800; letter-spacing: -.05em; margin: 18px 0; }
body.home .sm-bottom-cta h2 em { font-style: normal; color: #e9aaa5; }
body.home .sm-bottom-cta p { color: #e7dbdf; margin: 0 0 23px; max-width: 500px; line-height: 1.7; }
body.home .sm-cta-decor { position: relative; color: rgba(251,242,239,.06); font-weight: 950; font-size: clamp(60px,10vw,160px); line-height: .75; letter-spacing: -.1em; transform: rotate(-10deg); user-select:none; }
body.home .sm-page-listing { padding-top: 46px; }
body.home .sm-pagination { display: flex; justify-content: center; gap: 8px; margin: 42px 0; }
body.home .sm-pagination .page-numbers { padding: 10px 14px; border: 1px solid #ddd; border-radius: 4px; }
body.home .sm-pagination .current { background: #242024; color: white; }

@media (max-width: 1200px) {
    body.home .swan-magazine { width: min(100% - 46px,1410px); }
    body.home .sm-news-grid { grid-template-columns: repeat(2,1fr); row-gap: 18px; }
    body.home .sm-news-item:nth-child(2) { border-right: none; }
    body.home .sm-grid-four { grid-template-columns: repeat(2,minmax(0,1fr)); row-gap: 33px; }
    body.home .sm-editors-layout { gap: 28px; }
    body.home .sm-editors-feature .sm-card { grid-template-columns: 1fr; }
    body.home .sm-editors-feature .sm-card-image { height: 295px; min-height: 0; }
    body.home .sm-editors-feature .sm-card h3 { font-size: 27px; }
}
@media (max-width: 800px) {
    body.home .sm-section { margin-bottom: 62px; }
    body.home .swan-magazine { width: min(100% - 32px,1410px); }
    body.home .sm-hero { height: 540px; margin-bottom: 65px; }
    body.home .sm-hero-content { left: 26px; width: calc(100% - 52px); }
    body.home .sm-hero-content h2 { font-size: clamp(29px,6vw,46px); }
    body.home .sm-hero-content p { font-size: 13px; max-width: 450px; }
    body.home .sm-hero-controls { right: 24px; bottom: 22px; }
    body.home .sm-editors-layout { grid-template-columns: 1fr; }
    body.home .sm-grid-three { grid-template-columns: repeat(2,minmax(0,1fr)); }
    body.home .sm-topic-columns { grid-template-columns: 1fr; gap: 24px; }
    body.home .sm-topic .sm-card--compact { grid-template-columns: 130px 1fr; }
    body.home .sm-bottom-cta { grid-template-columns: 1fr; }
    body.home .sm-cta-decor { display: none; }
}
@media (max-width: 540px) {
    body.home .sm-news-strip { padding-top: 18px; }
    body.home .sm-news-grid { grid-template-columns: 1fr; gap: 12px; }
    body.home .sm-news-item { border-right: 0; border-bottom: 1px solid var(--sm-border); padding: 0 0 11px; }
    body.home .sm-news-image { width: 86px; flex-basis: 86px; height: 76px; }
    body.home .sm-hero { height: 520px; }
    body.home .sm-hero-content { left: 20px; width: calc(100% - 40px); top: 46%; }
    body.home .sm-hero-tags { font-size: 9px; flex-wrap: wrap; gap: 9px; }
    body.home .sm-hero-date { font-size: 10px; margin: 17px 0 10px; }
    body.home .sm-hero-content h2 { font-size: 33px; line-height: 1.16; }
    body.home .sm-hero-content p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
    body.home .sm-hero-controls { right: 18px; bottom: 14px; }
    body.home .sm-hero-controls button { width: 38px; height: 38px; }
    body.home .sm-section-head { align-items: flex-start; }
    body.home .sm-section-head h2 { font-size: 30px; }
    body.home .sm-section-link { font-size: 11px; max-width: 120px; white-space: normal; }
    body.home .sm-grid-four,.sm-grid-three { grid-template-columns: 1fr; }
    body.home .sm-grid-three { grid-template-columns: 1fr; }
    body.home .sm-card-image { aspect-ratio: 1.5; }
    body.home .sm-grid-three .sm-card h3 { font-size: 20px; }
    body.home .sm-editors-feature .sm-card-image { height: 260px; }
    body.home .sm-card--compact { grid-template-columns: 124px 1fr; }
    body.home .sm-card--compact .sm-card-image { height: 100px; }
    body.home .sm-card--compact h3 { font-size: 14px; }
    body.home .sm-bottom-cta { padding: 37px 27px; min-height: 310px; }
}
@media (prefers-reduced-motion:reduce) {
    body.home .swan-magazine *,
    body.home .swan-magazine *::before,
    body.home .swan-magazine *::after { transition: none !important; scroll-behavior: auto !important; }
}
