/* Alsuqoor Club Content — all rules are isolated below the sqcc prefix. */
.sqcc-main {
  --sqcc-red: var(--sq-red, #e1262c);
  --sqcc-red-dark: var(--sq-red-dark, #a80f17);
  --sqcc-black: var(--sq-black, #050607);
  --sqcc-black-2: var(--sq-black-2, #0a0d10);
  --sqcc-offwhite: var(--sq-offwhite, #f5f4f1);
  --sqcc-shadow: var(--sq-shadow, 0 24px 70px rgba(0, 0, 0, .22));
  min-height: 60vh;
  color: #181b20;
  background: var(--sqcc-offwhite);
  font-family: var(--sq-font-ar, "Cairo", Arial, sans-serif);
  overflow: hidden;
}

.sqcc-container {
  width: min(100% - 48px, 1220px);
  margin-inline: auto;
}

.sqcc-page-hero,
.sqcc-single-news__header {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(115deg, #050607 0%, #0b0e11 68%, #2b090c 100%);
}

.sqcc-page-hero::before,
.sqcc-single-news__header::before {
  content: "";
  position: absolute;
  top: -20%;
  left: 10%;
  width: 110px;
  height: 140%;
  background: linear-gradient(180deg, rgba(225, 38, 44, .62), rgba(120, 7, 12, .2));
  transform: skewX(-22deg);
}

.sqcc-page-hero__content,
.sqcc-single-news__header-inner {
  position: relative;
  z-index: 1;
  padding-block: 108px 76px;
}

.sqcc-kicker {
  margin: 0 0 12px;
  color: var(--sqcc-red);
  font-size: 12px;
  font-weight: 900;
}

.sqcc-kicker::before {
  content: "";
  display: inline-block;
  width: 34px;
  height: 2px;
  margin-left: 12px;
  vertical-align: middle;
  background: var(--sqcc-red);
}

.sqcc-page-title,
.sqcc-single-news__title {
  max-width: 980px;
  margin: 0;
  color: #fff;
  font-size: clamp(46px, 6.2vw, 86px);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -1.8px;
}

.sqcc-page-lead {
  max-width: 720px;
  margin: 18px 0 0;
  color: #c1c6cc;
  font-size: 18px;
}

.sqcc-listing-section {
  padding: 88px 0 100px;
}

.sqcc-news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  align-items: stretch;
}

.sqcc-news-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid #e1ded8;
  border-top: 4px solid var(--sqcc-red);
  background: #fff;
  box-shadow: 0 14px 35px rgba(0, 0, 0, .08);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.sqcc-news-card:hover {
  border-color: var(--sqcc-red);
  box-shadow: 0 22px 50px rgba(0, 0, 0, .14);
  transform: translateY(-6px);
}

.sqcc-news-card__media {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--sqcc-black-2);
}

.sqcc-news-card__image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .4s ease;
}

.sqcc-news-card:hover .sqcc-news-card__image {
  transform: scale(1.045);
}

.sqcc-news-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 25px 24px 27px;
}

.sqcc-news-card__date {
  color: #7b8087;
  font-size: 12px;
  font-weight: 700;
}

.sqcc-news-card__title {
  margin: 10px 0 12px;
  color: #171a1f;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.55;
}

.sqcc-news-card__title-link {
  color: inherit;
  text-decoration: none;
}

.sqcc-news-card__excerpt {
  margin: 0 0 22px;
  color: #60656c;
  font-size: 14px;
  line-height: 1.9;
}

.sqcc-news-card__more {
  width: max-content;
  margin-top: auto;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--sqcc-red);
  color: var(--sqcc-red);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.sqcc-pagination {
  margin-top: 52px;
}

.sqcc-pagination .page-numbers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sqcc-pagination .page-numbers .page-numbers {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 13px;
  border: 1px solid #d8d4cd;
  color: #25282d;
  background: #fff;
  font-weight: 800;
  text-decoration: none;
}

.sqcc-pagination .page-numbers .current,
.sqcc-pagination .page-numbers .page-numbers:hover {
  border-color: var(--sqcc-red);
  color: #fff;
  background: var(--sqcc-red);
}

.sqcc-empty-state {
  padding: 70px 30px;
  border: 1px dashed #c9c4bb;
  background: #fff;
  text-align: center;
}

.sqcc-empty-state__title {
  margin: 0 0 8px;
  color: #171a1f;
  font-size: 28px;
  font-weight: 900;
}

.sqcc-empty-state__text {
  margin: 0;
  color: #6c7178;
}

.sqcc-single-news__header {
  min-height: 470px;
}

.sqcc-single-news__title {
  font-size: clamp(40px, 5.3vw, 72px);
}

.sqcc-single-news__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 22px;
  color: #c1c6cc;
  font-size: 13px;
}

.sqcc-single-news__body {
  max-width: 980px;
  padding-block: 72px 96px;
}

.sqcc-single-news__featured {
  margin: 0 0 42px;
  overflow: hidden;
  border-bottom: 5px solid var(--sqcc-red);
  background: var(--sqcc-black-2);
  box-shadow: var(--sqcc-shadow);
}

.sqcc-single-news__image {
  width: 100%;
  max-height: 650px;
  display: block;
  object-fit: cover;
}

.sqcc-entry-content {
  color: #373b41;
  font-size: 17px;
  line-height: 2;
  overflow-wrap: anywhere;
}

.sqcc-entry-content > p,
.sqcc-entry-content > ul,
.sqcc-entry-content > ol,
.sqcc-entry-content > blockquote,
.sqcc-entry-content > .wp-block-group,
.sqcc-entry-content > .wp-block-columns {
  margin-block: 0 24px;
}

.sqcc-entry-content > .wp-block-heading,
.sqcc-section-title {
  margin: 50px 0 20px;
  color: #171a1f;
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 900;
  line-height: 1.35;
}

.sqcc-entry-content > .wp-block-heading:first-child {
  margin-top: 0;
}

.sqcc-entry-content .wp-block-image,
.sqcc-entry-content .wp-block-gallery {
  max-width: 100%;
}

.sqcc-entry-content .wp-block-image img {
  height: auto;
  max-width: 100%;
}

.sqcc-entry-content a {
  color: var(--sqcc-red-dark);
}

.sqcc-entry-content blockquote {
  padding: 20px 24px;
  border-right: 4px solid var(--sqcc-red);
  background: #fff;
}

.sqcc-entry-pages {
  margin-top: 35px;
}

.sqcc-back-link,
.sqcc-facebook-link {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 46px;
  padding: 12px 26px;
  color: #fff;
  background: var(--sqcc-red);
  font-weight: 900;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease;
}

.sqcc-back-link:hover,
.sqcc-facebook-link:hover {
  color: #fff;
  background: var(--sqcc-red-dark);
  transform: translateY(-2px);
}

.sqcc-academy-hero {
  position: relative;
  min-height: 570px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background-position: center;
  background-size: cover;
}

.sqcc-academy-hero::after {
  content: "";
  position: absolute;
  top: -10%;
  left: 9%;
  width: 115px;
  height: 120%;
  background: rgba(225, 38, 44, .34);
  transform: skewX(-20deg);
}

.sqcc-academy-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, .48), rgba(0, 0, 0, .78));
}

