/* style/resources-how-to-download-win55-app.css */

/* Base styles for the page content area */
.page-resources-how-to-download-win55-app {
    font-family: 'Arial', sans-serif;
    color: #333333; /* Default dark text on light body background */
    line-height: 1.6;
    background-color: #FFFFFF; /* Explicitly set for clarity, aligns with body default */
}

/* Hero Section */
.page-resources-how-to-download-win55-app__hero-section {
    position: relative;
    width: 100%;
    height: 600px; /* Adjust as needed for visual impact */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    box-sizing: border-box;
}

.page-resources-how-to-download-win55-app__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.page-resources-how-to-download-win55-app__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
    z-index: 2;
}

.page-resources-how-to-download-win55-app__hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 20px;
    color: #FFFFFF;
}

.page-resources-how-to-download-win55-app__main-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #FFFFFF;
}

.page-resources-how-to-download-win55-app__intro-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

/* General Section Styling */
.page-resources-how-to-download-win55-app__section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 40px 20px;
    background-color: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-resources-how-to-download-win55-app__section-title {
    font-size: 2.5em;
    color: #017439; /* Main brand color for titles */
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.page-resources-how-to-download-win55-app__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #017439;
    margin: 15px auto 0;
    border-radius: 2px;
}

.page-resources-how-to-download-win55-app__section-title--white {
    color: #FFFFFF;
}
.page-resources-how-to-download-win55-app__section-title--white::after {
    background-color: #FFFFFF;
}

.page-resources-how-to-download-win55-app__text-block--white {
    color: #f0f0f0;
}

.page-resources-how-to-download-win55-app__subtitle {
    font-size: 1.8em;
    color: #017439;
    margin-top: 40px;
    margin-bottom: 20px;
    text-align: center;
}
.page-resources-how-to-download-win55-app__subtitle--white {
    color: #FFFFFF;
}

.page-resources-how-to-download-win55-app p {
    margin-bottom: 15px;
    font-size: 1.1em;
    color: #333333;
}

.page-resources-how-to-download-win55-app__image-full {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* CTA Buttons */
.page-resources-how-to-download-win55-app__cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.page-resources-how-to-download-win55-app__cta-buttons--center {
    justify-content: center;
}

.page-resources-how-to-download-win55-app__btn-primary,
.page-resources-how-to-download-win55-app__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box; /* Ensure padding doesn't increase width */
    max-width: 100%; /* Important for responsiveness */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
}

.page-resources-how-to-download-win55-app__btn-primary {
    background-color: #C30808; /* Register/Login color */
    color: #FFFF00; /* Register/Login font color */
    border: 2px solid #C30808;
}

.page-resources-how-to-download-win55-app__btn-primary:hover {
    background-color: #a00606;
    border-color: #a00606;
    transform: translateY(-2px);
}

.page-resources-how-to-download-win55-app__btn-secondary {
    background-color: #FFFFFF;
    color: #017439; /* Main brand color */
    border: 2px solid #017439;
}

.page-resources-how-to-download-win55-app__btn-secondary:hover {
    background-color: #017439;
    color: #FFFFFF;
    transform: translateY(-2px);
}

/* Step-by-step section */
.page-resources-how-to-download-win55-app__step-by-step {
    padding-bottom: 60px;
}

.page-resources-how-to-download-win55-app__step-card {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    border-left: 5px solid #017439;
}
.page-resources-how-to-download-win55-app__step-card--dark {
    background-color: rgba(255, 255, 255, 0.1);
    border-left-color: #FFFFFF;
}

.page-resources-how-to-download-win55-app__step-title {
    font-size: 1.6em;
    color: #017439;
    margin-bottom: 15px;
}
.page-resources-how-to-download-win55-app__step-title--white {
    color: #FFFFFF;
}

.page-resources-how-to-download-win55-app__step-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 20px auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-resources-how-to-download-win55-app__list {
    list-style: disc inside;
    padding-left: 20px;
    margin-top: 20px;
}

.page-resources-how-to-download-win55-app__list li {
    margin-bottom: 10px;
    font-size: 1.1em;
    color: #333333;
}
.page-resources-how-to-download-win55-app__list--white li {
    color: #f0f0f0;
}

/* Dark section for iOS download guide */
.page-resources-how-to-download-win55-app__dark-section {
    background-color: #017439; /* Main brand color as background */
    color: #FFFFFF; /* White text for contrast */
    box-shadow: none;
}
.page-resources-how-to-download-win55-app__dark-section .page-resources-how-to-download-win55-app__step-card {
    background-color: rgba(255, 255, 255, 0.1); /* Lighter background for cards on dark section */
    border-left-color: #FFFFFF;
}
.page-resources-how-to-download-win55-app__dark-section p {
    color: #f0f0f0;
}

/* Features Section */
.page-resources-how-to-download-win55-app__features-section {
    padding-bottom: 60px;
}

.page-resources-how-to-download-win55-app__feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-resources-how-to-download-win55-app__feature-item {
    text-align: center;
}

.page-resources-how-to-download-win55-app__feature-icon {
    width: 100%; /* Full width for card images */
    height: auto;
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 8px;
    min-height: 200px; /* Enforce min size for card images */
}

.page-resources-how-to-download-win55-app__feature-title {
    font-size: 1.5em;
    color: #017439;
    margin-bottom: 10px;
}

/* Card styling for features */
.page-resources-how-to-download-win55-app__card {
    background: #ffffff;
    color: #333333;
    border: 1px solid #e0e0e0;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources-how-to-download-win55-app__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

/* FAQ Section */
.page-resources-how-to-download-win55-app__faq-section {
    padding-bottom: 60px;
}

.page-resources-how-to-download-win55-app__faq-list {
    margin-top: 30px;
}

.page-resources-how-to-download-win55-app__faq-item {
    background-color: #f9f9f9;
    border: 1px solid #eee;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
}

.page-resources-how-to-download-win55-app__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #017439;
    cursor: pointer;
    background-color: #e6f7ed; /* Lighter shade of main color */
    border-bottom: 1px solid #eee;
    list-style: none; /* Remove default marker */
}

.page-resources-how-to-download-win55-app__faq-item summary::-webkit-details-marker {
    display: none; /* Remove default marker for webkit browsers */
}

.page-resources-how-to-download-win55-app__faq-qtext {
    flex-grow: 1;
}

.page-resources-how-to-download-win55-app__faq-toggle {
    font-size: 1.5em;
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.page-resources-how-to-download-win55-app__faq-item[open] .page-resources-how-to-download-win55-app__faq-toggle {
    transform: rotate(45deg); /* Change + to X or similar */
}

.page-resources-how-to-download-win55-app__faq-answer {
    padding: 20px 25px;
    font-size: 1.05em;
    color: #555555;
    background-color: #FFFFFF;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-resources-how-to-download-win55-app__main-title {
        font-size: 3em;
    }
    .page-resources-how-to-download-win55-app__intro-description {
        font-size: 1.1em;
    }
    .page-resources-how-to-download-win55-app__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    /* Mobile-specific styles */
    .page-resources-how-to-download-win55-app__hero-section {
        height: 450px;
    }
    .page-resources-how-to-download-win55-app__main-title {
        font-size: 2.2em;
    }
    .page-resources-how-to-download-win55-app__intro-description {
        font-size: 1em;
    }
    .page-resources-how-to-download-win55-app__section {
        padding: 20px 15px;
        margin: 20px auto;
    }
    .page-resources-how-to-download-win55-app__section-title {
        font-size: 1.8em;
        margin-bottom: 20px;
    }
    .page-resources-how-to-download-win55-app__subtitle {
        font-size: 1.5em;
    }
}