/* ============================================================
   Theme chrome override — must stay at top
============================================================ */
.topbar-ctx,
header#header,
#vlog-sticky-header,
#vlog-responsive-header {
    display: none !important;
}

/* The Vlog theme adds padding-top: 36px and background: #ffffff to
   .vlog-site-content; on this standalone event page we need neither. */
.page-template-page-mo-gawdat .vlog-site-content, .page-template-page-mo-gawdat-ro .vlog-site-content {
    padding: 0 !important;
    background: transparent !important;
}

/* ============================================================
   Custom properties
============================================================ */
:root {
    --mg-nav-bg:          #1b4577;
    --mg-blue-primary:    #006095;
    --mg-blue-deep:       #1a5f85;
    --mg-blue-card:       #1a67d1;
    --mg-blue-strip:      #194a76;
    --mg-purple-card:     #aa4bb3;
    --mg-pink:            #c400aa;
    --mg-teal:            #1ca0a6;
    --mg-amber:           #ffa41c;

    --mg-body-bg:         #ffffff;
    --mg-text-dark:       rgba(21, 0, 60, 0.81);

    --mg-font-body:       'Inter', sans-serif;
    --mg-font-mono:       'Azeret Mono', monospace;

    --mg-radius-pill:     33px;
    --mg-radius-card:     16px;
    --mg-max-w:           1300px;
    --mg-px:              clamp(16px, 4vw, 48px);

    --mg-trans:           0.3s ease;
}

/* ============================================================
   Reset / base
   Note: only box-sizing here — margin/padding resets must NOT use
   #mg-event * because that selector (specificity 101) would override
   .mg-container's margin:auto (specificity 10), breaking centering.
============================================================ */
#mg-event *,
#mg-event *::before,
#mg-event *::after {
    box-sizing: border-box;
}

#mg-event {
    font-family: var(--mg-font-body);
    color: #1a1a2e;
    background: var(--mg-body-bg);
    -webkit-font-smoothing: antialiased;
}

/* Suppress default browser margins on common elements inside our scope */
#mg-event h1,
#mg-event h2,
#mg-event h3,
#mg-event h4,
#mg-event p,
#mg-event ul,
#mg-event ol,
#mg-event blockquote,
#mg-event figure {
    margin: 0;
    padding: 0;
}

#mg-event img {
    display: block;
    max-width: 100%;
}

#mg-event a {
    font-weight: 400;
    text-decoration: none;
}

[x-cloak] {
    display: none !important;
}

/* ============================================================
   Layout helpers
============================================================ */
.mg-container {
    max-width: var(--mg-max-w);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--mg-px);
    padding-right: var(--mg-px);
}

/* ============================================================
   Reveal animations
============================================================ */
.mg-about__quote,
.mg-about__cards,
.mg-video__title,
.mg-video__player-wrap,
.mg-video__tagline,
.mg-books__header,
.mg-books__grid,
.mg-books__cta,
.mg-cta__title,
.mg-cta__sub,
.mg-btn--cta-pill,
.mg-cta__footnote,
.mg-feed__header,
.mg-feed__grid,
.mg-ticket-section__title,
.mg-ticket-section__subtitle,
.mg-ticket-section__footer {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s var(--mg-trans), transform 0.65s var(--mg-trans);
}

.mg-about__quote.is-visible,
.mg-about__cards.is-visible,
.mg-video__title.is-visible,
.mg-video__player-wrap.is-visible,
.mg-video__tagline.is-visible,
.mg-books__header.is-visible,
.mg-books__grid.is-visible,
.mg-books__cta.is-visible,
.mg-cta__title.is-visible,
.mg-cta__sub.is-visible,
.mg-btn--cta-pill.is-visible,
.mg-cta__footnote.is-visible,
.mg-feed__header.is-visible,
.mg-feed__grid.is-visible,
.mg-ticket-section__title.is-visible,
.mg-ticket-section__subtitle.is-visible,
.mg-ticket-section__footer.is-visible {
    opacity: 1;
    transform: none;
}

/* ============================================================
   Shared buttons
============================================================ */
.mg-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--mg-font-mono);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    transition: opacity var(--mg-trans), transform var(--mg-trans);
    white-space: nowrap;
}

.mg-btn:hover {
    opacity: 0.88;
    transform: translateY(-1px);
}

