
/* avatars */
.avatars-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 35px;
  overflow-x: auto;
  scrollbar-width: none;
}
.avatars-row::-webkit-scrollbar {
  display: none;
}
.avatar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 90px;
  flex-shrink: 0;
  text-align: center;
}
.avatar-ring {
  width: 90px;
  height: 90px;
  border: 2px solid var(--color-primary);
  border-radius: 50%;
  padding: 4px;
  transition: border-color 0.3s ease;
}

.avatar-item:hover .avatar-ring {
  border-color: #000000;
}

.avatar-circle {
  border-radius: 50%;
}
.avatar-name {
  font-family: L-29LT-Bukra;
  font-size: 14px;
  color: var(--color-dark);
  transition: transform 0.3s ease;
}

.avatar-item:hover .avatar-name {
  transform: scale(0.85);
}
/* end avatars */
/* news showcase */
.card-img-ratio--showcase > a { padding-bottom: 62.5%; }
.showcase-main-swiper .swiper-slide {
  border: 6px solid var(--color-primary);
}
.news-showcase {
  display: flex;
  margin: 10px 0 40px;
  padding-top: 0px; padding-bottom: 40px;
  background: #ffffff;
  align-items: stretch;
  position: relative;
}
.news-showcase::after  {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 2px;
  background: var(--color-text);
}
.news-showcase__main {
  width: 73%;
  position: relative;
  overflow: hidden;
}
.news-showcase__thumbs {
  width: 27%;
}
.showcase-main-swiper {
  width: 100%;
  height: 100%;
}
.showcase-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, #000000e6 0%, #00000080 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  z-index: 10;
  pointer-events: none;
}
.showcase-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 6px 14px;
  font-size: 14px;
  font-family: R-29LT-Bukra;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 10;
  pointer-events: auto;
}
.showcase-title {
  color: var(--color-white);
  font-size: 26px;
  font-family: B-29LT-Bukra;
  line-height: 1.5;
  margin-bottom: 30px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  line-clamp: 3;
}
.showcase-pagination {
  position: absolute;
  bottom: 25px !important;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 15;
}
.showcase-pagination .swiper-pagination-bullet {
  width: 188px;
  height: 4px;
  border-radius: 16px;
  background: #ffffff66;
  margin: 0 !important;
  opacity: 1;
  transition: background 0.3s ease;
  cursor: pointer;
}
.showcase-pagination .swiper-pagination-bullet-active {
  background: #ffffff;
}
.showcase-thumbs-swiper {
  width: 100%;
  height: 100%;
      overflow: hidden;
        box-shadow: 0px 25px 30px -15px #00000026;
}
.thumb-item__content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 100%;
  padding: 10px 20px;
  cursor: pointer;
  border-bottom: 1px solid var(--color-gray-border);
  background: #ffffff;
  transition: all 0.3s ease;
}
.swiper-slide:last-child .thumb-item__content {
  border-bottom: none;
}
.thumb-item__num {
  font-size: 64px;
  font-family: CairoNowExtended-Bold;
  color: var(--color-dark);
    width: 90px;
  text-align: right;
  line-height: 1;
  transition: color 0.3s ease;
}
.thumb-item__text {
  flex: 1;
  font-size: 14px;
  font-family: R-29LT-Bukra;
  line-height: 1.45;
  color: var(--color-dark);
  text-align: right;
  transition: color 0.3s ease;
    overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  line-clamp: 3;
}
.showcase-thumbs-swiper .swiper-slide-thumb-active .thumb-item__content {
  background: var(--color-primary);
}
.showcase-thumbs-swiper .swiper-slide-thumb-active .thumb-item__num,
.showcase-thumbs-swiper .swiper-slide-thumb-active .thumb-item__text {
  color: var(--color-white);
}
/* end news showcase */
/* editions */
.editions-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 2px;
    background: var(--color-text);
}

.editions-section {
  position: relative;
  margin-top: 40px;
  margin-bottom: 50px;
}

