:root {
    --primary-color: #FF8C1A;
    --secondary-color: #FFA53A;
    --card-bg-color: #17191F;
    --background-color-page: #0D0E12; /* This is specific to the page, not the body */
    --text-main-color: #FFF3E6;
    --border-color: #A84F0C;
    --glow-color: #FFB04D;
    --deep-orange-color: #D96800;
    --button-gradient: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
}

.page-blog-hy88-app-new-features {
    background-color: var(--background-color-page); /* Apply page specific background */
    color: var(--text-main-color); /* Default text color for the page */
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    padding-bottom: 50px;
}

/* Typography */
.page-blog-hy88-app-new-features h1,
.page-blog-hy88-app-new-features h2,
.page-blog-hy88-app-new-features h3 {
    color: var(--text-main-color);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-blog-hy88-app-new-features h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    text-align: center;
    color: var(--glow-color);
}

.page-blog-hy88-app-new-features h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--primary-color);
    text-align: center;
    margin-top: 40px;
    margin-bottom: 30px;
}

.page-blog-hy88-app-new-features h3 {
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    color: var(--secondary-color);
}

.page-blog-hy88-app-new-features p {
    margin-bottom: 15px;
    font-size: 1rem;
}

.page-blog-hy88-app-new-features a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-blog-hy88-app-new-features a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.page-blog-hy88-app-new-features__lead-text {
    font-size: 1.15rem;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 30px auto;
    color: var(--text-main-color);
}

/* Hero Section */
.page-blog-hy88-app-new-features__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding as body handles header offset */
    overflow: hidden; /* Ensure content doesn't overflow */
}

.page-blog-hy88-app-new-features__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%; /* Important for flex child */
}

.page-blog-hy88-app-new-features__hero-image {
    width: 100%;
    margin-bottom: 30px;
    max-width: 100%; /* Ensure image container doesn't overflow */
    box-sizing: border-box;
}

.page-blog-hy88-app-new-features__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
}

.page-blog-hy88-app-new-features__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    max-width: 900px;
}

.page-blog-hy88-app-new-features__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--button-gradient);
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 30px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    max-width: 100%; /* Ensure button doesn't overflow */
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text breaking */
}

.page-blog-hy88-app-new-features__cta-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.page-blog-hy88-app-new-features__cta-bottom {
    text-align: center;
    margin-top: 50px;
}

/* Content Area */
.page-blog-hy88-app-new-features__content-area {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: var(--background-color-page); /* Explicitly set for content area */
    box-sizing: border-box;
}

.page-blog-hy88-app-new-features__section {
    margin-bottom: 50px;
}

.page-blog-hy88-app-new-features__section-title {
    margin-top: 50px;
    margin-bottom: 30px;
    text-align: center;
}

.page-blog-hy88-app-new-features__feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-blog-hy88-app-new-features__feature-card {
    background-color: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: var(--text-main-color);
}

.page-blog-hy88-app-new-features__feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-blog-hy88-app-new-features__feature-card img {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
}

.page-blog-hy88-app-new-features__feature-card ul {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 15px;
}

.page-blog-hy88-app-new-features__feature-card li {
    margin-bottom: 8px;
}

.page-blog-hy88-app-new-features__card-title {
    color: var(--secondary-color);
    margin-top: 0;
    margin-bottom: 15px;
}

.page-blog-hy88-app-new-features__benefits {
    margin-top: 30px;
}