/* Nav CTA — pink/purple gradient pill */
.mg-btn--nav-cta {
    background: linear-gradient(90deg, #c400aa 0%, #aa4bb3 100%);
    color: #fff;
    border-radius: var(--mg-radius-pill);
    padding: 16px 28px;
    font-size: 15px;
    font-weight: 800;
}

.mg-btn--nav-cta strong {
    font-weight: 800;
    color: #ffe7f9;
}

.mg-btn--full {
    width: 100%;
    justify-content: center;
}

/* Hero / Book-Now CTA — light grey pill, teal text */
.mg-btn--hero-cta,
.mg-btn--cta-pill {
    background: #f5f5f5;
    color: #1CA0A6;
    border-radius: var(--mg-radius-pill);
    padding: 14px 32px;
    font-size: 20px;
    font-weight: 500!important;
    letter-spacing: 0.08em;
}

.mg-btn--hero-cta strong,
.mg-btn--cta-pill strong {
    color: #1CA0A6;
    font-weight: 800;
}

/* Amazon button — amber */
.mg-btn--amazon {
    background: var(--mg-amber);
    color: rgba(21, 0, 60, 0.81);
    border-radius: var(--mg-radius-pill);
    padding: 12px 24px;
    font-size: 13px;
    font-weight: 700;
    width: 100%;
    justify-content: center;
}

/* Shared icon */
.mg-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* ============================================================
   NAV
============================================================ */
.mg-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--mg-nav-bg);
}

.mg-nav__inner {
    display: flex;
    align-items: center;
    gap: 24px;
    height: 90px;
}

.mg-nav__logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.mg-nav__logo-img {
    height: 64px;
    width: auto;
}

