/*
Theme Name:  Thullah
Theme URI:   https://thullah.org
Description: بيت الكتابة الإبداعية. custom theme, RTL Arabic, no page builder.
Version:     1.10.4
Author:      Thullah Studio
Text Domain: thullah
*/

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --red:     #2C090A;
  --deep:    #1C0506;
  --dark:    #150404;
  --espresso:#2C090A;
  --ink:     #0C0404;
  --bone:    #ECE0D5;
  --sand:    #DCC9B0;
}

/* ============================================================
   BASE
   ============================================================ */
html { scroll-behavior: smooth; }
body { background: var(--red); color: var(--bone); font-family: "IBM Plex Sans Arabic", sans-serif; }
::selection { background: var(--bone); color: var(--red); }
[style*="background:var(--bone)"] .display { color: var(--red); }
* { box-sizing: border-box; margin: 0; padding: 0; }
img { max-width: 100%; display: block; }
a { text-decoration: none; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   TYPOGRAPHY UTILITIES
   ============================================================ */
.display   { font-weight: 700; line-height: 1.14; color: var(--bone); }
.kicker    { letter-spacing: .4em; font-weight: 500; text-transform: uppercase; }
.lede      { line-height: 1.95; }
.en        { font-family: "IBM Plex Sans", sans-serif; }
.sub       { }
h1, h2, h3, h4, h5, h6 { color: var(--bone); }

/* ============================================================
   SURFACE HELPERS
   ============================================================ */
.surf-red  { background: var(--red); }
.surf-hero { background: var(--red); }
.surf-esp  { background: var(--red); }

/* ============================================================
   GRAIN TEXTURE (disabled — was reading as fog over section curves)
   ============================================================ */
.grain-surf { position: relative; }
.grain-surf::after {
  content: ""; position: absolute; inset: 0; z-index: 5; pointer-events: none;
  opacity: .6; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='linear' slope='2.2' intercept='-0.55'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 140px 140px;
}

/* ============================================================
   SECTION WAVES
   ============================================================ */
.section-wave {
  position: absolute; bottom: -1px; left: 0; width: 100%; height: 70px; z-index: 2; display: block;
}
@media (min-width: 768px) { .section-wave { height: 100px; } }

.section-wave-top {
  position: absolute; top: -1px; left: 0; width: 100%; height: 70px; z-index: 2; display: block; transform: scaleY(-1);
}
@media (min-width: 768px) { .section-wave-top { height: 100px; } }

/* ============================================================
   PINNED PHOTO FRAME
   ============================================================ */
.pin {
  position: relative; display: block;
  transform: rotate(var(--r, -2deg));
  transition: transform .6s cubic-bezier(.22,1,.36,1);
}
.pin:hover { transform: rotate(0deg) scale(1.02) translateY(-6px); }
.pin::before, .pin::after {
  content: ""; position: absolute; left: calc(50% - 27px); width: 54px; height: 17px;
  z-index: 10; pointer-events: none;
  background: rgba(213,196,168,.55);
  background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.07) 0, rgba(255,255,255,.07) 1px, transparent 1px, transparent 4px);
}
.pin::before { top: -9px; }
.pin::after  { bottom: -9px; }

.frame {
  position: relative; background: #120d08; padding: 9px; border-radius: 0; overflow: hidden;
  box-shadow: 0 18px 48px -10px rgba(0,0,0,.85), 0 6px 16px -4px rgba(0,0,0,.55), 0 2px 4px rgba(0,0,0,.35);
}
.frame img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 0; }

/* Frame hover zoom */
.frame img { transition: transform .9s cubic-bezier(.22,1,.36,1); }
.frame:hover img { transform: scale(1.07); }

/* ============================================================
   DUOTONE PHOTO (grayscale brand treatment)
   ============================================================ */
.duotone img { filter: grayscale(1) contrast(1.45) brightness(.80); }
.phero-img.duotone img { filter: grayscale(1) contrast(1.1) brightness(.85); }

/* ============================================================
   SWIPE GRID (mobile carousel → desktop grid)
   ============================================================ */
.swipe-grid {
  display: flex; overflow-x: auto; gap: .9rem; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
  padding-inline-end: 10vw; margin-inline: -1.5rem; padding-inline-start: 1.5rem;
}
.swipe-grid::-webkit-scrollbar { display: none; }
.swipe-grid > * { flex: 0 0 56vw; scroll-snap-align: start; min-width: 0; }
@media (min-width: 640px) {
  .swipe-grid {
    display: grid; grid-template-columns: repeat(2,1fr); overflow: visible; gap: 1.75rem 3rem;
    padding-inline-end: 0; margin-inline: 0; padding-inline-start: 0;
  }
  .swipe-grid > * { flex: none; }
}
@media (min-width: 1024px) { .swipe-grid { grid-template-columns: repeat(3,1fr); } }

.swipe-hint { align-items: center; gap: .35rem; font-size: 11px; letter-spacing: .03em; color: rgba(245,242,235,.45); flex-shrink: 0; }
.swipe-hint svg { width: 14px; height: 14px; animation: swipeHintPulse 1.8s ease-in-out infinite; }
@keyframes swipeHintPulse { 0%,100% { transform: translateX(0); opacity: .6; } 50% { transform: translateX(-3px); opacity: 1; } }

/* ============================================================
   PILL BUTTONS
   ============================================================ */
.pill {
  font-family: "IBM Plex Sans Arabic", sans-serif; letter-spacing: .04em; font-size: 13px;
  border: 1px solid rgba(245,242,235,.5); border-radius: 0; color: var(--bone);
  padding: .72rem 1.7rem; display: inline-flex; align-items: center; gap: .55rem;
  background: rgba(245,242,235,.14);
  transition: transform .4s cubic-bezier(.22,1,.36,1), background-color .4s, color .4s, box-shadow .4s, border-color .4s;
  cursor: pointer;
}
.pill:hover  { background: var(--bone); color: var(--red); border-color: var(--bone); box-shadow: 0 12px 28px -12px rgba(0,0,0,.5); transform: translateY(-2px); }
.pill:focus-visible { outline: 2px solid var(--bone); outline-offset: 3px; }
.pill-solid  { background: var(--bone); color: var(--red); border-color: transparent; }
.pill-solid:hover { box-shadow: 0 16px 34px -14px rgba(0,0,0,.6); }
.pill-dark   { background: var(--red); color: var(--bone); border-color: transparent; }
.pill-dark:hover { background: var(--ink); box-shadow: 0 16px 34px -14px rgba(12,4,4,.35); }

