/* style/expert-predictions-weekly-hot-matches.css */
:root {
    --primary-color: #1A202C;
    --secondary-color: #FFD700;
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-dark: #0F172A; /* Body background from shared.css */
    --card-bg-dark: rgba(255, 255, 255, 0.08);
    --border-color-dark: rgba(255, 255, 255, 0.15);
}

.page-expert-predictions-weekly-hot-matches {
    font-family: 'Arial', sans-serif;
    color: var(--text-light); /* Default text color for dark body background */
    background-color: var(--bg-dark);
}

.page-expert-predictions-weekly-hot-matches__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px);
    overflow: hidden;
    background-color: var(--primary-color);
}

.page-expert-predictions-weekly-hot-matches__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.page-expert-predictions-weekly-hot-matches__hero-image {
    width: 100%;
    margin-bottom: 30px;
    position: relative;
    z-index: 0;
}

.page-expert-predictions-weekly-hot-matches__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

.page-expert-predictions-weekly-hot-matches__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    padding: 20px;
    background: rgba(0, 0, 0, 0.4); /* Overlay for readability */
    border-radius: 8px;
}

.page-expert-predictions-weekly-hot-matches__hero-title {
    font-size: 2.8em;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--secondary-color);
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-expert-predictions-weekly-hot-matches__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--text-light);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.page-expert-predictions-weekly-hot-matches__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-expert-predictions-weekly-hot-matches__cta-button:hover {
    background: #e0b800;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

.page-expert-predictions-weekly-hot-matches__section {
    padding: 60px 20px;
    text-align: center;
}

.page-expert-predictions-weekly-hot-matches__content-area {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.page-expert-predictions-weekly-hot-matches__dark-bg {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-expert-predictions-weekly-hot-matches__section-title {
    font-size: 2.2em;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--secondary-color);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-expert-predictions-weekly-hot-matches__paragraph {
    font-size: 1.05em;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto 25px auto;
    color: var(--text-light);
}

.page-expert-predictions-weekly-hot-matches__link {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-expert-predictions-weekly-hot-matches__link:hover {
    color: #e0b800;
    text-decoration: underline;
}

.page-expert-predictions-weekly-hot-matches__image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    object-fit: cover;
    min-width: 200px; /* Ensure minimum size */
    min-height: 200px; /* Ensure minimum size */
}

.page-expert-predictions-weekly-hot-matches__image--center {
  margin-left: auto;
  margin-right: auto;
}

.page-expert-predictions-weekly-hot-matches__list {
    list-style: none;
    padding: 0;
    max-width: 900px;
    margin: 0 auto 40px auto;
    text-align: left;
}

.page-expert-predictions-weekly-hot-matches__list-item {
    background: var(--card-bg-dark);
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 8px;
    font-size: 1.05em;
    line-height: 1.6;
    color: var(--text-light);
    border-left: 5px solid var(--secondary-color);
}

.page-expert-predictions-weekly-hot-matches__list-item strong {
    color: var(--secondary-color);
}

.page-expert-predictions-weekly-hot-matches__card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 40px auto;
}

.page-expert-predictions-weekly-hot-matches__card {
    background: var(--card-bg-dark);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color-dark);
    display: flex;
    flex-direction: column;
}

.page-expert-predictions-weekly-hot-matches__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.page-expert-predictions-weekly-hot-matches__card-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 20px;
    min-width: 200px; 
    min-height: 200px; 
}

.page-expert-predictions-weekly-hot-matches__card-title {
    font-size: 1.5em;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.page-expert-predictions-weekly-hot-matches__card-text {
    font-size: 0.95em;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 10px;
    flex-grow: 1;
}

.page-expert-predictions-weekly-hot-matches__faq-section {
  padding-top: 80px;
  padding-bottom: 80px;
}

.page-expert-predictions-weekly-hot-matches__faq-container {
  max-width: 900px;
  margin: 40px auto;
  text-align: left;
}

.page-expert-predictions-weekly-hot-matches__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-expert-predictions-weekly-hot-matches__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
  padding: 0 15px;
  opacity: 0;
  background: var(--card-bg-dark);
  color: var(--text-light);
}

.page-expert-predictions-weekly-hot-matches__faq-item.active .page-expert-predictions-weekly-hot-matches__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: var(--card-bg-dark);
  border-radius: 0 0 5px 5px;
}

