/* ============================================================
   WI Article — Public CSS
   WorldIMN | RTL | Dark Mode | Mobile First
   ============================================================ */

:root {
  --wi-navy:       #0a1628;
  --wi-navy-2:     #112240;
  --wi-gold:       #c9a84c;
  --wi-gold-light: #e8c97a;
  --wi-red:        #e63946;
  --wi-white:      #ffffff;
  --wi-gray-50:    #f8f9fc;
  --wi-gray-100:   #f0f2f7;
  --wi-gray-200:   #e2e6ef;
  --wi-gray-400:   #9aa3b8;
  --wi-gray-600:   #5a6478;
  --wi-gray-800:   #2d3447;
  --wi-text:       #1a2035;
  --wi-text-muted: #6b7280;
  --wi-border:     #e5e9f2;
  --wi-shadow-sm:  0 1px 4px rgba(0,0,0,.08);
  --wi-shadow-md:  0 4px 20px rgba(0,0,0,.12);
  --wi-radius:     14px;
  --wi-radius-sm:  8px;
  --wi-speed:      .25s;
  --wi-ease:       cubic-bezier(.4,0,.2,1);
  --wi-font:       'Cairo', sans-serif;
  --wi-font-size:  1.08rem;
  --wi-line-height:1.9;
}

[data-theme="dark"] {
  --wi-white:      #0f1624;
  --wi-gray-50:    #141d2f;
  --wi-gray-100:   #1a2438;
  --wi-gray-200:   #243050;
  --wi-gray-400:   #607090;
  --wi-gray-600:   #8090b0;
  --wi-text:       #dde4f0;
  --wi-text-muted: #7b8ca8;
  --wi-border:     #1e2d48;
  --wi-shadow-sm:  0 1px 4px rgba(0,0,0,.3);
  --wi-shadow-md:  0 4px 20px rgba(0,0,0,.4);
}

/* ─── Article Wrapper ─────────────────────────────────────── */
.wi-article-wrap {
  direction: rtl;
  font-family: var(--wi-font);
  color: var(--wi-text);
}

/* ─── Reading Progress Bar ────────────────────────────────── */
.wi-reading-progress {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  z-index: 9999;
  background: transparent;
}

.wi-reading-progress__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--wi-gold), var(--wi-red));
  width: 0%;
  transition: width .1s linear;
}

/* ─── Article Header ──────────────────────────────────────── */
.wi-article-header { margin-bottom: 32px; }

.wi-article-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .78rem;
  color: var(--wi-text-muted);
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.wi-article-breadcrumb a { color: var(--wi-text-muted); text-decoration: none; }
.wi-article-breadcrumb a:hover { color: var(--wi-gold); }
.wi-article-breadcrumb .sep { opacity: .4; }

.wi-article-cat-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--wi-gold);
  color: var(--wi-navy);
  font-size: .72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  text-decoration: none;
  margin-bottom: 12px;
}

.wi-article-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  line-height: 1.35;
  color: var(--wi-text);
  margin: 0 0 14px;
}

.wi-article-subtitle {
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--wi-text-muted);
  line-height: 1.6;
  margin: 0 0 18px;
}

/* Meta Row */
.wi-article-meta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 14px 0;
  border-top: 1px solid var(--wi-border);
  border-bottom: 1px solid var(--wi-border);
  margin-bottom: 20px;
}

.wi-article-author-link {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--wi-text);
  font-weight: 700;
  font-size: .9rem;
}

.wi-article-author-link img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--wi-gold);
}

.wi-meta-divider { color: var(--wi-gray-200); }

.wi-meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: .78rem;
  color: var(--wi-text-muted);
}

.wi-meta-badge--breaking {
  background: var(--wi-red);
  color: #fff;
  padding: 2px 10px;
  border-radius: 20px;
  font-weight: 700;
  animation: wi-blink 1.5s infinite;
}

@keyframes wi-blink { 0%,100%{opacity:1} 50%{opacity:.6} }

