:root {
  --rotana-red: #b4232a;
  --rotana-dark: #111827;
  --rotana-muted: #667085;
  --rotana-line: rgba(17, 24, 39, .1);
  --rotana-paper: #eef1f5;
  --rotana-card: #fff;
}

body {
  background:
    linear-gradient(135deg, rgba(180, 35, 42, .035), rgba(17, 24, 39, .025)),
    repeating-linear-gradient(0deg, rgba(17, 24, 39, .028) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(90deg, rgba(180, 35, 42, .025) 0 1px, transparent 1px 42px),
    var(--rotana-paper) !important;
}

#tie-wrapper,
#tie-container,
.background-overlay {
  background: transparent !important;
}

#theme-header {
  background: rgba(255, 255, 255, .97) !important;
  border-bottom: 3px solid var(--rotana-red) !important;
  box-shadow: 0 16px 40px rgba(17, 24, 39, .12) !important;
}

#main-nav,
#main-nav .menu-sub-content,
#main-nav .comp-sub-menu {
  background: var(--rotana-red) !important;
}

.rotana-news-footer {
  display: none !important;
}

.rotana-home-shell {
  width: min(100% - 44px, 1320px);
  margin-inline: auto;
}

.rotana-global-ticker {
  display: none !important;
}

.rotana-global-ticker-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(100% - 36px, 1480px);
  min-height: 50px;
  margin-inline: auto;
  overflow: hidden;
}

.rotana-global-ticker-label,
.rotana-alert-label {
  flex: 0 0 auto;
  align-self: stretch;
  display: grid;
  place-items: center;
  min-width: 118px;
  padding: 0 16px;
  color: #fff;
  background: var(--rotana-red);
  font-weight: 900;
}

.rotana-global-ticker-window,
.rotana-alert-window {
  flex: 1;
  direction: ltr;
  overflow: hidden;
  white-space: nowrap;
}

.rotana-global-ticker-track,
.rotana-alert-track {
  display: inline-flex;
  gap: 34px;
  min-width: max-content;
  will-change: transform;
  animation: rotanaTickerVisible 42s linear infinite;
}

.rotana-global-ticker-track:hover,
.rotana-alert-track:hover {
  animation-play-state: paused;
}

.rotana-global-ticker-track a,
.rotana-alert-track a {
  position: relative;
  direction: rtl;
  color: #fff !important;
  font-weight: 900;
  line-height: 1;
}

.rotana-global-ticker-track a::after,
.rotana-alert-track a::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -20px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rotana-red);
  transform: translateY(-50%);
}

@keyframes rotanaTickerVisible {
  from { transform: translateX(0); }
  to { transform: translateX(50%); }
}

.rotana-news-home {
  padding: 0 0 28px;
}

.rotana-top-alert {
  margin-top: 14px;
}

.rotana-top-alert .rotana-home-shell {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 50px;
  overflow: hidden;
  border: 1px solid var(--rotana-line);
  border-radius: 8px;
  background: var(--rotana-dark);
  color: #fff;
}

.rotana-news-nav {
  display: none !important;
}

.rotana-prayer-strip {
  padding-top: 8px;
}

.rotana-prayer-strip .rotana-home-shell {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  overflow-x: auto;
  border: 1px solid rgba(180, 35, 42, .16);
  border-radius: 8px;
  padding: 7px 9px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(248, 250, 252, .94)),
    repeating-linear-gradient(90deg, rgba(180, 35, 42, .045) 0 1px, transparent 1px 26px);
}

.rotana-prayer-strip strong {
  flex: 0 0 auto;
  color: var(--rotana-red);
  font-weight: 900;
}

.rotana-prayer-strip em {
  font-style: normal;
}

.rotana-prayer-strip span {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 28px;
  border-radius: 999px;
  padding: 0 10px;
  color: var(--rotana-dark);
  background: #fff;
  border: 1px solid var(--rotana-line);
  font-weight: 800;
}

.rotana-prayer-strip b {
  color: var(--rotana-red);
}

.rotana-prayer-strip button {
  flex: 0 0 auto;
  min-height: 30px;
  border: 0;
  border-radius: 7px;
  padding: 0 11px;
  color: #fff;
  background: var(--rotana-dark);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.rotana-update-strip {
  padding-top: 8px;
}

.rotana-update-strip .rotana-home-shell {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  border: 1px solid var(--rotana-line);
  border-radius: 8px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, .92);
}