.editions-content {
  padding: 0px 20px 60px 20px;
}
.editions-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.editions-item {
  background-color: #F8F8F8;
  padding: 15px 15px 25px 15px;
  display: flex;
  flex-direction: column;
}
.editions-img {
  width: 100%;
  padding-bottom: 134.71%;
  position: relative;
  box-shadow: 0 5px 15px #0000001a;
  margin-bottom: 20px;
}
.editions-img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.editions-item-title {
  text-align: center;
  font-size: 18px;
  font-family: B-29LT-Bukra;
  color: var(--color-dark);
  margin-top: auto;
}
.editions-footer {
  display: flex;
  justify-content: center;
  margin-top: 50px;
}
.editions-btn {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 4px; 
}
.editions-btn-text {
  background-color: var(--color-primary);
  color: #fff;
  padding: 12px 30px;
  border-radius: 50px;
      font-size: 18px;
  font-family: B-29LT-Bukra;
  transition: background-color 0.4s ease;
}
.editions-btn-icon {
  background-color: var(--color-primary);
  color: #fff;
  width: 51px;
  height: 51px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.4s ease;
}
.editions-btn:hover .editions-btn-text,
.editions-btn:hover .editions-btn-icon {
  background-color: var(--color-dark, var(--color-dark));
}
.editions-btn-icon svg {
  width: 30px;
  height: 30px;
  transition: transform 0.4s ease;
  transform-origin: center;
  rotate: -90deg;
}
.editions-btn:hover .editions-btn-icon svg {
  transform: rotate(-180deg);
}
/* end editions */
/* latest news */
.latest-news-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 2px;
    background: var(--color-text);
}
.latest-news-section {
  position: relative;
  margin-top: 50px;
  padding-bottom: 40px;
}


.latest-news-content {
  padding-top: 20px;
}
.latest-cards-wrapper {
  background-color: #fff;
  height: 100%;
      box-shadow: 0px 25px 30px -15px #00000026;
}
.latest-card {
  border: 1px solid #A4A4A4;
  background-color: #fff;
  margin-bottom: 20px;
}
.latest-card-img-col , .latest-card-img-col-top {
  border-left: 1px solid #A4A4A4;
}
.latest-card-img-col .latest-card-img {
              padding-bottom: 134.71%;


}
.latest-card-img {
  position: relative;
  width: 100%;
        padding-bottom: 62.3%;

}
.latest-card-img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.latest-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}
.latest-card-num {
  text-align: right;
  font-family: CairoNowExtended-Bold;
  font-size: 42px;
  line-height: 1;
  color: var(--color-primary, #EC1C24);
  margin-bottom: 8px;
}
.latest-card-title {
  text-align: right;
  font-size: 18px;
      line-height: 1.5;
  font-family: B-29LT-Bukra;
  color: var(--color-dark);
  margin-bottom: 12px;
      overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
}
.latest-card-title a {
  color: var(--color-dark);
}
.latest-card-meta {
  text-align: right;
  font-size: 13px;
  color: #8E8E8E;
  display: flex;
  align-items: center;
  gap: 5px;
}
.latest-card-meta svg {
  width: 14px;
  height: 14px;
}
.most-read-wrapper {
  background-color: #F8F8F8;
    padding: 20px 10px;
  height: 100%;
      box-shadow: 0px 25px 30px -15px #00000026;
}


.most-read-box {
  background-color: #fff;
  border-bottom: 1px solid #A4A4A4;
  position: relative;
  padding-bottom: 100px;
}
.most-read-box::before {
  content: '';
  position: absolute;
  top: 24px; 
  bottom: 0;
  left: 0;
  width: 1px;
  background-color: #A4A4A4;
}
.most-read-box::after {
  content: '';
  position: absolute;
  top: 0px; 
  bottom: 0;
  right: 0;
  width: 1px;
  background-color: #A4A4A4;
}

.most-read-text {
  flex-grow: 1;
  text-align: right;
  padding-right: 15px;
  font-size: 14px;
  font-family: B-29LT-Bukra;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2;
}
.most-read-text a {
  color: var(--color-dark);
}
.most-read-num {
  font-family: CairoNowExtended-Bold;
  font-size: 42px;
  color: var(--color-primary);
}
.slant-divider {
  position: relative;
  height: 1px;
  background-color: var(--color-dark);
  margin: 15px 0 25px 60px;
  width: calc(100% - 175px);
}
.slant-divider::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 37px;
    height: 1px;
    background-color: var(--color-dark);
    transform-origin: right center;
    transform: translateX(-100%) rotate(-42deg);
}
.slant-divider::after {
    content: '';
    position: absolute;
    left: -26px;
    top: 24px;
    width: 149px;
    height: 1px;
    background-color: var(--color-dark);
    transform: translateX(-100%);
}


