/* style/resources-how-to-choose-reliable-baccarat.css */
:root {
    --primary-color: #003366;
    --secondary-color: #FFD700;
    --text-light: #ffffff;
    --text-dark: #333333;
    --background-dark: #0f172a;
    --card-background: #ffffff;
    --border-color: #e0e0e0;
}

.page-resources-how-to-choose-reliable-baccarat {
    font-family: 'Arial', sans-serif;
    color: var(--text-light); /* Body background is dark, so main text is light */
    line-height: 1.6;
    background-color: var(--background-dark);
}

.page-resources-how-to-choose-reliable-baccarat__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 180px; /* Desktop: Adjust for fixed header */
    background: linear-gradient(135deg, var(--primary-color) 0%, #0a213b 100%); /* Darker gradient for text contrast */
    color: var(--text-light);
}

.page-resources-how-to-choose-reliable-baccarat__hero-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-resources-how-to-choose-reliable-baccarat__hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-resources-how-to-choose-reliable-baccarat__hero-main-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-resources-how-to-choose-reliable-baccarat__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.page-resources-how-to-choose-reliable-baccarat__main-title {
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--secondary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-resources-how-to-choose-reliable-baccarat__hero-description {
    font-size: 18px;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 30px auto;
    color: var(--text-light);
}

.page-resources-how-to-choose-reliable-baccarat__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 8px;
    font-size: 20px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
}

.page-resources-how-to-choose-reliable-baccarat__cta-button:hover {
    background: #e6b800;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-resources-how-to-choose-reliable-baccarat__content-section {
    padding: 60px 20px;
    background: var(--card-background);
    color: var(--text-dark);
}

.page-resources-how-to-choose-reliable-baccarat__container {
    max-width: 1000px;
    margin: 0 auto;
}

.page-resources-how-to-choose-reliable-baccarat__section-title {
    font-size: 32px;
    font-weight: bold;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.page-resources-how-to-choose-reliable-baccarat__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    margin: 15px auto 0 auto;
    border-radius: 2px;
}

.page-resources-how-to-choose-reliable-baccarat__text-block {
    font-size: 17px;
    margin-bottom: 20px;
    line-height: 1.7;
    color: var(--text-dark);
}

.page-resources-how-to-choose-reliable-baccarat__text-block strong {
    color: var(--primary-color);
}

.page-resources-how-to-choose-reliable-baccarat__list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 30px;
}

.page-resources-how-to-choose-reliable-baccarat__list-item {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 16px;
    color: var(--text-dark);
}

.page-resources-how-to-choose-reliable-baccarat__list-item::before {
    content: '✅';
    position: absolute;
    left: 0;
    top: 0;
    font-size: 20px;
    line-height: 1;
}

.page-resources-how-to-choose-reliable-baccarat__feature-card {
    display: flex;
    align-items: flex-start;
    background: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    padding: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources-how-to-choose-reliable-baccarat__feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-resources-how-to-choose-reliable-baccarat__feature-image {
    width: 180px; /* Increased size for content image */
    height: auto;
    min-width: 180px;
    border-radius: 8px;
    margin-right: 25px;
    object-fit: cover;
}

.page-resources-how-to-choose-reliable-baccarat__feature-content {
    flex: 1;
}

.page-resources-how-to-choose-reliable-baccarat__feature-title {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 10px;
}

.page-resources-how-to-choose-reliable-baccarat__feature-description {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
}

.page-resources-how-to-choose-reliable-baccarat__feature-description strong {
    color: var(--primary-color);
}

.page-resources-how-to-choose-reliable-baccarat__faq-list {
    margin-top: 40px;
}

.page-resources-how-to-choose-reliable-baccarat__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-resources-how-to-choose-reliable-baccarat__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 15px;
  opacity: 0;
}

.page-resources-how-to-choose-reliable-baccarat__faq-item.active .page-resources-how-to-choose-reliable-baccarat__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
}

.page-resources-how-to-choose-reliable-how-to-choose-reliable-baccarat__faq-question a {
    color: var(--primary-color);
    text-decoration: none;
}

.page-resources-how-to-choose-reliable-how-to-choose-reliable-baccarat__faq-question a:hover {
    text-decoration: underline;
}

.page-resources-how-to-choose-reliable-baccarat__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-resources-how-to-choose-reliable-baccarat__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-resources-how-to-choose-reliable-baccarat__faq-question:active {
  background: #eeeeee;
}