.rotana-update-strip strong {
  color: var(--rotana-red);
}

.rotana-update-strip span {
  color: var(--rotana-dark);
  font-weight: 800;
}

.rotana-update-strip a {
  margin-right: auto;
  color: var(--rotana-red) !important;
  font-weight: 900;
}

.rotana-hero {
  padding: 14px 0 18px;
}

.rotana-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, .58fr);
  gap: 14px;
  align-items: stretch;
}

.rotana-lead-story,
.rotana-hero-side,
.rotana-side-panel,
.rotana-card {
  border: 1px solid var(--rotana-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(17, 24, 39, .06);
}

.rotana-kicker,
.rotana-hero-brand span,
.rotana-hero-side-link span,
.rotana-lead-content span {
  color: var(--rotana-red);
  font-weight: 900;
}

.rotana-hero-brand h1 {
  margin: 8px 0 12px;
  font-size: clamp(24px, 2vw, 32px);
  line-height: 1.22;
  color: var(--rotana-dark);
}

.rotana-hero-brand p {
  margin: 0;
  color: var(--rotana-muted);
  line-height: 1.8;
}

.rotana-side-panel a,
.rotana-section-title a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border-radius: 7px;
  padding: 0 13px;
  color: #fff !important;
  background: var(--rotana-red);
  font-weight: 900;
}

.rotana-side-panel a {
  background: var(--rotana-dark) !important;
}

.rotana-lead-story {
  overflow: hidden;
}

.rotana-lead-media,
.rotana-card-media {
  display: block;
}

.rotana-lead-media img,
.rotana-lead-media .rotana-photo-fallback {
  width: 100%;
  height: 390px;
  object-fit: cover;
}

.rotana-lead-content {
  padding: 18px;
}

.rotana-lead-content h2 {
  margin: 8px 0 10px;
  font-size: clamp(25px, 2.4vw, 38px);
  line-height: 1.38;
}

.rotana-hero-side {
  display: grid;
  gap: 9px;
  padding: 14px;
}

.rotana-hero-brand {
  border-bottom: 1px solid var(--rotana-line);
  padding-bottom: 12px;
}

.rotana-hero-side-link {
  display: grid;
  gap: 5px;
  border: 1px solid var(--rotana-line);
  border-radius: 7px;
  padding: 12px;
  background: #f8fafc;
}

.rotana-hero-side-link strong {
  color: var(--rotana-dark);
  line-height: 1.6;
  font-size: 15px;
}

.rotana-lead-content h2 a,
.rotana-card h3 a {
  color: var(--rotana-dark) !important;
}

.rotana-lead-content p,
.rotana-card p,
.rotana-side-note {
  margin: 0;
  color: var(--rotana-muted);
  line-height: 1.75;
}

.rotana-main-board {
  padding: 10px 0 18px;
}

.rotana-board-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .34fr);
  gap: 16px;
  align-items: start;
}

.rotana-section-title {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  border-bottom: 2px solid var(--rotana-dark);
  margin-bottom: 14px;
}

.rotana-section-title h2 {
  margin: 0;
  border-radius: 8px 8px 0 0;
  padding: 9px 14px;
  color: #fff;
  background: var(--rotana-dark);
  font-size: 21px;
}

.rotana-card-grid,
.rotana-section-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.rotana-card-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rotana-card {
  overflow: hidden;
}

.rotana-card-media img,
.rotana-card-media .rotana-photo-fallback {
  width: 100%;
  height: 168px;
  object-fit: cover;
}

.rotana-card-body {
  padding: 12px;
}

.rotana-card h3 {
  margin: 6px 0 8px;
  font-size: 17px;
  line-height: 1.5;
}

.rotana-card time {
  display: block;
  color: var(--rotana-muted);
  font-size: 12px;
  font-weight: 800;
}

.rotana-card.is-compact .rotana-card-media img,
.rotana-card.is-compact .rotana-card-media .rotana-photo-fallback {
  height: 138px;
}

