/*
 Theme Name:   Astra Child
 Theme URI:    https://example.com/astra-child
 Description: Astra Child Theme
 Author:       Astra Studio
 Author URI:   https://example.com
 Template:     astra
 Version:      1.0.0
 Text Domain:  astra-child
*/


/* =========================
   Fonts
========================= */
@import url('https://fonts.googleapis.com/css2?family=Red+Hat+Display:wght@400;500;700&display=swap');


/* =========================
   Layout – Desktop
========================= */
@media (min-width: 922px) {

    .site-content .ast-container {
        display: block !important;
    }

    .entry-header.ast-no-thumbnail,
    .entry-content {
        max-width: 1240px;
        margin-left: auto;
        margin-right: auto;
        padding-left: 20px;
        padding-right: 20px;
    }

    h2 {
        margin-bottom: 35px;
    }
}


/* =========================
   Layout – Tablet & Mobile
========================= */
@media (max-width: 921px) {

    .entry-header.ast-no-thumbnail,
    .entry-content {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        padding-left: 20px;
        padding-right: 20px;
    }
}


/* =========================
   Entry / Content
========================= */
.entry-header.ast-no-thumbnail {
    margin-top: 40px;
}

.entry-content .content-block .ast-container {
    padding-left: 0px;
    padding-right: 0px;
}

.site-content > .ast-container {
    max-width: 100%;
    padding: 0;
}


/* =========================
   Star Rating
========================= */
.star-rating {
    display: flex;
    justify-content: center;
}

/* Original selector kept (typo-safe) */
@media (max-width: 767px) {
    star-rating .star {
        font-size: 20px;
    }
}

/* Added corrected selector (non-destructive) */
@media (max-width: 767px) {
    .star-rating .star {
        font-size: 20px;
    }
}


/* =========================
   Footer – General
========================= */
.site-above-footer-wrap[data-section="section-above-footer-builder"],
.site-primary-footer-wrap[data-section="section-primary-footer-builder"],
.site-below-footer-wrap[data-section="section-below-footer-builder"] {
    background: #161E69;
    border: none;
    margin: 0 !important;
    padding-bottom: 15px;
}

.site-footer {
    overflow: hidden;
}

.ast-footer-copyright {
    text-align: center;
}

.ast-footer-copyright p {
    color: white;
}


/* =========================
   Footer – Above
========================= */
.site-above-footer-wrap[data-section="section-above-footer-builder"] {
    margin: 60px 0 0;
    padding-bottom: 0;
    font-family: 'Red Hat Display', sans-serif;
    font-weight: 400;
    font-size: 20px;
    text-align: left;
}

.site-above-footer-wrap[data-section="section-above-footer-builder"] p {
    color: white;
}


/* =========================
   Footer – Primary & Below
========================= */
.site-primary-footer-wrap[data-section="section-primary-footer-builder"] {
    padding: 10px 0 70px;
}

.site-below-footer-wrap[data-section="section-below-footer-builder"] {
    padding-top: 0;
}

.site-below-footer-wrap[data-section="section-below-footer-builder"]
.ast-builder-grid-row {
    min-height: unset;
}


/* =========================
   Footer Menu
========================= */
#astra-footer-menu li {
    display: inline-block;
    position: relative;
    margin-right: 15px;
}

#astra-footer-menu li a,
#astra-footer-menu .menu-link {
    font-family: 'Red Hat Display', sans-serif;
    font-weight: 500;
    font-size: 18px;
    color: white;
    text-decoration: none;
    padding-right: 10px;
}

#astra-footer-menu li:not(:last-child)::after {
    content: "|";
    color: white;
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 400;
}

@media (max-width: 544px) {
    .footer-widget-area[data-section="section-footer-menu"]
    .astra-footer-mobile-vertical-menu {
        display: flex;
        justify-content: left;
    }
}


/* =========================
   Play Safe Section
========================= */
.play-safe-title {
    color: white;
    font-family: 'Red Hat Display', sans-serif !important;
    font-size: 22px;
    font-weight: 300;
    margin-bottom: 20px;
    text-align: left;
}

.play-safe-wrap {
    flex-wrap: wrap;
    align-items: center;
    background-color: #020A55;
    border: 1px solid #094B91;
    padding: 20px;
    border-radius: 10px;
}

.play-safe {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}


/* =========================
   Header / Mobile
========================= */
[data-section="section-header-mobile-trigger"]
.ast-button-wrap
.mobile-menu-toggle-icon
.ast-mobile-svg {
    fill: #ffffff;
}

.header-banner-wrapper {
    background: #25293d;
}


/* =========================
   Custom Footer
========================= */
.custom-footer {
    color: #fff;
    position: relative;
    background: radial-gradient(
        ellipse 144% 476% at top center,
        #084E94 0%,
        #161E69 22%
    );
    padding: 50px 0 20px !important;
}

.custom-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 3px;
    width: 100%;
    background: linear-gradient(
        90deg,
        transparent 10%,
        white 45%,
        transparent 90%
    );
}

@media (min-width: 1200px) {
    .custom-footer .ast-container {
        padding-left: 0;
        padding-right: 0;
    }
}


/* =========================
   Utilities
========================= */
.flex {
    display: flex;
}

.w-full {
    width: 100%;
}

.relative {
    position: relative;
}

.white {
    color: white;
}

p {
    margin-bottom: 0;
}

.admin-bar #page {
    min-height: unset;
}


/* =========================
   Headings
========================= */
h2.item-title,
.content-block h2,
h2 {
    margin-bottom: 40px !important;
}


/* =========================
   Astra Footer Grid
========================= */
.ast-builder-footer-grid-columns {
    max-height: 100px;
}
