:root {
    --page-bg-color: #08160F; /* Background */
    --card-bg-color: #11271B; /* Card BG */
    --text-main-color: #F2FFF6; /* Text Main */
    --text-secondary-color: #A7D9B8; /* Text Secondary */
    --btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
    --border-color: #2E7A4E; /* Border */
    --glow-color: #57E38D; /* Glow */
    --gold-color: #F2C14E; /* Gold */
    --divider-color: #1E3A2A; /* Divider */
    --deep-green-color: #0A4B2C; /* Deep Green */
}

.page-news-latest-industry-trends {
    font-family: Arial, sans-serif;
    color: var(--text-main-color); /* Default text color for dark body background */
    background-color: var(--page-bg-color); /* Explicitly set page background */
    line-height: 1.6;
}

/* Hero Section */
.page-news-latest-industry-trends__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    padding: 10px 20px 60px; /* Small top padding, larger bottom for content */
    box-sizing: border-box;
    text-align: center;
}

.page-news-latest-industry-trends__hero-image-wrapper {
    width: 100%;
    max-width: 1920px; /* Max width for image wrapper */
    overflow: hidden;
    margin-bottom: 40px; /* Space between image and text */
}

.page-news-latest-industry-trends__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 12px;
}

.page-news-latest-industry-trends__hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative; /* Ensure content is not absolutely positioned over image */
    z-index: 1; /* Ensure content is above any potential background elements */
}

.page-news-latest-industry-trends__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive H1 font size */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-main-color);
}

.page-news-latest-industry-trends__intro-text {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--text-secondary-color);
}

/* CTA Buttons */
.page-news-latest-industry-trends__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    width: 100%; /* Ensure container takes full width for responsive padding */
    max-width: 100%;
    box-sizing: border-box;
}

.page-news-latest-industry-trends__btn-primary,
.page-news-latest-industry-trends__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Allow text to break words */
    max-width: 100%;
    box-sizing: border-box;
    text-align: center;
}

.page-news-latest-industry-trends__btn-primary {
    background: var(--btn-gradient);
    color: #ffffff; /* White text for contrast */
    border: 2px solid transparent;
}

.page-news-latest-industry-trends__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.page-news-latest-industry-trends__btn-secondary {
    background-color: transparent;
    color: var(--glow-color); /* Using glow color for secondary button text */
    border: 2px solid var(--glow-color);
}

.page-news-latest-industry-trends__btn-secondary:hover {
    background-color: rgba(87, 227, 141, 0.1);
    transform: translateY(-2px);
}

/* Content Area */
.page-news-latest-industry-trends__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
}

.page-news-latest-industry-trends__section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold-color); /* Using gold for main section titles */
    margin-top: 60px;
    margin-bottom: 30px;
    text-align: center;
}

.page-news-latest-industry-trends__sub-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-main-color);
    margin-top: 40px;
    margin-bottom: 20px;
}

.page-news-latest-industry-trends__paragraph {
    font-size: 1.05rem;
    margin-bottom: 20px;
    color: var(--text-secondary-color);
    line-height: 1.7;
}

.page-news-latest-industry-trends__highlight {
    color: var(--glow-color);
    font-weight: 700;
}

.page-news-latest-industry-trends__list {
    list-style: disc inside;
    margin-bottom: 20px;
    padding-left: 20px;
    color: var(--text-secondary-color);
}

.page-news-latest-industry-trends__list li {
    margin-bottom: 10px;
    color: var(--text-secondary-color);
}

/* Trends Grid */
.page-news-latest-industry-trends__trends-grid,
.page-news-latest-industry-trends__impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.page-news-latest-industry-trends__trend-card,
.page-news-latest-industry-trends__impact-card {
    background-color: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    color: var(--text-main-color); /* Light text on dark card background */
}

.page-news-latest-industry-trends__trend-card:hover,
.page-news-latest-industry-trends__impact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-news-latest-industry-trends__card-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block; /* Ensure it behaves as a block element */
    min-width: 200px;
    min-height: 200px;
}

.page-news-latest-industry-trends__card-title {
    font-size: 1.7rem;
    font-weight: 600;
    color: var(--gold-color);
    margin-bottom: 15px;
}

.page-news-latest-industry-trends__card-text {
    font-size: 1rem;
    color: var(--text-secondary-color);
    margin-bottom: 15px;
    flex-grow: 1; /* Allow text to grow and push list down */
}

.page-news-latest-industry-trends__card-list {
    list-style: disc inside;
    padding-left: 10px;
    margin-top: auto; /* Push list to bottom of card */
    color: var(--text-secondary-color);
}