/* end tv section */
/* start politics section */
.politics-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 2px;
  background: var(--color-text);
}
.politics-section {
  padding: 50px 0 40px;
  position: relative;
}
.politics-header {
  margin-bottom: 25px;
}
.politics-grid {
  display: grid;
  grid-template-columns: 1fr 292px;
  gap: 30px;
      padding: 30px 0;
}
.politics-main {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background-color: #F8F8F8;
      padding: 32px 16px;
          box-shadow: 0px 25px 30px -15px #00000026;
}
.politics-card {
  display: flex;
  align-items: stretch;
  flex-direction: row-reverse;
  gap: 20px;
  border: 1px solid var(--color-dark);
    background-color: #ffffff;
  padding-right: 20px;
}

.politics-card__img {
  position: relative;
  width: 191px;
  min-width: 191px;
  overflow: hidden;
  aspect-ratio: 100 / 84.82;
}
.politics-card__img a {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.politics-card__img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.politics-card:hover .politics-card__img img {
  transform: scale(1.05);
}
.politics-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
    justify-content: space-evenly;
  direction: rtl;
}
.politics-card__num {
  font-size: 42px;
font-family: CairoNowExtended-Bold;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 6px;
}
.politics-card__title {
  margin: 0 0 8px;
  font-size: 15px;
  font-family: B-29LT-Bukra;
  line-height: 1.7;
      overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
}
.politics-card__title a {
  color: var(--color-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}
.politics-card__title a:hover {
  color: var(--color-primary);
}
.politics-card__date {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-family: R-29LT-Bukra;
  color: #999;
}
.politics-card__date svg {
  flex-shrink: 0;
}
.politics-trending {
  border-radius: 0;
  overflow: hidden;
  align-self: flex-start;
      height: 100%;
          background-color: #F8F8F8;
              padding: 32px 16px;
              box-shadow: 0px 25px 30px -15px #00000026;
}
.politics-trending  .stars-header {
  margin-bottom: 0;
}
.politics-trending__header h3 {
    color: var(--color-primary);
    font-family: B-29LT-Bukra;
    font-size: 24px;
    text-align: right;
    margin-bottom: 15px;
    padding-bottom: 15px;
    padding-right: 20px;
}
.politics-trending__list {
  padding: 0;
}
.politics-trending__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row-reverse;
  gap: 10px;

    padding: 20px 0;
  border-bottom: 1px solid #A4A4A4;
  text-decoration: none;
  direction: rtl;
  transition: background 0.2s ease;
}
.politics-trending__item:last-child {
  border-bottom: none;
}
.politics-trending__item:hover {
  background: #f9f9f9;
}
.politics-trending__text {
  flex: 1;
}
.politics-trending__text p {
  margin: 0;
  font-size: 14px;
  font-family: B-29LT-Bukra;
  color: var(--color-dark);
  line-height: 1.7;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  line-clamp: 3;
}
.politics-trending__num {
  font-size: 42px;
  font-family: CairoNowExtended-Bold;
  color: var(--color-primary);
  line-height: 1;
  width: 70px;
  min-width: 70px;
  text-align: center;
}
/* end politics */

