/* Monkey Republic Games - capa propia sobre el tema original (Monkey).
 * Usa las variables del tema para respetar el interruptor claro/oscuro:
 *   --mkof-main-color         texto (blanco en oscuro, negro en claro)
 *   --mkof-main-color-second  fondo
 *   --mkof-border-frame       lineas y marcos
 */

/* ------------------------------------------------------------ base */

.mrg-page #mkof-page-inner,
.mrg-page #mkof-page-content { padding-top: 0; }

.mrg-wrap {
    --mrg-line: var(--mkof-border-frame, #363636);
    --mrg-mono: 'Roboto Mono', monospace;
    position: relative;
    max-width: 1300px;
    margin: 0 auto;
    padding: 170px 60px 110px;
    font-family: 'Kanit', sans-serif;
    color: var(--mkof-main-color, #fff);
}

.mrg-wrap *,
.mrg-wrap *::before,
.mrg-wrap *::after { box-sizing: border-box; }

.mrg-wrap img { max-width: 100%; height: auto; }
.mrg-wrap a { color: inherit; }

.mrg-sr,
.mrg-hp {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.mrg-kicker {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 18px;
    font-family: var(--mrg-mono);
    font-size: 15px;
    font-weight: 300;
    line-height: 1.5;
}

.mrg-kicker::before {
    content: '';
    flex: 0 0 auto;
    width: 7px;
    height: 7px;
    background: currentColor;
}

.mrg-index {
    margin: 0 0 14px;
    font-family: var(--mrg-mono);
    font-size: 14px;
    font-weight: 300;
    opacity: 0.7;
}

.mrg-em { font-weight: 200; }

.mrg-hero { max-width: 1040px; }

.mrg-hero-title {
    margin: 0 0 28px;
    font-size: clamp(44px, 7vw, 96px);
    line-height: 1.02;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    overflow-wrap: anywhere;
}

.mrg-hero-title--article { font-size: clamp(36px, 5vw, 64px); line-height: 1.08; }

.mrg-lead {
    max-width: 720px;
    margin: 0;
    font-size: 20px;
    line-height: 1.6;
    font-weight: 200;
    opacity: 0.88;
}

.mrg-h2 {
    margin: 0 0 20px;
    font-size: clamp(32px, 4.4vw, 56px);
    line-height: 1.06;
    font-weight: 700;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}

.mrg-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 26px 52px;
    margin-top: 38px;
}

.mrg-btn { cursor: pointer; }

.mrg-link-more,
.mrg-card-more {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    text-transform: uppercase;
    text-decoration: none;
}

.mrg-link-more::after,
.mrg-card-more::after {
    content: '';
    width: 25px;
    height: 5px;
    background: currentColor;
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.39, 0.1, 0, 0.98);
}

.mrg-link-more:hover::after,
a:hover > .mrg-card-body .mrg-card-more::after,
.mrg-social:hover .mrg-card-more::after { transform: scaleX(0.2); }

.mrg-section { margin-top: 130px; }

.mrg-section-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 40px;
    align-items: end;
    margin-bottom: 50px;
}

.mrg-section-head > * { grid-column: 1; }

.mrg-section-head .mrg-h2 { margin-bottom: 14px; }

.mrg-section-head > .mrg-link-more {
    grid-column: 2;
    grid-row: 1 / span 4;
    align-self: end;
    margin-bottom: 22px;
    white-space: nowrap;
}

.mrg-section-head--center { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
.mrg-section-head--center .mrg-kicker { justify-content: center; }

.mrg-section-intro { flex: 1 0 100%; }

.mrg-section-head .mrg-h2 { margin-bottom: 14px; }
.mrg-section-head .mrg-link-more { margin-left: auto; margin-top: 10px; }
.mrg-section-head--center { justify-content: center; text-align: center; }
.mrg-section-head--center .mrg-kicker { justify-content: center; }

.mrg-section-intro {
    max-width: 680px;
    margin: 0;
    font-size: 18px;
    line-height: 1.65;
    font-weight: 200;
    opacity: 0.85;
}

.mrg-notice {
    margin: 34px 0;
    padding: 16px 20px;
    border: 1px solid currentColor;
    font-family: var(--mrg-mono);
    font-size: 14px;
    line-height: 1.6;
}

.mrg-muted { opacity: 0.65; }

.mrg-empty {
    margin-top: 60px;
    font-size: 20px;
    font-weight: 200;
}

.mrg-crumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 22px;
    font-family: var(--mrg-mono);
    font-size: 13px;
    font-weight: 300;
    opacity: 0.75;
}

.mrg-crumbs a { text-decoration: none; }
.mrg-crumbs a:hover { text-decoration: underline; }

.mrg-prose p {
    margin: 0 0 20px;
    font-size: 18px;
    line-height: 1.75;
    font-weight: 200;
}

.mrg-prose a { text-decoration: underline; text-underline-offset: 3px; }
.mrg-prose strong { font-weight: 600; }
.mrg-prose ul { margin: 0 0 20px; padding-left: 20px; font-weight: 200; line-height: 1.8; }

.mrg-quote { margin-top: 44px; }

/* ------------------------------------------------------------ badges */