/* Pill on light backgrounds */
.pill-light-border { border-color: rgba(12,4,4,.3); color: var(--ink); background: transparent; }
.pill-light-border:hover { background: var(--red); color: var(--bone); border-color: var(--red); }

/* ============================================================
   NAV
   ============================================================ */
.navlink { position: relative; font-size: 15px; color: rgba(245,242,235,.82); }
.navlink::after {
  content: ""; position: absolute; right: 0; bottom: -7px; height: 1.5px; width: 0; opacity: 0;
  background: currentColor; transition: width .35s cubic-bezier(.22,1,.36,1), opacity .25s;
}
.navlink:hover::after, .navlink:focus-visible::after { width: 100%; opacity: .85; }
.navlink:hover { color: var(--bone); }

.menu-btn {
  width: 44px; height: 44px; border-radius: 0; border: 1px solid rgba(245,242,235,.5);
  display: flex; align-items: center; justify-content: center; color: var(--bone);
  background: transparent; transition: background-color .3s, transform .3s; flex-shrink: 0; cursor: pointer;
}
.menu-btn:hover { background: rgba(245,242,235,.12); }
.menu-btn:active { transform: scale(.94); }
.menu-btn:focus-visible { outline: 2px solid var(--bone); outline-offset: 2px; }

.menu-bars { position: relative; width: 18px; height: 14px; display: block; }
.menu-bars span {
  position: absolute; left: 0; top: 50%; width: 100%; height: 1.6px; background: currentColor; border-radius: 0;
  transition: transform .35s cubic-bezier(.22,1,.36,1), opacity .25s;
}
.menu-bars span:nth-child(1) { transform: translateY(-6px); }
.menu-bars span:nth-child(2) { transform: translateY(0); }
.menu-bars span:nth-child(3) { transform: translateY(6px); }
.menu-btn.is-open .menu-bars span:nth-child(1) { transform: translateY(0) rotate(45deg); }
.menu-btn.is-open .menu-bars span:nth-child(2) { opacity: 0; }
.menu-btn.is-open .menu-bars span:nth-child(3) { transform: translateY(0) rotate(-45deg); }

header.nav-hidden > div > a:first-child,
header.nav-hidden .pill { opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }

/* ============================================================
   MOBILE MENU
   ============================================================ */