.page-news-latest-industry-trends__card-list li {
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: var(--text-secondary-color);
}

/* 5pet Overview Section */
.page-news-latest-industry-trends__5pet-overview {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-bottom: 60px;
    background-color: var(--card-bg-color);
    border-radius: 12px;
    padding: 40px;
    border: 1px solid var(--border-color);
}

.page-news-latest-industry-trends__overview-image {
    width: 50%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
    min-width: 200px;
    min-height: 200px;
}

.page-news-latest-industry-trends__overview-content {
    flex-grow: 1;
}

/* FAQ Section */
.page-news-latest-industry-trends__faq-list {
    margin-top: 40px;
    margin-bottom: 60px;
}

.page-news-latest-industry-trends__faq-item {
    background-color: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--text-main-color);
}

.page-news-latest-industry-trends__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--gold-color);
    background-color: rgba(0, 0, 0, 0.2); /* Slightly darker background for summary */
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}

.page-news-latest-industry-trends__faq-question:hover {
    background-color: rgba(0, 0, 0, 0.3);
}

/* Hide default details marker */
.page-news-latest-industry-trends__faq-item summary::-webkit-details-marker {
    display: none;
}
.page-news-latest-industry-trends__faq-item summary {
    list-style: none;
}

.page-news-latest-industry-trends__faq-toggle {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    margin-left: 15px;
    color: var(--glow-color);
}

.page-news-latest-industry-trends__faq-answer {
    padding: 0 25px 20px;
    font-size: 1rem;
    color: var(--text-secondary-color);
}

/* Bottom CTA */
.page-news-latest-industry-trends__cta-buttons--bottom {
    margin-top: 50px;
    margin-bottom: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-news-latest-industry-trends__5pet-overview {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 30px;
    }

    .page-news-latest-industry-trends__overview-image {
        width: 80%;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .page-news-latest-industry-trends__hero-section {
        padding: 10px 15px 40px;
    }

    .page-news-latest-industry-trends__main-title {
        font-size: clamp(2rem, 8vw, 2.8rem);
    }

    .page-news-latest-industry-trends__intro-text {
        font-size: 1.1rem;
    }

    .page-news-latest-industry-trends__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px; /* Add padding to button container */
    }

    .page-news-latest-industry-trends__btn-primary,
    .page-news-latest-industry-trends__btn-secondary {
        width: 100% !important; /* Force full width on mobile */
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px !important; /* Adjust padding for mobile */
        font-size: 1rem !important;
    }

    .page-news-latest-industry-trends__content-area {
        padding: 30px 15px;
    }

    .page-news-latest-industry-trends__section-title {
        font-size: 2rem;
        margin-top: 40px;
        margin-bottom: 25px;
    }

    .page-news-latest-industry-trends__sub-title {
        font-size: 1.6rem;
    }

    .page-news-latest-industry-trends__trends-grid,
    .page-news-latest-industry-trends__impact-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .page-news-latest-industry-trends__trend-card,
    .page-news-latest-industry-trends__impact-card,
    .page-news-latest-industry-trends__faq-item {
        padding: 20px;
        width: 100%; /* Ensure cards take full width on mobile */
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .page-news-latest-industry-trends__card-image,
    .page-news-latest-industry-trends__overview-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }

    /* All images within content area */
    .page-news-latest-industry-trends img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    /* All containers that might hold images/content */
    .page-news-latest-industry-trends__section,
    .page-news-latest-industry-trends__card,
    .page-news-latest-industry-trends__container,
    .page-news-latest-industry-trends__hero-section,
    .page-news-latest-industry-trends__trends-grid,
    .page-news-latest-industry-trends__impact-grid,
    .page-news-latest-industry-trends__5pet-overview,
    .page-news-latest-industry-trends__faq-list,
    .page-news-latest-industry-trends__hero-image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px; /* Add internal padding to containers */
        padding-right: 15px;
        overflow: hidden !important; /* Prevent horizontal scroll */
    }

    .page-news-latest-industry-trends__hero-image-wrapper {
        padding-left: 0;
        padding-right: 0;
    }

    .page-news-latest-industry-trends__faq-question {
        padding: 15px 20px;
        font-size: 1rem;
    }

    .page-news-latest-industry-trends__faq-answer {
        padding: 0 20px 15px;
    }
}

/* Ensure content area images are not too small */
.page-news-latest-industry-trends__content-area img:not(.page-news-latest-industry-trends__hero-image) {
    min-width: 200px;
    min-height: 200px;
}