/* General styles for .page-about */
.page-about {
    font-family: Arial, sans-serif;
    color: #333333; /* Dark text on default light body background */
    line-height: 1.6;
    background-color: #FFFFFF; /* Explicitly set for clarity */
}

.page-about__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 15px;
    box-sizing: border-box;
}

.page-about__section-title {
    font-size: 2.5em;
    color: #26A9E0; /* Brand primary color for titles */
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
}

.page-about__section-title--white {
    color: #FFFFFF;
}

.page-about__section-description {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #555555;
}

.page-about__section-description--white {
    color: #f0f0f0;
}

/* Buttons */
.page-about__btn-primary,
.page-about__btn-secondary,
.page-about__btn-link {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    text-align: center;
    cursor: pointer;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
}

.page-about__btn-primary {
    background-color: #26A9E0;
    color: #FFFFFF;
    border: 2px solid #26A9E0;
}

.page-about__btn-primary:hover {
    background-color: #1a8cc7;
    border-color: #1a8cc7;
}

.page-about__btn-secondary {
    background-color: #FFFFFF;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-about__btn-secondary:hover {
    background-color: #f0f0f0;
    color: #1a8cc7;
    border-color: #1a8cc7;
}

.page-about__btn-link {
    background: none;
    color: #26A9E0;
    border: none;
    padding: 0;
    text-decoration: underline;
}

.page-about__btn-link:hover {
    color: #1a8cc7;
}

/* Images */
.page-about img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Hero Section */
.page-about__hero-section {
    position: relative;
    padding-top: 10px; /* Adhering to the ~10px top padding rule for hero */
    margin-bottom: 40px;
    background-color: #f8f8f8;
}

.page-about__hero-image-wrapper {
    width: 100%;
    overflow: hidden;
}

.page-about__hero-image {
    width: 100%;
    height: 675px; /* Fixed height for desktop hero, will be auto on mobile */
    object-fit: cover;
}

.page-about__hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 15px;
    text-align: center;
}

.page-about__hero-title {
    font-weight: 800;
    line-height: 1.2;
    color: #000000;
    margin-bottom: 20px;
    font-size: clamp(2em, 4vw, 3.5em); /* Example clamp for H1 */
}

