/* Casino page extensions — veronikini-veceri.si
   Keep site template styles; only add new block helpers. */

html {
  scroll-padding-top: 8rem;
}

.casino-review[id],
.casino-section[id],
.content .container > h2[id],
.content .container > section[id],
#faq {
  scroll-margin-top: 8rem;
}

/* Author plaque: full container width (override template 90%/800px) */
.content .container > a.author-box,
.content a.author-box,
a.author-box {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  flex-direction: row !important;
  gap: 2rem;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 2rem 0 2.4rem !important;
  padding: 2rem 2.4rem !important;
  background-color: #f9f9f9 !important;
  border: 1px solid #ddd !important;
  border-radius: 0.8rem !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
  text-decoration: none !important;
  color: inherit !important;
}

.content a.author-box .author-box__img,
a.author-box .author-box__img {
  flex: 0 0 11rem !important;
  width: 11rem !important;
  height: 11rem !important;
  border-radius: 50%;
  overflow: hidden;
  background: #ece8e3;
}

.content a.author-box .author-box__img img,
.content a.author-box img,
a.author-box img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  border-radius: 50% !important;
  object-fit: cover !important;
}

.content a.author-box .author-box__content,
a.author-box .author-box__content {
  flex: 1 1 auto !important;
  width: 100% !important;
  min-width: 0 !important;
  text-align: left !important;
}

.content a.author-box .author-box__name,
a.author-box .author-box__name {
  margin: 0 0 0.6rem !important;
  color: #333 !important;
  font-size: 2.2rem !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
}

.content a.author-box .author-box__role,
.content a.author-box .author-box__date,
a.author-box .author-box__role,
a.author-box .author-box__date {
  margin: 0 0 0.4rem !important;
  color: #666 !important;
  font-size: 1.6rem !important;
}

.content a.author-box .author-box__bio,
a.author-box .author-box__bio {
  margin: 1rem 0 0 !important;
  color: #555 !important;
  font-size: 1.6rem !important;
  line-height: 1.55 !important;
  max-width: none !important;
  width: 100% !important;
}

/* Header logo: restore template size (20rem × 6rem), show icon clearly */
.header .logo {
  width: 20rem;
  height: 6rem;
  max-width: none;
}

.header .logo__img {
  width: auto;
  height: 5.2rem;
  max-width: 100%;
  max-height: 5.2rem;
  object-fit: contain;
}

/* Do NOT override .intro-home__list — template styles (white pills, #484040 text) */

.casino-table-wrap {
  width: 100%;
  margin: 1.6rem 0 2.4rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.casino-comparison {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.5rem;
  line-height: 1.4;
  background: #fff;
}

.casino-comparison th,
.casino-comparison td {
  padding: 1rem 1.2rem;
  border: 1px solid #ddd;
  text-align: left;
  vertical-align: middle;
}

.casino-comparison thead th {
  background: #484040;
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
}

.casino-comparison tbody tr:nth-child(even) {
  background: #f9f9f9;
}

.casino-comparison__brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 14rem;
}

.casino-comparison__brand img {
  width: 3.6rem;
  height: 3.6rem;
  object-fit: contain;
  flex-shrink: 0;
}

.casino-comparison a {
  color: #e51a38;
  font-weight: 600;
  text-decoration: none;
}

.casino-comparison a:hover,
.casino-comparison a:focus {
  text-decoration: underline;
}

.casino-mini-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(22rem, 1fr));
  gap: 1.2rem;
  margin: 1.6rem 0 2.4rem;
}

.casino-mini-card {
  padding: 1.4rem;
  border: 1px solid #ddd;
  border-radius: 0.8rem;
  background: #f9f9f9;
}

.casino-mini-card h3 {
  margin: 0 0 0.8rem;
  font-size: 1.7rem;
  color: #484040;
}

.casino-mini-card ul {
  margin: 0;
  padding-left: 1.6rem;
  font-size: 1.5rem;
  line-height: 1.45;
  color: #484040;
}