/* ─── Hero Image ──────────────────────────────────────────── */
.wi-article-hero {
  position: relative;
  border-radius: var(--wi-radius);
  overflow: hidden;
  margin-bottom: 28px;
  aspect-ratio: 16/9;
  background: var(--wi-gray-100);
}

.wi-article-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wi-article-hero__caption {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  padding: 12px 16px;
  background: linear-gradient(transparent, rgba(5,10,20,.7));
  color: rgba(255,255,255,.85);
  font-size: .75rem;
  text-align: center;
}

/* ─── Sticky Action Bar ───────────────────────────────────── */
.wi-article-action-bar {
  position: sticky;
  top: 0;
  z-index: 500;
  background: var(--wi-white);
  border-bottom: 1px solid var(--wi-border);
  box-shadow: var(--wi-shadow-sm);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all var(--wi-speed);
}

.wi-action-bar__title {
  flex: 1;
  font-size: .85rem;
  font-weight: 700;
  color: var(--wi-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 0;
  transform: translateY(-4px);
  transition: all var(--wi-speed);
}

.wi-action-bar__title.is-visible { opacity: 1; transform: translateY(0); }

.wi-action-bar__btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 7px 12px;
  border-radius: 30px;
  border: 1.5px solid var(--wi-border);
  background: transparent;
  cursor: pointer;
  font-family: var(--wi-font);
  font-size: .8rem;
  font-weight: 600;
  color: var(--wi-text-muted);
  transition: all var(--wi-speed);
  white-space: nowrap;
}

.wi-action-bar__btn:hover { border-color: var(--wi-navy); color: var(--wi-navy); background: var(--wi-gray-50); }
.wi-action-bar__btn.is-active { border-color: var(--wi-gold); color: var(--wi-navy); background: rgba(201,168,76,.1); }
.wi-action-bar__btn.is-liked  { border-color: var(--wi-red); color: var(--wi-red); background: rgba(230,57,70,.08); }
.wi-action-bar__btn.is-saved  { border-color: var(--wi-gold); color: var(--wi-gold); }
.wi-action-bar__btn svg { flex-shrink: 0; }

/* ─── TOC ─────────────────────────────────────────────────── */
.wi-toc {
  background: var(--wi-gray-50);
  border: 1px solid var(--wi-border);
  border-right: 3px solid var(--wi-gold);
  border-radius: var(--wi-radius-sm);
  padding: 16px 18px;
  margin: 28px 0;
  font-size: .88rem;
}

.wi-toc__header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  color: var(--wi-text);
  margin-bottom: 12px;
  cursor: pointer;
}

.wi-toc__header svg { color: var(--wi-gold); }

.wi-toc__toggle {
  margin-right: auto;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--wi-text-muted);
  display: flex;
  align-items: center;
  transition: transform var(--wi-speed);
}

.wi-toc__toggle[aria-expanded="false"] { transform: rotate(180deg); }

.wi-toc__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.wi-toc__list[hidden] { display: none; }

.wi-toc__item--h3 { padding-right: 16px; }

.wi-toc__link {
  display: flex;
  align-items: baseline;
  gap: 8px;
  text-decoration: none;
  color: var(--wi-text-muted);
  padding: 5px 8px;
  border-radius: 6px;
  transition: all var(--wi-speed);
  line-height: 1.5;
}

.wi-toc__link:hover { color: var(--wi-text); background: var(--wi-gray-100); }
.wi-toc__link.is-active { color: var(--wi-navy); font-weight: 700; }
[data-theme="dark"] .wi-toc__link.is-active { color: var(--wi-gold); }

.wi-toc__num {
  font-size: .72rem;
  color: var(--wi-gold);
  font-weight: 700;
  min-width: 22px;
  flex-shrink: 0;
}

/* ─── Article Content (Prose) ─────────────────────────────── */
.wi-article-content {
  font-size: var(--wi-font-size);
  line-height: var(--wi-line-height);
  color: var(--wi-text);
  max-width: 100%;
}

.wi-article-content h2 {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--wi-text);
  margin: 36px 0 14px;
  padding-right: 14px;
  border-right: 4px solid var(--wi-gold);
  line-height: 1.35;
}

