/* Home page styles */

.is-home #content{
  background: #f5f7fa;
  min-height: 100vh;
}

/* ===== HERO (banner) ===== */

.hp-hero{ padding: 10px 0 18px; }

.hp-heroCard{
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(15,23,42,.10);
  box-shadow: 0 22px 70px rgba(2,6,23,.12);
  padding: 26px;
  
  
  background:
    radial-gradient(1000px 520px at 18% 40%, #e43835, transparent 58%),
    radial-gradient(900px 420px at 70% 25%, rgba(255,255,255,.12), transparent 55%),
    linear-gradient(120deg,#0b1220 0%,#0b1220 100%);
  color: #fff;

  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr);
  gap: 22px;
  align-items: center;
}

@media (max-width: 980px){
  .hp-heroCard{ grid-template-columns: 1fr; }
}

.hp-heroKicker{
  font-weight: 800;
  font-size: 12px;
  opacity: .92;
  margin-bottom: 10px;
}

.hp-heroTitle{
  margin: 0 0 14px;
  font-size: clamp(30px, 4.2vw, 36px);
  letter-spacing: -.05em;
  line-height: 1.06;
  font-weight: 900;
}

.hp-heroActions{
  display:flex;
  flex-wrap:wrap;
  gap: 12px;
  margin: 0 0 16px;
}

.hp-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.14);
  transition: transform .12s ease, filter .12s ease;
}
.hp-btn:hover{ transform: translateY(-1px); filter: brightness(1.05); }
.hp-btnArrow{ font-weight: 900; opacity: .95; }

.hp-btnPrimary{
  background: rgba(239,68,68,.94);
  border-color: rgba(239,68,68,.12);
  color: #fff;
  box-shadow: 0 14px 30px rgba(239,68,68,.22);
}

.hp-btnGhost{
  background: rgba(255,255,255,.10);
  color: #fff;
  border-color: rgba(255,255,255,.16);
}

.hp-heroChecks{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.14);
  margin-top: 10px;
  max-width: 450px;
}

@media (max-width: 520px){
  .hp-heroChecks{ grid-template-columns: 1fr; }
}

.hp-check{
  position: relative;
  padding-left: 26px;
  font-weight: 700; 
  font-size: 12px;
  opacity: .92;
}

.hp-check::before{
  content: "✓";
  position:absolute;
  left: 0;
  top: -1px;
  width: 18px;
  height: 18px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.16);
  font-size: 12px;
}

/* ===== HERO right card ===== */

.hp-heroInfo{
  background: rgba(26,26,43,.45);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px;
  padding: 16px;
  box-shadow:
    0 18px 44px rgba(0,0,0,.18),
    inset 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter: blur(0px);
  height: 100%;
}

.hp-heroInfoTop{
  display:flex;
  align-items:center;
  gap: 14px;
  margin-bottom: 10px;
}

.hp-ratingBall{
  
  width: 40px;
  height: 35px;
  border-radius: 999px;
  background: #facc15;
  color: rgba(15,23,42,.92);
  display:grid;
  place-items:center;
  text-align:center;
  box-shadow: 0 14px 26px rgba(250,204,21,.18);
}

.hp-ratingNum{
  font-weight: 900;
  font-size: 10px;
  line-height: 1;
}

.hp-ratingLabel{
  font-weight: 900;
  font-size: 10px;
  opacity: .92;
  margin-top: -20px;
}

.hp-heroInfoTitle{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  width: 100%;
}

.hp-heroInfoH{
  font-weight: 900;
  font-size: 16px;
}

.hp-heroInfoTag{
  font-weight: 900;
  font-size: 11px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.12);
}

.hp-heroInfoRows{
  display:flex;
  flex-direction:column;
  gap: 12px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.12);
}

.hp-row{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 14px;
}

.hp-rowKey{
  font-weight: 800;
  font-size: 12px;
  opacity: .86;
}

.hp-rowVal{
  font-weight: 900;
  font-size: 12px;
  text-align:right;
}