.page-blog-hy88-app-new-features__benefit-list {
    list-style-type: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.page-blog-hy88-app-new-features__benefit-item {
    background-color: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    color: var(--text-main-color);
}

.page-blog-hy88-app-new-features__benefit-item::before {
    content: "✅";
    font-size: 1.5em;
    color: var(--glow-color);
}

/* FAQ Section */
details.page-blog-hy88-app-new-features__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg-color);
  color: var(--text-main-color);
}
details.page-blog-hy88-app-new-features__faq-item summary.page-blog-hy88-app-new-features__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-blog-hy88-app-new-features__faq-item summary.page-blog-hy88-app-new-features__faq-question::-webkit-details-marker {
  display: none;
}
details.page-blog-hy88-app-new-features__faq-item summary.page-blog-hy88-app-new-features__faq-question:hover {
  background: rgba(var(--primary-color), 0.1);
}
.page-blog-hy88-app-new-features__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--text-main-color);
}
.page-blog-hy88-app-new-features__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-blog-hy88-app-new-features__faq-item .page-blog-hy88-app-new-features__faq-answer {
  padding: 0 20px 20px;
  background: rgba(var(--card-bg-color), 0.8);
  border-radius: 0 0 5px 5px;
}
.page-blog-hy88-app-new-features__faq-answer p {
    color: var(--text-main-color);
}

/* Related Articles */
.page-blog-hy88-app-new-features__related-articles {
    padding: 40px 20px;
    text-align: center;
}

.page-blog-hy88-app-new-features__article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-blog-hy88-app-new-features__article-card {
    background-color: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 20px;
    text-align: left;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-main-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-blog-hy88-app-new-features__article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-blog-hy88-app-new-features__article-card img {
    width: 100%;
    
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
}

.page-blog-hy88-app-new-features__article-card h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.25rem;
}

.page-blog-hy88-app-new-features__article-card h3 a {
    color: var(--text-main-color);
    font-weight: 600;
}

.page-blog-hy88-app-new-features__article-card h3 a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.page-blog-hy88-app-new-features__article-card p {
    font-size: 0.9rem;
    color: rgba(var(--text-main-color), 0.8);
}

/* Global image styles */
.page-blog-hy88-app-new-features img {
    max-width: 100%;
    height: auto;
    display: block;
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
}

/* Responsive design */
@media (max-width: 1024px) {
    .page-blog-hy88-app-new-features__content-area {
        padding: 30px 15px;
    }
    .page-blog-hy88-app-new-features__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important;
    }
    .page-blog-hy88-app-new-features h1 {
        font-size: clamp(2rem, 6vw, 3rem);
    }
    .page-blog-hy88-app-new-features h2 {
        font-size: clamp(1.6rem, 5vw, 2rem);
    }
}

@media (max-width: 768px) {
    .page-blog-hy88-app-new-features__hero-section {
        padding-top: 10px !important;
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .page-blog-hy88-app-new-features__hero-image img {
        border-radius: 4px;
    }
    
    .page-blog-hy88-app-new-features__cta-button {
        padding: 12px 30px;
        font-size: 16px;
        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-blog-hy88-app-new-features__cta-bottom {
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box;
    }

    .page-blog-hy88-app-new-features h1 {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }
    .page-blog-hy88-app-new-features__lead-text {
        font-size: 1rem;
    }

    /* Images responsive */
    .page-blog-hy88-app-new-features img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }
    .page-blog-hy88-app-new-features__feature-card img,
    .page-blog-hy88-app-new-features__article-card img {
        height: 200px !important; /* Adjust height for mobile */
    }

    .page-blog-hy88-app-new-features__section,
    .page-blog-hy88-app-new-features__feature-card,
    .page-blog-hy88-app-new-features__article-card,
    .page-blog-hy88-app-new-features__faq-list,
    .page-blog-hy88-app-new-features__benefits,
    .page-blog-hy88-app-new-features__content-area {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-blog-hy88-app-new-features__feature-grid,
    .page-blog-hy88-app-new-features__benefit-list,
    .page-blog-hy88-app-new-features__article-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    details.page-blog-hy88-app-new-features__faq-item summary.page-blog-hy88-app-new-features__faq-question { padding: 15px; }
    .page-blog-hy88-app-new-features__faq-qtext { font-size: 15px; }
}

/* Contrast fix if needed, though with the color palette, it should be fine */
.page-blog-hy88-app-new-features__contrast-fix {
  background: #ffffff !important;
  color: #333333 !important;
  border: 1px solid #e0e0e0 !important;
}

.page-blog-hy88-app-new-features__text-contrast-fix {
  color: #333333 !important;
  text-shadow: none !important;
}