.mg-nav__center {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.mg-nav__event-label {
    font-family: var(--mg-font-body);
    font-size: 17px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-transform: uppercase;
    color: #fff;
    position: relative;
    margin-left: 20px!important;
}
.mg-nav__event-label:before{position: absolute; content: ''; top: 6px; left: -14px; background: linear-gradient(0deg, #01A3A5 0%, #1A67D1 100%); width: 8px; height: 8px; border-radius: 50%;}

.mg-nav__venue {
    font-family: var(--mg-font-body);
    color: #fff;
    font-size: 17px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.mg-nav__right {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 14px;
}

/* Burger */
.mg-nav__burger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.mg-nav__burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    transition: transform var(--mg-trans), opacity var(--mg-trans);
    border-radius: 2px;
}

.mg-nav__burger.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mg-nav__burger.is-active span:nth-child(2) {
    opacity: 0;
}

.mg-nav__burger.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile dropdown */
.mg-nav__mobile {
    background: var(--mg-nav-bg);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mg-nav__mobile-inner {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-top: 16px;
    padding-bottom: 24px;
}

.mg-nav__mobile-link {
    font-family: var(--mg-font-mono);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    padding: 10px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: color var(--mg-trans);
}

.mg-nav__mobile-link:hover {
    color: #fff;
}

/* ============================================================
   HERO
============================================================ */
.mg-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(
        120deg,
        #1b3566 0%,
        #3d1d8a 30%,
        #7b2fbe 52%,
        #2854a8 72%,
        #163a7a 100%
    );
}

.mg-hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.mg-hero__inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 40px;
    padding-top: 80px;
    padding-bottom: 80px;
    min-height: 41.51041666666667vw;
}

.mg-hero__content {
    flex: 1;
    color: #fff;
}

/* Presenter row */
.mg-hero__presenter {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 24px;
}

.mg-hero__presented-by {
    font-family: var(--mg-font-mono);
    color: #FFF;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 0.12px;
    text-transform: uppercase;
}

.mg-hero__partner-logo {
    width: 180px;
    height: auto;
}

/* Badge */
.mg-hero__badge {
    color: #FFF;
    font-family: Inter;
    font-size: 30px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    max-width: min(50vw, 22em);
}

.mg-hero__badge strong {
    font-weight: 800;
}

/* Speaker name */
.mg-hero__name {
    font-family: var(--mg-font-body);
    font-size: clamp(72px, 10vw, 138px);
    font-weight: 700;
    line-height: 0.92;
    letter-spacing: -0.03em;
    color: #fff;
    margin-bottom: 28px;
}
.mg-hero__name-surname {
    display: block;
    padding-left: 0.25em;
}

/* Credentials */
.mg-hero__credentials {
    font-family: var(--mg-font-body);
    font-size: clamp(14px, 0.9375vw, 18px);
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 36px;
    line-height: 1.6;
}

.mg-hero__credentials strong {
    font-weight: 800;
}

.page-template-page-mo-gawdat-ro .mg-hero__credentials-left{display:block;}

.mg-hero__description{
    display: flex;
    align-items: flex-start;
    gap: 2em;
    margin-top: 2em;
}

/* Event block */
.mg-hero__event-block {
max-width: 16em;
}

.mg-hero__event-name {
    font-family: var(--mg-font-body);
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 26px; /* 108.333% */
    letter-spacing: 0.96px;
    text-transform: uppercase;
    margin-bottom: 0.5em!important;
}

.mg-hero__event-meta {
    font-family: var(--mg-font-body);
    font-size: 17px;
    font-style: normal;
    font-weight: 500;
    line-height: 21px; /* 123.529% */
    letter-spacing: -0.34px;
}

/* Photo */
.mg-hero__photo-col {
    flex-shrink: 0;
    width: clamp(280px, 38vw, 500px);
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.mg-hero__photo-frame {
    width: 100%;
    border-radius: 50%;
    overflow: hidden;
    aspect-ratio: 1;
    border: 3px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 80px rgba(120, 50, 200, 0.4);
}

.mg-hero__photo-mobile {
    display: none!important;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    aspect-ratio: 0.5108005082592122;
}
.mg-hero__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

/* Cyan decorative element */
.mg-hero__deco-cyan {
    position: absolute;
    bottom: -30px;
    right: 5%;
    width: clamp(120px, 16vw, 240px);
    height: clamp(120px, 16vw, 240px);
    background: rgba(28, 160, 166, 0.45);
    border-radius: 50%;
    filter: blur(50px);
    z-index: 1;
    pointer-events: none;
}

/* ============================================================
   ABOUT / DESCRIPTION
============================================================ */
.mg-about {
    padding: 96px 0;
    background: var(--mg-body-bg);
}

.mg-about__inner {
    display: flex;
    flex-direction: column;
    gap: 56px;
    align-items: center;
}

/* Quote with gradient spans */
.mg-about__quote {
    font-family: var(--mg-font-body);
    font-size: clamp(22px, 3vw, 40px);
    font-weight: 400;
    line-height: 1.35;
    text-align: center;
    max-width: 1250px;
    border: none;
    color: #1B4577;
}

/* Gradient text spans */
.mg-q-grad-1 {
    background: linear-gradient(90deg, #04979E 0%, #157DA4 25%, #2763AA 50%, #AA4BB3 79.33%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.mg-q-grad-2 {
    background: linear-gradient(90deg, #2763AA 0%, #04979E 56.25%, #3280DD 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.mg-q-grad-3 {
    background: linear-gradient(90deg, #04979E 0%, #AA4BB3 25%, #04979E 50%, #3280DD 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

/* Nav cards */
.mg-about__cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    width: 100%;
}

.mg-about__card {
    display: flex;
    align-items: center;
    gap: 0;
    border-radius: var(--mg-radius-card);
    overflow: hidden;
    color: #fff;
    text-decoration: none;
    min-height: 140px;
    transition: transform var(--mg-trans), box-shadow var(--mg-trans);
    cursor: pointer;
    position: relative;
}

.mg-about__card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

/* Purple card — left half is the large logo, right half is text */
.mg-about__card--purple {
    background: url('images/about-card-purple.jpg');
    background-size: cover;
}

.mg-about__card--blue {
    background: url('images/about-card-blue.jpg');
    background-size: cover;
}

.mg-about__card-logo {
    flex-shrink: 0;
    width: 19.5%;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    padding: 15px;
    opacity: 0.8;
}

.mg-about__card-logo img {
    width: 100%;
    max-width: 120px;
    height: auto;
}

/* Blue card — full-bleed background photo with overlay */
.mg-about__card--blue {
    background-color: var(--mg-blue-card);
    background-size: cover;
    background-position: center top;
}

.mg-about__card--blue > * {
    position: relative;
    z-index: 1;
}

.mg-about__card--blue img{aspect-ratio: 0.7727272727272727; object-fit: cover; object-position: center top; border-radius: 10px;}

/* Shared body area (text + arrow) */
.mg-about__card-body {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 28px 24px;
}

.mg-about__card-text {
    font-family: var(--mg-font-body);
    font-size: clamp(15px, 1.8vw, 20px);
    font-weight: 700;
    color: #fff;
}

.mg-about__card-arrow {
    flex-shrink: 0;
    font-size: 28px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.6);
}

/* ============================================================
   VIDEO
============================================================ */
.mg-video {
    padding: 96px 0;
    background: #f8fafc;
}

.mg-video__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.mg-video__title {
    font-family: var(--mg-font-body);
    font-size: clamp(32px, 4.5vw, 55px);
    font-weight: 700;
    color: var(--mg-blue-deep);
    text-align: center;
    line-height: 1.15;
    margin-bottom: 0.25em!important;
}

.mg-video__player-wrap {
    width: 100%;
    max-width: 900px;
}

.mg-video__player {
    position: relative;
    border-radius: var(--mg-radius-card);
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #000;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.mg-video__thumbnail {
    position: absolute;
    inset: 0;
    cursor: pointer;
}

.mg-video__thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mg-video__thumbnail-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px 28px 24px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, transparent 100%);
}

.mg-video__caption-name {
    font-family: var(--mg-font-mono);
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: #fff;
}

.mg-video__caption-role {
    font-family: var(--mg-font-mono);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.65);
    margin-top: 3px;
}

.mg-video__play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: none;
    border: none;
    cursor: pointer;
    transition: transform var(--mg-trans);
}

.mg-video__play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.mg-video__play-btn svg {
    width: 100%;
    height: 100%;
}

.mg-video__iframe-wrap {
    position: absolute;
    inset: 0;
}

.mg-video__iframe-wrap iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.mg-video__tagline {
    font-family: var(--mg-font-body);
    font-size: 17px;
    letter-spacing: 0.34px;
    font-weight: 400;
    color: #022E67;
    text-align: center;
    max-width: 540px;
}

/* ============================================================
   BOOKS
============================================================ */
.mg-books {
    padding: 96px 0;
    background: #ffffff;
}

.mg-books__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 56px;
}