.rotana-side-panel {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.rotana-side-panel h2 {
  margin: 0;
  color: var(--rotana-dark);
}

.rotana-rank-link {
  justify-content: flex-start !important;
  gap: 10px;
  min-height: auto !important;
  padding: 10px !important;
  text-align: right;
  background: #fff !important;
  color: var(--rotana-dark) !important;
  border: 1px solid var(--rotana-line);
}

.rotana-rank-link b {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #fff;
  background: var(--rotana-red);
}

.rotana-rank-link span {
  line-height: 1.55;
}

.rotana-editor-picks {
  padding: 4px 0 18px;
}

.rotana-section-block {
  padding: 10px 0 18px;
}

.rotana-all-sections-heading {
  padding: 14px 0 4px;
}

.rotana-all-sections-heading .rotana-home-shell {
  border: 1px solid var(--rotana-line);
  border-radius: 8px;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(17, 24, 39, .94), rgba(180, 35, 42, .9)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .08) 0 1px, transparent 1px 32px);
  color: #fff;
}

.rotana-all-sections-heading span {
  display: block;
  color: rgba(255, 255, 255, .78);
  font-weight: 900;
  margin-bottom: 6px;
}

.rotana-all-sections-heading h2 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 28px;
}

.rotana-all-sections-heading p {
  margin: 0;
  color: rgba(255, 255, 255, .78);
}

.rotana-empty-section {
  display: grid;
  align-content: center;
  gap: 8px;
  min-height: 190px;
  border: 1px dashed rgba(180, 35, 42, .35);
  border-radius: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, .78);
}

.rotana-empty-section strong {
  color: var(--rotana-red);
  font-size: 20px;
}

.rotana-empty-section span {
  color: var(--rotana-muted);
  line-height: 1.7;
  font-weight: 700;
}

.rotana-empty-section a {
  display: inline-flex;
  width: fit-content;
  min-height: 34px;
  align-items: center;
  border-radius: 7px;
  padding: 0 12px;
  color: #fff !important;
  background: var(--rotana-dark);
  font-weight: 900;
}

.is-fallback-section .rotana-card {
  opacity: .96;
}

.rotana-photo-fallback {
  display: grid;
  place-items: center;
  min-height: 132px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(17, 24, 39, .92), rgba(180, 35, 42, .9)),
    url("https://rotana-news.net/wp-content/uploads/2026/06/%D9%84%D9%88%D9%82%D9%88-%D8%B1%D9%88%D8%AA%D8%A7%D9%86%D8%A7.jpeg") center/76px 76px no-repeat,
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .12) 0 1px, transparent 1px 26px);
  font-weight: 900;
}

.rotana-single {
  width: min(100% - 44px, 1180px);
  margin: 22px auto 0;
}

.rotana-single-article,
.rotana-related {
  border: 1px solid var(--rotana-line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(248, 250, 252, .94)),
    repeating-linear-gradient(90deg, rgba(17, 24, 39, .03) 0 1px, transparent 1px 28px);
  box-shadow: 0 10px 28px rgba(17, 24, 39, .08);
}

.rotana-single-header {
  padding: 26px 28px 16px;
}

.rotana-single-header h1 {
  margin: 8px 0 12px;
  color: var(--rotana-dark);
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.22;
}

.rotana-single-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--rotana-muted);
  font-weight: 800;
}

.rotana-single-meta img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
}

.rotana-single-hero {
  margin: 0;
}

.rotana-single-hero img,
.rotana-single-hero .rotana-photo-fallback {
  display: block;
  width: 100%;
  max-height: 560px;
  object-fit: cover;
}

.rotana-single-content {
  padding: 24px 28px 30px;
  color: var(--rotana-dark);
  font-size: 18px;
  line-height: 2;
}

.rotana-single-content p {
  margin: 0 0 18px;
}

.rotana-single-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.rotana-share {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 14px 28px;
  border-top: 1px solid var(--rotana-line);
  border-bottom: 1px solid var(--rotana-line);
  background: rgba(255, 255, 255, .66);
}

.rotana-single-header .rotana-share {
  margin: 16px -28px -16px;
}

.rotana-share span {
  color: var(--rotana-dark);
  font-weight: 900;
}