.wi-article-content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--wi-text);
  margin: 28px 0 10px;
}

.wi-article-content p { margin: 0 0 1.3em; }

.wi-article-content a {
  color: var(--wi-navy);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--wi-speed);
}

[data-theme="dark"] .wi-article-content a { color: var(--wi-gold-light); }
.wi-article-content a:hover { color: var(--wi-gold); }

.wi-article-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--wi-radius-sm);
  margin: 20px auto;
  display: block;
  box-shadow: var(--wi-shadow-md);
}

.wi-article-content blockquote {
  border-right: 4px solid var(--wi-gold);
  padding: 16px 20px;
  margin: 24px 0;
  background: var(--wi-gray-50);
  border-radius: 0 var(--wi-radius-sm) var(--wi-radius-sm) 0;
  font-style: italic;
  font-size: 1.05em;
  color: var(--wi-text-muted);
}

.wi-article-content ul,
.wi-article-content ol {
  padding-right: 24px;
  padding-left: 0;
  margin: 0 0 1.2em;
}

.wi-article-content li { margin-bottom: .5em; }

.wi-article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: .9em;
  border-radius: var(--wi-radius-sm);
  overflow: hidden;
  box-shadow: var(--wi-shadow-sm);
}

.wi-article-content th {
  background: var(--wi-navy);
  color: var(--wi-white);
  padding: 10px 14px;
  text-align: right;
  font-weight: 700;
}

.wi-article-content td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--wi-border);
  text-align: right;
}

.wi-article-content tr:last-child td { border-bottom: none; }
.wi-article-content tr:nth-child(even) td { background: var(--wi-gray-50); }

.wi-article-content code {
  background: var(--wi-gray-100);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: .88em;
  font-family: monospace;
  direction: ltr;
}

/* Font Size Controls */
.wi-article-content.wi-font-sm { --wi-font-size: .95rem; }
.wi-article-content.wi-font-md { --wi-font-size: 1.08rem; }
.wi-article-content.wi-font-lg { --wi-font-size: 1.2rem; }
.wi-article-content.wi-font-xl { --wi-font-size: 1.35rem; }

/* Reading Mode */
body.wi-reading-mode {
  background: #fdf6e3;
  --wi-white: #fdf6e3;
  --wi-gray-50: #f5ecda;
  --wi-text: #3c3222;
  --wi-text-muted: #7a6852;
  --wi-border: #e8d9c0;
}

[data-theme="dark"].wi-reading-mode, body[data-theme="dark"].wi-reading-mode {
  background: #1a1510;
  --wi-white: #1a1510;
  --wi-text: #e8dcc8;
}

/* ─── Share Panel ─────────────────────────────────────────── */
.wi-share-wrap { position: relative; }

.wi-share-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--wi-white);
  border: 1px solid var(--wi-border);
  border-radius: var(--wi-radius);
  box-shadow: var(--wi-shadow-md);
  padding: 12px;
  min-width: 220px;
  z-index: 100;
  animation: wi-dropdown-in .2s var(--wi-ease);
}

@keyframes wi-dropdown-in { from { opacity:0; transform:translateY(-6px); } to { opacity:1; transform:none; } }

.wi-share-panel[hidden] { display: none; }

.wi-share-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.wi-share-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: var(--wi-radius-sm);
  border: 1px solid var(--wi-border);
  background: transparent;
  cursor: pointer;
  font-family: var(--wi-font);
  font-size: .78rem;
  font-weight: 600;
  color: var(--wi-text);
  transition: all var(--wi-speed);
}

.wi-share-btn:hover { background: var(--wi-navy); color: var(--wi-white); border-color: var(--wi-navy); }
.wi-share-btn.wi-share-copy { grid-column: 1 / -1; }

/* ─── Tags ────────────────────────────────────────────────── */
.wi-article-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0;
}

.wi-article-tags__label {
  font-size: .82rem;
  font-weight: 700;
  color: var(--wi-text-muted);
}