.mg-books__header {
    text-align: center;
}

.mg-books__title {
    font-family: var(--mg-font-body);
    font-size: clamp(32px, 4.5vw, 55px);
    font-weight: 700;
    color: var(--mg-blue-primary);
    margin-bottom: 12px;
}

.mg-books__subtitle {
    font-size: 17px;
    color: #666;
}

.mg-books__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    width: 100%;
}

.mg-books__cta{text-align:center;}

.mg-book {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.mg-book__cover-wrap {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    transition: transform var(--mg-trans), box-shadow var(--mg-trans);
    border-radius: 15px;
}

/* .mg-book__cover-wrap:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.28);
} */

.mg-book__cover {
    width: 100%;
    height: auto;
    display: block;
}

/* ============================================================
   CTA / BOOK NOW
============================================================ */
.mg-cta {
    overflow: hidden;
}

/* Top strip */
.mg-cta__strip {
    position: relative;
    background: var(--mg-blue-strip);
    min-height: 110px;
    overflow: hidden;
}

.mg-cta__strip-bg {
    position: absolute;
    inset: 0;
}

.mg-cta__strip-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mg-cta__strip-inner {
    position: relative;
    z-index: 2;
    min-height: 110px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 16px;
    padding-bottom: 16px;
}

.mg-cta__info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--mg-font-body);
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
    color: #fff;
}

.mg-cta__info-item--highlight {
    color: #fff;
}

.mg-cta__info-item--highlight::before {
    background: var(--mg-teal);
}

/* Main crowd section */
.mg-cta__main {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.mg-cta__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.mg-cta__bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
}

.mg-cta__overlay {
    position: absolute;
    inset: 0;
}

.mg-cta__inner {
    position: relative;
    z-index: 2;
    text-align: center;
    padding-top: 80px;
    padding-bottom: 80px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    min-height: 600px;
    justify-content: flex-end;
}

.mg-cta__title {
    font-family: var(--mg-font-body);
    font-size: clamp(36px, 5.5vw, 72px);
    font-weight: 700;
    line-height: 1.05;
    color: #fff;
    letter-spacing: -0.02em;
    margin-top: auto!important;
}

