.page-huong-dan-chon-game-phu-hop {
    font-family: 'Arial', sans-serif;
    color: #333333;
    line-height: 1.6;
    background-color: #FFFFFF;
}

.page-huong-dan-chon-game-phu-hop__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, relying on body padding for header offset */
    padding-bottom: 40px;
    background-color: #f0f8ff;
    text-align: center;
    overflow: hidden;
}

.page-huong-dan-chon-game-phu-hop__hero-image {
    width: 100%;
    height: 675px; /* Fixed height for desktop hero */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}

.page-huong-dan-chon-game-phu-hop__hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-huong-dan-chon-game-phu-hop__hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-huong-dan-chon-game-phu-hop__main-title {
    font-size: 44px;
    font-weight: 700;
    color: #26A9E0;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-huong-dan-chon-game-phu-hop__description {
    font-size: 18px;
    margin-bottom: 30px;
    color: #555555;
}

.page-huong-dan-chon-game-phu-hop__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    cursor: pointer;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-huong-dan-chon-game-phu-hop__btn-primary {
    background-color: #26A9E0;
    color: #FFFFFF;
    border: 2px solid #26A9E0;
}

.page-huong-dan-chon-game-phu-hop__btn-primary:hover {
    background-color: #1e87c0;
    transform: translateY(-2px);
}

.page-huong-dan-chon-game-phu-hop__btn-secondary {
    background-color: #FFFFFF;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-huong-dan-chon-game-phu-hop__btn-secondary:hover {
    background-color: #f0f8ff;
    transform: translateY(-2px);
}

.page-huong-dan-chon-game-phu-hop__section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-huong-dan-chon-game-phu-hop__section:nth-of-type(even) {
    background-color: #f9f9f9;
}

.page-huong-dan-chon-game-phu-hop__section-title {
    font-size: 36px;
    font-weight: 700;
    color: #26A9E0;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-huong-dan-chon-game-phu-hop__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #26A9E0;
    border-radius: 2px;
}

.page-huong-dan-chon-game-phu-hop__content-block {
    font-size: 16px;
    line-height: 1.7;
    text-align: justify;
}

.page-huong-dan-chon-game-phu-hop__content-block p {
    margin-bottom: 20px;
}

.page-huong-dan-chon-game-phu-hop__content-block img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-huong-dan-chon-game-phu-hop__feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-huong-dan-chon-game-phu-hop__feature-item {
    background-color: #FFFFFF;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: left;
    transition: transform 0.3s ease;
}

.page-huong-dan-chon-game-phu-hop__feature-item:hover {
    transform: translateY(-5px);
}

.page-huong-dan-chon-game-phu-hop__feature-title {
    font-size: 24px;
    font-weight: 600;
    color: #26A9E0;
    margin-bottom: 15px;
    line-height: 1.3;
}

.page-huong-dan-chon-game-phu-hop__game-category {
    background-color: #FFFFFF;
    padding: 40px;
    margin-bottom: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
}

.page-huong-dan-chon-game-phu-hop__category-title {
    font-size: 30px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 25px;
    text-align: center;
}

.page-huong-dan-chon-game-phu-hop__subcategory-list {
    margin-top: 30px;
    padding-left: 20px;
    border-left: 3px solid #26A9E0;
}

.page-huong-dan-chon-game-phu-hop__subcategory-title {
    font-size: 22px;
    font-weight: 600;
    color: #26A9E0;
    margin-top: 20px;
    margin-bottom: 10px;
}

.page-huong-dan-chon-game-phu-hop__tip-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-huong-dan-chon-game-phu-hop__tip-list li {
    background-color: #f0f8ff;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.page-huong-dan-chon-game-phu-hop__tip-title {
    font-size: 24px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 10px;
}

details.page-huong-dan-chon-game-phu-hop__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}
details.page-huong-dan-chon-game-phu-hop__faq-item summary.page-huong-dan-chon-game-phu-hop__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-huong-dan-chon-game-phu-hop__faq-item summary.page-huong-dan-chon-game-phu-hop__faq-question::-webkit-details-marker {
  display: none;
}
details.page-huong-dan-chon-game-phu-hop__faq-item summary.page-huong-dan-chon-game-phu-hop__faq-question:hover {
  background: #f5f5f5;
}
.page-huong-dan-chon-game-phu-hop__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}
.page-huong-dan-chon-game-phu-hop__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-huong-dan-chon-game-phu-hop__faq-item .page-huong-dan-chon-game-phu-hop__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
}

.page-huong-dan-chon-game-phu-hop__call-to-action {
    text-align: center;
    margin-top: 50px;
    padding: 40px 20px;
    background-color: #f0f8ff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.07);
}