.page-resources-how-to-choose-reliable-baccarat__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--primary-color);
}

.page-resources-how-to-choose-reliable-baccarat__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #666;
  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-resources-how-to-choose-reliable-baccarat__faq-item.active .page-resources-how-to-choose-reliable-baccarat__faq-toggle {
  color: var(--primary-color);
  transform: rotate(45deg);
}

.page-resources-how-to-choose-reliable-baccarat__faq-answer p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
}

.page-resources-how-to-choose-reliable-baccarat__faq-answer a {
    color: var(--primary-color);
    font-weight: bold;
    text-decoration: none;
}

.page-resources-how-to-choose-reliable-baccarat__faq-answer a:hover {
    text-decoration: underline;
}

/* Ensure all images are responsive and do not cause horizontal scroll */
.page-resources-how-to-choose-reliable-baccarat img {
    max-width: 100%;
    height: auto;
    display: block;
    box-sizing: border-box;
}

.page-resources-how-to-choose-reliable-baccarat__section,
.page-resources-how-to-choose-reliable-baccarat__card,
.page-resources-how-to-choose-reliable-baccarat__container,
.page-resources-how-to-choose-reliable-baccarat__feature-card {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden; /* Ensure content doesn't overflow */
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-resources-how-to-choose-reliable-baccarat__main-title {
        font-size: 36px;
    }
    .page-resources-how-to-choose-reliable-baccarat__hero-description {
        font-size: 17px;
    }
    .page-resources-how-to-choose-reliable-baccarat__cta-button {
        padding: 12px 30px;
        font-size: 18px;
    }
    .page-resources-how-to-choose-reliable-baccarat__section-title {
        font-size: 28px;
    }
    .page-resources-how-to-choose-reliable-baccarat__feature-title {
        font-size: 22px;
    }
    .page-resources-how-to-choose-reliable-baccarat__feature-card {
        flex-direction: column;
        align-items: center;
        padding: 20px;
    }
    .page-resources-how-to-choose-reliable-baccarat__feature-image {
        margin-right: 0;
        margin-bottom: 20px;
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .page-resources-how-to-choose-reliable-baccarat__hero-section {
        padding-top: 160px !important; /* Mobile: Adjust for fixed header */
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-resources-how-to-choose-reliable-baccarat__main-title {
        font-size: 30px;
    }
    .page-resources-how-to-choose-reliable-baccarat__hero-description {
        font-size: 16px;
    }
    .page-resources-how-to-choose-reliable-baccarat__cta-button {
        padding: 10px 25px;
        font-size: 16px;
    }
    .page-resources-how-to-choose-reliable-baccarat__content-section {
        padding: 40px 15px;
    }
    .page-resources-how-to-choose-reliable-baccarat__section-title {
        font-size: 24px;
        margin-bottom: 30px;
    }
    .page-resources-how-to-choose-reliable-baccarat__text-block,
    .page-resources-how-to-choose-reliable-baccarat__list-item,
    .page-resources-how-to-choose-reliable-baccarat__feature-description,
    .page-resources-how-to-choose-reliable-baccarat__faq-answer p {
        font-size: 15px;
    }
    .page-resources-how-to-choose-reliable-baccarat__feature-title {
        font-size: 20px;
        text-align: center;
    }
    .page-resources-how-to-choose-reliable-baccarat__feature-image {
        max-width: 250px;
    }
    
    /* FAQ Responsive */
    .page-resources-how-to-choose-reliable-baccarat__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    .page-resources-how-to-choose-reliable-baccarat__faq-question h3 {
        font-size: 15px;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }
    .page-resources-how-to-choose-reliable-baccarat__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }
    .page-resources-how-to-choose-reliable-baccarat__faq-answer {
        padding: 0 15px;
    }
    .page-resources-how-to-choose-reliable-baccarat__faq-item.active .page-resources-how-to-choose-reliable-baccarat__faq-answer {
        padding: 15px !important;
    }

    /* Mobile image override */
    .page-resources-how-to-choose-reliable-baccarat img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-resources-how-to-choose-reliable-baccarat__section,
    .page-resources-how-to-choose-reliable-baccarat__card,
    .page-resources-how-to-choose-reliable-baccarat__container,
    .page-resources-how-to-choose-reliable-baccarat__feature-card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}