.page-about__hero-description {
    font-size: 1.2em;
    color: #555555;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-about__hero-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Content Grid for sections */
.page-about__content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.page-about__content-grid--reverse {
    grid-template-areas: "image text"; /* Default desktop order */
}

.page-about__content-grid--reverse .page-about__image-block {
    grid-area: image;
}

.page-about__content-grid--reverse .page-about__text-block {
    grid-area: text;
}


.page-about__text-block {
    font-size: 1.1em;
    line-height: 1.7;
    color: #333333;
}

.page-about__text-block--white {
    color: #FFFFFF;
}

.page-about__image-block {
    text-align: center;
}

/* Section Specific Backgrounds */
.page-about__introduction-section,
.page-about__services-section,
.page-about__commitment-section,
.page-about__faq-section {
    background-color: #FFFFFF;
    padding: 60px 0;
}

.page-about__philosophy-section,
.page-about__team-section,
.page-about__future-section {
    background-color: #26A9E0; /* Brand primary color for dark sections */
    padding: 60px 0;
}

/* Services Grid */
.page-about__services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.page-about__service-card {
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 380px; /* Ensure cards have similar height */
}

.page-about__service-icon {
    width: 100%;
    height: 200px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 5px;
}

.page-about__service-title {
    font-size: 1.5em;
    color: #26A9E0;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-about__service-text {
    color: #555555;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-about__cta-bottom {
    text-align: center;
    margin-top: 40px;
}

/* Commitment Grid */
.page-about__commitment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-about__commitment-item {
    background-color: #f8f8f8;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 220px;
}

.page-about__commitment-title {
    font-size: 1.4em;
    color: #26A9E0;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-about__commitment-text {
    color: #555555;
    line-height: 1.6;
    flex-grow: 1;
}

/* FAQ Section */
.page-about__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-about__faq-item {
    background-color: #f8f8f8;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-about__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2em;
    font-weight: bold;
    color: #333333;
    cursor: pointer;
    background-color: #eaf7fc; /* Light blue background for summary */
    border-bottom: 1px solid #d0e8f0;
    list-style: none; /* Hide default marker for details */
}

/* Hide default details marker for Webkit browsers */
.page-about__faq-item summary::-webkit-details-marker {
    display: none;
}

.page-about__faq-qtext {
    flex-grow: 1;
}

.page-about__faq-toggle {
    font-size: 1.5em;
    margin-left: 15px;
    color: #26A9E0;
    line-height: 1;
    transition: transform 0.3s ease;
}

/* The '+' will rotate to form an 'x' or simply change to '-' via JS, but this CSS helps visual */
.page-about__faq-item[open] .page-about__faq-toggle {
    transform: rotate(45deg); 
}

.page-about__faq-answer {
    padding: 20px;
    font-size: 1em;
    color: #555555;
    background-color: #FFFFFF;
    border-top: 1px solid #eee;
}

.page-about__faq-answer p {
    margin-bottom: 10px;
}

.page-about__faq-answer p:last-child {
    margin-bottom: 0;
}

/* Homepage specific elements from prompt - MUST BE INCLUDED */
.page-about__home-content{border:1px solid #FBB00D;border-radius:10px;height:650px;overflow-y:auto}
.page-about__row-games,.page-about__row-sport,.page-about__row-coop{background-color:#1A202C;padding:40px 20px;max-width:1330px;margin:0 auto}
.page-about__games-title,.page-about__sport-title,.page-about__coop-title{color:#fff;text-align:center}
.page-about__slider-wrapper{overflow:hidden}
.page-about__slider-track{display:flex;flex-wrap:nowrap;gap:16px}
.page-about__game-slide{flex:0 0 200px;max-width:200px}
.page-about__banners-top-wrapper{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;max-width:900px;margin:0 auto}
.page-about__banner-item img{object-fit:contain;margin:0 auto;display:block}
.page-about__blog-masonry{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;align-items:stretch}
.page-about__blog-card-link{display:flex;flex-direction:column;height:100%}
.page-about__btn-outline{margin-top:auto}
.page-about__blog-slider-track{display:flex;flex-wrap:nowrap;gap:20px}
.page-about__blog-slide{flex:0 0 calc(33.333% - 14px);max-width:calc(33.333% - 14px)}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .page-about__container {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* General text adjustments */
    .page-about {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-about__section-title {
        font-size: 1.8em;
        margin-bottom: 20px;
    }

    .page-about__section-description {
        font-size: 1em;
        margin-bottom: 30px;
    }

    /* Hero Section */
    .page-about__hero-section {
        padding-top: 10px; /* Still ~10px */
        margin-bottom: 30px;
    }

    .page-about__hero-image {
        height: 250px;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
    }

    .page-about__hero-content {
        padding: 20px 15px;
    }

    .page-about__hero-title {
        font-size: clamp(1.5em, 7vw, 2.5em); /* Adjust H1 size for mobile */
        margin-bottom: 15px;
    }

    .page-about__hero-description {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .page-about__hero-cta {
        flex-direction: column;
        gap: 15px;
    }

    .page-about__btn-primary,
    .page-about__btn-secondary,
    .page-about__btn-link {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 10px 15px;
        font-size: 1em;
    }

    /* Content Grid */
    .page-about__content-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .page-about__content-grid--reverse {
        grid-template-areas: unset; /* Remove grid areas for mobile */
    }

    .page-about__content-grid--reverse .page-about__image-block,
    .page-about__content-grid--reverse .page-about__text-block {
        grid-area: unset;
    }

    .page-about__text-block {
        font-size: 1em;
    }

    /* Image responsiveness for all images */
    .page-about img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }
    .page-about__image-block {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Service Cards */
    .page-about__services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-about__service-card {
        min-height: unset;
        padding: 20px;
    }
    .page-about__service-icon {
        height: 150px;
        margin-bottom: 15px;
    }
    .page-about__service-title {
        font-size: 1.3em;
    }

    /* Commitment Items */
    .page-about__commitment-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-about__commitment-item {
        min-height: unset;
        padding: 20px;
    }
    .page-about__commitment-title {
        font-size: 1.2em;
    }

    /* FAQ Section */
    .page-about__faq-question {
        font-size: 1.1em;
        padding: 15px;
    }
    .page-about__faq-answer {
        font-size: 0.95em;
        padding: 15px;
    }
    /* Homepage specific elements from prompt - MUST BE INCLUDED */
    .page-about__blog-masonry{grid-template-columns:1fr}
    .page-about__game-slide{flex:0 0 160px;max-width:160px}
    .page-about__banners-top-wrapper{grid-template-columns:repeat(3,minmax(0,1fr))}
    .page-about__blog-slide{flex:0 0 100%;max-width:100%}
}