/* base.css: 全テーマ共通の「レイアウトと読みやすさ」を担当する土台。
   つながり:
   - header.php が <link id="theme-css">（各テーマ）より"先に"読み込む。だからテーマ側で同じ項目を書けば上書きできる
   - 色・角丸・影・フォントは各テーマ(themes/*.css)の :root で決める「トークン」（--bg, --fg, --accent など）を使う
   - 下の --c-* は「テーマが値を決めていない場合の予備値」付きの受け皿。
     AIチームが後から追加するテーマが古い変数名（--paper 等）しか持たなくても崩れない */
:root {
  --c-bg: var(--bg, #ffffff);
  --c-fg: var(--fg, #1a1a1a);
  --c-accent: var(--accent, #0b5fff);
  --c-accent2: var(--accent2, var(--c-accent));
  --c-link: var(--link, var(--c-accent));
  --c-on-accent: var(--on-accent, var(--c-bg));
  --c-surface: var(--panel, var(--paper, #ffffff));
  --c-surface2: var(--panel2, var(--c-surface));
  --c-muted: var(--muted, #5c5c5c);
  --c-line: var(--line, var(--panel2, #d9d9d9));
  --c-danger: var(--danger, #c62828);
  --c-ok: var(--ok, #2e7d32);
  --r: var(--radius, 8px);
  --bw: var(--border-w, 1px);
  --sh: var(--shadow, none);
  --sh-hover: var(--shadow-hover, var(--sh));
  --f-body: var(--font-body, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic UI', 'Noto Sans JP', Meiryo, sans-serif);
  --f-head: var(--font-head, var(--f-body));
  --measure: 44rem;   /* 記事本文の1行の長さ。日本語で約40文字前後になり、目が疲れにくい */
  --gutter: clamp(14px, 4vw, 28px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  color-scheme: var(--scheme, light);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-fg);
  font-family: var(--f-body);
  font-size: clamp(16px, 0.94rem + 0.2vw, 18px);
  line-height: 1.8;
  overflow-wrap: anywhere;      /* 長いURLが画面からはみ出さない */
  word-break: auto-phrase;      /* 対応ブラウザでは日本語を文節の切れ目で改行する */
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 { font-family: var(--f-head); line-height: 1.3; text-wrap: balance; }
img, iframe, video { max-width: 100%; }
a { color: var(--c-link); text-underline-offset: .25em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

/* キーボード操作で今どこにいるかを必ず見えるようにする */
:focus-visible { outline: 3px solid var(--c-accent2); outline-offset: 3px; border-radius: 2px; }
.skip-link {
  position: absolute; left: 12px; top: -80px; z-index: 40;
  background: var(--c-fg); color: var(--c-bg); padding: 10px 16px; border-radius: var(--r);
}
.skip-link:focus { top: 12px; }

main { max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter) 48px; }
main > h1 { font-size: clamp(26px, 6vw, 40px); margin: 32px 0 20px; }

/* ---------- ヘッダー・フッター ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 12px var(--gutter);
  background: var(--c-surface);
  background: color-mix(in srgb, var(--c-surface) 90%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: var(--bw) solid var(--c-line);
}
.site-title {
  font-family: var(--f-head); font-size: clamp(19px, 4.6vw, 26px); font-weight: 800;
  color: var(--c-fg); text-decoration: none; letter-spacing: .01em;
}
.header-actions { display: flex; align-items: center; gap: 10px; }
.follow-buttons { display: flex; align-items: center; gap: 6px; }
.follow-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;       /* 指で押しやすい44px */
  border: var(--bw) solid var(--c-line); background: var(--c-surface); color: var(--c-link);
  transition: color .2s, border-color .2s, transform .2s var(--ease);
}
.follow-btn:hover { border-color: var(--c-accent); transform: translateY(-1px); }
.theme-toggle, .particle-bg-switch, .share-buttons a {
  font: inherit; font-size: 14px; font-weight: 700; cursor: pointer;
  min-height: 44px; padding: 0 16px; border-radius: var(--r);
  border: var(--bw) solid var(--c-fg); background: transparent; color: var(--c-fg);
  transition: background .2s, color .2s, transform .15s var(--ease);
}
.theme-toggle:hover, .particle-bg-switch:hover { background: var(--c-fg); color: var(--c-bg); }
.theme-toggle:active, .particle-bg-switch:active, .share-buttons a:active { transform: scale(.97); }
.particle-bg-switch { margin-top: 16px; min-height: 40px; font-size: 13px; }
.site-footer {
  border-top: var(--bw) solid var(--c-line); padding: 28px var(--gutter);
  text-align: center; font-size: 13px; color: var(--c-muted);
}
.site-footer .follow-buttons { justify-content: center; margin-bottom: 14px; }

/* ---------- 共通の面（カード）---------- */
.home-hero, .featured-article, .article-card, .article-body, .faq-item {
  background: var(--c-surface);
  border: var(--bw) solid var(--c-line);
  border-radius: var(--r);
  box-shadow: var(--sh);
}
.label, .hero-kicker { margin: 0 0 6px; font-size: 13px; color: var(--c-muted); letter-spacing: .04em; }

/* ---------- トップ：ヒーロー ---------- */
.home-hero {
  position: relative; overflow: hidden; margin: 20px 0;
  min-height: min(52dvh, 380px);                     /* 画面いっぱいではなく、次の内容がちらっと見える高さ */
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(24px, 6vw, 64px);
}
#particle-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
#particle-bg canvas { display: block; width: 100%; height: 100%; }
.home-hero-content { position: relative; z-index: 1; max-width: 46rem; }
.home-hero h1 { font-size: clamp(30px, 7vw, 56px); line-height: 1.2; margin: 8px 0 16px; letter-spacing: -.01em; }
.hero-copy { margin: 0; color: var(--c-muted); font-size: clamp(16px, 2.4vw, 19px); max-width: 38rem; }

/* ---------- トップ：まず読む記事 ---------- */
.featured-article {
  position: relative; margin: 20px 0; padding: clamp(18px, 4vw, 32px);
  display: grid; gap: 4px 28px; border-color: var(--c-accent);
}
.featured-article h2 { font-size: clamp(22px, 4.6vw, 34px); margin: 4px 0 10px; }
@media (min-width: 860px) {
  .featured-article:has(.card-thumb) { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; }
  .featured-article .card-thumb { grid-row: 1 / span 4; margin: 0; height: 100%; min-height: 260px; }
}

/* ---------- カテゴリーのカバーフロー（assets/category-coverflow.js が .is-enhanced を付ける）---------- */
.category-coverflow { margin: 36px 0; }
.coverflow-track { position: relative; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.coverflow-track.is-enhanced { display: block; height: 168px; perspective: 1400px; }
.coverflow-card {
  position: relative; display: block; width: 200px; overflow: hidden;
  border: var(--bw) solid var(--c-line); border-radius: var(--r); background: var(--c-surface2);
  text-decoration: none; outline-offset: 3px;
}
.coverflow-track.is-enhanced .coverflow-card {
  position: absolute; left: 50%; top: 50%;
  transition: transform .5s var(--ease), opacity .5s;
}
.coverflow-card img {
  display: block; width: 100%; height: 100%; min-height: 120px; object-fit: cover;
  filter: brightness(.7) saturate(.85); transition: filter .3s;
}
.coverflow-card.is-active img { filter: none; }
.coverflow-card::after {                                /* 文字の下に薄い影を敷いて、どの写真でも題名を読めるようにする */
  content: ""; position: absolute; inset: auto 0 0 0; height: 60%; pointer-events: none;
  background: linear-gradient(to top, rgb(0 0 0 / .78), transparent);
}
.coverflow-title {
  position: absolute; left: 10px; right: 10px; bottom: 8px; z-index: 1;
  font-size: 13px; font-weight: 700; line-height: 1.4; color: #fff;
}

/* ---------- 記事一覧カード ---------- */
.article-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 22px; margin: 28px 0; }
.article-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  padding: 0 0 20px; margin: 0;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .2s;
}
.article-card > :not(.card-thumb) { margin-inline: 20px; }
.article-card:hover { transform: translateY(-3px); box-shadow: var(--sh-hover); border-color: var(--c-accent); }
.card-thumb {
  display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; object-fit: cover;
  border-radius: calc(var(--r) - 2px); margin-bottom: 14px; background: var(--c-surface2);
}
.article-card .card-thumb { border-radius: 0; border-bottom: var(--bw) solid var(--c-line); }
.card-thumb-large { aspect-ratio: 16 / 10; }
/* 画像が無い記事用の色面。色相(--hue)はカテゴリー名から決まり、テーマ背景に少し混ぜて調和させる */
.card-thumb-gen {
  display: flex; align-items: flex-end; padding: 16px;
  background:
    linear-gradient(135deg, hsl(var(--hue) 55% 55% / .35), transparent 70%),
    var(--c-surface2);
  color: var(--c-muted); font-weight: 700; font-size: .85rem; letter-spacing: .08em;
}
.article-card h2 { font-size: clamp(18px, 2.4vw, 21px); margin: 0 20px 8px; }
.article-card h2 a, .featured-article h2 a { color: var(--c-fg); text-decoration: none; }
.article-card h2 a:hover, .featured-article h2 a:hover { text-decoration: underline; }
.article-card h2 a::after, .featured-article h2 a::after { content: ""; position: absolute; inset: 0; }  /* カードのどこを押しても記事へ飛べる */
.article-excerpt {
  margin: 0; color: var(--c-muted); font-size: 15px; line-height: 1.75;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.featured-article .article-excerpt { -webkit-line-clamp: 4; font-size: 16px; }
.category-empty { padding: 32px 0; color: var(--c-muted); }

/* ---------- 記事ページ ---------- */
.article-body {
  width: min(100%, calc(var(--measure) + 2 * clamp(20px, 5vw, 56px)));
  margin: 28px auto; padding: clamp(20px, 5vw, 56px);
  line-height: 1.95;
}
.article-body h1 { font-size: clamp(26px, 5.4vw, 40px); line-height: 1.35; margin: 6px 0 14px; }
.article-body h2 { font-size: clamp(21px, 3.6vw, 27px); margin: 2.6em 0 .8em; padding-bottom: .3em; border-bottom: var(--bw) solid var(--c-line); }
.article-body h3 { font-size: clamp(18px, 3vw, 21px); margin: 2.2em 0 .6em; }
.article-body h4 { font-size: 1em; margin: 1.8em 0 .5em; color: var(--c-muted); }
.article-body p, .article-body ul, .article-body ol, .article-body blockquote, .article-body figure, .article-body pre { margin: 0 0 1.5em; }
.article-body ul, .article-body ol { padding-left: 1.5em; }
.article-body li { margin-bottom: .4em; }
.article-body img, .article-body iframe { height: auto; border-radius: calc(var(--r) - 2px); }
.article-body iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; }
.article-body figcaption { font-size: 13px; color: var(--c-muted); margin-top: 6px; }
.article-body blockquote {
  padding: .8em 1.2em; border-left: 4px solid var(--c-accent); background: var(--c-surface2);
  border-radius: 0 var(--r) var(--r) 0; color: var(--c-fg);
}
.article-body code { font-size: .9em; padding: .1em .35em; background: var(--c-surface2); border-radius: 4px; }
.article-body pre { overflow-x: auto; padding: 1em; background: var(--c-surface2); border-radius: var(--r); line-height: 1.6; }
.article-body pre code { padding: 0; background: none; }
.article-body hr { border: 0; border-top: var(--bw) solid var(--c-line); margin: 2.4em 0; }
.article-body table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; margin: 0 0 1.5em; font-size: .95em; }
.article-body table td, .article-body table th { border: 1px solid var(--c-line); padding: 8px 12px; }
.article-body table th { background: var(--c-surface2); text-align: left; }
.article-body .scrollable-table { overflow-x: auto; }
.accent-bar { height: 3px; width: 72px; background: var(--c-accent); margin: 18px 0 28px; border-radius: 2px; }
.tag-badges { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 12px 0 0; padding: 0; }
.tag-badges li { font-size: 13px; line-height: 1.6; color: var(--c-fg); padding: 2px 12px; border: var(--bw) solid var(--c-line); border-radius: 999px; background: var(--c-surface2); }

/* WordPress移行記事で使われていた強調クラス（記事HTMLに残っているため必須） */
.article-body .bold-red { color: var(--c-danger); font-weight: 700; }
.article-body .bold-blue { color: var(--c-link); font-weight: 700; }
.article-body .bold-green { color: var(--c-ok); font-weight: 700; }
.article-body .red { color: var(--c-danger); }
.article-body .fz-14px { font-size: 14px; } .article-body .fz-16px { font-size: 16px; }
.article-body .fz-18px { font-size: 18px; } .article-body .fz-20px { font-size: 20px; }
.article-body .fz-22px { font-size: 22px; } .article-body .fz-24px { font-size: 24px; }
.article-body .fz-28px { font-size: clamp(22px, 5vw, 28px); } .article-body .fz-36px { font-size: clamp(24px, 6vw, 36px); }

/* 記事の下：シェア・前後ナビ */
.share-buttons, .post-nav { width: min(100%, var(--measure)); margin-inline: auto; }
.share-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.share-buttons a { display: inline-flex; align-items: center; text-decoration: none; background: var(--c-surface); }
.share-buttons a:hover { border-color: var(--c-accent); color: var(--c-link); }
.post-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 32px; margin-bottom: 8px; padding-top: 18px; border-top: var(--bw) solid var(--c-line); font-size: 15px; }
.post-nav a { display: inline-flex; align-items: center; min-height: 44px; }
.post-nav-home { font-weight: 700; }
.post-nav-next { margin-left: auto; }

/* ---------- FAQ ---------- */
.faq-section { max-width: var(--measure); margin: 56px auto 24px; }
.faq-section h2 { font-size: clamp(20px, 4vw, 26px); margin: 0 0 16px; }
.faq-item { padding: 0 18px; margin-bottom: 10px; }
.faq-item summary { cursor: pointer; font-weight: 700; padding: 14px 0; min-height: 44px; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before { content: '+'; display: inline-block; width: 1.2em; color: var(--c-link); }
.faq-item[open] summary::before { content: '\2212'; }
.faq-item p { margin: 0 0 16px; color: var(--c-muted); }

/* ---------- 読み進めバー（記事ページのみ。対応ブラウザではCSSだけで動く）---------- */
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    body:has(.article-body)::before {
      content: ""; position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 30;
      background: var(--c-accent); transform-origin: 0 50%;
      animation: read-progress linear both; animation-timeline: scroll(root);
    }
    @keyframes read-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
  }
}

@media (max-width: 640px) {
  .home-hero { min-height: auto; padding: 28px 20px 32px; }
  .theme-toggle { padding: 0 12px; }
  .header-actions .follow-buttons { display: none; }   /* 狭い画面ではヘッダーを1行に収める（フッターに同じボタンあり）*/
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---- 左メニュー + 2カラム（sidebar.php / header.php の .page-shell） ---- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.page-shell { max-width: 1360px; margin: 0 auto; padding: 0 var(--gutter); }
.page-shell > main { padding-inline: 0; max-width: none; min-width: 0; }
.site-sidebar { margin: 16px 0; }
.sidebar-fold > summary {
  min-height: 44px; display: flex; align-items: center; padding: 0 16px; cursor: pointer; font-weight: 700;
  border: var(--bw) solid var(--c-line); border-radius: var(--r); background: var(--c-surface);
}
.side-search { display: flex; gap: 8px; margin: 12px 0; }
.side-search input {
  flex: 1; min-width: 0; min-height: 44px; padding: 0 12px; font: inherit; color: var(--c-fg);
  background: var(--c-surface); border: var(--bw) solid var(--c-line); border-radius: var(--r);
}
.side-search button, .side-faq, .side-cats a {
  min-height: 44px; display: inline-flex; align-items: center; padding: 0 14px; font: inherit; font-weight: 700; cursor: pointer;
  color: var(--c-fg); background: var(--c-surface); border: var(--bw) solid var(--c-line); border-radius: var(--r); text-decoration: none;
}
.side-search button { background: var(--c-accent); color: var(--c-on-accent); border-color: var(--c-accent); }
.side-cats a:hover, .side-faq:hover { background: var(--c-accent); color: var(--c-on-accent); border-color: var(--c-accent); }
.side-block { margin: 20px 0; }
.side-block h2 { font-size: .8rem; letter-spacing: .1em; color: var(--c-muted); margin: 0 0 8px; }
.side-block p { margin: 0; font-size: .92rem; line-height: 1.8; }
.side-list { list-style: none; margin: 0; padding: 0; }
.side-list a { display: block; padding: 8px 0; border-bottom: 1px solid var(--c-line); color: var(--c-link); font-size: .92rem; line-height: 1.5; }
.side-cats { display: flex; flex-wrap: wrap; gap: 8px; }
.side-block .follow-buttons { justify-content: flex-start; }

/* ---- 最新スライダー（CSS scroll-snap。指のスワイプ・矢印キー・横スクロールで切替） ---- */
.latest-slider { margin: 16px 0 24px; }
.latest-slider ul {
  list-style: none; margin: 0; padding: 0; display: flex; gap: 16px; overflow-x: auto;
  scroll-snap-type: x mandatory; scrollbar-width: thin; overscroll-behavior-x: contain;
}
.latest-slider li {
  flex: 0 0 min(100%, 720px); scroll-snap-align: start; position: relative; overflow: hidden;
  border: var(--bw) solid var(--c-line); border-radius: var(--r); box-shadow: var(--sh); aspect-ratio: 16 / 9; background: var(--c-surface2);
}
.latest-slider .card-thumb { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; border: 0; border-radius: 0; aspect-ratio: auto; object-fit: cover; }
.latest-slider .slide-text {
  position: absolute; inset: auto 0 0 0; padding: 48px 20px 18px; color: #fff;
  background: linear-gradient(transparent, rgb(0 0 0 / .78));
}
.latest-slider .slide-text .label { color: #fff; margin: 0 0 4px; }
.latest-slider .slide-text h2 { margin: 0; font-size: clamp(1.1rem, 2.6vw, 1.6rem); }
.latest-slider .slide-text a { color: #fff; text-decoration: none; }
.latest-slider .slide-text a::after { content: ""; position: absolute; inset: 0; }

@media (min-width: 960px) {
  .page-shell { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 40px; align-items: start; }
  .site-sidebar { position: sticky; top: 88px; max-height: calc(100dvh - 104px); overflow-y: auto; margin: 24px 0; }
  .sidebar-fold > summary { display: none; }
}
.latest-slider .card-thumb-gen span { display: none; } /* 見出し文字との重なりを避ける */

/* ---- スライダー: スクロールバーを隠し、前へ/次へボタンを重ねる ---- */
.latest-slider { position: relative; }
.latest-slider ul { scrollbar-width: none; }
.latest-slider ul::-webkit-scrollbar { display: none; }
.slider-btn {
  position: absolute; top: 50%; translate: 0 -50%; z-index: 2; width: 44px; height: 44px; cursor: pointer;
  font-size: 1.6rem; line-height: 1; color: var(--c-on-accent); background: var(--c-accent);
  border: var(--bw) solid var(--c-line); border-radius: var(--r);
}
.slider-btn.prev { left: 8px; } .slider-btn.next { right: 8px; }

/* ---- 先頭の見出し(Header2): 大きな文字で、一番上に ---- */
.home-hero { min-height: 0; padding-block: clamp(28px, 6vw, 56px); }
.home-hero h1 { font-size: clamp(2rem, 6.4vw, 4rem); line-height: 1.25; letter-spacing: .01em; }
.home-hero .hero-copy { font-size: clamp(.95rem, 1.6vw, 1.1rem); }

/* ---- 見出し帯をコンパクトに（縦の場所を取りすぎないよう、余白と文字を縮小） ---- */
.home-hero { padding-block: clamp(14px, 2.4vw, 22px); }
.home-hero h1 { font-size: clamp(1.5rem, 3.6vw, 2.5rem); line-height: 1.3; margin: 0 0 6px; }
.home-hero .hero-kicker { display: none; }
.home-hero .hero-copy { font-size: clamp(.82rem, 1.3vw, .95rem); line-height: 1.6; margin: 0; }

/* ---- ヘッダー = キャッチコピー（旧 sya-cho.blog の文字の場所）。スクロールで流れる（縦の場所を節約） ---- */
.site-header { position: relative; }
.site-brand { margin: 0; min-width: 0; font-size: inherit; position: relative; z-index: 1; }
.site-title { display: block; }
.brand-main { display: block; font-size: clamp(1.25rem, 3.4vw, 2.1rem); font-weight: 800; line-height: 1.3; }
.brand-sub { display: block; margin-top: 6px; font-family: var(--f-body); font-size: clamp(.82rem, 1.3vw, .95rem); font-weight: 400; line-height: 1.7; color: var(--c-muted); max-width: 46em; }
.header-actions { position: relative; z-index: 1; }
.site-header #particle-bg { z-index: 0; }
.home-hero { display: none; }
.theme-toggle { white-space: nowrap; flex-shrink: 0; }  /* スマホでボタン文字が縦に割れないように */
.header-actions { flex-shrink: 0; }
.site-brand { flex: 1 1 auto; }
.brand-sub { max-width: 60em; }
@media (max-width: 480px) { .theme-toggle { padding-inline: 10px; font-size: .8rem; } }

/* ---- スライダー: 写真の縁をぼかして背景になじませる（枠線・影なし）。index.php の .hero-img と対応 ---- */
.latest-slider li { border: 0; box-shadow: none; background: transparent; overflow: visible; }
.latest-slider .hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block;
  /* 四辺を縦横のグラデーションの掛け合わせでふわっと消す */
  -webkit-mask-image: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent), linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent), linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
  mask-composite: intersect;
}
.latest-slider .slide-text { background: none; padding: 0 8% 8%; text-shadow: 0 2px 14px rgb(0 0 0 / .85); }