.hp-heroInfoBottom{
  margin-top: 10px;
  padding-top: 10px;
  margin-bottom: 0px;
  border-top: 1px solid rgba(255,255,255,.12);
  font-weight: 900;
  font-size: 11px;
  opacity: .82;
}

/* ===== SECTIONS ===== */

.hp-section{ padding: 50px 0 0; }
.hp-sectionNews{ padding-bottom: 50px; }

.hp-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 14px;
  margin: 0 0 10px;      
}

@media (max-width: 768px){
  .hp-head{
    gap: 12px;
    font-size: small;
	display: flex;
	align-items: center;
}
}

.hp-h2{
  margin: 0;
  color: rgba(15,23,42,.92);
  font-size: 28px; 
  letter-spacing: -.02em;
  font-weight: 700;
}
  
@media (max-width: 768px){
  .hp-h2{
  font-size: x-large;
}
}
  


.hp-linkBtn{
  justify-content:center;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(15,23,42,.10);
  color: rgba(15,23,42,.84);
  font-weight: 700;
  text-decoration:none;
}
.hp-linkBtn:hover{ filter: brightness(1.02); }

/* ===== Quick Bonus ===== */

.hp-quickBonus{ padding-top: 14px; }

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

/* Quick Bonus autoplay carousel (no DOM rebuild).*/

.hp-qbGrid.is-qb-carousel{
  display: flex;
  gap: 35px;
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 12px;
  scrollbar-width: none;
}
.hp-qbGrid.is-qb-carousel::-webkit-scrollbar{ display:none; }

.hp-qbGrid.is-qb-carousel > *{
  scroll-snap-align: start;
  flex: 0 0 auto;
}

@media (min-width: 1101px){
  .hp-qbGrid.is-qb-carousel > *{ width: calc((100% - (35px * 3)) / 4); }
}

@media (max-width: 1100px){
  .hp-qbGrid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hp-qbGrid.is-qb-carousel > *{ width: calc((100% - 35px) / 2); }
}

@media (max-width: 620px){
  .hp-qbGrid{ grid-template-columns: 1fr; }
  .hp-qbGrid.is-qb-carousel > *{ width: 100%; }
}

.qb{
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px; 
  padding: 10px 16px;
  border-radius: 12px;
  background: rgba(0,0,0,.15); 
  border: 1px solid rgba(15,23,42,.10);
  box-shadow: 0 4px 10px rgba(23,2,2,.15);
  text-decoration: none;
  color: rgba(255,255,255,.92);
  overflow: hidden;
  position: relative;
  isolation: isolate;
}

/* Blurred logo background (brand palette) */

.qb::before{
  content:"";
  position:absolute;
  inset:-30%;
  background-image: var(--qb-logo);
  background-size: cover;
  background-position: center;
  filter: blur(28px);
  transform: scale(1.7);
  /* opacity: .28; */
  z-index: 0;
}

.qb::after{
  content:"";
  position:absolute;
  inset:0;
  z-index: 0;
}

.qb > *{ position: relative; z-index: 1; }

.qb:hover{ filter: brightness(1.02); }

.qb-bonus{
  font-weight: 900;
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 60%;
  max-width: 68%;
}

.qb-sep{ opacity: .35; font-weight: 900; }

.qb-brand{
  font-weight: 900;
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1 1 auto;
  min-width: 0;
}

.qb-tc{
  flex: 0 0 auto;
  font-weight: 900;
  font-size: 11px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(15,23,42,.06);
  border: 1px solid rgba(15,23,42,.08);
  color: rgba(15,23,42,.70);
}

/* ===== Tabs slider (no reload) ===== */

.hp-tabsWrap{
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 999px;
  padding: 6px;
  box-shadow: 0 12px 30px rgba(2,6,23,.06);
}

