/* Reset e stili di base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background: #fff;
  color: #333;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.content img, .body-img {
  width: auto;
  height: auto;
  max-height: 600px;
  max-width: 100%;
  margin: 20px auto;
}
p, ol, ul, table {
  margin-bottom: 10px;
  text-align: left;
}
ol, ul {
  padding-left: 15px;
  line-height: 1.8rem;
}

/* Header */
.logo{
  height: 30px;
}

header {
  background: #fff;
  border-bottom: 1px solid #eaeaea;
  padding: 10px 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-left {
  /* Stili personalizzati se necessario */
}
.header-right nav {}
.logo img {
  max-height: 60px;
}
.nav-link {
  font-size: 1rem;
  color: #28A745;
  text-decoration: none;
}

/* Main Sections */
section {
  padding: 30px 0;
}
.intro,
.content,
.faq-preview,
.reviews,
.review-form,
.faq,
.contact,
.casino-detail,
.bonus-offers {
  text-align: center;
}
h1, h2, h3, h4, h5, h6 {
  margin-bottom: 15px;
  color: #28A745;
}
a {
  text-decoration: none;
  color: #28A745;
}
a:hover {
  text-decoration: none;
  color: #237e3e;
}

/* Grid e Card */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.casino-card, .review-card {
  border: 1px solid #eaeaea;
  border-radius: 5px;
  overflow: hidden;
  background-color: #fff;
  transition: transform 0.3s;
}
.casino-card:hover, .review-card:hover {
  transform: translateY(-5px);
}
.casino-card img {
  width: 100%;
  height: auto;
}
.casino-content, .review-card {
  padding: 15px;
}
.casino-content h3 {
  margin-top: 0;
}
.casino-content p,
.review-card p {
  font-size: 0.9rem;
}
.casino-content a {
  display: inline-block;
  margin-top: 10px;
  text-decoration: none;
  color: #fff;
  background: #28A745;
  padding: 8px 15px;
  border-radius: 3px;
}

/* Stili per la Tabella */
.styled-table-div {
  overflow-x: auto;
}
.styled-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}
.styled-table th, .styled-table td {
  border: 1px solid #28A745;
  padding: 10px;
  text-align: left;
}
.styled-table th {
  background-color: #28A745;
  color: #fff;
}
.styled-table tr:nth-child(even) {
  background-color: #f3f3f3;
}

/* Form */
form {
  max-width: 600px;
  margin: 20px auto;
  text-align: left;
}
form input[type="text"],
form input[type="email"],
form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 3px;
  outline: none;
}
form button {
  background: #28A745;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 3px;
  cursor: pointer;
}

svg:not(:root).svg-inline--fa {
  overflow: visible;
}

.svg-inline--fa.fa-w-14 {
  width: 0.875em;
}

.svg-inline--fa {
  display: inline-block;
  font-size: inherit;
  height: 1em;
  overflow: visible;
  vertical-align: -0.125em;
}
.icon {
  align-items: center;
  display: inline-flex;
  justify-content: center;
  height: 1.5rem;
  width: 1.5rem;
}
.control.has-icons-left .icon, .control.has-icons-right .icon {
  color: #dbdbdb;
  height: 2.5em;
  pointer-events: none;
  position: absolute;
  top: 0;
  width: 2.5em;
  z-index: 4;
}
.control.has-icons-left .icon.is-left {
  left: 0;
}

.control {
  box-sizing: border-box;
  clear: both;
  font-size: 1rem;
  position: relative;
  text-align: inherit;
}
.input, .textarea {
  box-shadow: inset 0 0.0625em 0.125em rgb(10 10 10 / 5%);
  max-width: 100%;
  width: 100%;
}
.input.is-rounded {
  border-radius: 10px;
  padding-left: calc(1.125em - 1px);
  padding-right: calc(1.125em - 1px);
}
.control.has-icons-left .input, .control.has-icons-left .select select {
  padding-left: 2.5em;
}
.label {
  color: #363636;
  display: block;
  font-size: 1rem;
  font-weight: 700;
}
.column {
  display: block;
  flex-basis: 0;
  flex-grow: 1;
  flex-shrink: 1;
  padding: 0.75rem;
}
.pt-0 {
  padding-top: 0!important;
}
.columns {
  margin-left: -0.75rem;
  margin-right: -0.75rem;
  margin-top: -0.75rem;
}
.mb-0 {
  margin-bottom: 0!important;
}
nav.level {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10%;
  text-align: center;
}
.level-item {
  text-align: center;
}
.is-hidden {
  display: none;
}
.videowrapper {
  float: none;
  clear: both;
  width: 100%;
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 35px;
  height: 0;
  text-align: center;
  margin: 30px auto;
}
.videowrapper iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  max-width: 900px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.video {
  aspect-ratio: 16 / 9;
}
.columns.duo--flipped {
  flex-direction: row-reverse;
}

@media print, screen and (min-width: 769px){
  .columns:not(.is-desktop) {
    display: flex;
  }
  .column.is-6, .column.is-6-tablet {
    flex: none;
    width: 50%;
  }
}

@media (min-width: 1024px)
{
  .duo__body {
    padding-left: 4rem;
    padding-right: 4rem;
  }
}


/* Footer */
footer {
  background: #fff;
  border-top: 1px solid #eaeaea;
  padding: 20px 0;
  margin-top: 40px;
  text-align: center;
}
footer .footer-links a {
  margin: 0 10px;
  text-decoration: none;
  color: #28A745;
}
footer .footer-social a {
  margin: 0 5px;
}
footer .footer-social img {
  width: 24px;
  height: 24px;
}
footer .contact-info p {
  text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    padding: 0 10px;
  }
  header .container {
    flex-direction: column;
  }
}

/* listing */

.listing-rating-block {
  background: white;
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 25px;
  display: flex;
  gap: 30px;
  box-shadow: 0 10px 3px rgb(0 0 0 / 10%);
  align-items: center;
}

.listing-logo {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #5b5b5b;
  border-radius: 8px;
}

.listing-logo img {
  width: 100px; /* Задаем размеры для вставленного SVG */
  height: 80px;
}

.listing-title {
  flex: 1;
  font-size: 24px;
  color: #2c3e50;
}

.listing-list {
  flex: 2;
  padding-left: 20px;
}

.listing-list ul {
  list-style: none; /* Убираем маркеры */
  padding-left: 0;
}

.listing-list li {
  margin-bottom: 8px;
  padding-left: 25px;
  position: relative;
  line-height: 1.5;
}

.listing-list li:before {
  content: "✅";
  position: absolute;
  left: 0;
  top: 2px;
}

.listing-rating {
  font-size: 20px;
  font-weight: bold;
  color: #27ae60;
  margin-right: 20px;
}

.listing-button {
  background: #27ae60;
  color: white;
  padding: 12px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.listing-button:hover {
  background: #219a52;
}

@media (max-width: 768px) {
  .listing-rating-block {
      flex-direction: column;
      gap: 15px;
  }

  .listing-logo {
      width: 60px;
      height: 60px;
      margin-right: 0;
      margin-bottom: 10px;
  }

  .listing-title {
      font-size: 20px;
      margin-bottom: 10px;
  }

  .listing-list {
      padding-left: 0;
  }

  .listing-rating {
      margin-bottom: 10px;
  }

  .listing-button {
      margin-top: 10px;
  }
  section {
    padding: 20px 0;
  }
}