/* =========================================================
   MASTIEL OPENING EVENT
   opening.css
   Версия 3.0 — аккуратная стильная мобильная версия
   Главная + sticky + карточка новости + страница открытия
========================================================= */

:root {
    --mastiel-blue: #1F4072;
    --mastiel-blue-dark: #173152;
    --mastiel-blue-mid: #2b5a9a;
    --mastiel-blue-soft: #f3f7ff;

    --mastiel-coral: #D8544E;
    --mastiel-coral-dark: #b8433d;
    --mastiel-coral-soft: #fff4f2;

    --mastiel-pink: #FF7E7E;
    --mastiel-pink-dark: #ef6b6b;
    --mastiel-pink-soft: #fff3f3;

    --mastiel-text: #252B34;
    --mastiel-muted: #5f6876;
    --mastiel-muted-2: #7b8491;
    --mastiel-white: #ffffff;

    --mastiel-line: #e7ebf2;
    --mastiel-border: rgba(31, 64, 114, 0.10);
    --mastiel-border-soft: rgba(31, 64, 114, 0.06);

    --mastiel-shadow-lg: 0 24px 70px rgba(31, 64, 114, 0.14);
    --mastiel-shadow-md: 0 16px 42px rgba(31, 64, 114, 0.11);
    --mastiel-shadow-sm: 0 9px 26px rgba(31, 64, 114, 0.08);

    --mastiel-radius-xl: 34px;
    --mastiel-radius-lg: 22px;
    --mastiel-radius-md: 16px;
    --mastiel-radius-sm: 12px;

    --mastiel-container: 1180px;
    --mastiel-event-container: 1040px;
}

/* =========================================================
   BASE / ISOLATION
========================================================= */

.mastiel-opening-hero,
.mastiel-opening-sticky,
.mastiel-opening-news-card,
.mastiel-opening-page,
.mastiel-event-warm-intro,
.mastiel-event-place,
.mastiel-event-final-cta {
    box-sizing: border-box;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

.mastiel-opening-hero *,
.mastiel-opening-sticky *,
.mastiel-opening-news-card *,
.mastiel-opening-page *,
.mastiel-event-warm-intro *,
.mastiel-event-place *,
.mastiel-event-final-cta * {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

.mastiel-opening-hero,
.mastiel-opening-page,
.mastiel-event-warm-intro,
.mastiel-event-place {
    width: 100%;
    overflow-x: hidden;
}

.mastiel-opening-hero .container,
.mastiel-opening-page .container,
.mastiel-event-warm-intro .container,
.mastiel-event-place .container {
    width: min(calc(100% - 40px), var(--mastiel-container));
    max-width: var(--mastiel-container);
    margin-left: auto;
    margin-right: auto;
}

.mastiel-opening-page img,
.mastiel-opening-hero img,
.mastiel-opening-news-card img,
.mastiel-event-place img {
    max-width: 100%;
}

.mastiel-opening-page a,
.mastiel-opening-hero a,
.mastiel-opening-sticky a,
.mastiel-opening-news-card a {
    -webkit-touch-callout: none;
}

/* =========================================================
   COMMON BUTTONS
========================================================= */

.mastiel-opening-btn,
.mastiel-opening-sticky__btn,
.mastiel-opening-sticky__more,
.mastiel-opening-sticky__close {
    -webkit-appearance: none;
    appearance: none;
}

.mastiel-opening-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 14px 24px;
    border: 0;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.1;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition:
            transform 0.18s ease,
            box-shadow 0.18s ease,
            background-color 0.18s ease,
            color 0.18s ease,
            border-color 0.18s ease;
    -webkit-user-select: none;
    user-select: none;
}

.mastiel-opening-btn:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

.mastiel-opening-btn:active {
    transform: translateY(0) scale(0.98);
}

.mastiel-opening-btn--primary {
    color: #fff;
    background: var(--mastiel-coral);
    box-shadow: 0 12px 26px rgba(216, 84, 78, 0.22);
}

.mastiel-opening-btn--primary:hover {
    color: #fff;
    background: var(--mastiel-coral-dark);
    box-shadow: 0 15px 32px rgba(216, 84, 78, 0.26);
}

.mastiel-opening-btn--secondary {
    color: var(--mastiel-blue);
    background: #fff;
    border: 1px solid rgba(31, 64, 114, 0.25);
    box-shadow: 0 8px 20px rgba(31, 64, 114, 0.05);
}

.mastiel-opening-btn--secondary:hover {
    color: var(--mastiel-blue);
    border-color: rgba(31, 64, 114, 0.45);
    background: var(--mastiel-blue-soft);
}

/* =========================================================
   MAIN PAGE HERO EVENT BLOCK
========================================================= */

.mastiel-opening-hero {
    position: relative;
    padding: 50px 0 34px;
    background:
            radial-gradient(circle at 10% 10%, rgba(255, 126, 126, 0.16), transparent 30%),
            radial-gradient(circle at 90% 18%, rgba(31, 64, 114, 0.11), transparent 30%),
            linear-gradient(180deg, #fff8f5 0%, #ffffff 48%, #f6f9ff 100%);
}

.mastiel-opening-hero::before,
.mastiel-opening-hero::after {
    content: "";
    position: absolute;
    z-index: 0;
    border-radius: 50%;
    pointer-events: none;
}

.mastiel-opening-hero::before {
    width: 230px;
    height: 230px;
    top: -85px;
    left: -80px;
    background: rgba(255, 126, 126, 0.12);
}

.mastiel-opening-hero::after {
    width: 270px;
    height: 270px;
    right: -100px;
    bottom: -115px;
    background: rgba(31, 64, 114, 0.10);
}

.mastiel-opening-hero__body {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.72fr);
    gap: 30px;
    align-items: stretch;
    width: 100%;
    padding: 36px;
    border: 1px solid rgba(31, 64, 114, 0.08);
    border-radius: var(--mastiel-radius-xl);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--mastiel-shadow-lg);
}

.mastiel-opening-hero__content,
.mastiel-opening-hero__card {
    min-width: 0;
}

.mastiel-opening-hero__eyebrow,
.mastiel-opening-page .mastiel-opening-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    margin-bottom: 16px;
    padding: 10px 16px;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, var(--mastiel-blue) 0%, var(--mastiel-blue-mid) 100%);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: 0.02em;
    box-shadow: 0 10px 24px rgba(31, 64, 114, 0.20);
}

.mastiel-opening-hero__title {
    max-width: 820px;
    margin: 0 0 18px;
    color: var(--mastiel-blue);
    font-size: clamp(32px, 4vw, 56px);
    line-height: 1.04;
    letter-spacing: -0.035em;
    text-wrap: balance;
}