.mobile-menu {
  position: fixed; inset: 0; z-index: 40; background: var(--deep);
  display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden;
  opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: opacity .4s cubic-bezier(.22,1,.36,1), transform .4s cubic-bezier(.22,1,.36,1), visibility .4s;
}
.mobile-menu.open { opacity: 1; visibility: visible; transform: none; }
.mobile-menu-logo { position: relative; z-index: 1; height: 40px; width: auto; margin-bottom: 2.2rem; opacity: 0; transform: translateY(10px); transition: opacity .4s, transform .4s; }
.mobile-menu.open .mobile-menu-logo { opacity: 1; transform: none; }
.mobile-menu-nav { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: stretch; width: 100%; max-width: 320px; padding: 2rem; max-height: 88vh; overflow-y: auto; }
.mobile-link {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; padding: .8rem 0;
  border-bottom: 1px solid rgba(245,242,235,.14); font-weight: 700; font-size: 1.3rem; color: var(--bone);
  opacity: 0; transform: translateY(16px); transition: opacity .45s cubic-bezier(.22,1,.36,1), transform .45s cubic-bezier(.22,1,.36,1);
}
.mobile-menu.open .mobile-link { opacity: 1; transform: none; }
.mobile-menu.open .mobile-link:nth-child(1) { transition-delay: .06s; }
.mobile-menu.open .mobile-link:nth-child(2) { transition-delay: .12s; }
.mobile-menu.open .mobile-link:nth-child(3) { transition-delay: .18s; }
.mobile-menu.open .mobile-link:nth-child(4) { transition-delay: .24s; }
.mobile-menu.open .mobile-link:nth-child(5) { transition-delay: .30s; }
.mobile-cta { opacity: 0; transform: translateY(16px); transition: opacity .45s cubic-bezier(.22,1,.36,1) .3s, transform .45s cubic-bezier(.22,1,.36,1) .3s; }
.mobile-menu.open .mobile-cta { opacity: 1; transform: none; }
.mobile-link .num { font-family: "IBM Plex Sans", sans-serif; font-size: 12px; font-weight: 500; color: rgba(245,242,235,.4); }
.mobile-link:active { opacity: .7; }
.mobile-menu-foot {
  position: relative; z-index: 1; display: flex; align-items: center; gap: 1.4rem; margin-top: 1.6rem;
  font-size: 13px; color: rgba(245,242,235,.5); opacity: 0; transform: translateY(10px);
  transition: opacity .45s cubic-bezier(.22,1,.36,1) .3s, transform .45s cubic-bezier(.22,1,.36,1) .3s;
}
.mobile-menu.open .mobile-menu-foot { opacity: 1; transform: none; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1.1s cubic-bezier(.22,1,.36,1), transform 1.1s cubic-bezier(.22,1,.36,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal-scale { opacity: 0; transform: scale(.94); transition: opacity 1.1s cubic-bezier(.22,1,.36,1), transform 1.1s cubic-bezier(.22,1,.36,1); }
.reveal-scale.in { opacity: 1; transform: none; }
.reveal-left { opacity: 0; transform: translateX(28px); transition: opacity 1.1s cubic-bezier(.22,1,.36,1), transform 1.1s cubic-bezier(.22,1,.36,1); }
.reveal-left.in { opacity: 1; transform: none; }

/* ============================================================
   HERO (full-bleed poster)
   ============================================================ */
.phero { position: relative; width: 100%; height: 100vh; min-height: 680px; overflow: hidden; }
.phero-img { position: absolute; inset: -20px; transition: transform .6s cubic-bezier(.22,1,.36,1); }
.phero-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.phero-side { display: none; }
@media (min-width: 880px) {
  .phero-side { display: flex; flex-direction: column; align-items: center; gap: 14px; position: absolute; top: 50%; transform: translateY(-50%); z-index: 4; }
  .phero-side.start { inset-inline-start: 40px; }
  .phero-side.end   { inset-inline-end: 40px; }
  .phero-side p { writing-mode: vertical-rl; font-family: "IBM Plex Sans Arabic", sans-serif; font-size: 12px; letter-spacing: .1em; color: rgba(236,224,213,.6); }
}
.phero-bottom { position: absolute; bottom: 0; left: 0; right: 0; z-index: 4; text-align: center; padding: 0 24px 104px; }
.phero-bottom h1 { font-size: 2.6rem; margin-bottom: .9rem; text-shadow: 0 2px 18px rgba(0,0,0,.45); }
.phero-bottom p  { font-family: "IBM Plex Sans Arabic", sans-serif; color: rgba(236,224,213,.85); font-size: 16px; margin-bottom: 1.6rem; text-shadow: 0 1px 10px rgba(0,0,0,.4); }
@media (min-width: 768px) { .phero-bottom { padding-bottom: 150px; } .phero-bottom h1 { font-size: 3.6rem; } .phero-bottom p { font-size: 18px; } }
.phero-bottom .pill       { background: rgba(12,4,4,.32); backdrop-filter: blur(6px); border-color: rgba(245,242,235,.7); box-shadow: 0 10px 26px -10px rgba(0,0,0,.55); }
.phero-bottom .pill-solid { background: var(--bone); }

/* ============================================================
   HERO TYPING EFFECT
   ============================================================ */
.hero-typing { font-family: "IBM Plex Sans Arabic", sans-serif; color: rgba(236,224,213,.85); font-size: 17px; margin-bottom: 1.3rem; text-shadow: 0 1px 10px rgba(0,0,0,.4); display: flex; align-items: center; justify-content: center; gap: .3rem; min-height: 1.6em; }
@media (min-width: 768px) { .hero-typing { font-size: 19px; } }
.hero-typing-word   { font-weight: 700; color: var(--bone); }
.hero-typing-cursor { display: inline-block; width: 2px; height: 1em; background: var(--bone); animation: heroTypingBlink 1s steps(1) infinite; }
@keyframes heroTypingBlink { 50% { opacity: 0; } }

/* ============================================================
   HOMEPAGE WORKSHOP ACCORDION
   ============================================================ */
.wk-stage { background: var(--red); border-radius: 0; padding: 16px; box-shadow: inset 0 0 0 1px rgba(245,242,235,.08); position: relative; }
.wk-acc { display: flex; flex-direction: column; height: 600px; gap: 12px; overflow-y: auto; scroll-snap-type: y mandatory; scrollbar-width: none; }
.wk-acc::-webkit-scrollbar { display: none; }
@media (min-width: 768px) { .wk-acc { flex-direction: row; height: 520px; gap: 14px; overflow-y: visible; overflow-x: auto; scroll-snap-type: x mandatory; } }
.wk-stage::before, .wk-stage::after { content: ""; position: absolute; left: 16px; right: 16px; height: 36px; z-index: 5; pointer-events: none; }
.wk-stage::before { top: 16px;    background: linear-gradient(180deg, var(--red) 0%, transparent 100%); }
.wk-stage::after  { bottom: 16px; background: linear-gradient(0deg,   var(--red) 0%, transparent 100%); }
@media (min-width: 768px) { .wk-stage::before, .wk-stage::after { display: none; } }
.wk-vcue { display: flex; justify-content: center; margin-top: 14px; color: rgba(245,242,235,.55); animation: wkVBounce 1.8s ease-in-out infinite; }
.wk-vcue svg { width: 20px; height: 20px; }
@media (min-width: 768px) { .wk-vcue { display: none; } }
@keyframes wkVBounce { 0%,100% { transform: translateY(0); opacity: .55; } 50% { transform: translateY(5px); opacity: .9; } }
.wk-nav { display: none; }
@media (min-width: 768px) {
  .wk-nav { display: flex; position: absolute; top: 50%; left: 10px; right: 10px; transform: translateY(-50%); justify-content: space-between; z-index: 6; pointer-events: none; }
}
.wk-nav button { pointer-events: auto; width: 46px; height: 46px; border-radius: 0; background: var(--bone); color: var(--red); display: flex; align-items: center; justify-content: center; box-shadow: 0 12px 28px -8px rgba(0,0,0,.55), 0 0 0 1px rgba(0,0,0,.05); transition: transform .35s cubic-bezier(.22,1,.36,1), background .3s; cursor: pointer; }
.wk-nav button svg { width: 18px; height: 18px; }
.wk-nav button:hover { background: #fff; transform: scale(1.08); }
.wk-nav button:active { transform: scale(.94); }
.wk-nav button:disabled { opacity: .35; pointer-events: none; }
.wk-card { position: relative; border-radius: 0; overflow: hidden; cursor: pointer; flex: 0 0 92px; min-width: 92px; scroll-snap-align: start; transition: flex-basis .65s cubic-bezier(.22,1,.36,1), min-width .65s cubic-bezier(.22,1,.36,1); box-shadow: 0 1px 0 rgba(245,242,235,.06) inset; }
@media (min-width: 768px) { .wk-card { flex: 0 0 130px; min-width: 130px; } }
.wk-card.active { flex: 0 0 100%; min-width: 100%; cursor: default; }
@media (min-width: 768px) { .wk-card.active { flex: 0 0 min(640px,72%); min-width: min(640px,72%); } }
.wk-card .wk-bgimg { position: absolute; inset: 0; }
.wk-card .wk-bgimg img { width: 100%; height: 100%; object-fit: cover; }
.wk-card .wk-bgimg::after  { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.45); }
.wk-card .wk-bgimg::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(0,0,0,.65) 0%, transparent 45%); }
.wk-card.active .wk-bgimg::after  { background: rgba(0,0,0,.55); }
.wk-card.active .wk-bgimg::before { background: linear-gradient(0deg, rgba(0,0,0,.7) 0%, rgba(0,0,0,.25) 55%, transparent 80%); }
.wk-label { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: flex-end; padding: 16px 14px; }
.wk-label .wk-label-num { font-size: 10px; letter-spacing: .1em; color: rgba(245,242,235,.6); margin-bottom: .3rem; }
.wk-label .wk-label-t   { font-size: .98rem; font-weight: 700; line-height: 1.25; color: var(--bone); }
.wk-content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: space-between; padding: 1.9rem 2.1rem; opacity: 0; transition: opacity .5s ease .15s; }
.wk-card.active .wk-content { opacity: 1; }
.wk-content .wk-kicker   { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: rgba(245,242,235,.65); margin-bottom: .9rem; }
.wk-content .wk-h        { font-weight: 700; font-size: 1.7rem; line-height: 1.15; color: var(--bone); margin: 0 0 .8rem; }
.wk-content .wk-brief    { font-size: .95rem; line-height: 1.6; color: rgba(245,242,235,.78); max-width: 24rem; }
.wk-content .wk-meta-row { display: flex; align-items: center; gap: .6rem; font-size: 13px; color: rgba(245,242,235,.6); margin-top: 1.2rem; flex-wrap: wrap; }
.wk-content .wk-meta-row b { color: var(--bone); font-weight: 600; }
.wk-content .wk-cta { align-self: flex-start; margin-top: 1.4rem; background: var(--bone); color: var(--red); }
.wk-content .wk-cta:hover { background: #fff; }

/* ============================================================
   FORM FIELDS
   ============================================================ */
.field { font-family: "IBM Plex Sans Arabic", sans-serif; background: rgba(18,11,7,.4); border: 1px solid rgba(245,242,235,.28); color: var(--bone); transition: border-color .35s, box-shadow .35s; border-radius: 0; width: 100%; padding: .75rem 1rem; }
.field::placeholder { color: rgba(245,242,235,.45); }
.field:focus { outline: none; border-color: var(--bone); box-shadow: 0 0 0 3px rgba(245,242,235,.13); }
.field-light { font-family: "IBM Plex Sans Arabic", sans-serif; background: rgba(12,4,4,.05); border: 1px solid rgba(12,4,4,.18); color: var(--ink); transition: border-color .35s, box-shadow .35s; border-radius: 0; width: 100%; padding: .75rem 1rem; }
.field-light::placeholder { color: rgba(12,4,4,.4); }
.field-light:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(44,9,10,.13); }
.field-dark { font-family: "IBM Plex Sans Arabic", sans-serif; background: rgba(245,242,235,.12); border: 1px solid rgba(245,242,235,.35); color: var(--bone); transition: border-color .35s, box-shadow .35s; border-radius: 0; width: 100%; padding: .75rem 1rem; }
.field-dark::placeholder { color: rgba(245,242,235,.55); }
.field-dark:focus { outline: none; border-color: var(--bone); box-shadow: 0 0 0 3px rgba(245,242,235,.18); }