.mrg-badge {
    display: inline-block;
    padding: 6px 10px;
    background: var(--mkof-main-color, #fff);
    color: var(--mkof-main-color-second, #000);
    font-family: 'Roboto Mono', monospace;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.mrg-card-media .mrg-badge,
.mrg-product-media .mrg-badge {
    position: absolute;
    bottom: 16px;
    left: 16px;
    z-index: 2;
}

.mrg-badge--alpha,
.mrg-badge--available { background: var(--mrg-accent, #ffd23f); color: #000; }
.mrg-badge--coming-soon,
.mrg-badge--soon { background: var(--mkof-main-color-second, #000); color: var(--mkof-main-color, #fff); border: 1px solid currentColor; }
.mrg-badge--sold-out { background: #ff4a4a; color: #fff; }

/* ------------------------------------------------------------ tabs */

.mrg-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 38px;
    margin-top: 70px;
    border-bottom: 1px solid var(--mrg-line);
}

.mrg-tabs a {
    position: relative;
    padding: 14px 0 16px;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    opacity: 0.55;
    transition: opacity 0.25s ease;
}

.mrg-tabs a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 4px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.39, 0.1, 0, 0.98);
}

.mrg-tabs a:hover,
.mrg-tabs a.is-active { opacity: 1; }
.mrg-tabs a.is-active::after { transform: scaleX(1); }
.mrg-tabs sup { font-family: 'Roboto Mono', monospace; font-weight: 300; font-size: 11px; }

.mrg-tabs + .mrg-section { margin-top: 70px; }

/* ------------------------------------------------------------ game cards */

.mrg-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 80px 50px;
}

.mrg-cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 60px 36px; }

.mrg-card {
    display: flex;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
}

.mrg-card-media {
    position: relative;
    display: block;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    border: 1px solid var(--mrg-line);
    background: rgba(127, 127, 127, 0.08);
    transition: transform 0.45s cubic-bezier(0.39, 0.1, 0, 0.98), box-shadow 0.45s cubic-bezier(0.39, 0.1, 0, 0.98);
}

.mrg-card-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

a.mrg-card:hover .mrg-card-media,
a.mrg-product:hover .mrg-product-media {
    transform: translate(-7px, -7px);
    box-shadow: 7px 7px 0 var(--mrg-accent, var(--mkof-main-color, #fff));
}

a.mrg-card:hover .mrg-card-media img { transform: scale(1.04); }

.mrg-card-body { display: flex; flex-direction: column; align-items: flex-start; }

.mrg-card-title {
    display: block;
    margin-top: 24px;
    font-size: 24px;
    line-height: 1.2;
    font-weight: 700;
    text-transform: uppercase;
}

.mrg-card-type { font-weight: 200; margin-right: 4px; }

.mrg-card-kicker {
    margin-top: 6px;
    font-family: 'Roboto Mono', monospace;
    font-size: 13px;
    font-weight: 300;
    opacity: 0.7;
}

.mrg-card-text {
    margin-top: 14px;
    font-size: 16px;
    line-height: 1.7;
    font-weight: 200;
    opacity: 0.88;
}

.mrg-card-more { margin-top: 20px; }

.mrg-card--small .mrg-card-title { font-size: 20px; }
.mrg-card--small .mrg-card-text { display: none; }

.mrg-card--soon { opacity: 0.6; }
.mrg-card--soon .mrg-card-media img { filter: grayscale(1); }

.mrg-card--empty {
    justify-content: center;
    min-height: 260px;
    padding: 34px;
    border: 1px dashed var(--mrg-line);
    opacity: 0.85;
}

.mrg-card--empty .mrg-card-title { margin-top: 0; }
.mrg-card--empty .mrg-link-more { margin-top: 22px; }

/* ------------------------------------------------------------ game detail */

.mrg-game-hero {
    position: relative;
    margin: -170px -60px 0;
    padding: 190px 60px 80px;
    overflow: hidden;
}

.mrg-game-hero-bg {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    opacity: 0.38;
    filter: blur(3px) saturate(1.15);
    transform: scale(1.05);
}

.mrg-game-hero.has-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, var(--mkof-main-color-second, #000) 18%, transparent 80%),
        linear-gradient(0deg, var(--mkof-main-color-second, #000) 0, transparent 45%);
    pointer-events: none;
}

.mrg-game-hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
    align-items: center;
    gap: 70px;
}

.mrg-game-title {
    display: flex;
    align-items: center;
    gap: 0.22em;
    margin: 0 0 18px;
    font-size: clamp(40px, 5.4vw, 84px);
    line-height: 1;
    font-weight: 800;
    text-transform: uppercase;
}

.mrg-game-title span { min-width: 0; }

.mrg-game-logo { flex: 0 0 auto; width: 0.95em; height: 0.95em; }

.mrg-game-tagline {
    margin: 0 0 22px;
    font-family: 'Roboto Mono', monospace;
    font-size: 18px;
    font-weight: 400;
    color: var(--mrg-accent, inherit);
}

.mkof-skin--white .mrg-game-tagline {
    display: inline;
    color: inherit;
    background: linear-gradient(transparent 55%, var(--mrg-accent, transparent) 55%);
}

.mkof-skin--white .mrg-game-tagline + .mrg-lead { margin-top: 22px; }

.mrg-status { margin: 26px 0 0; }

.mrg-game-hero-media img {
    display: block;
    width: 100%;
    border: 1px solid var(--mrg-line);
    box-shadow: 14px 14px 0 var(--mrg-accent, var(--mkof-main-color, #fff));
}

.mrg-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    margin: 70px 0 0;
    border-top: 1px solid var(--mrg-line);
    border-bottom: 1px solid var(--mrg-line);
}

.mrg-fact { padding: 26px 22px 26px 0; }
.mrg-fact + .mrg-fact { padding-left: 22px; border-left: 1px solid var(--mrg-line); }

.mrg-fact dt {
    font-family: 'Roboto Mono', monospace;
    font-size: 12px;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0.65;
}

.mrg-fact dd {
    margin: 8px 0 0;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 500;
}

.mrg-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
    gap: 70px;
}

.mrg-features {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 60px 44px;
}

.mrg-feature-num {
    display: block;
    margin-bottom: 18px;
    font-size: 50px;
    line-height: 1;
    font-weight: 200;
}

.mrg-feature h3 {
    margin: 0 0 12px;
    font-size: 20px;
    line-height: 1.25;
    font-weight: 700;
    text-transform: uppercase;
}

.mrg-feature p {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
    font-weight: 200;
    opacity: 0.88;
}

.mrg-story {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    align-items: center;
    gap: 80px;
}

.mrg-story--image-left { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.mrg-story--image-left .mrg-story-media { order: -1; }
.mrg-story--wide { grid-template-columns: minmax(0, 1fr); gap: 44px; }
.mrg-story--wide .mrg-story-text { max-width: 820px; }

.mrg-story-media { margin: 0; }

.mrg-story-media img {
    display: block;
    width: 100%;
    border: 1px solid var(--mrg-line);
}

.mrg-story--wide .mrg-story-media img {
    image-rendering: pixelated;
    background: #262a33;
}

.mrg-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.mrg-gallery-item {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border: 1px solid var(--mrg-line);
    cursor: zoom-in;
}

.mrg-gallery-item:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.mrg-gallery-item:first-child img { object-position: left center; }

.mrg-gallery-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.mrg-gallery-item:hover img { transform: scale(1.05); }

.mrg-gallery-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 30px 16px 12px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.8), transparent);
    color: #fff;
    font-family: 'Roboto Mono', monospace;
    font-size: 12px;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.mrg-gallery-item:hover .mrg-gallery-caption,
.mrg-gallery-item:focus-visible .mrg-gallery-caption { opacity: 1; transform: none; }

/* Visor de imagenes propio (si no esta Magnific Popup) */
.mrg-lightbox {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 40px;
    background: rgba(0, 0, 0, 0.92);
    color: #fff;
    font-family: 'Roboto Mono', monospace;
    font-size: 13px;
    cursor: zoom-out;
}

.mrg-lightbox img { max-width: 100%; max-height: calc(100vh - 120px); object-fit: contain; }

/* ------------------------------------------------------------ newsletter / compra */

.mrg-notify,
.mrg-buy-band {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 60px;
    margin-top: 130px;
    padding: 64px;
    border: 1px solid var(--mrg-line);
    scroll-margin-top: 120px;
}

.mrg-notify-text p:not(.mrg-kicker),
.mrg-buy-text > p:not(.mrg-kicker) {
    margin: 0;
    font-size: 18px;
    line-height: 1.65;
    font-weight: 200;
    opacity: 0.88;
}

.mrg-notify-form {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 22px 46px;
}

.mrg-notify-form input[type="email"] {
    flex: 1 1 260px;
    min-width: 0;
    padding: 14px 0;
    border: 0;
    border-bottom: 1px solid currentColor;
    border-radius: 0;
    background: transparent;
    color: inherit;
    font-family: 'Kanit', sans-serif;
    font-size: 17px;
    font-weight: 300;
}

.mrg-notify-form input[type="email"]::placeholder { color: inherit; opacity: 0.55; }
.mrg-notify-form input[type="email"]:focus { outline: none; border-bottom-width: 3px; }

.mrg-form-msg {
    flex-basis: 100%;
    min-height: 1.4em;
    margin: 0;
    font-family: 'Roboto Mono', monospace;
    font-size: 13px;
}

.mrg-buy-band { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); }
.mrg-buy-media img { display: block; width: 100%; }

.mrg-buy-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
    margin: 28px 0 26px;
    padding: 16px 0;
    border-top: 1px solid var(--mrg-line);
    border-bottom: 1px solid var(--mrg-line);
}

.mrg-buy-name { font-weight: 500; text-transform: uppercase; }
.mrg-buy-band .mrg-add-form { margin: 0; }

/* ------------------------------------------------------------ noticias */

.mrg-posts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 70px 50px;
    margin-top: 80px;
}

.mrg-posts--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 0; gap: 50px 34px; }

.mrg-post--featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    align-items: center;
    gap: 56px;
}