.mastiel-opening-hero__text {
    max-width: 760px;
    margin: 0 0 22px;
    color: var(--mastiel-text);
    font-size: 19px;
    line-height: 1.55;
}

.mastiel-opening-hero__meta {
    display: grid;
    gap: 10px;
    margin-bottom: 24px;
}

.mastiel-opening-hero__meta > div {
    position: relative;
    padding-left: 18px;
    color: var(--mastiel-text);
    font-size: 16px;
    line-height: 1.45;
}

.mastiel-opening-hero__meta > div::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.68em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--mastiel-pink);
    box-shadow: 0 0 0 5px rgba(255, 126, 126, 0.14);
}

.mastiel-opening-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.mastiel-opening-hero__note {
    margin-top: 14px;
    color: var(--mastiel-muted);
    font-size: 14px;
    line-height: 1.45;
}

.mastiel-opening-hero__card {
    position: relative;
    padding: 26px;
    border-radius: var(--mastiel-radius-lg);
    color: #fff;
    background:
            radial-gradient(circle at top right, rgba(255, 255, 255, 0.13), transparent 31%),
            linear-gradient(160deg, var(--mastiel-blue) 0%, var(--mastiel-blue-dark) 100%);
    box-shadow: 0 18px 38px rgba(31, 64, 114, 0.22);
    overflow: hidden;
}

.mastiel-opening-hero__card::after {
    content: "";
    position: absolute;
    width: 170px;
    height: 170px;
    right: -70px;
    top: -70px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}

.mastiel-opening-hero__card-title {
    position: relative;
    z-index: 1;
    margin-bottom: 18px;
    font-size: 25px;
    font-weight: 900;
    line-height: 1.12;
}

.mastiel-opening-hero__point {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    margin-bottom: 14px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.10);
}

.mastiel-opening-hero__point span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--mastiel-blue);
    background: #fff;
    font-size: 14px;
    font-weight: 900;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);
}

.mastiel-opening-hero__point p {
    margin: 0;
    font-size: 15px;
    line-height: 1.48;
}

.mastiel-opening-hero__gift {
    position: relative;
    z-index: 1;
    margin-top: 16px;
    padding: 14px 15px;
    border-radius: 17px;
    color: #fff;
    background: linear-gradient(135deg, var(--mastiel-pink) 0%, #ff9d82 100%);
    font-weight: 800;
    line-height: 1.4;
    box-shadow: 0 12px 26px rgba(255, 126, 126, 0.24);
}

/* =========================================================
   MAIN PAGE NEWS CARD
========================================================= */

.mastiel-opening-news-card {
    overflow: hidden;
    border: 1px solid rgba(31, 64, 114, 0.08);
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--mastiel-shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mastiel-opening-news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--mastiel-shadow-md);
}

.mastiel-opening-news-card__img {
    position: relative;
    display: block;
    min-height: 220px;
    overflow: hidden;
    border-radius: 0;
    background:
            radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.16), transparent 24%),
            radial-gradient(circle at 82% 20%, rgba(255, 126, 126, 0.30), transparent 30%),
            linear-gradient(135deg, var(--mastiel-blue) 0%, #2b5a9a 55%, #5f7db0 100%);
    text-decoration: none;
}

.mastiel-opening-news-card__img img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
    object-position: center;
}

.mastiel-opening-news-card__date-big {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 136px;
    height: 136px;
    border-radius: 50%;
    color: var(--mastiel-blue);
    background: rgba(255, 255, 255, 0.98);
    text-align: center;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
    transform: translate(-50%, -50%);
}

.mastiel-opening-news-card__date-big span {
    display: block;
    margin-bottom: 2px;
    font-size: 48px;
    line-height: 1;
}

.mastiel-opening-news-card .interesting__date {
    color: var(--mastiel-pink-dark);
    font-weight: 700;
}

.mastiel-opening-news-card .interesting__offer a {
    color: var(--mastiel-blue);
}

.mastiel-opening-news-card .interesting__desc {
    color: var(--mastiel-muted);
    line-height: 1.55;
}

.mastiel-opening-news-card .interesting__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, var(--mastiel-blue) 0%, var(--mastiel-blue-mid) 100%);
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 12px 24px rgba(31, 64, 114, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mastiel-opening-news-card .interesting__btn:hover {
    transform: translateY(-2px);
    color: #fff;
    box-shadow: 0 16px 30px rgba(31, 64, 114, 0.24);
}

/* =========================================================
   STICKY CTA
========================================================= */

.mastiel-opening-sticky {
    position: fixed;
    left: 50%;
    bottom: calc(16px + env(safe-area-inset-bottom));
    z-index: 99990;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    width: min(980px, calc(100% - 32px));
    padding: 16px 18px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 24px;
    color: #fff;
    background: linear-gradient(135deg, rgba(31, 64, 114, 0.98) 0%, rgba(23, 49, 82, 0.98) 100%);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.24);
    transform: translateX(-50%);
    animation: mastielStickyIn 0.42s ease;
    backdrop-filter: blur(12px);
}

@keyframes mastielStickyIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.mastiel-opening-sticky__close {
    position: absolute;
    top: -10px;
    right: -10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    color: var(--mastiel-blue);
    background: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.mastiel-opening-sticky__close:active {
    transform: scale(0.92);
}

.mastiel-opening-sticky__content {
    min-width: 0;
}

.mastiel-opening-sticky__title {
    margin-bottom: 4px;
    font-size: 18px;
    font-weight: 900;
    line-height: 1.2;
}

.mastiel-opening-sticky__text {
    color: rgba(255, 255, 255, 0.84);
    font-size: 14px;
    line-height: 1.45;
}

.mastiel-opening-sticky__actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.mastiel-opening-sticky__btn,
.mastiel-opening-sticky__more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    -webkit-user-select: none;
    user-select: none;
}

.mastiel-opening-sticky__btn:hover,
.mastiel-opening-sticky__more:hover {
    transform: translateY(-1px);
    text-decoration: none;
}

.mastiel-opening-sticky__btn:active,
.mastiel-opening-sticky__more:active {
    transform: translateY(0) scale(0.97);
}

.mastiel-opening-sticky__btn {
    color: #fff;
    background: linear-gradient(135deg, var(--mastiel-pink) 0%, var(--mastiel-pink-dark) 100%);
    box-shadow: 0 12px 24px rgba(255, 126, 126, 0.24);
}

.mastiel-opening-sticky__btn:hover {
    color: #fff;
}

.mastiel-opening-sticky__more {
    color: #fff;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.10);
}

.mastiel-opening-sticky__more:hover {
    color: #fff;
}

.mastiel-opening-sticky.is-hidden {
    display: none;
}

/* =========================================================
   EVENT PAGE
========================================================= */

