/*
 * Extra CSS for WordPress-generated markup (content, pagination, comments).
 * Loaded after assets/css/theme.css.
 */

/* Simple white SVG icons (replaces emoji icons) */
.pro-icon{display:inline-block;vertical-align:middle;flex-shrink:0;color:#fff}

/* Content (single posts / pages) */
.entry-content {
  line-height: 1.95;
  font-size: 1.05rem;
}

@media (min-width: 700px) and (max-width: 1023px) {
  .pro-trs-main {
    min-height: 620px !important;
    aspect-ratio: auto !important;
    border-radius: 1rem;
    order: 1;
  }
  .pro-trs-latest--desktop {
    display: block !important;
  }
  .pro-trs-latest--mobile {
    display: none !important;
  }
  .pro-trs-latest {
    position: absolute !important;
    inset-block-start: 1rem !important;
    left: 1rem !important;
    right: 1rem !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    bottom: auto !important;
    inset-block-end: auto !important;
    transform: none !important;
    padding: 0.95rem 1rem !important;
    backdrop-filter: blur(10px);
  }
  .pro-trs-latest__header-text {
    font-size: 1.38rem !important;
  }
  .pro-trs-latest__list {
    min-height: 0 !important;
    gap: 0.9rem !important;
  }
  .pro-trs-latest__item:nth-child(n + 5) {
    display: none;
  }
  .pro-trs-slide__content {
    inset-inline: 1rem !important;
    top: 16rem !important;
    bottom: 1rem !important;
    gap: 0.45rem !important;
    justify-content: flex-end !important;
    transform: none !important;
    z-index: 6;
  }
  [dir="rtl"] .pro-trs-slide__content,
  [dir="ltr"] .pro-trs-slide__content {
    left: 1rem !important;
    right: 1rem !important;
    width: auto !important;
    max-width: none !important;
  }
  [dir="rtl"] .pro-trs-slide__content {
    align-items: flex-end !important;
    text-align: right !important;
  }
  [dir="ltr"] .pro-trs-slide__content {
    align-items: flex-start !important;
    text-align: left !important;
  }
  [dir="rtl"] .pro-trs-live-badge-wrap {
    width: 100% !important;
    justify-content: flex-end !important;
    padding: 0 !important;
  }
  [dir="rtl"] .pro-trs-live-badge-wrap .pro-hero-live-badge {
    margin-inline-start: auto !important;
    margin-inline-end: 0 !important;
  }
  .pro-trs-strip {
    padding-inline: 2.8rem !important;
  }
  .pro-trs-list {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    gap: 1rem !important;
    padding: 1rem 0 !important;
  }
  .pro-trs-list::-webkit-scrollbar {
    display: none;
  }
  .pro-trs-strip-nav {
    display: inline-flex !important;
  }
  .pro-trs-item {
    flex: 0 0 calc((100% - 3rem) / 4) !important;
    max-width: calc((100% - 3rem) / 4) !important;
    min-width: 0 !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: 80px auto !important;
    scroll-snap-align: start;
  }
  .pro-trs-item__body {
    display: block !important;
    padding: 0.52rem 0.55rem 0.6rem !important;
  }
  .pro-trs-item__title {
    display: -webkit-box !important;
  }
}
.entry-content > * + * { margin-top: 1rem; }
.entry-content p,
.entry-content li {
  margin: 0;
  line-height: 1.95;
}
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4 {
  line-height: 1.25;
  margin-top: 1.6rem;
  margin-bottom: 0.6rem;
}
.entry-content h1 { font-size: 2rem; font-weight: 800; }
.entry-content h2 { font-size: 1.6rem; font-weight: 800; }
.entry-content h3 { font-size: 1.3rem; font-weight: 700; }
.entry-content h4 { font-size: 1.1rem; font-weight: 700; }
.entry-content a { color: hsl(var(--primary)); text-decoration: underline; text-underline-offset: 3px; }
.entry-content a:hover { opacity: 0.9; }
.entry-content ul,
.entry-content ol {
  padding-inline-start: 1.25rem;
}
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content blockquote {
  border-inline-start: 3px solid hsl(var(--border));
  padding-inline-start: 1rem;
  color: hsl(var(--muted-foreground));
}
.entry-content code {
  background: hsl(var(--muted));
  padding: 0.15rem 0.35rem;
  border-radius: 0.5rem;
  font-size: 0.95em;
}
.entry-content pre {
  background: hsl(var(--muted) / 0.2);
  border: 1px solid hsl(var(--foreground) / 0.16);
  padding: 1rem;
  border-radius: 1rem;
  overflow: auto;
}
.entry-content hr {
  border: 0;
  border-top: 1px solid hsl(var(--border));
  opacity: 0.7;
}
.entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: 1rem;
}
.entry-content table {
  width: 100%;
  border-collapse: collapse;
}
.entry-content th,
.entry-content td {
  border: 1px solid hsl(var(--foreground) / 0.14);
  padding: 0.6rem 0.75rem;
}
.entry-content th {
  background: hsl(var(--muted) / 0.25);
  text-align: start;
}

/* Pagination */
.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}
.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.2rem;
  height: 2.2rem;
  padding: 0 0.75rem;
  border-radius: 9999px;
  border: 1px solid hsl(var(--foreground) / 0.14);
  color: hsl(var(--foreground));
  text-decoration: none;
}
.page-numbers:hover {
  border-color: hsl(var(--primary) / 0.6);
}
.page-numbers.current {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  border-color: hsl(var(--primary));
}
.page-numbers.dots {
  border-color: transparent;
  background: transparent;
  padding: 0;
  min-width: auto;
}

/* Comments */
.comments-area {
  margin-top: 2rem;
}
.comments-title,
.comment-reply-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 1rem;
}
.comment-list { margin: 0; padding: 0; list-style: none; }
.comment-list .comment {
  border: 1px solid hsl(var(--foreground) / 0.14);
  background: hsl(var(--muted) / 0.12);
  border-radius: 1rem;
  padding: 1rem;
  margin-bottom: 1rem;
}
.comment-meta a { text-decoration: none; }
.comment-content { margin-top: 0.75rem; color: hsl(var(--foreground)); }
.comment-content p + p { margin-top: 0.75rem; }
.reply a {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: hsl(var(--primary));
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  margin-top: 0.25rem;
  padding: 0.75rem 0.9rem;
  border-radius: 0.9rem;
  border: 1px solid hsl(var(--foreground) / 0.16);
  background: hsl(var(--muted) / 0.08);
  color: hsl(var(--foreground));
}
.comment-form textarea { min-height: 140px; }
.comment-form input:focus,
.comment-form textarea:focus { outline: 2px solid hsl(var(--ring)); outline-offset: 2px; }
.comment-form input[type="submit"] {
  margin-top: 0.75rem;
  padding: 0.75rem 1.1rem;
  border-radius: 0.9rem;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  border: 1px solid hsl(var(--primary));
}
.comment-form input[type="submit"]:hover { opacity: 0.92; }

/* YouTube (Videos / Shorts) */
.yt-grid {
  display: grid;
  gap: 1rem;
}

/* Videos grid: 1 -> 2 -> 4 */
.yt-grid--videos { grid-template-columns: repeat(1, minmax(0, 1fr)); }
@media (min-width: 640px) {
  .yt-grid--videos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .yt-grid--videos { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Shorts grid: 2 -> 3 -> 6 */
.yt-grid--shorts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) {
  .yt-grid--shorts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .yt-grid--shorts { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

.yt-card {
  display: block;
  border: 1px solid hsl(var(--border) / 0.5);
  background: hsl(var(--muted) / 0.12);
  border-radius: 1rem;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}
.yt-card:hover { background: hsl(var(--muted) / 0.18); }

.yt-thumb { position: relative; overflow: hidden; background: rgba(0,0,0,0.2); }
.yt-thumb__img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1); transition: transform 200ms ease; }
.yt-card:hover .yt-thumb__img { transform: scale(1.02); }

.yt-thumb__play {
  position: absolute;
  inset-inline-start: 0.75rem;
  inset-block-start: 0.75rem;
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  background: rgba(0,0,0,0.55);
  display: grid;
  place-items: center;
  font-size: 0.9rem;
  color: #fff;
  line-height: 0;
}

/* Video card */
.yt-thumb--video { aspect-ratio: 16 / 9; }
.yt-body { padding: 0.75rem 0.8rem; }
.yt-body__title { font-size: 0.9rem; font-weight: 700; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.yt-body__views { margin-top: 0.5rem; font-size: 0.75rem; color: hsl(var(--muted-foreground)); }

/* Videos archive page */
.yt-feed--archive-videos {
  padding: 1.1rem;
  background:
    radial-gradient(circle at top right, hsl(var(--primary) / 0.08), transparent 28%),
    hsl(var(--muted) / 0.12);
}
.yt-videos-archive {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.yt-videos-archive__top {
  display: grid;
  gap: 1rem;
}
.yt-videos-archive__featured,
.yt-videos-archive__side {
  min-width: 0;
}
.yt-videos-archive__side {
  display: grid;
  gap: 1rem;
}
.yt-grid--videos-archive {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}
.yt-card--video-featured {
  height: 100%;
}
.yt-card--video-featured .yt-thumb--video {
  aspect-ratio: 16 / 9.4;
}
.yt-card--video-featured .yt-body {
  padding: 1rem 1rem 1.05rem;
}
.yt-card--video-featured .yt-body__title {
  font-size: 1.18rem;
  line-height: 1.34;
  -webkit-line-clamp: 3;
}
.yt-card--video-featured .yt-body__views {
  font-size: 0.8rem;
}
.yt-card--video-side {
  background: hsl(var(--surface-elevated) / 0.62);
}
.yt-card--video-side .yt-thumb--video {
  aspect-ratio: 16 / 8.5;
}
.yt-card--video-side .yt-body {
  padding: 0.78rem 0.84rem 0.86rem;
}
.yt-card--video-side .yt-body__title {
  font-size: 0.94rem;
  line-height: 1.34;
}
@media (min-width: 640px) {
  .yt-grid--videos-archive {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .yt-feed--archive-videos {
    padding: 1.25rem;
  }
  .yt-videos-archive {
    gap: 1.2rem;
  }
  .yt-videos-archive__top {
    grid-template-columns: minmax(0, 2.1fr) minmax(270px, 0.95fr);
    align-items: stretch;
  }
  .yt-videos-archive__featured .yt-card--video-featured {
    min-height: 100%;
  }
  .yt-card--video-featured .yt-thumb--video {
    aspect-ratio: 16 / 9.2;
  }
  .yt-card--video-featured .yt-body {
    padding: 1.12rem 1.12rem 1.18rem;
  }
  .yt-card--video-featured .yt-body__title {
    font-size: 1.42rem;
    line-height: 1.32;
    -webkit-line-clamp: 2;
  }
  .yt-card--video-featured .yt-body__views {
    margin-top: 0.65rem;
    font-size: 0.82rem;
  }
  .yt-card--video-side .yt-thumb--video {
    aspect-ratio: 16 / 8.2;
  }
  .yt-card--video-side .yt-body {
    padding: 0.82rem 0.88rem 0.92rem;
  }
  .yt-card--video-side .yt-body__title {
    font-size: 0.98rem;
    -webkit-line-clamp: 2;
  }
  .yt-grid--videos-archive {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Shorts card */
.yt-thumb--short { aspect-ratio: 9 / 16; }
.yt-thumb__meta {
  position: absolute;
  inset-inline: 0;
  inset-block-end: 0;
  padding: 0.75rem 0.75rem 0.65rem;
  background: linear-gradient(to top, rgba(0,0,0,0.75), rgba(0,0,0,0));
  color: #fff;
}
.yt-thumb__title { font-size: 0.85rem; font-weight: 700; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.yt-thumb__views { margin-top: 0.35rem; font-size: 0.72rem; opacity: 0.9; }

/* Shorts mobile: single-card horizontal slider with arrows */
.yt-feed--shorts,
[data-component="yt-feed"][data-type="shorts"] {
  position: relative;
}
.yt-short-nav {
  display: none;
}
@media (max-width: 767px) {
  [data-component="yt-feed"][data-type="shorts"] .yt-grid--shorts,
  .yt-feed--shorts .yt-grid--shorts {
    display: flex !important;
    flex-wrap: nowrap;
    gap: 0.75rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.35rem;
  }
  [data-component="yt-feed"][data-type="shorts"] .yt-grid--shorts > .yt-card--short,
  [data-component="yt-feed"][data-type="shorts"] .yt-grid--shorts > .yt-skel--short,
  .yt-feed--shorts .yt-grid--shorts > .yt-card--short,
  .yt-feed--shorts .yt-grid--shorts > .yt-skel--short {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    scroll-snap-align: start;
  }
  [data-component="yt-feed"][data-type="shorts"] .yt-grid--shorts::-webkit-scrollbar,
  .yt-feed--shorts .yt-grid--shorts::-webkit-scrollbar {
    height: 0;
  }
  .yt-short-nav {
    display: block;
    position: absolute;
    inset-inline: 0;
    inset-block-start: 50%;
    transform: translateY(-50%);
    z-index: 5;
    pointer-events: none;
  }
  .yt-short-nav__btn {
    position: absolute;
    pointer-events: auto;
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 999px;
    border: 1px solid hsl(var(--border) / 0.85);
    background: hsl(var(--surface-elevated) / 0.92);
    color: hsl(var(--foreground));
    font-size: 1.35rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 14px rgba(0,0,0,0.28);
    backdrop-filter: blur(2px);
  }
  .yt-short-nav__btn--prev {
    inset-inline-start: 0.35rem;
  }
  .yt-short-nav__btn--next {
    inset-inline-end: 0.35rem;
  }
  .yt-short-nav__btn:active {
    transform: scale(0.97);
  }
}

.yt-skel {
  border-radius: 1rem;
  background: hsl(var(--muted) / 0.25);
  border: 1px solid hsl(var(--border) / 0.4);
  animation: ytPulse 1.2s ease-in-out infinite;
}
.yt-skel--video { aspect-ratio: 16 / 9; }
.yt-skel--short { aspect-ratio: 9 / 16; }
@keyframes ytPulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 0.9; }
}

/* YouTube modal */
.pro-yt-modal-open { overflow: hidden; }
.pro-yt-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}
.pro-yt-modal.hidden { display: none; }
.pro-yt-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
}
.pro-yt-modal__panel {
  position: relative;
  width: min(960px, 100%);
  background: #000;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.55);
}
.pro-yt-modal__panel.is-shorts { width: min(440px, 100%); }
.pro-yt-modal__close {
  position: absolute;
  inset-inline-end: 0.5rem;
  inset-block-start: 0.5rem;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(0,0,0,0.4);
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 2;
}
.pro-yt-modal__frame { aspect-ratio: 16 / 9; }
.pro-yt-modal__panel.is-shorts .pro-yt-modal__frame { aspect-ratio: 9 / 16; }
.pro-yt-modal__iframe { width: 100%; height: 100%; display: block; }

/* Most-read trending slider block */
.pro-trs {
  position: relative;
  border: 1px solid hsl(var(--border) / 0.55);
  border-radius: 1.15rem;
  overflow: hidden;
  background: linear-gradient(180deg, hsl(var(--surface) / 0.74), hsl(var(--surface-deeper) / 0.94));
  box-shadow: 0 18px 38px hsl(var(--foreground) / 0.08);
}
.pro-trs-main {
  position: relative;
  min-height: 270px;
  aspect-ratio: 16 / 7;
  overflow: hidden;
}
.pro-trs-latest {
  position: absolute;
  inset-block-start: 9.5rem;
  left: 1rem;
  z-index: 7;
  width: min(36%, 31rem);
  max-width: calc(100% - 2rem);
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 1.1rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.16), rgba(255,255,255,0.07));
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 34px rgba(0,0,0,0.16);
  overflow: hidden;
}
.pro-trs-latest--mobile {
  display: none;
}
[dir="rtl"] .pro-trs-latest {
  left: 1rem;
  right: auto;
  direction: ltr;
}
[dir="ltr"] .pro-trs-latest {
  left: 1rem;
  right: auto;
  direction: ltr;
}
.pro-trs-latest__header {
  display: grid;
  align-items: center;
  column-gap: 0.85rem;
  margin-bottom: 0.8rem;
  color: #fff;
  font-size: 1.26rem;
  font-weight: 900;
}
.pro-trs-latest__header-text {
  direction: rtl;
  unicode-bidi: plaintext;
  text-align: right;
  font-size: 1.5rem;
  line-height: 1.15;
  text-shadow: 0 2px 10px rgba(0,0,0,0.72), 0 1px 2px rgba(0,0,0,0.88);
}
.pro-trs-latest__header-dot {
  position: relative;
  flex: 0 0 auto;
  width: 1.28rem;
  height: 1.28rem;
  border-radius: 999px;
  border: 2px solid #df2941;
  background: transparent;
  box-shadow: 0 0 0 2px rgba(223,41,65,0.16);
  justify-self: center;
  align-self: center;
}
.pro-trs-latest__header-dot::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 0.46rem;
  height: 0.46rem;
  border-radius: 999px;
  background: #df2941;
  transform: translate(-50%, -50%);
  animation: proTrsPulseDotSlow 2.8s ease-in-out infinite;
}
@keyframes proTrsPulseDotSlow {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  50% {
    transform: translate(-50%, -50%) scale(0.72);
    opacity: 0.18;
  }
}
.pro-trs-latest__list {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  position: relative;
  padding-right: 0;
  padding-left: 0;
  min-height: calc(100% - 2.1rem);
  justify-content: flex-start;
}
.pro-trs-latest__list::before {
  content: "";
  position: absolute;
  inset-block: 0.7rem 0.8rem;
  right: 0.46rem;
  left: auto;
  width: 2px;
  background: linear-gradient(180deg, rgba(223,41,65,0.9), rgba(223,41,65,0.42));
  opacity: 0.9;
}
.pro-trs-latest__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 0.92rem;
  align-items: center;
  column-gap: 0.85rem;
  padding: 0;
  color: #fff;
  text-decoration: none;
  background: transparent;
  transition: transform 0.2s ease, opacity 0.2s ease;
  min-width: 0;
}
.pro-trs-latest__item:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}
.pro-trs-latest__marker {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  width: 0.92rem;
  height: 0.92rem;
  border-radius: 999px;
  border: 2px solid #df2941;
  background: transparent;
  box-shadow: 0 0 0 2px rgba(223,41,65,0.16);
  justify-self: center;
}
.pro-trs-latest__marker::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 0.34rem;
  height: 0.34rem;
  border-radius: 999px;
  background: #df2941;
  transform: translate(-50%, -50%);
}
.pro-trs-latest__text {
  min-width: 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.45;
  text-shadow: 0 2px 10px rgba(0,0,0,0.72), 0 1px 2px rgba(0,0,0,0.85);
  direction: rtl;
  unicode-bidi: plaintext;
  text-align: right;
}
.pro-trs-latest__time {
  white-space: nowrap;
  color: rgba(255,255,255,0.8);
  font-size: 0.78rem;
  font-weight: 800;
  text-shadow: 0 1px 3px rgba(0,0,0,0.8);
  direction: rtl;
  unicode-bidi: plaintext;
  text-align: right;
}
.pro-trs-slide {
  position: absolute;
  inset: 0;
  display: block;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.05);
  transition: opacity 0.7s ease, transform 0.9s ease, visibility 0.7s ease;
}
.pro-trs-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 2;
}
.pro-trs-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pro-trs-slide__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(185, 24, 48, 0.68) 0%, rgba(185, 24, 48, 0.44) 24%, rgba(185, 24, 48, 0.22) 44%, rgba(185, 24, 48, 0) 62%),
    linear-gradient(180deg, transparent 18%, rgba(7, 10, 16, 0.24) 50%, rgba(7, 10, 16, 0.82) 100%);
}
.pro-trs-slide__content {
  position: absolute;
  inset-inline: 1rem;
  bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  color: #fff;
}
.pro-trs-live-badge-wrap {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 0.35rem;
  padding-right: 0.5rem;
}
.pro-trs-live-badge-wrap .pro-hero-live-badge {
  position: static;
  margin: 0;
  flex-direction: row;
  direction: inherit;
}
[dir="rtl"] .pro-trs-latest__header {
  grid-template-columns: minmax(0, 1fr) 0.92rem !important;
  text-align: right !important;
}
[dir="rtl"] .pro-trs-latest__header-text {
  text-align: right !important;
  margin-inline-start: 0 !important;
}
[dir="rtl"] .pro-trs-latest__item {
  grid-template-columns: minmax(0, 1fr) auto 0.92rem !important;
  direction: ltr;
}
[dir="rtl"] .pro-trs-latest__time {
  text-align: right !important;
  justify-self: end;
}
[dir="ltr"] .pro-trs-latest__header {
  grid-template-columns: 0.92rem minmax(0, 1fr);
}
[dir="ltr"] .pro-trs-latest__list {
  padding-left: 0;
  padding-right: 0;
}
[dir="ltr"] .pro-trs-latest__list::before {
  left: 0.46rem;
  right: auto;
}
[dir="ltr"] .pro-trs-latest__item {
  grid-template-columns: 0.92rem auto minmax(0, 1fr);
}
[dir="ltr"] .pro-trs-latest__text {
  text-align: left;
}
.pro-trs-slide__title {
  color: #fff;
  font-size: clamp(1.15rem, 1.9vw, 2rem);
  font-weight: 1000;
  line-height: 1.25;
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.52);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pro-trs-slide__excerpt {
  color: hsl(var(--foreground) / 0.9);
  font-size: clamp(0.86rem, 1.1vw, 1rem);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
[dir="rtl"] .pro-trs-slide__title,
[dir="rtl"] .pro-trs-slide__excerpt {
  padding-right: 0.5rem;
  text-align: right;
}
[dir="ltr"] .pro-trs-slide__title,
[dir="ltr"] .pro-trs-slide__excerpt {
  padding-left: 0.5rem;
  text-align: left;
}
.pro-trs-slide__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.7rem;
  font-size: 0.86rem;
  color: hsl(var(--foreground) / 0.82);
}
.pro-trs-slide__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.pro-trs-slide__meta-item + .pro-trs-slide__meta-item::before {
  content: "•";
  color: hsl(var(--primary));
  margin-inline-end: 0.2rem;
}
.pro-trs-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid hsl(var(--border) / 0.45);
  background: rgba(4, 8, 15, 0.74);
  color: #fff;
  z-index: 4;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}
.pro-trs-nav:hover {
  transform: translateY(-50%) scale(1.05);
  background: rgba(10, 14, 22, 0.92);
  border-color: hsl(var(--primary) / 0.7);
}
.pro-trs-nav--prev { inset-inline-start: 0.75rem; }
.pro-trs-nav--next { inset-inline-end: 0.75rem; }

.pro-trs-strip {
  position: relative;
}
.pro-trs-strip-nav {
  display: none;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 999px;
  border: 1px solid hsl(var(--border) / 0.62);
  background: rgba(4, 8, 15, 0.88);
  color: hsl(var(--foreground));
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
  z-index: 7;
  font-size: 1.45rem;
  line-height: 1;
}
.pro-trs-strip-nav--prev { inset-inline-start: 0.35rem; }
.pro-trs-strip-nav--next { inset-inline-end: 0.35rem; }