.page-huong-dan-chon-game-phu-hop__call-to-action p {
    font-size: 22px;
    margin-bottom: 30px;
    color: #000000;
    font-weight: 500;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-huong-dan-chon-game-phu-hop__main-title {
        font-size: 38px;
    }
    .page-huong-dan-chon-game-phu-hop__section-title {
        font-size: 32px;
    }
    .page-huong-dan-chon-game-phu-hop__feature-title {
        font-size: 22px;
    }
    .page-huong-dan-chon-game-phu-hop__category-title {
        font-size: 28px;
    }
    .page-huong-dan-chon-game-phu-hop__subcategory-title {
        font-size: 20px;
    }
    .page-huong-dan-chon-game-phu-hop__tip-title {
        font-size: 22px;
    }
    .page-huong-dan-chon-game-phu-hop__hero-image {
        height: 500px;
    }
}

@media (max-width: 768px) {
    .page-huong-dan-chon-game-phu-hop__hero-section {
        padding-bottom: 30px;
    }
    .page-huong-dan-chon-game-phu-hop__hero-image {
        height: auto;
        margin-bottom: 20px;
    }
    .page-huong-dan-chon-game-phu-hop__hero-image img {
        object-fit: contain !important;
        aspect-ratio: unset !important; /* Allow image to scale freely */
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-huong-dan-chon-game-phu-hop__main-title {
        font-size: clamp(28px, 8vw, 36px); /* Use clamp for H1 font size */
        margin-bottom: 15px;
    }
    .page-huong-dan-chon-game-phu-hop__description {
        font-size: 16px;
        margin-bottom: 25px;
        padding: 0 15px;
    }
    .page-huong-dan-chon-game-phu-hop__cta-button {
        padding: 12px 25px;
        font-size: 16px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        margin: 0 auto;
    }
    .page-huong-dan-chon-game-phu-hop__section {
        padding: 40px 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-huong-dan-chon-game-phu-hop__section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    .page-huong-dan-chon-game-phu-hop__content-block {
        font-size: 15px;
        padding: 0 5px;
    }
    .page-huong-dan-chon-game-phu-hop__content-block img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        margin: 20px auto;
    }
    .page-huong-dan-chon-game-phu-hop__feature-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-huong-dan-chon-game-phu-hop__feature-item {
        padding: 25px;
    }
    .page-huong-dan-chon-game-phu-hop__feature-title {
        font-size: 20px;
    }
    .page-huong-dan-chon-game-phu-hop__game-category {
        padding: 30px 20px;
    }
    .page-huong-dan-chon-game-phu-hop__category-title {
        font-size: 26px;
        margin-bottom: 20px;
    }
    .page-huong-dan-chon-game-phu-hop__subcategory-list {
        padding-left: 15px;
    }
    .page-huong-dan-chon-game-phu-hop__subcategory-title {
        font-size: 18px;
    }
    .page-huong-dan-chon-game-phu-hop__tip-list li {
        padding: 20px;
    }
    .page-huong-dan-chon-game-phu-hop__tip-title {
        font-size: 20px;
    }
    details.page-huong-dan-chon-game-phu-hop__faq-item summary.page-huong-dan-chon-game-phu-hop__faq-question { padding: 15px; }
    .page-huong-dan-chon-game-phu-hop__faq-qtext { font-size: 15px; }
    .page-huong-dan-chon-game-phu-hop__faq-answer { padding: 0 15px 15px; }
    .page-huong-dan-chon-game-phu-hop__call-to-action {
        padding: 30px 15px;
    }
    .page-huong-dan-chon-game-phu-hop__call-to-action p {
        font-size: 18px;
        margin-bottom: 25px;
    }
    /* Ensure all images and containers prevent horizontal scroll */
    .page-huong-dan-chon-game-phu-hop img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-huong-dan-chon-game-phu-hop__section,
    .page-huong-dan-chon-game-phu-hop__card,
    .page-huong-dan-chon-game-phu-hop__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-huong-dan-chon-game-phu-hop__cta-button,
    .page-huong-dan-chon-game-phu-hop__btn-primary,
    .page-huong-dan-chon-game-phu-hop__btn-secondary,
    .page-huong-dan-chon-game-phu-hop a[class*="button"],
    .page-huong-dan-chon-game-phu-hop a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-huong-dan-chon-game-phu-hop__cta-buttons,
    .page-huong-dan-chon-game-phu-hop__button-group,
    .page-huong-dan-chon-game-phu-hop__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;
    }
    .page-huong-dan-chon-game-phu-hop__cta-buttons {
        display: flex;
        flex-direction: column; 
    }
}