/* =========================================================
   FOUNDER STORIES - GLOBAL WEBSITE CSS
========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #f5f6f8;
    color: #171717;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

button,
input,
textarea,
select {
    font-family: inherit;
}


/* =========================================================
   CONTAINER
========================================================= */

.container {
    width: min(1280px, calc(100% - 40px));
    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   TOP STRIP
========================================================= */

.top-strip {
    background: #f3f4f6;
    border-bottom: 1px solid #e5e7eb;
    font-size: 13px;
}

.top-strip-inner {
    min-height: 38px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.top-links {
    display: flex;
    align-items: center;
    gap: 18px;
    color: #555;
}

.top-links a {
    transition: color .2s;
}

.top-links a:hover {
    color: #e50914;
}


/* =========================================================
   HEADER
========================================================= */

.main-header {
    background: #ffffff;
    border-bottom: 1px solid #e8e8e8;
}

.header-inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}


/* LOGO */

.logo-box {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
}

.main-logo {
    width: 250px;
    height: auto;
    display: block;
    object-fit: contain;
}


/* SEARCH */

.header-search {
    width: 100%;
    max-width: 470px;
    display: flex;
    align-items: center;
    overflow: hidden;

    background: #f3f4f6;

    border: 1px solid #e5e7eb;
    border-radius: 30px;

    transition:
        border-color .2s,
        box-shadow .2s;
}

.header-search:focus-within {
    background: #ffffff;
    border-color: #b8bec8;

    box-shadow:
        0 0 0 3px rgba(17, 24, 39, .04);
}

.header-search input {
    flex: 1;
    min-width: 0;

    border: 0;
    outline: none;

    background: transparent;

    padding: 13px 18px;

    color: #222;
    font-size: 14px;
}

.header-search input::placeholder {
    color: #92969e;
}

.header-search button {
    align-self: stretch;

    border: 0;

    padding: 0 22px;

    background: #111827;
    color: #ffffff;

    font-size: 12px;
    font-weight: 700;

    cursor: pointer;

    transition: background .2s;
}

.header-search button:hover {
    background: #e50914;
}


/* =========================================================
   MAIN NAVIGATION
========================================================= */

.nav-bar {
    background: #06285c;
    color: #ffffff;
}

.nav-inner {
    display: flex;
    align-items: center;
    gap: 2px;

    overflow-x: auto;
    scrollbar-width: none;
}

.nav-inner::-webkit-scrollbar {
    display: none;
}

.nav-inner a {
    display: block;

    padding: 15px 17px;

    white-space: nowrap;

    color: #ffffff;

    font-size: 13px;
    font-weight: 700;

    transition: background .2s;
}

.nav-inner a:hover {
    background: #e50914;
}


/* =========================================================
   LEGACY / SHARED CONTENT STYLES
   Other pages can still use these classes
========================================================= */

.breaking-wrap {
    margin-top: 22px;
}

.breaking {
    min-height: 45px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background: #e50914;
    color: #ffffff;

    border-radius: 24px;
}

.breaking-title {
    padding: 0 24px;

    white-space: nowrap;

    border-right: 1px solid rgba(255, 255, 255, .4);

    font-size: 18px;
    font-style: italic;
    font-weight: 900;
}

.breaking-text {
    overflow: hidden;

    padding: 0 22px;

    white-space: nowrap;
    text-overflow: ellipsis;

    font-weight: 700;
}


/* CATEGORY PILLS */

.category-scroll {
    display: flex;
    gap: 10px;

    overflow-x: auto;

    padding: 19px 0;

    scrollbar-width: none;
}

.category-scroll::-webkit-scrollbar {
    display: none;
}

.category-pill {
    flex-shrink: 0;

    padding: 9px 16px;

    background: #ffffff;

    border: 1px solid #d9dce2;
    border-radius: 30px;

    white-space: nowrap;

    font-size: 13px;
    font-weight: 700;

    transition: .2s;
}

.category-pill:hover {
    border-color: #e50914;
    color: #e50914;
}


/* =========================================================
   GENERIC CONTENT LAYOUT
========================================================= */

.main-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
}

.lead-card {
    overflow: hidden;

    background: #ffffff;

    border: 1px solid #e5e7eb;
    border-radius: 7px;
}

.lead-image {
    width: 100%;
    height: 410px;
    object-fit: cover;
}

.placeholder-image {
    height: 410px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 35px;

    background:
        linear-gradient(135deg,
            #06285c,
            #1954a6);

    color: #ffffff;

    text-align: center;

    font-size: 46px;
    font-weight: 900;
}

.lead-content {
    padding: 23px;
}

.lead-content h1 {
    margin: 12px 0;

    font-size: 34px;
    line-height: 1.2;
}

.lead-content p {
    color: #555;
    line-height: 1.65;
}


/* =========================================================
   BADGES
========================================================= */

.badge {
    display: inline-block;

    padding: 5px 9px;

    background: #eef3ff;
    color: #1648a0;

    border-radius: 4px;

    font-size: 11px;
    font-weight: 800;

    text-transform: uppercase;
}


/* =========================================================
   SIDE STORIES
========================================================= */

.side-panel {
    padding: 18px;

    background: #ffffff;

    border: 1px solid #e5e7eb;
    border-radius: 7px;
}

.panel-title {
    margin: 0 0 15px;
    padding-bottom: 12px;

    border-bottom: 3px solid #e50914;

    font-size: 20px;
}

.mini-story {
    display: grid;
    grid-template-columns: 105px 1fr;
    gap: 12px;

    padding: 13px 0;

    border-bottom: 1px solid #ededed;
}

.mini-story:last-child {
    border-bottom: 0;
}

.mini-image,
.mini-placeholder {
    width: 105px;
    height: 75px;

    object-fit: cover;

    border-radius: 5px;
}

.mini-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;

    background: #dbe5f5;
    color: #06285c;

    font-size: 24px;
    font-weight: 900;
}