.pro-trs-list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1.35rem;
  padding: 1rem 1.1rem;
  border-top: 0;
  background: linear-gradient(180deg, rgba(4, 7, 12, 0.72), rgba(4, 7, 12, 0.88));
  backdrop-filter: blur(6px);
}
.pro-trs-item {
  border: 1px solid hsl(var(--border) / 0.52);
  border-radius: 0.85rem;
  background: hsl(var(--surface) / 0.62);
  overflow: hidden;
  text-align: start;
  padding: 0;
  display: grid;
  grid-template-rows: 72px auto;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.pro-trs-item:hover {
  transform: translateY(-2px);
  border-color: hsl(var(--primary) / 0.65);
  box-shadow: 0 10px 20px hsl(var(--foreground) / 0.14);
}
.pro-trs-item.is-active {
  border-color: hsl(var(--primary) / 0.9);
  box-shadow: 0 0 0 1px hsl(var(--primary) / 0.3) inset;
}
.pro-trs-item__thumb {
  display: block;
  overflow: hidden;
}
.pro-trs-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pro-trs-item__body {
  padding: 0.52rem 0.55rem 0.6rem;
}
.pro-trs-item__title {
  color: hsl(var(--foreground));
  font-weight: 800;
  line-height: 1.32;
  font-size: 0.88rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 1023px) {
  .pro-trs-main {
    min-height: 220px;
    aspect-ratio: 16 / 7;
  }
  .pro-trs-latest {
    width: min(48%, 24rem);
  }
  .pro-trs-strip {
    padding-inline: 2.8rem;
  }
  .pro-trs-strip-nav {
    display: inline-flex;
  }
  .pro-trs-list {
    display: flex;
    flex-wrap: nowrap;
    grid-template-columns: none;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    gap: 1rem;
    padding: 1rem 0;
  }
  .pro-trs-list::-webkit-scrollbar {
    display: none;
  }
  .pro-trs-item {
    flex: 0 0 calc((100% - 3rem) / 4);
    max-width: calc((100% - 3rem) / 4);
    min-width: 0;
    grid-template-rows: 80px auto;
    scroll-snap-align: start;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .pro-trs-main {
    min-height: 620px;
    aspect-ratio: auto;
  }
  .pro-trs-latest--desktop {
    display: block;
  }
  .pro-trs-latest {
    inset-block-start: 1rem;
    inset-inline: 1rem;
    left: 1rem;
    right: 1rem;
    width: auto;
    max-width: none;
    bottom: auto;
    inset-block-end: auto;
    transform: none !important;
    padding: 0.95rem 1rem;
  }
  .pro-trs-latest__header {
    margin-bottom: 0.7rem;
  }
  .pro-trs-latest__header-text {
    font-size: 1.38rem;
  }
  .pro-trs-latest__list {
    min-height: 0;
    gap: 0.9rem;
  }
  .pro-trs-latest__item:nth-child(n + 5) {
    display: none;
  }
  .pro-trs-slide__content {
    inset-inline: 1rem;
    top: 16rem;
    bottom: 1rem;
    justify-content: flex-end;
    transform: none !important;
    z-index: 6;
  }
  [dir="rtl"] .pro-trs-slide__content,
  [dir="ltr"] .pro-trs-slide__content {
    left: 1rem;
    right: 1rem;
    width: auto;
    max-width: none;
    align-items: flex-start;
  }
  [dir="rtl"] .pro-trs-slide__content {
    align-items: flex-end;
    text-align: right;
  }
  [dir="rtl"] .pro-trs-live-badge-wrap {
    width: 100%;
    justify-content: flex-end;
    padding-right: 0;
    padding-left: 0;
  }
  .pro-trs-slide__title,
  .pro-trs-slide__excerpt {
    width: 100%;
    max-width: 100%;
  }
}
@media (min-width: 1024px) {
  .pro-trs-main {
    min-height: 600px;
    aspect-ratio: 16 / 7.6;
  }
  .pro-trs-latest {
    top: 9.5rem !important;
    inset-block-start: 9.5rem !important;
    bottom: auto !important;
    inset-block-end: auto !important;
    transform: translateY(3rem);
  }
  .pro-trs-latest__list {
    min-height: 0;
  }
  .pro-trs-slide__content {
    left: calc(min(36%, 31rem) + 2rem);
    right: 1.5rem;
    inset-inline: auto;
  }
  [dir="rtl"] .pro-trs-slide__content {
    left: auto;
    right: 1.5rem;
    width: 58%;
    max-width: 62rem;
    align-items: flex-end;
    text-align: right;
  }
  [dir="rtl"] .pro-trs-live-badge-wrap {
    width: 100%;
    justify-content: flex-start;
    padding-right: 0;
    margin-right: 0;
  }
  [dir="rtl"] .pro-trs-slide__title,
  [dir="rtl"] .pro-trs-slide__excerpt {
    width: 100%;
    max-width: 100%;
  }
  .pro-trs-list {
    position: absolute;
    left: calc(min(36%, 31rem) + 1.2rem);
    right: 0;
    bottom: 0;
    inset-inline: auto;
    z-index: 5;
    border: 0;
    border-radius: 1.25rem 1.25rem 0 0;
    background: linear-gradient(180deg, rgba(4, 7, 12, 0.76), rgba(4, 7, 12, 0.92));
    backdrop-filter: blur(8px);
    padding: 1rem 0.8rem 0.8rem;
    gap: 1.35rem;
  }
  .pro-trs-slide__content {
    bottom: 12.4rem !important;
    transform: translateY(-2.6rem);
    z-index: 6;
  }
}
@media (max-width: 640px) {
  .pro-trs-main {
    min-height: 190px;
  }
  .pro-trs-latest {
    position: static;
    width: auto;
    max-width: none;
    bottom: auto;
    inset-block-end: auto;
    margin: 0.75rem;
  }
  .pro-trs-latest__text {
    -webkit-line-clamp: 2;
  }
  .pro-trs-slide__title {
    font-size: 1.05rem;
    -webkit-line-clamp: 2;
  }
  .pro-trs-slide__content {
    inset-inline: 0.75rem;
    bottom: 0.75rem;
    gap: 0.38rem;
  }
  .pro-trs-slide__excerpt {
    font-size: 0.82rem;
    -webkit-line-clamp: 2;
  }
  .pro-trs-slide__meta {
    font-size: 0.74rem;
    gap: 0.3rem 0.52rem;
  }
  .pro-trs-nav {
    width: 38px;
    height: 38px;
    font-size: 1.3rem;
  }
  .pro-trs-nav--prev { inset-inline-start: 0.5rem; }
  .pro-trs-nav--next { inset-inline-end: 0.5rem; }
  .pro-trs-list {
    grid-template-columns: 1fr;
    gap: 0.62rem;
    padding: 0.5rem;
  }
  .pro-trs-item {
    grid-template-columns: 88px minmax(0, 1fr);
    grid-template-rows: none;
    min-height: 76px;
  }
  .pro-trs-item__body {
    padding: 0.5rem 0.55rem;
    display: flex;
    align-items: center;
  }
}

/* Single page layout with optional sidebar */
.pro-single-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  max-width: 980px;
  margin-inline: auto;
}
.pro-single-layout.has-sidebar {
  max-width: 1400px;
}
@media (min-width: 1180px) {
  .pro-single-layout.has-sidebar {
    grid-template-columns: minmax(0, 2.1fr) minmax(280px, 0.9fr);
    align-items: start;
  }
}
.pro-single-main { min-width: 0; }
.pro-single-sidebar {
  min-width: 0;
  align-self: start;
}
@media (min-width: 1180px) {
  .pro-single-sidebar {
    position: sticky;
    top: var(--pro-single-sidebar-top, calc(var(--pro-header-height, 0px) + 1rem));
  }
  .pro-single-sidebar.is-smart-sticky {
    will-change: top;
  }
  .pro-single-sidebar .pro-side-stack {
    max-width: 100%;
  }
}

/* ANEP single page: keep plugin features but constrain layout to the theme container */
body.single-anep #primary.content-area {
  width: min(100%, 1180px) !important;
  max-width: 1180px !important;
  margin: 0 auto !important;
  padding: 0 1rem 2rem !important;
}
body.single-anep #main.site-main {
  background: hsl(var(--card) / 0.88);
  border: 1px solid hsl(var(--border) / 0.55);
  border-radius: 1.25rem;
  box-shadow: 0 18px 50px hsl(var(--foreground) / 0.06);
  overflow: hidden;
  padding: 1rem 0 2rem;
}
body.single-anep article[id^="post-"] {
  max-width: 100%;
  margin: 0 auto;
}
body.single-anep .entry-content {
  padding: 0 1rem 1.25rem !important;
}
body.single-anep .anep-scope.anep-single {
  max-width: 980px;
  margin-inline: auto;
}
body.single-anep .anep-summary-bar {
  border-radius: 1rem;
}
body.single-anep .anep-summary-bar p {
  justify-content: flex-start !important;
  align-items: stretch;
}
body.single-anep .anep-summary-bar p > span {
  min-width: 0;
}
body.single-anep iframe {
  border-radius: 1rem;
  background: #fff;
  width: 100%;
  min-height: 840px !important;
}
body.single-anep .print-button {
  width: min(100%, 360px);
}
@media (min-width: 768px) {
  body.single-anep #primary.content-area {
    padding-inline: 1.25rem !important;
  }
  body.single-anep #main.site-main {
    padding-top: 1.5rem;
  }
  body.single-anep .entry-content {
    padding-inline: 1.5rem !important;
  }
}
@media (min-width: 768px) and (max-width: 1199px) {
  body.single-anep #primary.content-area {
    max-width: 1000px !important;
  }
  body.single-anep .anep-scope.anep-single {
    max-width: 100%;
  }
  body.single-anep iframe {
    min-height: 720px !important;
  }
  body.single-anep .anep-summary-bar p {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem !important;
  }
}
@media (max-width: 767px) {
  body.single-anep #primary.content-area {
    padding-inline: 0.75rem !important;
  }
  body.single-anep #main.site-main {
    border-radius: 1rem;
  }
  body.single-anep iframe {
    min-height: 560px !important;
  }
  body.single-anep .anep-summary-bar p {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.7rem !important;
  }
  body.single-anep .print-button {
    width: 100%;
  }
}