/* start tv */
.tv-section {
  position: relative;
  margin-top: 40px;
  padding-bottom: 40px;
}
.tv-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 2px;
  background: var(--color-text);
}
.tv-slider-wrap {
  position: relative;
  margin-top: 50px;
}
.tv-swiper {
  width: 100%;
  overflow: hidden;
  padding-bottom: 10px;
}
.tv-card {
  cursor: pointer;
  position: relative;
}
.tv-card__img {
  position: relative;
  padding-bottom: 213.08%;
  overflow: hidden;
  border-radius: 35px;
  box-shadow: 0 8px 24px #0000001a;
}
.tv-card__img::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 30%;
    height: 10px;
    background: #ffffff;
    border-radius: 50px;
    z-index: 6;
}
.tv-card__img a {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.tv-card__img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.tv-card:hover .tv-card__img img {
  transform: scale(1.04);
}
.tv-card__play {
  position: absolute;
  bottom: 50%;
  left: 50%;
  transform: translate(-50%, 50%);
  width: 56px;
  height: 56px;
  background: #ffffff33;
  backdrop-filter: blur(6px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: background 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}
.tv-card__play svg {
  width: 35px;
  height: 35px;
  color: #ffffff;
  margin-left: -2px;
}
.tv-card:hover .tv-card__play {
  background: var(--color-primary);
  transform: translate(-50%, 50%) scale(1.1);
}
.tv-card__meta {
  display: flex;
  align-items: center;
  justify-content: center;
      flex-direction: row-reverse;
  gap: 6px;
    padding: 4px 8px;
    margin-bottom: 20px;
        border-radius: 50px;
  font-size: 13px;
  font-family: R-29LT-Bukra;
  color: #ffffff;
  background-color: var(--color-dark);
      position: absolute;
    bottom: 0;
        white-space: nowrap;
    left: 50%;
    transform: translateX(-50%);
}
.tv-card__meta svg {
  flex-shrink: 0;
}
.tv-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}
.tv-prev, .tv-next {
  position: static !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 50%;
  background: #ffe5e5;
  color: var(--color-primary) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  cursor: pointer;
  transition: all 0.3s ease;
}
.tv-prev::after, .tv-next::after {
  font-size: 14px !important;
  font-weight: bold;
}
.tv-prev:hover, .tv-next:hover {
  background: var(--color-primary);
  color: var(--color-white) !important;
}
.tv-footer {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}
/* end tv */

/* start video popup */
.video-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100dvh;
  z-index: 99999;
  display: none;
}
.video-popup.open {
  display: block;
}
.video-popup__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000000e6;
}
.video-popup__close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 100;
  background: #ffffff1a;
  border: 2px solid #ffffff33;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s ease;
}
.video-popup__close:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
}
.video-popup__swiper {
  width: 100%;
  height: 100%;
}
.video-popup__swiper .swiper-slide {
  height: 100dvh;
}
.video-popup__slide {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-popup__slide iframe {
  width: 80%;
  height: 80%;
  border-radius: 12px;
  position: relative;
  z-index: 1;
  border: none;
  background: #000;
}
.video-loader {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 0;
}
.video-loader__spinner {
  width: 48px;
  height: 48px;
  border: 4px solid #ffffff33;
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: videoSpin 0.8s linear infinite;
}
@keyframes videoSpin {
  to { transform: rotate(360deg); }
}
.video-loader.hidden {
  display: none;
}
.swipe-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  display: none;
}
.video-popup__next,
.video-popup__prev {
  color: #ffffff !important;
  z-index: 50;
}
.video-popup__next::after,
.video-popup__prev::after {
  font-size: 22px !important;
  font-weight: bold;
}
/* end video popup */

/* start world today */
.world-today {
  padding: 50px 0 40px;
  position: relative;
}
.world-today::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 2px;
  background: var(--color-text);
}
.world-today-header {
  margin-bottom: 25px;
}
.world-today-header h2 {
  color: var(--color-primary);
  font-family: B-29LT-Bukra;
  font-size: 24px;
  text-align: right;
  margin-bottom: 0;
  padding-right: 20px;
}
.world-grid {
  border: 1px solid #D9D9D9;
  display: flex;
      margin-top: 50px;
  flex-direction: column;
      box-shadow: 0px 25px 30px -15px #00000026;
}
.world-row-top {
  display: flex;
  border-bottom: 1px solid #D9D9D9;
}
.world-card__content--dark {
  flex: 1;
  background-color: #2b2a2a; 
  color: #fff;
}
.world-card__img-wrap {
  flex: 0 0 35%;
}
.world-card__img {
  width: 100%;
padding-bottom: 62.3%;
  position: relative;
  overflow: hidden;
}
.world-card__img img {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
}
.world-row-bottom {
  display: flex;
}
.world-card--half {
  position: relative;
}
.world-row-bottom .world-card--overlay {
  flex: 0 0 35%;
}
.world-row-bottom .world-card--light {
  flex: 1;
  background-color: #fff;
  color: #212121;
}
.world-row-bottom .world-card--overlay {
  border-left: 1px solid #D9D9D9;
}
.world-card__overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to top, #000000d9 0%, #00000033 100%);
  color: #fff;
  z-index: 2;
}

