/* ==========================================================================
   OERL Article Detail — modern online-magazine layout.
   Scoped .art-* ; uses theme tokens from oerl-enhance.css.
   ========================================================================== */
.art-eyebrow { display:inline-block; font-size:13px; font-weight:800; letter-spacing:.06em; text-transform:uppercase;
  color:#fff; background:var(--tg-theme-secondary-500); padding:6px 14px; border-radius:30px; margin-bottom:18px; }

/* ---------- HERO ---------- */
.art-hero { position:relative; overflow:hidden; color:#fff; padding:70px 0 150px;
  background:linear-gradient(135deg,#0a1830,#0f2b46 55%,#1c6a97); }
.art-hero::after { content:""; position:absolute; inset:0; background-image:radial-gradient(rgba(255,255,255,.06) 1px,transparent 1px); background-size:26px 26px; opacity:.5; }
.art-hero .container { position:relative; z-index:2; max-width:900px; }
.art-crumb { font-size:13.5px; color:rgba(255,255,255,.72); margin-bottom:20px; }
.art-crumb a { color:rgba(255,255,255,.72); } .art-crumb a:hover { color:#fff; } .art-crumb .sep { opacity:.5; margin:0 7px; }
.art-hero h1 { font-size:44px; line-height:1.16; font-weight:800; margin:0 0 24px; color:#fff; }
.art-byline { display:flex; flex-wrap:wrap; align-items:center; gap:14px 22px; }
.art-byline-author { display:flex; align-items:center; gap:12px; }
.art-byline-author img { width:48px; height:48px; border-radius:50%; object-fit:cover; border:2px solid rgba(255,255,255,.3); }
.art-byline-author .n { font-size:15px; font-weight:700; color:#fff; }
.art-byline-author .r { font-size:12.5px; color:rgba(255,255,255,.7); }
.art-byline-meta { display:flex; flex-wrap:wrap; gap:18px; font-size:13.5px; color:rgba(255,255,255,.82); }
.art-byline-meta span { display:inline-flex; align-items:center; gap:7px; }
.art-byline-meta iconify-icon { font-size:17px; color:var(--tg-theme-secondary-500); }

/* ---------- FEATURED IMAGE (overlaps hero) ---------- */
.art-feature { max-width:1000px; margin:-110px auto 0; padding:0 15px; position:relative; z-index:3; }
.art-feature img { width:100%; border-radius:20px; box-shadow:0 40px 80px -40px rgba(10,24,48,.6); display:block; }
.art-feature figcaption { font-size:13px; color:var(--tg-body-color); text-align:center; margin-top:14px; font-style:italic; }

/* ---------- BODY LAYOUT ---------- */
.art-body-sec { padding:56px 0 90px; }
.art-layout { max-width:720px; margin:0 auto; }
/* horizontal share bar at the top of the article */
.art-share { display:flex; align-items:center; gap:11px; margin-bottom:30px; padding-bottom:24px; border-bottom:1px solid var(--oerl-border-soft); }
.art-share .lbl { font-size:12px; font-weight:800; text-transform:uppercase; letter-spacing:.05em; color:var(--tg-body-color); margin-right:4px; }
.art-share a, .art-share button { width:42px; height:42px; border:1px solid var(--oerl-border-soft); border-radius:11px; background:var(--oerl-surface);
  color:var(--tg-body-color); display:inline-flex; align-items:center; justify-content:center; font-size:15px; cursor:pointer; transition:all .2s ease; position:relative; }
.art-share a:hover, .art-share button:hover { border-color:var(--tg-theme-primary-400); color:var(--tg-theme-primary-500); transform:translateY(-2px); }
.art-share button svg { width:18px; height:18px; }
.art-share button.copied::after { content:"Copied"; position:absolute; bottom:calc(100% + 8px); left:50%; transform:translateX(-50%);
  background:var(--tg-heading-color); color:var(--oerl-surface); font-size:11px; font-weight:700; padding:4px 9px; border-radius:6px; white-space:nowrap; }

.art-content { max-width:720px; }
.art-content > p { font-size:17px; line-height:1.85; color:var(--tg-body-color); margin:0 0 24px; }
[data-bs-theme="dark"] .art-content > p { color:var(--oerl-text); }
.art-content .lead { font-size:20px; line-height:1.7; color:var(--tg-heading-color); font-weight:500; }
.art-content h2 { font-size:28px; font-weight:800; color:var(--tg-heading-color); margin:44px 0 16px; line-height:1.3; }
.art-content h3 { font-size:21px; font-weight:700; color:var(--tg-heading-color); margin:34px 0 12px; }
.art-content ul, .art-content ol { margin:0 0 24px; padding-left:22px; }
.art-content li { font-size:16.5px; line-height:1.8; color:var(--tg-body-color); margin-bottom:8px; }
[data-bs-theme="dark"] .art-content li { color:var(--oerl-text); }
.art-content a.inline-link { color:var(--tg-theme-primary-500); font-weight:600; text-decoration:underline; text-underline-offset:2px; }

/* pull quote */
.art-pullquote { position:relative; margin:38px 0; padding:8px 0 8px 30px; border-left:4px solid var(--tg-theme-secondary-500); }
.art-pullquote p { font-size:23px; line-height:1.5; font-weight:700; color:var(--tg-heading-color); margin:0 0 10px; font-style:italic; }
.art-pullquote cite { font-size:14px; font-style:normal; color:var(--tg-theme-secondary-500); font-weight:600; }

/* inline figure */
.art-figure { margin:34px 0; }
.art-figure img { width:100%; border-radius:16px; display:block; }
.art-figure figcaption { font-size:13px; color:var(--tg-body-color); text-align:center; margin-top:12px; font-style:italic; }

/* embedded video */
.art-video { position:relative; margin:34px 0; border-radius:16px; overflow:hidden; background:#000; aspect-ratio:16/9; box-shadow:0 30px 60px -36px rgba(10,24,48,.6); }
.art-video iframe { position:absolute; inset:0; width:100%; height:100%; border:0; }

/* tags */
.art-tags { display:flex; flex-wrap:wrap; gap:9px; margin:36px 0 0; padding-top:28px; border-top:1px solid var(--oerl-border-soft); }
.art-tags a { font-size:13px; font-weight:600; padding:7px 15px; border-radius:30px; background:var(--oerl-surface-2);
  border:1px solid var(--oerl-border-soft); color:var(--tg-body-color); transition:all .2s ease; }
.art-tags a:hover { border-color:var(--tg-theme-primary-400); color:var(--tg-theme-primary-500); }

/* ---------- AUTHOR CARD ---------- */
.art-author { max-width:1000px; margin:0 auto; padding:0 15px; }
.art-author-card { display:flex; gap:22px; align-items:center; background:var(--oerl-surface); border:1px solid var(--oerl-border-soft);
  border-radius:20px; padding:28px 30px; }
.art-author-card img { width:88px; height:88px; border-radius:50%; object-fit:cover; flex:0 0 88px; }
.art-author-card .ac-name { font-size:19px; font-weight:800; color:var(--tg-heading-color); margin:0 0 3px; }
.art-author-card .ac-role { font-size:13.5px; color:var(--tg-theme-primary-500); font-weight:600; margin-bottom:8px; }
.art-author-card p { font-size:14.5px; line-height:1.65; color:var(--tg-body-color); margin:0; }
[data-bs-theme="dark"] .art-author-card p { color:var(--oerl-text); }
.art-author-social { display:flex; gap:10px; margin-left:auto; flex:0 0 auto; }
.art-author-social a { width:38px; height:38px; border-radius:10px; background:var(--oerl-surface-2); color:var(--tg-body-color);
  display:inline-flex; align-items:center; justify-content:center; transition:all .2s ease; }
.art-author-social a:hover { background:var(--tg-theme-primary-500); color:#fff; }

/* ---------- PREV / NEXT ---------- */
.art-nav { max-width:1000px; margin:44px auto 0; padding:0 15px; display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.art-nav a { display:flex; flex-direction:column; gap:6px; padding:22px 24px; border:1px solid var(--oerl-border-soft);
  border-radius:16px; background:var(--oerl-surface); transition:all .25s ease; }
.art-nav a:hover { border-color:var(--tg-theme-primary-300); transform:translateY(-3px); box-shadow:0 22px 46px -32px rgba(20,24,60,.34); }
.art-nav .dir { display:inline-flex; align-items:center; gap:7px; font-size:12px; font-weight:700; text-transform:uppercase; letter-spacing:.05em; color:var(--tg-theme-secondary-500); }
.art-nav .dir svg { width:15px; height:15px; }
.art-nav.next a { text-align:right; }
.art-nav .t { font-size:16px; font-weight:700; color:var(--tg-heading-color); line-height:1.4; }
.art-nav-item.next { align-items:flex-end; }
.art-nav-item.next .dir { flex-direction:row-reverse; }
.art-nav-item.next .t { text-align:right; }

/* ---------- NEWSLETTER CTA ---------- */
.art-news { max-width:1000px; margin:60px auto 0; padding:0 15px; }
.art-news-inner { position:relative; overflow:hidden; border-radius:24px; padding:50px 44px; text-align:center; color:#fff;
  background:linear-gradient(135deg,#0a1830,#123a52 55%,#1c6a97); }
.art-news-inner iconify-icon { font-size:40px; color:var(--tg-theme-secondary-500); margin-bottom:8px; }
.art-news-inner h3 { font-size:28px; font-weight:800; color:#fff; margin:0 0 10px; }
.art-news-inner p { font-size:15.5px; color:rgba(255,255,255,.85); max-width:520px; margin:0 auto 24px; }
.art-news-form { display:flex; gap:10px; max-width:480px; margin:0 auto; flex-wrap:wrap; }
.art-news-form input { flex:1 1 240px; background:rgba(255,255,255,.95); border:0; border-radius:40px; padding:14px 22px; font-size:14.5px; color:#0a1830; }
.art-news-form button { flex:0 0 auto; border:0; border-radius:40px; padding:14px 28px; font-size:14.5px; font-weight:700; cursor:pointer;
  background:var(--tg-theme-secondary-500); color:#fff; transition:all .2s ease; }
.art-news-form button:hover { background:var(--tg-theme-secondary-600); }

/* ---------- RELATED ---------- */
.art-related { padding:80px 0; background:var(--oerl-surface-2); margin-top:70px; }
[data-bs-theme="dark"] .art-related { background:var(--oerl-bg-2, #0d1730); }
.art-related-head { max-width:1000px; margin:0 auto 34px; padding:0 15px; }
.art-related-head h2 { font-size:30px; font-weight:800; color:var(--tg-heading-color); margin:0; }
.art-related-grid { max-width:1000px; margin:0 auto; padding:0 15px; display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.art-rel-card { background:var(--oerl-surface); border:1px solid var(--oerl-border-soft); border-radius:16px; overflow:hidden;
  transition:transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.art-rel-card:hover { transform:translateY(-5px); border-color:var(--tg-theme-primary-300); box-shadow:0 26px 52px -32px rgba(20,24,60,.34); }
.art-rel-card .im { aspect-ratio:16/10; overflow:hidden; }
.art-rel-card .im img { width:100%; height:100%; object-fit:cover; transition:transform .5s ease; }
.art-rel-card:hover .im img { transform:scale(1.06); }
.art-rel-card .bd { padding:18px 20px 22px; }
.art-rel-card .cat { font-size:11.5px; font-weight:800; letter-spacing:.04em; text-transform:uppercase; color:var(--tg-theme-primary-500); }
.art-rel-card h4 { font-size:16.5px; font-weight:700; color:var(--tg-heading-color); margin:6px 0 8px; line-height:1.4; }
.art-rel-card .mt { font-size:12.5px; color:var(--tg-body-color); display:inline-flex; align-items:center; gap:6px; }
.art-rel-card .mt iconify-icon { font-size:15px; color:var(--tg-theme-secondary-500); }

/* ---------- RESPONSIVE ---------- */
@media (max-width:991px){
  .art-hero h1 { font-size:34px; }
  .art-layout { grid-template-columns:1fr; gap:26px; }
  .art-share { position:static; flex-direction:row; flex-wrap:wrap; }
  .art-share .lbl { width:100%; text-align:left; }
  .art-related-grid { grid-template-columns:1fr 1fr; }
}
@media (max-width:575px){
  .art-hero { padding:54px 0 130px; } .art-hero h1 { font-size:27px; }
  .art-feature { margin-top:-90px; }
  .art-content .lead { font-size:18px; } .art-content > p { font-size:16px; }
  .art-pullquote p { font-size:20px; }
  .art-author-card { flex-direction:column; text-align:center; } .art-author-social { margin:0; }
  .art-nav { grid-template-columns:1fr; } .art-related-grid { grid-template-columns:1fr; }
  .art-news-inner { padding:38px 22px; }
}
