/*
Theme Name: GT 
Theme URI: https://gtdemo.attanodsc.com/
Author: Attanodsc
Author URI: https://attanodsc.com
Description: A modern dark gaming and tech review theme with premium features including reading progress bar, lightbox, sticky sidebar, and full responsive design.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gt
Tags: blog, entertainment, news, one-column, two-columns, right-sidebar, custom-colors, custom-menu, featured-images, footer-widgets, sticky-post, theme-options, translation-ready
*/

/* ===== CSS VARIABLES - DARK MODE (Default) ===== */
:root {
    --gt-primary-bg: #1a1a1a;
    --gt-card-bg: #2d2d2d;
    --gt-text-color: #e0e0e0;
    --gt-text-muted: #a0a0a0;
    --gt-accent-color: #ff3850;
    --gt-header-bg: #202020;
    --gt-border-color: rgba(255, 255, 255, 0.05);
    --gt-footer-bg: #111111;
    --gt-border-radius: 7px;
}

/* ===== CSS VARIABLES - LIGHT MODE ===== */
body.gt-light-mode {
    --gt-primary-bg: #f5f5f5;
    --gt-card-bg: #ffffff;
    --gt-text-color: #1a1a1a;
    --gt-text-muted: #666666;
    --gt-header-bg: #ffffff;
    --gt-border-color: rgba(0, 0, 0, 0.08);
    --gt-footer-bg: #1a1a1a;
}

/* Light mode explicit overrides for elements with hardcoded colors */
body.gt-light-mode .entry-title,
body.gt-light-mode .entry-title a,
body.gt-light-mode .widget h3,
body.gt-light-mode .widget h4,
body.gt-light-mode .widget-title,
body.gt-light-mode .sidebar h3,
body.gt-light-mode .sidebar h4,
body.gt-light-mode .post-card h2,
body.gt-light-mode .post-card h2 a,
body.gt-light-mode .gt-grid__title a,
body.gt-light-mode .gt-posts-widget__title a {
    color: var(--gt-text-color);
}

body.gt-light-mode .entry-title a:hover,
body.gt-light-mode .post-card h2 a:hover,
body.gt-light-mode .gt-grid__title a:hover,
body.gt-light-mode .gt-posts-widget__title a:hover {
    color: var(--gt-accent-color);
}

body.gt-light-mode .sidebar,
body.gt-light-mode .widget,
body.gt-light-mode .entry-body,
body.gt-light-mode .entry-body p,
body.gt-light-mode .entry-content,
body.gt-light-mode .entry-content p,
body.gt-light-mode .post-content,
body.gt-light-mode .post-content p,
body.gt-light-mode .content-area,
body.gt-light-mode .content-area p,
body.gt-light-mode article,
body.gt-light-mode article p,
body.gt-light-mode .post-card,
body.gt-light-mode .post-card p,
body.gt-light-mode .comments-area,
body.gt-light-mode .comments-area p,
body.gt-light-mode .comment-body,
body.gt-light-mode .comment-content,
body.gt-light-mode .comment-author,
body.gt-light-mode .comment-respond,
body.gt-light-mode .comment-form,
body.gt-light-mode #respond,
body.gt-light-mode .reply,
body.gt-light-mode .comment-list {
    color: var(--gt-text-color);
}

/* Comment form inputs and titles */
body.gt-light-mode .comments-title,
body.gt-light-mode .comment-reply-title,
body.gt-light-mode .comment-form label,
body.gt-light-mode .comment-form .comment-notes,
body.gt-light-mode .logged-in-as,
body.gt-light-mode .logged-in-as a,
body.gt-light-mode .related-posts__title,
body.gt-light-mode .related-posts__item-title a,
body.gt-light-mode .page-title,
body.gt-light-mode .page-title span,
body.gt-light-mode .search-form label {
    color: var(--gt-text-color);
}

body.gt-light-mode .comment-form input:not([type="submit"]),
body.gt-light-mode .comment-form textarea,
body.gt-light-mode #comment,
body.gt-light-mode #author,
body.gt-light-mode #email,
body.gt-light-mode #url,
body.gt-light-mode .search-form .search-field {
    background-color: var(--gt-card-bg);
    color: var(--gt-text-color);
    border-color: var(--gt-border-color);
}

body.gt-light-mode .comment-form input::placeholder,
body.gt-light-mode .comment-form textarea::placeholder,
body.gt-light-mode .search-form .search-field::placeholder {
    color: var(--gt-text-muted);
}

/* WordPress default widget titles */
body.gt-light-mode .widget_block h2,
body.gt-light-mode .widget_block h3,
body.gt-light-mode .wp-block-heading,
body.gt-light-mode .widgettitle,
body.gt-light-mode .widget-title,
body.gt-light-mode .wp-block-group h2,
body.gt-light-mode .wp-block-group h3 {
    color: var(--gt-text-color);
}

/* ===== HOMEPAGE HERO SLIDER ===== */
.hero-slider {
    position: relative;
    max-width: 1200px;
    margin: 20px auto 30px;
    padding: 0 20px;
    height: var(--hero-height-desktop, 500px);
    overflow: hidden;
    border-radius: 7px;
}

.hero-slider__track {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 7px;
    overflow: hidden;
}

.hero-slider__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.hero-slider__slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* Slide effect */
.hero-slider[data-effect="slide"] .hero-slider__slide {
    transform: translateX(100%);
    transition: transform 0.5s ease, opacity 0.3s ease;
}

.hero-slider[data-effect="slide"] .hero-slider__slide.active {
    transform: translateX(0);
}

.hero-slider[data-effect="slide"] .hero-slider__slide.prev {
    transform: translateX(-100%);
}

.hero-slider__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slider__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, var(--hero-overlay-opacity, 0.7)) 0%, rgba(0, 0, 0, 0.2) 50%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 40px 40px 40px 55px;
}

.hero-slider__content {
    max-width: 700px;
}

.hero-slider__content--left {
    text-align: left;
}

.hero-slider__content--center {
    text-align: center;
    margin: 0 auto;
}

.hero-slider__content--right {
    text-align: right;
    margin-left: auto;
}

.hero-slider__cat {
    display: inline-block;
    background: var(--gt-accent-color);
    color: #fff;
    padding: 5px 15px;
    border-radius: 4px;
    font-size: 0.8em;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 15px;
    transition: background 0.3s ease;
}

.hero-slider__cat:hover {
    background: #e02e42;
    color: #fff;
}

