/*
Theme Name: Global Life Today
Theme URI: https://wpsolutionbd.com
Author: WP Solution
Author URI: https://wpsolutionbd.com
Description: Professional news & magazine WordPress theme by WP Solution (wpsolutionbd.com). Horizontal primary menu managed from Appearance > Menus, working breaking-news ticker, separate desktop/mobile logos with independent width & height, and pen-icon shortcuts that jump straight to each homepage section in the Customizer so admins can change categories in seconds.
Version: 2.3.0
Requires at least: 5.8
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: global-life-today
Tags: news, blog, magazine, two-columns, three-columns, four-columns, custom-background, custom-colors, custom-logo, custom-menu, featured-images, full-width-template, theme-options, translation-ready, rtl-language-support
*/

:root {
    --font-serif: 'Newsreader', Georgia, 'Hind Siliguri', serif;
    --font-sans: 'Plus Jakarta Sans', 'Hind Siliguri', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-brand: 'Cinzel', 'Hind Siliguri', serif;
    --glt-primary: #b80000;
    --glt-primary-dark: #960000;
    --glt-dark: #141618;
    --glt-body: #202224;
    --glt-muted: #545658;
    --glt-border: #e6e8ea;
    --glt-bg-subtle: #f6f6f6;
}

body {
    font-family: var(--font-sans);
    color: var(--glt-body);
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.font-serif-headline {
    font-family: var(--font-serif);
}

.font-brand {
    font-family: var(--font-brand);
}

/* Article Hover Dynamics */
.article-card:hover h2,
.article-card:hover h3,
.article-card:hover h4 {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.article-card:hover img {
    opacity: 0.92;
    transform: scale(1.015);
}

/* Navigation active indicator */
.nav-active {
    position: relative;
    font-weight: 700;
    color: #000000;
}

.nav-active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #000000;
}

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

/* Drop cap */
.drop-cap:first-letter {
    font-family: var(--font-serif);
    float: left;
    font-size: 4.25rem;
    line-height: 0.8;
    padding-top: 4px;
    padding-right: 12px;
    padding-bottom: 2px;
    font-weight: 700;
    color: #141618;
}

/* Reading Progress Bar */
#reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background-color: var(--glt-primary);
    z-index: 99999;
    transition: width 0.1s ease-out;
}

/* Front-end Section Edit Pen Icon for Administrators */
.glt-section-wrapper {
    position: relative;
    transition: outline 0.2s ease;
}

.glt-section-wrapper:hover {
    outline: 1px dashed rgba(184, 0, 0, 0.4);
    outline-offset: 4px;
}

.glt-section-edit-btn {
    position: absolute;
    top: 10px;
    right: 12px;
    z-index: 40;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: #141618;
    color: #ffffff;
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 9999px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    text-decoration: none;
    opacity: 0.75;
    transition: all 0.2s ease;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.glt-section-wrapper:hover .glt-section-edit-btn,
.glt-section-edit-btn:hover {
    opacity: 1;
    transform: translateY(-2px);
    background-color: var(--glt-primary);
    color: #ffffff;
    text-decoration: none;
}

.glt-section-edit-btn svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
}

/* WordPress Core Alignment & Media Styles */
.alignwide {
    margin-left: -40px;
    margin-right: -40px;
    max-width: calc(100% + 80px);
}
.alignfull {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    max-width: 100vw;
    width: 100vw;
}
.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.alignright {
    float: right;
    margin-left: 1.5em;
    margin-bottom: 1.5em;
}
.alignleft {
    float: left;
    margin-right: 1.5em;
    margin-bottom: 1.5em;
}
.wp-caption {
    max-width: 100%;
    margin-bottom: 1.5em;
    text-align: center;
}
.wp-caption-text {
    font-size: 0.8rem;
    color: var(--glt-muted);
    margin-top: 0.5rem;
}
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

/* Customizer Live Shortcuts */
.customize-partial-edit-shortcut {
    z-index: 50 !important;
}