/* ============================================================
   SCRAPBOOK (about page)
   ============================================================ */
.scrap { position: relative; background: #efe6d2; padding: 8px; border-radius: 0; overflow: hidden; box-shadow: 0 22px 40px -18px rgba(0,0,0,.55); }
.scrap img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 0; filter: grayscale(1) contrast(1.1) brightness(.97); }
.scrap .tape { position: absolute; width: 64px; height: 24px; border-radius: 0; background: rgba(236,224,213,.82); top: -10px; left: 50%; transform: translateX(-50%) rotate(-3deg); box-shadow: 0 3px 6px rgba(0,0,0,.25); }

/* ============================================================
   ABOUT PAGE: Values rows
   ============================================================ */
.vrow { display: flex; align-items: center; gap: 1.5rem; padding: 1.4rem 0; border-bottom: 1px solid rgba(245,242,235,.1); }
.vrow-title { font-weight: 700; font-size: 1.25rem; color: var(--bone); min-width: 5rem; }
.vrow-sep   { flex: 1; height: 1px; background: rgba(245,242,235,.15); }
.vrow-desc  { color: rgba(245,242,235,.7); font-size: .95rem; max-width: 22rem; text-align: start; }

/* ============================================================
   ARROW BUTTON
   ============================================================ */
.arrow { width: 48px; height: 48px; border-radius: 0; border: 1px solid rgba(245,242,235,.5); color: var(--bone); display: grid; place-items: center; font-size: 20px; transition: transform .4s cubic-bezier(.22,1,.36,1), background-color .4s; }
.arrow:hover { background: rgba(245,242,235,.14); transform: scale(1.06); }
.arrow:active { transform: scale(.95); }

/* ============================================================
   NEWSLETTER CARD (ink-eye SVG animation)
   ============================================================ */
.ink-eye { transform-box: fill-box; transform-origin: 50% 50%; cursor: pointer; transition: transform .32s cubic-bezier(.65,0,.35,1); }
.ink-eye:hover { transform: scaleY(.85); }
.ink-eye.closed { transform: scaleY(.06); }
.ink-eye.auto-blink { animation: inkAutoBlink 4.2s ease-in-out infinite; }
@keyframes inkAutoBlink { 0%,82%,100% { transform: scaleY(1); } 88% { transform: scaleY(.06); } 93% { transform: scaleY(1); } }

/* ============================================================
   BROWSER PANELS (workshops / reading-lists / writer-tips)
   ============================================================ */
/* — shared browser chrome — */
.rs-browser, .wk-browser, .rl-browser {
  display: grid; grid-template-columns: 1fr; background: var(--bone);
  box-shadow: 0 0 0 1px rgba(44,9,10,.18), 0 12px 48px -10px rgba(44,9,10,.22);
}
@media (min-width: 1024px) {
  .rs-browser  { grid-template-columns: 288px 1fr; grid-template-rows: auto 1fr; height: calc(100vh - 130px); min-height: 560px; max-height: 900px; }
  .wk-browser  { grid-template-columns: 288px 1fr; align-items: start; }
  .rl-browser  { grid-template-columns: 256px 1fr; align-items: start; }
}