.page-expert-predictions-weekly-hot-matches__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: var(--primary-color);
  border: 1px solid var(--border-color-dark);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-expert-predictions-weekly-hot-matches__faq-question:hover {
  background: #2a3447;
  border-color: #3f4c6a;
}

.page-expert-predictions-weekly-hot-matches__faq-question:active {
  background: #3a455c;
}

.page-expert-predictions-weekly-hot-matches__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--secondary-color);
}

.page-expert-predictions-weekly-hot-matches__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: var(--secondary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-expert-predictions-weekly-hot-matches__faq-item.active .page-expert-predictions-weekly-hot-matches__faq-toggle {
  color: var(--secondary-color);
  transform: rotate(45deg); /* Plus to X for active */
}

.page-expert-predictions-weekly-hot-matches__cta-final {
  padding-top: 80px;
  padding-bottom: 80px;
  background-color: var(--primary-color);
}

.page-expert-predictions-weekly-hot-matches__cta-button--large {
  font-size: 1.3em;
  padding: 18px 50px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-expert-predictions-weekly-hot-matches__hero-title {
        font-size: 2.2em;
    }
    .page-expert-predictions-weekly-hot-matches__hero-description {
        font-size: 1em;
    }
    .page-expert-predictions-weekly-hot-matches__section-title {
        font-size: 1.8em;
    }
    .page-expert-predictions-weekly-hot-matches__paragraph,
    .page-expert-predictions-weekly-hot-matches__list-item,
    .page-expert-predictions-weekly-hot-matches__card-text {
        font-size: 0.95em;
    }
    .page-expert-predictions-weekly-hot-matches__card-image {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .page-expert-predictions-weekly-hot-matches__hero-section {
        padding-top: var(--header-offset, 120px) !important;
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-expert-predictions-weekly-hot-matches__hero-title {
        font-size: 1.8em;
        margin-bottom: 10px;
    }
    .page-expert-predictions-weekly-hot-matches__hero-description {
        font-size: 0.9em;
        margin-bottom: 20px;
    }
    .page-expert-predictions-weekly-hot-matches__cta-button {
        padding: 12px 30px;
        font-size: 1em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-expert-predictions-weekly-hot-matches__section {
        padding: 40px 15px;
    }
    .page-expert-predictions-weekly-hot-matches__section-title {
        font-size: 1.5em;
        margin-bottom: 20px;
    }
    .page-expert-predictions-weekly-hot-matches__paragraph,
    .page-expert-predictions-weekly-hot-matches__list-item,
    .page-expert-predictions-weekly-hot-matches__card-text {
        font-size: 0.9em;
        line-height: 1.7;
    }
    .page-expert-predictions-weekly-hot-matches__card-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-expert-predictions-weekly-hot-matches__card {
        padding: 20px;
    }
    .page-expert-predictions-weekly-hot-matches__card-image {
        height: 180px;
    }
    .page-expert-predictions-weekly-hot-matches__card-title {
        font-size: 1.3em;
    }
    .page-expert-predictions-weekly-hot-matches__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    .page-expert-predictions-weekly-hot-matches__faq-question h3 {
        font-size: 1em;
        width: calc(100% - 40px);
    }
    .page-expert-predictions-weekly-hot-matches__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }
    .page-expert-predictions-weekly-hot-matches__faq-answer {
        padding: 0 15px;
    }
    .page-expert-predictions-weekly-hot-matches__faq-item.active .page-expert-predictions-weekly-hot-matches__faq-answer {
        padding: 15px !important;
    }

    /* Mobile image and container responsiveness */
    .page-expert-predictions-weekly-hot-matches img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-expert-predictions-weekly-hot-matches__section,
    .page-expert-predictions-weekly-hot-matches__card,
    .page-expert-predictions-weekly-hot-matches__container,
    .page-expert-predictions-weekly-hot-matches__faq-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden;
    }
    .page-expert-predictions-weekly-hot-matches__cta-buttons,
    .page-expert-predictions-weekly-hot-matches__button-group,
    .page-expert-predictions-weekly-hot-matches__btn-container {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
      flex-wrap: wrap !important;
      gap: 10px;
      display: flex;
      flex-direction: column; 
    }
}