/* ---------------------------------------------------------
   DEV NEWS HUB
   Loaded only by /dev/index.php
--------------------------------------------------------- */

.ffo-news-hub {
    width: calc(100% - 36px);
    max-width: 959px;
    height: 560px;
    margin: 0 18px;

    display: grid;
    grid-template-columns: 248px minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr) 46px;

    overflow: hidden;

    background: #07111f;
    border: 1px solid rgba(240, 197, 69, 0.62);
}

.ffo-news-hub__rail {
    min-width: 0;
    min-height: 0;

    display: grid;
    grid-template-rows: 64px minmax(0, 1fr);

    background: #0b1728;
    border-right: 1px solid rgba(255, 255, 255, 0.10);
}

.ffo-news-hub__rail-head {
    position: relative;
    padding: 12px 15px;

    background: #101d31;
    border-bottom: 2px solid var(--ffo-gold);
}

.ffo-news-hub__actions {
    position: absolute;
    top: 5px;
    right: 8px;

    width: 116px;

    display: grid;
    gap: 4px;
}

.ffo-news-hub__submit,
.ffo-news-hub__archive-link {
    width: 100%;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    font-weight: 950;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.035em;

    white-space: nowrap;
}

.ffo-news-hub__submit {
    height: 32px;
    padding: 0 8px;

    background: var(--ffo-gold);
    border: 1px solid var(--ffo-gold-dark, #c99d24);

    color: #07111f;
    font-size: 9px;
    line-height: 1;
}

.ffo-news-hub__archive-link {
    height: 18px;
    padding: 0 7px;

    background: #0b1728;
    border: 1px solid rgba(240, 197, 69, 0.62);

    color: var(--ffo-gold);
    font-size: 8px;
    line-height: 1;
}

.ffo-news-hub__submit:hover,
.ffo-news-hub__submit:focus-visible {
    background: #f7d15a;
    color: #07111f;
    outline: none;
}

.ffo-news-hub__archive-link:hover,
.ffo-news-hub__archive-link:focus-visible {
    background: #14243b;
    color: #ffffff;
    border-color: var(--ffo-gold);
    outline: none;
}

.ffo-news-hub__eyebrow {
    display: block;
    margin-bottom: 5px;

    color: var(--ffo-gold);
    font-size: 10px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.ffo-news-hub__rail-head h2 {
    margin: 0;

    color: #ffffff;
    font-size: 22px;
    line-height: 1;
    font-weight: 800;
}

.ffo-news-hub__list {
    min-height: 0;
    overflow: hidden;
}

.ffo-news-hub__loading,
.ffo-news-hub__article-loading,
.ffo-news-hub__error {
    padding: 18px;

    color: #9eabc0;
    font-size: 12px;
    line-height: 1.45;
}

.ffo-news-item {
    width: 100%;
    height: 45px;

    padding: 0 11px;

    display: grid;
    grid-template-columns: 27px minmax(0, 1fr);
    align-items: center;
    gap: 7px;

    background: #0b1728;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.075);

    color: #dce4f2;
    font-family: inherit;
    text-align: left;

    cursor: pointer;
}

.ffo-news-item:hover,
.ffo-news-item:focus-visible {
    background: #101d31;
    color: #ffffff;
    outline: none;
}

.ffo-news-item.is-active {
    background: #101d31;
    box-shadow: inset 3px 0 0 var(--ffo-gold);
    color: #ffffff;
}

.ffo-news-item.is-placeholder {
    color: #718198;
}

.ffo-news-item__number {
    color: #708198;
    font-size: 10px;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
}

.ffo-news-item.is-active .ffo-news-item__number {
    color: var(--ffo-gold);
}

.ffo-news-item__title {
    min-width: 0;
    overflow: hidden;

    font-size: 11px;
    line-height: 1.15;
    font-weight: 800;

    white-space: nowrap;
    text-overflow: ellipsis;
}

.ffo-news-hub__article {
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    background: #07111f;
}

.ffo-news-article {
    height: 100%;
}

.ffo-news-article__body {
    height: 100%;
    min-height: 0;
    overflow-y: auto;

    padding: 22px 26px 30px;

    scrollbar-width: thin;
    scrollbar-color: #364862 #0b1728;
}

.ffo-news-article__header {
    padding-bottom: 15px;
    margin-bottom: 17px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.ffo-news-article__meta {
    margin-bottom: 8px;

    color: var(--ffo-gold);
    font-size: 10px;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.09em;
}

.ffo-news-article__body h3 {
    margin: 0 0 9px;

    color: #ffffff;
    font-size: 30px;
    line-height: 1.02;
    font-weight: 950;
    letter-spacing: -0.025em;
}

.ffo-news-article__strapline {
    max-width: 620px;
    margin: 0;

    color: #d7dfeb;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 800;
}

.ffo-news-article__image {
    width: 100%;
    height: 150px;
    margin-top: 15px;

    overflow: hidden;

    background: #0b1728;
    border: 1px solid rgba(255, 255, 255, 0.10);
}

.ffo-news-article__image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.ffo-news-article__copy {
    max-width: 650px;
}

.ffo-news-article__copy p {
    margin: 0 0 13px;

    color: #b9c4d3;
    font-size: 13px;
    line-height: 1.62;
}

.ffo-news-article__copy p:last-child {
    margin-bottom: 0;
}

.ffo-news-article__section-heading {
    margin: 23px 0 9px;

    color: #ffffff;
    font-size: 17px;
    line-height: 1.18;
    font-weight: 900;
}

.ffo-news-article__quote {
    margin: 16px 0 18px;
    padding: 11px 14px;

    background: #0b1728;
    border-left: 3px solid var(--ffo-gold);

    color: #ffffff;
    font-size: 13px;
    line-height: 1.55;
    font-weight: 850;
}

.ffo-news-article__strong {
    color: #ffffff !important;
    font-weight: 900 !important;
}

.ffo-news-placeholder {
    height: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 40px;

    text-align: center;
}

.ffo-news-placeholder__eyebrow {
    margin-bottom: 10px;

    color: var(--ffo-gold);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.ffo-news-placeholder h3 {
    margin: 0 0 9px;

    color: #ffffff;
    font-size: 24px;
    font-weight: 900;
}

.ffo-news-placeholder p {
    margin: 0;

    color: #718198;
    font-size: 12px;
}

.ffo-news-ticker {
    grid-column: 1 / -1;
    grid-row: 2;

    width: 100%;
    height: 46px;
    min-width: 0;
    min-height: 46px;

    display: grid;
    grid-template-columns: 116px minmax(0, 1fr);

    overflow: hidden;

    background: #101d31;
    border-top: 2px solid var(--ffo-gold);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.ffo-news-ticker__label {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--ffo-gold);

    color: #07111f;
    font-size: 11px;
    line-height: 1;
    font-weight: 950;
    letter-spacing: 0.08em;
}

.ffo-news-ticker__viewport {
    position: relative;

    width: 100%;
    height: 46px;
    min-width: 0;
    overflow: hidden;

    background: #0d1a2c;
}

.ffo-news-ticker__track {
    width: max-content;
    min-width: max-content;
    height: 46px;

    display: flex;
    align-items: center;

    transform: translate3d(0, 0, 0);
    will-change: transform;
}

.ffo-news-ticker__item {
    display: inline-flex;
    align-items: center;

    padding: 0 22px;

    color: #ffffff;
    font-size: 12px;
    line-height: 1;
    font-weight: 900;
    white-space: nowrap;
}

.ffo-news-ticker__item::after {
    content: "•";

    margin-left: 44px;

    color: var(--ffo-gold);
}

/* ---------------------------------------------------------
   /DEV HOMEPAGE SIZE TWEAKS
   Keep the existing fixed 1000px FFO canvas.
--------------------------------------------------------- */

/* Club / League / Domestic Cup / Continental Cup logos: 10% smaller. */
.personal-shortcut__logo-wrap {
    width: 162px;
    height: 162px;
}

.personal-shortcut__logo {
    width: 153px;
    height: 153px;
}

/* Tool Quick Links: 5% larger. */
.tool-shortcut {
    height: 67.2px;
    padding-right: 18.9px;
    padding-left: 18.9px;
    gap: 12.6px;
}

.tool-shortcut__icon {
    width: 28.35px;
    height: 28.35px;
    flex-basis: 28.35px;
}

.tool-shortcut span {
    font-size: 13.65px;
}

/* Matchday Status: substantially chunkier text without changing layout. */
.home-section--matchday .home-section__title {
    font-size: 17px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: 0.055em;
}

.matchday-status-placeholder {
    min-height: 102px;
    font-size: 17px;
    line-height: 1.3;
    font-weight: 800;
}

/* Also catch text inserted into the status box by the live matchday-status JS. */
.matchday-status-placeholder * {
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
}