.mrg-post-media {
    display: block;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    border: 1px solid var(--mrg-line);
}

.mrg-post-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.mrg-post-media:hover img { transform: scale(1.04); }

.mrg-post-meta {
    margin: 22px 0 10px;
    font-family: 'Roboto Mono', monospace;
    font-size: 13px;
    font-weight: 300;
    opacity: 0.7;
}

.mrg-post--featured .mrg-post-meta { margin-top: 0; }

.mrg-post-title {
    margin: 0 0 14px;
    font-size: 26px;
    line-height: 1.2;
    font-weight: 700;
    text-transform: uppercase;
}

.mrg-post--featured .mrg-post-title { font-size: clamp(30px, 3.2vw, 44px); }
.mrg-posts--3 .mrg-post-title { font-size: 19px; }
.mrg-post-title a { text-decoration: none; }

.mrg-post-excerpt {
    margin: 0 0 20px;
    font-size: 17px;
    line-height: 1.7;
    font-weight: 200;
    opacity: 0.88;
}

.mrg-pager {
    display: flex;
    gap: 10px;
    margin-top: 70px;
    font-family: 'Roboto Mono', monospace;
}

.mrg-pager a,
.mrg-pager span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--mrg-line);
    text-decoration: none;
}

.mrg-pager span { background: var(--mkof-main-color, #fff); color: var(--mkof-main-color-second, #000); }

.mrg-article { max-width: 900px; margin: 0 auto; }
.mrg-article-media { margin: 60px 0; }
.mrg-article-media img { display: block; width: 100%; border: 1px solid var(--mrg-line); }
.mrg-article-body { max-width: 760px; }

/* ------------------------------------------------------------ tribu */

.mrg-socials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.mrg-social {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 34px;
    border: 1px solid var(--mrg-line);
    text-decoration: none;
    transition: transform 0.45s cubic-bezier(0.39, 0.1, 0, 0.98), box-shadow 0.45s cubic-bezier(0.39, 0.1, 0, 0.98);
}

.mrg-social:hover {
    transform: translate(-7px, -7px);
    box-shadow: 7px 7px 0 var(--mkof-main-color, #fff);
}

.mrg-social .mrg-feature-num { margin-bottom: 10px; }
.mrg-social-name { font-size: 26px; font-weight: 700; text-transform: uppercase; line-height: 1.1; }
.mrg-social-text { font-size: 16px; font-weight: 200; line-height: 1.6; opacity: 0.85; }
.mrg-social .mrg-card-more { margin-top: auto; padding-top: 14px; }

.mrg-features--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ------------------------------------------------------------ formularios / contacto */

.mrg-contact {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 80px;
    align-items: start;
    margin-top: 90px;
}

.mrg-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 24px;
    margin-bottom: 30px;
}

.mrg-field--full { grid-column: 1 / -1; }

.mrg-field label {
    display: block;
    margin-bottom: 8px;
    font-family: 'Roboto Mono', monospace;
    font-size: 12px;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0.75;
}

.mrg-field input,
.mrg-field select,
.mrg-field textarea,
.mrg-qty,
.mrg-cart-qty input {
    width: 100%;
    padding: 13px 15px;
    border: 1px solid var(--mrg-line);
    border-radius: 0;
    background: transparent;
    color: inherit;
    font-family: 'Kanit', sans-serif;
    font-size: 16px;
    font-weight: 300;
}

.mrg-field input,
.mrg-field select,
.mrg-field textarea { margin: 0; display: block; }

.mrg-field textarea { resize: vertical; min-height: 170px; }

.mrg-field input:focus,
.mrg-field select:focus,
.mrg-field textarea:focus,
.mrg-qty:focus { outline: 2px solid currentColor; outline-offset: -1px; }

.mrg-contact-info { display: flex; flex-direction: column; gap: 36px; }
.mrg-info-block .mrg-kicker { margin-bottom: 10px; }
.mrg-info-block p:not(.mrg-kicker) { margin: 0; font-size: 16px; line-height: 1.6; font-weight: 200; }
.mrg-info-block a { font-size: 17px; font-weight: 300; text-decoration: none; }
.mrg-info-block a:hover { text-decoration: underline; }
.mrg-info-big { font-size: clamp(20px, 2vw, 26px) !important; font-weight: 600 !important; overflow-wrap: anywhere; }
.mrg-info-links { display: flex; flex-wrap: wrap; gap: 10px 24px; }

/* ------------------------------------------------------------ tienda */

.mrg-products {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 60px 32px;
}

.mrg-product {
    display: flex;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
}

.mrg-product-media {
    position: relative;
    display: block;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    border: 1px solid var(--mrg-line);
    background: rgba(127, 127, 127, 0.08);
    transition: transform 0.45s cubic-bezier(0.39, 0.1, 0, 0.98), box-shadow 0.45s cubic-bezier(0.39, 0.1, 0, 0.98);
}

.mrg-product-media img { display: block; width: 100%; height: 100%; object-fit: cover; }

.mrg-product-type {
    margin-top: 20px;
    font-family: 'Roboto Mono', monospace;
    font-size: 12px;
    font-weight: 300;
    text-transform: uppercase;
    opacity: 0.65;
}

.mrg-product-name {
    margin-top: 6px;
    font-size: 20px;
    line-height: 1.25;
    font-weight: 700;
    text-transform: uppercase;
}

.mrg-price {
    display: block;
    margin-top: 6px;
    font-size: 18px;
    font-weight: 300;
}

.mrg-price del { opacity: 0.5; margin-right: 6px; }
.mrg-price ins { text-decoration: none; font-weight: 500; }
.mrg-price--soon { font-family: 'Roboto Mono', monospace; font-size: 14px; opacity: 0.7; }

.mrg-products .mrg-card { min-width: 0; }
.mrg-products .mrg-card-media { aspect-ratio: 3 / 2; }
.mrg-products .mrg-card-title { font-size: 20px; margin-top: 20px; }

.mrg-product-single {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 70px;
    align-items: start;
}

.mrg-product-main img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid var(--mrg-line);
}

.mrg-product-thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }

.mrg-product-thumb {
    width: 90px;
    padding: 0;
    border: 1px solid var(--mrg-line);
    background: none;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.mrg-product-thumb:hover,
.mrg-product-thumb.is-active { opacity: 1; }
.mrg-product-thumb img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }

.mrg-product-title {
    margin: 0 0 12px;
    font-size: clamp(32px, 3.6vw, 50px);
    line-height: 1.08;
    font-weight: 700;
    text-transform: uppercase;
}

.mrg-product-price .mrg-price { font-size: 26px; margin: 0 0 24px; }
.mrg-product-short { margin-bottom: 30px; }
.mrg-product-description { margin-top: 44px; padding-top: 30px; border-top: 1px solid var(--mrg-line); }
.mrg-product-sku { margin-top: 20px; font-family: 'Roboto Mono', monospace; font-size: 12px; opacity: 0.6; }

.mrg-add-form {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 14px 40px;
    margin-bottom: 26px;
}

.mrg-wrap input.mrg-qty {
    flex: 0 0 84px;
    width: 84px;
    margin: 0;
    padding: 0 12px;
    border: 1px solid var(--mrg-line);
    text-align: center;
}

.mrg-out {
    margin: 0 0 26px;
    font-family: 'Roboto Mono', monospace;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.mrg-cart-table { width: 100%; margin-top: 70px; border-collapse: collapse; }

.mrg-cart-table th,
.mrg-cart-table td {
    padding: 18px 12px;
    border-bottom: 1px solid var(--mrg-line);
    text-align: left;
    vertical-align: middle;
}

.mrg-cart-table th {
    font-family: 'Roboto Mono', monospace;
    font-size: 12px;
    font-weight: 300;
    text-transform: uppercase;
    opacity: 0.65;
}

.mrg-cart-table td a { font-weight: 500; text-decoration: none; text-transform: uppercase; }
.mrg-cart-media img { display: block; width: 78px; height: auto; }
.mrg-cart-qty { display: flex; align-items: center; gap: 12px; }
.mrg-cart-qty input { width: 76px; padding: 8px 10px; }

.mrg-link {
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font-family: 'Roboto Mono', monospace;
    font-size: 12px;
    text-decoration: underline;
    cursor: pointer;
}

.mrg-cart-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-top: 34px;
}