.mastiel-opening-page {
    --mop-line: #e5eaf2;
    --mop-surface: #f7faff;
    --mop-surface-2: #fff8f7;
    --mop-body: #3a424d;

    position: relative;
    color: var(--mastiel-text);
    background:
            radial-gradient(circle at 100% 0%, rgba(31, 64, 114, 0.06), transparent 28%),
            linear-gradient(180deg, #ffffff 0%, #ffffff 48%, #f8fbff 100%);
}

.mastiel-opening-page::before {
    content: "";
    position: absolute;
    top: 118px;
    right: max(-120px, calc((100vw - var(--mastiel-event-container)) / 2 - 220px));
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: rgba(255, 126, 126, 0.08);
    pointer-events: none;
}

.mastiel-opening-page-hero {
    position: relative;
    z-index: 1;
    padding: clamp(34px, 5vw, 64px) 0 clamp(12px, 2vw, 22px);
}

.mastiel-opening-page-hero .container,
.mastiel-opening-page-content__grid,
.mastiel-event-warm-intro__inner,
.mastiel-event-place__body,
.mastiel-event-final-cta {
    max-width: var(--mastiel-event-container);
}

/* HERO */

.mastiel-opening-page__back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    margin-bottom: clamp(22px, 3vw, 34px);
    color: var(--mastiel-muted);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
    text-decoration: none;
    transition: color 0.18s ease;
    -webkit-user-select: none;
    user-select: none;
}

.mastiel-opening-page__back:hover {
    color: var(--mastiel-blue);
    text-decoration: none;
}

.mastiel-opening-page__back-arrow {
    display: inline-block;
    transition: transform 0.18s ease;
}

.mastiel-opening-page__back:hover .mastiel-opening-page__back-arrow {
    transform: translateX(-3px);
}

.mastiel-opening-page-hero__date {
    display: inline-flex;
    width: fit-content;
    max-width: 100%;
    margin: 0 0 14px;
    padding: 8px 12px;
    border: 1px solid rgba(216, 84, 78, 0.18);
    border-radius: 999px;
    color: var(--mastiel-coral-dark);
    background: rgba(216, 84, 78, 0.06);
    font-family: "Stem-Medium", sans-serif;
    font-size: clamp(14px, 1.3vw, 17px);
    line-height: 1.2;
}

.mastiel-opening-page-hero__title {
    max-width: 19ch;
    margin: 0 0 20px;
    font-family: "Stem-Medium", sans-serif;
    color: var(--mastiel-blue);
    font-size: clamp(31px, 4.7vw, 56px);
    line-height: 1.04;
    letter-spacing: -0.032em;
    text-wrap: balance;
}

.mastiel-opening-page-hero__rule {
    display: block;
    width: 54px;
    height: 3px;
    margin: 0 0 22px;
    border-radius: 999px;
    background: var(--mastiel-coral);
}

.mastiel-opening-page-hero__lead {
    max-width: 65ch;
    margin: 0 0 26px;
    color: var(--mastiel-text);
    font-size: clamp(17px, 1.5vw, 19px);
    line-height: 1.62;
}

.mastiel-opening-page-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: clamp(26px, 4vw, 42px);
}

.mastiel-opening-page-hero__meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
}

