/* v1.0.5 — (visuels comme v1.0.4) */
.frame-wrap { --bg:#f5f7fb; --fg:#0b0d12; --bd: rgba(0,0,0,.1); }
.frame-wrap { background: var(--bg); color: var(--fg); }
.frame-container { max-width: 1120px; margin: 0 auto; padding: 20px; }

.frame-hero { position: relative; border:1px solid var(--bd); border-radius: 24px; background:#fff; padding: 28px; overflow:hidden; }
.frame-hero .blob-a, .frame-hero .blob-b, .frame-hero .top-grad { position:absolute; pointer-events:none; }
.frame-hero .blob-a { width:520px; height:520px; right:-120px; top:-120px; border-radius:999px; filter:blur(50px); opacity:.9; }
.frame-hero .blob-b { width:420px; height:420px; left:-80px; bottom:-140px; border-radius:999px; filter:blur(48px); opacity:.7; }
.frame-hero .top-grad { left:0; right:0; top:0; height:50%; }
.frame-hero-title { font-weight: 900; letter-spacing: .02em; font-size: clamp(28px, 4vw, 48px); margin: 6px 0 0; }
.frame-hero-desc { color: rgba(0,0,0,.7); max-width: 56ch; margin-top: 8px; }
.frame-hero-tag { display:inline-block; font-size:12px; font-weight:800; letter-spacing:.25em; border-radius:999px; padding:6px 10px; color:#fff; }
.frame-hero-socials { position:absolute; right:14px; top:14px; display:flex; gap:8px; z-index:2; }
.frame-hero-socials a { display:inline-flex; align-items:center; justify-content:center; width:36px; height:36px; border-radius:999px; border:1px solid var(--bd); background:rgba(255,255,255,.85); backdrop-filter: blur(6px); }

.frame-subnav { position: sticky; top: 12px; margin-top: 16px; z-index: 40; }
.frame-subnav .bar { display:flex; flex-wrap:wrap; gap:8px; align-items:center; border:1px solid var(--bd); border-radius:999px; background:rgba(255,255,255,.8); backdrop-filter:blur(6px); padding:8px; }
.frame-subnav .btn { font: inherit; background:none; border:1px solid var(--bd); border-radius:999px; padding:8px 12px; cursor:pointer; }
.frame-subnav .btn:hover { border-color: rgba(0,0,0,.3); }
.frame-subnav.is-stuck { position: sticky; top: 0; }

.frame-section { margin-top: 24px; }
.frame-section-title { font-size: 20px; font-weight: 800; color: rgba(0,0,0,.9); margin-bottom: 12px; }

.frame-card { background:#fff; border:1px solid var(--bd); border-radius: 18px; overflow:hidden; display:flex; flex-direction:column; }
.frame-card-media { position:relative; width:100%; border-bottom:1px solid var(--bd); background:#eef2f7; }
.frame-card-media .ribbon { position:absolute; top:10px; left:10px; font-weight:800; font-size:11px; padding:4px 8px; border-radius:999px; color:#fff; }
.frame-card h3 { font-weight:900; color:#000; font-size:18px; margin: 10px 0 0; line-height: 1.2; }
.frame-card .meta { color: rgba(0,0,0,.55); font-size: 14px; margin-top: 4px; }

.frame-grid { display:grid; grid-template-columns: repeat(1, minmax(0,1fr)); gap: 20px; }
@media (min-width: 640px) { .frame-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 768px) { .frame-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }

.frame-btn { display:inline-flex; align-items:center; justify-content:center; border-radius: 12px; font-weight: 800; padding: 10px 14px; border:1px solid var(--bd); }
.frame-btn.primary { color:#fff; border-color: transparent; }
.frame-center { display:flex; justify-content: center; }

.frame-follow { border:1px solid var(--bd); border-left-width:8px; border-radius:18px; background: linear-gradient(135deg, rgba(0,0,0,.05), transparent); padding:16px; display:flex; gap:12px; align-items:center; justify-content: space-between; }
.frame-follow .row { display:flex; flex-wrap: wrap; gap:8px; }

.frame-aspect { position:relative; width:100%; overflow:hidden; }
.frame-aspect > img, .frame-aspect > .fill { position:absolute; inset:0; width:100%; height:100%; object-fit: contain; }

.frame-last-card { display:grid; gap:0; border:1px solid var(--bd); border-radius:20px; background:#fff; overflow:hidden; }
@media (min-width: 768px) { .frame-last-card { grid-template-columns: minmax(0,1.1fr) minmax(0,1.9fr); } }
.frame-last-card .media { border-bottom:1px solid var(--bd); }
@media (min-width: 768px) { .frame-last-card .media { border-bottom:0; border-right:1px solid var(--bd); } }
.frame-last-card .title { font-weight:900; color:#000; font-size: clamp(18px, 2.2vw, 24px); line-height:1.15; }
.frame-last-card .excerpt { color: rgba(0,0,0,.7); margin-top:8px; }
.frame-last-card .meta { color: rgba(0,0,0,.55); font-size:14px; margin-top:6px; }