.mg-cta__title sup {
    font-size: 0.5em;
    vertical-align: super;
}

.mg-cta__sub {
    font-family: var(--mg-font-mono);
    font-size: 16px;
    font-weight: 500;
    /* letter-spacing: 0.06em; */
    color: #fff;
}

.mg-btn--cta-pill{margin-bottom: auto;}

.mg-cta__footnote {
    font-family: var(--mg-font-body);
    font-size: 15px;
    color: #f5f5f5;
    margin-top: auto;
    margin-bottom: 0;
}

/* ============================================================
   KNOWLEDGE FEED
============================================================ */
.mg-feed {
    padding: 96px 0;
    background: var(--mg-body-bg);
}

.mg-feed__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 56px;
}

.mg-feed__header {
    text-align: center;
}

.mg-feed__title {
    font-family: var(--mg-font-body);
    font-size: clamp(32px, 4.5vw, 55px);
    font-weight: 700;
    color: var(--mg-blue-primary);
    margin-bottom: 12px;
}

.mg-feed__subtitle {
    font-size: 17px;
    color: #666;
}

.mg-feed__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
}

.mg-feed__item {
    position: relative;
    border-radius: var(--mg-radius-card);
    overflow: hidden;
    aspect-ratio: 340 / 604;
    cursor: pointer;
    transition: transform var(--mg-trans);
}

.mg-feed__item:hover {
    transform: translateY(-4px);
}

.mg-feed__item:hover .mg-feed__item-overlay {
    background: rgba(0, 51, 99, 0.50);
}

.mg-feed__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mg-feed__item-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 51, 99, 0.30);
    transition: background var(--mg-trans);
}

.mg-feed__play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    pointer-events: none;
}

.mg-feed__play-btn svg {
    width: 100%;
    height: 100%;
}

.mg-feed__label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px 16px 20px;
    background: linear-gradient(to top, rgba(0, 30, 60, 0.85) 0%, transparent 100%);
    font-family: var(--mg-font-body);
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    text-align: center;
    pointer-events: none;
}

/* Thumbnail wrapper fills the card */
.mg-feed__thumb {
    position: absolute;
    inset: 0;
    cursor: pointer;
}

/* YouTube Shorts iframe fills the card exactly */
.mg-feed__iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ============================================================
   TICKET SECTION
============================================================ */
.mg-ticket-section {
    padding: 96px 0;
    background: #f8fafc;
}

.mg-ticket-section__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
}

.mg-ticket-section__header {
    color: #006095;
    text-align: center;
}

.mg-ticket-section__title {
    font-family: var(--mg-font-body);
    font-size: clamp(32px, 4.5vw, 55px);
    font-weight: 700;
    color: var(--mg-blue-primary);
    text-align: center;
}

.mg-ticket-section__subtitle{font-size: 29px; margin-top: 0.75em;}

.mg-ticket-section__original-price{
    color: #950000;
    font-family: Inter;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-decoration-line: line-through;
}