.hero-slider__title {
    font-size: 2.5em;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-slider__title a {
    color: #fff;
}

.hero-slider__title a:hover {
    color: var(--gt-accent-color);
}

.hero-slider__excerpt {
    font-size: 1em;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin: 0 0 15px;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hero-slider__meta {
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.hero-slider__meta i {
    margin-right: 5px;
    color: var(--gt-accent-color);
}

.hero-slider__btn {
    margin-top: 10px;
}

/* Navigation Arrows */
.hero-slider__nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 35px;
    pointer-events: none;
    z-index: 10;
}

.hero-slider__prev,
.hero-slider__next {
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 1.2em;
    cursor: pointer;
    pointer-events: all;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slider__prev:hover,
.hero-slider__next:hover {
    background: var(--gt-accent-color);
    transform: scale(1.1);
}

/* Dots */
.hero-slider__dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.hero-slider__dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-slider__dot:hover,
.hero-slider__dot.active {
    background: var(--gt-accent-color);
    transform: scale(1.2);
}

/* Tablet Responsive */
@media (max-width: 992px) {
    .hero-slider {
        height: var(--hero-height-tablet, 400px);
    }

    .hero-slider__overlay {
        padding: 30px;
    }

    .hero-slider__title {
        font-size: 2em;
    }

    .hero-slider__excerpt {
        font-size: 0.9em;
    }

    .hero-slider__prev,
    .hero-slider__next {
        width: 40px;
        height: 40px;
        font-size: 1em;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-slider {
        height: var(--hero-height-mobile, 300px);
        margin-bottom: 25px;
    }

    .hero-slider__overlay {
        padding: 20px;
    }

    .hero-slider__content {
        max-width: 100%;
    }

    .hero-slider__cat {
        font-size: 0.7em;
        padding: 4px 10px;
        margin-bottom: 10px;
    }

    .hero-slider__title {
        font-size: 1.4em;
        margin-bottom: 10px;
    }

    .hero-slider__excerpt {
        font-size: 0.85em;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }

    .hero-slider__meta {
        font-size: 0.8em;
        margin-bottom: 10px;
    }

    .hero-slider__btn {
        padding: 6px 12px;
        font-size: 0.75em;
    }

    .hero-slider__prev,
    .hero-slider__next {
        width: 35px;
        height: 35px;
        font-size: 0.9em;
    }

    .hero-slider__nav {
        padding: 0 10px;
    }

    .hero-slider__dots {
        bottom: 10px;
        gap: 8px;
    }

    .hero-slider__dot {
        width: 10px;
        height: 10px;
    }
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--gt-primary-bg);
    color: var(--gt-text-color);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
}

a {
    color: var(--gt-text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover,
a:focus {
    color: var(--gt-accent-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul,
ol {
    list-style: none;
}

/* ===== READING PROGRESS BAR ===== */
#reading-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    z-index: 99999;
    background: transparent;
}

#reading-progress-bar {
    height: 100%;
    width: 0%;
    background: var(--gt-accent-color);
    transition: width 0.1s ease-out;
}

/* Hide reading progress bar when disabled */
body.hide-reading-progress #reading-progress-container {
    display: none !important;
}

/* Hide header accent line when disabled */
body.hide-header-accent-line .site-header {
    border-bottom-color: transparent;
}

/* ===== HEADER ===== */
.site-header {
    background: var(--gt-header-bg);
    border-bottom: 2px solid var(--gt-accent-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 70px;
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
}

.header-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    order: 1;
}

.nav-menu {
    order: 2;
}

.header-actions {
    order: 3;
}

/* ===== DEFAULT: Logo Left, Menu expands, Toggle Right ===== */
.header-logo-left .header-logo {
    order: 1;
}

.header-logo-left .nav-menu {
    order: 2;
    flex: 1;
    display: flex;
}

.header-logo-left .header-actions {
    order: 3;
}

/* Menu positions within Logo Left */
.header-logo-left.header-menu-left .nav-menu {
    justify-content: flex-start;
}

.header-logo-left.header-menu-center .nav-menu {
    justify-content: center;
}

.header-logo-left.header-menu-right .nav-menu {
    justify-content: flex-end;
}

/* ===== Logo Right ===== */
.header-logo-right .header-logo {
    order: 3;
}

.header-logo-right .nav-menu {
    order: 2;
    flex: 1;
    display: flex;
}

.header-logo-right .header-actions {
    order: 1;
}

/* Menu positions within Logo Right */
.header-logo-right.header-menu-left .nav-menu {
    justify-content: flex-start;
}

.header-logo-right.header-menu-center .nav-menu {
    justify-content: center;
}

.header-logo-right.header-menu-right .nav-menu {
    justify-content: flex-end;
}

/* ===== Logo Center ===== */
.header-logo-center .header-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    order: 2;
}

.header-logo-center .nav-menu {
    order: 1;
    flex: 1;
    display: flex;
}

.header-logo-center .header-actions {
    order: 3;
}

/* Menu positions within Logo Center */
.header-logo-center.header-menu-left .nav-menu {
    justify-content: flex-start;
}

.header-logo-center.header-menu-center .nav-menu {
    justify-content: flex-start;
}

.header-logo-center.header-menu-right .nav-menu {
    justify-content: flex-end;
}

.site-logo {
    font-size: 1.8em;
    font-weight: 800;
    letter-spacing: -1px;
}

.site-logo span {
    color: var(--gt-accent-color);
}

.site-branding {
    display: flex;
    flex-direction: column;
}

.site-tagline {
    font-size: 0.75em;
    color: var(--gt-text-muted);
    margin: 0;
    font-weight: 400;
}

.custom-logo-link {
    display: flex;
    align-items: center;
}

.custom-logo {
    max-height: 50px;
    width: auto;
    height: auto;
}

/* Navigation Menu */
.nav-menu ul {
    display: flex;
    gap: 20px;
    list-style: none;
}

.nav-menu a {
    font-weight: 500;
    font-size: 0.95em;
    padding: 8px 0;
}

.nav-menu a:hover {
    color: var(--gt-accent-color);
}

.nav-menu .menu-item-button a {
    padding: 8px 15px;
    background: var(--gt-accent-color);
    color: #fff;
    border-radius: 4px;
}

.nav-menu .menu-item-button a:hover {
    filter: brightness(1.1);
    color: #fff;
}

/* ===== MENU STYLE VARIATIONS ===== */

/* Base menu styling - apply spacing */
.nav-menu ul {
    gap: var(--gt-menu-spacing, 5px);
}

/* Active item styling */
.nav-menu .current-menu-item>a,
.nav-menu .current_page_item>a {
    color: var(--gt-menu-active-color, #ff3850);
}

/* Menu Style: Normal (default) */
.menu-style-normal .nav-menu a:hover {
    color: var(--gt-menu-hover-color, #ff3850);
}

/* Menu Style: Pill */
.menu-style-pill .nav-menu a {
    padding: var(--gt-menu-padding, 8px 15px);
    border-radius: 50px;
    transition: all 0.3s ease;
}

.menu-style-pill .nav-menu a:hover {
    color: var(--gt-menu-hover-color, #ff3850);
    background: var(--gt-menu-hover-bg, rgba(255, 255, 255, 0.1));
}

/* Menu Style: Rounded */
.menu-style-rounded .nav-menu a {
    padding: var(--gt-menu-padding, 8px 15px);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.menu-style-rounded .nav-menu a:hover {
    color: var(--gt-menu-hover-color, #ff3850);
    background: var(--gt-menu-hover-bg, rgba(255, 255, 255, 0.1));
}

/* Menu Style: Square */
.menu-style-square .nav-menu a {
    padding: var(--gt-menu-padding, 8px 15px);
    border-radius: 0;
    transition: all 0.3s ease;
}

.menu-style-square .nav-menu a:hover {
    color: var(--gt-menu-hover-color, #ff3850);
    background: var(--gt-menu-hover-bg, rgba(255, 255, 255, 0.1));
}

/* Menu Style: Underline */
.menu-style-underline .nav-menu a {
    position: relative;
    padding: var(--gt-menu-padding, 8px 15px);
}

.menu-style-underline .nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gt-menu-hover-color, #ff3850);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.menu-style-underline .nav-menu a:hover::after,
.menu-style-underline .nav-menu .current-menu-item>a::after {
    width: 80%;
}

.menu-style-underline .nav-menu a:hover {
    color: var(--gt-menu-hover-color, #ff3850);
}

/* Menu Style: Ghost */
.menu-style-ghost .nav-menu a {
    padding: var(--gt-menu-padding, 8px 15px);
    border: 1px solid transparent;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.menu-style-ghost .nav-menu a:hover {
    color: var(--gt-menu-hover-color, #ff3850);
    border-color: var(--gt-menu-hover-color, #ff3850);
    background: transparent;
}

.menu-style-ghost .nav-menu .current-menu-item>a {
    border-color: var(--gt-menu-active-color, #ff3850);
}

/* Menu Style: Button Filled */
.menu-style-button-filled .nav-menu a {
    padding: var(--gt-menu-padding, 8px 15px);
    background: var(--gt-menu-hover-bg, rgba(255, 255, 255, 0.1));
    color: var(--gt-text-color);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.menu-style-button-filled .nav-menu a:hover {
    background: var(--gt-menu-hover-color, #ff3850);
    color: #fff;
}

.menu-style-button-filled .nav-menu .current-menu-item>a {
    background: var(--gt-menu-active-color, #ff3850);
    color: #fff;
}

/* Menu Style: Button Pill */
.menu-style-button-pill .nav-menu a {
    padding: var(--gt-menu-padding, 8px 15px);
    background: var(--gt-menu-hover-bg, rgba(255, 255, 255, 0.1));
    color: var(--gt-text-color);
    border-radius: 50px;
    transition: all 0.3s ease;
}

.menu-style-button-pill .nav-menu a:hover {
    background: var(--gt-menu-hover-color, #ff3850);
    color: #fff;
}

.menu-style-button-pill .nav-menu .current-menu-item>a {
    background: var(--gt-menu-active-color, #ff3850);
    color: #fff;
}

/* Menu Style: Button Gradient */
.menu-style-button-gradient .nav-menu a {
    padding: var(--gt-menu-padding, 8px 15px);
    background: linear-gradient(135deg, transparent, transparent);
    color: var(--gt-text-color);
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.menu-style-button-gradient .nav-menu a::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--gt-menu-hover-color, #ff3850), var(--gt-menu-active-color, #ff3850));
    border-radius: 4px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.menu-style-button-gradient .nav-menu a:hover::before {
    opacity: 1;
}

.menu-style-button-gradient .nav-menu a:hover {
    color: #fff;
}

.menu-style-button-gradient .nav-menu .current-menu-item>a::before {
    opacity: 1;
}

.menu-style-button-gradient .nav-menu .current-menu-item>a {
    color: #fff;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--gt-text-color);
    font-size: 1.5em;
    cursor: pointer;
    padding: 10px;
}

/* Header Actions Container */
.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Header Social Icons */
.header-social {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-right: 10px;
}

.header-social .social-link {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gt-text-muted);
    border-radius: 50%;
    transition: all 0.3s ease;
    font-size: 0.9em;
}

.header-social .social-link:hover {
    color: var(--gt-accent-color);
    background: var(--gt-card-bg);
}

/* Search Toggle Button */
.search-toggle {
    background: none;
    border: 1px solid var(--gt-border-color);
    color: var(--gt-text-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.search-toggle:hover {
    background: var(--gt-accent-color);
    border-color: var(--gt-accent-color);
    color: #fff;
}

/* Mode Toggle Button */
.mode-toggle {
    background: none;
    border: 1px solid var(--gt-border-color);
    color: var(--gt-text-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.mode-toggle:hover {
    background: var(--gt-accent-color);
    border-color: var(--gt-accent-color);
    color: #fff;
}

/* ===== SEARCH OVERLAY ===== */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-overlay-inner {
    width: 90%;
    max-width: 600px;
    position: relative;
}

.search-close {
    position: absolute;
    top: -60px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 2em;
    cursor: pointer;
    padding: 10px;
    transition: color 0.3s ease;
}

.search-close:hover {
    color: var(--gt-accent-color);
}

.search-overlay .search-form {
    display: flex;
    background: #222;
    border-radius: 50px;
    overflow: hidden;
    border: 2px solid var(--gt-accent-color);
}

.search-overlay .search-field {
    flex: 1;
    padding: 20px 30px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.2em;
    outline: none;
}

.search-overlay .search-field::placeholder {
    color: #888;
}

.search-overlay .search-submit {
    padding: 20px 30px;
    background: var(--gt-accent-color);
    border: none;
    color: #fff;
    font-size: 1.2em;
    cursor: pointer;
    transition: background 0.3s ease;
}

.search-overlay .search-submit:hover {
    filter: brightness(1.1);
}

/* Show/hide icons based on mode */
/* Dark mode (default): show sun icon (clicking switches to light) */
/* Light mode: show moon icon (clicking switches to dark) */
.mode-icon-dark,
.mode-icon-light {
    display: none !important;
}

.mode-icon-light {
    display: inline-block !important;
}

body.gt-light-mode .mode-icon-light {
    display: none !important;
}

body.gt-light-mode .mode-icon-dark {
    display: inline-block !important;
}

/* ===== MOBILE MENU ACTIONS (inside hamburger) ===== */
.mobile-menu-actions {
    display: none;
    /* Hidden on desktop */
}

/* ===== MOBILE/TABLET RESPONSIVE HEADER ===== */
@media (max-width: 992px) {

    /* Header layout: hamburger left, logo center */
    .header-inner {
        position: relative;
    }

    /* Hamburger on left */
    .menu-toggle {
        display: flex;
        order: 1;
        flex-shrink: 0;
    }

    /* Logo centered */
    .header-logo {
        order: 2;
        position: absolute !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
    }

    /* Hide nav-menu in flow (it's fixed position anyway) */
    .nav-menu {
        order: 3;
    }

    /* Show header actions on right (search + mode toggle) */
    .header-actions {
        display: flex !important;
        order: 4;
        position: absolute;
        right: 20px;
    }

    /* Hide only social icons on mobile */
    .header-social {
        display: none !important;
    }

    /* Hide mobile menu actions (not needed, buttons are in header) */
    .mobile-menu-actions {
        display: none !important;
    }

    /* Mobile navigation menu - slide from left */
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--gt-header-bg);
        flex-direction: column;
        padding: 20px;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
        z-index: 999;
        display: flex;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    .nav-menu li {
        border-bottom: 1px solid var(--gt-border-color);
    }

    .nav-menu a {
        display: block;
        padding: 15px 0;
        font-size: 1.1em;
    }

    /* Show mobile menu actions inside hamburger menu */
    .mobile-menu-actions {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid var(--gt-border-color);
    }

    .mobile-search-toggle,
    .mobile-mode-toggle {
        display: flex;
        align-items: center;
        gap: 12px;
        width: 100%;
        padding: 15px;
        background: var(--gt-card-bg);
        border: 1px solid var(--gt-border-color);
        border-radius: 8px;
        color: var(--gt-text-color);
        font-size: 1em;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .mobile-search-toggle:hover,
    .mobile-mode-toggle:hover {
        background: var(--gt-accent-color);
        border-color: var(--gt-accent-color);
        color: #fff;
    }

    .mobile-search-toggle i,
    .mobile-mode-toggle i {
        font-size: 1.2em;
        width: 24px;
        text-align: center;
    }

    /* Mode labels for mobile */
    .mode-label-dark {
        display: none;
    }

    .mode-label-light {
        display: inline;
    }

    body.gt-light-mode .mode-label-light {
        display: none;
    }

    body.gt-light-mode .mode-label-dark {
        display: inline;
    }

    /* Header layout adjustments */
    .header-inner {
        justify-content: space-between;
    }

    .header-logo {
        order: 1;
    }

    /* Logo center override for mobile */
    .header-logo-center .header-logo {
        position: static;
        transform: none;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        top: 70px;
    }

    .mobile-search-toggle,
    .mobile-mode-toggle {
        padding: 12px;
    }
}

/* Hide mode labels on desktop */
@media (min-width: 993px) {

    .mode-label-light,
    .mode-label-dark {
        display: none;
    }
}

/* ===== BREAKING NEWS BAR ===== */
.breaking-news-bar {
    background: var(--gt-card-bg);
    border-bottom: 1px solid var(--gt-border-color);
    padding: 8px 0;
    font-size: 0.9em;
}

.breaking-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
}

.breaking-label {
    background: var(--gt-accent-color);
    color: #fff;
    padding: 2px 8px;
    border-radius: 3px;
    font-weight: bold;
    font-size: 0.8em;
    margin-right: 15px;
    text-transform: uppercase;
    flex-shrink: 0;
}

.breaking-news-ticker {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
}

.ticker-track {
    display: inline-flex;
    animation: ticker 20s linear infinite;
}

.breaking-news-ticker .news-item {
    display: inline-block;
    margin-right: 50px;
    color: var(--gt-text-color);
    padding: 5px 0;
}

.breaking-news-ticker .news-item:hover {
    color: var(--gt-accent-color);
}

.breaking-news-bar .news-icon {
    color: var(--gt-accent-color);
    margin-right: 5px;
}

/* Pause on hover */
.breaking-news-ticker:hover .ticker-track {
    animation-play-state: paused;
}

@keyframes ticker {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ===== MAIN LAYOUT ===== */
.site-main {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 7fr 3fr;
    gap: 30px;
}

.content-area {
    min-width: 0;
}

/* ===== POST CARDS ===== */
.post-card {
    background: var(--gt-card-bg);
    border-radius: 7px;
    overflow: hidden;
    margin-bottom: 30px;
    border: 1px solid var(--gt-border-color);
}

.post-thumbnail {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.post-thumbnail:hover {
    transform: scale(1.02);
}

.post-content {
    padding: 30px;
}

/* Entry Meta */
.entry-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    color: var(--gt-text-muted);
    font-size: 0.85em;
    margin-bottom: 15px;
}

.entry-meta i,
.entry-meta .meta-icon {
    color: var(--gt-accent-color);
    margin-right: 5px;
}

/* Entry Title */
.entry-title {
    font-size: 2.4em;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.25;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.entry-title a {
    color: inherit;
    transition: color 0.3s ease;
}

.entry-title a:hover {
    color: var(--gt-accent-color);
}

/* Entry Body */
.entry-body p {
    margin-bottom: 20px;
    font-size: 1.1em;
    color: #dcdcdc;
}

.entry-body h2,
.entry-body h3,
.entry-body h4 {
    margin: 30px 0 15px;
    color: #fff;
}

/* Entry Category Badge */
.entry-category-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--gt-accent-color);
    color: #fff;
    font-size: 0.75em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 4px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.entry-category-badge:hover {
    background: #e02e42;
    color: #fff;
    transform: translateY(-2px);
}

/* ===== SITE-WIDE BUTTON STYLES ===== */
/* Base Button (Default - Rounded) */
.btn,
.wp-block-button__link,
.read-more-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 1em;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid var(--gt-accent-color);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    background: var(--gt-accent-color);
    color: #fff !important;
    border-radius: 6px;
}

.btn:hover,
.wp-block-button__link:hover,
.read-more-link:hover {
    filter: brightness(0.85);
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Sharp Button Style - Applied via body class */
body.button-style-sharp .btn,
body.button-style-sharp .wp-block-button__link,
body.button-style-sharp .read-more-link {
    border-radius: 0 !important;
    border-width: 1px;
}

/* Button Sizes */
.btn-sm {
    padding: 8px 16px;
    font-size: 0.875em;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.125em;
}

/* Button Full Width */
.btn-block {
    width: 100%;
}

/* ===== SPECIAL BOXES ===== */
/* Review Box */
.review-box {
    background: rgba(0, 0, 0, 0.2);
    border-left: 5px solid var(--gt-accent-color);
    padding: 25px;
    margin: 30px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 0 8px 8px 0;
}

.review-box h3 {
    margin-bottom: 5px;
    color: #fff;
}

.review-box p {
    color: #aaa;
    font-size: 0.9em;
    margin: 0;
}

.review-score {
    font-size: 3em;
    font-weight: bold;
    color: var(--gt-accent-color);
    line-height: 1;
}

.review-score span {
    font-size: 0.4em;
    color: #666;
}

/* Pros & Cons */
.pros-cons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 30px 0;
}

.pros h4 {
    color: #2ecc71;
    margin-bottom: 15px;
}

.cons h4 {
    color: #e74c3c;
    margin-bottom: 15px;
}

.pro-item {
    color: #2ecc71;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.con-item {
    color: #e74c3c;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Alert Box */
.gt-alert {
    padding: 15px;
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    color: #ffca28;
    border-radius: 5px;
    margin: 20px 0;
}

.gt-alert i {
    margin-right: 8px;
}

/* ===== POST FOOTER ===== */
.post-footer {
    border-top: 1px solid var(--gt-border-color);
    margin-top: 30px;
    padding-top: 20px;
}

.source-link {
    text-align: right;
    font-size: 0.9em;
    color: var(--gt-text-muted);
}

.source-link a {
    color: var(--gt-text-muted);
}

.source-link a:hover {
    color: var(--gt-accent-color);
}

/* Share Buttons */
.share-buttons {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.share-btn {
    padding: 10px 20px;
    border-radius: 4px;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9em;
}

.share-btn.twitter {
    background: #000;
}

.share-btn.facebook {
    background: #3b5998;
}

.share-btn:hover {
    opacity: 0.9;
    color: #fff;
}

/* ===== AUTHOR BOX ===== */
.author-box {
    background: rgba(255, 255, 255, 0.03);
    padding: 25px;
    border-radius: 8px;
    display: flex;
    gap: 20px;
    align-items: center;
    margin-top: 40px;
}

.author-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid var(--gt-accent-color);
    object-fit: cover;
}

.author-info h4 {
    color: var(--gt-accent-color);
    margin-bottom: 5px;
}

.author-info p {
    font-size: 0.9em;
    color: #bbb;
    margin-bottom: 10px;
}

.author-social a {
    margin-right: 10px;
    color: var(--gt-text-muted);
    font-size: 1.2em;
}

.author-social a:hover {
    color: var(--gt-accent-color);
}

/* ===== SIDEBAR ===== */
.sidebar-area {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.widget {
    background: var(--gt-card-bg);
    padding: 20px;
    border-radius: 7px;
    margin-bottom: 10px;
    border: 1px solid var(--gt-border-color);
}

.widget-title {
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-size: 1.1em;
    font-weight: 600;
    color: #fff;
    display: inline-block;
    position: relative;
}

/* Accent line under widget title */
.widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gt-accent-color);
}

/* Search Widget */
.widget_search .search-form {
    display: flex;
    gap: 0;
}

.widget .search-field,
.widget_search .search-field {
    width: 100%;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--gt-border-color);
    color: var(--gt-text-color);
    border-radius: 6px;
    font-size: 0.85em;
    transition: all 0.3s ease;
}

.widget .search-field:focus,
.widget_search .search-field:focus {
    outline: none;
    border-color: var(--gt-accent-color);
    background: rgba(255, 255, 255, 0.08);
}

.widget .search-field::placeholder,
.widget_search .search-field::placeholder {
    color: var(--gt-text-muted);
}

.widget .search-submit,
.widget_search .search-submit {
    display: none;
}

/* Light Mode - Widget */
body.gt-light-mode .widget-title {
    color: #1a1a1a;
}

body.gt-light-mode .widget .search-field,
body.gt-light-mode .widget_search .search-field {
    background: #f5f5f5;
    border-color: #e0e0e0;
    color: #1a1a1a;
}

body.gt-light-mode .widget .search-field:focus,
body.gt-light-mode .widget_search .search-field:focus {
    background: #fff;
    border-color: var(--gt-accent-color);
}

/* WordPress Block-Based Search Widget */
.wp-block-search {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}

.wp-block-search__label {
    width: 100%;
    font-size: 1.1em;
    font-weight: 600;
    color: #fff;
    margin-bottom: 12px;
    display: inline-block;
    padding-bottom: 10px;
    position: relative;
}

.wp-block-search__label::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gt-accent-color);
}

.wp-block-search__inside-wrapper {
    width: 100%;
    display: flex;
    gap: 0;
}

.wp-block-search__input {
    flex: 1;
    padding: 10px 14px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid var(--gt-border-color) !important;
    color: var(--gt-text-color) !important;
    border-radius: 6px 0 0 6px !important;
    font-size: 0.85em !important;
    transition: all 0.3s ease;
    height: auto !important;
    min-height: unset !important;
}

.wp-block-search__input:focus {
    outline: none;
    border-color: var(--gt-accent-color) !important;
    background: rgba(255, 255, 255, 0.08) !important;
}

.wp-block-search__input::placeholder {
    color: var(--gt-text-muted);
}

.wp-block-search__button {
    background: var(--gt-accent-color) !important;
    color: #fff !important;
    border: none !important;
    padding: 10px 15px !important;
    border-radius: 0 6px 6px 0 !important;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.wp-block-search__button:hover {
    filter: brightness(1.1);
}

.wp-block-search__button svg {
    width: 16px;
    height: 16px;
    fill: #fff;
}

/* Light Mode - Block Search Widget */
body.gt-light-mode .wp-block-search__label {
    color: #1a1a1a;
}

body.gt-light-mode .wp-block-search__input {
    background: #f5f5f5 !important;
    border-color: #e0e0e0 !important;
    color: #1a1a1a !important;
}

body.gt-light-mode .wp-block-search__input:focus {
    background: #fff !important;
    border-color: var(--gt-accent-color) !important;
}

/* Recent Posts Widget */
.gt-recent-posts li {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--gt-border-color);
}

.gt-recent-posts li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.gt-recent-posts img {
    width: 70px;
    height: 70px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
}

.gt-rp-content h4 {
    font-size: 0.95em;
    margin-bottom: 5px;
    line-height: 1.3;
}

.gt-rp-date {
    font-size: 0.8em;
    color: var(--gt-text-muted);
}

/* Ad Widget */
.widget-ad {
    text-align: center;
}

.widget-ad .ad-label {
    display: block;
    font-size: 0.7em;
    color: #666;
    margin-bottom: 5px;
}

.widget-ad .ad-placeholder {
    background: #222;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #444;
    border: 1px dashed #444;
}

/* ===== PAGINATION ===== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 30px 0;
}

.pagination .page-numbers {
    padding: 10px 15px;
    background: var(--gt-card-bg);
    border-radius: 4px;
    color: var(--gt-text-color);
    border: 1px solid var(--gt-border-color);
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
    background: var(--gt-accent-color);
    color: #fff;
    border-color: var(--gt-accent-color);
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--gt-footer-bg);
    padding: 60px 0 20px;
    border-top: 1px solid var(--gt-border-color);
    margin-top: 50px;
}

.footer-widgets {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding: 0 20px;
}

.footer-widget h4 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.1em;
}

.footer-widget p {
    font-size: 0.9em;
    color: #aaa;
}

.footer-widget ul {
    line-height: 2;
}

.footer-widget ul a {
    color: #aaa;
}

.footer-widget ul a:hover {
    color: var(--gt-accent-color);
}

.footer-social a {
    color: #fff;
    margin-right: 15px;
    font-size: 1.2em;
}

.footer-social a:hover {
    color: var(--gt-accent-color);
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--gt-border-color);
    color: #666;
    font-size: 0.9em;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* ===== SEARCH FORM ===== */
.search-form {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.search-form .search-field {
    flex: 1;
    padding: 12px 18px;
    background: var(--gt-card-bg);
    border: 2px solid var(--gt-border-color);
    border-radius: 6px;
    color: var(--gt-text-color);
    font-size: 1em;
    transition: all 0.3s ease;
}

.search-form .search-field:focus {
    outline: none;
    border-color: var(--gt-accent-color);
}

.search-form .search-submit {
    padding: 12px 25px;
    background: var(--gt-accent-color);
    border: none;
    border-radius: 6px;
    color: #fff;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-form .search-submit:hover {
    transform: translateY(-2px);
}

/* Page Header */
.page-header {
    margin-bottom: 30px;
}

.page-title {
    font-size: 1.8em;
    color: var(--gt-text-color);
    margin: 0;
}

.page-title span {
    color: var(--gt-accent-color);
}

/* ===== LIGHTBOX ===== */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
    cursor: zoom-out;
}

.lightbox-overlay.active {
    display: flex;
}

.lightbox-img {
    max-width: 90%;
    max-height: 90%;
    border: 2px solid #fff;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

/* ===== COMMENTS ===== */
.comments-area {
    margin-top: 0;
    padding-top: 15px;
    border-top: none;
}

.comments-title {
    font-size: 1.5em;
    font-weight: 700;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.comments-title::before {
    content: '\f086';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--gt-accent-color);
}

.comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comment {
    margin-bottom: 25px;
    padding: 25px;
    background: var(--gt-card-bg);
    border-radius: 7px;
    border-left: 4px solid var(--gt-accent-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.comment:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.comment-author {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.comment-author img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    margin-right: 15px;
    border: 3px solid var(--gt-accent-color);
    box-shadow: 0 0 15px rgba(255, 56, 80, 0.3);
    float: none;
}

.comment-author .fn {
    font-weight: 600;
    font-size: 1.1em;
    color: inherit;
}

.comment-author .fn a {
    color: inherit;
    transition: color 0.3s ease;
}

.comment-author .fn a:hover {
    color: var(--gt-accent-color);
}

.comment-metadata {
    font-size: 0.85em;
    color: var(--gt-text-muted);
    margin-left: auto;
}

.comment-metadata a {
    color: var(--gt-text-muted);
}

.comment-content {
    padding-left: 70px;
    line-height: 1.7;
}

.comment-content p {
    margin-bottom: 10px;
}

.reply {
    padding-left: 70px;
    margin-top: 15px;
}

.comment-reply-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: transparent;
    border: 1px solid var(--gt-accent-color);
    color: var(--gt-accent-color);
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 500;
    transition: all 0.3s ease;
}

.comment-reply-link::before {
    content: '\f3e5';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.9em;
}

.comment-reply-link:hover {
    background: var(--gt-accent-color);
    color: #fff;
}

/* Nested comments */
.children {
    list-style: none;
    padding-left: 40px;
    margin-top: 20px;
    border-left: 2px solid var(--gt-border-color);
}

/* Comment Form */
.comment-respond {
    margin-top: 8px;
    padding: 30px;
    background: var(--gt-card-bg);
    border-radius: 7px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.comment-reply-title {
    font-size: 1.4em;
    font-weight: 700;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.comment-reply-title::before {
    content: '\f303';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--gt-accent-color);
}

.comment-form {
    display: grid;
    gap: 12px;
}

.comment-form-comment,
.comment-form-author,
.comment-form-email,
.comment-form-url {
    margin: 0;
}

.comment-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--gt-text-color);
}

.comment-form input:not([type="submit"]),
.comment-form textarea {
    width: 100%;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--gt-border-color);
    color: var(--gt-text-color);
    border-radius: 6px;
    margin-bottom: 0;
    font-size: 0.95em;
    transition: all 0.3s ease;
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--gt-accent-color);
    background: rgba(255, 56, 80, 0.05);
    box-shadow: 0 0 20px rgba(255, 56, 80, 0.1);
}

.comment-form textarea {
    min-height: 80px;
    resize: vertical;
}

.comment-form .submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: auto;
    padding: 12px 25px;
    background: var(--gt-accent-color);
    border: none;
    border-radius: 6px;
    color: #fff !important;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.comment-form .submit:hover {
    transform: translateY(-2px);
}

.comment-notes {
    font-size: 0.9em;
    color: var(--gt-text-muted);
}

/* Cookies consent checkbox */
.comment-form-cookies-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 15px 0;
}

.comment-form-cookies-consent input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    flex-shrink: 0;
    margin-top: 3px;
    accent-color: var(--gt-accent-color);
    cursor: pointer;
}

.comment-form-cookies-consent label {
    display: inline;
    margin: 0;
    font-size: 0.9em;
    color: var(--gt-text-muted);
    cursor: pointer;
}

/* ===== RELATED POSTS ===== */
.related-posts {
    margin-top: 30px;
    padding-top: 20px;
    margin-bottom: 0;
    border-top: 1px solid var(--gt-border-color);
}

.related-posts__title {
    font-size: 1.3em;
    margin-bottom: 25px;
    padding-bottom: 12px;
    position: relative;
}

.related-posts__title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--gt-accent-color);
}

.related-posts__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.related-posts__item {
    background: var(--gt-card-bg);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--gt-border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-posts__item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.related-posts__thumb {
    display: block;
    overflow: hidden;
}

.related-posts__thumb img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-posts__item:hover .related-posts__thumb img {
    transform: scale(1.05);
}

.related-posts__content {
    padding: 15px;
}

.related-posts__item-title {
    font-size: 0.95em;
    margin: 0 0 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-posts__item-title a {
    color: var(--gt-text-color);
}

.related-posts__item-title a:hover {
    color: var(--gt-accent-color);
}

.related-posts__date {
    font-size: 0.8em;
    color: var(--gt-text-muted);
}

.related-posts__date i {
    margin-right: 5px;
    color: var(--gt-accent-color);
}

@media (max-width: 768px) {
    .related-posts__grid {
        grid-template-columns: 1fr;
    }
}

/* ===== 404 PAGE ===== */
.error-404 {
    text-align: center;
    padding: 80px 20px;
}

.error-404 h1 {
    font-size: 8em;
    color: var(--gt-accent-color);
    line-height: 1;
    margin-bottom: 20px;
}

.error-404 h2 {
    margin-bottom: 30px;
}

.error-404 .btn {
    display: inline-block;
    padding: 15px 30px;
    background: var(--gt-accent-color);
    color: #fff;
    border-radius: 4px;
    font-weight: 600;
}

.error-404 .btn:hover {
    background: #e02e42;
    color: #fff;
}

/* ===== ARCHIVE / SEARCH HEADERS ===== */
.page-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gt-border-color);
}

.page-title {
    font-size: 1.8em;
    margin-bottom: 10px;
}

.page-description {
    color: var(--gt-text-muted);
}

/* ===== ACCESSIBILITY ===== */
.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;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: var(--gt-card-bg);
    clip: auto !important;
    clip-path: none;
    color: var(--gt-text-color);
    display: block;
    font-size: 1em;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* ===== RESPONSIVE - TABLET (max-width: 1024px) ===== */
@media (max-width: 1024px) {
    .site-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .sidebar-area {
        position: static;
    }

    .footer-widgets {
        grid-template-columns: repeat(2, 1fr);
    }

    .entry-title {
        font-size: 1.8em;
    }

    .post-thumbnail {
        height: 350px;
    }
}

/* ===== RESPONSIVE - MOBILE (max-width: 768px) ===== */
@media (max-width: 768px) {
    .header-inner {
        height: 60px;
    }

    .site-logo {
        font-size: 1.4em;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--gt-header-bg);
        border-top: 1px solid var(--gt-border-color);
        padding: 20px;
    }

    .nav-menu.active {
        display: block;
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 15px;
    }

    /* Mobile: Hide nav-menu by default, show hamburger */
    .nav-menu {
        display: none !important;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--gt-header-bg);
        padding: 20px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
        z-index: 999;
        flex-direction: column;
    }

    .nav-menu.active {
        display: flex !important;
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 5px;
        width: 100%;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        display: block;
        padding: 12px 15px;
        border-radius: 4px;
    }

    .nav-menu a:hover {
        background: var(--gt-card-bg);
    }

    /* Reset all fancy menu styles for mobile - clean touch-friendly appearance */
    [class*="menu-style-"] .nav-menu a {
        padding: 12px 15px !important;
        border-radius: 4px !important;
        background: transparent !important;
        border: none !important;
        position: static !important;
    }

    [class*="menu-style-"] .nav-menu a::before,
    [class*="menu-style-"] .nav-menu a::after {
        display: none !important;
    }

    [class*="menu-style-"] .nav-menu a:hover {
        background: var(--gt-card-bg) !important;
        color: var(--gt-menu-hover-color, #ff3850) !important;
    }

    [class*="menu-style-"] .nav-menu .current-menu-item>a {
        background: var(--gt-card-bg) !important;
        color: var(--gt-menu-active-color, #ff3850) !important;
    }

    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        order: 0;
    }

    .breaking-news-bar {
        display: none;
    }

    .site-main {
        margin: 20px auto;
        padding: 0 15px;
    }

    .post-content {
        padding: 20px;
    }

    .entry-title {
        font-size: 1.5em;
    }

    .post-thumbnail {
        height: 250px;
    }

    .review-box {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .pros-cons-grid {
        grid-template-columns: 1fr;
    }

    .author-box {
        flex-direction: column;
        text-align: center;
    }

    .footer-widgets {
        grid-template-columns: 1fr;
    }

    .share-buttons {
        justify-content: center;
    }

    .pagination .page-numbers {
        padding: 8px 12px;
        font-size: 0.9em;
    }
}

/* ===== RESPONSIVE - SMALL MOBILE (max-width: 480px) ===== */
@media (max-width: 480px) {
    body {
        font-size: 15px;
    }

    .entry-meta {
        gap: 10px;
        font-size: 0.8em;
    }

    .entry-title {
        font-size: 1.3em;
    }

    .post-thumbnail {
        height: 200px;
    }

    .widget {
        padding: 15px;
    }

    .error-404 h1 {
        font-size: 5em;
    }
}

/* ===== BREADCRUMB ===== */
.gt-breadcrumb {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    font-size: 0.85em;
    color: var(--gt-text-muted);
}

.gt-breadcrumb__link {
    color: var(--gt-text-muted);
}

.gt-breadcrumb__link:hover {
    color: var(--gt-accent-color);
}

.gt-breadcrumb__link i {
    margin-right: 5px;
}

.gt-breadcrumb__sep {
    margin: 0 10px;
    font-size: 0.7em;
    opacity: 0.5;
}

.gt-breadcrumb__current {
    color: var(--gt-text-color);
    font-weight: 500;
}

/* ===== SOCIAL WIDGET ===== */
.gt-social-widget {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.gt-social-widget__link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--gt-card-bg);
    border: 1px solid var(--gt-border-color);
    border-radius: 50%;
    color: var(--gt-text-color);
    font-size: 1em;
    transition: all 0.3s ease;
}

.gt-social-widget__link:hover {
    background: var(--gt-accent-color);
    border-color: var(--gt-accent-color);
    color: #fff;
    transform: translateY(-2px);
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--gt-footer-bg, #1a1a1a);
    border-top: 1px solid var(--gt-border-color);
    margin-top: 50px;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px;
}

.footer-column {
    color: var(--gt-text-color);
}

.footer-column h4,
.footer-widget h4 {
    font-size: 1.1em;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 12px;
    position: relative;
}

.footer-column h4::after,
.footer-widget h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--gt-accent-color);
}

.footer-widget {
    margin-bottom: 20px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    border-top: 1px solid var(--gt-border-color);
}

/* Footer position classes */
.footer-bottom.social-left {
    flex-direction: row;
}

.footer-bottom.social-right {
    flex-direction: row-reverse;
}

.footer-copyright {
    font-size: 0.9em;
    color: var(--gt-text-muted);
}

.footer-social {
    display: flex;
    gap: 5px;
}

.footer-social__link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--gt-text-color);
    font-size: 0.95em;
    transition: all 0.3s ease;
}

.footer-social__link:hover {
    background: var(--gt-accent-color);
    color: #fff !important;
    transform: translateY(-2px);
}

@media (max-width: 992px) {
    .footer-widgets {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .footer-widgets {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    body {
        background: #fff !important;
        color: #000 !important;
    }

    .site-header,
    .sidebar-area,
    .breaking-news-bar,
    .site-footer,
    .share-buttons,
    .comments-area {
        display: none !important;
    }

    .post-card {
        border: none !important;
        margin: 0 !important;
        box-shadow: none !important;
    }

    .site-main {
        display: block;
    }

    a {
        color: #000 !important;
    }
}

/* ===== POST SUBTITLE ===== */
.entry-subtitle {
    font-size: 1.25em;
    color: var(--gt-text-muted);
    font-weight: 400;
    margin: 0 0 20px;
    padding-bottom: 20px;
    line-height: 1.5;
    font-style: italic;
    opacity: 0.9;
    position: relative;
}

/* Accent line after subtitle */
.entry-subtitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--gt-accent-color);
}

body.gt-light-mode .entry-subtitle {
    color: #555;
}

/* ===== POST SOURCE LINK ===== */
.entry-source {
    margin: 25px 0;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.03);
    border-left: 3px solid var(--gt-accent-color);
    border-radius: 0 8px 8px 0;
    font-style: italic;
}

.entry-source__label {
    color: var(--gt-text-muted);
    margin-right: 5px;
}

.entry-source__link {
    color: var(--gt-accent-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.entry-source__link:hover {
    color: #e02e42;
    text-decoration: underline;
}

.entry-source__link i {
    font-size: 0.8em;
    margin-left: 6px;
    opacity: 0.8;
}

/* Light Mode */
body.gt-light-mode .entry-source {
    background: rgba(0, 0, 0, 0.03);
}

body.gt-light-mode .entry-source__label {
    color: #666;
}

/* When subtitle exists, title should NOT have the line */
.entry-title:has(+ .entry-subtitle) {
    padding-bottom: 0;
}

.entry-title:has(+ .entry-subtitle)::after {
    display: none;
}

/* If no subtitle exists, show line after title */
.entry-header>.entry-title:not(:has(+ .entry-subtitle)) {
    margin-bottom: 20px;
    padding-bottom: 20px;
    position: relative;
}

.entry-header>.entry-title:not(:has(+ .entry-subtitle))::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--gt-accent-color);
}

/* ===== AUTHOR BOX ===== */
.author-box {
    background: var(--gt-card-bg);
    border-radius: 7px;
    padding: 25px;
    margin: 40px 0;
    border: 1px solid var(--gt-border-color);
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

.author-box__header {
    display: none;
    /* Hide separate header, label is now inside content */
}

.author-box__content {
    display: flex;
    gap: 25px;
    align-items: flex-start;
    width: 100%;
}

.author-box__avatar {
    flex-shrink: 0;
}

.author-box__avatar img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--gt-accent-color);
}

.author-box__info {
    flex: 1;
}

.author-box__name {
    font-size: 1.3em;
    font-weight: 700;
    margin: 0 0 10px;
}

.author-box__name a {
    color: var(--gt-text-color);
    transition: color 0.3s ease;
}

.author-box__name a:hover {
    color: var(--gt-accent-color);
}

.author-box__bio {
    color: var(--gt-text-muted);
    font-size: 0.95em;
    line-height: 1.6;
    margin: 0 0 15px;
}

.author-box__social {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.author-box__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: var(--gt-text-muted);
    font-size: 0.9em;
    transition: all 0.3s ease;
}

.author-box__social-link:hover {
    background: var(--gt-accent-color);
    color: #fff;
    transform: translateY(-2px);
}

.author-box__all-posts {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gt-accent-color);
    font-size: 0.9em;
    font-weight: 600;
    transition: all 0.3s ease;
}

.author-box__all-posts:hover {
    color: #fff;
}

.author-box__all-posts i {
    font-size: 0.85em;
    transition: transform 0.3s ease;
}

.author-box__all-posts:hover i {
    transform: translateX(4px);
}

/* Author Box - Light Mode */
body.gt-light-mode .author-box {
    background: #fff;
    border-color: #e0e0e0;
}

body.gt-light-mode .author-box__header {
    border-bottom-color: #e0e0e0;
}

body.gt-light-mode .author-box__name a {
    color: #1a1a1a;
}

body.gt-light-mode .author-box__bio {
    color: #666;
}

body.gt-light-mode .author-box__social-link {
    background: #f5f5f5;
    color: #666;
}

body.gt-light-mode .author-box__social-link:hover {
    background: var(--gt-accent-color);
    color: #fff;
}

body.gt-light-mode .author-box__all-posts:hover {
    color: #e02e42;
}

/* Author Box - Responsive */
@media (max-width: 600px) {
    .author-box__content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .author-box__social {
        justify-content: center;
    }

    .author-box__all-posts {
        justify-content: center;
        width: 100%;
    }
}

/* ===== COOKIE CONSENT BANNER ===== */
.gt-cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--gt-card-bg);
    border-top: 1px solid var(--gt-border-color);
    padding: 20px;
    z-index: 99999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    transition: opacity 0.3s ease;
}

.gt-cookie-consent__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.gt-cookie-consent__content {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.gt-cookie-consent__icon {
    font-size: 2em;
    color: var(--gt-accent-color);
    flex-shrink: 0;
}

.gt-cookie-consent__message {
    margin: 0;
    font-size: 0.95em;
    color: var(--gt-text-color);
    line-height: 1.5;
}

.gt-cookie-consent__privacy {
    color: var(--gt-accent-color);
    text-decoration: underline;
    margin-left: 5px;
}

.gt-cookie-consent__privacy:hover {
    color: #e02e42;
}

.gt-cookie-consent__buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.gt-cookie-consent__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 0.9em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gt-cookie-consent__btn--accept {
    background: var(--gt-accent-color);
    color: #fff;
}

.gt-cookie-consent__btn--accept:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

.gt-cookie-consent__btn--reject {
    background: transparent;
    border: 1px solid var(--gt-border-color);
    color: var(--gt-text-muted);
}

.gt-cookie-consent__btn--reject:hover {
    border-color: var(--gt-accent-color);
    color: var(--gt-accent-color);
}

/* Light Mode */
body.gt-light-mode .gt-cookie-consent {
    background: #fff;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

body.gt-light-mode .gt-cookie-consent__message {
    color: #1a1a1a;
}

body.gt-light-mode .gt-cookie-consent__btn--reject {
    color: #666;
    border-color: #ddd;
}

/* Responsive */
@media (max-width: 768px) {
    .gt-cookie-consent__inner {
        flex-direction: column;
        text-align: center;
    }

    .gt-cookie-consent__content {
        flex-direction: column;
    }

    .gt-cookie-consent__buttons {
        width: 100%;
        justify-content: center;
    }

    /* Footer Bottom Mobile - Left Align */
    .footer-bottom,
    .footer-bottom.social-left,
    .footer-bottom.social-center,
    .footer-bottom.social-right {
        text-align: left !important;
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    .footer-bottom .footer-social,
    .footer-social {
        justify-content: flex-start !important;
        text-align: left !important;
    }

    .footer-bottom .footer-copyright,
    .footer-copyright {
        text-align: left !important;
    }
}

/* ===== SHARE BUTTONS ===== */
.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 25px 0;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 6px;
    font-size: 0.9em;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.share-btn i {
    font-size: 1.1em;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Twitter/X */
.share-btn.twitter {
    background: #000;
    color: #fff;
}

.share-btn.twitter:hover {
    background: #1a1a1a;
    color: #fff;
}

/* Facebook */
.share-btn.facebook {
    background: #1877f2;
    color: #fff;
}

.share-btn.facebook:hover {
    background: #166fe5;
    color: #fff;
}

/* WhatsApp */
.share-btn.whatsapp {
    background: #25d366;
    color: #fff;
}

.share-btn.whatsapp:hover {
    background: #22c55e;
    color: #fff;
}

/* Telegram */
.share-btn.telegram {
    background: #0088cc;
    color: #fff;
}

.share-btn.telegram:hover {
    background: #0077b5;
    color: #fff;
}

/* Reddit */
.share-btn.reddit {
    background: #ff4500;
    color: #fff;
}

.share-btn.reddit:hover {
    background: #e63e00;
    color: #fff;
}

/* Copy Link */
.share-btn.copy-link {
    background: var(--gt-card-bg);
    color: var(--gt-text-color);
    border: 1px solid var(--gt-border-color);
}

.share-btn.copy-link:hover {
    border-color: var(--gt-accent-color);
    color: var(--gt-accent-color);
}

.share-btn.copy-link.copied {
    background: var(--gt-accent-color);
    color: #fff;
    border-color: var(--gt-accent-color);
}

/* Light Mode */
body.gt-light-mode .share-btn.copy-link {
    background: #f5f5f5;
    color: #333;
}

/* Responsive */
@media (max-width: 480px) {
    .share-buttons {
        justify-content: center;
    }

    .share-btn {
        padding: 8px 14px;
        font-size: 0.85em;
    }
}

/* ===== WORDPRESS STANDARD CSS CLASSES ===== */

/* Image captions */
.wp-caption {
    max-width: 100%;
    margin-bottom: 1.5rem;
    background: var(--gt-card-bg);
    border-radius: 8px;
    padding: 0.5rem;
}

.wp-caption img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}

.wp-caption-text {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--gt-text-muted);
    text-align: center;
}

/* Sticky posts */
.sticky {
    position: relative;
}

.sticky .post-card::before {
    content: "\f005";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: var(--gt-accent-color);
    font-size: 1.25rem;
}

/* Gallery captions */
.gallery-caption {
    font-size: 0.875rem;
    color: var(--gt-text-muted);
    text-align: center;
    margin-top: 0.5rem;
}

/* Comment author highlighting */
.bypostauthor {
    position: relative;
}

.bypostauthor>.comment-body {
    border-left: 3px solid var(--gt-accent-color);
    padding-left: 1rem;
}

/* Alignment classes */
.alignright {
    float: right;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.alignleft {
    float: left;
    margin-right: 1.5rem;
    margin-bottom: 1rem;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5rem;
}

/* Page links for multi-page posts */
.page-links {
    margin: 2rem 0;
    padding: 1rem;
    background: var(--gt-card-bg);
    border-radius: 8px;
    text-align: center;
}

.page-links a {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    background: var(--gt-accent-color);
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
}

.page-links a:hover {
    opacity: 0.9;
}

/* ===== POST NAVIGATION (Previous/Next) ===== */
.post-navigation {
    margin: 15px 0;
    padding: 0;
}

.post-navigation .nav-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.post-navigation .nav-previous,
.post-navigation .nav-next {
    background: var(--gt-card-bg);
    border-radius: 7px;
    border: 1px solid var(--gt-border-color);
    overflow: hidden;
    transition: all 0.3s ease;
}

.post-navigation .nav-previous:hover,
.post-navigation .nav-next:hover {
    border-color: var(--gt-accent-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.post-navigation .nav-previous a,
.post-navigation .nav-next a {
    display: flex;
    flex-direction: column;
    padding: 20px;
    color: var(--gt-text-color);
    text-decoration: none;
    height: 100%;
}

.post-navigation .nav-subtitle {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85em;
    color: var(--gt-text-muted);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.post-navigation .nav-subtitle i {
    color: var(--gt-accent-color);
    font-size: 0.9em;
}

.post-navigation .nav-title {
    font-size: 1.1em;
    font-weight: 600;
    color: var(--gt-text-color);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-navigation .nav-previous:hover .nav-title,
.post-navigation .nav-next:hover .nav-title {
    color: var(--gt-accent-color);
}

/* Right align for next post */
.post-navigation .nav-next {
    text-align: right;
}

.post-navigation .nav-next .nav-subtitle {
    justify-content: flex-end;
}

/* Responsive */
@media (max-width: 768px) {
    .post-navigation .nav-links {
        grid-template-columns: 1fr;
    }

    .post-navigation .nav-next {
        text-align: left;
    }

    .post-navigation .nav-next .nav-subtitle {
        justify-content: flex-start;
    }
}

/* ===== BACK TO TOP BUTTON ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gt-accent-color);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    opacity: 0.85;
}

.back-to-top:active {
    opacity: 0.7;
}

/* Light mode adjustment */
body.gt-light-mode .back-to-top {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

body.gt-light-mode .back-to-top:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

/* Mobile positioning */
@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1em;
    }
}

/* ===== SHARP THIN BORDER BUTTON STYLE ===== */
body.button-style-sharp .btn,
body.button-style-sharp .read-more-link,
body.button-style-sharp .wp-block-button__link,
body.button-style-sharp .comment-reply-link,
body.button-style-sharp .comment-form .submit,
body.button-style-sharp .gt-load-more-btn,
body.button-style-sharp input[type="submit"],
body.button-style-sharp button[type="submit"] {
    border-radius: 0 !important;
    border: 1px solid var(--gt-accent-color) !important;
}

/* ===== NEON BUTTON STYLE ===== */
body.gt-button-neon .btn,
body.gt-button-neon .read-more-link,
body.gt-button-neon .wp-block-button__link,
body.gt-button-neon .comment-reply-link,
body.gt-button-neon .comment-form .submit,
body.gt-button-neon .gt-load-more-btn,
body.gt-button-neon input[type="submit"],
body.gt-button-neon button[type="submit"] {
    background: transparent !important;
    border: 2px solid var(--gt-accent-color) !important;
    color: var(--gt-accent-color) !important;
    border-radius: 0 !important;
}

body.gt-button-neon .btn:hover,
body.gt-button-neon .read-more-link:hover,
body.gt-button-neon .wp-block-button__link:hover,
body.gt-button-neon .comment-reply-link:hover,
body.gt-button-neon .comment-form .submit:hover,
body.gt-button-neon .gt-load-more-btn:hover,
body.gt-button-neon input[type="submit"]:hover,
body.gt-button-neon button[type="submit"]:hover {
    background: var(--gt-accent-color) !important;
    color: #fff !important;
}

/* Light Mode: Neon Button fix in post content */
body.gt-light-mode.gt-button-neon .post-content .wp-block-button__link,
body.gt-light-mode.gt-button-neon .entry-content .wp-block-button__link {
    color: var(--gt-accent-color) !important;
}

body.gt-light-mode.gt-button-neon .post-content .wp-block-button__link:hover,
body.gt-light-mode.gt-button-neon .entry-content .wp-block-button__link:hover {
    color: #fff !important;
}