.mini-story h3 {
    margin: 2px 0 7px;

    font-size: 14px;
    line-height: 1.35;
}

.mini-story small {
    color: #777;
}


/* =========================================================
   GENERIC SECTIONS
========================================================= */

.section {
    padding: 35px 0 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-bottom: 17px;

    border-bottom: 1px solid #ddd;
}

.section-header h2 {
    margin: 0;
    padding: 0 0 10px;

    border-bottom: 4px solid #e50914;

    font-size: 24px;
}

.section-header a {
    color: #e50914;

    font-size: 13px;
    font-weight: 700;
}


/* =========================================================
   GENERIC NEWS CARDS
========================================================= */

.news-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.news-card {
    overflow: hidden;

    background: #ffffff;

    border: 1px solid #e3e5e8;
    border-radius: 7px;

    transition:
        transform .2s,
        box-shadow .2s;
}

.news-card:hover {
    transform: translateY(-3px);

    box-shadow:
        0 8px 25px rgba(0, 0, 0, .08);
}

.news-card-image {
    width: 100%;
    height: 155px;

    object-fit: cover;
}

.card-placeholder {
    height: 155px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 18px;

    background:
        linear-gradient(135deg,
            #0c376f,
            #e50914);

    color: #ffffff;

    text-align: center;

    font-size: 18px;
    font-weight: 800;
}

.news-card-body {
    padding: 15px;
}

.news-card h3 {
    margin: 10px 0;

    font-size: 17px;
    line-height: 1.35;
}

.news-card p {
    color: #666;

    font-size: 13px;
    line-height: 1.5;
}

.date-text {
    color: #888;
    font-size: 11px;
}


/* =========================================================
   UPDATE LIST
========================================================= */

.update-list {
    background: #ffffff;

    border: 1px solid #e3e5e8;
    border-radius: 7px;
}

.update-row {
    display: grid;
    grid-template-columns: 115px 1fr 180px;
    gap: 20px;

    align-items: center;

    padding: 18px;

    border-bottom: 1px solid #eee;
}

.update-row:last-child {
    border-bottom: 0;
}

.update-date {
    color: #777;
    font-size: 12px;
}

.update-row h3 {
    margin: 5px 0;
    font-size: 18px;
}

.update-company {
    color: #1648a0;

    text-align: right;

    font-size: 13px;
    font-weight: 700;
}


/* =========================================================
   BUTTON
========================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 10px 16px;

    background: #111827;
    color: #ffffff;

    border: 0;
    border-radius: 7px;

    cursor: pointer;

    font-size: 13px;
    font-weight: 700;
}

.btn:hover {
    background: #e50914;
    color: #ffffff;
}


/* =========================================================
   FOOTER
========================================================= */

footer {
    margin-top: 55px;

    padding: 48px 0;

    background: #07172e;
    color: #cbd5e1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 45px;
}

footer h3 {
    margin-top: 0;

    color: #ffffff;

    font-size: 17px;
}

footer p {
    max-width: 500px;

    color: #aeb7c5;

    font-size: 13px;
    line-height: 1.7;
}

footer a {
    display: block;

    margin: 9px 0;

    color: #cbd5e1;

    font-size: 13px;
}

footer a:hover {
    color: #ffffff;
}


/* =========================================================
   LARAVEL PAGINATION FIX
========================================================= */

.pagination-wrapper {
    width: 100%;

    display: flex;
    justify-content: center;

    margin: 35px 0;
}

nav[role="navigation"] svg {
    width: 18px !important;
    height: 18px !important;

    max-width: 18px !important;
    max-height: 18px !important;
}

nav[role="navigation"]>div:first-child {
    display: none;
}

nav[role="navigation"]>div:last-child {
    display: flex;
    justify-content: center;
    align-items: center;
}

nav[role="navigation"] a,
nav[role="navigation"] span {
    font-size: 14px;
}

nav[role="navigation"] a svg,
nav[role="navigation"] span svg {
    width: 16px !important;
    height: 16px !important;

    display: inline-block !important;

    vertical-align: middle;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .main-layout {
        grid-template-columns: 1fr;
    }

    .main-logo {
        width: 220px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    .container {
        width: calc(100% - 28px);
    }

    .top-strip-inner {
        min-height: 34px;
    }

    .top-links {
        display: none;
    }

    .header-inner {
        min-height: 68px;
        gap: 15px;
    }

    .main-logo {
        width: 190px;
    }

    .header-search {
        display: none;
    }

    .nav-inner a {
        padding: 13px 14px;
        font-size: 12px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 650px) {

    .breaking-title {
        padding: 0 13px;
        font-size: 13px;
    }

    .breaking-text {
        font-size: 12px;
    }

    .lead-image,
    .placeholder-image {
        height: 240px;
    }

    .placeholder-image {
        font-size: 28px;
    }

    .lead-content h1 {
        font-size: 25px;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .update-row {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .update-company {
        text-align: left;
    }

}


@media (max-width: 420px) {

    .container {
        width: calc(100% - 22px);
    }

    .main-logo {
        width: 165px;
    }

}