.casino-review {
  margin: 3.2rem 0;
  padding-top: 0.8rem;
  border-top: 1px solid #ddd;
}

.casino-review__header {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1.6rem;
}

.casino-review__logo {
  width: 6.4rem;
  height: 6.4rem;
  object-fit: contain;
  flex-shrink: 0;
}

.casino-review__header h3 {
  margin: 0;
  font-size: 2.2rem;
  color: #484040;
}

.casino-review__sections h4 {
  margin: 2rem 0 0.8rem;
  font-size: 1.8rem;
  color: #484040;
}

.casino-review__sections p {
  margin: 0 0 1rem;
}

.casino-media {
  margin: 1.6rem 0;
}

.casino-media__desktop {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  border: 1px solid #ddd;
  border-radius: 0.8rem;
  background: #f9f9f9;
}

.casino-mobile-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 1.2rem;
}

.casino-mobile-grid img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border: 1px solid #ddd;
  border-radius: 0.8rem;
  background: #f9f9f9;
}

.casino-facts {
  margin: 1.6rem 0;
  padding: 1.4rem 1.6rem;
  border-radius: 0.8rem;
  background: #f9f9f9;
  border: 1px solid #ddd;
}

.casino-facts h4 {
  margin: 0 0 1rem;
  font-size: 1.7rem;
  color: #484040;
}

.casino-facts dl {
  display: grid;
  grid-template-columns: minmax(12rem, 18rem) 1fr;
  gap: 0.6rem 1.2rem;
  margin: 0;
  font-size: 1.5rem;
}

.casino-facts dt {
  font-weight: 600;
  color: #484040;
}

.casino-facts dd {
  margin: 0;
  color: #666;
}

.casino-review .pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin: 1.6rem 0;
}

.casino-review .pros-cons__item {
  padding: 1.2rem 1.4rem;
  border-radius: 0.8rem;
  border: 1px solid #ddd;
  background: #fff;
}

.casino-review .pros-cons__item--pros {
  background: #f3faf5;
}

.casino-review .pros-cons__item--cons {
  background: #fbf4f3;
}

.casino-review .pros-cons__title {
  margin: 0 0 0.8rem;
  font-size: 1.6rem;
  color: #484040;
}

.casino-review .pros-cons__list {
  margin: 0;
  padding-left: 1.6rem;
  font-size: 1.5rem;
  line-height: 1.45;
}

.casino-summary {
  margin: 1.2rem 0 0;
  padding: 1.2rem 1.4rem;
  border-left: 3px solid #ec566c;
  background: #f9f9f9;
  font-size: 1.5rem;
  line-height: 1.5;
}

.casino-info-block {
  margin: 2.4rem 0;
}

.casino-info-block ul {
  padding-left: 1.8rem;
}

@media (max-width: 768px) {
  .casino-mobile-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .casino-review .pros-cons {
    grid-template-columns: 1fr;
  }

  .casino-facts dl {
    grid-template-columns: 1fr;
  }

  .content .container > a.author-box,
  .content a.author-box,
  a.author-box {
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  .content a.author-box .author-box__img,
  a.author-box .author-box__img {
    flex-basis: 9rem !important;
    width: 9rem !important;
    height: 9rem !important;
  }
}

/* Anchor pills: keep template look; slightly wider on small screens for long labels */
@media screen and (max-width: 767px) {
  .intro-home__list {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    margin: 0;
    padding: 0;
  }

  .intro-home__list li {
    margin: 0;
    width: 100%;
  }

  .intro-home__list a {
    width: 100%;
    max-width: 100%;
    margin: 0;
    box-sizing: border-box;
  }
}

@media screen and (min-width: 768px) {
  .intro-home__list a {
    width: 24rem;
  }
}

@media (max-width: 520px) {
  .casino-comparison {
    font-size: 1.3rem;
  }

  .casino-comparison th,
  .casino-comparison td {
    padding: 0.8rem;
  }

  .intro-home__list a {
    font-size: 1.6rem;
  }
}