.mastiel-opening-page-hero__meta-item {
    min-width: 0;
    padding: 18px;
    border: 1px solid rgba(31, 64, 114, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 10px 24px rgba(31, 64, 114, 0.05);
}

.mastiel-opening-page-hero__meta-label {
    margin-bottom: 8px;
    color: var(--mastiel-muted);
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.mastiel-opening-page-hero__meta-value {
    margin: 0;
    color: var(--mastiel-blue);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.38;
}

.mastiel-opening-page-hero__meta-note {
    margin: 4px 0 0;
    color: var(--mastiel-muted);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.35;
}

/* INTRO */

.mastiel-event-warm-intro {
    position: relative;
    padding: clamp(40px, 6vw, 72px) 0;
    border-top: 1px solid rgba(31, 64, 114, 0.05);
    border-bottom: 1px solid var(--mop-line);
    background:
            radial-gradient(circle at 0% 0%, rgba(216, 84, 78, 0.07), transparent 26%),
            linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.mastiel-event-warm-intro__inner {
    margin: 0 auto;
}

.mastiel-event-warm-intro__lead {
    max-width: 24ch;
    margin: 0 0 18px;
    font-family: "Stem-Medium", sans-serif;
    color: var(--mastiel-blue);
    font-size: clamp(23px, 2.7vw, 32px);
    line-height: 1.24;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

.mastiel-event-warm-intro__text {
    max-width: 70ch;
    margin: 0 0 22px;
    color: var(--mop-body);
    font-size: clamp(16px, 1.4vw, 18px);
    line-height: 1.68;
}

.mastiel-event-warm-intro__audiences {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: var(--mastiel-muted);
    font-size: 14px;
    font-weight: 700;
}

.mastiel-event-warm-intro__audiences span {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 7px 12px;
    border: 1px solid rgba(31, 64, 114, 0.08);
    border-radius: 999px;
    background: #fff;
}

.mastiel-event-warm-intro__audiences span + span::before {
    content: none;
}

/* ARTICLE BODY */

.mastiel-opening-page-content {
    position: relative;
    z-index: 1;
    padding: clamp(10px, 2vw, 18px) 0 clamp(28px, 4vw, 44px);
}

.mastiel-opening-page-content__grid {
    display: block;
    margin: 0 auto;
}

.mastiel-opening-page-article {
    display: block;
    min-width: 0;
}

.mastiel-opening-page-section {
    padding: clamp(36px, 5vw, 56px) 0;
    border-bottom: 1px solid var(--mop-line);
}

.mastiel-opening-page-section:first-child {
    padding-top: clamp(28px, 4vw, 42px);
}

.mastiel-opening-page-section:last-child {
    border-bottom: none;
}

.mastiel-opening-page-section h2 {
    margin: 0 0 18px;
    font-family: "Stem-Medium", sans-serif;
    color: var(--mastiel-blue);
    font-size: clamp(24px, 2.8vw, 32px);
    line-height: 1.18;
    letter-spacing: -0.024em;
    text-wrap: balance;
}

.mastiel-opening-page-section h3 {
    margin: 0 0 10px;
    color: var(--mastiel-text);
    font-size: 20px;
    line-height: 1.3;
}

.mastiel-opening-page-section > p {
    max-width: 65ch;
    margin: 0 0 16px;
    color: var(--mop-body);
    font-size: 17px;
    line-height: 1.7;
}

.mastiel-opening-page-section > p:last-child {
    margin-bottom: 0;
}

.mastiel-opening-page-section a {
    color: var(--mastiel-blue);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(31, 64, 114, 0.30);
    transition: text-decoration-color 0.18s ease, color 0.18s ease;
}

.mastiel-opening-page-section a:hover {
    color: var(--mastiel-coral-dark);
    text-decoration-color: var(--mastiel-coral);
}

.mastiel-opening-page-section strong {
    color: var(--mastiel-text);
}

.mastiel-opening-page-section__lead {
    margin: 0 0 22px !important;
    font-family: "Stem-Medium", sans-serif;
    color: var(--mastiel-text);
    font-size: clamp(17px, 1.6vw, 20px);
    line-height: 1.52;
}

/* INFO */

.mastiel-opening-page-info {
    display: block;
    margin: 28px 0 0;
    padding: 0;
    border-top: 1px solid var(--mop-line);
}

.mastiel-opening-page-info__item {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 20px;
    align-items: baseline;
    padding: 17px 0;
    border-bottom: 1px solid var(--mop-line);
}

.mastiel-opening-page-info__item span {
    color: var(--mastiel-muted);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.mastiel-opening-page-info__item strong {
    color: var(--mastiel-text);
    font-size: 16px;
    font-weight: 800;
    line-height: 1.45;
}

.mastiel-opening-page-info__item a {
    color: var(--mastiel-blue);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(31, 64, 114, 0.30);
}

.mastiel-opening-page-info__item a:hover {
    color: var(--mastiel-coral-dark);
    text-decoration-color: var(--mastiel-coral);
}

/* =========================================================
   SPEAKERS
========================================================= */

.mastiel-event-speakers {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 26px;
}

.mastiel-event-speaker-card {
    position: relative;
    display: grid;
    border: 1px solid rgba(31, 64, 114, 0.09);
    border-radius: 22px;
    background: var(--mastiel-white);
    box-shadow: 0 12px 32px rgba(31, 64, 114, 0.06);
    overflow: hidden;
}

.mastiel-event-speaker-card--photo {
    grid-template-columns: minmax(260px, 300px) minmax(0, 1fr);
}

.mastiel-event-speaker-card--official {
    grid-template-columns: minmax(0, 1fr);
}

.mastiel-event-speaker-card--feature {
    border-color: rgba(216, 84, 78, 0.20);
    background:
            radial-gradient(circle at 100% 0%, rgba(216, 84, 78, 0.10), transparent 34%),
            #fffaf9;
}

.mastiel-event-speaker-card--feature .mastiel-event-speaker-card__body {
    max-width: 68ch;
}

.mastiel-event-speaker-card--feature .mastiel-event-speaker-card__type {
    color: #fff;
    background: var(--mastiel-coral);
}

.mastiel-event-speaker-card--feature .mastiel-event-speaker-card__headline {
    font-size: clamp(20px, 2.2vw, 24px);
}

.mastiel-event-speaker-card__photo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 285px;
    padding: 14px;
    background:
            radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.85), transparent 34%),
            linear-gradient(180deg, #f9fbff 0%, #eef4ff 100%);
}

/* Важно: фото спикера не обрезаем */
.mastiel-event-speaker-card__photo img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 330px;
    min-height: 0;
    object-fit: contain;
    object-position: center top;
    border-radius: 16px;
}

.mastiel-event-speaker-card__body {
    display: flex;
    flex-direction: column;
    padding: 28px 30px;
}

.mastiel-event-speaker-card__type {
    align-self: flex-start;
    margin-bottom: 14px;
    padding: 6px 11px;
    border-radius: 999px;
    color: var(--mastiel-coral-dark);
    background: rgba(216, 84, 78, 0.08);
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.mastiel-event-speaker-card__headline {
    margin: 0 0 10px;
    font-family: "Stem-Medium", sans-serif;
    color: var(--mastiel-blue);
    font-size: clamp(19px, 1.8vw, 22px);
    line-height: 1.28;
    letter-spacing: -0.014em;
}

.mastiel-event-speaker-card__desc {
    margin: 0 0 18px;
    color: var(--mop-body);
    font-size: 15.5px;
    line-height: 1.62;
}

.mastiel-event-speaker-card__person {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--mop-line);
}

.mastiel-event-speaker-card__person strong {
    display: block;
    margin-bottom: 4px;
    font-family: "Stem-Medium", sans-serif;
    color: var(--mastiel-text);
    font-size: 15.5px;
    line-height: 1.3;
}

.mastiel-event-speaker-card__person span {
    display: block;
    color: var(--mastiel-muted);
    font-size: 13.5px;
    line-height: 1.5;
}

/* =========================================================
   PROGRAM / LISTS
========================================================= */

.mastiel-opening-page-benefits {
    display: grid;
    gap: 12px;
    list-style: none;
    margin: 24px 0 0;
    padding: 0;
}

.mastiel-opening-page-benefit {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    padding: 16px 18px;
    border: 1px solid rgba(31, 64, 114, 0.08);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(31, 64, 114, 0.045);
}

.mastiel-opening-page-benefit__bullet {
    display: inline-block;
    width: 18px;
    height: 2px;
    margin-top: 0.72em;
    border-radius: 2px;
    background: var(--mastiel-coral);
}

.mastiel-opening-page-benefit__text {
    margin: 0;
    color: var(--mastiel-text);
    font-size: 16px;
    line-height: 1.52;
}

.mastiel-opening-page-list {
    display: grid;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 24px 0 0;
}

.mastiel-opening-page-list__item {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 0;
    color: var(--mastiel-text);
    font-size: 16px;
    line-height: 1.58;
}

.mastiel-opening-page-list__icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--mastiel-coral);
}

/* =========================================================
   PLACE
========================================================= */

.mastiel-event-place {
    padding: clamp(42px, 6vw, 74px) 0;
    border-top: 1px solid var(--mop-line);
    background: #fff;
}

.mastiel-event-place__body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 1.04fr;
    gap: clamp(30px, 5vw, 62px);
    align-items: center;
    margin: 0 auto;
}