/* ANEP archive page: isolate plugin layout from the theme's global dark styles */
body.post-type-archive-anep .anep-scope.anep-archive {
  --anep-green: #418d2d;
  --anep-border: #dddddd;
  --anep-card-bg: #ffffff;
  --anep-text: #111827;
  --anep-muted: #6b7280;
  color: var(--anep-text);
  display: block;
  padding-bottom: 7.5rem;
}
html[data-anep-theme="dark"] body.post-type-archive-anep .anep-scope.anep-archive {
  --anep-border: #dddddd;
  --anep-card-bg: #ffffff;
  --anep-text: #111827;
  --anep-muted: #6b7280;
}
body.post-type-archive-anep .anep-scope.anep-archive > .container {
  width: min(100%, 1200px) !important;
  max-width: 1200px !important;
  margin: 2.5rem auto 0 !important;
  padding-inline: 1rem !important;
  text-align: center !important;
  display: block !important;
}
body.post-type-archive-anep .anep-scope.anep-archive > .container > img {
  display: block !important;
  width: min(240px, 72vw) !important;
  max-width: 240px !important;
  height: auto !important;
  margin: 0 auto 0.85rem !important;
}
body.post-type-archive-anep .anep-scope.anep-archive > .container > h1 {
  margin: 0 0 2rem !important;
  padding: 0 !important;
  color: var(--anep-green) !important;
  text-align: center !important;
  font-size: clamp(2rem, 2.8vw, 2.75rem) !important;
  line-height: 1.18 !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
}
body.post-type-archive-anep .anep-scope.anep-archive .anep-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  align-items: stretch;
}
body.post-type-archive-anep .anep-scope.anep-archive .anep-card {
  background: var(--anep-card-bg) !important;
  border-color: var(--anep-border) !important;
  color: var(--anep-text) !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08) !important;
}
body.post-type-archive-anep .anep-scope.anep-archive .anep-card-content,
body.post-type-archive-anep .anep-scope.anep-archive .anep-card h3,
body.post-type-archive-anep .anep-scope.anep-archive .anep-card p {
  color: var(--anep-text) !important;
}
body.post-type-archive-anep .anep-scope.anep-archive .anep-card-content h3 {
  line-height: 1.35;
}
body.post-type-archive-anep .anep-scope.anep-archive .anep-card-content h3 a {
  color: var(--anep-green) !important;
  text-decoration: none !important;
}
body.post-type-archive-anep .anep-scope.anep-archive .anep-card-content h3 a:hover {
  color: var(--anep-green) !important;
}
body.post-type-archive-anep .anep-scope.anep-archive .ref-box {
  background: #ffffff !important;
  color: var(--anep-green) !important;
  border-color: var(--anep-green) !important;
}
body.post-type-archive-anep .anep-scope.anep-archive .page-size {
  background: #e8f4ea !important;
  color: var(--anep-green) !important;
  border-top-color: #c4e8ce !important;
}
body.post-type-archive-anep .anep-scope.anep-archive .date-title {
  color: #ffffff !important;
}
body.post-type-archive-anep .anep-scope.anep-archive .pagination a,
body.post-type-archive-anep .anep-scope.anep-archive .pagination span {
  text-decoration: none !important;
}
body.post-type-archive-anep .anep-scope.anep-archive .search-bar-fixed {
  background: #ffffff !important;
  border-top: 3px solid var(--anep-green) !important;
  box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.1) !important;
}
body.post-type-archive-anep .anep-scope.anep-archive .search-bar-fixed input {
  min-height: 3.25rem;
  background: #ffffff !important;
  color: #111111 !important;
  border: 1px solid #cccccc !important;
}
body.post-type-archive-anep .anep-scope.anep-archive .search-bar-fixed input::placeholder {
  color: #6b7280 !important;
}
body.post-type-archive-anep .anep-scope.anep-archive .search-bar-fixed button {
  min-height: 3.25rem;
  background: var(--anep-green) !important;
  color: #ffffff !important;
  border: none !important;
}
body.post-type-archive-anep .anep-scope.anep-archive .search-bar-fixed button:hover {
  background: #2f6a21 !important;
}
@media (max-width: 1023px) {
  body.post-type-archive-anep .anep-scope.anep-archive .anep-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 768px) {
  body.post-type-archive-anep .anep-scope.anep-archive {
    padding-bottom: 8.5rem;
  }
  body.post-type-archive-anep .anep-scope.anep-archive > .container {
    margin-top: 1.6rem !important;
    padding-inline: 0.85rem !important;
  }
  body.post-type-archive-anep .anep-scope.anep-archive > .container > img {
    width: min(210px, 68vw) !important;
    max-width: 210px !important;
    margin-bottom: 0.7rem !important;
  }
  body.post-type-archive-anep .anep-scope.anep-archive > .container > h1 {
    margin-bottom: 1.5rem !important;
    font-size: clamp(1.55rem, 6vw, 2rem) !important;
  }
  body.post-type-archive-anep .anep-scope.anep-archive .anep-grid {
    grid-template-columns: 1fr !important;
  }
  body.post-type-archive-anep .anep-scope.anep-archive .search-bar-fixed form {
    align-items: stretch;
  }
  body.post-type-archive-anep .anep-scope.anep-archive .search-bar-fixed input,
  body.post-type-archive-anep .anep-scope.anep-archive .search-bar-fixed button {
    width: min(100%, 100%);
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .pro-trs-latest--desktop {
    display: block !important;
  }
  .pro-trs-latest--mobile {
    display: none !important;
  }
}

@media (min-width: 700px) and (max-width: 1023px) {
  .pro-trs-main {
    min-height: 620px !important;
    aspect-ratio: auto !important;
  }
  .pro-trs-latest {
    position: absolute !important;
    inset-block-start: 1rem !important;
    left: 1rem !important;
    right: 1rem !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    bottom: auto !important;
    inset-block-end: auto !important;
    transform: none !important;
    padding: 0.95rem 1rem !important;
  }
  .pro-trs-latest__list {
    min-height: 0 !important;
    gap: 0.9rem !important;
  }
  .pro-trs-latest__item:nth-child(n + 5) {
    display: none !important;
  }
  .pro-trs-slide__content {
    inset-inline: 1rem !important;
    top: 16rem !important;
    bottom: auto !important;
    justify-content: flex-start !important;
    gap: 0.45rem !important;
    transform: none !important;
    z-index: 6 !important;
  }
  [dir="rtl"] .pro-trs-slide__content,
  [dir="ltr"] .pro-trs-slide__content {
    left: 1rem !important;
    right: 1rem !important;
    width: auto !important;
    max-width: none !important;
  }
  [dir="rtl"] .pro-trs-slide__content {
    align-items: flex-end !important;
    text-align: right !important;
  }
  [dir="ltr"] .pro-trs-slide__content {
    align-items: flex-start !important;
    text-align: left !important;
  }
  [dir="rtl"] .pro-trs-live-badge-wrap {
    width: 100% !important;
    justify-content: flex-end !important;
    padding: 0 !important;
  }
  [dir="rtl"] .pro-trs-live-badge-wrap .pro-hero-live-badge {
    margin-inline-start: auto !important;
    margin-inline-end: 0 !important;
  }
}

/* Sidebar widgets */
.pro-side-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  max-width: 340px;
}
.pro-side-card {
  border: 1px solid hsl(var(--primary) / 0.45);
  background: hsl(var(--background) / 0.92);
  border-radius: 1rem;
  padding: 0.95rem;
  box-shadow: 0 8px 24px hsl(var(--foreground) / 0.04);
}
.pro-side-title {
  margin: 0 0 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.35rem;
  font-weight: 1000;
  color: hsl(var(--foreground));
}
.pro-side-title::after {
  content: "";
  width: 4px;
  height: 1.7rem;
  border-radius: 999px;
  background: hsl(var(--primary));
}
html[lang^="ar"] .pro-side-title,
body.rtl .pro-side-title,
[dir="rtl"] .pro-side-title {
  position: relative;
  display: block;
  padding-right: 0.95rem;
}
html[lang^="fr"] .pro-side-title,
html[lang^="en"] .pro-side-title,
[dir="ltr"] .pro-side-title {
  position: relative;
  display: block;
  padding-left: 0.95rem;
  text-align: left;
}
html[lang^="ar"] .pro-side-title::after,
body.rtl .pro-side-title::after,
[dir="rtl"] .pro-side-title::after {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}
html[lang^="fr"] .pro-side-title::after,
html[lang^="en"] .pro-side-title::after,
[dir="ltr"] .pro-side-title::after {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.pro-side-latest-list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.pro-side-latest-item {
  display: grid;
  grid-template-columns: 106px minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
  text-decoration: none;
  color: hsl(var(--foreground));
  transition: transform .18s ease, color .18s ease;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid hsl(var(--border) / 0.35);
}
[dir="ltr"] .pro-side-latest-item {
  grid-template-columns: 106px minmax(0, 1fr);
}
.pro-side-latest-thumb {
  display: block;
  width: 100%;
  max-width: 106px;
  aspect-ratio: 16 / 9;
  border-radius: 0.8rem;
  overflow: hidden;
  background: hsl(var(--muted) / 0.22);
  border: 1px solid hsl(var(--border) / 0.6);
  justify-self: stretch;
}
[dir="ltr"] .pro-side-latest-thumb { grid-column: 1; }
[dir="ltr"] .pro-side-latest-body { grid-column: 2; text-align: left; }
[dir="rtl"] .pro-side-latest-thumb { grid-column: 1; }
[dir="rtl"] .pro-side-latest-body { grid-column: 2; text-align: right; }
.pro-side-latest-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pro-side-latest-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.pro-side-latest-meta {
  display: block;
  color: hsl(var(--muted-foreground));
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.2;
}
.pro-side-latest-text {
  display: block;
  margin-top: 0;
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pro-side-latest-item:hover {
  transform: translateY(-1px);
}
.pro-side-latest-item:hover .pro-side-latest-text {
  color: hsl(var(--primary));
}
.pro-side-latest-list .pro-side-latest-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
@media (max-width: 480px) {
  .pro-side-latest-item {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 0.6rem;
  }
  [dir="ltr"] .pro-side-latest-item {
    grid-template-columns: 92px minmax(0, 1fr);
  }
  .pro-side-latest-thumb {
    max-width: 92px;
  }
  .pro-side-latest-text {
    font-size: 0.8rem;
  }
}

.pro-side-image {
  padding: 0.55rem;
}
.pro-side-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0.8rem;
}

.pro-side-newsletter {
  border-radius: 1rem;
  padding: 1.2rem 1rem 1rem;
  color: #fff;
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(239, 68, 68, 0.16), transparent 52%),
    linear-gradient(180deg, #10141d, #0a0f17);
  border: 1px solid hsl(var(--primary) / 0.45);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.34);
  text-align: center;
}
.pro-side-newsletter__title {
  margin: 0 0 0.45rem;
  font-size: 1.65rem;
  font-weight: 1000;
  line-height: 1.25;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
}
.pro-side-newsletter__text {
  margin: 0 0 1rem;
  color: #8aa0c4;
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.5;
}
.pro-side-newsletter__form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.pro-side-newsletter__form input[type="email"] {
  width: 100%;
  border: 1px solid hsl(var(--primary) / 0.55);
  border-radius: 0.9rem;
  padding: 0.85rem 1rem;
  min-height: 52px;
  font-weight: 700;
  background: #070c14;
  color: #eef4ff;
  text-align: center;
}
.pro-side-newsletter__form input[type="email"]::placeholder {
  color: #8f9bb0;
  opacity: 1;
}
.pro-side-newsletter__form button {
  width: 100%;
  border: 0;
  border-radius: 0.9rem;
  padding: 0.8rem 1rem;
  min-height: 52px;
  font-size: 1.15rem;
  font-weight: 900;
  cursor: pointer;
  background: hsl(var(--primary));
  color: #fff;
  white-space: nowrap;
}
.pro-side-newsletter__form button:hover {
  filter: brightness(1.05);
}
.pro-side-newsletter__feedback {
  margin: 0.55rem 0 0;
  font-size: 0.86rem;
  font-weight: 700;
  color: #d2deef;
}
.pro-side-newsletter__feedback.is-success { color: #9de7b3; }
.pro-side-newsletter__feedback.is-error { color: #ff9a9a; }
[dir="rtl"] .pro-side-newsletter__title::after,
[dir="ltr"] .pro-side-newsletter__title::after {
  content: "\2709";
  width: auto;
  height: auto;
  border: 0;
  background: none;
  color: hsl(var(--primary));
  font-size: 0.9em;
  line-height: 1;
}
[dir="rtl"] .pro-side-newsletter__form button::after,
[dir="ltr"] .pro-side-newsletter__form button::after {
  content: none;
}
[dir="rtl"] .pro-side-newsletter__title::after {
  order: -1;
}

.pro-side-poll {
  padding: 1rem 1rem 0.9rem;
}
.pro-side-poll__question {
  margin: 0 0 0.75rem;
  font-size: 1.04rem;
  font-weight: 900;
  line-height: 1.5;
  color: hsl(var(--foreground));
}
.pro-side-poll__question-link {
  color: inherit;
  text-decoration: none;
}
.pro-side-poll__question-link:hover {
  color: hsl(var(--primary));
}
.pro-side-poll__options {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.pro-side-poll__option {
  position: relative;
  border: 1px solid hsl(var(--border) / 0.82);
  background: hsl(var(--muted) / 0.16);
  border-radius: 0.9rem;
  min-height: 50px;
  width: 100%;
  text-align: start;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.55rem;
  padding: 0.62rem 0.7rem;
  color: hsl(var(--foreground));
  overflow: hidden;
}
.pro-side-poll__option-fill {
  position: absolute;
  inset: 0;
  width: var(--poll-pct, 0%);
  background: hsl(var(--primary) / 0.16);
  pointer-events: none;
}
.pro-side-poll__option-percent,
.pro-side-poll__option-text,
.pro-side-poll__option-check {
  position: relative;
  z-index: 1;
}
.pro-side-poll__option-percent {
  font-size: 1.15rem;
  font-weight: 1000;
  line-height: 1;
  color: hsl(var(--muted-foreground));
  min-width: 52px;
}
.pro-side-poll__option-text {
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.25;
}
.pro-side-poll__option-check {
  width: 22px;
  height: 22px;
  border-radius: 0.42rem;
  border: 2px solid hsl(var(--primary) / 0.86);
  background: transparent;
}
.pro-side-poll__option.is-clickable {
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}
.pro-side-poll__option.is-clickable:hover {
  transform: translateY(-1px);
  border-color: hsl(var(--primary));
  background: hsl(var(--muted) / 0.26);
}
.pro-side-poll__option:disabled {
  opacity: 1;
}
.pro-side-poll__meta {
  margin-top: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  gap: 0.35rem;
  color: hsl(var(--muted-foreground));
  font-weight: 800;
  font-size: 0.98rem;
  text-align: end;
}
[dir="rtl"] .pro-side-poll__meta {
  justify-content: flex-start;
  text-align: right;
}
.pro-side-poll__meta strong {
  color: hsl(var(--foreground));
  font-weight: 1000;
}
.pro-side-poll__feedback {
  min-height: 1.2em;
  margin: 0.35rem 0 0;
  font-size: 0.84rem;
  font-weight: 700;
  color: hsl(var(--muted-foreground));
}
.pro-side-poll__feedback.is-success { color: #a7e8bc; }
.pro-side-poll__feedback.is-error { color: #ff9a9a; }
.pro-side-poll__all {
  display: inline-flex;
  color: hsl(var(--primary));
  font-size: 1.02rem;
  font-weight: 1000;
  text-decoration: none;
}
.pro-side-poll__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.45rem;
}
.pro-side-poll__single {
  display: inline-flex;
  color: hsl(var(--foreground));
  font-size: 1.02rem;
  font-weight: 1000;
  text-decoration: none;
}
.pro-side-poll__single:hover,
.pro-side-poll__all:hover {
  text-decoration: underline;
}

.pro-single-poll-card {
  margin-top: 1.25rem;
}
.pro-single-poll-widget {
  padding: 1.25rem;
  border-radius: 1.1rem;
}
.pro-single-poll-widget .pro-side-title {
  margin-bottom: 1rem;
}
.pro-single-poll-widget .pro-side-poll__options {
  gap: 0.75rem;
}
.pro-single-poll-widget .pro-side-poll__option {
  min-height: 64px;
  padding: 0.85rem 0.9rem;
}
.pro-single-poll-widget .pro-side-poll__option-text {
  font-size: 1.08rem;
}

.pro-polls-archive__grid {
  margin-top: 0.9rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.2rem;
}
.pro-polls-archive__item {
  padding-bottom: 2.2rem;
  border-bottom: 1px solid hsl(var(--foreground) / 0.08);
}
.pro-polls-archive__item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.pro-polls-archive__header {
  margin-bottom: 1.15rem;
}
.pro-polls-archive__title-link {
  color: hsl(var(--foreground));
  text-decoration: none;
}
.pro-polls-archive__title-link:hover {
  color: hsl(var(--primary));
}
.pro-polls-archive__meta {
  margin-bottom: 0;
}
.pro-polls-archive__card {
  max-width: 100%;
}
.pro-polls-archive__pagination {
  margin-top: 1rem;
}
.pro-polls-archive__pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
  justify-content: center;
}
.pro-polls-archive__pagination .page-numbers {
  min-width: 36px;
  height: 36px;
  padding: 0 0.65rem;
  border-radius: 0.65rem;
  border: 1px solid hsl(var(--border) / 0.75);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}
.pro-polls-archive__pagination .page-numbers.current {
  border-color: hsl(var(--primary));
  color: hsl(var(--primary));
}

.pro-side-social {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
.pro-side-social-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  border-top: 1px solid hsl(var(--foreground) / 0.08);
  padding-top: 0.75rem;
}
.pro-side-social-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  text-decoration: none;
  color: hsl(var(--foreground));
  padding: 0.62rem 0.55rem;
  min-height: 46px;
  border: 1px solid hsl(var(--border) / 0.8);
  border-radius: 0.85rem;
  background: hsl(var(--muted) / 0.18);
  transition: color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.pro-side-social-item:hover {
  color: hsl(var(--primary));
  transform: translateY(-1px);
  border-color: hsl(var(--primary) / 0.65);
}
.pro-side-social-main {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
}
.pro-side-social-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: currentColor;
  flex: 0 0 auto;
}
.pro-side-social-item--facebook .pro-side-social-icon { color: #1877f2; }
.pro-side-social-item--x .pro-side-social-icon { color: #f3f4f6; }
.pro-side-social-item--instagram .pro-side-social-icon { color: #e1306c; }
.pro-side-social-item--youtube .pro-side-social-icon { color: #ff0000; }
.pro-side-social-item--tiktok .pro-side-social-icon { color: #25f4ee; }
.pro-side-social-item--telegram .pro-side-social-icon { color: #229ed9; }
.pro-side-social-name {
  font-weight: 900;
  font-size: 0.98rem;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
[dir="rtl"] .pro-side-social-main {
  flex-direction: row;
}

/* ── Image + Link Banner widget ─────────────────────────────────────────── */
.pro-side-banner {
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius, 0.75rem);
}
.pro-side-banner__link {
  display: block;
  line-height: 0;
}
.pro-side-banner__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius, 0.75rem);
  transition: opacity 0.2s ease;
}
.pro-side-banner__link:hover .pro-side-banner__img {
  opacity: 0.88;
}

@media (max-width: 640px) {
  .pro-side-newsletter__form {
    flex-direction: column;
  }
  .pro-side-social-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pro-side-social-item {
    min-height: 44px;
    padding: 0.56rem 0.45rem;
  }
  .pro-side-social-main {
    min-width: 0;
    justify-content: center;
  }
  [dir="ltr"] .pro-side-social-main {
    justify-content: center;
  }
  [dir="rtl"] .pro-side-social-main {
    justify-content: center;
  }
  .pro-side-social-name {
    font-size: 0.92rem;
    line-height: 1.2;
  }
  .pro-side-poll__question {
    font-size: 1rem;
  }
  .pro-side-poll__option {
    min-height: 46px;
    padding: 0.5rem 0.62rem;
  }
  .pro-side-poll__option-percent {
    min-width: 46px;
    font-size: 1.02rem;
  }
  .pro-side-poll__option-text {
    font-size: 0.95rem;
  }
  .pro-side-poll__option-check {
    width: 18px;
    height: 18px;
  }
}

/* Single post extras (share / author / adjacent / related) */
.pro-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.pro-single-title-wrap {
  margin-bottom: 1rem;
}

.pro-single-title {
  margin: 0;
}

.pro-single-title__text {
  display: inline;
}

.pro-single-title-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-inline-start: 0.65rem;
  vertical-align: middle;
  white-space: nowrap;
  unicode-bidi: isolate;
  transform: translateY(-0.08em);
}

.pro-single-title-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.35rem;
  border-radius: 999px;
  border: 1px solid hsl(var(--foreground) / 0.16);
  background: hsl(var(--muted) / 0.12);
  color: hsl(var(--foreground));
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.pro-single-title-action:hover,
.pro-single-title-action.is-copied {
  background: hsl(var(--primary) / 0.14);
  border-color: hsl(var(--primary) / 0.5);
  color: hsl(var(--primary));
}

.pro-single-title-action:active {
  transform: translateY(1px);
}

.pro-single-title-action--edit {
  padding: 0.58rem 0.9rem;
}

.pro-single-title-action--copy {
  width: 2.35rem;
  padding: 0;
}

.pro-single-title-action__icon {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
}

.pro-single-whatsapp-cta-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 0.9rem;
}

.pro-single-top-tools {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-bottom: 0.9rem;
}

.pro-single-top-tools .pro-single-whatsapp-cta-wrap {
  margin-bottom: 0;
}

.pro-single-whatsapp-cta {
  display: inline-flex;
  align-items: stretch;
  min-height: 2.35rem;
  border: 1px solid hsl(var(--foreground) / 0.18);
  background: hsl(var(--background) / 0.7);
  color: hsl(var(--foreground) / 0.82);
  text-decoration: none;
  font-weight: 900;
  line-height: 1;
  direction: ltr;
  box-shadow: 0 10px 28px hsl(var(--background) / 0.18);
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.pro-single-whatsapp-cta:hover {
  border-color: #25d366;
  background: hsl(var(--background) / 0.88);
  color: hsl(var(--foreground));
  transform: translateY(-1px);
}

.pro-single-whatsapp-cta__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  min-height: 2.35rem;
  background: #25d366;
  color: #fff;
  flex: 0 0 auto;
}

.pro-single-whatsapp-cta__icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.pro-single-whatsapp-cta__text {
  display: inline-flex;
  align-items: center;
  padding: 0.58rem 0.85rem;
  white-space: nowrap;
  unicode-bidi: plaintext;
}

.pro-single-top-share {
  display: inline-flex;
  align-items: stretch;
  min-height: 2.35rem;
  border: 1px solid hsl(var(--foreground) / 0.18);
  background: hsl(var(--background) / 0.7);
  color: hsl(var(--foreground) / 0.82);
  box-shadow: 0 10px 28px hsl(var(--background) / 0.18);
  line-height: 1;
}

.pro-single-top-share__label {
  display: inline-flex;
  align-items: center;
  padding: 0.58rem 0.85rem;
  white-space: nowrap;
  font-size: 0.92rem;
  font-weight: 900;
}

.pro-single-top-share__icons {
  display: inline-flex;
  align-items: stretch;
}

.pro-single-top-share__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  min-height: 2.35rem;
  border-inline-start: 1px solid hsl(var(--foreground) / 0.12);
  color: hsl(var(--foreground) / 0.82);
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.pro-single-top-share__btn:hover {
  background: hsl(var(--primary) / 0.14);
  color: hsl(var(--primary));
  transform: translateY(-1px);
}

.pro-single-top-share__btn--whatsapp {
  color: #fff;
}

.pro-single-top-share__btn--whatsapp:hover {
  color: #fff;
}

.pro-single-top-share__btn svg {
  width: 1rem;
  height: 1rem;
}

.pro-post-extras {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pro-post-hashtags-wrap {
  margin-top: 1.5rem;
}

.pro-post-hashtags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.pro-post-hashtag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  border: 1px solid hsl(var(--primary) / 0.24);
  background: hsl(var(--primary) / 0.08);
  color: hsl(var(--primary));
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.pro-post-hashtag:hover {
  background: hsl(var(--primary) / 0.14);
  border-color: hsl(var(--primary) / 0.38);
  color: hsl(var(--primary));
}

.pro-card {
  border: 1px solid hsl(var(--foreground) / 0.16);
  background: hsl(var(--muted) / 0.10);
  border-radius: 1rem;
  padding: 1rem;
}

.pro-share {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.pro-share__title {
  font-weight: 900;
  font-size: 1.1rem;
}
.pro-share__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pro-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.55rem 0.95rem;
  border-radius: 9999px;
  border: 1px solid hsl(var(--foreground) / 0.16);
  background: hsl(var(--background) / 0.40);
  color: hsl(var(--foreground));
  text-decoration: none;
  font-weight: 800;
  font-size: 0.9rem;
  cursor: pointer;
  user-select: none;
}
.pro-chip__icon {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}
.pro-chip__label {
  line-height: 1;
}
.pro-chip:hover { border-color: hsl(var(--primary) / 0.6); }
.pro-chip:active { transform: translateY(1px); }

.pro-author {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.85rem;
}
.pro-author__bio {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.8;
  color: hsl(var(--muted-foreground));
}
.pro-author-head {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.pro-author-head__img {
  width: 96px;
  height: 96px;
  flex: 0 0 auto;
  border-radius: 9999px;
  object-fit: cover;
  border: 1px solid hsl(var(--border) / 0.7);
}
.pro-author__posts {
  display: inline-flex;
  align-items: center;
  padding: 0.38rem 0.85rem;
  border-radius: 999px;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground, 0 0% 100%));
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 900;
  line-height: 1;
  transition: opacity 0.2s ease;
}
.pro-author__posts:hover { opacity: 0.88; }
.pro-author__info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.pro-author__img {
  width: 46px;
  height: 46px;
  border-radius: 9999px;
  border: 1px solid hsl(var(--border) / 0.7);
}
.pro-author__label {
  font-size: 0.85rem;
  color: hsl(var(--muted-foreground));
  font-weight: 800;
}
.pro-author__name-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}
.pro-author__name {
  font-size: 1.05rem;
  font-weight: 900;
}
.pro-author__edit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.38rem 0.7rem;
  border-radius: 999px;
  border: 1px solid hsl(var(--primary) / 0.35);
  background: hsl(var(--primary) / 0.10);
  color: hsl(var(--primary));
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.pro-author__edit:hover {
  background: hsl(var(--primary) / 0.16);
  border-color: hsl(var(--primary) / 0.55);
  color: hsl(var(--primary));
}
.pro-author__edit-icon {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
}

.pro-nextprev {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
@media (min-width: 768px) {
  .pro-nextprev { grid-template-columns: 1fr 1fr; }
}

.pro-nextprev__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  border: 1px solid hsl(var(--foreground) / 0.16);
  background: hsl(var(--muted) / 0.08);
  border-radius: 1rem;
  padding: 0.85rem;
  text-decoration: none;
  color: hsl(var(--foreground));
}
.pro-nextprev__item:hover { border-color: hsl(var(--primary) / 0.45); }

.pro-nextprev__label {
  font-size: 0.82rem;
  color: hsl(var(--muted-foreground));
  font-weight: 800;
}
.pro-nextprev__title {
  margin-top: 0.25rem;
  font-weight: 900;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pro-nextprev__thumb {
  width: 76px;
  height: 58px;
  border-radius: 0.9rem;
  overflow: hidden;
  flex: 0 0 auto;
  background: hsl(var(--muted) / 0.25);
  border: 1px solid hsl(var(--border) / 0.5);
}
.pro-nextprev__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.pro-related {
  border: 1px solid hsl(var(--foreground) / 0.14);
  background: hsl(var(--muted) / 0.06);
  border-radius: 1rem;
  padding: 1rem;
}
.pro-related__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
}
.pro-related__title {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.6rem;
  font-weight: 1000;
}
.pro-related__bar {
  width: 4px;
  height: 1.9rem;
  background: hsl(var(--primary));
  border-radius: 9999px;
}
.pro-related__nav {
  display: flex;
  gap: 0.5rem;
}
.pro-nav-btn {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 9999px;
  border: 1px solid hsl(var(--foreground) / 0.14);
  background: hsl(var(--muted) / 0.12);
  color: hsl(var(--foreground));
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  display: grid;
  place-items: center;
}
.pro-nav-btn:hover { border-color: hsl(var(--primary) / 0.6); }

.pro-related__track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.25rem;
  scrollbar-width: none;
}
.pro-related__track::-webkit-scrollbar { display: none; }

.pro-related__card {
  flex: 0 0 78%;
  max-width: 78%;
  scroll-snap-align: start;
  text-decoration: none;
  color: hsl(var(--foreground));
}
@media (min-width: 640px) {
  .pro-related__card { flex-basis: 46%; max-width: 46%; }
}
@media (min-width: 1024px) {
  .pro-related__card { flex-basis: calc((100% - 3rem) / 4); max-width: calc((100% - 3rem) / 4); }
}

.pro-related__img {
  border-radius: 1rem;
  overflow: hidden;
  background: hsl(var(--muted) / 0.25);
  border: 1px solid hsl(var(--border) / 0.5);
  aspect-ratio: 16 / 10;
}
.pro-related__img img { width: 100%; height: 100%; object-fit: cover; display: block; }

.pro-related__card-title {
  margin-top: 0.75rem;
  font-weight: 900;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

[dir="rtl"] .pro-nextprev__item { direction: rtl; }
[dir="rtl"] .pro-related__track { direction: rtl; }

/* Single post continuous feed */
.pro-continuous-feed {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
}
.pro-continuous-post {
  border: 1px solid hsl(var(--foreground) / 0.14);
  background: hsl(var(--muted) / 0.08);
  border-radius: 1rem;
  padding: 1.35rem;
  box-shadow: inset 0 0 0 1px hsl(var(--foreground) / 0.03);
}
.pro-continuous-post__cat {
  font-size: 0.9rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 0.5rem;
  font-weight: 700;
}
.pro-continuous-post__title {
  margin: 0;
}
.pro-continuous-post__title-link {
  color: hsl(var(--foreground));
  text-decoration: none;
}
.pro-continuous-post__title-link:hover {
  color: hsl(var(--primary));
}
.pro-continuous-post__title-actions {
  margin-inline-start: 0.55rem;
}
.pro-continuous-post__meta {
  margin-top: 0.95rem;
  font-size: 0.95rem;
  color: hsl(var(--muted-foreground));
}
.pro-continuous-post__image {
  display: block;
  margin-top: 0.85rem;
  border-radius: 0.9rem;
  overflow: hidden;
  border: 1px solid hsl(var(--border) / 0.55);
  background: hsl(var(--muted) / 0.25);
}
.pro-continuous-post__image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
}
.pro-continuous-post__content {
  margin-top: 0.9rem;
}
[dir="rtl"] .pro-continuous-post {
  direction: rtl;
  text-align: right;
}
[dir="ltr"] .pro-continuous-post {
  direction: ltr;
  text-align: left;
}
@media (max-width: 767px) {
  .pro-continuous-feed {
    margin-top: 2rem;
    gap: 1.5rem;
  }
  .pro-continuous-post {
    padding: 1.05rem;
  }
  .pro-continuous-post__title {
    font-size: 1.9rem;
    line-height: 1.28;
  }
}

/* Stronger borders for share / prev-next / comments (requested) */
.pro-card,
.pro-nextprev__item,
.pro-related,
.pro-chip,
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  border-color: hsl(var(--foreground) / 0.14);
}

.pro-card {
  box-shadow: inset 0 0 0 1px hsl(var(--foreground) / 0.04);
}

.pro-chip {
  background: hsl(var(--muted) / 0.18);
}

.pro-nextprev__item,
.pro-related {
  box-shadow: inset 0 0 0 1px hsl(var(--foreground) / 0.03);
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  background: hsl(var(--muted) / 0.16);
}


/* Simple white time icon */
.pro-time-icon{display:inline-block;vertical-align:middle}


/* Category colored dot */
.pro-cat-dot{width:10px;height:10px;border-radius:9999px;display:inline-block;background:hsl(var(--primary));box-shadow:0 0 0 6px rgba(255,255,255,.06)}


/* Pro Builder: harden global background + prevent accidental scaling */
html, body{
  background-color: hsl(var(--background)) !important;
  min-height: 100%;
}
body{
  margin: 0;
  padding: 0;
  transform: none !important;
  zoom: 1;
}

/* Mobile overflow guard: remove accidental horizontal scroll/extra side gap */
@media (max-width: 767px) {
  html, body {
    max-width: 100%;
    overflow-x: hidden;
  }
  a,
  button,
  [role="button"],
  input,
  select,
  textarea,
  summary,
  label {
    touch-action: manipulation;
  }
  #site-main,
  header,
  footer,
  section,
  .container {
    max-width: 100%;
  }
  img,
  video,
  canvas,
  iframe {
    max-width: 100%;
    height: auto;
  }
}

/* Live ticker: prevent long marquee text from expanding page width */
.pro-live-ticker__viewport {
  min-width: 0;
  max-width: 100%;
}
.pro-live-ticker__track {
  width: max-content;
  min-width: max-content;
  will-change: transform;
  animation-duration: 150s;
  animation-timing-function: linear;
}
@media (min-width: 768px) {
  .pro-live-ticker__track.animate-marquee {
    animation: marquee 155s linear infinite !important;
  }
  [dir="rtl"] .pro-live-ticker__track.animate-marquee {
    animation: marquee-rtl 155s linear infinite !important;
  }
}
.pro-live-ticker__separator.pro-live-ticker__separator--desktop {
  display: none;
}
.pro-live-ticker__item {
  display: inline-block;
  vertical-align: top;
  flex: 0 0 auto;
  color: hsl(215deg 18.62% 76.58%) !important;
  font-weight: 700;
}
.pro-live-ticker__separator {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding-inline: 0.35rem;
}
.pro-live-ticker__separator-logo {
  width: 18px;
  height: 18px;
  object-fit: contain;
  object-position: center;
  display: block;
  opacity: 0.92;
}
@media (min-width: 768px) {
  .pro-live-ticker__separator.pro-live-ticker__separator--mobile {
    display: none;
  }
  .pro-live-ticker__separator.pro-live-ticker__separator--desktop {
    display: inline-flex;
  }
}
.pro-live-ticker__item--breaking {
  color: hsl(var(--primary)) !important;
  font-weight: 800;
}
.pro-live-ticker__breaking-label {
  margin-inline-end: 0.35rem;
  font-weight: 900;
}
.pro-live-ticker__viewport:hover .pro-live-ticker__track,
.pro-live-ticker__viewport:focus-within .pro-live-ticker__track {
  animation-play-state: paused;
}

.pro-live-now-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.pro-live-now-icon {
  position: relative;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 999px;
  background: hsl(var(--primary));
  box-shadow: 0 0 0 1px hsl(var(--primary) / 0.35);
  flex: 0 0 auto;
}
.pro-live-now-icon::before,
.pro-live-now-icon::after {
  content: "";
  position: absolute;
  inset: -0.42rem;
  border-radius: 999px;
  border: 2px solid hsl(var(--primary) / 0.55);
  animation: pro-live-now-pulse 1.8s linear infinite;
}
.pro-live-now-icon::after {
  animation-delay: 0.9s;
}
@keyframes pro-live-now-pulse {
  0% { transform: scale(0.45); opacity: 0.9; }
  100% { transform: scale(1.3); opacity: 0; }
}

@media (max-width: 767px) {
  [data-component="live-ticker"]:is(.pro-live-ticker--mobile-yellow, .pro-live-ticker--yellow, .pro-live-ticker--black-yellow) .pro-live-ticker__shell {
    background: linear-gradient(135deg, #ffe766 0%, #ffd83a 48%, #ffc91a 100%) !important;
    border-color: rgba(17, 17, 17, 0.16) !important;
    color: #111111;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    min-height: 2.9rem;
    align-items: stretch;
    gap: 0;
  }
  [data-component="live-ticker"]:is(.pro-live-ticker--mobile-yellow, .pro-live-ticker--yellow, .pro-live-ticker--black-yellow) .pro-live-now-pill {
    background: #e31b23 !important;
    color: #ffffff !important;
    align-self: stretch;
    border-radius: 0.75rem !important;
    position: relative;
    z-index: 0;
    isolation: isolate;
    padding: 0 1rem !important;
    margin: 0;
    flex: 0 0 auto;
  }
  [data-component="live-ticker"]:is(.pro-live-ticker--mobile-yellow, .pro-live-ticker--yellow, .pro-live-ticker--black-yellow) .pro-live-now-pill::before {
    content: "";
    position: absolute;
    inset: -0.32rem 0;
    border-radius: inherit;
    background: #e31b23;
    z-index: -1;
  }
  [data-component="live-ticker"]:is(.pro-live-ticker--mobile-yellow, .pro-live-ticker--yellow, .pro-live-ticker--black-yellow) .pro-live-ticker__viewport {
    display: flex;
    align-items: center;
    padding-inline-start: 0.9rem;
  }
  [data-component="live-ticker"]:is(.pro-live-ticker--mobile-yellow, .pro-live-ticker--yellow, .pro-live-ticker--black-yellow) .pro-live-now-icon {
    background: #ffffff;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35);
  }
  [data-component="live-ticker"]:is(.pro-live-ticker--mobile-yellow, .pro-live-ticker--yellow, .pro-live-ticker--black-yellow) .pro-live-now-icon::before,
  [data-component="live-ticker"]:is(.pro-live-ticker--mobile-yellow, .pro-live-ticker--yellow, .pro-live-ticker--black-yellow) .pro-live-now-icon::after {
    border-color: rgba(255, 255, 255, 0.5);
  }
  [data-component="live-ticker"]:is(.pro-live-ticker--mobile-yellow, .pro-live-ticker--yellow, .pro-live-ticker--black-yellow) .pro-live-ticker__item,
  [data-component="live-ticker"]:is(.pro-live-ticker--mobile-yellow, .pro-live-ticker--yellow, .pro-live-ticker--black-yellow) .pro-live-ticker__item--breaking,
  [data-component="live-ticker"]:is(.pro-live-ticker--mobile-yellow, .pro-live-ticker--yellow, .pro-live-ticker--black-yellow) .pro-live-ticker__breaking-label {
    color: #111111 !important;
  }
  [data-component="live-ticker"]:is(.pro-live-ticker--mobile-yellow, .pro-live-ticker--yellow, .pro-live-ticker--black-yellow) .pro-live-ticker__item:hover,
  [data-component="live-ticker"]:is(.pro-live-ticker--mobile-yellow, .pro-live-ticker--yellow, .pro-live-ticker--black-yellow) .pro-live-ticker__item:focus-visible {
    color: #111111 !important;
    opacity: 0.82;
  }
  [data-component="live-ticker"]:is(.pro-live-ticker--mobile-yellow, .pro-live-ticker--yellow, .pro-live-ticker--black-yellow) .pro-live-ticker__separator-logo {
    opacity: 0.84;
  }

  [data-component="live-ticker"]:is(.pro-live-ticker--mobile-dark-red, .pro-live-ticker--dark-red) .pro-live-ticker__shell {
    background:
      linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent 22%),
      linear-gradient(135deg, #781320 0%, #66101b 44%, #4b0d15 100%) !important;
    border-color: rgba(255, 167, 174, 0.16) !important;
    border-radius: 0.95rem !important;
    color: #fff7f7;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    min-height: 2.9rem;
    align-items: stretch;
    gap: 0;
    box-shadow: 0 10px 30px rgba(72, 8, 17, 0.26);
  }
  [data-component="live-ticker"]:is(.pro-live-ticker--mobile-dark-red, .pro-live-ticker--dark-red) .pro-live-now-pill {
    background: linear-gradient(180deg, #e02a40 0%, #cd152c 100%) !important;
    color: #ffffff !important;
    align-self: stretch;
    border-radius: 0.95rem !important;
    position: relative;
    z-index: 0;
    isolation: isolate;
    padding: 0 1rem !important;
    margin: 0;
    flex: 0 0 auto;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  }
  [data-component="live-ticker"]:is(.pro-live-ticker--mobile-dark-red, .pro-live-ticker--dark-red) .pro-live-now-pill::before {
    content: "";
    position: absolute;
    inset: -0.2rem 0;
    border-radius: inherit;
    background: linear-gradient(180deg, #da253b 0%, #c81229 100%);
    z-index: -1;
  }
  [data-component="live-ticker"]:is(.pro-live-ticker--mobile-dark-red, .pro-live-ticker--dark-red) .pro-live-ticker__viewport {
    display: flex;
    align-items: center;
    padding-inline-start: 0.9rem;
  }
  [data-component="live-ticker"]:is(.pro-live-ticker--mobile-dark-red, .pro-live-ticker--dark-red) .pro-live-now-icon {
    background: #ffffff;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.28);
  }
  [data-component="live-ticker"]:is(.pro-live-ticker--mobile-dark-red, .pro-live-ticker--dark-red) .pro-live-now-icon::before,
  [data-component="live-ticker"]:is(.pro-live-ticker--mobile-dark-red, .pro-live-ticker--dark-red) .pro-live-now-icon::after {
    border-color: rgba(255, 255, 255, 0.35);
  }
  [data-component="live-ticker"]:is(.pro-live-ticker--mobile-dark-red, .pro-live-ticker--dark-red) .pro-live-ticker__item,
  [data-component="live-ticker"]:is(.pro-live-ticker--mobile-dark-red, .pro-live-ticker--dark-red) .pro-live-ticker__item--breaking,
  [data-component="live-ticker"]:is(.pro-live-ticker--mobile-dark-red, .pro-live-ticker--dark-red) .pro-live-ticker__breaking-label {
    color: #fff3f4 !important;
  }
  [data-component="live-ticker"]:is(.pro-live-ticker--mobile-dark-red, .pro-live-ticker--dark-red) .pro-live-ticker__item:hover,
  [data-component="live-ticker"]:is(.pro-live-ticker--mobile-dark-red, .pro-live-ticker--dark-red) .pro-live-ticker__item:focus-visible {
    color: #ffffff !important;
    opacity: 0.86;
  }
  [data-component="live-ticker"]:is(.pro-live-ticker--mobile-dark-red, .pro-live-ticker--dark-red) .pro-live-ticker__separator-logo {
    opacity: 0.76;
  }
}

@media (min-width: 768px) {
  [data-component="live-ticker"]:is(.pro-live-ticker--desktop-yellow, .pro-live-ticker--yellow, .pro-live-ticker--black-yellow) .pro-live-ticker__shell {
    background: linear-gradient(135deg, #ffe766 0%, #ffd83a 48%, #ffc91a 100%) !important;
    border-color: rgba(17, 17, 17, 0.16) !important;
    color: #111111;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    min-height: 2.9rem;
    align-items: stretch;
    gap: 0;
  }
  [data-component="live-ticker"]:is(.pro-live-ticker--desktop-yellow, .pro-live-ticker--yellow, .pro-live-ticker--black-yellow) .pro-live-now-pill {
    background: #e31b23 !important;
    color: #ffffff !important;
    align-self: stretch;
    border-radius: 0.75rem !important;
    position: relative;
    z-index: 0;
    isolation: isolate;
    padding: 0 1rem !important;
    margin: 0;
    flex: 0 0 auto;
  }
  [data-component="live-ticker"]:is(.pro-live-ticker--desktop-yellow, .pro-live-ticker--yellow, .pro-live-ticker--black-yellow) .pro-live-now-pill::before {
    content: "";
    position: absolute;
    inset: -0.32rem 0;
    border-radius: inherit;
    background: #e31b23;
    z-index: -1;
  }
  [data-component="live-ticker"]:is(.pro-live-ticker--desktop-yellow, .pro-live-ticker--yellow, .pro-live-ticker--black-yellow) .pro-live-ticker__viewport {
    display: flex;
    align-items: center;
    padding-inline-start: 0.9rem;
  }
  [data-component="live-ticker"]:is(.pro-live-ticker--desktop-yellow, .pro-live-ticker--yellow, .pro-live-ticker--black-yellow) .pro-live-now-icon {
    background: #ffffff;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35);
  }
  [data-component="live-ticker"]:is(.pro-live-ticker--desktop-yellow, .pro-live-ticker--yellow, .pro-live-ticker--black-yellow) .pro-live-now-icon::before,
  [data-component="live-ticker"]:is(.pro-live-ticker--desktop-yellow, .pro-live-ticker--yellow, .pro-live-ticker--black-yellow) .pro-live-now-icon::after {
    border-color: rgba(255, 255, 255, 0.5);
  }
  [data-component="live-ticker"]:is(.pro-live-ticker--desktop-yellow, .pro-live-ticker--yellow, .pro-live-ticker--black-yellow) .pro-live-ticker__item,
  [data-component="live-ticker"]:is(.pro-live-ticker--desktop-yellow, .pro-live-ticker--yellow, .pro-live-ticker--black-yellow) .pro-live-ticker__item--breaking,
  [data-component="live-ticker"]:is(.pro-live-ticker--desktop-yellow, .pro-live-ticker--yellow, .pro-live-ticker--black-yellow) .pro-live-ticker__breaking-label {
    color: #111111 !important;
  }
  [data-component="live-ticker"]:is(.pro-live-ticker--desktop-yellow, .pro-live-ticker--yellow, .pro-live-ticker--black-yellow) .pro-live-ticker__item:hover,
  [data-component="live-ticker"]:is(.pro-live-ticker--desktop-yellow, .pro-live-ticker--yellow, .pro-live-ticker--black-yellow) .pro-live-ticker__item:focus-visible {
    color: #111111 !important;
    opacity: 0.82;
  }
  [data-component="live-ticker"]:is(.pro-live-ticker--desktop-yellow, .pro-live-ticker--yellow, .pro-live-ticker--black-yellow) .pro-live-ticker__separator-logo {
    opacity: 0.84;
  }

  [data-component="live-ticker"]:is(.pro-live-ticker--desktop-dark-red, .pro-live-ticker--dark-red) .pro-live-ticker__shell {
    background:
      linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent 22%),
      linear-gradient(135deg, #781320 0%, #66101b 44%, #4b0d15 100%) !important;
    border-color: rgba(255, 167, 174, 0.16) !important;
    border-radius: 0.95rem !important;
    color: #fff7f7;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    min-height: 2.9rem;
    align-items: stretch;
    gap: 0;
    box-shadow: 0 10px 30px rgba(72, 8, 17, 0.26);
  }
  [data-component="live-ticker"]:is(.pro-live-ticker--desktop-dark-red, .pro-live-ticker--dark-red) .pro-live-now-pill {
    background: linear-gradient(180deg, #e02a40 0%, #cd152c 100%) !important;
    color: #ffffff !important;
    align-self: stretch;
    border-radius: 0.95rem !important;
    position: relative;
    z-index: 0;
    isolation: isolate;
    padding: 0 1rem !important;
    margin: 0;
    flex: 0 0 auto;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  }
  [data-component="live-ticker"]:is(.pro-live-ticker--desktop-dark-red, .pro-live-ticker--dark-red) .pro-live-now-pill::before {
    content: "";
    position: absolute;
    inset: -0.2rem 0;
    border-radius: inherit;
    background: linear-gradient(180deg, #da253b 0%, #c81229 100%);
    z-index: -1;
  }
  [data-component="live-ticker"]:is(.pro-live-ticker--desktop-dark-red, .pro-live-ticker--dark-red) .pro-live-ticker__viewport {
    display: flex;
    align-items: center;
    padding-inline-start: 0.9rem;
  }
  [data-component="live-ticker"]:is(.pro-live-ticker--desktop-dark-red, .pro-live-ticker--dark-red) .pro-live-now-icon {
    background: #ffffff;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.28);
  }
  [data-component="live-ticker"]:is(.pro-live-ticker--desktop-dark-red, .pro-live-ticker--dark-red) .pro-live-now-icon::before,
  [data-component="live-ticker"]:is(.pro-live-ticker--desktop-dark-red, .pro-live-ticker--dark-red) .pro-live-now-icon::after {
    border-color: rgba(255, 255, 255, 0.35);
  }
  [data-component="live-ticker"]:is(.pro-live-ticker--desktop-dark-red, .pro-live-ticker--dark-red) .pro-live-ticker__item,
  [data-component="live-ticker"]:is(.pro-live-ticker--desktop-dark-red, .pro-live-ticker--dark-red) .pro-live-ticker__item--breaking,
  [data-component="live-ticker"]:is(.pro-live-ticker--desktop-dark-red, .pro-live-ticker--dark-red) .pro-live-ticker__breaking-label {
    color: #fff3f4 !important;
  }
  [data-component="live-ticker"]:is(.pro-live-ticker--desktop-dark-red, .pro-live-ticker--dark-red) .pro-live-ticker__item:hover,
  [data-component="live-ticker"]:is(.pro-live-ticker--desktop-dark-red, .pro-live-ticker--dark-red) .pro-live-ticker__item:focus-visible {
    color: #ffffff !important;
    opacity: 0.86;
  }
  [data-component="live-ticker"]:is(.pro-live-ticker--desktop-dark-red, .pro-live-ticker--dark-red) .pro-live-ticker__separator-logo {
    opacity: 0.76;
  }
}

/* Timed breaking top bar (appears above site) */
.pro-breaking-top {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 120;
  background:
    radial-gradient(circle at 10% 50%, rgba(255,255,255,0.18) 1px, transparent 1px) 0 0/18px 18px,
    hsl(var(--primary));
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
  transform: translateY(-110%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.28s ease, opacity 0.28s ease;
}
.pro-breaking-top.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.pro-breaking-top.is-hidden {
  transform: translateY(-110%);
  opacity: 0;
  pointer-events: none;
}
.pro-breaking-top__inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 48px;
}
.pro-breaking-top__close {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 0, 0.12);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.pro-breaking-top__link {
  min-width: 0;
  flex: 1 1 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #fff;
  text-decoration: none;
}
.pro-breaking-top__label,
.pro-breaking-top__tail {
  font-weight: 900;
  white-space: nowrap;
}
.pro-breaking-top__title {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 800;
}
.pro-breaking-top__sep {
  opacity: 0.9;
}
.admin-bar .pro-breaking-top {
  top: 32px;
}
@media (max-width: 782px) {
  .admin-bar .pro-breaking-top {
    top: 46px;
  }
}
@media (max-width: 767px) {
  .pro-breaking-top__inner {
    min-height: 42px;
    gap: 0.55rem;
  }
  .pro-breaking-top__link {
    min-width: 0;
    flex-wrap: nowrap;
    white-space: nowrap;
    overflow: hidden;
  }
  .pro-breaking-top__label,
  .pro-breaking-top__sep,
  .pro-breaking-top__title {
    white-space: nowrap;
    line-height: 1.15;
  }
  .pro-breaking-top__title {
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .pro-breaking-top__tail {
    display: none;
  }
}

@media (max-width: 767px) {
  /* Hard clamp top-level wrappers to stop any accidental horizontal expansion */
  #site-main,
  #site-main > section,
  header,
  footer,
  [data-component="breaking-banner"],
  [data-component="live-ticker"] {
    max-width: 100%;
    overflow-x: clip;
  }

  .container > .flex,
  .container > .grid,
  .pro-hero-layout,
  .pro-news-focus-grid,
  .pro-news-lead-strip-top,
  .pro-news-triple-top,
  .pro-news-mini-grid {
    min-width: 0;
    max-width: 100%;
  }
  .container > .flex > *,
  .container > .grid > * {
    min-width: 0;
  }

  /* Keep marquee continuous on mobile; do not clamp each item text */
  .pro-live-ticker__track {
    width: max-content !important;
    min-width: max-content !important;
    animation-duration: 90s !important;
  }
  .pro-live-ticker__item {
    white-space: nowrap;
    line-height: 1.2;
  }
  .pro-live-ticker__separator {
    padding-inline: 0.25rem;
  }
  .pro-live-ticker__separator-logo {
    width: 15px;
    height: 15px;
  }
  [data-component="breaking-banner"] a,
  .pro-hero-side__meta,
  .pro-hero-side__text {
    min-width: 0;
    overflow-wrap: normal;
  }
  .pro-hero-side__meta {
    white-space: normal;
  }
}

/* Header auto-hide on scroll (desktop + mobile) */
.pro-header-main {
  position: relative;
  z-index: 6;
  overflow: visible;
}
.pro-mobile-menu-toggle {
  position: relative;
  z-index: 8;
  min-width: 46px;
  min-height: 46px;
  border: 1px solid hsl(var(--border) / 0.26);
  background: hsl(var(--background) / 0.02);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.pro-mobile-menu-toggle .pro-icon {
  pointer-events: none;
}
.pro-mobile-menu-toggle:hover,
.pro-mobile-menu-toggle.is-open {
  background: hsl(var(--primary) / 0.1);
  border-color: hsl(var(--primary) / 0.34);
}
.pro-mobile-menu-toggle:active {
  transform: scale(0.97);
}
.pro-header-live-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  direction: ltr;
  min-height: 2.35rem;
  padding: 0.35rem 0.9rem;
  border: 1px solid rgba(239, 68, 68, 0.86);
  border-radius: 999px;
  background: rgba(127, 29, 29, 0.16);
  color: #fff;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 0 0 1px rgba(239, 68, 68, 0.14), 0 10px 26px rgba(239, 68, 68, 0.24);
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}
.pro-header-live-btn:hover,
.pro-header-live-btn:focus-visible {
  border-color: rgba(248, 113, 113, 0.98);
  background: rgba(185, 28, 28, 0.34);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(248, 113, 113, 0.24), 0 12px 30px rgba(239, 68, 68, 0.32);
  transform: translateY(-1px);
}
.pro-header-live-btn__icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  order: 2;
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.55);
  animation: pro-header-live-pulse 1.8s ease-out infinite;
}
.pro-header-live-btn__icon .pro-icon {
  transform: translateX(1px);
}
[dir="rtl"] .pro-header-live-btn__icon .pro-icon {
  transform: translateX(0);
}
.pro-header-live-btn__label {
  order: 1;
  direction: ltr;
  transform: translateY(-0.02rem);
}
[dir="rtl"] .pro-header-live-btn__icon {
  order: 1;
}
[dir="rtl"] .pro-header-live-btn__label {
  order: 2;
  direction: rtl;
}
.pro-header-live-btn--mobile {
  width: 100%;
  min-height: 2.65rem;
}
@keyframes pro-header-live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(239, 68, 68, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}
.pro-mobile-lang-switcher {
  position: relative;
  z-index: 8;
  display: inline-flex;
  align-items: center;
}
.pro-mobile-lang-list {
  display: inline-flex;
  align-items: center;
  gap: 0.14rem;
  padding: 0.16rem;
  border: 1px solid hsl(var(--border) / 0.26);
  border-radius: 0.92rem;
  background: hsl(var(--background) / 0.02);
}
.pro-mobile-lang-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  padding: 0 0.35rem;
  border-radius: 0.72rem;
  color: hsl(var(--muted-foreground));
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.pro-mobile-lang-link:hover {
  background: hsl(var(--primary) / 0.08);
  color: hsl(var(--foreground));
}
.pro-mobile-lang-link[aria-current="page"] {
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--foreground));
  box-shadow: inset 0 0 0 1px hsl(var(--primary) / 0.34);
}
.pro-mobile-lang-toggle {
  min-width: 46px;
  min-height: 46px;
  border: 1px solid hsl(var(--border) / 0.26);
  background: hsl(var(--background) / 0.02);
  color: hsl(var(--foreground));
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.pro-mobile-lang-toggle:hover,
.pro-mobile-lang-toggle[aria-expanded="true"] {
  background: hsl(var(--primary) / 0.1);
  border-color: hsl(var(--primary) / 0.34);
}
.pro-mobile-lang-toggle:active {
  transform: scale(0.97);
}
.pro-weather-widget {
  position: relative;
  min-width: 0;
  z-index: 7;
}
.pro-header-topbar__mobile-weather {
  display: none;
}
.pro-weather-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 13.5rem;
  max-width: 17rem;
  min-height: 46px;
  padding: 0.5rem 0.85rem;
  border: 1px solid hsl(var(--border) / 0.26);
  border-radius: 0.95rem;
  background:
    linear-gradient(180deg, hsl(var(--background) / 0.1), hsl(var(--background) / 0.03)),
    hsl(var(--background) / 0.02);
  color: hsl(var(--foreground));
  text-align: start;
  cursor: pointer;
  appearance: none;
  box-shadow: 0 10px 28px hsl(0 0% 0% / 0.12);
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}
.pro-weather-trigger:hover,
.pro-weather-widget.is-open .pro-weather-trigger {
  border-color: hsl(var(--primary) / 0.28);
  background:
    linear-gradient(180deg, hsl(var(--background) / 0.18), hsl(var(--background) / 0.06)),
    hsl(var(--background) / 0.04);
}
.pro-weather-trigger:active {
  transform: scale(0.985);
}
.pro-weather-trigger__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
}
.pro-weather-trigger__summary {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 0.22rem;
  min-width: 0;
  flex: 1 1 auto;
  order: -1;
  white-space: nowrap;
  overflow: hidden;
}
.pro-weather-trigger__temp {
  color: hsl(var(--foreground));
  font-size: 1.06rem;
  line-height: 1;
  font-weight: 900;
  flex: 0 0 auto;
}
.pro-weather-trigger__city {
  color: hsl(var(--muted-foreground));
  font-size: 0.82rem;
  line-height: 1;
  font-weight: 700;
  min-width: 0;
  flex: 1 1 auto;
  order: -1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pro-weather-trigger__chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: hsl(var(--muted-foreground));
  transition: transform 0.22s ease;
}
.pro-weather-widget.is-open .pro-weather-trigger__chevron {
  transform: rotate(180deg);
}
.pro-weather-panel {
  position: absolute;
  inset-inline-end: 0;
  top: calc(100% + 0.55rem);
  z-index: 40;
  width: min(21rem, 78vw);
  padding: 0.9rem;
  border: 1px solid hsl(var(--border) / 0.28);
  border-radius: 1.05rem;
  background:
    linear-gradient(180deg, hsl(228 18% 12%), hsl(228 18% 10%)),
    hsl(var(--background));
  color: hsl(var(--foreground));
  box-shadow: 0 20px 46px hsl(0 0% 0% / 0.34);
}
.pro-weather-panel__hero {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.8rem 0.85rem;
  border-radius: 0.9rem;
  background:
    radial-gradient(circle at top right, hsl(var(--primary) / 0.16), transparent 48%),
    linear-gradient(180deg, hsl(225 20% 18%), hsl(225 18% 14%));
  margin-bottom: 0.8rem;
}
.pro-weather-panel__hero-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  flex: 0 0 auto;
}
.pro-weather-panel__hero-meta {
  display: flex;
  align-items: baseline;
  gap: 0.32rem;
  min-width: 0;
  flex: 1 1 auto;
  order: -1;
}
.pro-weather-panel__hero-temp {
  font-size: 2rem;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.03em;
  flex: 0 0 auto;
}
.pro-weather-panel__hero-city {
  margin-top: 0;
  color: hsl(var(--muted-foreground));
  font-size: 0.92rem;
  font-weight: 700;
  min-width: 0;
  flex: 1 1 auto;
  order: -1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pro-weather-panel__list {
  display: grid;
  gap: 0.36rem;
}
.pro-weather-panel__empty {
  padding: 0.75rem 0.4rem 0.35rem;
  color: hsl(var(--muted-foreground));
  font-size: 0.82rem;
  font-weight: 700;
}
.pro-weather-forecast-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.62rem 0.2rem;
  border-bottom: 1px solid hsl(var(--border) / 0.12);
}
.pro-weather-forecast-row:last-child {
  border-bottom: 0;
}
.pro-weather-forecast-row__main {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}
.pro-weather-forecast-row__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.8rem;
  height: 1.8rem;
  flex: 0 0 auto;
}
.pro-weather-forecast-row__day {
  font-size: 0.92rem;
  font-weight: 800;
  color: hsl(var(--foreground));
  order: -1;
}
.pro-weather-forecast-row__temp {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  white-space: nowrap;
  color: hsl(var(--foreground));
  font-size: 0.88rem;
  font-weight: 900;
}
.pro-weather-forecast-row__sep,
.pro-weather-forecast-row__temp-min {
  color: hsl(var(--muted-foreground));
}
.pro-weather-icon {
  position: relative;
  display: inline-flex;
  width: 1.9rem;
  height: 1.9rem;
  color: hsl(47 100% 62%);
}
.pro-weather-icon--lg {
  width: 3.45rem;
  height: 3.45rem;
}
.pro-weather-icon > span {
  position: absolute;
}
.pro-weather-icon__sun,
.pro-weather-icon__moon,
.pro-weather-icon__cloud,
.pro-weather-icon__rain,
.pro-weather-icon__bolt,
.pro-weather-icon__fog {
  display: none;
}
.pro-weather-icon__sun {
  inset: 0;
  animation: pro-weather-float 4.2s ease-in-out infinite;
}
.pro-weather-icon__sun-core {
  position: absolute;
  inset: 30%;
  border-radius: 999px;
  background: radial-gradient(circle, #ffe88a 0%, #ffd33f 70%, #f6b500 100%);
  box-shadow: 0 0 18px rgba(255, 204, 34, 0.35);
}
.pro-weather-icon__sun-rays {
  position: absolute;
  inset: 10%;
  border-radius: 999px;
  border: 0.12rem dashed rgba(255, 222, 115, 0.95);
  animation: pro-weather-spin 9s linear infinite;
}
.pro-weather-icon__moon {
  inset: 20% 22% 20% 22%;
  border-radius: 999px;
  background: linear-gradient(180deg, #f4f2ff, #c4d1ff);
  box-shadow:
    -0.36rem 0 0 0 hsl(225 26% 14%),
    0 0 14px rgba(204, 220, 255, 0.34);
}
.pro-weather-icon__cloud {
  inset: auto 8% 18% 18%;
  width: 68%;
  height: 35%;
  border-radius: 999px;
  background: linear-gradient(180deg, #f8fafc, #d7dde9);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  animation: pro-weather-float 4.8s ease-in-out infinite;
}
.pro-weather-icon__cloud::before,
.pro-weather-icon__cloud::after {
  content: "";
  position: absolute;
  bottom: 38%;
  border-radius: 999px;
  background: inherit;
}
.pro-weather-icon__cloud::before {
  inset-inline-start: 10%;
  width: 42%;
  height: 92%;
}
.pro-weather-icon__cloud::after {
  inset-inline-end: 12%;
  width: 34%;
  height: 82%;
}
.pro-weather-icon__cloud--back {
  inset: auto 24% 34% 8%;
  width: 52%;
  height: 28%;
  opacity: 0.68;
  transform: scale(0.9);
}
.pro-weather-icon__rain {
  inset: auto 22% 0 26%;
  height: 35%;
}
.pro-weather-icon__rain-drop {
  width: 0.12rem;
  height: 0.55rem;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(161, 220, 255, 0.2), #7dd3fc);
  animation: pro-weather-rain 1.2s linear infinite;
}
.pro-weather-icon__rain-drop--1 {
  inset-inline-start: 8%;
  animation-delay: 0s;
}
.pro-weather-icon__rain-drop--2 {
  inset-inline-start: 42%;
  animation-delay: 0.22s;
}
.pro-weather-icon__rain-drop--3 {
  inset-inline-start: 76%;
  animation-delay: 0.4s;
}
.pro-weather-icon__bolt {
  inset: 42% 28% 6% 42%;
  background: #ffd54a;
  clip-path: polygon(45% 0, 100% 0, 63% 46%, 86% 46%, 18% 100%, 43% 57%, 14% 57%);
  filter: drop-shadow(0 0 6px rgba(255, 215, 74, 0.34));
  animation: pro-weather-bolt 1.1s ease-in-out infinite alternate;
}
.pro-weather-icon__fog {
  inset-inline: 18%;
  height: 0.14rem;
  border-radius: 999px;
  background: rgba(220, 225, 232, 0.92);
  animation: pro-weather-fog 2.2s ease-in-out infinite alternate;
}
.pro-weather-icon__fog--1 {
  top: 44%;
}
.pro-weather-icon__fog--2 {
  top: 62%;
  inset-inline: 24%;
  opacity: 0.8;
}
.pro-weather-icon--clear .pro-weather-icon__sun,
.pro-weather-icon--partly-cloudy .pro-weather-icon__sun,
.pro-weather-icon--night-clear .pro-weather-icon__moon,
.pro-weather-icon--partly-cloudy .pro-weather-icon__cloud,
.pro-weather-icon--partly-cloudy .pro-weather-icon__cloud--back,
.pro-weather-icon--cloudy .pro-weather-icon__cloud,
.pro-weather-icon--cloudy .pro-weather-icon__cloud--back,
.pro-weather-icon--rain .pro-weather-icon__cloud,
.pro-weather-icon--rain .pro-weather-icon__cloud--back,
.pro-weather-icon--rain .pro-weather-icon__rain,
.pro-weather-icon--storm .pro-weather-icon__cloud,
.pro-weather-icon--storm .pro-weather-icon__cloud--back,
.pro-weather-icon--storm .pro-weather-icon__rain,
.pro-weather-icon--storm .pro-weather-icon__bolt,
.pro-weather-icon--snow .pro-weather-icon__cloud,
.pro-weather-icon--snow .pro-weather-icon__cloud--back,
.pro-weather-icon--snow .pro-weather-icon__rain,
.pro-weather-icon--fog .pro-weather-icon__fog {
  display: block;
}
.pro-weather-icon--snow .pro-weather-icon__rain-drop {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.24), #f8fafc);
  width: 0.24rem;
  height: 0.24rem;
  border-radius: 999px;
}
.pro-weather-icon--partly-cloudy .pro-weather-icon__sun {
  inset: -4% auto auto -2%;
  width: 68%;
  height: 68%;
}
.pro-weather-widget.is-loading .pro-weather-trigger__city {
  opacity: 0.75;
}
.pro-weather-widget.is-unavailable .pro-weather-trigger__temp {
  color: hsl(var(--muted-foreground));
}
@keyframes pro-weather-spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes pro-weather-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-0.08rem);
  }
}
@keyframes pro-weather-rain {
  0% {
    transform: translateY(-0.05rem);
    opacity: 0;
  }
  20%,
  70% {
    opacity: 1;
  }
  100% {
    transform: translateY(0.5rem);
    opacity: 0;
  }
}
@keyframes pro-weather-bolt {
  0% {
    opacity: 0.52;
    transform: scale(0.96);
  }
  100% {
    opacity: 1;
    transform: scale(1.04);
  }
}
@keyframes pro-weather-fog {
  0% {
    transform: translateX(-0.08rem);
  }
  100% {
    transform: translateX(0.08rem);
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .pro-weather-trigger {
    min-width: 11.75rem;
    max-width: 12.75rem;
    padding-inline: 0.72rem;
  }

  .pro-weather-panel {
    width: min(18rem, 68vw);
  }
}
.pro-mobile-menu {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-10px);
  transition:
    max-height 0.34s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.22s ease,
    transform 0.24s ease,
    visibility 0s linear 0.34s;
}
.pro-mobile-menu.is-open {
  max-height: min(75vh, 36rem);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition:
    max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.24s ease,
    transform 0.24s ease,
    visibility 0s;
}
.pro-mobile-menu__inner > * {
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.24s ease;
}
.pro-mobile-menu.is-open .pro-mobile-menu__inner > * {
  opacity: 1;
  transform: translateY(0);
}
.pro-mobile-menu.is-open .pro-mobile-menu__inner > *:nth-child(1) {
  transition-delay: 0.03s;
}
.pro-mobile-menu.is-open .pro-mobile-menu__inner > *:nth-child(2) {
  transition-delay: 0.07s;
}
.pro-mobile-menu.is-open .pro-mobile-menu__inner > *:nth-child(3) {
  transition-delay: 0.11s;
}
.pro-header-mega-nav {
  min-width: 0;
}
.pro-header-mega-nav__item {
  position: static;
}
.pro-header-mega-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 42px;
  white-space: nowrap;
  font-weight: 800;
}
.pro-header-mega-nav__link--mega {
  padding-inline: 0.95rem 0.82rem;
}
.pro-header-mega-nav__caret {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--primary));
  transition: transform 0.22s ease, color 0.22s ease;
}
.pro-header-mega-nav__item.is-open > .pro-header-mega-nav__link {
  background: hsl(var(--primary) / 0.12);
  color: hsl(var(--foreground));
}
.pro-header-mega-nav__item.is-open > .pro-header-mega-nav__link .pro-header-mega-nav__caret {
  transform: rotate(180deg);
}
.pro-header-mega-nav__panel[hidden],
.pro-header-mega-nav__pane[hidden] {
  display: none !important;
}
@media (min-width: 768px) {
  .pro-header-mega-nav__panel {
    position: absolute;
    inset-inline: 0;
    top: var(--mega-panel-top, 100%);
    padding-top: 0.38rem;
    z-index: 80;
    opacity: 0;
    transform: translateY(18px) scale(0.985);
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
  }

  .pro-header-mega-nav__panel::before {
    content: "";
    position: absolute;
    inset-inline: 0;
    top: -0.42rem;
    height: 0.42rem;
  }

  .pro-header-mega-nav__item.is-open .pro-header-mega-nav__panel {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }

  .pro-header-mega-nav__panel-shell {
    position: relative;
    overflow: hidden;
    padding: 1.35rem 1.35rem 1.45rem;
    border-radius: 26px;
    border: 1px solid hsl(var(--border) / 0.42);
    background:
      radial-gradient(circle at top right, hsl(var(--primary) / 0.16), transparent 30%),
      linear-gradient(145deg, hsl(var(--surface-deeper) / 0.98), hsl(var(--background) / 0.98));
    box-shadow:
      0 30px 60px rgba(0, 0, 0, 0.28),
      0 0 0 1px hsl(var(--primary) / 0.06);
    backdrop-filter: blur(18px);
  }

  .pro-header-mega-nav__panel-shell::before {
    content: "";
    position: absolute;
    inset-inline: 1.2rem;
    inset-block-start: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, hsl(var(--primary)), transparent);
    opacity: 0.72;
  }

  .pro-header-mega-nav__panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.15rem;
  }

  .pro-header-mega-nav__tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    min-width: 0;
  }

  .pro-header-mega-nav__tab {
    appearance: none;
    border: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0.62rem 0.95rem;
    border-radius: 999px;
    background: hsl(var(--background) / 0.42);
    color: hsl(var(--foreground));
    font-size: 0.88rem;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
    transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
  }

  .pro-header-mega-nav__tab:hover,
  .pro-header-mega-nav__tab:focus-visible {
    background: hsl(var(--primary) / 0.14);
    color: #fff;
    outline: none;
    transform: translateY(-1px);
  }

  .pro-header-mega-nav__tab.is-active {
    background: hsl(var(--primary));
    color: #fff;
    box-shadow: 0 12px 30px hsl(var(--primary) / 0.24);
  }

  .pro-header-mega-nav__view-all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    border: 1px solid hsl(var(--primary) / 0.38);
    background: hsl(var(--primary) / 0.08);
    color: #fff;
    font-size: 0.84rem;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    transition: background-color 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
    white-space: nowrap;
  }

  .pro-header-mega-nav__view-all:hover,
  .pro-header-mega-nav__view-all:focus-visible {
    background: hsl(var(--primary) / 0.18);
    border-color: hsl(var(--primary) / 0.58);
    transform: translateY(-1px);
    outline: none;
  }

  .pro-header-mega-nav__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
  }

  .pro-header-mega-nav__card {
    min-width: 0;
  }

  .pro-header-mega-nav__pane.is-active .pro-header-mega-nav__card {
    animation: pro-header-mega-card-in 0.42s both;
    animation-delay: var(--mega-card-delay, 0s);
  }

  .pro-header-mega-nav__card-link {
    display: block;
    height: 100%;
    padding: 0.48rem;
    border-radius: 18px;
    border: 1px solid hsl(var(--border) / 0.3);
    background: linear-gradient(180deg, hsl(var(--background) / 0.24), hsl(var(--background) / 0.46));
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  }

  .pro-header-mega-nav__card-link:hover,
  .pro-header-mega-nav__card-link:focus-visible {
    transform: translateY(-4px);
    border-color: hsl(var(--primary) / 0.5);
    background: linear-gradient(180deg, hsl(var(--background) / 0.16), hsl(var(--background) / 0.56));
    box-shadow: 0 16px 24px rgba(0, 0, 0, 0.18);
    outline: none;
  }

  .pro-header-mega-nav__thumb {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    border-radius: 14px;
    background: linear-gradient(135deg, hsl(var(--primary) / 0.2), hsl(var(--surface-deeper)));
    margin-bottom: 0.8rem;
  }

  .pro-header-mega-nav__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.28s ease;
  }

  .pro-header-mega-nav__card-link:hover .pro-header-mega-nav__thumb img,
  .pro-header-mega-nav__card-link:focus-visible .pro-header-mega-nav__thumb img {
    transform: scale(1.04);
  }

  .pro-header-mega-nav__thumb--placeholder {
    min-height: 140px;
  }

  .pro-header-mega-nav__card-meta {
    display: block;
    margin-bottom: 0.35rem;
    color: hsl(var(--primary));
    font-size: 0.76rem;
    font-weight: 800;
    line-height: 1.2;
  }

  .pro-header-mega-nav__card-title {
    margin: 0;
    color: hsl(var(--foreground));
    font-size: 0.96rem;
    font-weight: 800;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: calc(1.55em * 3);
  }
}