.world-card__content {
  padding: 18px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.world-card__title {
  font-family: R-29LT-Bukra;
  font-size: 18px;
  line-height: 1.8;
  margin: 0;
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  line-clamp: 3;
  direction: rtl;
}
.world-card__title a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s;
}
.world-card__title a:hover {
  opacity: 0.8;
}
.world-card__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 30px;
}
.world-card__num {
  font-family: CairoNowExtended-Bold;
  font-size: 64px;
  line-height: 1;
}
.world-row-bottom .world-card--light .tv-footer .editions-btn .editions-btn-text{
  color: #ffffff;
  background-color: var(--color-dark);
}
.world-row-bottom .world-card--light .tv-footer .editions-btn .editions-btn-icon{
  background-color: var(--color-dark);
}
.world-row-bottom .world-card--light .tv-footer .editions-btn .editions-btn-icon svg{
 rotate: 90deg;
}
.world-card__overlay .tv-footer .editions-btn .editions-btn-text{
  color: var(--color-primary);
  background-color: #ffffff;
}
.world-card__overlay .tv-footer .editions-btn .editions-btn-icon{
  background-color: #ffffff;
}

.world-row-bottom .world-card--light .tv-footer .editions-btn:hover .editions-btn-icon svg {
  transform: rotate(0deg);
}


.world-card__overlay .tv-footer:hover .editions-btn-text,
.world-card__overlay .tv-footer:hover .editions-btn-icon {
  background-color: var(--color-dark, var(--color-dark));
}
/* end world today */

.calendar-widget {
    position: relative;
    font-family: inherit;
    display: inline-block;
}
.calendar-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    color: #333333;
    transition: all 0.3s ease;
}
.calendar-trigger.active {
    border-color: #28a745;
    color: #28a745;
    background: #f8fff9;
}
.calendar-popup {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 12px;
    width: 340px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 24px #0000001f;
    border: 1px solid #f0f0f0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.3s ease;
    z-index: 1000;
}
.calendar-widget.open .calendar-popup {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.calendar-view, .news-view {
    padding: 24px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
}
.news-view {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    transform: translateX(-100%);
    opacity: 0;
    pointer-events: none;
    box-sizing: border-box;
}
.calendar-popup.show-news .calendar-view {
    transform: translateX(100%);
    opacity: 0;
    pointer-events: none;
}
.calendar-popup.show-news .news-view {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
}
.calendar-header, .news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}
.calendar-header button, .news-header button {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    width: 36px;
    height: 36px;
    cursor: pointer;
    color: #495057;
    transition: all 0.2s;
}
.calendar-header button:hover, .news-header button:hover {
    background: #e9ecef;
    color: #212529;
}
.calendar-header h3, .news-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #212529;
}
.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-weight: 600;
    font-size: 13px;
    color: #868e96;
    margin-bottom: 12px;
}
.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
}
.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #495057;
    border-radius: 50%;
    transition: background-color 0.2s, color 0.2s;
}
.calendar-day:not(.empty):hover {
    background: #f1f3f5;
    color: #212529;
}
.calendar-day.empty {
    cursor: default;
    background: transparent;
}
.calendar-day.selected {
    background: #28a745;
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 4px 10px #28a7454d;
}
.news-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.news-item {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 8px;
    border-radius: 8px;
    transition: background 0.2s;
    cursor: pointer;
}
.news-item:hover {
    background: #f8f9fa;
}
.news-item img {
    width: 64px;
    height: 64px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
}
.news-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.news-content h4 {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #343a40;
}
.news-content p {
    margin: 0;
    font-size: 12px;
    color: #868e96;
    
}

/* ================================= */
/* CALENDAR    */
/* ================================= */

.calendar-widget-v2 {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999; 
    direction: rtl;
    font-family: inherit;
    opacity: 0;
    visibility: hidden;
    transform: translateY(30px);
    transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s cubic-bezier(0.18, 0.89, 0.32, 1.28);
    pointer-events: none;
}
.calendar-widget-v2.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.cw2-container {
    display: flex;
    background: #fbfbfb;
    border-radius: 16px;
    box-shadow: 0px 8px 30px #00000014;
    transition: width 0.4s ease, height 0.4s ease;
    overflow: hidden;
}