.hp-tabs{
  display:flex;
  gap: 6px;
  overflow:auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.hp-tabs::-webkit-scrollbar{ display:none; }

.hp-tab{
  appearance:none;
  border: 0;
  cursor:pointer;
  padding: 8px 14px;
  border-radius: 999px;
  background: transparent;
  font-weight: 900;
  font-size: 12px;
  color: rgba(15,23,42,.72);
  white-space: nowrap;
}

@media (max-width: 768px){
  .hp-tab{
    font-size: 10.5px;
  }
}

.hp-tab.is-active{
  background: rgba(15,23,42,.92);
  color: #fff;
  box-shadow: 0 10px 22px rgba(15,23,42,.18);
}

/* ===== Grids ===== */

.hp-grid{ display:grid; gap: 24px; }

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

.hp-gridNews{ grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px;}
@media (max-width: 1100px){
  .hp-gridNews{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px){
  .hp-gridNews{ grid-template-columns: 1fr; }
}

.hp-panel{ animation: hpFade .16s ease; }
@keyframes hpFade{ from{ opacity:.0; transform: translateY(2px);} to{ opacity:1; transform: translateY(0);} }

/* ===== Casino cards ===== */
.cc{
  background: rgba(255,255,255,.96);
  border-radius: 14px;
  overflow:hidden;
  box-shadow: 0 9px 8px rgba(23,2,2,.15);
}

.cc-thumb{
  position:relative;
  display:block;
  aspect-ratio: 16 / 9;
  background: rgba(15,23,42,.06);
  overflow:hidden;
}
.cc-thumb img{ width:100%; height:100%; object-fit:cover; }

.cc-noimg{
  position:absolute;
  inset:0;
  background:
    radial-gradient(500px 240px at 20% 10%, rgba(239,68,68,.18), transparent 55%),
    radial-gradient(500px 240px at 80% 10%, rgba(251,191,36,.16), transparent 55%),
    linear-gradient(180deg, rgba(15,23,42,.06), rgba(15,23,42,.02));
}

.cc-dot{
  position:absolute;
  right: 12px;
  bottom: 5px;
  color:#d7d7d7;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight: bold;
  font-size: 12px;
}

/* Badge system  */

.cc-badge{
  position:absolute;
  left: 10px;
  top: 10px;
  z-index: 2;
  font-weight: 900;
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* Diagonal TOP ribbon */

.cc-badge--top{
  left: -40px;
  top: 10px;
  width: 140px;
  text-align:center;
  padding: 6px 0;
  color: #fff;
  background: linear-gradient(180deg, rgba(239,68,68,.96), rgba(225,29,72,.96));
  transform: rotate(-40deg);
  box-shadow: 0 10px 18px rgba(239,68,68,.25);
  font-size: 10px;
}

/* Founded badge */

.cc-badge--founded{
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(15,23,42,.70);
  color:#fff;
  border: 1px solid rgba(255,255,255,.16);
}

/* New Casinos variant tweaks */

.cc--newcasinos .cc-badge--founded{
  left: auto;
  right: 10px;
}

/* Editor's choice */

.cc-badge--choice{
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgb(255 205 43);
  color:#111827;
  border: 1px solid rgba(255,255,255,.40);
}

.cc-body{
  padding: 6px 10px 5px;
  display:flex;
  flex-direction:column;
  gap: 10px;
  height: auto;
}

.cc-topRow{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 12px;
}

.cc-title{
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  font-size: 16px; 
  line-height: 1.15;
  letter-spacing: -.01em;
  color: rgba(15,23,42,.92);
}
.cc-title a{ color: inherit; text-decoration:none; }
.cc-title a:hover{ text-decoration: underline; }

.cc-right{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap: 6px;
  min-width: 30px;
}

.cc-stars{ display:flex; gap: 1px; line-height: 1; margin-top: 2px; }
.cc-star{ font-size: 12px; }
.cc-star.on{ color: rgba(245,158,11,.95); }
.cc-star.off{ color: rgba(148,163,184,.95); }

.cc-metric{
  font-weight: 900;
  font-size: 12px;
  color: rgba(34,197,94,.98);
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(34,197,94,.12);
  border: 1px solid rgba(34,197,94,.18);
}

.cc-tc{
  font-weight: 800;
  font-size: 11px;
  color: rgba(107,114,128,.95);
}
.cc-tc a{ color: inherit; text-decoration:none; }
.cc-tc a:hover{ text-decoration: underline; }

.cc-bonus{
  font-weight: 400;
  font-size: 12px;
  margin-top: 3px;
  color: rgba(15,23,42,.78);
}

/* CTA */

.cc-actions{ margin-top: auto; }
.cc-try{
  display:flex;
  width:100%;
  align-items:center;
  justify-content:center;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 15px;
  text-transform: uppercase;
  background: linear-gradient(248deg, rgba(239,68,68,.96), rgba(225,29,72,.96));
  color: #fff;
  text-decoration:none;
  font-weight: 900;
  border: 1px solid rgba(239,68,68,.12);
  box-shadow: 0 8px 10px rgba(239,68,68,.22);
}
.cc-try:hover{ filter: brightness(1.13); }

/* ===== Card variants ===== */

/* Top */

.cc--top{ }

/* Trending */

.cc--trending{
  border: 2px solid rgba(65,155,50,.75);
}
.cc--trending .cc-try{
  background: linear-gradient(180deg, rgba(47,164,83,.96), rgba(35,181,76,.96));
  border: 1px solid rgba(34,197,94,.25);
  box-shadow: 0 14px 28px rgba(34,197,94,.22);
}
.cc--trending .cc-metric{ color: rgba(34,197,94,.98); }

/* New reviews */

.cc--newreviews{
  box-shadow: inset 0px 0px 20px 0px rgba(213,133,20,.48);
}
.cc--newreviews .cc-try{
  background: linear-gradient(180deg, rgba(239,68,68,.96), rgb(225,125,29));
  border: 1px solid rgba(239,68,68,.12);
  box-shadow: 0 14px 28px rgba(225,125,29,.22);
}

/* New casinos */

.cc--newcasinos{ }

/* Editor's choice */

.cc--editorschoice{
  background: rgba(255,255,255,.98);
  border: 1px solid rgba(234,179,8,.45);
  box-shadow: 0 12px 28px rgba(234,179,8,.18);
}
.cc--editorschoice .cc-try{
  background: radial-gradient(#f7e397, #ffc934);
  color: #111827;
  border: 1px solid rgba(234,179,8,.30);
  box-shadow: 0 14px 28px rgba(234,179,8,.22);
}

/* Crypto */

.cc--crypto{
  background: linear-gradient(180deg, rgba(3,30,44,.96), rgba(1,22,33,.96));
  border: 1px solid rgba(34,197,94,.22);
  box-shadow: 0 12px 28px rgba(2,32,48,.28);
}
.cc--crypto .cc-title,
.cc--crypto .cc-bonus,
.cc--crypto .cc-read,
.cc--crypto .cc-tc{ color: rgba(255,255,255,.86); }
.cc--crypto .cc-star.off{ color: rgba(203,213,225,.65); }
.cc--crypto .cc-try{
  background: linear-gradient(180deg, rgba(16,185,129,.96), rgba(5,150,105,.96));
  border: 1px solid rgba(16,185,129,.22);
  box-shadow: 0 14px 28px rgba(16,185,129,.18);
}

/* ===== Section wrappers ===== */

.hp-sectionTop{ }
.hp-sectionTrending{ }

.cc-foot{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
}

/* Mini actions row (Read / Compare / Save) */
.cc-foot--mini{
  justify-content: space-between;
  gap: 0;
  /* No separator line under CTA (requested) */
  padding-top: 0;
  margin-top: -10px;
  border-top: 0;
}
.cc-mini{
  flex: 1;
  text-align: center;
  font-weight: bold;
  font-size: 12px;
  color: rgba(156,161,173,.95);
  text-decoration: none;
  background: transparent;
  border: 0;
  padding: 6px 6px;
  cursor: pointer;
}
.cc-mini:hover{ color: rgba(30,41,59,.95); }
.cc-mini--btn{ -webkit-appearance:none; appearance:none; }
.cc-mini--compare.is-on{ color: rgba(30,41,59,.95); }
.cc-mini--save.is-on{ color: rgba(30,41,59,.95); }
/* Legacy: keep for older templates */
.cc-read{
  font-weight: 900;
  font-size: 12px;
  color: rgba(107,114,128,.95);
  text-decoration:none;
  display:flex;
  align-items:center;
  justify-content:flex-start;
}
.cc-read:hover{ text-decoration: underline; }

.cc-compare{
  border: 1px solid rgba(148,163,184,.55);
  background: rgba(255,255,255,.85);
  color: rgba(30,41,59,.95);
  font-weight: 900;
  font-size: 12px;
  line-height: 1;
  padding: 8px 10px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
}
.cc-compare:hover{ background: rgba(255,255,255,.95); }
.cc-compare.is-on{ border-color: rgba(34,197,94,.55); }

/* ===== News cards ===== */

.hn{
  backdrop-filter: blur(2px);
  display: flex;
  background: rgba(255,255,255,.0);
  border-radius: 14px;
  border: 1px solid #c4c4c4;
  padding: 7px;
  overflow:hidden;
  box-shadow: 0 9px 8px rgba(23,2,2,.15);
}

.hn-thumb{
  position:relative;
  display:block;
  border-radius: 10px;
  width: 90%;
  /*aspect-ratio: 16 / 10;*/
  overflow:hidden;
}
.hn-thumb img{ width:100%; height:100%; object-fit:cover; object-position: 10% 40%; }

.hn-date{
  position:absolute;
  right: 5px;
  top: 5px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(15,23,42,.70);
  color:#fff;
  font-weight: bold;
  font-size: 10px;
}

.hn-body{ width: 125%; padding: 4px 4px 4px 12px; display:flex; flex-direction:column; min-height:100%; }
.hn-meta{
  display:flex;
  gap: 8px;
  margin: 0 0 5px;
  font-size: 8px;
  line-height: 1.1;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.hn-topic{
  color: rgba(15,23,42,.92);
}
.hn-pubdate{
  color: rgba(107,114,128,.95);
  white-space: nowrap;
  font-size: 11px;
}
.hn-title{
  margin: 0 0 6px;
  font-size: 14px;
  color: rgba(15,23,42,.92);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hn-title a{ color: inherit; text-decoration:none; }
.hn-title a:hover{ text-decoration: underline; }

.hn-excerpt{
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(107,114,128,.95);
  display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hn-foot{
  margin-top: auto;
  padding-top: 10px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  max-width:97%
}
.hn-read{
  font-size: 11px;
  color: rgba(107,114,128,.95);
}
.hn-arrow{
  font-weight: 900;
  color: rgba(15,23,42,.55);
}

.hp-empty{
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 14px;
  padding: 14px;
  color: rgba(107,114,128,.95);
  font-weight: 800;
}


.hp-head
	@media (max-width: 620px) {
    display: flex;
    gap: 14px;
    margin: 0 0 14px;
    flex-direction: column;
}

/* Hero tool promo */

.hp-heroBullets{
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 5px;
}
.hp-heroBullets li{
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: rgba(255,255,255,.90);
}
.hp-heroBullets li:before{
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(34,197,94,.9);
}
.hp-heroInfoCta{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  min-width: 90px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(237,32,43,.52);
  color: rgba(255,255,255,.95);
  text-decoration: none;
  transition: transform .12s ease, background .12s ease;
}
.hp-heroInfoCta:hover{
  transform: translateY(-1px);
  background: rgba(237,32,43,.92)
}




/* Thumb background */

.cc--top .cc-thumb,
.cc--trending .cc-thumb,
.cc--newreviews .cc-thumb,
.cc--newcasinos .cc-thumb {
  background: rgba(0,0,0,.99);
}

.cc--editorschoice .cc-thumb {
  background: #ffffff;
}

.cc--crypto .cc-thumb {
  /*background: linear-gradient(180deg, rgba(6, 32, 41, .96), rgba(3, 19, 26, .96));*/
}


/* Mobile: horizontal casino cards (list style) */

@media (max-width: 620px){
  .cc{
    display:flex;
    flex-direction:row;
    align-items:stretch;
    border-radius: 18px;
  }
  .cc-thumb{
    flex: 0 0 125px;
    width: 140px;
    aspect-ratio: auto;
    height: auto;
    margin: 10px;
    border-radius: 10px;
  }
  .cc-thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
  }
  .cc-body{
    flex:1 1 auto;
    min-height: 0;
    padding: 12px 12px 10px;
  }
  .cc-topRow{
    gap: 10px;
  }
  .cc-title{
    font-size: 16px;
  }
  .cc-foot{
    margin-top: -4px;
  }
}

/* Mobile: horizontal news cards (list style) */

@media (max-width: 620px){
  .hn{
    display:flex;
    flex-direction:row;
    align-items:stretch;
  }
  .hn-thumb{
    flex: 0 0 140px;
    width: 140px;
    aspect-ratio: auto;
    height: auto;
  }
  .hn-thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
  }
  .hn-body{
    flex: 1 1 auto;
    padding: 12px 12px 10px;
    width: auto;
    min-height: 100%;
  }
  .hn-title{
    font-size: 15px;
  }
  .hn-excerpt{
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .hn-foot{
    margin-top: auto;
    padding-top: 8px;
  }
}



/* Hero Slider (right side) */
.hp-heroSlider {
  position: relative;
  width: 100%;
  height: auto;
  /* Ensure a single, correct rounding boundary for the whole right card */
  border-radius: 18px;
}

.hp-heroSliderViewport {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;         /* clip background images */
  border-radius: 18px;      /* same as .hp-heroInfo */
}

.hp-heroSliderTrack {
  position: relative;
  width: 100%;
  height: auto;
  /* Overlap slides without collapsing height (unlike position:absolute) */
  display: grid;
}

/* Each slide carries the background image */
.hp-heroSlide {
  position: relative;
  /* Stack all slides in the same grid cell for smooth transitions */
  grid-area: 1 / 1;
  display: block;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 18px;      /* keep clipping correct even if viewport styles change */
  overflow: hidden;

  /* Smooth enter/exit */
  opacity: 0;
  transform: translateX(10px);
  transition: opacity 320ms ease, transform 320ms ease;
  pointer-events: none;
}

.hp-heroSlide.is-active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
  .hp-heroSlide {
    transition: none;
    transform: none;
  }
}

.hp-heroSlideText {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.5;
}

/* Right arrow only - no circle */
.hp-heroNav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  cursor: pointer;
  z-index: 3;
  padding: 0;
}

.hp-heroNext { right: 12px; }

/* Arrow glyph */
.hp-heroNext::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid rgba(255,255,255,0.92);
  border-bottom: 2px solid rgba(255,255,255,0.92);
  transform: translate(-50%, -50%) rotate(-45deg);
}
.hp-heroDots {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 7px;
  display: flex;
  gap: 8px;
  justify-content: center;
  z-index: 3;
}

.hp-heroDot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 0;
  background: rgba(255,255,255,0.25);
  cursor: pointer;
}

.hp-heroDot.is-active {
  background: rgba(255,255,255,0.65);
}

@media (max-width: 768px) {
  .hp-heroNav {
    width: 32px;
    height: 32px;
  }
  .hp-heroNext { right: 8px; }
}


.hcard-foot{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
}
.hcard-pubdate{
  color: rgba(107,114,128,.95);
  white-space: nowrap;
  font-weight: 700;
  font-size: 11px;
}
.hcard-meta--news{
  display:flex;
  align-items:center;
  gap: 8px;
  flex-wrap: wrap;
}

/* ===== Homepage overview ===== */

.hp-sectionOverview{
  padding-top: 42px;
}

.hp-headOverview{
  align-items: center;
}

.hp-overviewSub{
  color: rgba(148,153,162,.95);
  font-size: 14px;
  line-height: 1.5;
  max-width: 760px;
  font-style: italic;
}

.hp-overviewMeta{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.78);
  color: rgba(15,23,42,.78);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.hp-overviewGrid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.hp-overviewCard{
  position: relative;
  padding: 22px 18px 14px;
  border-radius: 18px;
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(15,23,42,.08);
  box-shadow: 0 14px 34px rgba(15,23,42,.07);
  overflow: hidden;
}

.hp-overviewCard::before{
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 7px;
  background: rgba(148,163,184,.55);
}

.hp-overviewCard--published::before{ background: linear-gradient(90deg,#1d4ed8,#60a5fa); }
.hp-overviewCard--review::before{ background: linear-gradient(90deg,#7c3aed,#c084fc); }
.hp-overviewCard--unsafe::before{ background: linear-gradient(90deg,#dc2626,#f87171); }
.hp-overviewCard--closed::before{ background: linear-gradient(90deg,#334155,#94a3b8); }

.hp-overviewTop{
  display: flex;
  align-items: center;
  gap: 12px;
}

.hp-overviewIcon{
  width: 42px;
  height: 42px;
  border-radius: 14px;
  flex: 0 0 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(15,23,42,.92);
  background: rgba(15,23,42,.05);
  border: 1px solid rgba(15,23,42,.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.4);
}

.hp-overviewCard--published .hp-overviewIcon{
  color: #1d4ed8;
  background: rgba(37,99,235,.08);
  border-color: rgba(37,99,235,.12);
}
.hp-overviewCard--review .hp-overviewIcon{
  color: #7c3aed;
  background: rgba(124,58,237,.08);
  border-color: rgba(124,58,237,.12);
}
.hp-overviewCard--unsafe .hp-overviewIcon{
  color: #dc2626;
  background: rgba(220,38,38,.08);
  border-color: rgba(220,38,38,.12);
}
.hp-overviewCard--closed .hp-overviewIcon{
  color: #475569;
  background: rgba(71,85,105,.08);
  border-color: rgba(71,85,105,.12);
}

.hp-overviewIcon svg{
  width: 22px;
  height: 22px;
}

.hp-overviewValue{
  color: rgba(42,50,70,.96);
  font-size: 36px;
  line-height: 1;
  letter-spacing: -.04em;
  font-weight: 900;
}

.hp-overviewLabel{
  margin-top: 10px;
  color: rgba(15,23,42,.92);
  font-size: 16px;
  font-weight: 800;
}

.hp-overviewHint{
  margin-top: 6px;
  color: rgba(107,114,128,.94);
  font-size: 13px;
  line-height: 1.45;
  font-style: italic;
}

@media (max-width: 1180px){
  .hp-overviewGrid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px){
  .hp-overviewGrid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hp-overviewMeta{
    white-space: normal;
  }
}




/* Overview card background graphics */
.hp-overviewCard{
  isolation: isolate;
}

.hp-overviewCard > *{
  position: relative;
  z-index: 2;
}

.hp-overviewCard::after{
  content: '';
  position: absolute;
  inset: 16px -5px 10px auto;
  width: 44%;
  background-repeat: no-repeat;
  background-position: right center;
  background-size: contain;
  opacity: .72;
  pointer-events: none;
  z-index: 1;
}

.hp-overviewCard--published::after{
  background-image: url('/wp-content/uploads/2026/08/home-overview-icon-1.webp');
}

.hp-overviewCard--review::after{
  background-image: url('/wp-content/uploads/2026/08/home-overview-icon-2.webp');
}

.hp-overviewCard--unsafe::after{
  background-image: url('/wp-content/uploads/2026/08/home-overview-icon-3.webp');
}

.hp-overviewCard--closed::after{
  background-image: url('/wp-content/uploads/2026/08/home-overview-icon-4.webp');
}

@media (max-width: 1180px){
  .hp-overviewCard::after{
    width: 36%;
    opacity: .56;
  }
}

@media (max-width: 520px){
  .hp-overviewCard::after{
    width: 30%;
    inset: 18px 10px 12px auto;
    opacity: .5;
  }
}

/* ===== Top Casinos: desktop card refinement ===== */
.cc-thumbStars{
  display: none;
}

@media (min-width: 1101px){
  .hp-gridCasinos--top{
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .cc--top .cc-thumbStars{
    position: absolute;
    left: 12px;
    bottom: 7px;
    z-index: 3;
    display: flex;
    gap: 1px;
    line-height: 1;
  }

  .cc--top .cc-thumbStars .cc-star{
    font-size: 11px;
  }

  .cc--top .cc-dot{
    right: 10px;
    bottom: 7px;
    font-size: 10px;
    font-weight: 700;
  }

  /* Stars move to the black image area; T&C disappears on desktop. */
  .cc--top .cc-right{
    display: none;
  }

  .cc--top .cc-topRow{
    display: block;
  }

}

/* ===== Five-column casino cards: desktop-only expansion ===== */
.cc-dot--desktopOnly{
  display: none;
}

@media (min-width: 1101px){
  /* Homepage Trending: 10 cards, two rows of five. */
  .hp-gridCasinos--trending{
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  /* Main /casinos/ hub: every casino-card section uses five columns. */
  .casinos-hub-grid{
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  /* Same desktop card treatment as Top Casinos: stars on image, smaller score. */
  .hp-sectionTrending .cc-thumbStars,
  .casinos-hub-grid .cc-thumbStars{
    position: absolute;
    left: 12px;
    bottom: 7px;
    z-index: 3;
    display: flex;
    gap: 1px;
    line-height: 1;
  }

  .hp-sectionTrending .cc-thumbStars .cc-star,
  .casinos-hub-grid .cc-thumbStars .cc-star{
    font-size: 11px;
  }

  .hp-sectionTrending .cc-dot,
  .casinos-hub-grid .cc-dot{
    right: 10px;
    bottom: 7px;
    font-size: 10px;
    font-weight: 700;
  }

  .casinos-hub-grid .cc-dot--desktopOnly{
    display: flex;
  }

  /* Desktop only: remove the old star/T&C column from the white card body. */
  .hp-sectionTrending .cc-right,
  .casinos-hub-grid .cc-right{
    display: none;
  }

  .hp-sectionTrending .cc-topRow,
  .casinos-hub-grid .cc-topRow{
    display: block;
  }
}

/* Keep the pre-existing mobile/tablet card counts unchanged. */
@media (max-width: 1100px){
  .hp-gridCasinos--top > .cc:nth-child(n+5),
  .casinos-hub-grid--5 > .cc:nth-child(n+5){
    display: none;
  }

  .hp-gridCasinos--trending > .cc:nth-child(n+9),
  .casinos-hub-grid--10 > .cc:nth-child(n+9){
    display: none;
  }
}


/* v1.0.58 — mobile homepage hero: slider-only, flush under header. */
@media (max-width: 768px) {
  /* Keep the desktop hero untouched; mobile shows only the right slider. */
  .hp-hero {
    padding-top: 0;
  }

  .hp-heroCard {
    display: block;
    width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
    padding: 0;
    border-radius: 0;
    border: 0;
    box-shadow: none;
    overflow: hidden;
  }

  .hp-heroLeft {
    display: none;
  }

  .hp-heroRight,
  .hp-heroSlider,
  .hp-heroSliderViewport,
  .hp-heroSliderTrack,
  .hp-heroSlide {
    width: 100%;
    border-radius: 0;
  }

  .hp-heroSlider,
  .hp-heroSliderViewport,
  .hp-heroSlide,
  .hp-heroInfo {
    border-radius: 0;
  }

  /* Mobile sizing tuned for the compact hero slider. */
  .hp-heroInfo {
    padding: 22px;
  }

  .hp-ratingBall {
    width: 35px;
    height: 30px;
  }

  .hp-heroInfoH {
    font-size: 14px;
  }

  .hp-heroInfoCta {
    padding: 5px 12px;
  }

  .hp-heroBullets {
    gap: 3px;
  }

  .hp-heroInfoBottom {
    margin-top: 5px;
    padding-top: 5px;
    margin-bottom: 4px;
    font-size: 12px;
  }
}