@media (min-width: 768px) and (max-width: 1279px) {
  .pro-header-mega-nav__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 768px) and (max-width: 1099px) {
  .pro-header-mega-nav__panel-shell {
    padding: 1.15rem;
  }

  .pro-header-mega-nav__panel-head {
    flex-direction: column;
    align-items: stretch;
  }

  .pro-header-mega-nav__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .pro-mobile-menu-toggle {
    min-width: 48px;
    min-height: 48px;
    border-radius: 0.9rem;
  }

  .pro-mobile-lang-toggle {
    min-width: 48px;
    min-height: 48px;
    border-radius: 0.9rem;
  }

  .pro-mobile-lang-list {
    gap: 0.1rem;
    padding: 0.14rem;
  }

  .pro-mobile-lang-link {
    min-width: 1.92rem;
    height: 1.92rem;
    font-size: 0.7rem;
  }

  .pro-header-mega-nav__panel {
    display: none !important;
  }
}

@keyframes pro-header-mega-card-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

header.sticky.top-0 {
  position: sticky !important;
  top: 0;
  inset-inline: 0;
  transition: transform 0.22s ease, opacity 0.22s ease;
  will-change: transform;
  overflow: visible;
}
.admin-bar header.sticky.top-0 {
  top: 32px !important;
}
@media (max-width: 782px) {
  .admin-bar header.sticky.top-0 {
    top: 46px !important;
  }
}
header.sticky.top-0.pro-header-hidden {
  transform: translateY(calc(-100% - 6px));
  opacity: 0.98;
}
[data-component="live-ticker"] {
  position: sticky;
  top: var(--pro-header-height, 0px);
  z-index: 45;
  transition: transform 0.22s ease, opacity 0.22s ease;
  will-change: transform;
}
.pro-live-ticker__shell {
  min-width: 0;
  overflow: hidden;
  border-radius: 0.75rem;
  background: hsl(var(--surface-deeper)) !important;
  background-color: hsl(var(--surface-deeper)) !important;
  backdrop-filter: none !important;
  border-bottom: 1px solid hsl(var(--border) / 0.4);
}
header.sticky.top-0 [data-component="live-ticker"].pro-live-ticker--header {
  position: static;
  top: auto;
  z-index: auto;
}
header.sticky.top-0 [data-component="live-ticker"].pro-live-ticker--header .pro-live-ticker__shell {
  border-top: 1px solid hsl(var(--border) / 0.3);
}
header.sticky.top-0 [data-component="live-ticker"].pro-live-ticker--header.pro-ticker-hidden {
  transform: none;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.admin-bar [data-component="live-ticker"] {
  top: calc(var(--pro-header-height, 0px) + 32px);
}
@media (max-width: 782px) {
  .admin-bar [data-component="live-ticker"] {
    top: calc(var(--pro-header-height, 0px) + 46px);
  }
}
[data-component="live-ticker"].pro-ticker-hidden {
  transform: translateY(-115%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
@media (max-width: 767px) {
  [data-component="live-ticker"] {
    top: var(--pro-mobile-header-height, var(--pro-header-height, 0px));
  }
  [data-component="live-ticker"] > .container {
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  [data-component="live-ticker"] .pro-live-ticker__shell {
    border-radius: 0.75rem !important;
  }
  .admin-bar [data-component="live-ticker"] {
    top: calc(var(--pro-mobile-header-height, var(--pro-header-height, 0px)) + 46px);
  }
}
@media (min-width: 768px) {
  .pro-header-logo.h-10 {
    height: 5.5rem;
  }
}

/* Footer */
.pro-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 2rem;
}
@media (min-width: 768px) {
  .pro-footer-grid {
    grid-template-columns: minmax(0, 1.25fr) repeat(3, minmax(0, 1fr));
  }
}
.pro-footer-grid--rtl {
  direction: rtl;
}
.pro-footer-grid--ltr {
  direction: ltr;
}
.pro-footer-col {
  min-width: 0;
}
.pro-footer-grid--rtl .pro-footer-col {
  text-align: right;
}
.pro-footer-grid--ltr .pro-footer-col {
  text-align: left;
}
.pro-footer-col-title {
  margin: 0 0 1.35rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid hsl(var(--border) / 0.28);
  font-size: 1.28rem;
  font-weight: 800;
  line-height: 1.25;
  color: hsl(var(--foreground));
}
.pro-footer-brand-logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.pro-footer-brand-logo {
  display: block;
  width: auto;
  max-width: 190px;
  height: 74px;
  object-fit: contain;
  margin-bottom: 0.6rem;
}
.pro-footer-brand-name {
  margin: 0;
  font-size: 1.95rem;
  line-height: 1.1;
  font-weight: 900;
  color: hsl(var(--foreground));
}
.pro-footer-brand-tagline {
  margin: 0.75rem 0 0;
  color: hsl(var(--muted-foreground));
  line-height: 1.8;
  font-size: 1.02rem;
}
.pro-footer-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.pro-footer-nav-list--sections {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 1rem;
}
.pro-footer-nav-list--sections a {
  font-size: 0.82rem;
  font-weight: 620;
  line-height: 1.35;
}
.pro-footer-cat-link {
  display: inline-flex !important;
  align-items: center;
  gap: 0.42rem;
}
.pro-footer-cat-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--cat-dot-color, hsl(var(--primary)));
  flex: 0 0 auto;
  box-shadow: 0 0 0 1px hsl(var(--background) / 0.5);
}
.pro-footer-nav-list li {
  margin: 0;
  border-bottom: 1px solid hsl(var(--border) / 0.38);
}
.pro-footer-nav-list li:last-child {
  border-bottom: 0;
}
.pro-footer-nav-list--sections li:last-child {
  border-bottom: 1px solid hsl(var(--border) / 0.38);
}
.pro-footer-nav-list a {
  display: block;
  padding: 0.55rem 0;
  font-size: 1.06rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  text-decoration: none;
  transition: color 0.2s ease;
}
.pro-footer-nav-list a:hover {
  color: hsl(var(--primary));
}
.pro-footer-col--menu {
  margin-inline-start: 1.85rem;
}
.pro-footer-follow-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  margin-top: 0.1rem;
}
.pro-footer-follow-btn {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 1px solid hsl(var(--muted-foreground) / 0.72);
  background: hsl(var(--muted) / 0.12);
  box-shadow: inset 0 0 0 1px hsl(var(--muted-foreground) / 0.24);
  color: hsl(var(--foreground));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.pro-footer-follow-btn:hover {
  color: hsl(var(--primary));
  border-color: hsl(var(--primary) / 0.65);
  transform: translateY(-1px);
}
.pro-footer-follow-btn.is-disabled {
  opacity: 0.55;
  pointer-events: none;
}
.pro-footer-follow-nabd {
  margin-top: 0.9rem;
  width: 100%;
  display: flex;
  justify-content: flex-start;
}
.pro-footer-follow-nabd-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  text-decoration: none;
}
.pro-footer-follow-nabd-link img {
  display: block;
  width: auto;
  max-width: 110px;
  height: 31px;
  object-fit: contain;
}
.pro-footer-follow-nabd-link span {
  font-size: 1.7rem;
  line-height: 1;
  font-weight: 700;
  color: hsl(var(--foreground));
}
.pro-footer-follow-nabd-link.is-disabled {
  opacity: 0.65;
  pointer-events: none;
}
.pro-footer-credit-wrap {
  display: flex !important;
  justify-content: center !important;
}
.pro-footer-credit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  text-align: center;
  width: fit-content;
  margin-inline: auto;
}
.pro-footer-credit__logo {
  display: inline-block;
  width: auto !important;
  height: 24px !important;
  max-width: 120px !important;
  max-height: 24px !important;
  object-fit: contain;
  flex-shrink: 0;
  vertical-align: middle;
}
.pro-footer-credit__text {
  display: inline-block;
  width: auto;
  text-align: center;
}

