:root {
    --paper: #f4f0e5;
    --paper2: #fbf8ef;
    --ink: #171717;
    --muted: #625f58;
    --blue: #145da0;
    --blue-dark: #0d3e6c;
    --rule: #202020;
    --soft-rule: #c9c2b3;
}


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

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    background: #d8d3c8;
    color: var(--ink);
}

body {
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.45;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: var(--blue);
}

.container {
    width: min(1500px, calc(100% - 36px));
    max-width: 1500px;
    margin: 0 auto;
}

#page-wrapper,
#start,
#body-wrapper {
    background: transparent;
}

#body-wrapper {
    padding: 0 !important;
}


/* =========================================================
   HEADER / MASTHEAD
   ========================================================= */

.sl-header {
    background: var(--paper);
    padding: 0 !important;
    border: 0 !important;
}

.sl-paper-head {
    padding-top: 20px;
}

.sl-masthead-row {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr) 190px;
    align-items: center;
    gap: 28px;
    border-bottom: 5px double var(--ink);
    padding: 24px 0 14px;
}

.sl-masthead-centre {
    min-width: 0;
    text-align: center;
}

.sl-brand {
    text-align: center;
    display: block;
}

.sl-masthead-centre .sl-brand {
    display: block;
}

.sl-masthead-logo {
    display: block;
    width: 100%;
    max-width: 900px;
    height: auto;
    margin: 0 auto;
}

/* Kept as fallback for the old text masthead */
.sl-masthead {
    display: block;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(48px, 6.3vw, 102px);
    font-weight: 900;
    line-height: .8;
    letter-spacing: -.065em;
    white-space: nowrap;
}

.sl-strapline {
    display: block;
    margin-top: 7px;
    font-family: "Cal Sans", Inter, sans-serif;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: .035em;
    text-align: center;
}

/* Editable blue editorial blocks */

.sl-masthead-row .sl-side-line {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 86px;
    padding: 16px 18px;
    background: var(--blue) !important;
    color: #fff !important;
    font-family: "Cal Sans", Inter, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.12;
    letter-spacing: .04em;
    text-align: center;
    text-transform: uppercase;
}

.sl-masthead-row .sl-side-line span {
    display: block;
    max-width: 150px;
    color: #fff !important;
}

.sl-side-left,
.sl-side-right {
    text-align: center;
}


/* =========================================================
   EDITION LINE
   ========================================================= */

.sl-edition-line {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--ink);
    font-family: "Cal Sans", Inter, sans-serif;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: .07em;
}

.sl-edition-line strong {
    text-align: center;
}

.sl-edition-line span:last-child {
    text-align: right;
}


/* =========================================================
   NAVIGATION
   ========================================================= */

.sl-main-nav {
    border-bottom: 5px solid var(--blue);
}

.sl-main-nav .navigation {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 0;
}

.sl-main-nav li {
    margin: 0;
}