/* browser head */
.rs-browser-head, .wk-browser-head, .rl-browser-head {
  grid-column: 1/-1; text-align: center; padding: 2.4rem 1.6rem 2rem;
  border-bottom: 1px solid rgba(44,9,10,.1); position: relative;
}
@media (min-width: 1024px) {
  .rs-browser-head, .wk-browser-head, .rl-browser-head { padding: 3rem 2rem 2.4rem; }
}
.rs-browser-head .kicker, .wk-browser-head .kicker, .rl-browser-head .kicker { font-size: 11px; color: rgba(44,9,10,.55); margin-bottom: .6rem; }
.rs-browser-head h2, .wk-browser-head h2, .rl-browser-head h2 { color: var(--ink); }
.rs-browser-head .sub, .wk-browser-head .sub, .rl-browser-head .sub { color: rgba(44,9,10,.6); margin-top: .7rem; max-width: 32rem; margin-inline: auto; }

/* back link */
.rs-back, .wk-back, .rl-back {
  position: absolute; top: 1.1rem; inset-inline-start: 1.2rem;
  font-family: "IBM Plex Sans Arabic", sans-serif; font-size: 11px; font-weight: 600; letter-spacing: .04em;
  color: var(--red); text-decoration: none; display: inline-flex; align-items: center; gap: 4px;
  padding: 5px 10px; border: 1px solid rgba(44,9,10,.2); transition: background .2s, color .2s;
}
.rs-back:hover, .wk-back:hover, .rl-back:hover { background: var(--red); color: var(--bone); border-color: var(--red); }

/* mobile back button inside detail panel */
.mobile-back {
  display: flex; align-items: center; gap: .4rem; color: rgba(44,9,10,.65); font-size: 13px;
  font-family: "IBM Plex Sans Arabic", sans-serif; padding: .5rem 0 1rem; background: none; border: none; cursor: pointer;
}
@media (min-width: 1024px) { .mobile-back { display: none; } }

/* panels-wrap */
.panels-wrap { display: contents; }
@media (min-width: 1024px) { .panels-wrap { display: contents; } }

/* list / detail panel base layout */
.rs-list, .wk-list, .rl-list {
  padding: 1rem; display: flex; flex-direction: column; gap: .6rem;
}
@media (min-width: 1024px) {
  .rs-list { border-inline-end: 1px solid rgba(44,9,10,.1); min-height: 0; overflow-y: auto; }
  .wk-list, .rl-list { border-inline-end: 1px solid rgba(44,9,10,.1); }
}

.rs-detail, .wk-detail-card, .rl-detail {
  padding: 1.5rem; position: relative;
}
@media (min-width: 1024px) {
  .rs-detail { padding: 2.25rem 2.5rem; min-height: 0; overflow-y: auto; }
  .wk-detail-card, .rl-detail { padding: 2.25rem 2.5rem; }
}

/* branded scrollbar — square, brand-red thumb on a bone track (no rounding, per brand rule) */
.rs-list, .rs-detail {
  scrollbar-width: thin;
  scrollbar-color: var(--red) transparent;
}
.rs-list::-webkit-scrollbar, .rs-detail::-webkit-scrollbar {
  width: 7px;
}
.rs-list::-webkit-scrollbar-track, .rs-detail::-webkit-scrollbar-track {
  background: rgba(44,9,10,.06);
}
.rs-list::-webkit-scrollbar-thumb, .rs-detail::-webkit-scrollbar-thumb {
  background: var(--red); border-radius: 0;
}
.rs-list::-webkit-scrollbar-thumb:hover, .rs-detail::-webkit-scrollbar-thumb:hover {
  background: var(--ink);
}

/* detail-open for mobile */
@media (max-width: 1023px) {
  .rs-browser .rs-list, .wk-browser .wk-list, .rl-browser .rl-list { display: block; }
  .rs-browser.detail-open .rs-list, .wk-browser.detail-open .wk-list, .rl-browser.detail-open .rl-list { display: none; }
  .rs-browser .rs-detail, .wk-browser .wk-detail-card, .rl-browser .rl-detail { display: none; }
  .rs-browser.detail-open .rs-detail, .wk-browser.detail-open .wk-detail-card, .rl-browser.detail-open .rl-detail { display: block; }
}