@media (max-width: 767px) {
  .pro-footer-grid {
    gap: 1.4rem;
  }
  .pro-footer-col {
    text-align: center !important;
    align-items: center;
  }
  .pro-footer-col {
    padding-bottom: 1rem;
    border-bottom: 1px solid hsl(var(--border) / 0.28);
  }
  .pro-footer-col:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }
  .pro-footer-col-title {
    font-size: 1.12rem;
    margin-bottom: 1rem;
    padding-bottom: 0.45rem;
  }
  .pro-footer-brand-logo {
    max-width: 150px;
    height: 60px;
  }
  .pro-footer-brand-logo-link {
    justify-content: center;
    margin-inline: auto;
  }
  .pro-footer-brand-name {
    font-size: 1.55rem;
  }
  .pro-footer-brand-tagline {
    font-size: 0.95rem;
    line-height: 1.65;
  }
  .pro-footer-nav-list,
  .pro-footer-nav-list li,
  .pro-footer-nav-list a,
  .pro-footer-nav-list--sections,
  .pro-footer-nav-list--sections a {
    text-align: center;
    justify-content: center;
  }
  .pro-footer-cat-link {
    justify-content: center;
  }
  .pro-footer-nav-list a {
    padding: 0.5rem 0;
    font-size: 0.98rem;
  }
  .pro-footer-nav-list--sections {
    grid-template-columns: minmax(0, 1fr);
    column-gap: 0;
  }
  .pro-footer-nav-list--sections a {
    font-size: 0.82rem;
  }
  .pro-footer-nav-list--sections li:last-child {
    border-bottom: 0;
  }
  .pro-footer-col--menu {
    margin-inline-start: 0;
  }
  .pro-footer-follow-btn {
    width: 44px;
    height: 44px;
    border-radius: 11px;
  }
  .pro-footer-follow-list {
    justify-content: center;
    gap: 0.55rem;
  }
  .pro-footer-follow-nabd {
    justify-content: center;
  }
  .pro-footer-follow-nabd-link img {
    max-width: 94px;
    height: 25px;
  }
  .pro-footer-credit {
    flex-direction: column;
    gap: 0.45rem;
  }
  .pro-footer-credit-wrap {
    justify-content: center !important;
  }
  .pro-footer-credit__logo {
    height: 20px !important;
    max-width: 100px !important;
    max-height: 20px !important;
  }
  .pro-footer-credit__text {
    font-size: 0.92rem;
    line-height: 1.45;
  }
}
/* Pro Builder: Section heading decoration */
.pro-section-heading{
  --pro-section-heading-line-main: hsl(var(--primary));
  --pro-section-heading-line-accent: hsl(var(--foreground));
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
}
.pro-section-heading :is(h1, h2, h3) {
  font-size: clamp(1.56rem, 2vw, 2rem);
  line-height: 1.18;
}
.pro-section-heading__title {
  display: block;
  min-width: 0;
  line-height: 1.28 !important;
  padding-top: 0.05em;
  padding-bottom: 0.18em;
}
.pro-section-heading__title > a {
  display: block;
}
.pro-section-heading__left{
  display:flex;
  align-items:center;
  gap:.75rem;
  min-width:0;
}
.pro-section-heading__stack{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:.58rem;
  min-width:0;
}
.pro-section-heading__right{
  flex:0 0 auto;
}
.pro-section-heading__more{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.42rem;
  padding:.55rem 1rem;
  border-radius:999px;
  border:1px solid hsl(var(--primary) / 0.24);
  background:hsl(var(--primary) / 0.08);
  color:hsl(var(--primary));
  font-size:.9rem;
  font-weight:800;
  line-height:1;
  text-decoration:none;
  white-space:nowrap;
  transition:background-color .2s ease,border-color .2s ease,color .2s ease,transform .2s ease;
}
.pro-section-heading__more-label-mobile,
.pro-section-heading__more-label-desktop{
  display:inline-block;
  white-space:nowrap;
}
.pro-section-heading__more-label-desktop{
  display:none;
}
.pro-section-heading__more-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:1.08rem;
  line-height:1;
  flex:0 0 auto;
  direction:ltr;
  unicode-bidi:bidi-override;
}
.pro-section-heading__more:hover{
  background:hsl(var(--primary) / 0.14);
  border-color:hsl(var(--primary) / 0.36);
  color:hsl(var(--primary));
  transform:translateY(-1px);
}
.pro-section-heading__more:focus-visible{
  outline:2px solid hsl(var(--primary) / 0.45);
  outline-offset:2px;
}
@media (min-width: 1024px) {
  .pro-section-heading{
    justify-content:flex-start;
    gap:0.55rem;
  }
  .pro-section-heading__right{
    margin-inline-start:0.15rem;
  }
  .pro-section-heading__more{
    min-width:2.8rem;
    max-width:2.8rem;
    overflow:hidden;
    padding:0.64rem 0.82rem;
    border-color:hsl(var(--border) / 0.82);
    background:hsl(var(--secondary) / 0.72);
    color:hsl(var(--muted-foreground));
    transition:max-width .34s cubic-bezier(.22,1,.36,1),padding .34s cubic-bezier(.22,1,.36,1),background-color .24s ease,border-color .24s ease,color .24s ease,transform .24s ease;
  }
  .pro-section-heading__more-label-mobile{
    display:none;
  }
  .pro-section-heading__more-label-desktop{
    display:inline-block;
    max-width:0;
    opacity:0;
    overflow:hidden;
    transform:translateX(0.35rem);
    transition:max-width .34s cubic-bezier(.22,1,.36,1),opacity .2s ease,transform .34s cubic-bezier(.22,1,.36,1);
  }
  .pro-section-heading__more-icon{
    font-size:1.22rem;
    transition:transform .34s cubic-bezier(.22,1,.36,1),color .24s ease;
  }
  .pro-section-heading:hover .pro-section-heading__more,
  .pro-section-heading__more:hover,
  .pro-section-heading__more:focus-visible{
    max-width:8.4rem;
    padding-inline:1rem 1.05rem;
    background:hsl(var(--foreground) / 0.06);
    border-color:hsl(var(--foreground) / 0.1);
    color:hsl(var(--primary));
    transform:translateY(-1px);
  }
  .pro-section-heading:hover .pro-section-heading__more-label-desktop,
  .pro-section-heading__more:hover .pro-section-heading__more-label-desktop,
  .pro-section-heading__more:focus-visible .pro-section-heading__more-label-desktop{
    max-width:4.4rem;
    opacity:1;
    transform:translateX(0);
  }
  .pro-section-heading:hover .pro-section-heading__more-icon,
  .pro-section-heading__more:hover .pro-section-heading__more-icon,
  .pro-section-heading__more:focus-visible .pro-section-heading__more-icon{
    transform:translateX(-0.08rem);
  }
}
.pro-title-bar{
  width:4px;
  height:26px;
  border-radius:999px;
  background: hsl(var(--primary));
  flex:0 0 auto;
}
.pro-title-icon{
  width:38px;
  height:38px;
  border-radius:14px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background: var(--pro-title-icon-bg, hsl(var(--primary)));
  color:#fff;
  box-shadow: 0 10px 28px rgba(0,0,0,.35);
  flex:0 0 auto;
}
.pro-title-icon svg{display:block}
.pro-section-heading--double-line .pro-section-heading__left{
  align-items:flex-start;
}
.pro-section-heading--double-line .pro-section-heading__stack{
  width:fit-content;
  max-width:100%;
}
.pro-section-heading--double-line .pro-section-heading__title{
  display:inline-block;
  width:fit-content;
  max-width:100%;
  white-space:normal;
  overflow:visible;
  text-overflow:clip;
  padding-bottom:0.12em;
}
.pro-section-heading--double-line .pro-section-heading__title > a{
  display:inline-block;
  max-width:100%;
  white-space:normal;
}
.pro-section-heading__double-line{
  display:inline-flex;
  align-items:center;
  gap:.6rem;
  width:100%;
  max-width:100%;
}
.pro-section-heading__double-line-main{
  order:2;
  flex:1 1 auto;
  min-width:0;
  height:0.4rem;
  border-radius:999px;
  background:var(--pro-section-heading-line-main);
}
.pro-section-heading__double-line-accent{
  order:1;
  width:16%;
  min-width:0.9rem;
  height:0.4rem;
  border-radius:999px;
  background:var(--pro-section-heading-line-accent);
  flex:0 0 auto;
}
.pro-image-section .pro-section-heading{
  margin-bottom:1.75rem;
}

@media (max-width: 640px) {
  .pro-section-heading{
    flex-wrap:wrap;
    align-items:flex-start;
  }
  .pro-section-heading__stack{
    gap:0.48rem;
  }
  .pro-section-heading__double-line{
    gap:0.45rem;
  }
  .pro-section-heading__double-line-main{
    height:0.32rem;
  }
  .pro-section-heading__double-line-accent{
    min-width:0.75rem;
    height:0.32rem;
  }
}

/* Builder news blocks */
.pro-news-block a { text-decoration: none; color: inherit; }
.pro-news-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 800;
  color: hsl(var(--muted-foreground));
}

.pro-news-focus-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 1.9rem;
}
.pro-news-lead-card,
.pro-news-side-headline,
.pro-news-top-card {
  display: block;
  border: 1px solid hsl(var(--border) / 0.65);
  border-radius: 1rem;
  overflow: hidden;
  background: hsl(var(--background));
}
.pro-news-lead-card img,
.pro-news-side-headline img,
.pro-news-top-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
.pro-news-lead-card__body,
.pro-news-side-headline h3,
.pro-news-top-card h3 {
  padding: 0.85rem 1rem 1rem;
}
.pro-news-lead-card h3,
.pro-news-side-headline h3,
.pro-news-top-card h3 {
  margin: 0.45rem 0 0;
  font-size: 1.45rem;
  line-height: 1.36;
  font-weight: 1000;
}

.pro-news-side-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.85rem;
}
.pro-news-list-item,
.pro-news-mini-item {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 0.8rem;
  align-items: center;
  border-bottom: 1px solid hsl(var(--border) / 0.45);
  padding-bottom: 0.8rem;
}
.pro-news-list-item__thumb,
.pro-news-mini-item__thumb {
  display: block;
  border-radius: 0.7rem;
  overflow: hidden;
  background: hsl(var(--muted) / 0.25);
}
.pro-news-list-item__thumb img,
.pro-news-mini-item__thumb img {
  width: 100%;
  height: 74px;
  object-fit: cover;
  display: block;
}
.pro-news-list-item__body strong,
.pro-news-mini-item__body strong {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.9rem;
  line-height: 1.42;
}

.pro-news-triple-top {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}
.pro-news-top-card h3 {
  font-size: 1.35rem;
}
.pro-news-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem 1rem;
}

.pro-news-lead-strip-top {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr);
  gap: 1rem;
  margin-bottom: 1rem;
}
.pro-news-side-headline {
  padding-bottom: 0.8rem;
}
.pro-news-side-headline .pro-news-kicker {
  display: inline-flex;
  padding: 0.7rem 1rem 0;
}
.pro-news-side-headline h3 {
  font-size: 1.45rem;
}