.sl-main-nav a {
    display: block;
    padding: 12px 27px;
    font-family: "Cal Sans", Inter, sans-serif;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.sl-main-nav a:hover {
    background: var(--blue);
    color: #fff;
}


/* =========================================================
   SCROLLING NEWS WIRE
   ========================================================= */

.sl-newswire {
    display: flex;
    width: 100%;
    height: 34px;
    border-bottom: 1px solid var(--ink);
    background: var(--paper);
    overflow: hidden;
    font-family: "Cal Sans", Inter, sans-serif;
}

.sl-newswire-label {
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    padding: 0 16px;
    background: var(--blue);
    color: #fff;
    font-family: "Cal Sans", Inter, sans-serif;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .12em;
    white-space: nowrap;
}

.sl-newswire-window {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.sl-newswire-track {
    display: flex;
    width: max-content;
    white-space: nowrap;
    animation: sl-newswire-scroll 38s linear infinite;
}

.sl-newswire-set {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.sl-newswire-set a {
    display: inline-block;
    font-family: "Cal Sans", Inter, sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.sl-newswire-set a:hover {
    color: var(--blue);
}

.sl-newswire-star {
    display: inline-block;
    padding: 0 18px;
    color: var(--blue);
    font-size: 11px;
}

.sl-newswire:hover .sl-newswire-track {
    animation-play-state: paused;
}

@keyframes sl-newswire-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}


/* =========================================================
   HOME
   ========================================================= */

.sl-home,
.sl-page,
.sl-article {
    background: var(--paper2);
}

.sl-home {
    padding: 28px 0 44px;
}


/* =========================================================
   HOME — LEAD STORY
   66% COPY / 34% IMAGE
   ========================================================= */

.sl-lead {
    display: grid;
    grid-template-columns: 66% 34%;
    min-height: 460px;
    border-top: 1px solid var(--ink);
    border-bottom: 1px solid var(--ink);
}

.sl-lead-copy {
    padding: 38px 55px 34px 6px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sl-kicker {
    display: block;
    color: var(--blue);
    font-family: "Cal Sans", Inter, sans-serif;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.sl-lead h1 {
    font-size: clamp(38px, 4vw, 68px);
    line-height: .96;
    letter-spacing: -.035em;
    margin: 0 0 20px;
}

.sl-lead p {
    max-width: 760px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    line-height: 1.45;
    margin: 0 0 20px;
    color: #3d3a35;
}

.sl-byline,
.sl-card time {
    font-family: "Cal Sans", Inter, sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
}

.sl-lead-image {
    min-height: 460px;
    background: #d7d1c3;
    overflow: hidden;
}

.sl-lead-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* =========================================================
   IMAGE PLACEHOLDERS
   ========================================================= */

.sl-image-placeholder {
    height: 100%;
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Cal Sans", Inter, sans-serif;
    font-weight: 900;
    letter-spacing: .15em;
    color: #777;
}


/* =========================================================
   LATEST STORIES
   ========================================================= */

.sl-latest-rule {
    margin: 30px 0 16px;
    border-top: 4px double var(--ink);
    border-bottom: 1px solid var(--ink);
    padding: 7px 0 5px;
}

.sl-latest-rule span {
    font-family: "Cal Sans", Inter, sans-serif;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.sl-story-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid var(--soft-rule);
    border-left: 1px solid var(--soft-rule);
}


/* =========================================================
   STORY CARDS
   ========================================================= */

.sl-card {
    display: grid;
    grid-template-columns: 42% 58%;
    min-height: 230px;
    border-right: 1px solid var(--soft-rule);
    border-bottom: 1px solid var(--soft-rule);
    background: #fff;
}

.sl-card-image {
    min-height: 230px;
    background: #ddd7c9;
    overflow: hidden;
}

.sl-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sl-card-copy {
    padding: 20px;
    background: #fff;
}

.sl-card h2 {
    font-size: 24px;
    line-height: 1.03;
    margin: 0 0 11px;
}

.sl-card p {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 13px;
    line-height: 1.38;
    margin: 0 0 14px;
    color: #4b4842;
}


/* =========================================================
   STANDARD PAGES
   ========================================================= */

.sl-page {
    padding: 42px 6px 70px;
}

.sl-page > header {
    border-top: 5px double var(--ink);
    border-bottom: 1px solid var(--ink);
    padding: 28px 0 20px;
    margin-bottom: 28px;
}

.sl-page h1 {
    font-size: clamp(44px, 6vw, 78px);
    line-height: .9;
    margin: 0 0 10px;
}

.sl-page > header p {
    max-width: 760px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 17px;
}

.sl-prose-body {
    max-width: 820px;
    font-size: 18px;
}

.sl-prose-body p {
    font-family: Georgia, "Times New Roman", serif;
}

.sl-prose-body h2,
.sl-prose-body h3 {
    font-family: "Cal Sans", Inter, sans-serif;
    font-weight: 400;
}


/* =========================================================
   ARCHIVE / BACK ISSUES
   ========================================================= */

   .sl-archive-list article {
    display: grid;
    grid-template-columns: 96px 145px minmax(0, 1fr);
    gap: 22px;
    align-items: center;
    min-height: 120px;
    padding: 12px 0;
    border-bottom: 1px solid var(--soft-rule);
}

.sl-archive-thumb {
    display: block;
    width: 96px;
    height: 96px;
    overflow: hidden;
    background: #ddd7c9;
}

.sl-archive-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sl-archive-thumb span {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    font-family: "Cal Sans", Inter, sans-serif;
    font-size: 12px;
    letter-spacing: .1em;
    color: var(--muted);
}

.sl-archive-meta {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.sl-archive-meta time,
.sl-archive-meta span {
    font-family: "Cal Sans", Inter, sans-serif;
    font-size: 13px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.sl-archive-meta span {
    color: var(--blue);
}

.sl-archive-headline {
    position: relative;
    padding-left: 0;
}

.sl-archive-headline::before {
    content: "";
    display: block;
    width: 32px;
    height: 3px;
    margin-bottom: 12px;
    background: var(--ink);
}

.sl-archive-list h2 {
    font-family: "Cal Sans", Inter, sans-serif;
    font-size: 27px;
    font-weight: 400;
    line-height: 1.05;
    margin: 0;
}

.sl-archive-list h2 a:hover {
    color: var(--blue);
}

.sl-archive-empty {
    display: block !important;
}

/* =========================================================
   SEARCH
   ========================================================= */

.sl-search-form {
    max-width: 850px;
    margin: 0 0 40px;
}

.sl-search-form label {
    font-family: "Cal Sans", Inter, sans-serif;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.sl-search-form > div {
    display: flex;
}

.sl-search-form input {
    flex: 1;
    border: 1px solid var(--ink);
    background: #fff;
    padding: 14px;
    font-family: "Cal Sans", Inter, sans-serif;
    font-size: 16px;
}

.sl-search-form button {
    border: 0;
    background: var(--blue);
    color: #fff;
    padding: 0 24px;
    font-family: "Cal Sans", Inter, sans-serif;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.sl-search-results article {
    padding: 20px 0;
    border-top: 1px solid var(--soft-rule);
    max-width: 900px;
}

.sl-search-results h3 {
    font-family: "Cal Sans", Inter, sans-serif;
    font-size: 28px;
    margin: 0 0 8px;
}


/* =========================================================
   ARTICLE PAGE
   ========================================================= */

.sl-article-hero {
    border-top: 5px double var(--ink);
    border-bottom: 1px solid var(--ink);
}

.sl-article-hero-inner {
    display: grid;
    grid-template-columns: 46% 54%;
    min-height: 470px;
}

.sl-article-hero-copy {
    padding: 42px 42px 38px 6px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sl-article-section {
    color: var(--blue);
    font-family: "Cal Sans", Inter, sans-serif;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .14em;
    margin-bottom: 12px;
}

.sl-article-hero h1 {
    font-size: clamp(42px, 5vw, 76px);
    line-height: .94;
    letter-spacing: -.04em;
    margin: 0 0 18px;
}

.sl-article-standfirst {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 19px;
    line-height: 1.4;
}

.sl-article-meta {
    font-family: "Cal Sans", Inter, sans-serif;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--muted);
    display: flex;
    gap: 18px;
}

.sl-article-hero-media {
    background: #d7d1c3 center / cover no-repeat;
}

.sl-article-main {
    max-width: 920px;
    margin: 0 auto;
    padding: 45px 20px 60px;
}

.sl-article-body {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 19px;
    line-height: 1.68;
}

.sl-article-body h2 {
    font-size: 32px;
    line-height: 1.1;
    margin-top: 1.5em;
}

.sl-article-inline-image img {
    width: 100%;
    height: auto;
}

.sl-article-video {
    margin-top: 40px;
}

.sl-article-footer {
    max-width: 920px;
    margin: 0 auto;
    padding: 0 20px 50px;
    font-family: "Cal Sans", Inter, sans-serif;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--blue);
}


/* =========================================================
   FOOTER
   ========================================================= */

.sl-footer {
    background: #181818;
    color: #eee;
    border-top: 6px solid var(--blue);
    padding: 34px 0;
}

.sl-footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr auto;
    gap: 30px;
    align-items: end;
}

.sl-footer strong {
    font-size: 24px;
}

.sl-footer span,
.sl-footer small {
    color: #bdb8ae;
}

.sl-footer nav {
    display: flex;
    gap: 18px;
    font-family: "Cal Sans", Inter, sans-serif;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
    .sl-newswire-track {
        animation: none;
    }
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1050px) {

    .sl-story-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sl-masthead-row {
        grid-template-columns: 145px minmax(0, 1fr) 145px;
        gap: 16px;
    }

    .sl-masthead-row .sl-side-line {
        min-height: 70px;
        padding: 12px;
        font-size: 13px;
    }

    .sl-masthead {
        font-size: clamp(52px, 10vw, 90px);
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 760px) {

    .container {
        width: min(calc(100% - 24px), 1500px);
    }

    .sl-paper-head {
        padding-top: 12px;
    }

    .sl-masthead-row {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        padding-top: 14px;
    }

    .sl-masthead-centre {
        grid-column: 1 / -1;
        grid-row: 1;
    }

    .sl-side-left {
        grid-column: 1;
        grid-row: 2;
    }

    .sl-side-right {
        grid-column: 2;
        grid-row: 2;
    }

    .sl-masthead-row .sl-side-line {
        display: flex;
        min-height: 54px;
        padding: 9px 10px;
        font-size: 11px;
    }

    .sl-masthead-logo {
        max-width: 100%;
    }

    .sl-masthead {
        font-size: clamp(40px, 12vw, 64px);
        white-space: normal;
        line-height: .82;
    }

    .sl-strapline {
        font-size: 11px;
        margin-top: 4px;
    }

    .sl-edition-line {
        grid-template-columns: 1fr 1fr;
        font-size: 11px;
    }

    .sl-edition-line strong {
        grid-column: 1 / -1;
        grid-row: 1;
        text-align: center;
        margin-bottom: 7px;
    }

    .sl-edition-line span {
        grid-row: 2;
    }

    .sl-main-nav a {
        padding: 10px 12px;
        font-size: 12px;
    }

    /* News wire */

    .sl-newswire {
        height: 31px;
    }

    .sl-newswire-label {
        padding: 0 10px;
        font-size: 8px;
    }

    .sl-newswire-set a {
        font-size: 9px;
    }

    .sl-newswire-star {
        padding: 0 12px;
    }

    /* Lead story */

    .sl-lead,
    .sl-article-hero-inner {
        display: block;
    }

    .sl-lead-copy,
    .sl-article-hero-copy {
        padding: 28px 8px;
    }

    .sl-lead-image,
    .sl-article-hero-media {
        display: block;
        min-height: 300px;
    }

    /* Story cards */

    .sl-story-grid {
        grid-template-columns: 1fr;
    }

    .sl-card {
        grid-template-columns: 40% 60%;
    }

    /* Archive */

    .sl-archive-list article {
        grid-template-columns: 90px 1fr;
    }

    .sl-archive-list span {
        display: none;
    }

    /* Footer */

    .sl-footer-inner {
        grid-template-columns: 1fr;
    }

    .sl-footer nav {
        flex-wrap: wrap;
    }

    /* Article */

    .sl-article-main {
        padding: 30px 8px 45px;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .sl-card {
        display: block;
    }

    .sl-card-image {
        display: block;
        min-height: 210px;
        height: 210px;
    }

    .sl-main-nav .navigation {
        justify-content: space-between;
    }

    .sl-main-nav a {
        padding: 9px 7px;
    }

    .sl-search-nav span {
        display: none;
    }
}