
/*
Theme Name: EsportsKhabar
Theme URI: https://esportskhabar.in/
Author: INTAJ ALI GAYEN
Description: CUSTOM DESIGN THEME.
Version: 2.0.2
Text Domain: esportskhabar.in
*/

/* =========================================
   GLOBAL VARIABLES
========================================= */

:root {
    --ek-bg: #07090e;
    --ek-panel: #10141e;
    --ek-text: #f4f6fb;
    --ek-muted: #9ba6ba;
    --ek-red: #ff4057;
    --ek-red-dark: #ff1744;
    --ek-line: rgba(255,255,255,.10);
}

/* =========================================
   GLOBAL RESET
========================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--ek-bg);
    color: var(--ek-text);
    font-family: Inter, Arial, sans-serif;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

/* =========================================
   SINGLE ARTICLE PAGE
========================================= */

body.single {
    background: var(--ek-bg);
    color: var(--ek-text);
}

/* Main article container */

body.single #ek-main-content.ek-article-wrap {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 25px 80px;
}

/* Article layout */

body.single .ek-article {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    color: var(--ek-text);
}

/* =========================================
   CATEGORY BREADCRUMB
========================================= */

body.single .ek-section-kicker {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    color: var(--ek-muted);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.8;
    letter-spacing: 1px;
    text-transform: uppercase;
}

body.single .ek-section-kicker a {
    color: var(--ek-red);
    transition: color .2s ease;
}

body.single .ek-section-kicker a:hover {
    color: #ffffff;
}

/* =========================================
   ARTICLE TITLE
========================================= */

body.single .ek-article-title {
    margin: 0 0 20px;
    color: #ffffff;
    font-size: clamp(30px, 5vw, 48px);
    font-weight: 800;
    line-height: 1.17;
    letter-spacing: -1px;
    overflow-wrap: anywhere;
}

/* =========================================
   ARTICLE META / DATE / READING TIME
========================================= */

body.single .ek-article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    color: var(--ek-muted);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.6;
}

body.single .ek-article-meta span {
    color: var(--ek-red);
}

/* =========================================
   FEATURED IMAGE
========================================= */

body.single .ek-article-featured {
    width: 100%;
    margin: 0 0 35px;
    overflow: hidden;
    border: 1px solid var(--ek-line);
    border-radius: 12px;
    background: var(--ek-panel);
}

body.single .ek-article-featured img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 560px;
    object-fit: cover;
    border-radius: 12px;
}

/* =========================================
   ARTICLE CONTENT
========================================= */

body.single .ek-article-content {
    color: #cbd2df;
    font-size: 17px;
    line-height: 1.85;
    overflow-wrap: break-word;
}

body.single .ek-article-content p {
    margin: 0 0 24px;
}

body.single .ek-article-content strong,
body.single .ek-article-content b {
    color: #ffffff;
    font-weight: 700;
}

/* =========================================
   ARTICLE HEADINGS
========================================= */

body.single .ek-article-content h2 {
    margin: 42px 0 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--ek-line);
    color: #ffffff;
    font-size: clamp(23px, 3vw, 30px);
    font-weight: 800;
    line-height: 1.3;
}

body.single .ek-article-content h3 {
    margin: 30px 0 14px;
    color: #ffffff;
    font-size: 22px;
    font-weight: 750;
    line-height: 1.4;
}

body.single .ek-article-content h4 {
    margin: 25px 0 12px;
    color: #ffffff;
    font-size: 19px;
    font-weight: 700;
}

/* =========================================
   ARTICLE LINKS
========================================= */

body.single .ek-article-content a {
    color: var(--ek-red);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,64,87,.35);
    transition: color .2s ease, border-color .2s ease;
}

body.single .ek-article-content a:hover {
    color: #ffffff;
    border-color: #ffffff;
}

/* =========================================
   ARTICLE LISTS
========================================= */

body.single .ek-article-content ul,
body.single .ek-article-content ol {
    margin: 0 0 25px;
    padding-left: 28px;
}

body.single .ek-article-content li {
    margin-bottom: 12px;
    padding-left: 4px;
}

body.single .ek-article-content li::marker {
    color: var(--ek-red);
}

/* =========================================
   BLOCKQUOTES
========================================= */

body.single .ek-article-content blockquote {
    margin: 28px 0;
    padding: 20px 24px;
    border-left: 4px solid var(--ek-red);
    border-radius: 0 10px 10px 0;
    background: var(--ek-panel);
    color: #dce5f2;
    font-size: 18px;
    font-style: italic;
}

/* =========================================
   ARTICLE FIGURES AND IMAGES
========================================= */

body.single .ek-article-content figure {
    max-width: 100%;
    margin: 30px 0;
}

body.single .ek-article-content figure img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

body.single .ek-article-content figcaption {
    margin-top: 10px;
    color: var(--ek-muted);
    font-size: 13px;
    line-height: 1.6;
    text-align: center;
}

/* Modern Warfare article hero */

body.single .ek-article-content .ekh-article-hero {
    margin: 30px 0;
}

body.single .ek-article-content .ekh-article-hero img {
    border: 1px solid var(--ek-line);
    border-radius: 12px;
}

/* =========================================
   ARTICLE CALLOUT BOX
========================================= */

body.single .ek-article-content .ekh-article-callout {
    margin: 28px 0;
    padding: 20px;
    border-left: 4px solid var(--ek-red);
    border-radius: 8px;
    background: var(--ek-panel);
    color: var(--ek-text);
}

body.single .ek-article-content .ekh-article-callout strong {
    color: var(--ek-red);
}

/* =========================================
   ARTICLE TABLES
========================================= */

body.single .ek-article-content table {
    width: 100%;
    margin: 25px 0;
    border-collapse: collapse;
    color: #dce5f2;
    font-size: 15px;
}

body.single .ek-article-content th,
body.single .ek-article-content td {
    padding: 13px;
    border: 1px solid var(--ek-line);
    text-align: left;
}

body.single .ek-article-content th {
    background: var(--ek-panel);
    color: #ffffff;
}

/* =========================================
   HORIZONTAL DIVIDER
========================================= */

body.single .ek-article-content hr {
    height: 1px;
    margin: 35px 0;
    border: 0;
    background: var(--ek-line);
}

/* =========================================
   MOBILE RESPONSIVE
========================================= */

@media screen and (max-width: 768px) {

    body.single #ek-main-content.ek-article-wrap {
        padding: 25px 16px 55px;
    }

    body.single .ek-article-title {
        font-size: 30px;
        letter-spacing: -.5px;
    }

    body.single .ek-article-content {
        font-size: 16px;
        line-height: 1.8;
    }

    body.single .ek-article-content h2 {
        margin-top: 32px;
        font-size: 24px;
    }

    body.single .ek-article-content h3 {
        font-size: 20px;
    }

    body.single .ek-article-featured img {
        max-height: 350px;
    }

    body.single .ek-article-content table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

@media screen and (max-width: 480px) {

    body.single #ek-main-content.ek-article-wrap {
        padding-right: 13px;
        padding-left: 13px;
    }

    body.single .ek-article-title {
        font-size: 27px;
    }

    body.single .ek-section-kicker {
        font-size: 11px;
    }

    body.single .ek-article-meta {
        font-size: 12px;
    }
}