.pro-news-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.22fr);
  gap: 1.05rem;
  align-items: start;
}
.pro-news-showcase-lead {
  display: block;
  border: 1px solid hsl(var(--border) / 0.65);
  border-radius: 1rem;
  overflow: hidden;
  background: hsl(var(--background));
}
.pro-news-showcase-lead img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}
.pro-news-showcase-lead__body {
  padding: 0.95rem 1rem 1.05rem;
}
.pro-news-showcase-lead__body h3 {
  margin: 0.5rem 0 0;
  font-size: clamp(1.85rem, 2.6vw, 2.7rem);
  line-height: 1.3;
  font-weight: 1000;
}
.pro-news-showcase-col {
  display: flex;
  flex-direction: column;
}
.pro-news-showcase-item {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 0.9rem;
  align-items: start;
  padding: 0.2rem 0 1rem;
  border-bottom: 1px solid hsl(var(--border) / 0.45);
}
.pro-news-showcase-item + .pro-news-showcase-item {
  margin-top: 0.8rem;
}
.pro-news-showcase-item__thumb {
  display: block;
  border-radius: 0.4rem;
  overflow: hidden;
  background: hsl(var(--muted) / 0.25);
}
.pro-news-showcase-item__thumb img {
  width: 100%;
  height: 122px;
  object-fit: cover;
  display: block;
}
.pro-news-showcase-item__body strong {
  display: block;
  margin-top: 0.4rem;
  font-size: clamp(1.2rem, 1.35vw, 1.7rem);
  line-height: 1.35;
  font-weight: 1000;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
[dir="rtl"] .pro-news-showcase-item {
  direction: ltr;
}
[dir="rtl"] .pro-news-showcase-item__body {
  direction: rtl;
  text-align: right;
}

@media (max-width: 1024px) {
  .pro-news-focus-grid,
  .pro-news-lead-strip-top,
  .pro-news-triple-top,
  .pro-news-mini-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .pro-news-showcase {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pro-news-showcase-lead {
    grid-column: 1 / -1;
  }
  .pro-news-showcase-item {
    grid-template-columns: 110px minmax(0, 1fr);
  }
  .pro-news-showcase-item__thumb img {
    height: 82px;
  }
  .pro-news-showcase-item__body strong {
    font-size: 1.42rem;
  }
  .pro-news-focus-grid {
    gap: 1.15rem;
  }
  .pro-news-list-item,
  .pro-news-mini-item {
    grid-template-columns: 96px minmax(0, 1fr);
  }
}
@media (min-width: 1400px) {
  .pro-news-lead-card h3,
  .pro-news-side-headline h3,
  .pro-news-top-card h3 {
    font-size: 1.32rem;
  }
}
@media (max-width: 767px) {
  .pro-news-showcase {
    grid-template-columns: minmax(0, 1fr);
  }
  .pro-news-showcase-item {
    grid-template-columns: 92px minmax(0, 1fr);
  }
  .pro-news-showcase-item__thumb img {
    height: 72px;
  }
  .pro-news-showcase-item__body strong {
    font-size: 1.05rem;
    line-height: 1.4;
  }
  .pro-news-showcase-item + .pro-news-showcase-item {
    margin-top: 0.55rem;
  }
}

/* Hero layout spacing between side list and main slider */
.pro-hero-layout {
  gap: 1.5rem;
}
@media (min-width: 1024px) {
  .pro-hero-layout {
    gap: 2.2rem;
  }
  .pro-hero-layout.is-side-right .pro-hero-main {
    order: 1;
  }
  .pro-hero-layout.is-side-right .pro-hero-side-wrap {
    order: 2;
  }
  .pro-hero-layout.is-side-left .pro-hero-main {
    order: 2;
  }
  .pro-hero-layout.is-side-left .pro-hero-side-wrap {
    order: 1;
  }
  .pro-hero-layout.is-side-hidden .pro-hero-main {
    grid-column: 1 / -1;
    order: 1;
  }
}

/* Hero live badge */
.pro-hero-live-badge {
  position: absolute;
  bottom: 100%;
  margin-bottom: 0.45rem;
  right: 0;
  left: auto;
  z-index: 12;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.48rem 0.8rem;
  border-radius: 999px;
  background: hsl(var(--surface-deeper) / 0.86);
  border: 1px solid hsl(var(--border) / 0.72);
  box-shadow: 0 8px 18px hsl(0 0% 0% / 0.28);
  backdrop-filter: blur(4px);
}
.pro-hero-live-badge__text {
  color: hsl(var(--foreground));
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
}
.pro-hero-live-badge__dot {
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 999px;
  background: #ef4444;
  box-shadow: 0 0 0 0 hsl(0 84% 60% / 0.52);
  animation: proLivePulse 1.6s ease-out infinite;
}
@keyframes proLivePulse {
  0% { box-shadow: 0 0 0 0 hsl(0 84% 60% / 0.56); }
  70% { box-shadow: 0 0 0 11px hsl(0 84% 60% / 0); }
  100% { box-shadow: 0 0 0 0 hsl(0 84% 60% / 0); }
}

/* Hero slide content (force overlay in mobile too) */
.js-hero-slider .js-hero-slide {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
}
.pro-hero-slide-content {
  position: absolute !important;
  inset-inline: 0 !important;
  inset-block-end: 0 !important;
  z-index: 10 !important;
  padding: 0 !important;
  pointer-events: none;
}
.pro-hero-slide-content > * {
  pointer-events: auto;
}
.pro-hero-slide-copy {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 1.18rem clamp(0.95rem, 2.2vw, 1.6rem) 2.05rem;
  border-radius: 0 0 1rem 1rem;
  background:
    linear-gradient(
      to top,
      rgba(239, 68, 68, 0.66) 0%,
      rgba(239, 68, 68, 0.58) 44%,
      rgba(239, 68, 68, 0.42) 72%,
      rgba(239, 68, 68, 0.24) 90%,
      rgba(239, 68, 68, 0.1) 100%
    );
  box-shadow: none;
  backdrop-filter: blur(1px);
}
[data-component="hero-2"] .pro-hero-slide-copy {
  padding-bottom: 3.15rem;
  background:
    linear-gradient(
      180deg,
      rgba(239, 68, 68, 0.06) 0%,
      rgba(239, 68, 68, 0.16) 28%,
      rgba(239, 68, 68, 0.38) 64%,
      rgba(239, 68, 68, 0.72) 100%
    );
}
[data-component="hero-2"] .pro-hero-side {
  gap: 1.35rem;
}
[data-component="hero-2"] .pro-hero-2-mobile-title {
  display: none;
}
[data-component="hero-2"] .pro-hero-side__title {
  margin-bottom: 0.15rem;
  font-size: clamp(1.76rem, 2.1vw, 2.08rem);
}
[data-component="hero-2"] .pro-hero-slide-title {
  font-size: clamp(1.5rem, 2.35vw, 2.45rem) !important;
  line-height: 1.2;
}
[data-component="hero-2"] .pro-hero-2-dots {
  bottom: 1.6rem !important;
}
.pro-hero-slide-title {
  color: #fff;
  font-size: clamp(1.72rem, 2.9vw, 3rem) !important;
  line-height: 1.22;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.55);
  display: block;
  padding-top: 0.04em;
  padding-bottom: 0.16em;
  overflow-wrap: break-word;
  margin-bottom: 0.42rem !important;
}
[data-component="hero-1"] .news-card.group:hover .pro-hero-slide-title,
[data-component="hero-1"] .news-card.group:focus-within .pro-hero-slide-title,
[data-component="hero-1"] .js-hero-slide:hover .pro-hero-slide-title,
[data-component="hero-1"] .js-hero-slide:focus-visible .pro-hero-slide-title,
[data-component="hero-2"] .news-card.group:hover .pro-hero-slide-title,
[data-component="hero-2"] .news-card.group:focus-within .pro-hero-slide-title,
[data-component="hero-2"] .js-hero-slide:hover .pro-hero-slide-title,
[data-component="hero-2"] .js-hero-slide:focus-visible .pro-hero-slide-title {
  color: #e3bb49 !important;
}
.pro-hero-slide-excerpt {
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.42);
  display: block;
  margin: 0 !important;
}
.js-hero-slider[data-hero-variant="hero-1"] .pro-hero-slide-copy {
  padding-bottom: 2rem;
  background:
    linear-gradient(
      to top,
      rgba(239, 68, 68, 0.66) 0%,
      rgba(239, 68, 68, 0.58) 44%,
      rgba(239, 68, 68, 0.42) 72%,
      rgba(239, 68, 68, 0.2) 88%,
      rgba(239, 68, 68, 0.08) 95%,
      rgba(239, 68, 68, 0) 100%
    );
  backdrop-filter: none;
}
.js-hero-slider[data-hero-variant="hero-1"] .pro-hero-slide-title {
  font-size: clamp(1.58rem, 2.55vw, 2.72rem) !important;
}
.pro-hero-1-strip {
  display: flex;
  align-items: center;
  gap: 0.72rem;
  padding: 0.95rem 0.95rem 1rem;
  background:
    linear-gradient(180deg, rgba(20, 11, 17, 0.96) 0%, rgba(14, 11, 16, 0.98) 100%);
  border-top: 1px solid hsl(var(--border) / 0.4);
}
.pro-hero-1-strip__nav {
  flex: 0 0 auto;
  width: 2.7rem;
  height: 2.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid hsl(var(--border) / 0.55);
  background: hsl(var(--surface-deeper) / 0.92);
  color: #fff;
  font-size: 1.42rem;
  line-height: 1;
  transition: transform 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}
.pro-hero-1-strip__nav:hover,
.pro-hero-1-strip__nav:focus-visible {
  transform: translateY(-1px);
  border-color: hsl(var(--primary));
  background: hsl(var(--surface-deeper));
}
.pro-hero-1-strip__track {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-wrap: nowrap;
  gap: 0.9rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  scroll-behavior: smooth;
}
.pro-hero-1-strip__track::-webkit-scrollbar {
  display: none;
}
.pro-hero-1-strip__item {
  flex: 0 0 calc((100% - 2.7rem) / 4);
  max-width: calc((100% - 2.7rem) / 4);
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  border: 1px solid hsl(var(--border) / 0.55);
  border-radius: 1rem;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(24, 12, 19, 0.94) 0%, rgba(18, 10, 16, 0.96) 100%);
  color: hsl(var(--foreground));
  text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.pro-hero-1-strip__item:hover {
  transform: translateY(-1px);
  border-color: hsl(var(--primary) / 0.72);
}
.pro-hero-1-strip__item.is-active {
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 1px hsl(var(--primary) / 0.26), 0 14px 26px rgba(0, 0, 0, 0.18);
}
.pro-hero-1-strip__thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 7.1;
  overflow: hidden;
  background: hsl(var(--surface) / 0.7);
}
.pro-hero-1-strip__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pro-hero-1-strip__thumb.is-empty {
  background: linear-gradient(145deg, hsl(var(--surface) / 0.92), hsl(var(--surface-deeper) / 0.92));
}
.pro-hero-1-strip__thumb-fallback {
  display: block;
  width: 100%;
  height: 100%;
}
.pro-hero-1-strip__title {
  display: -webkit-box !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  overflow-wrap: anywhere;
  padding: 0.5rem 0.68rem 0.8rem;
  font-size: 0.72rem;
  line-height: 1.36;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}
.pro-hero-1-dots {
  display: none;
}
[data-component="hero-1"] .pro-hero-side__item {
  padding-right: 1.2rem;
}
[data-component="hero-1"] .pro-hero-side__body {
  padding-right: 0.75rem;
}
.pro-trending-icon {
  color: hsl(var(--primary));
  flex: 0 0 auto;
}
@media (max-width: 767px) {
  .js-hero-slider {
    --hero-mobile-image-h: clamp(300px, 94vw, 420px);
    aspect-ratio: auto !important;
    height: auto !important;
    min-height: auto;
    overflow: hidden !important;
    position: relative !important;
    touch-action: pan-y pinch-zoom;
  }
  .pro-hero-live-badge {
    bottom: 100%;
    margin-bottom: 0.35rem;
    right: 0.25rem;
    left: auto;
    padding: 0.4rem 0.66rem;
    gap: 0.38rem;
  }
  .pro-hero-live-badge__text {
    font-size: 0.8rem;
  }
  .pro-hero-live-badge__dot {
    width: 0.54rem;
    height: 0.54rem;
  }
  .js-hero-slider .js-hero-slide {
    position: relative !important;
    inset: auto !important;
    display: grid !important;
    grid-template-rows: var(--hero-mobile-image-h) auto;
    background: hsl(var(--surface-deeper));
  }
  .js-hero-slider .js-hero-slide.opacity-0 {
    display: none !important;
  }
  .js-hero-slider .js-hero-slide.opacity-100 {
    display: grid !important;
  }
  .js-hero-slider .js-hero-slide > img {
    grid-row: 1;
    width: 100%;
    height: var(--hero-mobile-image-h) !important;
    object-fit: cover;
  }
  .js-hero-slider .js-hero-slide > .absolute.inset-0 {
    display: none !important;
  }
  .pro-hero-slide-content {
    position: relative !important;
    inset: auto !important;
    grid-row: 2;
    padding: 0.8rem 0.25rem 0.15rem !important;
    background: transparent !important;
    text-align: center;
  }
  .pro-hero-slide-meta {
    display: none !important;
  }
  .pro-hero-slide-title {
    color: hsl(var(--foreground)) !important;
    text-shadow: none !important;
    font-size: 1.12rem !important;
    line-height: 1.35 !important;
    padding-top: 0.04em;
    padding-bottom: 0.12em;
    margin-bottom: 0 !important;
    -webkit-line-clamp: 2 !important;
  }
  .pro-hero-slide-excerpt {
    display: none !important;
  }
  .pro-hero-slide-copy {
    display: block;
    width: 100%;
    max-width: 100%;
    padding: 0.85rem 0.7rem 1.5rem;
    border-radius: 0.72rem;
    background:
      linear-gradient(
        to top,
        rgba(239, 68, 68, 0.6) 0%,
        rgba(239, 68, 68, 0.52) 40%,
        rgba(239, 68, 68, 0.36) 74%,
        rgba(239, 68, 68, 0.16) 100%
      );
    box-shadow: none;
    backdrop-filter: none;
  }
  .js-hero-slider [data-action="hero-prev"],
  .js-hero-slider [data-action="hero-next"] {
    top: calc((var(--hero-mobile-image-h, 260px) - 2.2rem) / 2) !important;
    inset-block-start: calc((var(--hero-mobile-image-h, 260px) - 2.2rem) / 2) !important;
    inset-block-end: auto !important;
    transform: none !important;
    width: 2.2rem;
    height: 2.2rem;
    font-size: 1.4rem;
    z-index: 55 !important;
  }
  .js-hero-slider [data-action="hero-prev"] {
    inset-inline-start: 0.55rem !important;
  }
  .js-hero-slider [data-action="hero-next"] {
    inset-inline-end: 0.55rem !important;
  }
  .js-hero-slider > .absolute.bottom-4 {
    bottom: calc(100% - var(--hero-mobile-image-h, 400px) + 0.88rem) !important;
    z-index: 50 !important;
  }
  .pro-hero-1-dots,
  [data-component="hero-2"] .pro-hero-2-dots {
    display: flex !important;
    bottom: calc(100% - var(--hero-mobile-image-h, 400px) + 0.88rem) !important;
    gap: 0.42rem;
    z-index: 50 !important;
  }
}

/* Mobile header centered site name */
.pro-header-mobile-name {
  color: hsl(var(--foreground));
  letter-spacing: 0.2px;
}
@media (max-width: 767px) {
  .pro-header-topbar {
    justify-content: space-between !important;
    text-align: start;
    gap: 0.5rem;
  }

  .pro-header-topbar__meta {
    min-width: 0;
    flex: 1 1 auto;
    font-size: 0.64rem;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .pro-header-topbar__mobile-weather {
    display: inline-flex;
    align-items: center;
    flex: 0 1 auto;
    min-width: 0;
    max-width: min(8.75rem, 44vw);
  }

  .pro-weather-widget--mobile {
    z-index: 9;
    min-width: 0;
    max-width: 100%;
  }

  .pro-weather-trigger--mobile {
    width: 100%;
    min-width: auto;
    max-width: 100%;
    min-height: 1.95rem;
    height: 1.95rem;
    padding: 0.12rem 0.42rem;
    gap: 0.34rem;
    border-radius: 999px;
    box-shadow: none;
  }

  .pro-weather-widget--mobile .pro-weather-trigger__summary {
    gap: 0.22rem;
    flex: 1 1 auto;
    order: 0;
    min-width: 0;
    max-width: none;
  }

  .pro-weather-widget--mobile .pro-weather-trigger__chevron {
    display: none;
  }

  .pro-weather-widget--mobile .pro-weather-trigger__city {
    display: inline;
    font-size: 0.68rem;
    line-height: 1;
    min-width: 0;
    max-width: none;
    flex: 0 1 auto;
  }

  .pro-weather-widget--mobile .pro-weather-trigger__temp {
    font-size: 0.76rem;
    line-height: 1;
  }

  .pro-weather-widget--mobile .pro-weather-trigger__icon {
    width: 1rem;
    height: 1rem;
  }

  .pro-weather-widget--mobile .pro-weather-icon {
    width: 1rem;
    height: 1rem;
  }

  .pro-weather-widget--mobile .pro-weather-panel {
    width: min(18rem, calc(100vw - 1rem));
  }

  .pro-weather-widget--mobile .pro-weather-panel__hero {
    gap: 0.7rem;
    padding: 0.72rem 0.78rem;
  }

  .pro-header-logo {
    max-width: 118px !important;
  }

  .pro-header-mobile-name {
    font-size: 1.35rem;
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: 0;
    overflow: visible;
    text-overflow: clip;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.18);
    white-space: nowrap;
  }
}

/* Load more button style override */
.pro-load-more-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
  background-image: none !important;
  border: 2px solid hsl(var(--primary)) !important;
  color: #fff !important;
  border-radius: 9999px !important;
  padding: 0.72rem 1.35rem !important;
  line-height: 1.2 !important;
  font-weight: 900 !important;
  text-decoration: none !important;
  box-shadow: none !important;
  white-space: nowrap !important;
}
.pro-load-more-btn:hover,
.pro-load-more-btn:focus-visible {
  background: hsl(var(--primary) / 0.12) !important;
  border-color: hsl(var(--primary)) !important;
  color: #fff !important;
}

/* Optional sidebar for homepage news blocks */
.pro-block-with-sidebar {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
  overflow: hidden;
}
.pro-block-with-sidebar__main {
  min-width: 0;
}
.pro-block-with-sidebar__side {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  justify-self: stretch;
}
@media (min-width: 1180px) {
  .pro-block-with-sidebar {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 340px);
    gap: 2.2rem;
  }
  .pro-block-with-sidebar__side {
    position: static;
    top: auto;
    align-self: start;
  }
}

/* Hard clamp for sidebar widgets inside homepage block layouts */
.pro-block-with-sidebar__side .pro-side-stack,
.pro-block-with-sidebar__side .pro-side-card,
.pro-block-with-sidebar__side .pro-side-newsletter {
  width: 100% !important;
  max-width: 340px !important;
}
.pro-block-with-sidebar__side .pro-side-latest-item,
.pro-block-with-sidebar__side .pro-side-social-item {
  width: 100%;
  min-width: 0;
}
.pro-block-with-sidebar__side .pro-side-latest-text,
.pro-block-with-sidebar__side .pro-side-social-name {
  overflow: hidden;
  text-overflow: ellipsis;
}
.pro-block-with-sidebar__side .pro-side-newsletter__form {
  flex-direction: column;
}
.pro-block-with-sidebar__side .pro-side-newsletter__form input[type="email"],
.pro-block-with-sidebar__side .pro-side-newsletter__form button {
  width: 100%;
}
.pro-block-with-sidebar__side .pro-side-newsletter__form button {
  width: 100%;
  align-self: stretch;
}

