/* Beauty journal — magazine layout (blog). Scoped under .mag, colours follow the store's rose palette. */
.mag{--m-ink:#222;--m-text:#4a4a4a;--m-muted:#9a9a9a;--m-line:#ececec;--m-accent:#a86171;--m-accent2:#d38a98;--m-soft:#faf3f1;--m-r:8px;font-family:Montserrat,'DM Sans',Arial,sans-serif;color:var(--m-ink);background:#fff;padding:0 0 70px}
.mag *{box-sizing:border-box}
.mag a{color:inherit;text-decoration:none}
.mag img{display:block;max-width:100%}
.mag svg{flex-shrink:0}
body .mag h1,body .mag h2,body .mag h3,body .mag b{font-family:Montserrat,'DM Sans',Arial,sans-serif;letter-spacing:0}
.mag-wrap{width:min(1170px,92%);margin:0 auto}
.mag-muted{color:var(--m-muted);font-size:13px;line-height:1.6;margin:0 0 12px}

/* masthead */
.mag-mast{display:flex;align-items:center;justify-content:space-between;gap:30px;padding:26px 0 22px}
.mag-logo{display:inline-flex;align-items:flex-start;font-weight:700;font-size:30px;letter-spacing:-1px;line-height:1;color:var(--m-ink)}
.mag-logo sup{font-family:'DM Serif Display',Georgia,serif;font-style:italic;font-weight:400;font-size:15px;color:var(--m-accent);margin:-4px 0 0 4px;letter-spacing:0;transform:rotate(-6deg)}
.mag-ad{display:block;border-radius:4px;overflow:hidden}
.mag-ad img{width:100%;height:100%;object-fit:cover}
.mag-ad.is-empty{display:flex;align-items:center;justify-content:center;gap:18px;background:repeating-linear-gradient(135deg,#f6f6f6 0 14px,#f2f2f2 14px 28px);color:#c9c9c9;transition:color .2s}
.mag-ad.is-empty:hover{color:var(--m-accent)}
.mag-ad.is-empty b{display:block;font-size:20px;font-weight:700;text-transform:uppercase;letter-spacing:.5px;color:#cfcfcf}
.mag-ad.is-empty small{display:block;font-size:9px;text-transform:uppercase;letter-spacing:1.5px;color:#bdbdbd;margin-top:2px}
.mag-ad.is-empty:hover b{color:var(--m-accent)}
.mag-ad-header{width:min(728px,62%);height:90px}
.mag-ad-sidebar,.mag-ad-inline{width:100%;min-height:250px}
.mag-ad-sidebar.is-empty,.mag-ad-inline.is-empty{flex-direction:column;text-align:center;min-height:300px}
.mag-inline-ad .mag-ad-inline{min-height:90px;height:90px;flex-direction:row}
.mag-ad.is-filled{background:none}

/* nav */
.mag-nav{display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid var(--m-line);border-bottom:1px solid var(--m-line);padding:0 2px}
.mag-nav-links{display:flex;flex-wrap:wrap;gap:4px 28px}
.mag-nav-links a{position:relative;font-size:12.5px;font-weight:600;padding:17px 0;color:#333}
.mag-nav-links a:hover,.mag-nav-links a.on{color:var(--m-accent)}
.mag-nav-links a.on:after{content:'';position:absolute;left:0;right:0;bottom:-1px;height:2px;background:var(--m-accent)}
.mag-search{display:flex;align-items:center;border:1px solid var(--m-line);border-radius:30px;padding:3px 4px 3px 14px;background:#fff}
.mag-search input{border:0;outline:0;font:inherit;font-size:12px;width:170px;background:transparent}
.mag-search button{border:0;background:none;width:30px;height:30px;display:grid;place-items:center;cursor:pointer;color:#555;border-radius:50%}
.mag-search button:hover{background:var(--m-soft);color:var(--m-accent)}

/* trending ticker */
.mag-trend{display:flex;align-items:center;gap:22px;padding:15px 0 22px}
.mag-trend>b{font-style:italic;font-weight:700;font-size:15px;white-space:nowrap}
.mag-trend-items{position:relative;flex:1;height:34px;overflow:hidden}
.mag-trend-items a{position:absolute;inset:0;display:flex;align-items:center;gap:12px;font-size:12.5px;font-style:italic;color:#444;opacity:0;transform:translateY(10px);transition:opacity .4s,transform .4s;pointer-events:none}
.mag-trend-items a.on{opacity:1;transform:none;pointer-events:auto}
.mag-trend-items a:hover{color:var(--m-accent)}
.mag-trend-items a span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mag-trend-img{width:32px!important;height:32px;border-radius:50%;object-fit:cover;flex-shrink:0}
.mag-arrows{display:flex;gap:6px}
.mag-arrows button{width:30px;height:30px;border-radius:50%;border:0;background:#fff;box-shadow:0 2px 10px #0000001a;display:grid;place-items:center;cursor:pointer;color:#666}
.mag-arrows button:hover{color:var(--m-accent)}

/* overlay tiles */
.mag-tile{position:relative;display:block;overflow:hidden;border-radius:var(--m-r);background:#e9dcd8;isolation:isolate}
.mag-tile img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .6s ease;z-index:-2}
.mag-tile:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,#0000 35%,#000000b8 100%);z-index:-1}
.mag-tile:hover img{transform:scale(1.05)}
.mag-tile-body{position:absolute;left:0;right:0;bottom:0;padding:20px 22px;color:#fff;display:flex;flex-direction:column;align-items:flex-start;gap:8px}
.mag-tile-body b{font-weight:600;font-size:15px;line-height:1.35;text-shadow:0 1px 8px #0005}
.mag-tile .mag-meta{color:#ffffffd0}
.mag-tile .mag-ava{background:#ffffff30;color:#fff}
.mag-play{width:24px;height:24px;display:grid;place-items:center;color:#fff;margin-bottom:-2px}
.mag-play svg{fill:#fff}
.mag-pill{display:inline-block;font-size:10px;font-weight:600;font-style:italic;padding:3px 10px;border-radius:20px;background:#00000080;color:#fff;line-height:1.5}
.mag-hero{display:grid;grid-template-columns:1.06fr .5fr .5fr;grid-template-rows:205px 205px;gap:10px;margin-bottom:46px}
.mag-hero .t0{grid-row:1/3}
.mag-hero .t0 .mag-tile-body{padding:28px 30px}
.mag-hero .t0 b{font-size:clamp(17px,1.65vw,21px)}
.mag-hero .t3{grid-column:2/4}
.mag-hero .t3 b{font-size:16px}
.mag-hero .t1 b,.mag-hero .t2 b{font-size:13px}
.mag-hero:has(.t0:only-child){grid-template-columns:1fr}
.mag-hero:has(.t1:last-child) .t1{grid-column:2/4;grid-row:1/3}
.mag-hero:has(.t2:last-child) .t1,.mag-hero:has(.t2:last-child) .t2{grid-column:2/4}

/* section rows */
.mag-row{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:42px;margin-bottom:44px;align-items:start}
.mag-main{min-width:0}
.mag-h{position:relative;display:flex;align-items:center;justify-content:space-between;gap:14px;font-size:14px!important;font-weight:700!important;text-transform:uppercase;letter-spacing:.3px!important;margin:0 0 24px;padding-bottom:12px;border-bottom:1px solid var(--m-line)}
.mag-h>span{position:relative}
.mag-h>span:after{content:'';position:absolute;left:0;right:0;bottom:-13px;height:2px;background:var(--m-accent)}
.mag-side .mag-h{font-size:12.5px!important}
.mag-tabs{display:flex;flex-wrap:wrap;gap:4px 16px}
.mag-tabs button{border:0;background:none;padding:0;font:inherit;font-size:10.5px;font-weight:600;color:#bbb;text-transform:uppercase;cursor:pointer;letter-spacing:.3px}
.mag-tabs button.on,.mag-tabs button:hover{color:var(--m-ink)}
.mag-tabpane{display:grid;grid-template-columns:1fr 1.2fr;gap:28px}
.mag-tabpane[hidden]{display:none}
.mag-tall{min-height:420px}
.mag-tall .mag-tile-body b{font-size:18px}
.mag-list{display:flex;flex-direction:column}
.mag-li{display:flex;gap:18px;align-items:center;padding:0 0 16px;margin-bottom:16px;border-bottom:1px solid var(--m-line)}
.mag-li:last-child{border-bottom:0;margin-bottom:0}
.mag-li-img{position:relative;flex:0 0 92px;height:92px;border-radius:6px;overflow:hidden;background:#eee}
.mag-li-img img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.mag-li:hover img{transform:scale(1.07)}
.mag-li-img em,.mag-mini-img em{position:absolute;right:5px;top:5px;font-style:normal;font-size:9px;font-weight:700;background:var(--m-accent);color:#fff;padding:1px 6px;border-radius:3px}
.mag-li b{display:block;font-size:13.5px;font-weight:600;line-height:1.45;margin-bottom:6px;transition:color .2s}
.mag-li:hover b,.mag-card:hover b,.mag-mini:hover b,.mag-row-post h3 a:hover{color:var(--m-accent)}
.mag-meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px 16px;font-size:11px;color:var(--m-muted)}
.mag-meta span{display:inline-flex;align-items:center;gap:5px}
.mag-ava{width:22px;height:22px;border-radius:50%;background:var(--m-soft);color:var(--m-accent);display:inline-grid!important;place-items:center;font-size:10px;font-weight:700;margin-right:-8px}
.mag-all{display:inline-flex;align-items:center;gap:6px;font-size:10.5px;color:var(--m-accent);font-weight:600}
.mag-count{font-size:11px;color:var(--m-muted);font-weight:500;text-transform:none}

/* sidebar */
.mag-side{display:flex;flex-direction:column;gap:34px}
.mag-social{display:flex;flex-wrap:wrap;gap:14px}
.mag-social a{display:flex;flex-direction:column;align-items:center;gap:7px}
.mag-social i{width:50px;height:50px;border-radius:50%;display:grid;place-items:center;color:#fff;background:var(--m-accent);transition:transform .2s}
.mag-social a:hover i{transform:translateY(-3px)}
.mag-social small{font-size:9.5px;font-weight:700;text-transform:uppercase;color:#555}
.mag-social .s-facebook i{background:#3b5bdb}.mag-social .s-x i{background:#111}.mag-social .s-instagram i{background:linear-gradient(45deg,#f9a03f,#d4307a,#7a3cd1)}.mag-social .s-youtube i{background:#e53935}.mag-social .s-tiktok i{background:#1b1b1b}.mag-social .s-telegram i{background:#2aa3df}
.mag-sub{display:flex;border:1px solid var(--m-line);border-radius:30px;padding:3px 3px 3px 14px}
.mag-sub input{flex:1;min-width:0;border:0;outline:0;font:inherit;font-size:12px}
.mag-sub button{width:34px;height:34px;border:0;border-radius:50%;background:var(--m-accent);color:#fff;display:grid;place-items:center;cursor:pointer}
.mag-mini{display:flex;gap:14px;align-items:center;margin-bottom:16px}
.mag-mini-img{position:relative;flex:0 0 70px;height:70px;border-radius:6px;overflow:hidden;background:#f3ebe8}
.mag-mini-img img{width:100%;height:100%;object-fit:cover}
.mag-mini b{display:block;font-size:12px;font-weight:600;line-height:1.45;margin-bottom:4px}
.mag-mini small{display:inline-flex;align-items:center;gap:4px;font-size:10.5px;color:var(--m-muted)}
.mag-mini small svg{color:#e0a43b;fill:#e0a43b}

/* cards */
.mag-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.mag-card{display:block}
.mag-card-img{position:relative;display:block;aspect-ratio:1.3;border-radius:var(--m-r);overflow:hidden;background:#eee;margin-bottom:14px}
.mag-card-img img{width:100%;height:100%;object-fit:cover;transition:transform .6s}
.mag-card:hover img{transform:scale(1.05)}
.mag-card-img .mag-pill{position:absolute;left:12px;bottom:12px}
.mag-card b{display:block;font-size:14px;font-weight:600;line-height:1.45;margin-bottom:8px;transition:color .2s}

/* feed */
.mag-row-post{display:grid;grid-template-columns:300px 1fr;gap:28px;align-items:center;padding-bottom:28px;margin-bottom:28px;border-bottom:1px solid var(--m-line)}
.mag-row-img{position:relative;display:block;aspect-ratio:1.45;border-radius:var(--m-r);overflow:hidden;background:#eee}
.mag-row-img img{width:100%;height:100%;object-fit:cover;transition:transform .6s}
.mag-row-post:hover .mag-row-img img{transform:scale(1.05)}
.mag-row-img .mag-pill{position:absolute;left:12px;top:12px}
.mag-row-post h3{font-size:19px!important;font-weight:600!important;line-height:1.35;margin:6px 0 10px}
.mag-row-post p{font-size:13.5px;line-height:1.75;color:var(--m-text);margin:12px 0 0}
.mag-kind{font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:1px;color:var(--m-accent)}
.mag-kind.tip{color:#6e8f6a}
.mag-pages{display:flex;gap:8px;flex-wrap:wrap}
.mag-pages a{min-width:36px;height:36px;display:grid;place-items:center;border-radius:6px;border:1px solid var(--m-line);font-size:12px;font-weight:600}
.mag-pages a.on,.mag-pages a:hover{background:var(--m-accent);border-color:var(--m-accent);color:#fff}
.mag-empty{text-align:center;padding:60px 20px;background:var(--m-soft);border-radius:var(--m-r);color:var(--m-accent)}
.mag-empty h3{font-size:20px!important;font-weight:600!important;color:var(--m-ink);margin:12px 0 6px}
.mag-empty p{font-size:13px;color:var(--m-muted);margin:0}

/* article */
.mag-article-row{padding-top:6px}
.mag-crumbs{font-size:11px;color:var(--m-muted);margin-bottom:18px}
.mag-crumbs a:hover{color:var(--m-accent)}
.mag-article>.mag-pill{background:var(--m-accent)}
.mag-article h1{font-size:clamp(26px,3vw,36px)!important;font-weight:700!important;line-height:1.25;margin:14px 0 16px}
.mag-cover{margin:24px 0 26px;border-radius:var(--m-r);overflow:hidden;aspect-ratio:1.8;background:#eee}
.mag-cover img{width:100%;height:100%;object-fit:cover}
.mag-lead{font-size:16px;line-height:1.75;font-weight:500;color:#333;border-left:3px solid var(--m-accent);padding-left:18px;margin:0 0 22px}
.mag-prose{font-size:15px;line-height:1.85;color:var(--m-text)}
.mag-prose h2{font-size:21px!important;font-weight:700!important;color:var(--m-ink);margin:30px 0 10px}
.mag-prose h3{font-size:17px!important;font-weight:600!important;margin:22px 0 8px}
.mag-prose p{margin:0 0 16px}
.mag-prose ul,.mag-prose ol{margin:0 0 18px;padding-left:22px}
.mag-prose li{margin-bottom:6px}
.mag-prose li::marker{color:var(--m-accent)}
.mag-prose a{color:var(--m-accent);text-decoration:underline;text-underline-offset:3px}
.mag-prose small{display:block;font-size:12px;color:var(--m-muted);background:var(--m-soft);padding:12px 14px;border-radius:6px;margin-top:24px}
.mag-prose img{border-radius:6px;margin:10px 0}
.mag-source-btn{display:inline-flex;align-items:center;gap:10px;margin:6px 0 10px;padding:13px 22px;border-radius:30px;background:var(--m-ink);color:#fff!important;font-size:13px;font-weight:600}
.mag-source-btn:hover{background:var(--m-accent)}
.mag-inline-ad{margin:34px 0 40px}
.mag-shop{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:42px}
.mag-shop-item{display:block;border:1px solid var(--m-line);border-radius:var(--m-r);overflow:hidden;padding-bottom:12px;transition:box-shadow .2s}
.mag-shop-item:hover{box-shadow:0 6px 20px #0000000f}
.mag-shop-item img{width:100%;aspect-ratio:1;object-fit:cover;margin-bottom:10px;background:#f6eeeb}
.mag-shop-item b{display:block;font-size:12px;font-weight:600;line-height:1.4;padding:0 12px;margin-bottom:6px}
.mag-shop-item span{display:block;padding:0 12px;font-size:13px;font-weight:700;color:var(--m-accent)}

@media (max-width:980px){
  .mag-row{grid-template-columns:1fr}
  .mag-side{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}
  .mag-hero{grid-template-columns:1fr 1fr;grid-template-rows:300px 190px 190px}
  .mag-hero .t0{grid-column:1/3;grid-row:1}
  .mag-hero .t3{grid-column:1/3}
  .mag-ad-header{width:100%;height:70px}
  .mag-mast{flex-direction:column;align-items:flex-start;gap:16px}
}
@media (max-width:680px){
  .mag-nav{flex-direction:column;align-items:stretch;padding:8px 0}
  .mag-nav-links{gap:2px 18px}.mag-nav-links a{padding:8px 0}
  .mag-search{margin-bottom:6px}.mag-search input{width:100%;flex:1}
  .mag-hero{grid-template-columns:1fr;grid-template-rows:auto}
  .mag-hero .mag-tile{min-height:220px;grid-column:auto!important;grid-row:auto!important}
  .mag-hero .t0{min-height:320px}
  .mag-tabpane,.mag-cards,.mag-row-post{grid-template-columns:1fr}
  .mag-shop{grid-template-columns:repeat(2,1fr)}
  .mag-tall{min-height:300px}
  .mag-trend>b{display:none}
}
@media (max-width:680px){.mag-h-tabs{flex-direction:column;align-items:flex-start}.mag-h-tabs>span:after{bottom:-6px}.mag-h-tabs .mag-tabs{margin-top:8px}}
