/* =========================================================
   Page Hero Banner – Shared / Common CSS
   Used by: Webinar, Magazine, and any future similar pages.
   
   HTML structure:
   <section class="page-hero">
     <div class="container page-hero__inner">
       <h1 class="page-hero__title">Page Title</h1>
       <p class="page-hero__subtitle">Subtitle text here</p>
     </div>
   </section>

   To use a custom background image per page, add a modifier
   class on the <section> and override --page-hero-bg in that
   page's own CSS file, e.g.:
     .page-hero--webinar { --page-hero-bg: url(../image/news-press/web.png); }
   ========================================================= */

/* ---- Base Section ---- */
.page-hero {
    background-image: var(--page-hero-bg, url(../image/news-press/web.png));
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 558px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    padding-top: 120px;
    padding-bottom: 120px;
}

/* Disable fixed attachment on iOS (causes blank bg bug) */
@supports (-webkit-touch-callout: none) {
    .page-hero {
        background-attachment: scroll;
    }
}

/* ---- Inner Container ---- */
.page-hero__inner {
    text-align: center;
    width: 100%;
    margin: 0 auto;
}

/* ---- Title ---- */
.page-hero__title {
    color: #ffffff;
    font-family: "Google Sans", sans-serif;
    font-size: 80px;
    font-weight: 600;
    line-height: 100%;
    letter-spacing: 0.02em;
    text-align: center;
    margin: 0 auto 24px auto;
    text-shadow: 0px 0px 36px rgba(255, 255, 255, 0.45);
}

/* ---- Subtitle ---- */
.page-hero__subtitle {
    margin: 0 auto;
    max-width: 982px;
    color: #ffffff;
    font-family: "Roboto", sans-serif;
    font-size: 24px;
    line-height: 34px;
    font-weight: 400;
    letter-spacing: 0.03em;
    text-align: center;
    opacity: 0.7;
}

/* =========================================================
   Responsive Breakpoints
   ========================================================= */

/* ---- Large Desktop (<= 1680px) ---- */
@media (max-width: 1680px) {
    .page-hero__title {
        font-size: 64px;
    }

    .page-hero__subtitle {
        max-width: 860px;
        font-size: 20px;
        line-height: 30px;
    }
}

/* ---- Tablet (<= 1024px) ---- */
@media (max-width: 1024px) {
    .page-hero {
        background-image: var(--page-hero-bg-tab, url(../image/news-press/tab.png));
        background-attachment: unset;
        padding-top: 150px;
        padding-bottom: 90px;
        background-position: center;
        height: 533px;
    }

    .page-hero__title {
        font-size: 38px;
        line-height: 100%;
        letter-spacing: 0.02em;
        max-width: 434px;
        margin-bottom: 16px;
    }

    .page-hero__subtitle {
        font-size: 20px;
        line-height: 26px;
        letter-spacing: 0;
        max-width: 434px;
    }
}

/* ---- Mobile (<= 767px) ---- */
@media (max-width: 767px) {
    .page-hero {
        background-image: var(--page-hero-bg-mob, url(../image/news-press/mob.png));
        padding-top: 80px;
        padding-bottom: 70px;
    }

    .page-hero__title {
        font-size: 28px;
        line-height: 100%;
        letter-spacing: 0.02em;
        max-width: 343px;
        margin-bottom: 14px;
    }

    .page-hero__subtitle {
        font-size: 16px;
        line-height: 140%;
        letter-spacing: 0;
        max-width: 343px;
    }
}

@media (max-width: 600px) {
    .page-hero {
        padding-top: 160px;
        background-position: bottom;
        height: 566px;
    }
}