body {
    background-color: #0b1020;
    color: #f2f2f2;
}

a {
    color: #4da3ff;
}

/* Bootstrap's .container caps at 1320px regardless of screen size, which leaves
   large empty margins on wide monitors. Widen it further on large viewports. */
@media (min-width: 1400px) {
    .container {
        max-width: 1600px;
    }
}

@media (min-width: 1800px) {
    .container {
        max-width: 1780px;
    }
}

/* Nav / footer chrome - specific to this site's layout, not the shared library */

.sr-navbar {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sr-brand {
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #ffffff !important;
    display: flex;
    align-items: center;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

.sr-brand-logo {
    height: 80px;
    width: auto;
}

.sr-brand-logo--footer {
    height: 64px;
}

.sr-search-icon {
    font-size: 1.1rem;
}

.sr-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    background-color: #05070f;
}

.sr-footer-brand {
    font-size: 1.1rem;
}

.sr-social-icons {
    display: flex;
    gap: 0.75rem;
}

.sr-social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #131b33;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sr-footer-heading {
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.85);
}

.sr-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-size: 0.85rem;
}

.sr-footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
}

.sr-footer-links a:hover {
    color: #fff;
}

.sr-footer-subtext {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

.sr-subscribe-form {
    gap: 0.4rem;
}

.sr-footer-separator {
    border-color: rgba(255, 255, 255, 0.1);
}

.sr-footer-policy-links {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
}

.sr-footer-policy-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
}

.sr-footer-policy-links a:hover {
    color: #fff;
}

/* Everything below styles markup produced by the markdownwebgen shortcodes
   (::: hero, ::: section, ::: carousel, ::: icon-row, ::: about-split, news-*)
   and is namespaced mdwg- so it can be reused/reskinned by other apps. */

/* Sections */

.mdwg-section--a {
    background-color: #0b1020;
}

.mdwg-section--b {
    background-color: #10152a;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mdwg-section--play-anywhere {
    background-color: #10152a;
    background-image: url('/images/Backgrounds/sr_phone_tablet_preview.png');
    background-size: cover;
    background-position: center;
    min-height: 560px;
}

.mdwg-section--play-anywhere .mdwg-section-title {
    font-size: 3rem;
}

.mdwg-section--play-anywhere .mdwg-hero-subtitle {
    font-size: 1.35rem;
    max-width: 560px;
}

.mdwg-section--play-anywhere .mdwg-icon-row {
    gap: 2.5rem;
    margin-top: 2rem;
}

.mdwg-section--play-anywhere .mdwg-icon-item {
    font-size: 1.1rem;
    gap: 0.6rem;
}

.mdwg-section--play-anywhere .mdwg-icon-item img {
    width: 56px;
    height: 56px;
}