/* sort pills */
.rs-sort-pills { display: flex; flex-wrap: wrap; gap: .45rem; justify-content: center; margin-top: 1.1rem; }
.rs-sort-pill {
  font-family: "IBM Plex Sans Arabic", sans-serif; font-size: 11px; font-weight: 600; letter-spacing: .04em;
  border: 1px solid rgba(44,9,10,.18); padding: .35rem .9rem; background: rgba(44,9,10,.05);
  color: rgba(44,9,10,.5); cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.rs-sort-pill:hover  { background: var(--red); color: var(--bone); border-color: var(--red); }
.rs-sort-pill:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.rs-sort-pill.active { background: var(--red); color: var(--bone); border-color: var(--red); }

/* ============================================================
   SINGLE ARTICLE PAGE
   ============================================================ */
.art-backdrop { padding: 7rem 1.25rem 5rem; }
@media (min-width: 768px) { .art-backdrop { padding: 8.5rem 2rem 6rem; } }

.art-paper {
  max-width: 760px; margin: 0 auto; position: relative;
  background: var(--bone); color: var(--ink);
  padding: 2.25rem 1.5rem 3rem;
  box-shadow: 0 30px 70px -20px rgba(0,0,0,.5);
  transition: background-color .4s ease, color .4s ease;
}
@media (min-width: 768px) { .art-paper { padding: 3.5rem 3.5rem 4.5rem; } }

.art-paper .art-title  { color: var(--ink); }
.art-paper .kicker     { color: rgba(12,4,4,.55); }
.art-paper .art-header-meta { color: rgba(12,4,4,.6); }
.art-paper .art-col    { color: rgba(12,4,4,.82); }
.art-paper .art-share  { color: rgba(12,4,4,.55); }
.art-paper .art-share .icon { border-color: rgba(12,4,4,.25); }
.art-paper .art-author-card { background: rgba(12,4,4,.05); }
.art-paper .art-author-card b { color: var(--ink); }
.art-paper .art-author-card span { color: rgba(12,4,4,.55); }
.art-paper .avatar { background: var(--red); color: var(--bone); }

.art-paper.dark-mode { background: var(--red); color: var(--bone); box-shadow: none; }
.art-paper.dark-mode .art-title  { color: var(--bone); }
.art-paper.dark-mode .kicker     { color: rgba(245,242,235,.6); }
.art-paper.dark-mode .art-header-meta { color: rgba(245,242,235,.6); }
.art-paper.dark-mode .art-col    { color: rgba(245,242,235,.82); }
.art-paper.dark-mode .art-share  { color: rgba(245,242,235,.55); }
.art-paper.dark-mode .art-share .icon { border-color: rgba(245,242,235,.3); }
.art-paper.dark-mode .art-author-card { background: rgba(245,242,235,.06); }
.art-paper.dark-mode .art-author-card b { color: var(--bone); }
.art-paper.dark-mode .art-author-card span { color: rgba(245,242,235,.55); }
.art-paper.dark-mode .avatar { background: var(--bone); color: var(--red); }

.art-head-layout { display: flex; align-items: flex-start; justify-content: space-between; gap: 1.25rem; margin-bottom: 2rem; }
.art-head-text  { flex: 1; min-width: 0; }
.art-kicker-row { display: flex; align-items: center; gap: .6rem; margin-bottom: .9rem; }
.art-kicker-row .sep::before { content: "·"; opacity: .5; }
.art-title { margin-bottom: .6rem; font-size: 1.8rem; }
@media (min-width: 768px) { .art-title { font-size: 2.6rem; } }
.art-header-meta { font-size: .85rem; display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; }

.art-head-aside { flex-shrink: 0; }
.mode-toggle {
  display: inline-flex; align-items: center; gap: .5rem; background: transparent;
  border: 1px solid currentColor; border-radius: 0; padding: .5rem .9rem;
  cursor: pointer; color: inherit; opacity: .7; transition: opacity .2s;
}
.mode-toggle:hover { opacity: 1; }
.mode-toggle svg { width: 18px; height: 18px; flex-shrink: 0; }
.mode-toggle .txt { font-size: .78rem; white-space: nowrap; }
@media (max-width: 639px) { .mode-toggle .txt { display: none; } }

.art-figure { margin: 0 0 2.25rem; }
.art-figure .frame { height: 260px; }
@media (min-width: 768px) { .art-figure .frame { height: 420px; } }
.art-col { max-width: 100%; font-size: 1.05rem; line-height: 1.95; }
.art-col p { margin-bottom: 1.4rem; }
.art-col p:last-child { margin-bottom: 0; }
.art-col img, .page-content img { filter: grayscale(1) contrast(1.15) brightness(.92); margin: 1.5rem 0; }

.art-share { display: flex; align-items: center; gap: .9rem; margin: 2.25rem 0; font-size: .75rem; letter-spacing: .08em; }
.art-share .icon {
  width: 34px; height: 34px; border-radius: 0; border: 1px solid currentColor;
  display: inline-flex; align-items: center; justify-content: center; opacity: .75; transition: opacity .2s, transform .2s; flex-shrink: 0;
}
.art-share .icon:hover { opacity: 1; transform: translateY(-2px); }
.art-share .icon svg { width: 16px; height: 16px; }

.art-author-card { display: flex; align-items: center; gap: 1rem; padding: 1.15rem 1.4rem; margin-bottom: 2rem; }
.avatar { width: 44px; height: 44px; border-radius: 0; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: .78rem; font-weight: 700; text-transform: uppercase; }
.art-author-card > div:last-child { display: flex; flex-direction: column; gap: .15rem; font-size: .85rem; }

.art-comments { margin-top: 2rem; }

.more-rail { display: flex; gap: 1.5rem; overflow-x: auto; padding-bottom: .5rem; scrollbar-width: none; }
.more-rail::-webkit-scrollbar { display: none; }
.more-rail > * { flex: 0 0 220px; }
@media (min-width: 640px) { .more-rail > * { flex: 0 0 260px; } }

/* ============================================================
   SMALL GAPS
   ============================================================ */
.reveal-right { opacity: 0; transform: translateX(-28px); transition: opacity 1.1s cubic-bezier(.22,1,.36,1), transform 1.1s cubic-bezier(.22,1,.36,1); }
.reveal-right.in { opacity: 1; transform: none; }

.art-paper-head { margin-bottom: 1.75rem; }

.filter-bar { display: flex; flex-direction: column; align-items: center; gap: .9rem; }
@media (min-width: 640px) { .filter-bar { flex-direction: row; justify-content: center; flex-wrap: wrap; } }
.filter-label { display: flex; align-items: center; gap: .4rem; font-size: 12px; color: rgba(236,224,213,.5); }
.filter-label svg { width: 15px; height: 15px; }
.filter-row { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }

/* ============================================================
   RESOURCES HUB CARDS
   ============================================================ */
.res-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .res-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
.res-card {
  display: block; background: var(--bone); color: var(--ink); padding: 2rem 1.75rem;
  border-top: 3px solid var(--red); transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s;
}
.res-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px -16px rgba(0,0,0,.4); }
.res-card-num { font-size: 12px; letter-spacing: .1em; color: rgba(44,9,10,.4); margin-bottom: .9rem; }
.res-card-title { font-size: 1.4rem; font-weight: 700; color: var(--ink); margin-bottom: .75rem; }
.res-card-desc { color: rgba(44,9,10,.65); line-height: 1.8; margin-bottom: 1.4rem; }
.res-card-link { display: inline-flex; align-items: center; gap: .5rem; font-size: 13px; font-weight: 700; color: var(--red); }
.res-card-link svg { width: 16px; height: 16px; }

/* ============================================================
   BROWSER LIST ITEMS (shared pattern — workshops / reading-lists / writer-tips)
   ============================================================ */
