/* =========================================================
   GLOBAL24 — COMPLETE STYLE SHEET
========================================================= */


/* =========================================================
   RESET
========================================================= */

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

html {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    background: #f5f6f8;
    color: #172033;
}

img,
video {
    max-width: 100%;
    height: auto;
}

button,
input,
textarea,
select {
    font-family: inherit;
}


/* =========================================================
   LINKS
========================================================= */

a {
    color: inherit;
}


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

.site-header {
    width: 100%;
    background: #07111f;
    color: #ffffff;
}

.header-inner {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;

    padding: 22px 30px 18px;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
}

.logo {
    font-size: 38px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -1.5px;
}

.logo span {
    color: #d4af37;
}

.header-date {
    color: #cbd5e1;
    font-size: 14px;
    white-space: nowrap;
}


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

.main-nav {
    width: 100%;

    background: #0b1728;

    border-top:
        1px solid rgba(255,255,255,.08);

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

.nav-inner {
    width: 100%;
    max-width: 1400px;

    margin: 0 auto;

    display: flex;
    align-items: center;

    overflow-x: auto;
    overflow-y: hidden;

    scrollbar-width: none;
}

.nav-inner::-webkit-scrollbar {
    display: none;
}

.nav-inner a {
    flex: 0 0 auto;

    padding: 15px 17px;

    color: #e2e8f0;

    text-decoration: none;

    font-size: 14px;
    font-weight: 600;

    white-space: nowrap;

    transition:
        background .2s ease,
        color .2s ease;
}

.nav-inner a:hover {
    background: #132238;
    color: #d4af37;
}


/* =========================================================
   BREAKING NEWS
========================================================= */

.breaking-news {
    width: 100%;

    background: #d4af37;
    color: #07111f;
}

.breaking-inner {
    width: 100%;
    max-width: 1400px;

    margin: 0 auto;

    min-height: 42px;

    padding: 9px 20px;

    display: flex;
    align-items: center;

    gap: 15px;

    overflow: hidden;
}

.breaking-label {
    flex: 0 0 auto;

    font-size: 13px;
    font-weight: 900;

    letter-spacing: .8px;
}

.breaking-text {
    min-width: 0;

    overflow: hidden;

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

    font-size: 14px;
    font-weight: 700;
}


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

.search-box {
    width: 100%;
    max-width: 1200px;

    margin: 24px auto 10px;

    padding: 0 20px;
}

.search-box input {
    width: 100%;

    padding: 15px 17px;

    background: #ffffff;

    border:
        1px solid #d5dbe3;

    border-radius: 10px;

    color: #172033;

    font-size: 16px;

    outline: none;

    box-shadow:
        0 2px 8px rgba(15,23,42,.04);
}

.search-box input:focus {
    border-color: #d4af37;

    box-shadow:
        0 0 0 3px rgba(212,175,55,.15);
}

.search-box input::placeholder {
    color: #94a3b8;
}


/* =========================================================
   MAIN
========================================================= */

main {
    width: 100%;
    max-width: 1400px;

    margin: 0 auto;

    padding: 0 0 50px;
}


/* =========================================================
   SECTION TITLES
========================================================= */

.section-title {
    position: relative;

    margin: 30px auto 18px;

    padding: 0 20px;

    max-width: 1200px;

    color: #172033;

    font-size: 30px;
    line-height: 1.2;

    font-weight: 900;
}

.section-title::before {
    content: "";

    position: absolute;

    left: 0;
    top: 3px;

    width: 6px;
    height: 34px;

    background: #d4af37;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    width: 100%;
    max-width: 1200px;

    margin: 0 auto;

    padding: 0 20px;

    display: grid;

    grid-template-columns:
        minmax(0, 2fr)
        minmax(280px, 1fr);

    gap: 20px;
}

.hero-main {
    width: 100%;
    min-width: 0;

    overflow: hidden;

    background: #ffffff;

    border-radius: 12px;

    box-shadow:
        0 5px 20px rgba(15,23,42,.08);
}

.hero-main > img {
    width: 100%;
    height: 430px;

    display: block;

    object-fit: cover;
    object-position: center;
}

.hero-content {
    width: 100%;

    padding: 22px;
}

.hero-content h1 {
    margin: 8px 0 12px;

    color: #172033;

    font-size: 34px;
    line-height: 1.18;

    font-weight: 900;
}

.hero-summary {
    margin: 14px 0 0;

    color: #475569;

    font-size: 17px;
    line-height: 1.65;
}

.category {
    color: #b38d1d;

    font-size: 13px;
    font-weight: 900;

    letter-spacing: .6px;

    text-transform: uppercase;
}

.meta {
    margin-top: 8px;

    color: #64748b;

    font-size: 13px;
}


/* =========================================================
   HERO SIDE STORIES
========================================================= */

.hero-side {
    width: 100%;
    min-width: 0;

    display: flex;
    flex-direction: column;

    gap: 15px;
}

.side-story {
    width: 100%;
    min-width: 0;

    display: grid;

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

    gap: 12px;

    overflow: hidden;

    background: #ffffff;

    border-radius: 10px;
}

.side-story img {
    width: 130px;
    height: 100px;

    display: block;

    object-fit: cover;
}

.side-story-content {
    min-width: 0;

    padding: 8px 10px 8px 0;
}

.side-story h3 {
    margin: 5px 0 0;

    color: #172033;

    font-size: 17px;
    line-height: 1.3;
}

.side-summary {
    margin: 7px 0 0;

    color: #64748b;

    font-size: 13px;
    line-height: 1.45;
}


/* =========================================================
   SINGLE STORY
========================================================= */

.hero.single-story {
    display: block;
}

.hero.single-story .hero-main {
    width: 100%;
}

.hero.single-story .hero-main > img,
.hero.single-story .news-image-placeholder {
    width: 100%;
    height: 500px;

    object-fit: cover;
}


/* =========================================================
   GLOBAL24 IMAGE PLACEHOLDER
========================================================= */

.news-image-placeholder {
    width: 100%;
    height: 430px;

    display: flex;

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

    background:
        linear-gradient(
            135deg,
            #07111f,
            #1b2b43
        );

    color: #d4af37;

    font-size: 34px;
    font-weight: 900;

    letter-spacing: 2px;
}

.card-image-placeholder {
    width: 100%;
    height: 220px;

    display: flex;

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

    background:
        linear-gradient(
            135deg,
            #07111f,
            #1b2b43
        );

    color: #d4af37;

    font-size: 24px;
    font-weight: 900;

    letter-spacing: 1px;
}


/* =========================================================
   LATEST NEWS
========================================================= */

.news-grid {
    width: 100%;
    max-width: 1200px;

    margin: 0 auto;

    padding: 0 20px 40px;

    display: grid;

    grid-template-columns:
        repeat(3,minmax(0,1fr));

    gap: 20px;
}

.card {
    width: 100%;
    min-width: 0;

    overflow: hidden;

    background: #ffffff;

    border-radius: 12px;

    box-shadow:
        0 5px 18px rgba(15,23,42,.07);

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.card:hover {
    transform: translateY(-2px);

    box-shadow:
        0 8px 25px rgba(15,23,42,.12);
}

.card > img {
    width: 100%;
    height: 220px;

    display: block;

    object-fit: cover;
}

.card-content {
    padding: 18px;
}

.card-content h2 {
    margin: 8px 0 10px;

    color: #172033;

    font-size: 21px;
    line-height: 1.3;
}

.article-link {
    color: inherit;

    text-decoration: none;
}

.summary {
    margin: 0;

    color: #475569;

    font-size: 15px;
    line-height: 1.6;
}


/* =========================================================
   LOADING / EMPTY
========================================================= */

.loading {
    width: 100%;

    padding: 50px 20px;

    color: #64748b;

    text-align: center;
}

.empty {
    width: 100%;

    padding: 45px 20px;

    color: #64748b;

    text-align: center;
}

.empty h2,
.empty h3 {
    margin-top: 0;

    color: #172033;
}


/* =========================================================
   ERROR
========================================================= */

.error-message {
    margin: 20px;

    padding: 20px;

    background: #fee2e2;

    color: #991b1b;

    border-radius: 10px;

    text-align: center;
}


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

.site-footer {
    width: 100%;

    margin-top: 30px;

    background: #07111f;

    color: #cbd5e1;
}

.footer-inner {
    width: 100%;
    max-width: 1200px;

    margin: 0 auto;

    padding: 40px 20px;

    display: grid;

    grid-template-columns:
        2fr
        1fr
        1.5fr;

    gap: 40px;
}

.footer-inner h3 {
    margin: 0 0 14px;

    color: #ffffff;

    font-size: 18px;
}

.footer-inner p {
    margin: 0 0 10px;

    color: #94a3b8;

    line-height: 1.6;
}

.footer-inner a {
    display: block;

    margin: 8px 0;

    color: #94a3b8;

    text-decoration: none;

    font-size: 14px;
}

.footer-inner a:hover {
    color: #d4af37;
}

.about-ceo {
    margin-top: 15px;
}

.about-ceo strong {
    color: #ffffff;
}

.copyright {
    width: 100%;

    padding: 16px 20px;

    border-top:
        1px solid rgba(255,255,255,.08);

    color: #64748b;

    text-align: center;

    font-size: 13px;
}


/* =========================================================
   ADMIN
========================================================= */

.admin-container {
    width: 100%;
    max-width: 1400px;

    margin: 0 auto;

    padding: 30px 20px;
}

.admin-header {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 25px;
}

.admin-header h1 {
    margin: 0;

    color: #172033;

    font-size: 32px;
}

.admin-header p {
    margin: 5px 0 0;

    color: #64748b;
}

.admin-panel {
    width: 100%;

    margin-bottom: 25px;

    padding: 25px;

    background: #ffffff;

    border-radius: 12px;

    box-shadow:
        0 5px 20px rgba(15,23,42,.07);
}

.admin-panel h2 {
    margin-top: 0;

    color: #172033;
}


/* =========================================================
   ADMIN STATS
========================================================= */

.stats-grid {
    width: 100%;

    display: grid;

    grid-template-columns:
        repeat(4,minmax(0,1fr));

    gap: 15px;

    margin-bottom: 25px;
}

.stat-card {
    padding: 20px;

    background: #ffffff;

    border-radius: 12px;

    box-shadow:
        0 4px 15px rgba(15,23,42,.06);
}

.stat-card h3 {
    margin: 0 0 8px;

    color: #64748b;

    font-size: 13px;

    text-transform: uppercase;
}

.stat-card strong {
    color: #172033;

    font-size: 30px;
}


/* =========================================================
   ADMIN FORMS
========================================================= */

.admin-form-grid {
    display: grid;

    grid-template-columns:
        repeat(2,minmax(0,1fr));

    gap: 18px;
}

.admin-form-full {
    grid-column: 1 / -1;
}

.admin-panel label {
    display: block;

    margin-bottom: 7px;

    color: #334155;

    font-weight: 700;

    font-size: 14px;
}

.admin-panel input,
.admin-panel textarea,
.admin-panel select {
    width: 100%;

    padding: 12px 14px;

    border:
        1px solid #d5dbe3;

    border-radius: 8px;

    background: #ffffff;

    color: #172033;

    outline: none;
}

.admin-panel textarea {
    min-height: 180px;

    resize: vertical;
}

.admin-panel input:focus,
.admin-panel textarea:focus,
.admin-panel select:focus {
    border-color: #d4af37;

    box-shadow:
        0 0 0 3px rgba(212,175,55,.12);
}


/* =========================================================
   BUTTONS
========================================================= */

button,
.btn {
    border: 0;

    border-radius: 8px;

    padding: 11px 16px;

    background: #d4af37;

    color: #07111f;

    font-weight: 800;

    cursor: pointer;
}

button:hover,
.btn:hover {
    opacity: .9;
}


/* =========================================================
   LOGIN
========================================================= */

.login-page {
    min-height: 100vh;

    display: flex;

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

    padding: 20px;

    background: #07111f;
}

.login-container {
    width: 100%;
    max-width: 430px;

    padding: 35px;

    background: #ffffff;

    border-radius: 14px;

    box-shadow:
        0 20px 60px rgba(0,0,0,.25);
}

.login-container h1 {
    margin-top: 0;

    color: #172033;

    text-align: center;
}

.login-container input {
    width: 100%;

    margin-bottom: 15px;

    padding: 13px;

    border:
        1px solid #d5dbe3;

    border-radius: 8px;
}

.login-container button {
    width: 100%;
}


/* =========================================================
   TABLES
========================================================= */

table {
    width: 100%;

    border-collapse: collapse;
}

th,
td {
    padding: 12px;

    border-bottom:
        1px solid #e2e8f0;

    text-align: left;

    font-size: 14px;
}

th {
    color: #334155;

    background: #f8fafc;
}


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

@media (max-width: 1000px) {

    .header-inner {
        padding-left: 20px;
        padding-right: 20px;
    }

    .hero {
        grid-template-columns:
            minmax(0,1.6fr)
            minmax(240px,1fr);
    }

    .hero-main > img,
    .hero-main > .news-image-placeholder {
        height: 380px;
    }

    .news-grid {
        grid-template-columns:
            repeat(2,minmax(0,1fr));
    }

    .stats-grid {
        grid-template-columns:
            repeat(2,minmax(0,1fr));
    }

}


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

@media (max-width: 768px) {

    html,
    body {
        width: 100%;
        max-width: 100%;

        overflow-x: hidden;
    }


    /* HEADER */

    .header-inner {
        width: 100%;

        padding: 18px 14px;

        display: flex;

        flex-direction: column;

        align-items: flex-start;

        gap: 8px;
    }

    .logo {
        font-size: 30px;
    }

    .header-date {
        font-size: 13px;
    }


    /* NAV */

    .main-nav {
        width: 100%;

        overflow-x: auto;
    }

    .nav-inner {
        width: max-content;

        min-width: 100%;

        overflow: visible;
    }

    .nav-inner a {
        padding: 14px 13px;

        font-size: 13px;
    }


    /* BREAKING */

    .breaking-inner {
        padding: 10px 12px;

        gap: 9px;
    }

    .breaking-label {
        font-size: 12px;
    }

    .breaking-text {
        font-size: 13px;
    }


    /* SEARCH */

    .search-box {
        width: 100%;

        padding: 0 14px;

        margin: 16px auto;
    }


    /* MAIN */

    main {
        width: 100%;

        padding-bottom: 30px;
    }


    /* SECTION TITLE */

    .section-title {
        width: 100%;

        margin: 24px 0 15px;

        padding:
            0 14px 0 24px;

        font-size: 27px;
    }

    .section-title::before {
        left: 0;

        width: 5px;
        height: 31px;
    }


    /* HERO */

    .hero {
        width: 100%;
        max-width: 100%;

        margin: 0;

        padding: 0;

        display: block;
    }

    .hero-main {
        width: 100%;

        border-radius: 0;

        box-shadow: none;
    }

    .hero-main > img,
    .hero-main > .news-image-placeholder {
        width: 100%;

        height: 190px !important;
        max-height: 190px !important;

        object-fit: cover;

        display: block;
    }

    .hero.single-story .hero-main > img,
    .hero.single-story .hero-main > .news-image-placeholder {
        height: 190px !important;
        max-height: 190px !important;
    }

    .hero-content {
        width: 100%;

        padding: 18px 16px 22px;
    }

    .hero-content h1 {
        margin-top: 8px;

        font-size: 27px;

        line-height: 1.25;
    }

    .hero-summary {
        font-size: 16px;

        line-height: 1.6;
    }


    /* SIDE STORIES */

    .hero-side {
        width: 100%;

        padding:
            0 14px 20px;

        gap: 12px;
    }

    .side-story {
        grid-template-columns:
            105px
            minmax(0,1fr);
    }

    .side-story img {
        width: 105px;
        height: 85px;
    }

    .side-story h3 {
        font-size: 16px;
    }


    /* LATEST NEWS */

    .news-grid {
        width: 100%;
        max-width: 100%;

        padding:
            0 14px 30px;

        grid-template-columns: 1fr;

        gap: 16px;
    }

    .card {
        width: 100%;
    }

    .card > img,
    .card-image-placeholder {
        width: 100%;

        height: 190px;
    }

    .card-content {
        padding: 17px;
    }

    .card-content h2 {
        font-size: 20px;
    }


    /* FOOTER */

    .footer-inner {
        width: 100%;

        padding: 30px 18px;

        grid-template-columns: 1fr;

        gap: 25px;
    }


    /* ADMIN */

    .admin-container {
        width: 100%;

        padding: 15px;
    }

    .admin-header {
        flex-direction: column;

        align-items: flex-start;
    }

    .admin-panel {
        width: 100%;

        padding: 18px;
    }

    .admin-form-grid {
        grid-template-columns: 1fr;
    }

    .admin-form-full {
        grid-column: auto;
    }

    .stats-grid {
        grid-template-columns:
            repeat(2,minmax(0,1fr));

        gap: 10px;
    }

}


/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 480px) {

    .logo {
        font-size: 27px;
    }

    .nav-inner a {
        padding: 13px 12px;

        font-size: 12px;
    }

    .section-title {
        font-size: 25px;
    }

    .hero-main > img,
    .hero-main > .news-image-placeholder {
        height: 180px !important;
        max-height: 180px !important;
    }

    .hero.single-story .hero-main > img,
    .hero.single-story .hero-main > .news-image-placeholder {
        height: 180px !important;
        max-height: 180px !important;
    }

    .hero-content h1 {
        font-size: 24px;
    }

    .hero-summary {
        font-size: 15px;
    }

    .side-story {
        grid-template-columns:
            90px
            minmax(0,1fr);
    }

    .side-story img {
        width: 90px;
        height: 75px;
    }

    .card > img,
    .card-image-placeholder {
        height: 180px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        padding:
            25px 14px;
    }

}


/* =========================================================
   WIDE CONTENT PROTECTION
========================================================= */

[style*="width: 100vw"],
[style*="width:100vw"] {
    width: 100% !important;
    max-width: 100% !important;
}

[style*="min-width"] {
    max-width: 100%;
}

iframe {
    max-width: 100%;
}


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

@media (max-width: 768px) {

    .table-wrapper,
    .article-table-wrapper {
        width: 100%;

        overflow-x: auto;
    }

    table {
        min-width: 600px;
    }

}


/* =========================================================
   END GLOBAL24 CSS
========================================================= */
