/* style/resources-how-to-choose-reputable-tai-xiu-platform.css */
:root {
    --primary-color: #0A2239;
    --secondary-color: #FFD700;
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-light: #f8f9fa;
    --bg-dark-1: #0d0d0d;
}

.page-resources-how-to-choose-reputable-tai-xiu-platform {
    font-family: 'Arial', sans-serif;
    color: var(--text-light); /* Default text color for the main page content, assuming dark body bg */
    background-color: var(--bg-dark-1);
}

/* Fixed Navbar Spacing */
.page-resources-how-to-choose-reputable-tai-xiu-platform__hero-banner {
    padding-top: 180px; /* Desktop: Adjust based on fixed header height */
    padding-bottom: 60px;
    background: linear-gradient(135deg, var(--primary-color), #2a4a69);
    text-align: center;
}

.page-resources-how-to-choose-reputable-tai-xiu-platform__hero-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-resources-how-to-choose-reputable-tai-xiu-platform__main-title {
    font-size: 42px;
    color: var(--secondary-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-resources-how-to-choose-reputable-tai-xiu-platform__intro-text {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: 30px;
}

.page-resources-how-to-choose-reputable-tai-xiu-platform__intro-text a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-resources-how-to-choose-reputable-tai-xiu-platform__intro-text a:hover {
    text-decoration: underline;
}

.page-resources-how-to-choose-reputable-tai-xiu-platform__cta-button {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 15px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-resources-how-to-choose-reputable-tai-xiu-platform__cta-button:hover {
    background: #e0b800;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-resources-how-to-choose-reputable-tai-xiu-platform__section {
    padding: 60px 0;
    background-color: var(--bg-dark-1);
}

.page-resources-how-to-choose-reputable-tai-xiu-platform__why-important {
    background-color: #1a1a1a;
}

.page-resources-how-to-choose-reputable-tai-xiu-platform__criteria-section {
    background-color: var(--bg-dark-1);
}

.page-resources-how-to-choose-reputable-tai-xiu-platform__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-resources-how-to-choose-reputable-tai-xiu-platform__section-title {
    font-size: 36px;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.page-resources-how-to-choose-reputable-tai-xiu-platform__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

.page-resources-how-to-choose-reputable-tai-xiu-platform__description {
    font-size: 17px;
    line-height: 1.7;
    text-align: center;
    color: #cccccc;
    margin-bottom: 40px;
}

.page-resources-how-to-choose-reputable-tai-xiu-platform__description a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-resources-how-to-choose-reputable-tai-xiu-platform__description a:hover {
    text-decoration: underline;
}

.page-resources-how-to-choose-reputable-tai-xiu-platform__content-block {
    background: #1a1a1a;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    color: #f0f0f0;
}

.page-resources-how-to-choose-reputable-tai-xiu-platform__content-block h3 {
    font-size: 24px;
    color: var(--secondary-color);
    margin-top: 25px;
    margin-bottom: 15px;
}

.page-resources-how-to-choose-reputable-tai-xiu-platform__content-block p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.page-resources-how-to-choose-reputable-tai-xiu-platform__content-block ul {
    list-style: disc inside;
    margin-left: 20px;
    margin-bottom: 15px;
}

.page-resources-how-to-choose-reputable-tai-xiu-platform__content-block li {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 8px;
}

.page-resources-how-to-choose-reputable-tai-xiu-platform__content-block a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-resources-how-to-choose-reputable-tai-xiu-platform__content-block a:hover {
    text-decoration: underline;
}

.page-resources-how-to-choose-reputable-tai-xiu-platform__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-resources-how-to-choose-reputable-tai-xiu-platform__card {
    background: #1a1a1a;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #f0f0f0;
    border: 1px solid #333333;
}

.page-resources-how-to-choose-reputable-tai-xiu-platform__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-resources-how-to-choose-reputable-tai-xiu-platform__card-image {
    max-width: 100%; /* Ensure images are not too wide */
    height: auto;
    display: block;
    margin: 0 auto 20px auto;
    border-radius: 5px;
    object-fit: cover;
}

.page-resources-how-to-choose-reputable-tai-xiu-platform__card-title {
    font-size: 22px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.page-resources-how-to-choose-reputable-tai-xiu-platform__card-text {
    font-size: 15px;
    line-height: 1.7;
    color: #cccccc;
}

.page-resources-how-to-choose-reputable-tai-xiu-platform__top-platforms-overview,
.page-resources-how-to-choose-reputable-tai-xiu-platform__conclusion {
    background-color: #1a1a1a;
}

.page-resources-how-to-choose-reputable-tai-xiu-platform__call-to-action {
    text-align: center;
    margin-top: 40px;
}

.page-resources-how-to-choose-reputable-tai-xiu-platform__call-to-action p {
    font-size: 18px;
    color: #f0f0f0;
    margin-bottom: 20px;
}

.page-resources-how-to-choose-reputable-tai-xiu-platform__call-to-action p a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-resources-how-to-choose-reputable-tai-xiu-platform__call-to-action p a:hover {
    text-decoration: underline;
}

/* FAQ Section */
.page-resources-how-to-choose-reputable-tai-xiu-platform__faq-section {
    background-color: var(--bg-dark-1);
}

.page-resources-how-to-choose-reputable-tai-xiu-platform__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-resources-how-to-choose-reputable-tai-xiu-platform__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  background: #1a1a1a; /* Darker background for FAQ items */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-resources-how-to-choose-reputable-tai-xiu-platform__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #222222; /* Slightly lighter for question */
  border: 1px solid #333333;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-resources-how-to-choose-reputable-tai-xiu-platform__faq-question:hover {
  background: #2a2a2a;
  border-color: #444444;
}

.page-resources-how-to-choose-reputable-tai-xiu-platform__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--secondary-color); /* Highlight question with secondary color */
  pointer-events: none;
}

.page-resources-how-to-choose-reputable-tai-xiu-platform__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #cccccc;
  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: 32px;
  height: 32px;
}

.page-resources-how-to-choose-reputable-tai-xiu-platform__faq-item.active .page-resources-how-to-choose-reputable-tai-xiu-platform__faq-toggle {
  color: var(--secondary-color);
  transform: rotate(45deg); /* Rotate for 'minus' effect */
}

.page-resources-how-to-choose-reputable-tai-xiu-platform__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 25px;
  opacity: 0;
}

.page-resources-how-to-choose-reputable-tai-xiu-platform__faq-item.active .page-resources-how-to-choose-reputable-tai-xiu-platform__faq-answer {
  max-height: 2000px !important; /* Sufficiently large to contain content */
  padding: 20px 25px !important;
  opacity: 1;
  background: #1a1a1a;
  border-top: 1px solid #333333;
  border-radius: 0 0 8px 8px;
}

.page-resources-how-to-choose-reputable-tai-xiu-platform__faq-answer p {
    color: #cccccc;
    font-size: 16px;
    line-height: 1.7;
}

.page-resources-how-to-choose-reputable-tai-xiu-platform__faq-answer p a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-resources-how-to-choose-reputable-tai-xiu-platform__faq-answer p a:hover {
    text-decoration: underline;
}

/* Latest Blog Section */
.page-resources-how-to-choose-reputable-tai-xiu-platform__latest-blog {
    background-color: #1a1a1a;
}

.page-resources-how-to-choose-reputable-tai-xiu-platform__blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-resources-how-to-choose-reputable-tai-xiu-platform__blog-card {
    background: #1a1a1a;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #f0f0f0;
    border: 1px solid #333333;
}

.page-resources-how-to-choose-reputable-tai-xiu-platform__blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-resources-how-to-choose-reputable-tai-xiu-platform__blog-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-resources-how-to-choose-reputable-tai-xiu-platform__blog-card-content {
    padding: 20px;
}

.page-resources-how-to-choose-reputable-tai-xiu-platform__blog-title {
    font-size: 20px;
    color: var(--secondary-color);
    margin-top: 15px;
    margin-bottom: 10px;
    padding: 0 20px;
}

.page-resources-how-to-choose-reputable-tai-xiu-platform__blog-title a {
    color: var(--secondary-color);
    text-decoration: none;
}

.page-resources-how-to-choose-reputable-tai-xiu-platform__blog-title a:hover {
    text-decoration: underline;
}

.page-resources-how-to-choose-reputable-tai-xiu-platform__blog-excerpt {
    font-size: 15px;
    line-height: 1.6;
    color: #cccccc;
    margin-bottom: 20px;
    padding: 0 20px;
}

.page-resources-how-to-choose-reputable-tai-xiu-platform__read-more {
    display: inline-block;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
    padding: 10px 20px 20px 20px;
    transition: color 0.3s ease;
}

.page-resources-how-to-choose-reputable-tai-xiu-platform__read-more:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-resources-how-to-choose-reputable-tai-xiu-platform__main-title {
        font-size: 38px;
    }

    .page-resources-how-to-choose-reputable-tai-xiu-platform__section-title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .page-resources-how-to-choose-reputable-tai-xiu-platform__hero-banner {
        padding-top: 160px !important; /* Mobile: Adjust based on mobile fixed header height */
        padding-bottom: 40px;
    }

    .page-resources-how-to-choose-reputable-tai-xiu-platform__main-title {
        font-size: 30px;
    }

    .page-resources-how-to-choose-reputable-tai-xiu-platform__intro-text {
        font-size: 16px;
    }

    .page-resources-how-to-choose-reputable-tai-xiu-platform__cta-button {
        padding: 12px 25px;
        font-size: 16px;
    }

    .page-resources-how-to-choose-reputable-tai-xiu-platform__section {
        padding: 40px 0;
    }

    .page-resources-how-to-choose-reputable-tai-xiu-platform__section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .page-resources-how-to-choose-reputable-tai-xiu-platform__description {
        font-size: 15px;
        margin-bottom: 30px;
    }

    .page-resources-how-to-choose-reputable-tai-xiu-platform__content-block {
        padding: 20px;
    }

    .page-resources-how-to-choose-reputable-tai-xiu-platform__content-block h3 {
        font-size: 20px;
    }

    .page-resources-how-to-choose-reputable-tai-xiu-platform__content-block p,
    .page-resources-how-to-choose-reputable-tai-xiu-platform__content-block li {
        font-size: 15px;
    }

    .page-resources-how-to-choose-reputable-tai-xiu-platform__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-resources-how-to-choose-reputable-tai-xiu-platform__card {
        padding: 20px;
    }

    .page-resources-how-to-choose-reputable-tai-xiu-platform__card-title {
        font-size: 20px;
    }

    .page-resources-how-to-choose-reputable-tai-xiu-platform__card-text {
        font-size: 14px;
    }

    .page-resources-how-to-choose-reputable-tai-xiu-platform__faq-question {
        padding: 15px 20px;
    }

    .page-resources-how-to-choose-reputable-tai-xiu-platform__faq-question h3 {
        font-size: 16px;
    }

    .page-resources-how-to-choose-reputable-tai-xiu-platform__faq-toggle {
        font-size: 24px;
        width: 28px;
        height: 28px;
    }

    .page-resources-how-to-choose-reputable-tai-xiu-platform__faq-answer {
        padding: 0 20px;
    }

    .page-resources-how-to-choose-reputable-tai-xiu-platform__faq-item.active .page-resources-how-to-choose-reputable-tai-xiu-platform__faq-answer {
        padding: 15px 20px !important;
    }

    .page-resources-how-to-choose-reputable-tai-xiu-platform__faq-answer p {
        font-size: 15px;
    }

    .page-resources-how-to-choose-reputable-tai-xiu-platform__blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-resources-how-to-choose-reputable-tai-xiu-platform__blog-title {
        font-size: 18px;
    }

    .page-resources-how-to-choose-reputable-tai-xiu-platform__blog-excerpt {
        font-size: 14px;
    }

    /* Ensure all images are responsive */
    .page-resources-how-to-choose-reputable-tai-xiu-platform img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .page-resources-how-to-choose-reputable-tai-xiu-platform__container,
    .page-resources-how-to-choose-reputable-tai-xiu-platform__hero-container,
    .page-resources-how-to-choose-reputable-tai-xiu-platform__content-block,
    .page-resources-how-to-choose-reputable-tai-xiu-platform__card,
    .page-resources-how-to-choose-reputable-tai-xiu-platform__blog-card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-resources-how-to-choose-reputable-tai-xiu-platform__blog-title,
    .page-resources-how-to-choose-reputable-tai-xiu-platform__blog-excerpt,
    .page-resources-how-to-choose-reputable-tai-xiu-platform__read-more {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 480px) {
    .page-resources-how-to-choose-reputable-tai-xiu-platform__main-title {
        font-size: 26px;
    }

    .page-resources-how-to-choose-reputable-tai-xiu-platform__section-title {
        font-size: 24px;
    }

    .page-resources-how-to-choose-reputable-tai-xiu-platform__cta-button {
        padding: 10px 20px;
        font-size: 15px;
    }
}