.mdwg-section--about {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mdwg-section-title {
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* Hero */

.mdwg-hero {
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mdwg-hero-crest {
    width: 240px;
    height: auto;
}

.mdwg-hero-title {
    font-weight: 800;
    letter-spacing: 0.03em;
    font-size: 2.5rem;
}

.mdwg-hero-title--sm {
    font-size: 2rem;
}

.mdwg-hero-title-accent {
    color: #4da3ff;
}

.mdwg-hero-subtitle {
    color: rgba(255, 255, 255, 0.7);
    max-width: 480px;
}

.mdwg-btn-cta {
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Trailer row: give the video more width than the default 50/50 columns split,
   and nudge the text column inward so it isn't flush against the edge. */
@media (min-width: 992px) {
    .mdwg-trailer-row > .col-lg-6:first-child {
        flex: 0 0 42%;
        max-width: 42%;
        padding-left: 2rem;
    }

    .mdwg-trailer-row > .col-lg-6:last-child {
        flex: 0 0 58%;
        max-width: 58%;
    }
}

/* Store badges */

.mdwg-store-badges {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 240px;
}

.mdwg-store-badges img {
    height: 60px;
    width: auto;
}

/* youtube: embed sizing (markdown default caps it at 600px via inline style) */

.container .ratio.ratio-16x9 {
    max-width: 100% !important;
}

/* News cards (markdownwebgen hooks) */

.mdwg-news-grid {
    justify-content: center;
}

.mdwg-news-card {
    display: block;
    color: inherit;
    background-color: #131b33;
    border-radius: 0.5rem;
    overflow: hidden;
    padding: 1rem;
    height: 100%;
    position: relative;
}

.mdwg-news-card:hover {
    background-color: #1b2a4a;
}

.mdwg-news-card--row {
    height: auto;
    flex: 0 0 auto;
    padding: 1.25rem;
    align-items: center;
    gap: 1.25rem;
}

.mdwg-news-card--row .mdwg-news-title {
    font-size: 1.05rem;
}

.mdwg-news-card--row .mdwg-news-excerpt {
    font-size: 0.95rem;
}

/* Give the pinned hero card less width than the side list so the list's
   thumbnails can be bigger, and the pinned image reads less oversized. */
@media (min-width: 992px) {
    .mdwg-news-latest > .col-lg-6:first-child {
        flex: 0 0 38%;
        max-width: 38%;
    }

    .mdwg-news-latest > .col-lg-6:last-child {
        flex: 0 0 62%;
        max-width: 62%;
        justify-content: space-between;
    }
}

.mdwg-news-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 0.375rem;
    margin-bottom: 0.75rem;
}

.mdwg-news-image--thumb {
    width: 220px;
    height: 140px;
    object-fit: cover;
    margin-bottom: 0;
    flex-shrink: 0;
}

.mdwg-news-title {
    font-weight: 700;
}

.mdwg-news-excerpt {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
}

.mdwg-news-date {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.8rem;
}

.mdwg-news-card--pinned .mdwg-news-date {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mdwg-news-card--pinned .mdwg-news-date::after {
    content: "Read More \2192";
    background-color: #2f6fed;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
    border-radius: 0.375rem;
    white-space: nowrap;
}

.mdwg-news-card--row::after,
.mdwg-news-card--grid::after,
.mdwg-carousel-tile::after {
    content: "\2192";
    color: #4da3ff;
    font-weight: 700;
}

.mdwg-news-card--grid {
    padding-top: 2.25rem;
}

.mdwg-news-card--grid .mdwg-news-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
    min-height: calc(1.3em * 2);
}

.mdwg-news-card--grid .mdwg-news-excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.35;
    min-height: calc(1.35em * 3);
}

.mdwg-news-card--grid::before {
    content: "News";
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background-color: rgba(0, 0, 0, 0.65);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.2rem 0.5rem;
    border-radius: 0.25rem;
}

/* Carousel */

.mdwg-carousel {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.mdwg-carousel-track {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    flex: 1;
}

.mdwg-carousel-track::-webkit-scrollbar {
    display: none;
}

.mdwg-carousel-tile {
    flex: 0 0 260px;
    scroll-snap-align: start;
}

.mdwg-carousel-tile .mdwg-news-image {
    aspect-ratio: 1 / 1;
}

.mdwg-carousel-arrow {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: #131b33;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mdwg-carousel-arrow:hover {
    background-color: #1b2a4a;
}

/* Generic placeholder box */

.mdwg-placeholder-box {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #1b2a4a;
    color: rgba(255, 255, 255, 0.35);
    border-radius: 0.5rem;
}


.mdwg-placeholder-box--product {
    aspect-ratio: 3 / 4;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.mdwg-product-image {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    object-fit: contain;
    background-color: #05070f;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 0.5rem;
    padding: 0.75rem;
    box-sizing: border-box;
    margin: 0 auto 0.75rem;
}

/* Icon row (Play Anywhere platform icons) */

.mdwg-icon-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 1rem;
}

.mdwg-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

.mdwg-icon-item img {
    width: 32px;
    height: 32px;
}

/* Products */

.mdwg-product-card {
    background: none;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: inherit;
}

.mdwg-product-card:hover .mdwg-placeholder-box--product {
    background-color: #24345e;
}

.mdwg-product-card .card-body {
    padding: 0;
}

.mdwg-product-name {
    font-weight: 600;
    font-size: 0.85rem;
}

/* About split */

.mdwg-about-image {
    position: relative;
    min-height: 420px;
}

.mdwg-about-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, transparent 55%, #0b1020 100%);
}

@media (max-width: 991.98px) {
    .mdwg-about-image::after {
        background: linear-gradient(to bottom, transparent 55%, #0b1020 100%);
    }
}

.mdwg-about-content {
    padding: 3rem;
    text-align: left;
}

.mdwg-about-content .mdwg-hero-subtitle {
    max-width: 480px;
}
