/*
Theme Name: FPNNEWS24 PRIME
Theme URI: https://fpnnews24.com
Author: FPNNEWS24 Dev Team
Author URI: https://fpnnews24.com
Description: Production-grade standalone Hindi news portal theme for FPNNEWS24. Built with Material Design 3, CSS Grid, mobile-first responsive design. Zero dependencies on GeneratePress or any parent theme.
Version: 7.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fpnnews24-prime
Tags: news, hindi, one-column, two-columns, custom-colors, custom-menu, featured-images, threaded-comments, translation-ready, accessibility-ready
*/

/* ============================================================
   MATERIAL DESIGN 3 — CSS Custom Properties (Design Tokens)
   ============================================================ */
:root {
    /* ── Primary Palette ── */
    --fpn-primary:                #930000;
    --fpn-primary-dark:           #6a0000;
    --fpn-primary-container:      #c00000;
    --fpn-on-primary:             #ffffff;
    --fpn-on-primary-container:   #ffffff;
    --fpn-inverse-primary:        #ffb4a8;

    /* ── Secondary Palette ── */
    --fpn-secondary:              #0b57d0;
    --fpn-secondary-container:    #d9dff5;
    --fpn-on-secondary:           #ffffff;
    --fpn-on-secondary-container: #061e48;

    /* ── Tertiary ── */
    --fpn-tertiary:               #003ea8;
    --fpn-on-tertiary:            #ffffff;
    --fpn-tertiary-container:     #dae2ff;
    --fpn-on-tertiary-container:  #001a6c;

    /* ── Surface & Background ── */
    --fpn-surface:                     #f7f9fc;
    --fpn-surface-dim:                 #d7d9dd;
    --fpn-surface-bright:              #f7f9fc;
    --fpn-surface-container-lowest:    #ffffff;
    --fpn-surface-container-low:       #f2f4f7;
    --fpn-surface-container:           #eceef1;
    --fpn-surface-container-high:      #e6e8eb;
    --fpn-surface-container-highest:   #e0e3e6;
    --fpn-surface-variant:             #e0e3e6;
    --fpn-background:                  #f7f9fc;

    /* ── On Surface ── */
    --fpn-on-surface:                  #191c1e;
    --fpn-on-surface-variant:          #5d3f3b;
    --fpn-inverse-surface:             #2d3133;
    --fpn-inverse-on-surface:          #eff1f4;

    /* ── Outline ── */
    --fpn-outline:                     #926f69;
    --fpn-outline-variant:             #e7bdb6;

    /* ── Error ── */
    --fpn-error:                       #ba1a1a;
    --fpn-on-error:                    #ffffff;
    --fpn-error-container:             #ffdad6;
    --fpn-on-error-container:          #410002;

    /* ── Neutral ── */
    --fpn-dark:                        #111827;
    --fpn-gray:                        #6b7280;
    --fpn-light:                       #f3f4f6;
    --fpn-border:                      #e5e7eb;

    /* ── Brand Colors (Social Platforms) ── */
    --fpn-whatsapp:                    #25D366;
    --fpn-facebook:                    #1877F2;
    --fpn-twitter:                     #000000;
    --fpn-telegram:                    #0088cc;
    --fpn-youtube:                     #FF0000;
    --fpn-instagram:                   #E4405F;
    --fpn-linkedin:                    #0A66C2;

    /* ── Typography ── */
    --fpn-font-heading:  'Noto Sans Devanagari', sans-serif;
    --fpn-font-body:     'Inter', 'Noto Sans Devanagari', sans-serif;
    --fpn-font-icon:     'Material Symbols Outlined';

    /* ── Type Scale (MD3) ── */
    --fpn-display-lg:     3.5625rem;
    --fpn-display-md:     3rem;
    --fpn-display-sm:     2.25rem;
    --fpn-headline-xl:    2.25rem;
    --fpn-headline-lg:    1.5rem;
    --fpn-headline-md:    1.25rem;
    --fpn-headline-sm:    1.125rem;
    --fpn-body-lg:        1.125rem;
    --fpn-body-md:        1rem;
    --fpn-body-sm:        0.875rem;
    --fpn-metadata:       0.75rem;
    --fpn-label-caps:     0.75rem;

    /* ── Mobile Type Scale ── */
    --fpn-headline-xl-mobile: 1.75rem;

    /* ── Line Heights ── */
    --fpn-lh-tight:    1.2;
    --fpn-lh-snug:     1.3;
    --fpn-lh-normal:   1.4;
    --fpn-lh-relaxed:  1.5;
    --fpn-lh-loose:    1.6;
    --fpn-lh-article:  1.8;

    /* ── Spacing Scale ── */
    --fpn-space-xs:    0.25rem;
    --fpn-space-sm:    0.5rem;
    --fpn-space-md:    1rem;
    --fpn-space-lg:    1.5rem;
    --fpn-space-xl:    2rem;
    --fpn-space-2xl:   3rem;
    --fpn-space-3xl:   4rem;

    /* ── Layout ── */
    --fpn-container-max:   1320px;
    --fpn-sidebar-width:   33.33%;
    --fpn-content-width:   66.67%;
    --fpn-gutter:          1.5rem;
    --fpn-margin-mobile:   1rem;

    /* ── Border Radius (MD3) ── */
    --fpn-radius-none:  0;
    --fpn-radius-xs:    0.0625rem;
    --fpn-radius-sm:    0.125rem;
    --fpn-radius-md:    0.25rem;
    --fpn-radius-lg:    0.5rem;
    --fpn-radius-xl:    0.75rem;
    --fpn-radius-2xl:   1rem;
    --fpn-radius-full:  9999px;

    /* ── Elevation / Shadows (MD3) ── */
    --fpn-shadow-none:  none;
    --fpn-shadow-sm:    0 1px 2px rgba(0,0,0,0.05);
    --fpn-shadow-md:    0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --fpn-shadow-lg:    0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --fpn-shadow-xl:    0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);

    /* ── Motion / Transitions ── */
    --fpn-transition-fast:    150ms ease;
    --fpn-transition-normal:  250ms ease;
    --fpn-transition-slow:    350ms ease;
    --fpn-duration-short1:    50ms;
    --fpn-duration-short2:    100ms;
    --fpn-duration-short3:    150ms;
    --fpn-duration-short4:    200ms;
    --fpn-duration-medium1:   250ms;
    --fpn-duration-medium2:   300ms;
    --fpn-duration-medium3:   350ms;
    --fpn-duration-medium4:   400ms;
    --fpn-duration-long1:     450ms;
    --fpn-duration-long2:     500ms;

    /* ── Ticker ── */
    --fpn-ticker-duration: 30s;

    /* ── Z-Index Scale ── */
    --fpn-z-base:       1;
    --fpn-z-dropdown:   100;
    --fpn-z-sticky:     200;
    --fpn-z-drawer:     300;
    --fpn-z-overlay:    400;
    --fpn-z-modal:      500;
    --fpn-z-toast:      600;
    --fpn-z-tooltip:    700;
}

/* ============================================================
   BASE RESETS
   ============================================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: var(--fpn-font-body);
    font-size: var(--fpn-body-md);
    line-height: var(--fpn-lh-relaxed);
    color: var(--fpn-on-surface);
    background-color: var(--fpn-surface);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--fpn-transition-fast);
}

a:hover {
    color: var(--fpn-primary);
}

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font: inherit;
    color: inherit;
}

input, textarea, select {
    font: inherit;
    color: inherit;
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */

/* Screen-reader only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Hide scrollbar */
.no-scrollbar,
.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.no-scrollbar::-webkit-scrollbar,
.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

/* Container */
.fpn-container {
    max-width: var(--fpn-container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--fpn-gutter);
    padding-right: var(--fpn-gutter);
}

@media (max-width: 768px) {
    .fpn-container {
        padding-left: var(--fpn-margin-mobile);
        padding-right: var(--fpn-margin-mobile);
    }
}

/* Responsive visibility */
.hidden { display: none !important; }
.md\:hidden { }

@media (min-width: 768px) {
    .md\:hidden { display: none !important; }
    .md\:flex  { display: flex !important; }
    .md\:block { display: block !important; }
    .md\:grid  { display: grid !important; }
}