.rs-list-item, .wk-list-item, .rl-list-item {
  display: flex; align-items: center; gap: .9rem; padding: .85rem; cursor: pointer;
  border: 1px solid transparent; background: rgba(44,9,10,.03); transition: background .2s, border-color .2s;
}
.rs-list-item:hover, .wk-list-item:hover, .rl-list-item:hover { background: rgba(44,9,10,.07); }
.rs-list-item.active, .wk-list-item.active, .rl-list-item.active { background: var(--bone); border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); }
.rs-list-item:focus-visible, .wk-list-item:focus-visible, .rl-list-item:focus-visible { outline: 2px solid var(--red); outline-offset: -2px; }

.rl-list-item { flex-direction: column; align-items: stretch; gap: .3rem; }

.wk-list-thumb, .rs-list-thumb {
  width: 56px; height: 56px; flex-shrink: 0; border-radius: 0; overflow: hidden; background: var(--red);
  display: flex; align-items: center; justify-content: center;
}
.wk-list-thumb img, .rs-list-thumb img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.15) brightness(.92); }
.initials { color: var(--bone); font-size: 1.1rem; font-weight: 700; }

.wk-list-body, .rl-list-body, .rs-list-body { flex: 1; min-width: 0; }
.wk-list-num  { font-size: 11px; color: rgba(44,9,10,.5); }
.wk-list-title, .rl-list-title, .rs-list-name { font-size: .95rem; font-weight: 700; color: var(--ink); margin: .15rem 0; }
.wk-list-meta { font-size: 12px; color: rgba(44,9,10,.55); }
.wk-list-price { font-size: 12px; color: var(--red); font-weight: 700; }
.rl-list-count, .rs-list-sub { font-size: 12px; color: rgba(44,9,10,.55); }
.rs-list-origin { font-size: 11px; color: rgba(44,9,10,.45); letter-spacing: .04em; }

.wk-badge { font-size: 10px; padding: .2rem .55rem; border-radius: 0; white-space: nowrap; font-weight: 600; letter-spacing: .02em; }
.wk-badge-open    { background: var(--red); color: var(--bone); animation: wkBadgePulse 1.6s ease-in-out infinite; }
.wk-badge-closing { background: rgba(44,9,10,.85); color: var(--bone); animation: wkBadgePulse 1.6s ease-in-out infinite; }
.wk-badge-coming  { background: rgba(44,9,10,.6); color: rgba(236,224,213,.85); }
.wk-badge-closed  { background: rgba(44,9,10,.35); color: rgba(236,224,213,.6); }
@keyframes wkBadgePulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.08); }
}
@media (prefers-reduced-motion: reduce) {
  .wk-badge-open, .wk-badge-closing { animation: none; }
}

/* ============================================================
   WORKSHOP DETAIL PANEL
   ============================================================ */
.wk-detail-img { margin: 0 0 1.5rem; height: 220px; overflow: hidden; }
@media (min-width: 768px) { .wk-detail-img { height: 300px; } }
.wk-detail-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.15) brightness(.92); }

.wk-detail-eyebrow { font-size: 12px; color: rgba(44,9,10,.55); margin-bottom: .5rem; }
.wk-detail-heading { font-size: 1.6rem; font-weight: 700; color: var(--ink); margin-bottom: .9rem; }
.wk-detail-audience { color: rgba(44,9,10,.75); line-height: 1.8; margin-bottom: 1.5rem; }

.wk-learn-section { margin-bottom: 1.5rem; }
.wk-learn-list { display: flex; flex-direction: column; gap: .55rem; }
.wk-learn-item { display: flex; align-items: flex-start; gap: .6rem; font-size: .92rem; color: rgba(44,9,10,.8); }
.wk-learn-check { color: var(--red); flex-shrink: 0; }

.wk-detail-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: .6rem 1.5rem; font-size: .95rem; color: var(--ink); font-weight: 700;
  padding: 1.1rem 0; border-top: 1px solid rgba(44,9,10,.1); border-bottom: 1px solid rgba(44,9,10,.1); margin-bottom: 1.5rem;
}
.wk-detail-stats b { display: block; font-size: .74rem; color: rgba(44,9,10,.5); font-weight: 600; margin-bottom: .15rem; }

.wk-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.wk-tag { font-size: 11px; padding: .3rem .8rem; background: rgba(44,9,10,.06); color: rgba(44,9,10,.6); }

.wk-sessions-section { margin-bottom: 1.5rem; }
.wk-sessions-heading { font-size: .95rem; font-weight: 700; color: var(--ink); margin-bottom: .75rem; }
.wk-sessions { display: flex; flex-direction: column; gap: .5rem; }
.wk-session-row {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem;
  font-size: .85rem; color: var(--bone); padding: .65rem .9rem; background: var(--red);
}
.wk-session-info { display: flex; gap: 1rem; flex-wrap: wrap; }
.wk-session-register { font-size: .78rem; padding: .4rem 1rem; flex-shrink: 0; }

.instructor-card { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.3rem; background: rgba(44,9,10,.04); margin-bottom: 1.75rem; }
.instructor-avatar {
  width: 42px; height: 42px; border-radius: 0; flex-shrink: 0; background: var(--red); color: var(--bone);
  display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.instructor-name { font-weight: 700; color: var(--ink); font-size: .9rem; margin-bottom: .15rem; }
.instructor-bio { font-size: .82rem; color: rgba(44,9,10,.6); }

.wk-register-btn { width: 100%; justify-content: center; }

.wk-faq-section { margin-bottom: 1.5rem; }
.wk-faq-item { border-bottom: 1px solid rgba(44,9,10,.1); }
.wk-faq-item:last-child { border-bottom: none; }
.wk-faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem; width: 100%;
  padding: .9rem 0; background: none; border: none; cursor: pointer; text-align: right;
  font-size: .9rem; font-weight: 700; color: var(--ink); font-family: "IBM Plex Sans Arabic", sans-serif;
}
.wk-faq-caret { flex-shrink: 0; transition: transform .25s ease; }
.wk-faq-item.open .wk-faq-caret { transform: rotate(180deg); }
.wk-faq-a {
  font-size: .85rem; color: rgba(44,9,10,.7); max-height: 0; overflow: hidden;
  transition: max-height .25s ease, padding .25s ease;
}
.wk-faq-item.open .wk-faq-a { max-height: 20rem; padding-bottom: .9rem; }
.wk-contact-note { text-align: center; font-size: .82rem; color: rgba(44,9,10,.55); margin-top: 1rem; }
.wk-contact-note a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   WORKSHOP REGISTRATION MODAL (Tap Payments)
   ============================================================ */