.mastiel-event-place__title {
    margin: 0 0 16px;
    font-family: "Stem-Medium", sans-serif;
    color: var(--mastiel-blue);
    font-size: clamp(24px, 2.8vw, 32px);
    line-height: 1.18;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

.mastiel-event-place__text {
    max-width: 48ch;
    margin: 0 0 22px;
    color: var(--mop-body);
    font-size: 16px;
    line-height: 1.66;
}

.mastiel-event-place__facts {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: fit-content;
    max-width: 100%;
}

.mastiel-event-place__address {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: fit-content;
    max-width: 100%;
    padding: 16px 18px;
    border: 1px solid rgba(31, 64, 114, 0.09);
    border-radius: 16px;
    background: var(--mop-surface);
}

.mastiel-event-place__address-label {
    color: var(--mastiel-muted);
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.mastiel-event-place__address-text {
    font-family: "Stem-Medium", sans-serif;
    color: var(--mastiel-blue);
    font-size: 15px;
    line-height: 1.42;
}

.mastiel-event-place__photo-container {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    aspect-ratio: 4 / 3;
    background: var(--mop-surface);
    margin: 0;
    box-shadow: 0 14px 38px rgba(31, 64, 114, 0.10);
}

.mastiel-event-place__photo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* =========================================================
   FINAL CTA
========================================================= */

.mastiel-event-final-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
    margin: clamp(40px, 6vw, 64px) auto 0;
    padding: clamp(30px, 5vw, 52px);
    border: 1px solid rgba(31, 64, 114, 0.10);
    border-radius: 24px;
    background:
            radial-gradient(circle at 100% 0%, rgba(216, 84, 78, 0.12), transparent 32%),
            linear-gradient(135deg, #f8fbff 0%, #ffffff 100%);
    box-shadow: 0 14px 40px rgba(31, 64, 114, 0.07);
}

.mastiel-event-final-cta__content {
    max-width: 560px;
}

.mastiel-event-final-cta__title {
    margin: 0 0 9px;
    font-family: "Stem-Medium", sans-serif;
    color: var(--mastiel-blue) !important;
    font-size: clamp(23px, 2.6vw, 30px);
    line-height: 1.18;
    letter-spacing: -0.02em;
}

.mastiel-event-final-cta__text {
    margin: 0;
    color: var(--mastiel-muted) !important;
    font-size: 15.5px;
    line-height: 1.62;
}

.mastiel-event-final-cta .mastiel-opening-btn {
    flex-shrink: 0;
}

/* =========================================================
   RESPONSIVE — TABLET
========================================================= */

@media (max-width: 1100px) {
    .mastiel-opening-hero__body {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 30px;
    }

    .mastiel-opening-page::before {
        opacity: 0.55;
    }
}

@media (max-width: 900px) {
    .mastiel-opening-page-hero__meta {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .mastiel-opening-page-hero__meta-item {
        padding: 16px 18px;
    }

    .mastiel-event-speaker-card--photo {
        grid-template-columns: 1fr;
    }

    .mastiel-event-speaker-card__photo {
        min-height: 0;
        padding: 18px;
    }

    .mastiel-event-speaker-card__photo img {
        width: auto;
        max-width: 100%;
        height: auto;
        max-height: 420px;
        object-fit: contain;
    }

    .mastiel-event-place__body {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .mastiel-event-place__photo-container {
        order: -1;
        aspect-ratio: 16 / 10;
    }

    .mastiel-event-final-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .mastiel-event-final-cta .mastiel-opening-btn {
        width: 100%;
    }
}

/* =========================================================
   RESPONSIVE — MOBILE
========================================================= */

@media (max-width: 768px) {
    .mastiel-opening-hero .container,
    .mastiel-opening-page .container,
    .mastiel-event-warm-intro .container,
    .mastiel-event-place .container {
        width: calc(100% - 28px);
        max-width: none;
    }

    .mastiel-opening-btn {
        min-height: 48px;
        padding: 13px 18px;
        font-size: 14px;
    }

    /* Main page Hero Mobile */

    .mastiel-opening-hero {
        padding: 24px 0 18px;
    }

    .mastiel-opening-hero__body {
        gap: 18px;
        padding: 20px;
        border-radius: var(--mastiel-radius-lg);
    }

    .mastiel-opening-hero__eyebrow,
    .mastiel-opening-page .mastiel-opening-hero__eyebrow {
        margin-bottom: 12px;
        padding: 8px 12px;
        font-size: 12px;
    }

    .mastiel-opening-hero__title {
        margin-bottom: 12px;
        font-size: clamp(28px, 7.5vw, 40px);
        line-height: 1.08;
    }

    .mastiel-opening-hero__text {
        margin-bottom: 16px;
        font-size: 15px;
        line-height: 1.52;
    }

    .mastiel-opening-hero__meta {
        gap: 8px;
        margin-bottom: 18px;
    }

    .mastiel-opening-hero__meta > div {
        font-size: 14px;
        line-height: 1.42;
    }

    .mastiel-opening-hero__actions {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .mastiel-opening-hero__actions .mastiel-opening-btn {
        width: 100%;
    }

    .mastiel-opening-hero__actions .mastiel-opening-btn--secondary {
        order: 2;
    }

    .mastiel-opening-hero__note {
        margin-top: 10px;
        font-size: 13px;
    }

    .mastiel-opening-hero__card {
        padding: 18px;
        border-radius: var(--mastiel-radius-md);
    }

    .mastiel-opening-hero__card-title {
        margin-bottom: 13px;
        font-size: 22px;
    }

    .mastiel-opening-hero__point {
        grid-template-columns: 40px minmax(0, 1fr);
        gap: 11px;
        padding: 12px;
        border-radius: var(--mastiel-radius-sm);
    }

    .mastiel-opening-hero__point span {
        width: 36px;
        height: 36px;
        font-size: 12px;
    }

    .mastiel-opening-hero__point p,
    .mastiel-opening-hero__gift {
        font-size: 14px;
    }

    /* Event page mobile */

    .mastiel-opening-page {
        background: #fff;
        padding-bottom: 104px;
    }

    .mastiel-opening-page::before {
        display: none;
    }

    .mastiel-opening-page-hero {
        padding: 22px 0 8px;
    }

    .mastiel-opening-page__back {
        margin-bottom: 18px;
        font-size: 13px;
    }

    .mastiel-opening-page-hero__date {
        margin-bottom: 12px;
        padding: 7px 11px;
        font-size: 13px;
    }

    .mastiel-opening-page-hero__title {
        max-width: 100%;
        margin-bottom: 15px;
        font-size: clamp(27px, 8.4vw, 36px);
        line-height: 1.08;
        letter-spacing: -0.028em;
    }

    .mastiel-opening-page-hero__rule {
        width: 44px;
        height: 3px;
        margin-bottom: 16px;
    }

    .mastiel-opening-page-hero__lead {
        margin-bottom: 20px;
        font-size: 16px;
        line-height: 1.55;
    }

    .mastiel-opening-page-hero__actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        margin-bottom: 22px;
    }

    .mastiel-opening-page-hero__actions .mastiel-opening-btn {
        width: 100%;
    }

    .mastiel-opening-page-hero__meta {
        gap: 9px;
    }

    .mastiel-opening-page-hero__meta-item {
        padding: 14px 15px;
        border-radius: 15px;
        box-shadow: none;
        background: #f8fbff;
    }

    .mastiel-opening-page-hero__meta-label {
        margin-bottom: 5px;
        font-size: 10px;
    }

    .mastiel-opening-page-hero__meta-value {
        font-size: 14.5px;
        line-height: 1.35;
    }

    .mastiel-opening-page-hero__meta-note {
        font-size: 12.5px;
    }

    .mastiel-event-warm-intro {
        padding: 30px 0 32px;
        background: var(--mastiel-blue-soft);
    }

    .mastiel-event-warm-intro__lead {
        max-width: 100%;
        margin-bottom: 13px;
        font-size: 22px;
        line-height: 1.25;
    }

    .mastiel-event-warm-intro__text {
        margin-bottom: 17px;
        font-size: 15.5px;
        line-height: 1.58;
    }

    .mastiel-event-warm-intro__audiences {
        gap: 7px;
        font-size: 13px;
    }

    .mastiel-event-warm-intro__audiences span {
        min-height: 30px;
        padding: 6px 10px;
        background: rgba(255, 255, 255, 0.82);
    }

    .mastiel-opening-page-content {
        padding: 0 0 22px;
    }

    .mastiel-opening-page-section {
        padding: 30px 0;
    }

    .mastiel-opening-page-section:first-child {
        padding-top: 28px;
    }

    .mastiel-opening-page-section h2 {
        margin-bottom: 13px;
        font-size: 23px;
        line-height: 1.2;
    }

    .mastiel-opening-page-section h3 {
        font-size: 18px;
    }

    .mastiel-opening-page-section > p {
        margin-bottom: 13px;
        font-size: 15.5px;
        line-height: 1.62;
    }

    .mastiel-opening-page-section__lead {
        margin-bottom: 17px !important;
        font-size: 16px;
        line-height: 1.5;
    }

    .mastiel-opening-page-info {
        margin-top: 20px;
    }

    .mastiel-opening-page-info__item {
        grid-template-columns: 1fr;
        gap: 4px;
        padding: 13px 0;
    }

    .mastiel-opening-page-info__item span {
        font-size: 10.5px;
    }

    .mastiel-opening-page-info__item strong {
        font-size: 15px;
        line-height: 1.42;
    }

    .mastiel-event-speakers {
        gap: 14px;
        margin-top: 18px;
    }

    .mastiel-event-speaker-card {
        border-radius: 18px;
        box-shadow: 0 10px 28px rgba(31, 64, 114, 0.06);
    }

    .mastiel-event-speaker-card--feature {
        background: #fff8f7;
    }

    .mastiel-event-speaker-card__photo {
        padding: 14px 14px 0;
        background:
                radial-gradient(circle at 50% 10%, rgba(255, 255, 255, 0.9), transparent 40%),
                linear-gradient(180deg, #f6f9ff 0%, #eef4ff 100%);
    }

    .mastiel-event-speaker-card__photo img {
        width: auto;
        max-width: 100%;
        height: auto;
        max-height: 360px;
        min-height: 0;
        border-radius: 15px 15px 0 0;
        object-fit: contain;
        object-position: center top;
    }

    .mastiel-event-speaker-card__body {
        padding: 18px 17px 19px;
    }

    .mastiel-event-speaker-card__type {
        margin-bottom: 11px;
        padding: 5px 9px;
        font-size: 10px;
    }

    .mastiel-event-speaker-card__headline,
    .mastiel-event-speaker-card--feature .mastiel-event-speaker-card__headline {
        margin-bottom: 9px;
        font-size: 18px;
        line-height: 1.28;
    }

    .mastiel-event-speaker-card__desc {
        margin-bottom: 15px;
        font-size: 14.5px;
        line-height: 1.56;
    }

    .mastiel-event-speaker-card__person {
        padding-top: 13px;
    }

    .mastiel-event-speaker-card__person strong {
        font-size: 14.5px;
    }

    .mastiel-event-speaker-card__person span {
        font-size: 12.8px;
        line-height: 1.45;
    }

    .mastiel-opening-page-benefits {
        gap: 10px;
        margin-top: 17px;
    }

    .mastiel-opening-page-benefit {
        grid-template-columns: 22px minmax(0, 1fr);
        gap: 10px;
        padding: 13px 14px;
        border-radius: 14px;
        box-shadow: none;
    }

    .mastiel-opening-page-benefit__bullet {
        width: 15px;
        margin-top: 0.66em;
    }

    .mastiel-opening-page-benefit__text {
        font-size: 14.8px;
        line-height: 1.48;
    }

    .mastiel-opening-page-list {
        gap: 11px;
        margin-top: 18px;
    }

    .mastiel-opening-page-list__item {
        grid-template-columns: 22px minmax(0, 1fr);
        gap: 10px;
        font-size: 14.8px;
        line-height: 1.52;
    }

    .mastiel-opening-page-list__icon {
        width: 20px;
        height: 20px;
        margin-top: 2px;
    }

    .mastiel-event-place {
        padding: 32px 0;
    }

    .mastiel-event-place__body {
        gap: 22px;
    }

    .mastiel-event-place__photo-container {
        border-radius: 18px;
        aspect-ratio: 4 / 3;
        box-shadow: 0 10px 28px rgba(31, 64, 114, 0.08);
    }

    .mastiel-event-place__title {
        margin-bottom: 12px;
        font-size: 23px;
    }

    .mastiel-event-place__text {
        margin-bottom: 17px;
        font-size: 15px;
        line-height: 1.58;
    }

    .mastiel-event-place__facts {
        width: 100%;
    }

    .mastiel-event-place__address {
        width: 100%;
        padding: 14px 15px;
        border-radius: 15px;
    }

    .mastiel-event-place__address-label {
        font-size: 10.5px;
    }

    .mastiel-event-place__address-text {
        font-size: 14.5px;
    }

    .mastiel-event-final-cta {
        gap: 17px;
        margin-top: 30px;
        padding: 22px 18px;
        border-radius: 19px;
        background:
                radial-gradient(circle at 100% 0%, rgba(216, 84, 78, 0.10), transparent 34%),
                #f8fbff;
        box-shadow: none;
    }

    .mastiel-event-final-cta__title {
        margin-bottom: 7px;
        font-size: 22px;
    }

    .mastiel-event-final-cta__text {
        font-size: 14.5px;
        line-height: 1.55;
    }

    .mastiel-event-final-cta .mastiel-opening-btn {
        width: 100%;
    }

    /* Sticky Mobile */

    .mastiel-opening-sticky {
        left: 10px;
        right: 10px;
        bottom: calc(10px + env(safe-area-inset-bottom));
        width: auto;
        max-width: none;
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 13px 14px 12px;
        border-radius: 18px;
        transform: none;
        animation: mastielStickyInMobile 0.35s ease;
    }

    @keyframes mastielStickyInMobile {
        from {
            opacity: 0;
            transform: translateY(14px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .mastiel-opening-sticky__close {
        top: -8px;
        right: -5px;
        width: 31px;
        height: 31px;
        font-size: 20px;
    }

    .mastiel-opening-sticky__content {
        padding-right: 20px;
    }

    .mastiel-opening-sticky__title {
        margin-bottom: 4px;
        font-size: 14.5px;
        line-height: 1.22;
    }

    .mastiel-opening-sticky__text {
        display: -webkit-box;
        max-height: 38px;
        overflow: hidden;
        color: rgba(255, 255, 255, 0.86);
        font-size: 12.8px;
        line-height: 1.45;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .mastiel-opening-sticky__actions {
        display: grid;
        grid-template-columns: 1fr 0.9fr;
        gap: 8px;
    }

    .mastiel-opening-sticky__btn,
    .mastiel-opening-sticky__more {
        min-height: 42px;
        padding: 10px 11px;
        font-size: 12.5px;
    }

    /* News card mobile */

    .mastiel-opening-news-card {
        border-radius: var(--mastiel-radius-md);
    }

    .mastiel-opening-news-card__img {
        min-height: 180px;
    }

    .mastiel-opening-news-card__img img {
        min-height: 180px;
    }

    .mastiel-opening-news-card__date-big {
        width: 110px;
        height: 110px;
    }

    .mastiel-opening-news-card__date-big span {
        font-size: 36px;
    }

    .mastiel-opening-news-card .interesting__btn {
        width: 100%;
        min-height: 44px;
        font-size: 14px;
    }
}

/* =========================================================
   RESPONSIVE — SMALL PHONES
========================================================= */

@media (max-width: 420px) {
    .mastiel-opening-hero .container,
    .mastiel-opening-page .container,
    .mastiel-event-warm-intro .container,
    .mastiel-event-place .container {
        width: calc(100% - 24px);
    }

    .mastiel-opening-page-hero__title {
        font-size: clamp(25px, 8.2vw, 32px);
    }

    .mastiel-opening-page-hero__lead {
        font-size: 15.5px;
    }

    .mastiel-event-speaker-card__photo img {
        max-height: 330px;
    }

    .mastiel-opening-sticky__actions {
        grid-template-columns: 1fr;
    }

    .mastiel-opening-sticky__more {
        display: none;
    }
}

@media (max-width: 380px) {
    .mastiel-opening-hero__body {
        padding: 16px;
        gap: 14px;
    }

    .mastiel-opening-hero__title {
        font-size: 26px;
    }

    .mastiel-opening-hero__text {
        font-size: 14px;
    }

    .mastiel-opening-hero__card {
        padding: 14px;
    }

    .mastiel-opening-hero__card-title {
        font-size: 20px;
    }

    .mastiel-opening-hero__point {
        grid-template-columns: 36px minmax(0, 1fr);
        gap: 10px;
        padding: 10px;
    }

    .mastiel-opening-hero__point span {
        width: 32px;
        height: 32px;
        font-size: 11px;
    }

    .mastiel-opening-page-hero__title {
        font-size: 24px;
    }

    .mastiel-opening-page-section h2,
    .mastiel-event-place__title,
    .mastiel-event-final-cta__title {
        font-size: 21px;
    }

    .mastiel-event-speaker-card__body {
        padding: 16px 15px 17px;
    }

    .mastiel-event-speaker-card__photo {
        padding: 12px 12px 0;
    }

    .mastiel-event-speaker-card__photo img {
        max-height: 310px;
    }

    .mastiel-opening-sticky {
        left: 8px;
        right: 8px;
        bottom: calc(8px + env(safe-area-inset-bottom));
        padding: 12px 13px;
    }

    .mastiel-opening-sticky__btn,
    .mastiel-opening-sticky__more {
        min-height: 40px;
        padding: 8px 10px;
        font-size: 12px;
    }

    .mastiel-opening-news-card__date-big {
        width: 96px;
        height: 96px;
    }

    .mastiel-opening-news-card__date-big span {
        font-size: 32px;
    }
}

/* Landscape phones */

@media (max-width: 768px) and (orientation: landscape) {
    .mastiel-opening-page {
        padding-bottom: 86px;
    }

    .mastiel-opening-sticky {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 14px;
        padding: 12px 16px;
    }

    .mastiel-opening-sticky__content {
        padding-right: 0;
    }

    .mastiel-opening-sticky__actions {
        display: flex;
        gap: 8px;
    }

    .mastiel-opening-sticky__btn,
    .mastiel-opening-sticky__more {
        width: auto;
        flex: none;
    }
}

/* =========================================================
   ACCESSIBILITY / TOUCH / MOTION
========================================================= */

.mastiel-opening-btn:focus-visible,
.mastiel-opening-sticky__btn:focus-visible,
.mastiel-opening-sticky__more:focus-visible,
.mastiel-opening-sticky__close:focus-visible,
.mastiel-opening-page__back:focus-visible,
.mastiel-opening-news-card .interesting__btn:focus-visible {
    outline: 2px solid var(--mastiel-coral);
    outline-offset: 2px;
}

@media (hover: hover) and (pointer: fine) {
    .mastiel-opening-btn:hover {
        transform: translateY(-2px);
    }
}

@media (hover: none) and (pointer: coarse) {
    .mastiel-opening-btn:hover {
        transform: none;
    }

    .mastiel-opening-btn:active {
        transform: scale(0.98);
    }

    .mastiel-opening-news-card:hover {
        transform: none;
    }
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .mastiel-opening-hero__meta > div::before,
    .mastiel-opening-page-benefit__bullet,
    .mastiel-opening-page-hero__rule {
        transform: translateZ(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .mastiel-opening-btn,
    .mastiel-opening-news-card,
    .mastiel-opening-sticky,
    .mastiel-opening-sticky__btn,
    .mastiel-opening-sticky__more,
    .mastiel-opening-page__back,
    .mastiel-opening-page__back-arrow,
    .mastiel-opening-page-section a {
        transition: none;
        animation: none;
    }
}

/* =========================================================
   OPEN DAY REPORT
========================================================= */

.mastiel-open-day-report {
    background:
            linear-gradient(180deg, rgba(248, 251, 255, 0.94) 0%, #ffffff 34%),
            #ffffff;
}

.mastiel-open-day-report__hero {
    padding-bottom: 60px;
}

.mastiel-open-day-report__cover {
    margin-top: -34px;
    padding-bottom: 44px;
}

.mastiel-open-day-report__cover figure {
    margin: 0;
    overflow: hidden;
    border-radius: var(--mastiel-radius-lg);
    background: var(--mastiel-blue-soft);
    box-shadow: var(--mastiel-shadow-md);
}

.mastiel-open-day-report__cover img {
    display: block;
    width: 100%;
    max-height: 620px;
    object-fit: cover;
    object-position: center;
}

.mastiel-open-day-report__content {
    padding-top: 0;
}

.mastiel-open-day-report__article {
    padding: clamp(28px, 4vw, 42px) 0 clamp(36px, 5vw, 56px);
}

.mastiel-open-day-report__article > h2 {
    margin: clamp(36px, 5vw, 56px) 0 18px;
    padding-top: clamp(36px, 5vw, 56px);
    border-top: 1px solid var(--mop-line);
    font-family: "Stem-Medium", sans-serif;
    color: var(--mastiel-blue);
    font-size: clamp(24px, 2.8vw, 32px);
    line-height: 1.18;
    letter-spacing: -0.024em;
    text-wrap: balance;
}

.mastiel-open-day-report__article > h3 {
    max-width: 65ch;
    margin: 26px 0 10px;
    color: var(--mastiel-text);
    font-size: 20px;
    line-height: 1.3;
}

.mastiel-open-day-report__article > p:not(.mastiel-opening-page-section__lead),
.mastiel-open-day-report__article > ul,
.mastiel-open-day-report__article > ol {
    max-width: 65ch;
    margin: 0 0 16px;
    color: var(--mop-body);
    font-size: 17px;
    line-height: 1.7;
}

.mastiel-open-day-report__article > ul,
.mastiel-open-day-report__article > ol {
    padding-left: 24px;
}

.mastiel-open-day-report__article a {
    color: var(--mastiel-blue);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(31, 64, 114, 0.30);
    transition: text-decoration-color 0.18s ease, color 0.18s ease;
}

.mastiel-open-day-report__article a:hover {
    color: var(--mastiel-coral-dark);
    text-decoration-color: var(--mastiel-coral);
}

.mastiel-open-day-report__article strong {
    color: var(--mastiel-text);
}

.mastiel-open-day-report__article img {
    max-width: 100%;
    height: auto;
}

.mastiel-open-day-report__quote,
.mastiel-open-day-report__article > blockquote {
    margin: 34px 0 0;
    padding: 28px 30px;
    border: 1px solid var(--mastiel-border);
    border-radius: var(--mastiel-radius-md);
    color: var(--mastiel-blue-dark);
    background:
            radial-gradient(circle at 10% 0%, rgba(216, 84, 78, 0.10), transparent 30%),
            var(--mastiel-blue-soft);
    font-size: clamp(18px, 2vw, 24px);
    font-weight: 700;
    line-height: 1.45;
}

.mastiel-open-day-report__article > blockquote p {
    margin: 0;
}

.mastiel-open-day-report__quote cite,
.mastiel-open-day-report__article > blockquote cite {
    display: block;
    margin-top: 16px;
    color: var(--mastiel-muted);
    font-size: 15px;
    font-style: normal;
    font-weight: 800;
}

.mastiel-opening-page-hero__meta-value > p,
.mastiel-opening-page-hero__meta-note > p {
    margin: 0;
}

.mastiel-open-day-report__gallery {
    padding: clamp(56px, 7vw, 92px) 0;
    overflow: hidden;
    background: var(--mastiel-blue-soft);
}

.mastiel-open-day-report__gallery-head {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.5fr);
    gap: 28px;
    align-items: end;
    margin-bottom: 30px;
}

.mastiel-open-day-report__gallery-head h2 {
    margin: 0;
    color: var(--mastiel-blue);
    font-family: Stem, Nunito, sans-serif;
    font-size: clamp(30px, 4vw, 54px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    text-wrap: balance;
}

.mastiel-open-day-report__gallery-head p {
    margin: 0;
    color: var(--mastiel-muted);
    font-size: 17px;
    line-height: 1.6;
    text-wrap: pretty;
}

.mastiel-open-day-gallery {
    position: relative;
    overflow: visible;
    padding-bottom: 52px;
}

.mastiel-open-day-gallery .swiper-slide {
    height: auto;
}

.mastiel-open-day-gallery__item {
    display: block;
    height: 430px;
    overflow: hidden;
    border: 1px solid var(--mastiel-border);
    border-radius: var(--mastiel-radius-md);
    background: #ffffff;
    text-decoration: none;
    box-shadow: var(--mastiel-shadow-sm);
}

.mastiel-open-day-gallery__item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.28s ease;
}

.mastiel-open-day-gallery__item:hover img {
    transform: scale(1.035);
}

.mastiel-open-day-gallery .swiper-button-prev,
.mastiel-open-day-gallery .swiper-button-next {
    top: auto;
    bottom: 0;
    width: 44px;
    height: 44px;
    margin: 0;
    border-radius: 50%;
    color: #ffffff;
    background: var(--mastiel-blue);
}

.mastiel-open-day-gallery .swiper-button-prev {
    left: auto;
    right: 58px;
}

.mastiel-open-day-gallery .swiper-button-next {
    right: 0;
}

.mastiel-open-day-gallery .swiper-button-prev::after,
.mastiel-open-day-gallery .swiper-button-next::after {
    font-size: 17px;
    font-weight: 900;
}

.mastiel-open-day-gallery .swiper-pagination {
    bottom: 15px;
    left: 0;
    width: auto;
    color: var(--mastiel-muted);
}

.mastiel-open-day-gallery .swiper-pagination-bullet {
    background: var(--mastiel-blue);
}

.mastiel-open-day-report__cta {
    padding-top: 64px;
}

.mastiel-open-day-report .mastiel-event-final-cta {
    margin-top: 0;
}

@media (max-width: 900px) {
    .mastiel-open-day-report__gallery-head {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .mastiel-open-day-gallery__item {
        height: 360px;
    }
}

@media (max-width: 640px) {
    .mastiel-open-day-report__hero {
        padding-bottom: 42px;
    }

    .mastiel-open-day-report__cover {
        margin-top: -18px;
        padding-bottom: 28px;
    }

    .mastiel-open-day-report__cover figure,
    .mastiel-open-day-gallery__item {
        border-radius: var(--mastiel-radius-sm);
    }

    .mastiel-open-day-report__cover img {
        max-height: 420px;
    }

    .mastiel-open-day-report__article {
        padding-top: 28px;
    }

    .mastiel-open-day-report__article > h2 {
        margin-top: 30px;
        padding-top: 30px;
        font-size: 23px;
        line-height: 1.2;
    }

    .mastiel-open-day-report__article > h3 {
        font-size: 18px;
    }

    .mastiel-open-day-report__article > p:not(.mastiel-opening-page-section__lead),
    .mastiel-open-day-report__article > ul,
    .mastiel-open-day-report__article > ol {
        margin-bottom: 13px;
        font-size: 15.5px;
        line-height: 1.62;
    }

    .mastiel-open-day-report__quote,
    .mastiel-open-day-report__article > blockquote {
        padding: 22px;
        font-size: 17px;
    }

    .mastiel-open-day-gallery__item {
        height: 310px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mastiel-open-day-gallery__item img {
        transition: none;
    }
}