.wi-tag-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 12px;
  background: var(--wi-gray-100);
  border: 1px solid var(--wi-border);
  border-radius: 20px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--wi-text-muted);
  text-decoration: none;
  transition: all var(--wi-speed);
}

.wi-tag-link:hover { background: var(--wi-navy); color: var(--wi-white); border-color: var(--wi-navy); }
[data-theme="dark"] .wi-tag-link:hover { background: var(--wi-gold); color: var(--wi-navy); }

/* ─── Author Box ──────────────────────────────────────────── */
.wi-author-box {
  background: var(--wi-gray-50);
  border: 1px solid var(--wi-border);
  border-radius: var(--wi-radius);
  padding: 24px;
  margin: 32px 0;
}

.wi-author-box__inner {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.wi-author-box__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--wi-gold);
  flex-shrink: 0;
}

.wi-author-box__info { flex: 1; }

.wi-author-box__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.wi-author-box__name {
  margin: 0 0 4px;
  font-size: 1.05rem;
  font-weight: 800;
}

.wi-author-box__name a { color: var(--wi-text); text-decoration: none; }
.wi-author-box__name a:hover { color: var(--wi-gold); }

.wi-author-box__stats {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  color: var(--wi-text-muted);
}

.wi-author-box__dot { opacity: .4; }

.wi-author-box__bio {
  font-size: .88rem;
  line-height: 1.7;
  color: var(--wi-text-muted);
  margin: 0 0 12px;
}

.wi-author-box__socials {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.wi-author-social {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  border-radius: 20px;
  border: 1px solid var(--wi-border);
  color: var(--wi-text-muted);
  font-size: .78rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--wi-speed);
}

.wi-author-social:hover { background: var(--wi-navy); color: var(--wi-white); border-color: var(--wi-navy); }
.wi-author-more { background: var(--wi-gray-100); }

/* Follow Button */
.wi-btn--follow {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 16px;
  border-radius: 20px;
  border: 1.5px solid var(--wi-navy);
  background: transparent;
  color: var(--wi-navy);
  font-family: var(--wi-font);
  font-size: .82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--wi-speed);
  white-space: nowrap;
}

[data-theme="dark"] .wi-btn--follow { border-color: var(--wi-gold); color: var(--wi-gold); }

.wi-btn--follow:hover,
.wi-btn--follow.is-following {
  background: var(--wi-navy);
  color: var(--wi-white);
}

[data-theme="dark"] .wi-btn--follow:hover,
[data-theme="dark"] .wi-btn--follow.is-following {
  background: var(--wi-gold);
  color: var(--wi-navy);
}

/* ─── Section Headers ─────────────────────────────────────── */
.wi-section-header { margin-bottom: 18px; }

.wi-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--wi-text);
  margin: 0;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--wi-gold);
}

.wi-section-title svg { color: var(--wi-gold); }

/* ─── Related Articles ────────────────────────────────────── */
.wi-related-articles { margin: 40px 0; }

.wi-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.wi-related-card {
  background: var(--wi-white);
  border: 1px solid var(--wi-border);
  border-radius: var(--wi-radius);
  overflow: hidden;
  box-shadow: var(--wi-shadow-sm);
  transition: transform var(--wi-speed), box-shadow var(--wi-speed);
}

.wi-related-card:hover { transform: translateY(-3px); box-shadow: var(--wi-shadow-md); }

.wi-related-card__thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--wi-gray-100);
}

.wi-related-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s var(--wi-ease);
}

.wi-related-card:hover .wi-related-card__thumb img { transform: scale(1.05); }

.wi-related-card__thumb--empty {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--wi-gray-400);
}

.wi-related-card__cat {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--wi-gold);
  color: var(--wi-navy);
  font-size: .65rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
}

.wi-related-card__body { padding: 12px 14px; }

.wi-related-card__title {
  margin: 0 0 8px;
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.wi-related-card__title a { color: var(--wi-text); text-decoration: none; }
.wi-related-card__title a:hover { color: var(--wi-gold); }

.wi-related-card__meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .73rem;
  color: var(--wi-text-muted);
}