/* Hero sidebar: latest news list without categories */
.pro-hero-side {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}
.pro-hero-side__title {
  position: relative;
  margin: 0 0 0.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  font-size: 1.8rem;
  font-weight: 1000;
}
.pro-hero-side__title::before {
  content: "";
  flex: 0 0 auto;
  width: 1.18rem;
  height: 1.18rem;
  border-radius: 999px;
  border: 0;
  background: #df2941;
  box-shadow: 0 0 0 0 rgba(223, 41, 65, 0.36);
  animation: proHeroSideDotBlink 1.7s ease-in-out infinite;
}
@keyframes proHeroSideDotBlink {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(223, 41, 65, 0.36);
  }
  55% {
    opacity: 0.12;
    transform: scale(0.72);
    box-shadow: 0 0 0 10px rgba(223, 41, 65, 0);
  }
}
.pro-hero-side__list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-right: 1.5rem;
}
.pro-hero-side__list::before {
  content: "";
  position: absolute;
  right: 0.44rem;
  top: 0.2rem;
  bottom: 0.2rem;
  width: 1px;
  background: hsl(var(--border) / 0.9);
}
.pro-hero-side__more {
  display: none;
}
.pro-hero-side__more-label--less {
  display: none;
}
.pro-hero-side__item {
  position: relative;
  display: block;
  text-decoration: none;
  color: hsl(var(--foreground));
  padding: 0 0 1rem 0;
  border-bottom: 0;
  z-index: 1;
}
.pro-hero-side__item:is(button) {
  width: 100%;
  text-align: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.pro-hero-side__item + .pro-hero-side__item {
  margin-top: 0.5rem;
  padding-top: 0.75rem;
}
.pro-hero-side__item:last-child {
  padding-bottom: 0;
}
.pro-hero-side__item.is-active {
  background: hsl(var(--surface) / 0.28);
  border-radius: 12px;
  padding-inline: 0.35rem;
}
.pro-hero-side__item::before {
  content: none;
}
.pro-hero-side__item::after {
  content: none;
}
@media (max-width: 767px) {
  [data-component="hero-1"] .pro-hero-side:is(.pro-hero-side--mobile-yellow, .pro-hero-side--yellow) {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding: 1rem 1rem 1.05rem;
    border-radius: 1.05rem;
    background: linear-gradient(145deg, #ffe766 0%, #ffd83a 46%, #ffc91a 100%);
    border: 1px solid rgba(17, 17, 17, 0.14);
    color: #111111;
    box-shadow: 0 12px 28px rgba(17, 17, 17, 0.12);
  }
  [data-component="hero-1"] .pro-hero-side:is(.pro-hero-side--mobile-yellow, .pro-hero-side--yellow)::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: url("../world-map-soft.svg");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 108% auto;
    opacity: 0.22;
    transform: rotate(-15deg) scale(1.08);
    transform-origin: center center;
  }
  [data-component="hero-1"] .pro-hero-side:is(.pro-hero-side--mobile-yellow, .pro-hero-side--yellow) > * {
    position: relative;
    z-index: 1;
  }
  [data-component="hero-1"] .pro-hero-side:is(.pro-hero-side--mobile-yellow, .pro-hero-side--yellow) .pro-hero-side__title,
  [data-component="hero-1"] .pro-hero-side:is(.pro-hero-side--mobile-yellow, .pro-hero-side--yellow) .pro-hero-side__item,
  [data-component="hero-1"] .pro-hero-side:is(.pro-hero-side--mobile-yellow, .pro-hero-side--yellow) .pro-hero-side__text {
    color: #111111;
  }
  [data-component="hero-1"] .pro-hero-side:is(.pro-hero-side--mobile-yellow, .pro-hero-side--yellow) .pro-hero-side__meta {
    color: #a1162d;
  }
  [data-component="hero-1"] .pro-hero-side:is(.pro-hero-side--mobile-yellow, .pro-hero-side--yellow) .pro-hero-side__thumb {
    border-color: rgba(17, 17, 17, 0.14);
    background: rgba(255, 255, 255, 0.26);
  }
  [data-component="hero-1"] .pro-hero-side:is(.pro-hero-side--mobile-yellow, .pro-hero-side--yellow) .pro-hero-side__thumb.is-empty {
    background: rgba(255, 255, 255, 0.36);
  }
  [data-component="hero-1"] .pro-hero-side:is(.pro-hero-side--mobile-yellow, .pro-hero-side--yellow) .pro-hero-side__thumb-fallback {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.54), rgba(255, 214, 44, 0.9));
  }
  [data-component="hero-1"] .pro-hero-side:is(.pro-hero-side--mobile-yellow, .pro-hero-side--yellow) .pro-hero-side__item:hover {
    color: #111111;
    background: rgba(17, 17, 17, 0.05);
    border-radius: 0.85rem;
  }
  [data-component="hero-1"] .pro-hero-layout.is-side-right .pro-hero-side:is(.pro-hero-side--mobile-yellow, .pro-hero-side--yellow) .pro-hero-side__list::before,
  [data-component="hero-1"] .pro-hero-layout.is-side-left .pro-hero-side:is(.pro-hero-side--mobile-yellow, .pro-hero-side--yellow) .pro-hero-side__list::before {
    background: linear-gradient(180deg, rgba(161, 22, 45, 0.92), rgba(161, 22, 45, 0.3));
  }
  [data-component="hero-1"] .pro-hero-layout.is-side-right .pro-hero-side:is(.pro-hero-side--mobile-yellow, .pro-hero-side--yellow) .pro-hero-side__meta::before,
  [data-component="hero-1"] .pro-hero-layout.is-side-left .pro-hero-side:is(.pro-hero-side--mobile-yellow, .pro-hero-side--yellow) .pro-hero-side__meta::before {
    background: #ffd500;
    box-shadow: 0 0 0 2px rgba(161, 22, 45, 0.16);
  }
  [data-component="hero-1"] .pro-hero-layout.is-side-right .pro-hero-side:is(.pro-hero-side--mobile-yellow, .pro-hero-side--yellow) .pro-hero-side__meta::after,
  [data-component="hero-1"] .pro-hero-layout.is-side-left .pro-hero-side:is(.pro-hero-side--mobile-yellow, .pro-hero-side--yellow) .pro-hero-side__meta::after {
    background: #a1162d;
  }
}
@media (min-width: 768px) {
  [data-component="hero-1"] .pro-hero-side:is(.pro-hero-side--desktop-yellow, .pro-hero-side--yellow) {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding: 1rem 1rem 1.05rem;
    border-radius: 1.05rem;
    background: linear-gradient(145deg, #ffe766 0%, #ffd83a 46%, #ffc91a 100%);
    border: 1px solid rgba(17, 17, 17, 0.14);
    color: #111111;
    box-shadow: 0 12px 28px rgba(17, 17, 17, 0.12);
  }
  [data-component="hero-1"] .pro-hero-side:is(.pro-hero-side--desktop-yellow, .pro-hero-side--yellow)::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: url("../world-map-soft.svg");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 108% auto;
    opacity: 0.22;
    transform: rotate(-15deg) scale(1.08);
    transform-origin: center center;
  }
  [data-component="hero-1"] .pro-hero-side:is(.pro-hero-side--desktop-yellow, .pro-hero-side--yellow) > * {
    position: relative;
    z-index: 1;
  }
  [data-component="hero-1"] .pro-hero-side:is(.pro-hero-side--desktop-yellow, .pro-hero-side--yellow) .pro-hero-side__title,
  [data-component="hero-1"] .pro-hero-side:is(.pro-hero-side--desktop-yellow, .pro-hero-side--yellow) .pro-hero-side__item,
  [data-component="hero-1"] .pro-hero-side:is(.pro-hero-side--desktop-yellow, .pro-hero-side--yellow) .pro-hero-side__text {
    color: #111111;
  }
  [data-component="hero-1"] .pro-hero-side:is(.pro-hero-side--desktop-yellow, .pro-hero-side--yellow) .pro-hero-side__meta {
    color: #a1162d;
  }
  [data-component="hero-1"] .pro-hero-side:is(.pro-hero-side--desktop-yellow, .pro-hero-side--yellow) .pro-hero-side__thumb {
    border-color: rgba(17, 17, 17, 0.14);
    background: rgba(255, 255, 255, 0.26);
  }
  [data-component="hero-1"] .pro-hero-side:is(.pro-hero-side--desktop-yellow, .pro-hero-side--yellow) .pro-hero-side__thumb.is-empty {
    background: rgba(255, 255, 255, 0.36);
  }
  [data-component="hero-1"] .pro-hero-side:is(.pro-hero-side--desktop-yellow, .pro-hero-side--yellow) .pro-hero-side__thumb-fallback {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.54), rgba(255, 214, 44, 0.9));
  }
  [data-component="hero-1"] .pro-hero-side:is(.pro-hero-side--desktop-yellow, .pro-hero-side--yellow) .pro-hero-side__item:hover {
    color: #111111;
    background: rgba(17, 17, 17, 0.05);
    border-radius: 0.85rem;
  }
  [data-component="hero-1"] .pro-hero-layout.is-side-right .pro-hero-side:is(.pro-hero-side--desktop-yellow, .pro-hero-side--yellow) .pro-hero-side__list::before,
  [data-component="hero-1"] .pro-hero-layout.is-side-left .pro-hero-side:is(.pro-hero-side--desktop-yellow, .pro-hero-side--yellow) .pro-hero-side__list::before {
    background: linear-gradient(180deg, rgba(161, 22, 45, 0.92), rgba(161, 22, 45, 0.3));
  }
  [data-component="hero-1"] .pro-hero-layout.is-side-right .pro-hero-side:is(.pro-hero-side--desktop-yellow, .pro-hero-side--yellow) .pro-hero-side__meta::before,
  [data-component="hero-1"] .pro-hero-layout.is-side-left .pro-hero-side:is(.pro-hero-side--desktop-yellow, .pro-hero-side--yellow) .pro-hero-side__meta::before {
    background: #ffd500;
    box-shadow: 0 0 0 2px rgba(161, 22, 45, 0.16);
  }
  [data-component="hero-1"] .pro-hero-layout.is-side-right .pro-hero-side:is(.pro-hero-side--desktop-yellow, .pro-hero-side--yellow) .pro-hero-side__meta::after,
  [data-component="hero-1"] .pro-hero-layout.is-side-left .pro-hero-side:is(.pro-hero-side--desktop-yellow, .pro-hero-side--yellow) .pro-hero-side__meta::after {
    background: #a1162d;
  }
}
[data-component="hero-1"] .pro-hero-layout.is-side-right .pro-hero-side__list {
  padding-right: 1.7rem;
  padding-left: 0;
}
[data-component="hero-1"] .pro-hero-layout.is-side-right .pro-hero-side__list::before {
  right: calc(1.7rem + 0.48rem - 1px);
  left: auto;
  width: 2px;
  background: linear-gradient(180deg, rgba(223, 41, 65, 0.92), rgba(223, 41, 65, 0.42));
  opacity: 0.95;
  z-index: 0;
}
[data-component="hero-1"] .pro-hero-layout.is-side-right .pro-hero-side__meta::before {
  content: "";
  position: absolute;
  right: -1.93rem;
  left: auto;
  top: 50%;
  transform: translateY(-50%);
  width: 1.04rem;
  height: 1.04rem;
  border-radius: 999px;
  border: 2px solid #df2941;
  background: hsl(var(--surface-deeper));
  box-shadow: 0 0 0 2px rgba(223, 41, 65, 0.14);
  z-index: 2;
}
[data-component="hero-1"] .pro-hero-layout.is-side-right .pro-hero-side__meta::after {
  content: "";
  position: absolute;
  right: -1.6rem;
  left: auto;
  top: 50%;
  transform: translateY(-50%);
  width: 0.36rem;
  height: 0.36rem;
  border-radius: 999px;
  background: #df2941;
  z-index: 3;
}
[data-component="hero-1"] .pro-hero-layout.is-side-left .pro-hero-side__list {
  padding-right: 1.7rem;
  padding-left: 0;
}
[data-component="hero-1"] .pro-hero-layout.is-side-left .pro-hero-side__list::before {
  right: calc(1.7rem + 0.48rem - 1px);
  left: auto;
  width: 2px;
  background: linear-gradient(180deg, rgba(223, 41, 65, 0.92), rgba(223, 41, 65, 0.42));
  opacity: 0.95;
  z-index: 0;
}
[data-component="hero-1"] .pro-hero-layout.is-side-left .pro-hero-side__meta::before {
  content: "";
  position: absolute;
  right: -1.93rem;
  left: auto;
  top: 50%;
  transform: translateY(-50%);
  width: 1.04rem;
  height: 1.04rem;
  border-radius: 999px;
  border: 2px solid #df2941;
  background: hsl(var(--surface-deeper));
  box-shadow: 0 0 0 2px rgba(223, 41, 65, 0.14);
  z-index: 2;
}
[data-component="hero-1"] .pro-hero-layout.is-side-left .pro-hero-side__meta::after {
  content: "";
  position: absolute;
  right: -1.6rem;
  left: auto;
  top: 50%;
  transform: translateY(-50%);
  width: 0.36rem;
  height: 0.36rem;
  border-radius: 999px;
  background: #df2941;
  z-index: 3;
}
.pro-hero-side__content {
  display: flex;
  align-items: flex-start;
  gap: 0.72rem;
  min-width: 0;
}
[dir="rtl"] .pro-hero-side__content {
  flex-direction: row-reverse;
}
.pro-hero-side__thumb {
  width: 96px;
  height: 68px;
  flex: 0 0 96px;
  border-radius: 10px;
  border: 1px solid hsl(var(--border) / 0.75);
  overflow: hidden;
  background: hsl(var(--surface) / 0.55);
}
.pro-hero-side__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pro-hero-side__thumb.is-empty {
  background: hsl(var(--surface) / 0.75);
}
.pro-hero-side__thumb-fallback {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, hsl(var(--surface) / 0.92), hsl(var(--surface-deeper) / 0.92));
}
.pro-hero-side__body {
  flex: 1 1 auto;
  min-width: 0;
}
.pro-hero-side__meta {
  display: flex;
  width: 100%;
  justify-content: flex-start;
  align-items: center;
  position: relative;
  gap: 0.4rem;
  margin-bottom: 0.38rem;
  color: hsl(var(--primary));
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.15;
  white-space: nowrap;
}
[dir="rtl"] .pro-hero-side__meta {
  direction: rtl;
  text-align: right;
}
[dir="ltr"] .pro-hero-side__meta {
  direction: ltr;
  text-align: left;
}
.pro-hero-side__meta .pro-time-icon {
  display: inline-flex;
  color: hsl(var(--muted-foreground));
  opacity: 0.95;
}
.pro-hero-side__text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.48;
  font-weight: 800;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (max-width: 767px) {
  .pro-hero-side__thumb {
    width: 84px;
    height: 60px;
    flex-basis: 84px;
  }
  .pro-hero-side__meta {
    font-size: 0.84rem;
    margin-bottom: 0.3rem;
  }
  .pro-hero-side__text {
    font-size: 0.95rem;
    line-height: 1.42;
  }
}
/* Magazines block (PDF flipbook) */
.pro-magazines__dflip-wrap {
  border: 1px solid hsl(var(--border) / 0.7);
  border-radius: 14px;
  padding: 0.75rem;
  background: #57585b;
}
.pro-magazines__dflip-stage {
  min-height: 520px;
}
.pro-magazines__dflip-wrap ._df_book {
  min-height: 520px;
  border-radius: 8px;
  overflow: hidden;
}
.pro-magazines__dflip-wrap .df-app {
  border-radius: 8px;
}
.pro-magazines__viewer {
  border: 1px solid hsl(var(--border) / 0.7);
  border-radius: 14px;
  padding: 0.8rem 0.8rem 1rem;
  background: #57585b;
}
.pro-magazines__book-stage {
  position: relative;
  min-height: 620px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(180deg, #8d8f92, #7b7d81);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06), 0 14px 30px rgba(0, 0, 0, 0.28);
}
.pro-magazines__flipbook-host {
  width: min(100%, 1000px);
  height: min(74vh, 720px);
  margin: 0 auto;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 0 0 8px rgba(0, 0, 0, 0.15);
}
.pro-magazines__flipbook {
  width: 100%;
  height: 100%;
}
.pro-mag-page {
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}
.pro-mag-page img,
.pro-mag-page__canvas {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pro-mag-page--cover {
  background: #f4f4f4;
}
.pro-magazines__book-stage.is-flipping .pro-magazines__flipbook-host { filter: saturate(0.9); }
.pro-magazines__loading {
  position: absolute;
  inset: auto 0 0 0;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.4));
  color: #fff;
  text-align: center;
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
}
.pro-magazines__arrow {
  position: absolute;
  z-index: 20;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(32, 34, 40, 0.68);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.pro-magazines__arrow:hover {
  background: rgba(22, 24, 29, 0.88);
}
.pro-magazines__arrow--prev { inset-inline-start: 8px; }
.pro-magazines__arrow--next { inset-inline-end: 8px; }
.pro-magazines__viewer[data-dir="rtl"] .pro-magazines__arrow--prev { inset-inline-end: 8px; inset-inline-start: auto; }
.pro-magazines__viewer[data-dir="rtl"] .pro-magazines__arrow--next { inset-inline-start: 8px; inset-inline-end: auto; }
.pro-magazines__viewer[data-dir="rtl"] .pro-magazines__arrow { transform: translateY(-50%) scaleX(-1); }
.pro-magazines__book-stage:not(.is-ready) .pro-magazines__arrow { opacity: 0.45; pointer-events: none; }
.pro-magazines__book-stage.is-ready .pro-magazines__loading { display: none; }
.pro-magazines__book-stage .stf__wrapper { margin: 0 auto; }
.pro-magazines__book-stage .stf__parent { margin: 0 auto; }
.pro-magazines__book-stage .stf__block {
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.24);
}
.pro-magazines__controls {
  margin-top: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.pro-magazines__btn {
  border: 1px solid hsl(var(--border) / 0.8);
  background: transparent;
  color: hsl(var(--foreground));
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 700;
}
.pro-magazines__btn:hover { border-color: hsl(var(--primary)); color: hsl(var(--primary)); }
.pro-magazines__page {
  color: hsl(var(--muted-foreground));
  font-size: 0.9rem;
  font-weight: 700;
}
.pro-magazines__download {
  margin-inline-start: auto;
  color: hsl(var(--primary));
  font-weight: 800;
  text-decoration: none;
}
.pro-magazines__subhead {
  margin-top: 1.1rem;
  margin-bottom: 0.7rem;
  font-size: 1.1rem;
  font-weight: 900;
}
.pro-magazines__issues {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}
.pro-magazines__issues.is-no-sidebar {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.pro-magazines__issues.is-no-sidebar .pro-magazines__issue-cover {
  height: auto;
  aspect-ratio: 3 / 4;
}
.pro-magazines__issues.is-no-sidebar .pro-magazines__issue-title {
  font-size: 0.92rem;
}
.pro-magazines__issues.is-with-sidebar {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.pro-magazines__issues.is-with-sidebar .pro-magazines__issue-cover {
  height: auto;
  aspect-ratio: 3 / 4;
}
@media (min-width: 900px) {
  .pro-magazines .pro-magazines__issues.is-with-sidebar {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
  /* Single page has a global sidebar: treat magazine issues as with-sidebar layout. */
  .pro-single-layout.has-sidebar .pro-magazines .pro-magazines__issues.is-no-sidebar {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
  .pro-magazines__issues.is-no-sidebar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 1200px) {
  .pro-magazines__issues.is-no-sidebar {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}
.pro-magazines__issue {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.55rem;
  padding: 0.7rem;
  border-radius: 12px;
  border: 1px solid hsl(var(--border) / 0.55);
  text-decoration: none;
  color: hsl(var(--foreground));
}
button.pro-magazines__issue {
  width: 100%;
  background: transparent;
  text-align: start;
  cursor: pointer;
  font: inherit;
}
.pro-magazines__issue:hover {
  border-color: hsl(var(--primary) / 0.55);
}
.pro-magazines__issue.is-active {
  border-color: hsl(var(--primary) / 0.85);
  box-shadow: 0 0 0 1px hsl(var(--primary) / 0.2);
}
.pro-magazines__issue-cover {
  width: 100%;
  height: 180px;
  border-radius: 10px;
  border: 1px solid hsl(var(--border) / 0.65);
  background: hsl(var(--surface-deeper));
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pro-magazines__issue-cover.has-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pro-magazines__issue-fallback {
  font-size: 0.7rem;
  font-weight: 900;
  opacity: 0.8;
}
.pro-magazines__issue-title {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.45;
  text-align: center;
}
[dir="rtl"] .pro-magazines__issue-title {
  text-align: right;
}
@media (min-width: 1200px) {
  .pro-magazines__issue-cover {
    height: 210px;
  }
}
@media (max-width: 960px) {
  .pro-magazines__book-stage { min-height: 500px; }
  .pro-magazines__flipbook-host { height: min(66vh, 560px); }
  .pro-magazines__arrow { width: 40px; height: 40px; font-size: 1.6rem; }
  .pro-magazines__issues { grid-template-columns: 1fr; }
}

/* Hero live badge: keep above title with same right inset as content box */
.pro-hero-live-badge-wrap {
  display: block;
  text-align: right;
  margin-bottom: 0.7rem;
  pointer-events: none;
}
.pro-hero-live-badge-wrap--top {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  left: auto;
  margin-bottom: 0;
  z-index: 15;
}
[dir="ltr"] .pro-hero-live-badge-wrap {
  text-align: left;
}
[dir="ltr"] .pro-hero-live-badge-wrap--top {
  left: 0.85rem;
  right: auto;
}
.pro-hero-live-badge {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  margin: 0 !important;
  display: inline-flex;
  pointer-events: auto;
}
[dir="rtl"] .pro-hero-live-badge {
  flex-direction: row;
  direction: rtl;
}
[dir="ltr"] .pro-hero-live-badge {
  flex-direction: row;
  direction: ltr;
}
@media (max-width: 767px) {
  .pro-hero-live-badge-wrap {
    display: none !important;
    margin-bottom: 0.45rem;
  }
  .pro-hero-live-badge {
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
  }
}
/* Live ticker UX tuning: faster desktop + reliable pause + brighter hover */
@media (min-width: 768px) {
  .pro-live-ticker__track.animate-marquee {
    animation: marquee 90s linear infinite !important;
  }
  [dir="rtl"] .pro-live-ticker__track.animate-marquee {
    animation: marquee-rtl 90s linear infinite !important;
  }
}
.pro-live-ticker__viewport:hover .pro-live-ticker__track,
.pro-live-ticker__viewport:focus-within .pro-live-ticker__track,
.pro-live-ticker__track:hover {
  animation-play-state: paused !important;
}
.pro-live-ticker__item:hover,
.pro-live-ticker__item:focus-visible {
  color: hsl(0 0% 97%) !important;
}


/* Mobile hero badge: bottom-right inside image */
.pro-hero-live-badge-mobile {
  display: none;
}
@media (max-width: 767px) {
  .pro-hero-live-badge-mobile {
    display: block;
    position: absolute;
    z-index: 56;
    pointer-events: none;
  }
  [dir="rtl"] .pro-hero-live-badge-mobile {
    right: 0.65rem;
    left: auto;
  }
  [dir="ltr"] .pro-hero-live-badge-mobile {
    left: 0.65rem;
    right: auto;
  }
  .pro-hero-live-badge-mobile--bottom {
    top: calc(var(--hero-mobile-image-h, 260px) - 2.55rem);
  }
  .pro-hero-live-badge-mobile--top {
    top: 0.65rem;
  }
  .pro-hero-live-badge-mobile .pro-hero-live-badge {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    margin: 0 !important;
    padding: 0.38rem 0.62rem;
    gap: 0.34rem;
    pointer-events: auto;
  }
  .pro-hero-live-badge-mobile .pro-hero-live-badge__text {
    font-size: 0.78rem;
  }
  .pro-hero-live-badge-mobile .pro-hero-live-badge__dot {
    width: 0.5rem;
    height: 0.5rem;
  }
}

/* Mobile polish: lighter, denser, and safe for RTL/LTR */
@media (max-width: 767px) {
  .pro-trs {
    display: flex;
    flex-direction: column;
  }

  .pro-hero-layout .pro-hero-side-wrap {
    display: none !important;
  }

  section.py-8,
  .pro-trs-section,
  .pro-news-block {
    padding-top: 1.35rem !important;
    padding-bottom: 1.35rem !important;
  }

  section.py-8 > .container,
  .pro-trs-section > .container,
  .pro-news-block > .container {
    padding-inline: 0.9rem !important;
  }

  .pro-section-heading {
    gap: 0.7rem;
    align-items: flex-start;
  }

  .pro-section-heading__left {
    flex: 1 1 auto;
    gap: 0.55rem;
  }

  .pro-section-heading__right {
    margin-inline-start: auto;
  }

  .pro-section-heading :is(h1, h2, h3) {
    font-size: 1.38rem;
    line-height: 1.24;
    overflow-wrap: break-word;
  }

  .pro-section-heading__title {
    line-height: 1.32 !important;
    padding-top: 0.04em;
    padding-bottom: 0.16em;
  }

  .pro-title-bar {
    width: 3px;
    height: 20px;
  }

  .pro-title-icon {
    width: 32px;
    height: 32px;
    border-radius: 11px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
  }

  .pro-section-heading__more {
    padding: 0.44rem 0.74rem;
    font-size: 0.78rem;
  }

  .pro-trs-section .mb-5,
  .pro-news-block .mb-6,
  section.py-8 .pro-section-heading {
    margin-bottom: 0.95rem !important;
  }

  .pro-news-focus-grid,
  .pro-news-lead-strip-top,
  .pro-news-triple-top,
  .pro-news-mini-grid,
  .pro-news-showcase,
  .pro-block-with-sidebar,
  .pro-hero-layout {
    gap: 0.95rem !important;
  }

  .pro-news-lead-card,
  .pro-news-side-headline,
  .pro-news-top-card,
  .pro-news-showcase-lead,
  .pro-side-card,
  .pro-side-newsletter,
  .pro-trs-latest {
    border-radius: 0.95rem;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
  }

  .pro-news-lead-card__body,
  .pro-news-showcase-lead__body,
  .pro-news-side-headline h3,
  .pro-news-top-card h3 {
    padding: 0.72rem 0.82rem 0.84rem;
  }

  .pro-news-kicker {
    gap: 0.25rem;
    font-size: 0.74rem;
    flex-wrap: wrap;
  }

  .pro-news-lead-card h3,
  .pro-news-side-headline h3,
  .pro-news-top-card h3 {
    margin-top: 0.36rem;
    font-size: 1.1rem !important;
    line-height: 1.34;
    overflow-wrap: break-word;
  }

  .pro-news-side-list {
    gap: 0.72rem;
  }

  .pro-news-list-item,
  .pro-news-mini-item {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 0.68rem;
    padding-bottom: 0.68rem;
  }

  .pro-news-list-item__thumb,
  .pro-news-mini-item__thumb,
  .pro-news-showcase-item__thumb,
  .pro-hero-side__thumb {
    border-radius: 0.82rem;
  }

  .pro-news-list-item__thumb img,
  .pro-news-mini-item__thumb img {
    height: 66px;
  }

  .pro-news-list-item__body,
  .pro-news-mini-item__body,
  .pro-news-showcase-item__body,
  .pro-news-showcase-lead__body {
    min-width: 0;
  }

  .pro-news-list-item__body strong,
  .pro-news-mini-item__body strong {
    margin-top: 0.28rem;
    font-size: 0.96rem;
    line-height: 1.44;
    overflow-wrap: break-word;
  }

  .pro-news-showcase-item {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 0.72rem;
    padding-bottom: 0.72rem;
  }

  .pro-news-showcase-item__thumb img {
    height: 66px;
  }

  .pro-news-showcase-item__body strong {
    margin-top: 0.26rem;
    font-size: 0.98rem;
    line-height: 1.42;
    overflow-wrap: break-word;
  }

  .pro-news-showcase-item + .pro-news-showcase-item {
    margin-top: 0.45rem;
  }

  .news-card,
  .js-hero-slider {
    border-radius: 1rem;
  }

  .news-card {
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
  }

  .js-hero-slider {
    --hero-mobile-image-h: clamp(300px, 94vw, 420px);
    overflow: hidden !important;
  }

  .pro-hero-slide-content {
    padding: 0 !important;
  }

  .pro-hero-slide-copy {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 1rem 0.95rem 1.05rem !important;
    border-radius: 0 0 1rem 1rem;
    background: linear-gradient(180deg, rgba(239, 68, 68, 0.14) 0%, rgba(239, 68, 68, 0.32) 28%, rgba(239, 68, 68, 0.62) 64%, rgba(239, 68, 68, 0.86) 100%) !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
  }

  .pro-hero-slide-title {
    font-size: 1.42rem !important;
    line-height: 1.26;
    padding-top: 0.04em;
    padding-bottom: 0.14em;
    overflow-wrap: break-word;
  }

  .js-hero-slider[data-hero-variant="hero-1"] .pro-hero-slide-copy {
    padding-bottom: 1.35rem !important;
  }

  .pro-hero-1-strip {
    gap: 0.58rem;
    padding: 0.72rem;
  }

  .pro-hero-1-strip__nav {
    width: 2.35rem;
    height: 2.35rem;
    font-size: 1.24rem;
  }

  .pro-hero-1-strip__track {
    gap: 0.72rem;
  }

  .pro-hero-1-strip__item {
    flex-basis: calc((100% - 0.72rem) / 2);
    max-width: calc((100% - 0.72rem) / 2);
  }

  .pro-hero-1-strip__title {
    padding: 0.44rem 0.52rem 0.68rem;
    font-size: 0.66rem;
    line-height: 1.34;
  }
}

@media (max-width: 767px) {
  .pro-hero-1-strip {
    display: none !important;
  }

  .pro-hero-1-strip__nav {
    width: 2rem;
    height: 2rem;
    font-size: 1.08rem;
  }

  .pro-hero-1-strip__track {
    gap: 0.65rem;
  }

  .pro-hero-1-strip__item {
    flex-basis: min(255px, calc(100% - 1rem));
    max-width: min(255px, calc(100% - 1rem));
  }

  .pro-hero-1-strip__title {
    padding: 0.42rem 0.48rem 0.62rem;
    font-size: 0.62rem;
    line-height: 1.3;
  }

  .pro-hero-slide-excerpt {
    font-size: 0.88rem;
    line-height: 1.55;
    overflow-wrap: break-word;
  }

  .js-hero-slider [data-action="hero-prev"],
  .js-hero-slider [data-action="hero-next"] {
    width: 36px;
    height: 36px;
    backdrop-filter: blur(3px);
  }

  .pro-hero-1-dots,
  .pro-hero-2-dots {
    gap: 0.38rem;
    bottom: calc(100% - var(--hero-mobile-image-h, 400px) + 0.88rem) !important;
  }

  [dir="rtl"] .pro-hero-live-badge-mobile {
    right: 0.6rem;
    left: auto;
  }
  [dir="ltr"] .pro-hero-live-badge-mobile {
    left: 0.6rem;
    right: auto;
  }
  .pro-hero-live-badge-mobile--bottom {
    top: calc(var(--hero-mobile-image-h, 400px) - 4.2rem);
  }
  .pro-hero-live-badge-mobile--top {
    top: 0.75rem;
  }

  .pro-hero-live-badge-mobile .pro-hero-live-badge {
    border-color: hsl(var(--border) / 0.45);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
  }

  .pro-hero-side {
    gap: 0.75rem;
  }

  .pro-hero-side__title {
    gap: 0.45rem;
    font-size: 1.24rem;
  }

  [data-component="hero-2"] .pro-hero-side {
    gap: 1rem;
  }

  [data-component="hero-2"] .pro-hero-main > .pro-hero-2-mobile-title {
    display: inline-flex;
    margin-bottom: 0.72rem;
    font-size: clamp(1.55rem, 6vw, 1.9rem);
    line-height: 1.12;
  }

  /* Hero 2 mobile has a title above the card, so the inherited h-full
     causes the outer card to stretch past the slider content and show a gap. */
  [data-component="hero-2"] .pro-hero-main > .news-card {
    height: auto !important;
  }

  [data-component="hero-2"] .pro-hero-side-wrap > .pro-hero-side__title {
    display: none;
  }

  [data-component="hero-2"] .pro-hero-side__title {
    margin-bottom: 0.1rem;
    font-size: 1.34rem;
  }

  .pro-hero-side__title::before {
    width: 0.94rem;
    height: 0.94rem;
  }

  .pro-hero-side__list {
    padding-right: 1.15rem;
  }

  .pro-hero-side__list::before {
    right: 0.34rem;
    top: 0.1rem;
    bottom: 0.1rem;
    opacity: 0.9;
  }

  .pro-hero-side__item {
    padding-bottom: 0.8rem;
  }

  .pro-hero-side__item + .pro-hero-side__item {
    margin-top: 0.42rem;
    padding-top: 0.62rem;
  }

  .pro-hero-side__content {
    gap: 0.65rem;
  }

  [data-component="hero-1"] .pro-hero-layout.is-side-right .pro-hero-side__list {
    padding-right: 1.25rem;
    padding-left: 0;
  }

  [data-component="hero-1"] .pro-hero-side__item {
    padding-right: 0.95rem;
  }

  [data-component="hero-1"] .pro-hero-side__body {
    padding-right: 0.52rem;
  }

  [data-component="hero-1"] .pro-hero-layout.is-side-right .pro-hero-side__list::before {
    right: calc(1.25rem + 0.32rem - 1px);
    left: auto;
  }

  [data-component="hero-1"] .pro-hero-layout.is-side-right .pro-hero-side__meta::before {
    right: -1.56rem;
    left: auto;
    top: 0.46rem;
    transform: translateY(-50%);
    width: 0.92rem;
    height: 0.92rem;
  }

  [data-component="hero-1"] .pro-hero-layout.is-side-right .pro-hero-side__meta::after {
    right: calc(-1.56rem + ((0.92rem - 0.28rem) / 2));
    left: auto;
    top: 0.46rem;
    transform: translateY(-50%);
    width: 0.28rem;
    height: 0.28rem;
  }

  [data-component="hero-1"] .pro-hero-layout.is-side-left .pro-hero-side__list {
    padding-right: 1.25rem;
    padding-left: 0;
  }

  [data-component="hero-1"] .pro-hero-layout.is-side-left .pro-hero-side__list::before {
    right: calc(1.25rem + 0.32rem - 1px);
    left: auto;
  }

  [data-component="hero-1"] .pro-hero-layout.is-side-left .pro-hero-side__meta::before {
    right: -1.56rem;
    left: auto;
    top: 0.46rem;
    transform: translateY(-50%);
    width: 0.92rem;
    height: 0.92rem;
  }

  [data-component="hero-1"] .pro-hero-layout.is-side-left .pro-hero-side__meta::after {
    right: calc(-1.56rem + ((0.92rem - 0.28rem) / 2));
    left: auto;
    top: 0.46rem;
    transform: translateY(-50%);
    width: 0.28rem;
    height: 0.28rem;
  }

  .pro-hero-side__thumb {
    width: 78px;
    height: 56px;
    flex-basis: 78px;
  }

  .pro-hero-side__meta {
    gap: 0.28rem;
    margin-bottom: 0.24rem;
    font-size: 0.78rem;
  }

  .pro-hero-side__text {
    font-size: 0.92rem;
    line-height: 1.38;
    overflow-wrap: break-word;
  }

  .pro-trs-main {
    min-height: 380px;
    border-radius: 1rem;
    order: 1;
  }

  .pro-trs-slide__overlay {
    background: linear-gradient(180deg, rgba(6, 8, 12, 0) 0%, rgba(6, 8, 12, 0.26) 46%, rgba(6, 8, 12, 0.84) 100%);
  }

  .pro-trs-latest--desktop {
    display: none !important;
  }

  .pro-trs-latest--mobile {
    display: block;
    position: static;
    inset: auto;
    order: 2;
    width: auto;
    max-width: none;
    margin: 0.78rem 0.42rem 0;
    padding: 0.85rem 0.82rem;
    backdrop-filter: blur(5px);
  }

  .pro-trs-latest {
    margin: 0.7rem 0.7rem 0.45rem;
    padding: 0.85rem 0.78rem;
    backdrop-filter: blur(5px);
  }

  .pro-trs-latest__header-text {
    font-size: 1.12rem;
  }

  .pro-trs-latest__list {
    gap: 1rem;
  }

  .pro-trs-latest__item {
    gap: 0.6rem;
  }

  .pro-trs-latest__text {
    font-size: 0.94rem;
    line-height: 1.5;
    overflow-wrap: break-word;
  }

  .pro-trs-latest__time {
    font-size: 0.8rem;
  }

  .pro-trs-slide__content {
    inset-inline: 0.7rem;
    bottom: 1.55rem;
    gap: 0;
  }

  .pro-trs-slide__title {
    font-size: 1rem;
    line-height: 1.34;
    overflow-wrap: break-word;
    padding-bottom: 0.7rem;
  }

  .pro-trs-slide__excerpt {
    display: none !important;
  }

  .pro-trs-list {
    display: none !important;
  }
  .pro-trs-strip-nav {
    display: none !important;
  }

  .pro-trs-item {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    min-height: 0;
    border-radius: 0.85rem;
  }

  .pro-trs-item__body {
    display: none !important;
  }

  .pro-trs-item__thumb {
    aspect-ratio: 16 / 10;
  }

  .pro-trs-item__title {
    display: none !important;
  }

  .pro-trs-nav {
    display: inline-flex;
    width: 2.4rem;
    height: 2.4rem;
    font-size: 1.4rem;
    z-index: 12;
  }

  .pro-trs-nav--prev {
    inset-inline-start: 0.65rem;
  }

  .pro-trs-nav--next {
    inset-inline-end: 0.65rem;
  }

  .pro-side-stack {
    gap: 0.85rem;
  }

  .pro-side-card,
  .pro-side-newsletter {
    padding: 0.9rem;
    border-radius: 0.95rem;
  }

  .pro-side-latest-item,
  .pro-side-social-item {
    padding: 0.55rem 0;
  }

  .pro-side-newsletter__form {
    gap: 0.55rem;
  }

  .pro-side-newsletter__form input[type="email"],
  .pro-side-newsletter__form button {
    min-height: 42px;
  }

  .pro-magazines__viewer,
  .pro-magazines__dflip-wrap {
    padding: 0.65rem;
    border-radius: 1rem;
  }

  .pro-magazines__controls {
    gap: 0.45rem;
  }

  .pro-magazines__btn {
    padding: 0.36rem 0.72rem;
    font-size: 0.82rem;
  }

  .pro-magazines__issue {
    padding: 0.6rem;
    border-radius: 0.95rem;
  }

  [dir="rtl"] .pro-news-lead-card__body,
  [dir="rtl"] .pro-news-list-item__body,
  [dir="rtl"] .pro-news-mini-item__body,
  [dir="rtl"] .pro-news-showcase-lead__body,
  [dir="rtl"] .pro-news-showcase-item__body,
  [dir="rtl"] .pro-section-heading__stack,
  [dir="rtl"] .pro-section-heading :is(h1, h2, h3) {
    text-align: right;
  }

  [dir="rtl"] .pro-section-heading__stack {
    align-items: flex-end;
  }

  [dir="rtl"] .pro-section-heading__double-line {
    flex-direction: row;
  }

  [dir="ltr"] .pro-news-lead-card__body,
  [dir="ltr"] .pro-news-list-item__body,
  [dir="ltr"] .pro-news-mini-item__body,
  [dir="ltr"] .pro-news-showcase-lead__body,
  [dir="ltr"] .pro-news-showcase-item__body,
  [dir="ltr"] .pro-section-heading__stack,
  [dir="ltr"] .pro-section-heading :is(h1, h2, h3) {
    text-align: left;
  }

  [dir="ltr"] .pro-section-heading__stack {
    align-items: flex-start;
  }

  [dir="ltr"] .pro-section-heading__double-line {
    flex-direction: row;
  }
}

@media (min-width: 700px) and (max-width: 1023px) {
  .pro-trs-latest--desktop {
    display: block !important;
  }
  .pro-trs-latest--mobile {
    display: none !important;
  }
  .pro-trs-main {
    min-height: 620px !important;
    aspect-ratio: auto !important;
  }
  .pro-trs-latest {
    position: absolute !important;
    inset-block-start: 1rem !important;
    left: 1rem !important;
    right: 1rem !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    bottom: auto !important;
    inset-block-end: auto !important;
    transform: none !important;
    padding: 0.95rem 1rem !important;
  }
  .pro-trs-latest__list {
    min-height: 0 !important;
    gap: 0.9rem !important;
  }
  .pro-trs-latest__item:nth-child(n + 5) {
    display: none !important;
  }
  .pro-trs-slide__content {
    inset-inline: 1rem !important;
    top: 16rem !important;
    bottom: auto !important;
    justify-content: flex-start !important;
    gap: 0.45rem !important;
    transform: none !important;
    z-index: 6 !important;
  }
  [dir="rtl"] .pro-trs-slide__content,
  [dir="ltr"] .pro-trs-slide__content {
    left: 1rem !important;
    right: 1rem !important;
    width: auto !important;
    max-width: none !important;
  }
  [dir="rtl"] .pro-trs-slide__content {
    align-items: flex-end !important;
    text-align: right !important;
  }
  [dir="rtl"] .pro-trs-live-badge-wrap {
    width: 100% !important;
    justify-content: flex-end !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
  }
  [dir="rtl"] .pro-trs-live-badge-wrap .pro-hero-live-badge {
    margin-inline-start: auto !important;
    margin-inline-end: 0 !important;
  }
  .pro-trs-list {
    display: flex !important;
    flex-wrap: nowrap !important;
  }
  .pro-trs-strip-nav {
    display: inline-flex !important;
  }
}

@media (max-width: 767px) {
  [data-component="hero-1"] .pro-hero-layout .pro-hero-side-wrap {
    display: block !important;
    order: 2;
    width: 100%;
    margin-top: 0.9rem;
    padding-left: 0.95rem;
    box-sizing: border-box;
  }

  [data-component="hero-1"] .pro-hero-layout .pro-hero-side-wrap:is(.pro-hero-side--mobile-yellow, .pro-hero-side--yellow) {
    padding-left: 0;
    padding: 0.92rem 0.82rem 0.95rem;
  }

  [data-component="hero-1"] .pro-hero-side__mobile-toggle:not(:checked) ~ .pro-hero-side__list .pro-hero-side__item--mobile-extra {
    display: none;
  }

  [data-component="hero-1"] .pro-hero-side__mobile-toggle:not(:checked) ~ .pro-hero-side__list .pro-hero-side__item--mobile-last-visible {
    padding-bottom: 0.18rem;
  }

  [data-component="hero-1"] .pro-hero-side__mobile-toggle:not(:checked) ~ .pro-hero-side__list .pro-hero-side__item--mobile-last-visible .pro-hero-side__text {
    display: block;
    max-height: calc(1.38em * 2.85);
    overflow: hidden;
    padding-bottom: 0.28rem;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 58%, rgba(0, 0, 0, 0.6) 80%, transparent 100%);
    -webkit-mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-image: linear-gradient(180deg, #000 0%, #000 58%, rgba(0, 0, 0, 0.6) 80%, transparent 100%);
    mask-size: 100% 100%;
    mask-repeat: no-repeat;
  }

  [data-component="hero-1"] .pro-hero-side__more {
    display: inline-flex;
    align-self: center;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 0.8rem;
    width: fit-content;
    padding: 0.58rem 0.95rem;
    border: 1px solid hsl(var(--primary) / 0.34);
    border-radius: 999px;
    background: hsl(var(--primary) / 0.1);
    color: hsl(var(--foreground));
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    user-select: none;
  }

  [data-component="hero-1"] .pro-hero-side__more-icon {
    display: inline-flex;
    transition: transform 0.2s ease;
  }

  [data-component="hero-1"] .pro-hero-side__mobile-toggle:checked ~ .pro-hero-side__more .pro-hero-side__more-label--more,
  [data-component="hero-1"] .pro-hero-side__mobile-toggle:not(:checked) ~ .pro-hero-side__more .pro-hero-side__more-label--less {
    display: none;
  }

  [data-component="hero-1"] .pro-hero-side__mobile-toggle:checked ~ .pro-hero-side__more .pro-hero-side__more-label--less {
    display: inline;
  }

  [data-component="hero-1"] .pro-hero-side__mobile-toggle:checked ~ .pro-hero-side__more .pro-hero-side__more-icon {
    transform: rotate(180deg);
  }

  [data-component="hero-1"] .pro-hero-side__mobile-toggle:focus-visible ~ .pro-hero-side__more {
    outline: 2px solid hsl(var(--primary));
    outline-offset: 2px;
  }

  [data-component="hero-1"] .pro-hero-side:is(.pro-hero-side--mobile-yellow, .pro-hero-side--yellow) .pro-hero-side__more {
    border-color: rgba(17, 17, 17, 0.18);
    background: rgba(17, 17, 17, 0.06);
    color: #111111;
  }

  [data-component="hero-1"] .pro-hero-side:is(.pro-hero-side--mobile-yellow, .pro-hero-side--yellow) .pro-hero-side__mobile-toggle:focus-visible ~ .pro-hero-side__more {
    outline-color: #111111;
  }

  [data-component="hero-1"] .pro-hero-layout .pro-hero-main {
    order: 1;
  }
}

html.pro-news-brief-open,
html.pro-news-brief-open body {
  overflow: hidden;
}

.pro-news-brief {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 90;
  pointer-events: none;
}

.pro-news-brief[dir="ltr"] {
  left: 1.25rem;
  right: auto;
}

.pro-news-brief__trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  border: 1px solid rgba(239, 68, 68, 0.22);
  border-radius: 999px;
  background: #050608;
  color: #fff;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.36);
  padding: 0.34rem 0.38rem 0.34rem 1rem;
  cursor: pointer;
  pointer-events: auto;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.pro-news-brief__trigger:hover {
  transform: translateY(-2px);
  box-shadow: 0 28px 58px rgba(0, 0, 0, 0.44);
}

.pro-news-brief__trigger-text {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.pro-news-brief__trigger-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pro-news-brief__trigger-ring {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.28rem;
  height: 2.28rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #ef4444, #cf1717);
  color: #fff;
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.08);
}

.pro-news-brief__trigger-play {
  width: 1.18rem;
  height: 1.18rem;
  transform: translateX(-0.02rem) scale(1.24);
}

.pro-news-brief__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(2, 4, 8, 0.76);
  display: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.pro-news-brief__panel {
  position: fixed;
  right: 1.25rem;
  bottom: 5.8rem;
  width: min(420px, calc(100vw - 2rem));
  height: min(820px, calc(100vh - 8rem));
  padding: 1rem;
  border-radius: 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
    #0b0d11;
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.5);
  box-sizing: border-box;
  display: none;
  opacity: 0;
  transform: translateY(18px) scale(0.98);
  transform-origin: bottom right;
  pointer-events: none;
  transition: opacity 0.24s ease, transform 0.24s ease;
  overflow: hidden;
}

.pro-news-brief[dir="ltr"] .pro-news-brief__panel {
  left: 1.25rem;
  right: auto;
  transform-origin: bottom left;
}

.pro-news-brief.is-open .pro-news-brief__backdrop {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

.pro-news-brief.is-open .pro-news-brief__panel {
  display: block;
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.pro-news-brief__close {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 12, 16, 0.78);
  color: #fff;
  cursor: pointer;
}

.pro-news-brief__panel-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  height: 100%;
  align-items: stretch;
}

.pro-news-brief__slides {
  position: relative;
  min-width: 0;
  height: 100%;
  min-height: 0;
}

.pro-news-brief__slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border-radius: 1.45rem;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(17, 20, 27, 0.98), rgba(9, 10, 14, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 -90px 120px rgba(0, 0, 0, 0.28);
  opacity: 0;
  transform: translateY(11%);
  pointer-events: none;
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.24s ease;
}

.pro-news-brief__slide.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  z-index: 2;
}

.pro-news-brief__slide.is-prep-next {
  opacity: 1;
  transform: translateY(100%);
  z-index: 3;
}

.pro-news-brief__slide.is-prep-prev {
  opacity: 1;
  transform: translateY(-100%);
  z-index: 3;
}

.pro-news-brief__slide.is-exit-up {
  opacity: 0.12;
  transform: translateY(-100%);
  z-index: 1;
}

.pro-news-brief__slide.is-exit-down {
  opacity: 0.12;
  transform: translateY(100%);
  z-index: 1;
}

.pro-news-brief__media {
  flex: 0 0 auto;
  height: clamp(220px, 34vh, 320px);
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.pro-news-brief__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.pro-news-brief__content {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.1rem 1.15rem 5.3rem;
  background: linear-gradient(180deg, rgba(18, 20, 27, 0.22), rgba(18, 20, 27, 0.95) 18%, rgba(18, 20, 27, 1));
  flex: 1;
  min-height: 0;
}

.pro-news-brief__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.7rem;
  align-items: center;
}

.pro-news-brief__tag,
.pro-news-brief__time {
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.3;
}

.pro-news-brief__tag {
  color: hsl(var(--primary));
}

.pro-news-brief__time {
  color: rgba(255, 255, 255, 0.72);
}

.pro-news-brief__title {
  margin: 0;
  color: #fff;
  font-size: clamp(1rem, 1.45vw, 1.46rem);
  line-height: 1.18;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.pro-news-brief__excerpt {
  margin: 0;
  flex: 1 1 auto;
  min-height: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.02rem;
  line-height: 1.85;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 58%, rgba(0, 0, 0, 0.72) 78%, rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 58%, rgba(0, 0, 0, 0.72) 78%, rgba(0, 0, 0, 0) 100%);
}

.pro-news-brief__read {
  position: absolute;
  left: 50%;
  bottom: 1.15rem;
  margin-top: 0;
  align-self: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.72rem 1.18rem;
  border-radius: 1rem;
  background: linear-gradient(180deg, #ef4444, #d31d1d);
  color: #fff;
  font-weight: 900;
  font-size: 0.98rem;
  line-height: 1;
  text-decoration: none;
  transform: translateX(-50%);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.pro-news-brief__read:hover {
  transform: translateX(-50%) translateY(-1px);
  filter: brightness(1.05);
  color: #fff;
}

[dir="rtl"] .pro-news-brief__read-icon {
  transform: scaleX(-1);
}

.pro-news-brief__controls {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
  align-self: stretch;
  justify-content: center;
  padding-block: 1.25rem;
}

.pro-news-brief__nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.78rem;
  height: 2.78rem;
  border-radius: 999px;
  border: 1px solid rgba(239, 68, 68, 0.8);
  background: linear-gradient(180deg, rgba(239, 68, 68, 0.16), rgba(239, 68, 68, 0.05));
  color: #fff;
  box-shadow: none;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.pro-news-brief__nav .pro-icon {
  width: 1.22rem;
  height: 1.22rem;
  stroke-width: 2.35;
}

.pro-news-brief__nav:hover {
  transform: translateY(-2px);
  background: linear-gradient(180deg, rgba(239, 68, 68, 0.22), rgba(239, 68, 68, 0.08));
  border-color: rgba(239, 68, 68, 0.95);
  color: #fff;
}

.pro-news-brief__dots {
  display: none;
}

.pro-news-brief__dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.2);
  transition: transform 0.18s ease, background-color 0.18s ease, width 0.18s ease;
}

.pro-news-brief__dot.is-active {
  width: 1.8rem;
  background: hsl(var(--primary));
}

@media (max-width: 767px) {
  .pro-news-brief {
    right: 0.9rem;
    bottom: 0.9rem;
  }

  .pro-news-brief[dir="ltr"] {
    left: 0.9rem;
    right: auto;
  }

  .pro-news-brief__trigger {
    padding-inline-start: 0.88rem;
  }

  .pro-news-brief__trigger-text {
    font-size: 0.92rem;
  }

  .pro-news-brief__trigger-ring {
    width: 2.18rem;
    height: 2.18rem;
  }

  .pro-news-brief__panel {
    left: 50%;
    right: auto;
    bottom: 4.35rem;
    width: min(380px, calc(100vw - 1rem));
    height: min(760px, calc(100dvh - 5.4rem));
    padding: 0.85rem;
    transform: translate(-50%, 18px) scale(0.98);
    transform-origin: bottom center;
  }

  .pro-news-brief[dir="ltr"] .pro-news-brief__panel {
    left: 0.9rem;
    right: auto;
    width: min(380px, calc(100vw - 1.8rem));
    transform: translateY(18px) scale(0.98);
    transform-origin: bottom left;
  }

  .pro-news-brief.is-open .pro-news-brief__panel {
    transform: translate(-50%, 0) scale(1);
  }

  .pro-news-brief[dir="ltr"].is-open .pro-news-brief__panel {
    transform: translateY(0) scale(1);
  }

  .pro-news-brief__panel-shell {
    display: block;
    height: 100%;
  }

  .pro-news-brief__controls {
    position: absolute;
    right: 0.95rem;
    left: auto;
    top: 0.85rem;
    z-index: 4;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.6rem;
    height: clamp(214px, 34vh, 286px);
    padding: 0;
    transform: none;
  }

  .pro-news-brief__slide {
    min-height: 100%;
  }

  .pro-news-brief__media {
    height: clamp(214px, 34vh, 286px);
  }

  .pro-news-brief__content {
    gap: 0.72rem;
    padding: 1rem 1rem 5rem;
  }

  .pro-news-brief__title {
    font-size: 1.05rem;
    line-height: 1.2;
  }

  .pro-news-brief__excerpt {
    font-size: 0.91rem;
    line-height: 1.72;
    -webkit-line-clamp: 4;
  }

  .pro-news-brief__read {
    bottom: 1rem;
    padding: 0.68rem 1.05rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 767px) {
  body.admin-bar .pro-news-brief__panel {
    height: min(760px, calc(100dvh - 6.4rem));
  }
}

@media (hover: none) and (pointer: coarse) {
  .pro-touch-device .pro-live-ticker__viewport:hover .pro-live-ticker__track,
  .pro-touch-device .pro-live-ticker__track:hover {
    animation-play-state: running !important;
  }

  .pro-touch-device .news-card:hover,
  .pro-touch-device .yt-card:hover,
  .pro-touch-device .pro-mobile-menu-toggle:hover,
  .pro-touch-device .pro-footer-follow-btn:hover,
  .pro-touch-device .pro-section-heading__more:hover,
  .pro-touch-device .pro-hero-1-strip__nav:hover,
  .pro-touch-device .pro-hero-1-strip__item:hover,
  .pro-touch-device .pro-load-more-btn:hover,
  .pro-touch-device .pro-magazines__arrow:hover,
  .pro-touch-device .pro-news-brief__trigger:hover,
  .pro-touch-device .pro-news-brief__nav:hover,
  .pro-touch-device .pro-news-brief__read:hover {
    transform: none !important;
    filter: none !important;
  }
}

/* Sidebar: opinion widget (author photo + title) */
.pro-side-opinion-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.pro-side-opinion-item {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 0.9rem;
  align-items: center;
  text-decoration: none;
  color: hsl(var(--foreground));
  padding-bottom: 1rem;
  border-bottom: 1px solid hsl(var(--border) / 0.35);
}
.pro-side-opinion-list .pro-side-opinion-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.pro-side-opinion-avatar {
  display: block;
  width: 76px;
  height: 76px;
  border-radius: 9999px;
  overflow: hidden;
  border: 1px solid hsl(var(--border) / 0.6);
  background: hsl(var(--muted) / 0.22);
}
.pro-side-opinion-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 9999px;
}
.pro-side-opinion-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
[dir="rtl"] .pro-side-opinion-body { text-align: right; }
[dir="ltr"] .pro-side-opinion-body { text-align: left; }
.pro-side-opinion-author {
  color: hsl(var(--primary));
  font-size: 0.85rem;
  font-weight: 900;
  line-height: 1.2;
}
.pro-side-opinion-text {
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pro-side-opinion-item:hover .pro-side-opinion-text { color: hsl(var(--primary)); }
@media (max-width: 480px) {
  .pro-side-opinion-item { grid-template-columns: 64px minmax(0, 1fr); gap: 0.7rem; }
  .pro-side-opinion-avatar { width: 64px; height: 64px; }
}