.mrg-cart-footer .mrg-actions { margin-top: 0; }

.mrg-cart-total {
    font-size: 22px;
    font-weight: 300;
    text-transform: uppercase;
}

.mrg-cart-total strong { margin-left: 12px; font-weight: 700; }

.mrg-checkout {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 70px;
    align-items: start;
    margin-top: 70px;
}

.mrg-checkout-form .mrg-muted { margin: 0 0 26px; font-size: 14px; }

.mrg-order-summary {
    padding: 34px;
    border: 1px solid var(--mrg-line);
}

.mrg-order-list { margin: 0 0 24px; padding: 0; list-style: none; }

.mrg-order-list li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid var(--mrg-line);
    font-weight: 300;
}

.mrg-order-list em { font-style: normal; opacity: 0.65; }

/* ------------------------------------------------------------ 404 */

.mrg-404 { max-width: 900px; padding: 4vh 0 2vh; }

/* ------------------------------------------------------------ home: fila extra en el skin claro */

.mrg-light-row { margin-top: 70px; }

/* ------------------------------------------------------------ pie: redes enlazadas */

#mkof-page-footer a.mkof-icon-holder.mkof--textual { color: inherit; text-decoration: none; }
#mkof-page-footer a.mkof-icon-holder.mkof--textual:hover { text-decoration: underline; }

/* ------------------------------------------------------------ responsive */