/* ------------------- */
/* NEWS PANE    */
/* ------------------- */
.cw2-news-pane {
    width: 0;
    max-height: 0; 
    opacity: 0;
    visibility: hidden;
    background: #ffffff;
    border-left: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.4s ease;
    padding: 0; 
    order: 2; 
}

.cw2-container.expanded .cw2-news-pane {
    width: 740px;
    max-height: 1000px;
    opacity: 1;
    visibility: visible;
    padding: 24px;
}

.cw2-news-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
        flex-direction: row-reverse;
    margin-bottom: 20px;
}

.cw2-close-news {
    background: transparent;
    border: none;
    color: #e3000f; 
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: transform 0.2s;
}
.cw2-close-news:hover { transform: scale(1.1); }

.cw2-day-name {
    display: block;
    font-size: 13px;
 font-family: R-29LT-Bukra;
    color: #e3000f;
    text-transform: uppercase;
    margin-bottom: 4px;
}
.cw2-full-date {
    margin: 0;
    font-size: 24px;
    font-family: CairoNowExtended-Bold;
    color: #e3000f;
}
.cw2-full-date span {
    font-family: B-29LT-Bukra;
}

/* Slider logic */
.cw2-slider-container {
    flex: 1;
    position: relative;
    overflow: hidden;
    min-height: 250px;
}
.cw2-news-grid {
    transition: transform 0.4s ease;
}
.cw2-calendar-swiper {
    width: 100%;
    height: 100%;
}
.cw2-calendar-swiper .swiper-slide {
    width: 100% !important;
    box-sizing: border-box;
    flex-shrink: 0;
}
.cw2-news-grid-page {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
    align-content: start;
}
.cw2-news-item {
    padding: 0 10px;
}
.cw2-news-grid-page::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
    background: #A4A4A4;
    transform: translateX(-50%);
}
.cw2-news-item a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 8px 0;
    border-bottom: 1px solid #A4A4A4;
    gap: 10px;
    cursor: pointer;
}
.cw2-news-item:nth-child(1) a,
.cw2-news-item:nth-child(2) a {
    border-top: 1px solid #A4A4A4;
}
.cw2-news-item:hover .cw2-ni-title {
    color: #e3000f;
}
.cw2-ni-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.cw2-ni-title {
    font-size: 11px;
    line-height: 1.6;
    color: #444;
    font-family: R-29LT-Bukra;
    margin: 0;
    text-align: right;
    transition: color 0.2s;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
    overflow-wrap: break-word;
}
.cw2-ni-image {
    width: 57px;
    height: 43px;
    border-radius: 4px;
    object-fit: cover;
    flex-shrink: 0;
}
.cw2-ni-number {
    font-size: 32px;
    font-family: CairoNowExtended-Bold;
    color: #222;
    flex-shrink: 0;
    width: 50px;
    text-align: center;
}

.cw2-slider-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
}
.cw2-slide-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
        background: #fdf1f2;
    color: #e3000f;
}

.cw2-slide-btn:hover {
    transform: scale(1.05);
}

/* ------------------- */
/* CALENDAR (RIGHT)    */
/* ------------------- */
.cw2-calendar-pane {
    width: 306px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    order: 1; 
    transition: padding 0.4s ease;
}
.cw2-closed .cw2-calendar-pane {
    padding-bottom: 24px; 
}

.cw2-top-controls {
    display: flex;
    justify-content: right;
    flex-direction: row-reverse;
    gap: 10px;
    margin-bottom: 20px;
}
.cw2-header-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: transform 0.2s;
}
.cw2-header-btn:hover { transform: scale(1.05); }