.mg-ticket-section__footer{color: #022E67; text-align: center;}

footer#footer{background: url('../mo-gawdat-event/images/footer-bg.jpg') no-repeat center center; background-size: cover;}
footer#footer .vlog-copyright{background-color: #15499D;}

/* ============================================================
   SWIPER CAROUSELS — mobile only (books + feed)
   display:contents makes swiper-wrapper invisible to CSS grid
   on desktop. swiper-initialized (added by Swiper on init)
   overrides it so flex takes over on mobile.
============================================================ */
.mg-books__grid > .swiper-wrapper,
.mg-feed__grid > .swiper-wrapper {
    display: contents;
}

.mg-books__grid.swiper-initialized,
.mg-feed__grid.swiper-initialized {
    display: block;
    max-width: unset;
    overflow: hidden;
}

.mg-books__grid.swiper-initialized > .swiper-wrapper,
.mg-feed__grid.swiper-initialized > .swiper-wrapper {
    display: flex;
}

.mg-books__pagination,
.mg-feed__pagination {
    display: none;
    text-align: center;
    margin-top: 20px;
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1024px) {

    .mg-books__grid {
        gap: 20px;
    }

    .mg-feed__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .mg-hero__credentials-left{display: block;}
}

@media (max-width: 767px) {
    .vlog-site-content{margin-top: 0;}

    .mg-about, .mg-video, .mg-books, .mg-feed, .mg-ticket-section{padding: 48px 0;}
    .mg-cta__inner{min-height: 400px;}

    .mg-nav__inner{justify-content: space-between; gap: 16px;}
    .mg-btn--nav-cta,
    .mg-btn--hero-cta,
    .mg-btn--cta-pill{padding: 12px 20px; font-size: 13px;}

    .mg-hero__photo{display: none!important;}
    .mg-hero__photo-mobile{display: block!important;}

    .mg-hero__bg{position: relative;}
    .mg-hero__inner{position: absolute; z-index: 2; top: 0; left: 0; right: 0; bottom: 0; justify-content: center; 
        flex-direction: column;
        text-align: center;
        padding-top: 30px;
        padding-bottom: 30px;
    }
    .mg-hero__content{display: flex; flex-direction: column; align-items: center; gap: 0; justify-content: space-between;}
    .mg-hero__presenter{align-items: center; gap: 8px; margin-bottom: 8px;}
    .mg-hero__partner-logo{width: 27.36318407960199vw;}
    .mg-hero__badge{font-size: 16px; display: block; text-align: center; max-width: none;}
    .mg-hero__name{margin-top: auto!important; width: 100%; text-align: left;}
    .mg-hero__description{flex-direction: column; gap: 1em; text-align: center; align-items: center;}

    .mg-nav__logo-img{height: 55px;}

    .mg-hero__credentials { font-size: 11px; font-weight: 600; width: 100%; }
    .mg-hero__credentials strong{white-space: nowrap;}
    .mg-hero__credentials-left{text-align: left; display: block; margin-bottom: 4px; }
    .mg-hero__credentials-right{text-align: right; display: block; margin-bottom: 4px; }

    .mg-hero__photo-col {
        width: 220px;
    }

    .mg-hero__event-block {
        border-left: none;
        padding-left: 0;
        text-align: center;
        display: flex;
        align-items: center;
        max-width: none;
        flex-grow: 2;
        gap: 1em;
    }
    .mg-hero__event-name{font-size: 18px; order:2; text-align: left; max-width: 190px;}
    .mg-hero__event-meta{font-size: 15px; order:1; text-align: right; max-width: 150px; margin-bottom: 0.5em!important;}

    .mg-hero__deco-cyan {
        display: none;
    }

    .mg-about__card{min-height: auto;}
    .mg-about__cards {
        grid-template-columns: 1fr;
    }

    .mg-books__grid {
        margin: 0 calc(var(--mg-px) * -1);
        width: calc(100% + var(--mg-px) * 2);
    }
/*     .mg-books__grid .swiper-wrapper{padding-right: calc(var(--mg-px) * 1); }
    .mg-books__grid .swiper-slide{padding: 0 0 0 calc(var(--mg-px) * 1); } */

    .mg-feed__grid {
        margin: 0 calc(var(--mg-px) * -1);
    }

    .mg-books__pagination,
    .mg-feed__pagination {
        display: block;
    }
    .mg-about__inner,
    .mg-books__inner{gap: 24px;}

    .mg-feed__title,
    .mg-books__title,
    .mg-feed__subtitle{line-height: 1.2;}

    .mg-cta__strip-inner {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        min-height: auto;
    }
    .mg-cta__info-item{font-size: 14px;}

    .mg-nav__burger {
        display: flex;
    }

    .mg-nav__right{}

    .mg-nav__center{display: none;}
    .mg-nav__event-label, .mg-nav__venue{font-size: 12px; margin-left: 20px!important; max-width: 164px;}
    .mg-nav__venue{opacity: 0.8;}

    .mg-ticket-section__title{line-height: 1.2;}
    .mg-ticket-section__subtitle{font-size: 22px; line-height: 1.2; }

}

@media (min-width: 768px) {
    .mg-nav__burger {
        display: none;
    }

    .mg-nav__venue {
        display: block;
    }

    .mg-nav__mobile {
        display: none !important;
    }
}

@media (max-width: 480px) {
    /* .mg-books__grid {
        grid-template-columns: 1fr;
        max-width: 280px;
    }

    .mg-feed__grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    } */

    .mg-cta__title {
        font-size: 32px;
    }
}