@media only screen and (max-width: 1200px) {
    .mrg-features,
    .mrg-features--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media only screen and (max-width: 1024px) {
    .mrg-wrap { padding: 140px 34px 90px; }
    .mrg-game-hero { margin: -140px -34px 0; padding: 150px 34px 60px; }
    .mrg-game-hero-inner,
    .mrg-split,
    .mrg-story,
    .mrg-story--image-left,
    .mrg-contact,
    .mrg-checkout,
    .mrg-product-single,
    .mrg-notify,
    .mrg-buy-band,
    .mrg-post--featured { grid-template-columns: minmax(0, 1fr); gap: 44px; }
    .mrg-story--image-left .mrg-story-media { order: 0; }
    .mrg-game-hero-media { max-width: 640px; }
    .mrg-products,
    .mrg-cards--3,
    .mrg-posts--3,
    .mrg-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mrg-section,
    .mrg-notify,
    .mrg-buy-band { margin-top: 100px; }
    .mrg-notify,
    .mrg-buy-band { padding: 44px; }
}

@media only screen and (max-width: 680px) {
    .mrg-wrap { padding: 120px 20px 70px; }
    .mrg-section-head { grid-template-columns: minmax(0, 1fr); }
    .mrg-section-head > .mrg-link-more { grid-column: 1; grid-row: auto; justify-self: start; margin: 6px 0 0; }
    .mrg-game-hero { margin: -120px -20px 0; padding: 130px 20px 50px; }
    .mrg-lead { font-size: 18px; }
    .mrg-tabs { gap: 4px 24px; margin-top: 50px; }
    .mrg-cards,
    .mrg-cards--3,
    .mrg-products,
    .mrg-posts,
    .mrg-posts--3,
    .mrg-features,
    .mrg-features--4,
    .mrg-form-grid { grid-template-columns: minmax(0, 1fr); }
    .mrg-gallery { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
    .mrg-gallery-item:first-child { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 16 / 10; }
    .mrg-cards { gap: 60px; }
    .mrg-section,
    .mrg-notify,
    .mrg-buy-band { margin-top: 80px; }
    .mrg-notify,
    .mrg-buy-band { padding: 30px 22px; gap: 30px; }
    .mrg-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mrg-fact,
    .mrg-fact + .mrg-fact { padding: 18px 12px 18px 0; border-left: 0; }
    .mrg-fact:nth-child(even) { padding-left: 14px; border-left: 1px solid var(--mrg-line); }
    .mrg-game-hero-media img { box-shadow: 8px 8px 0 var(--mrg-accent, var(--mkof-main-color, #fff)); }
    .mrg-actions { gap: 22px 36px; }

    .mrg-cart-table thead { display: none; }
    .mrg-cart-table,
    .mrg-cart-table tbody,
    .mrg-cart-table tr,
    .mrg-cart-table td { display: block; width: 100%; }
    .mrg-cart-table tr { position: relative; padding: 16px 0 16px 96px; border-bottom: 1px solid var(--mrg-line); }
    .mrg-cart-table td { padding: 4px 0; border: 0; }
    .mrg-cart-table td.mrg-cart-media { position: absolute; left: 0; top: 18px; width: 78px; }
    .mrg-cart-table td[data-label]::before {
        content: attr(data-label) ': ';
        font-family: 'Roboto Mono', monospace;
        font-size: 11px;
        text-transform: uppercase;
        opacity: 0.6;
    }
}

/* ------------------------------------------------------------ selector de idioma */

.mrg-lang { position: relative; display: inline-flex; align-items: center; margin-right: 18px; font-family: 'Kanit', sans-serif; z-index: 120; }

.mrg-lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 34px;
    padding: 0 13px 0 9px;
    border: 1px solid var(--mkof-main-color, #fff);
    border-radius: 20px;
    background: var(--mkof-main-color-second, #000);
    color: var(--mkof-main-color, #fff);
    font-family: 'Kanit', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 1;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease;
}

.mrg-lang-btn img { width: 22px; height: 16px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px var(--mkof-main-color, #fff); }
.mrg-lang-menu img { width: 20px; height: 15px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(127, 127, 127, 0.35); }
.mrg-lang-btn:hover,
.mrg-lang.is-open .mrg-lang-btn { background: var(--mkof-main-color, #fff); color: var(--mkof-main-color-second, #000); }

.mrg-lang-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    display: none;
    min-width: 220px;
    max-height: min(70vh, 520px);
    margin: 0;
    padding: 8px;
    overflow-y: auto;
    list-style: none;
    border: 1px solid var(--mkof-border-frame, #363636);
    background: var(--mkof-main-color-second, #000);
    box-shadow: 8px 8px 0 var(--mkof-main-color, #fff);
}

.mrg-lang.is-open .mrg-lang-menu { display: block; }

.mrg-lang-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    color: var(--mkof-main-color, #fff);
    font-size: 15px;
    font-weight: 300;
    text-decoration: none;
}

.mrg-lang-menu a:hover,
.mrg-lang-menu a:focus-visible { background: rgba(127, 127, 127, 0.18); outline: none; }
.mrg-lang-menu a.is-active { font-weight: 600; }
.mrg-lang-menu a.is-active::after { content: ''; width: 7px; height: 7px; margin-left: auto; background: currentColor; }

.mrg-lang--mobile { margin: 0 12px 0 auto; }
.mrg-lang--mobile .mrg-lang-btn span { display: none; }
#mkof-page-mobile-header-inner { display: flex; align-items: center; }

/* ------------------------------------------------------------ tarjeta destacada */

.mrg-featured { margin-bottom: 70px; }

.mrg-card--featured {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    align-items: center;
    gap: 56px;
}

.mrg-card--featured .mrg-card-media { aspect-ratio: 16 / 10; }
.mrg-card--featured .mrg-card-title { margin-top: 10px; font-size: clamp(30px, 3.4vw, 48px); line-height: 1.05; }
.mrg-card--featured .mrg-card-type { display: block; font-size: 16px; margin-bottom: 6px; }
.mrg-card--featured .mrg-card-text { font-size: 18px; }

.mrg-card-flag {
    display: inline-block;
    padding: 5px 10px;
    background: var(--mrg-accent, var(--mkof-main-color, #fff));
    color: #000;
    font-family: 'Roboto Mono', monospace;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.mrg-card-tagline {
    margin-top: 12px;
    font-family: 'Roboto Mono', monospace;
    font-size: 16px;
    color: var(--mrg-accent, inherit);
}

.mkof-skin--white .mrg-card-tagline { color: inherit; }

/* Pestanas que filtran sin recargar */
.mrg-type[hidden],
.mrg-shop-section[hidden] { display: none !important; }

/* ------------------------------------------------------------ home: parrilla de juegos y destacado */

.mrg-home-games,
.mrg-spotlight {
    --mrg-line: var(--mkof-border-frame, #363636);
    position: relative;
    font-family: 'Kanit', sans-serif;
    color: var(--mkof-main-color, #fff);
}

.mrg-home-games *,
.mrg-spotlight * { box-sizing: border-box; }

.mrg-home-inner { max-width: 1300px; margin: 0 auto; padding: 40px 60px 40px; }
.mrg-home-games a { color: inherit; }
.mrg-home-more { display: flex; justify-content: center; margin-top: 70px; }

.mrg-spotlight {
    margin: 100px 0 40px;
    padding: 120px 60px;
    overflow: hidden;
    isolation: isolate;
    color: #fff;
}

.mrg-spotlight-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-position: center;
    background-size: cover;
    transform: scale(1.04);
    transition: transform 6s ease;
}

.mrg-spotlight:hover .mrg-spotlight-bg { transform: scale(1.1); }
.mrg-spotlight::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 10, 18, 0.92) 10%, rgba(8, 10, 18, 0.35) 70%, rgba(8, 10, 18, 0.1)); }
.mrg-spotlight-inner { max-width: 1300px; margin: 0 auto; }
.mrg-spotlight .mrg-kicker { color: #ffd23f; }

.mrg-spotlight-title {
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 0 0 12px;
    font-family: 'Lilita One', 'Kanit', sans-serif;
    font-size: clamp(54px, 8vw, 116px);
    font-weight: 400;
    line-height: 0.95;
    color: #ffd23f;
    -webkit-text-stroke: 3px #151515;
    paint-order: stroke fill;
    text-shadow: 0 6px 0 #151515;
}

.mrg-spotlight-title img { width: clamp(60px, 7vw, 96px); height: auto; }
.mrg-spotlight-tagline { margin: 0 0 10px; font-family: 'Lilita One', 'Kanit', sans-serif; font-size: clamp(24px, 2.6vw, 36px); color: #fff; }
.mrg-spotlight-quote { max-width: 620px; margin: 0; font-size: 19px; font-weight: 300; color: #d6e0ec; }
.mrg-spotlight .mkof-button.mkof-layout--filled { color: #000; background: #ffd23f; border-color: #ffd23f; }
.mrg-spotlight .mkof-button.mkof-layout--textual { color: #fff; }

@media only screen and (max-width: 1024px) {
    .mrg-card--featured { grid-template-columns: minmax(0, 1fr); gap: 26px; }
    .mrg-home-inner { padding: 30px 34px; }
    .mrg-spotlight { padding: 90px 34px; }
}

@media only screen and (max-width: 680px) {
    .mrg-home-inner { padding: 20px 20px; }
    .mrg-spotlight { padding: 80px 20px; }
    .mrg-lang { margin-right: 10px; }
}

.mrg-toast {
    position: fixed;
    left: 50%;
    bottom: 26px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 12px;
    width: max-content;
    max-width: calc(100vw - 40px);
    padding: 12px 12px 12px 16px;
    transform: translateX(-50%);
    border: 1px solid var(--mkof-main-color, #fff);
    background: var(--mkof-main-color-second, #000);
    color: var(--mkof-main-color, #fff);
    font-family: 'Kanit', sans-serif;
    font-size: 15px;
    font-weight: 300;
    line-height: 1.4;
    box-shadow: 6px 6px 0 var(--mkof-main-color, #fff);
    animation: mrg-toast-in 0.45s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.mrg-toast.is-leaving { animation: mrg-toast-out 0.3s ease forwards; }
.mrg-toast img { flex: 0 0 auto; width: 24px; height: 24px; object-fit: contain; }
.mrg-toast img.is-flag { width: 22px; height: 16px; object-fit: cover; border-radius: 3px; }
.mrg-toast-icon { flex: 0 0 auto; font-size: 20px; line-height: 1; }
.mrg-toast a { color: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.mrg-toast button {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    margin-left: 4px;
    padding: 0;
    border: 1px solid currentColor;
    border-radius: 50%;
    background: none;
    color: inherit;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
}

.mrg-toast button:hover { background: var(--mkof-main-color, #fff); color: var(--mkof-main-color-second, #000); }
.mrg-toast--accent { background: #ffd23f; color: #000; border-color: #000; box-shadow: 6px 6px 0 #000; }
.mrg-toast--alert { background: #ff4a4a; color: #fff; border-color: #000; box-shadow: 6px 6px 0 #000; }
.mrg-toast--accent button:hover,
.mrg-toast--alert button:hover { background: #000; color: #fff; }

@keyframes mrg-toast-in { from { opacity: 0; transform: translate(-50%, 24px); } }
@keyframes mrg-toast-out { to { opacity: 0; transform: translate(-50%, 24px); } }

@media only screen and (max-width: 680px) {
    .mrg-toast { bottom: 16px; width: calc(100vw - 32px); flex-wrap: wrap; font-size: 14px; }
    .mrg-toast-text { flex: 1 1 60%; }
}


/* ------------------------------------------------------------ cabecera: mismo aire arriba y abajo */

#mkof-page-header { padding-top: 15px !important; padding-bottom: 15px !important; box-sizing: border-box; }

/* ------------------------------------------------------------ elementos de sistema con el estilo del sitio */

html { scrollbar-color: #fff #000; scrollbar-width: thin; }
html:has(body.mkof-skin--white) { scrollbar-color: #000 #fff; }
body * { scrollbar-width: thin; scrollbar-color: var(--mkof-main-color, #fff) transparent; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--mkof-main-color-second, #000); }
::-webkit-scrollbar-thumb {
    border: 3px solid var(--mkof-main-color-second, #000);
    border-radius: 10px;
    background: var(--mkof-main-color, #fff);
}
::-webkit-scrollbar-thumb:hover { border-width: 2px; }
::-webkit-scrollbar-corner { background: transparent; }
::-webkit-scrollbar-button { display: none; height: 0; width: 0; }

.mrg-lang-menu { scrollbar-width: thin; }
.mrg-lang-menu::-webkit-scrollbar { width: 6px; }
.mrg-lang-menu::-webkit-scrollbar-thumb { border-width: 1px; }

:focus-visible { outline: 2px solid var(--mkof-main-color, #fff); outline-offset: 3px; }

input[type="checkbox"],
input[type="radio"] { accent-color: var(--mkof-main-color, #fff); }

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
input[type="number"] { -moz-appearance: textfield; appearance: textfield; }

.mrg-wrap select,
.mrg-field select {
    -webkit-appearance: none;
    appearance: none;
    padding-right: 44px;
    background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
    background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    cursor: pointer;
}

.mrg-wrap select option { background: var(--mkof-main-color-second, #000); color: var(--mkof-main-color, #fff); }

input::placeholder,
textarea::placeholder { color: currentColor; opacity: 0.5; }

input:-webkit-autofill,
input:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--mkof-main-color, #fff);
    -webkit-box-shadow: 0 0 0 1000px var(--mkof-main-color-second, #000) inset;
    transition: background-color 9999s;
}

/* ------------------------------------------------------------ home: manifiesto, historia y noticias */

.mrg-manifesto,
.mrg-story-home,
.mrg-home-news {
    --mrg-line: var(--mkof-border-frame, #363636);
    position: relative;
    font-family: 'Kanit', sans-serif;
    color: var(--mkof-main-color, #fff);
}

.mrg-manifesto *, .mrg-story-home *, .mrg-home-news * { box-sizing: border-box; }
.mrg-manifesto a, .mrg-story-home a, .mrg-home-news a { color: inherit; }

.mrg-manifesto { padding: 150px 0 60px; }
.mrg-story-home { padding: 170px 0 40px; }
.mrg-home-news { padding: 150px 0 60px; }
.mrg-home-games .mrg-home-inner { padding-top: 70px; padding-bottom: 20px; }
.mrg-home-more { margin-top: 90px; }
.mrg-spotlight { margin: 170px 0 80px; }
.mkbuilder-element-77c6047 { margin-top: 60px !important; }
.mkbuilder-element-41a6521 { margin-top: 40px; }
.mkbuilder-element-b02cb01 { margin-top: 110px; }

.mrg-home-title {
    margin: 0 0 30px;
    font-size: clamp(38px, 5vw, 72px);
    line-height: 1.04;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--mkof-main-color, #fff);
}

.mrg-home-lead {
    max-width: 620px;
    margin: 0 0 18px;
    font-size: 19px;
    line-height: 1.7;
    font-weight: 200;
    opacity: 0.9;
}

.mrg-home-head { max-width: 900px; margin-bottom: 70px; }
.mrg-home-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; max-width: none; }
.mrg-home-head--row .mrg-home-title { margin-bottom: 0; }
.mrg-home-head--row .mrg-link-more { margin-bottom: 14px; white-space: nowrap; }

.mrg-manifesto-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 90px;
    align-items: center;
}

.mrg-manifesto-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--mrg-line);
    border-left: 1px solid var(--mrg-line);
}

.mrg-manifesto-facts li {
    padding: 34px 28px;
    border-right: 1px solid var(--mrg-line);
    border-bottom: 1px solid var(--mrg-line);
    transition: background 0.35s ease, color 0.35s ease;
}

.mrg-manifesto-facts li:hover { background: var(--mkof-main-color, #fff); color: var(--mkof-main-color-second, #000); }
.mrg-manifesto-facts strong { display: block; margin-bottom: 12px; font-size: clamp(44px, 4.4vw, 68px); font-weight: 700; line-height: 1; }
.mrg-manifesto-facts span { display: block; font-size: 15px; line-height: 1.5; font-weight: 300; opacity: 0.85; }

.mrg-chapters {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 34px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mrg-chapters::before {
    content: '';
    position: absolute;
    top: -34px;
    left: 0;
    right: 0;
    height: 1px;
    background: repeating-linear-gradient(90deg, var(--mrg-line) 0 10px, transparent 10px 18px);
}

.mrg-chapter a { display: flex; flex-direction: column; text-decoration: none; }

.mrg-chapter-media {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border: 1px solid var(--mrg-line);
    transition: transform 0.45s cubic-bezier(0.39, 0.1, 0, 0.98), box-shadow 0.45s cubic-bezier(0.39, 0.1, 0, 0.98);
}

.mrg-chapter-media img { display: block; width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.35); transition: filter 0.5s ease, transform 0.7s ease; }
.mrg-chapter a:hover .mrg-chapter-media { transform: translate(-7px, -7px); box-shadow: 7px 7px 0 var(--mkof-main-color, #fff); }
.mrg-chapter a:hover .mrg-chapter-media img { filter: none; transform: scale(1.04); }

.mrg-chapter-meta { display: flex; align-items: baseline; justify-content: space-between; margin-top: 22px; }
.mrg-chapter-n { font-size: 46px; font-weight: 200; line-height: 1; }
.mrg-chapter-year { font-family: 'Roboto Mono', monospace; font-size: 14px; opacity: 0.7; }
.mrg-chapter-title { margin-top: 10px; font-size: 22px; font-weight: 700; text-transform: uppercase; line-height: 1.15; }
.mrg-chapter-text { margin-top: 10px; font-size: 15px; line-height: 1.65; font-weight: 300; opacity: 0.85; }

.mrg-home-news .mrg-posts { margin-top: 0; }

@media only screen and (max-width: 1024px) {
    .mrg-manifesto-grid { grid-template-columns: minmax(0, 1fr); gap: 60px; }
    .mrg-chapters { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 60px; }
    .mrg-chapters::before { display: none; }
    .mrg-manifesto, .mrg-home-news { padding-top: 110px; }
    .mrg-story-home { padding-top: 120px; }
    .mrg-spotlight { margin-top: 120px; }
}

@media only screen and (max-width: 680px) {
    .mrg-chapters { grid-template-columns: minmax(0, 1fr); }
    .mrg-manifesto-facts li { padding: 24px 18px; }
    .mrg-home-head { margin-bottom: 44px; }
    .mrg-home-head--row { flex-direction: column; align-items: flex-start; }
    .mrg-manifesto, .mrg-home-news, .mrg-story-home { padding-top: 90px; }
    .mrg-spotlight { margin: 100px 0 40px; }
}

@media only screen and (max-width: 680px) {
    body .mkof-custom-font.mkof-custom-font-947 h1.mkof-custom-font-content { font-size: 36px !important; line-height: 1.15 !important; }
    .mkbuilder-element-77c6047 { margin-top: 40px !important; }
}

/* ------------------------------------------------------------ privacidad, bajas y notas de consentimiento */
.mrg-legal { max-width: 860px; margin-top: 90px; }
.mrg-legal-block { padding: 38px 0; border-top: 1px solid var(--mrg-line); }
.mrg-legal-block:last-of-type { border-bottom: 1px solid var(--mrg-line); }
.mrg-legal-block h2 { display: flex; align-items: baseline; gap: 18px; margin: 0 0 18px; font-size: 26px; line-height: 1.2; font-weight: 700; text-transform: uppercase; }
.mrg-legal-block h2 .mrg-feature-num { display: inline; margin: 0; font-size: 34px; }
.mrg-legal-block p { margin: 0 0 14px; font-size: 17px; line-height: 1.7; font-weight: 300; }
.mrg-legal-block a, .mrg-legal-meta a { text-decoration: underline; text-underline-offset: 3px; }
.mrg-legal-meta { margin-top: 34px; font-family: var(--mrg-mono); font-size: 13px; opacity: .75; }
.mrg-unsub-form { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 34px; margin-top: 44px; }
.mrg-consent { flex-basis: 100%; margin: 12px 0 0; font-family: 'Roboto Mono', monospace; font-size: 12px; line-height: 1.5; opacity: .7; }
.mrg-consent a { text-decoration: underline; text-underline-offset: 3px; }
.mrg-consent--footer { margin-top: 10px; }
.sc-consent { margin: 14px auto 0; text-align: center; color: inherit; }
#mkof-page-footer #block-9 a { overflow-wrap: anywhere; }
#mkof-page-footer #block-9 a.mrg-footer-legal { display: block; margin-top: 12px; font-family: 'Roboto Mono', monospace !important; font-size: 13px !important; line-height: 1.4 !important; letter-spacing: 0; opacity: .7; }
#mkof-page-footer #block-9 a.mrg-footer-legal:hover { opacity: 1; }
#mkof-page-footer .mrg-consent--footer { font-family: 'Roboto Mono', monospace !important; font-size: 11px !important; line-height: 1.5 !important; margin: 14px 0 0 !important; }
@media (max-width: 680px) {
    .mrg-legal { margin-top: 60px; }
    .mrg-legal-block h2 { font-size: 21px; }
}

/* Official wordmark on the studio home spotlight. */
.mrg-spotlight-title img.mrg-spotlight-brand{width:min(650px,100%);height:auto;max-width:100%;flex:0 1 650px}