/* ─── Related Shorts ──────────────────────────────────────── */
.wi-related-shorts { margin: 40px 0; }

.wi-related-shorts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.wi-related-short-card {
  background: var(--wi-white);
  border: 1px solid var(--wi-border);
  border-radius: var(--wi-radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--wi-speed), box-shadow var(--wi-speed);
  position: relative;
}

.wi-related-short-card:hover { transform: translateY(-3px); box-shadow: var(--wi-shadow-md); }

.wi-related-short-card__thumb {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--wi-gray-100);
}

.wi-related-short-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s var(--wi-ease);
}

.wi-related-short-card:hover .wi-related-short-card__thumb img { transform: scale(1.05); }

.wi-related-short-card__thumb--empty {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--wi-gray-400);
  background: linear-gradient(135deg, var(--wi-navy) 0%, var(--wi-navy-2) 100%);
}

.wi-related-short-card__badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--wi-red);
  color: #fff;
  font-size: .6rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 20px;
  letter-spacing: .03em;
}

.wi-related-short-card__body { padding: 10px 12px; }

.wi-related-short-card__cat {
  font-size: .65rem;
  font-weight: 700;
  color: var(--wi-gold);
  display: block;
  margin-bottom: 4px;
}

.wi-related-short-card__title {
  margin: 0 0 6px;
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--wi-text);
}

.wi-related-short-card__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .7rem;
  color: var(--wi-text-muted);
}

/* ─── Prev/Next Navigation ────────────────────────────────── */
.wi-article-prevnext {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 40px 0;
}

.wi-prevnext-link {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  background: var(--wi-gray-50);
  border: 1px solid var(--wi-border);
  border-radius: var(--wi-radius);
  text-decoration: none;
  color: var(--wi-text);
  transition: all var(--wi-speed);
}

.wi-prevnext-link:hover { background: var(--wi-navy); color: var(--wi-white); border-color: var(--wi-navy); }
.wi-prevnext-link--next { text-align: left; }

.wi-prevnext-label {
  font-size: .72rem;
  font-weight: 700;
  color: var(--wi-gold);
  display: flex;
  align-items: center;
  gap: 4px;
  text-transform: uppercase;
}

.wi-prevnext-link:hover .wi-prevnext-label { color: var(--wi-gold-light); }

.wi-prevnext-title {
  font-size: .88rem;
  font-weight: 700;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ─── Font Size Control ───────────────────────────────────── */
.wi-font-control {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--wi-gray-50);
  border: 1px solid var(--wi-border);
  border-radius: 30px;
  padding: 3px 6px;
}

.wi-font-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: var(--wi-font);
  font-weight: 700;
  color: var(--wi-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--wi-speed);
}

.wi-font-btn:hover { background: var(--wi-gray-200); color: var(--wi-text); }
.wi-font-btn.is-active { background: var(--wi-navy); color: var(--wi-white); }
[data-theme="dark"] .wi-font-btn.is-active { background: var(--wi-gold); color: var(--wi-navy); }

/* ─── Mobile ──────────────────────────────────────────────── */
@media (max-width: 768px) {
  .wi-article-title { font-size: 1.5rem; }
  .wi-article-action-bar { padding: 8px 12px; gap: 5px; overflow-x: auto; }
  .wi-action-bar__btn span { display: none; }
  .wi-action-bar__btn { padding: 7px; border-radius: 50%; }
  .wi-related-grid { grid-template-columns: repeat(2, 1fr); }
  .wi-related-shorts-grid { grid-template-columns: repeat(2, 1fr); }
  .wi-author-box__inner { flex-direction: column; align-items: center; text-align: center; }
  .wi-author-box__header { flex-direction: column; align-items: center; }
  .wi-author-box__stats { justify-content: center; }
  .wi-author-box__socials { justify-content: center; }
  .wi-article-prevnext { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .wi-related-grid { grid-template-columns: 1fr; }
  .wi-related-shorts-grid { grid-template-columns: 1fr; }
}