.wk-modal-overlay {
  position: fixed; inset: 0; z-index: 200; background: rgba(12,4,4,.72);
  display: flex; align-items: center; justify-content: center; padding: 20px;
  opacity: 0; pointer-events: none; transition: opacity .2s ease;
}
.wk-modal-overlay.open { opacity: 1; pointer-events: auto; }
.wk-modal {
  background: var(--bone); width: 100%; max-width: 420px; padding: 2rem 1.9rem;
  position: relative; box-shadow: 0 24px 80px -16px rgba(0,0,0,.5);
}
.wk-modal-close {
  position: absolute; top: .9rem; inset-inline-end: .9rem; width: 30px; height: 30px;
  background: transparent; border: 1px solid rgba(44,9,10,.2); color: var(--ink);
  font-size: 1.1rem; line-height: 1; cursor: pointer;
}
.wk-modal-close:hover { background: var(--red); color: var(--bone); border-color: var(--red); }
.wk-modal-title { font-family: var(--ar-head, inherit); font-weight: 700; font-size: 1.3rem; color: var(--ink); margin-bottom: 1.3rem; }
.wk-modal-field { margin-bottom: 12px; }
.wk-modal-field label { display: block; font-size: .78rem; font-weight: 600; color: var(--ink); margin-bottom: 5px; }
.wk-modal-field input {
  width: 100%; padding: .6rem .75rem; border: 1px solid rgba(44,9,10,.25); background: #fff;
  font-family: inherit; font-size: .88rem; color: var(--ink); outline: none;
}
.wk-modal-field input:focus { border-color: var(--red); }
.wk-modal-error {
  display: none; font-size: .8rem; color: var(--red); background: rgba(44,9,10,.06);
  border-inline-start: 3px solid var(--red); padding: .55rem .75rem; margin-bottom: 12px;
}
.wk-modal-submit { width: 100%; justify-content: center; border: none; cursor: pointer; margin-top: 4px; }
.wk-modal-submit:disabled { opacity: .6; cursor: default; }

/* ============================================================
   READING LIST DETAIL PANEL
   ============================================================ */
.rl-detail-heading { font-size: 1.5rem; font-weight: 700; color: var(--ink); margin-bottom: .75rem; }
.rl-detail-desc { color: rgba(44,9,10,.7); line-height: 1.8; margin-bottom: 1.75rem; }
.rl-groups { display: flex; flex-direction: column; gap: 1.5rem; }
.rl-group-label { font-size: .9rem; font-weight: 700; color: var(--ink); margin-bottom: .6rem; }
.rl-group-links { display: flex; flex-direction: column; gap: .5rem; list-style: none; }
.rl-link { color: var(--red); font-size: .9rem; text-decoration: underline; text-underline-offset: 3px; }
.rl-link:hover { color: var(--ink); }

/* ============================================================
   WRITER TIPS DETAIL PANEL
   ============================================================ */
.rs-detail-img { margin: 0 0 1.5rem; height: 220px; overflow: hidden; }
@media (min-width: 768px) { .rs-detail-img { height: 280px; } }
.rs-detail-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.15) brightness(.92); }

.rs-detail-eyebrow { font-size: 11px; letter-spacing: .04em; color: rgba(44,9,10,.5); margin-bottom: .5rem; }
.rs-detail-heading { font-size: 1.6rem; font-weight: 700; color: var(--ink); margin-bottom: .3rem; }
.rs-detail-nameEn { font-size: .82rem; color: rgba(44,9,10,.45); margin-bottom: 1rem; }
.rs-detail-bio { color: rgba(44,9,10,.75); line-height: 1.8; margin-bottom: 1.5rem; }

.rs-tips-kicker { font-size: .85rem; font-weight: 700; color: var(--ink); margin-bottom: .9rem; }
.rs-tips-list { display: flex; flex-direction: column; gap: .9rem; margin-bottom: 1.5rem; }
.rs-tip { display: flex; align-items: flex-start; gap: .8rem; }
.rs-tip-num { font-size: .75rem; color: var(--red); font-weight: 700; flex-shrink: 0; padding-top: .15rem; }
.rs-tip-text { font-size: .92rem; color: rgba(44,9,10,.8); line-height: 1.7; }

.rs-source { font-size: .8rem; color: rgba(44,9,10,.45); margin-bottom: 1.5rem; }

.rs-nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.25rem; border-top: 1px solid rgba(44,9,10,.1); }
.rs-nav-btn {
  display: flex; align-items: center; gap: .4rem; font-size: .82rem; color: var(--ink); background: none; border: none; cursor: pointer;
}
.rs-nav-btn:disabled { opacity: .3; cursor: default; }
.rs-nav-btn svg { width: 14px; height: 14px; }
.rs-nav-sep { width: 1px; height: 18px; background: rgba(44,9,10,.15); }

/* ============================================================
   CONTACT INFO ROWS
   ============================================================ */
.cinfo { display: flex; align-items: flex-start; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid rgba(245,242,235,.12); }
.cinfo:last-child { border-bottom: none; }
.cinfo h3 { font-size: .95rem; margin-bottom: .3rem; }
.cinfo a, .cinfo p { color: rgba(245,242,235,.65); font-size: .9rem; }
.cinfo a:hover { color: var(--bone); }
.cinfo-ic {
  width: 40px; height: 40px; flex-shrink: 0; border-radius: 0; border: 1px solid rgba(245,242,235,.3);
  display: flex; align-items: center; justify-content: center; color: var(--bone);
}
.cinfo-ic svg { width: 18px; height: 18px; }

/* minor wrapper spacing */
.rl-group { margin-bottom: 1.25rem; }
.rl-group:last-child { margin-bottom: 0; }
.wk-detail-body, .rl-detail-body, .rs-detail-body { display: block; }