.rotana-share a,
.rotana-share button {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 7px;
  padding: 0 12px;
  color: #fff !important;
  background: var(--rotana-dark);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.rotana-share .is-whatsapp { background: #168b48; }
.rotana-share .is-facebook { background: #1877f2; }
.rotana-share .is-x { background: #111; }
.rotana-share .is-telegram { background: #229ed9; }

.rotana-related {
  margin-top: 18px;
  padding: 18px;
}

.rotana-static {
  width: min(100% - 44px, 1100px);
  margin: 24px auto;
}

.rotana-static article {
  border: 1px solid var(--rotana-line);
  border-radius: 8px;
  padding: clamp(22px, 4vw, 42px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(248, 250, 252, .94)),
    repeating-linear-gradient(90deg, rgba(17, 24, 39, .03) 0 1px, transparent 1px 28px);
  box-shadow: 0 10px 28px rgba(17, 24, 39, .08);
}

.rotana-static span {
  color: var(--rotana-red);
  font-weight: 900;
}

.rotana-static h1 {
  margin: 8px 0 12px;
  color: var(--rotana-dark);
  font-size: clamp(32px, 5vw, 58px);
}

.rotana-static p {
  max-width: 820px;
  margin: 0 0 22px;
  color: var(--rotana-muted);
  line-height: 1.9;
  font-size: 18px;
}

.rotana-static div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.rotana-static section {
  border: 1px solid var(--rotana-line);
  border-radius: 8px;
  padding: 14px;
  color: var(--rotana-dark);
  background: #fff;
  font-weight: 900;
}

.rotana-child-footer {
  margin-top: 18px;
  padding: 22px 18px 14px;
  color: #fff;
  background:
    linear-gradient(135deg, #111827, #261015),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .07) 0 1px, transparent 1px 34px);
}

.rotana-child-footer-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 16px;
  width: min(100%, 1180px);
  margin-inline: auto;
}

.rotana-footer-brand {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 12px;
  align-items: center;
}

.rotana-footer-brand span {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff url("https://rotana-news.net/wp-content/uploads/2026/06/%D9%84%D9%88%D9%82%D9%88-%D8%B1%D9%88%D8%AA%D8%A7%D9%86%D8%A7.jpeg") center/cover no-repeat;
}

.rotana-child-footer h2,
.rotana-child-footer h3 {
  margin: 0 0 8px;
  color: #fff;
}

.rotana-child-footer p {
  margin: 0;
  color: rgba(255, 255, 255, .76);
  line-height: 1.65;
  font-size: 13px;
}

.rotana-child-footer nav {
  display: grid;
  gap: 5px;
}

.rotana-child-footer a {
  color: rgba(255, 255, 255, .88) !important;
}

.rotana-child-copy {
  width: min(100%, 1180px);
  margin: 14px auto 0;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, .16);
  color: rgba(255, 255, 255, .66);
  font-size: 13px;
}

@media (min-width: 1500px) {
  .rotana-home-shell {
    width: min(100% - 56px, 1480px);
  }
}

@media (max-width: 1100px) {
  .rotana-card-grid,
  .rotana-section-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rotana-hero-grid,
  .rotana-board-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .rotana-home-shell {
    width: min(100% - 22px, 1320px);
  }

  .rotana-global-ticker-inner {
    width: min(100% - 18px, 1480px);
    min-height: 46px;
    gap: 8px;
  }

  .rotana-global-ticker-label,
  .rotana-alert-label {
    min-width: 92px;
    padding: 0 10px;
    font-size: 13px;
  }

  .rotana-global-ticker-track,
  .rotana-alert-track {
    gap: 24px;
    animation-duration: 34s;
  }

  .rotana-top-alert .rotana-home-shell {
    align-items: stretch;
    flex-direction: column;
    padding-bottom: 9px;
  }

  .rotana-prayer-strip .rotana-home-shell {
    align-items: flex-start;
  }

  .rotana-lead-media img,
  .rotana-lead-media .rotana-photo-fallback {
    height: 260px;
  }

  .rotana-update-strip .rotana-home-shell {
    align-items: flex-start;
    flex-direction: column;
  }

  .rotana-update-strip a {
    margin-right: 0;
  }

  .rotana-card-grid,
  .rotana-section-grid,
  .rotana-child-footer-inner {
    grid-template-columns: 1fr;
  }

  .rotana-section-title {
    align-items: flex-start;
    flex-direction: column;
    border-bottom: 0;
  }

  .rotana-section-title h2 {
    border-radius: 8px;
  }

  .rotana-single {
    width: min(100% - 22px, 1180px);
  }

  .rotana-single-header,
  .rotana-single-content {
    padding-inline: 18px;
  }

  .rotana-share {
    padding-inline: 18px;
  }

  .rotana-single-header .rotana-share {
    margin-inline: -18px;
  }

  .rotana-static {
    width: min(100% - 22px, 1100px);
  }

  .rotana-static div {
    grid-template-columns: 1fr;
  }
}