.cw2-btn-expand { background: #1ed760; }
.cw2-container.expanded .cw2-btn-expand { background: #ff9b00; color: #000000; }
.icon-collapse {
  rotate: 180deg;
}
.cw2-btn-toggle { background: #222; }

.cw2-btn-toggle .icon-chevron {
    transition: transform 0.4s ease;
}
.cw2-container:not(.cw2-closed) .cw2-btn-toggle .icon-chevron {
    transform: rotate(180deg);
}

.cw2-month-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    transition: margin 0.4s ease;
}
.cw2-closed .cw2-month-nav {
    margin-bottom: 0; 
}
.cw2-month-btn {
    background: transparent;
    border: none;
    color: #e3000f;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cw2-month-title {
    margin: 0;
    font-size: 16px;
     font-family: B-29LT-Bukra;
    color: #111;
}

.cw2-calendar-body-wrap {
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1), opacity 0.4s ease;
    overflow: hidden;
    max-height: 400px;
    opacity: 1;
}
.cw2-closed .cw2-calendar-body-wrap {
    max-height: 0;
    opacity: 0;
}

.cw2-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-size: 11px;
     font-family: R-29LT-Bukra;
    color: #BBBBBB;
    margin-bottom: 15px;
    direction: ltr;
}
.cw2-days-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px 4px;
    direction: ltr;
}
.cw2-calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
      font-family: B-29LT-Bukra;
    color: #111;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.2s;
}
.cw2-calendar-day:hover:not(.cw2-empty) {
    background: #eee;
}
.cw2-calendar-day.cw2-empty {
    cursor: default;
}
.cw2-calendar-day.cw2-selected {
    background: #e3000f;
    color: #fff;
    box-shadow: 0 4px 10px #e3000f4d;
}

@media (max-width: 900px) {
    .cw2-container.expanded .cw2-news-pane {
        width: 340px;
    }
    .cw2-news-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 700px) {
    .cw2-container {
        flex-direction: column;
    }
    .cw2-news-pane {
        border-left: none;
        border-top: 1px solid #f0f0f0;
    }
    .cw2-container.expanded .cw2-news-pane {
        width: 100%;
        max-width: 340px;
    }
}

/* responsive */
@media (max-width: 1199px) {
  .editions-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media(max-width: 991px) {
  .world-row-top {
    flex-direction: column-reverse;
  }
  .world-card__img-wrap {
    width: 100%;
  }
  .world-row-bottom {
    flex-direction: column;
  }
  .world-card--half {
    flex: 0 0 100%;
    width: 100%;
  }
  .world-row-bottom .world-card--overlay {
    border-left: none;
    border-bottom: 1px solid #D9D9D9; 
  }
    .politics-grid {
    grid-template-columns: 1fr;
  }
  .politics-card__img {
    width: 220px;
    min-width: 220px;
  }
  .avatars-row {
    justify-content: start;
}

  .avatars-row {
    justify-content: start;
}
}
@media(max-width: 575px) {
  .world-card__content {
    padding: 20px;
  }
  .world-card__title {
    font-size: 14px;
  }
  .world-card__num {
    font-size: 45px;
  }
    .politics-card {
    flex-direction: column;
  }
  .politics-card__img {
    width: 100%;
    min-width: 100%;
  }
  .politics-card__num {
    font-size: 36px;
  }

    /* .editor-picks__grid {
    grid-template-columns: 1fr;
  } */
}
@media (max-width: 767px) {
  .showcase-title {
    font-size: 14px;
}
.showcase-badge {
  right: 10px;
    top: 10px;
    font-size: 11px;
}

  .swipe-overlay {
    display: block;
  }
  .video-popup__slide iframe {
    width: 100%;
    height: 100%;
    border-radius: 0;
  }
  .video-popup__next,
  .video-popup__prev {
    display: none !important;
  }
    .editions-grid {
    grid-template-columns: repeat(2, 1fr);
  }

.editions-btn-text {
    font-size: 13px;
}
.editions-btn-icon {
    width: 43px;
    height: 43px;
}
.latest-card .col-5 , .latest-card .col-7 , .latest-card .col-3 , .latest-card .col-9 {
  width: 100%;
}
    .politics-card {
        padding: 0;
    }
    .politics-card__body {
    padding: 10px;
}
.world-card__title {
        font-size: 13px;
    }
}

@media (max-width: 991px) {
  .news-showcase {
    flex-direction: column;
  }
  .news-showcase__main {
    width: 100%;
  }
  .news-showcase__thumbs {
    width: 100%;
    margin-top: 15px;
  }
  .showcase-thumbs-swiper {
    height: 380px; 
  }
  .thumb-item__content {
    justify-content: flex-start;
  }
}