.sqcc-academy-hero__content {
  position: relative;
  z-index: 2;
  padding-block: 120px 92px;
}

.sqcc-academy-section {
  padding: 88px 0 100px;
  background: var(--sqcc-offwhite);
}

.sqcc-academy-content {
  max-width: 1050px;
}

.sqcc-academy-gallery {
  margin-top: 30px;
  gap: 12px !important;
}

.sqcc-academy-gallery .wp-block-image {
  min-height: 250px;
  margin: 0 !important;
  overflow: hidden;
  background: #15191d;
}

.sqcc-academy-gallery .wp-block-image img {
  width: 100% !important;
  height: 100% !important;
  min-height: 250px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .4s ease;
}

.sqcc-academy-gallery .wp-block-image:hover img {
  transform: scale(1.045);
}

.sqcc-academy-actions {
  margin-top: 46px;
}

.sqcc-facebook-button .wp-block-button__link {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  padding: 13px 28px;
  border-radius: 0;
  color: #fff;
  background: var(--sqcc-red);
  font-weight: 900;
}

.sqcc-facebook-button .wp-block-button__link:hover {
  color: #fff;
  background: var(--sqcc-red-dark);
}

.sqcc-fallback-copy {
  max-width: 820px;
  color: #575c63;
}

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

@media (max-width: 760px) {
  .sqcc-container {
    width: min(100% - 28px, 1220px);
  }

  .sqcc-page-hero,
  .sqcc-single-news__header {
    min-height: 360px;
  }

  .sqcc-page-hero__content,
  .sqcc-single-news__header-inner {
    padding-block: 85px 60px;
  }

  .sqcc-page-title,
  .sqcc-single-news__title {
    font-size: clamp(38px, 11vw, 56px);
    letter-spacing: -1px;
  }

  .sqcc-page-lead {
    font-size: 15px;
  }

  .sqcc-listing-section,
  .sqcc-academy-section {
    padding-block: 68px 78px;
  }

  .sqcc-single-news__body {
    padding-block: 55px 75px;
  }

  .sqcc-academy-hero {
    min-height: 480px;
  }

  .sqcc-academy-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 620px) {
  .sqcc-news-grid {
    grid-template-columns: 1fr;
  }

  .sqcc-news-card__title {
    font-size: 20px;
  }

  .sqcc-entry-content {
    font-size: 16px;
  }

  .sqcc-academy-gallery {
    grid-template-columns: 1fr !important;
  }

  .sqcc-academy-gallery .wp-block-image,
  .sqcc-academy-gallery .wp-block-image img {
    min-height: 270px;
  }

  .sqcc-facebook-button,
  .sqcc-facebook-button .wp-block-button__link,
  .sqcc-facebook-link,
  .sqcc-back-link {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sqcc-news-card,
  .sqcc-news-card__image,
  .sqcc-academy-gallery .wp-block-image img,
  .sqcc-back-link,
  .sqcc-facebook-link {
    transition: none;
  }
}
