/*!
Theme Name: Kadence Child
Theme URI: https://www.kadencewp.com/kadence-theme/
Template: kadence
Author: Kadence WP
Author URI: https://www.kadencewp.com/
Description: A child theme for the Kadence Theme.
Version: 1.0.0
License: GNU General Public License v3.0 (or later)
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: kadence-child
*/

/* ========================================
   TURKPIDYA DRAMATIC HEADER REDESIGN
   "The Ceremonial Gateway"
   ======================================== */

:root {
    --tp-crimson: #E30A17;
    --tp-gold: #C9A227;
    --tp-charcoal: #1a1a1a;
    --tp-cream: #F9F6EE;
    --tp-transition: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============================================
   1. HEADER - THE CEREMONIAL ENTRANCE
   ============================================ */

/* Force header to be dramatic */
/* ============================================
   1. HEADER - THE CEREMONIAL ENTRANCE
   ============================================ */

/* Force header to be dramatic */
#masthead.custom-turkpidya-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.5s var(--tp-transition);
    padding: 0;
    border-bottom: none;
}

/* Scrolled state (optional, if using JS to add class) */
#masthead.custom-turkpidya-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Golden accent line at bottom */
/* Golden accent line removed per user request */
#masthead.custom-turkpidya-header::after {
    display: none;
}

/* Header inner container */
.custom-turkpidya-header .site-header-inner-wrap {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

/* Header Sections */
.header-left,
.header-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
}

.header-right {
    justify-content: flex-end;
}

.header-center {
    flex: 2;
    display: flex;
    justify-content: center;
}

/* Body offset for fixed header */
body {
    padding-top: 80px;
}


body.admin-bar {
    padding-top: 112px !important;
}

body.admin-bar #masthead,
body.admin-bar .site-header {
    top: 32px !important;
}

@media (max-width: 782px) {

    body.admin-bar #masthead,
    body.admin-bar .site-header {
        top: 46px !important;
    }

    body.admin-bar {
        padding-top: 126px !important;
    }
}

/* ============================================
   2. LOGO - ICONIC PRESENCE
   ============================================ */

.site-branding {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
}

.site-branding img,
.site-branding .custom-logo,
.custom-logo-link img {
    max-height: 50px;
    width: auto;
    transition: all 0.4s var(--tp-transition);
}

.site-branding:hover img {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 12px rgba(227, 10, 23, 0.2));
}

.site-title a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--tp-charcoal);
    text-decoration: none;
    letter-spacing: -0.02em;
}

/* ============================================
   3. NAVIGATION - ELEGANT & COMPACT
   ============================================ */

.header-navigation .menu {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.header-navigation .menu>li {
    margin: 0;
    padding: 0;
    position: relative;
}

.header-navigation .menu>li>a {
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--tp-charcoal);
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

/* Icons injected by JS or manually */
.header-navigation .menu>li>a i {
    margin-right: 6px;
    color: var(--tp-crimson);
    font-size: 0.9em;
    transition: transform 0.3s ease;
}

.header-navigation .menu>li>a:hover i {
    transform: rotate(-10deg) scale(1.1);
}

.header-navigation .menu>li>a:hover {
    background: rgba(255, 255, 255, 0.8);
    color: var(--tp-crimson);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.header-navigation .menu>li.current-menu-item>a {
    color: var(--tp-crimson);
    background: rgba(227, 10, 23, 0.05);
}

/* Dropdown Menus */
.header-navigation .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    padding: 0.75rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(0.95);
    transition: all 0.3s var(--tp-transition);
    z-index: 1000;
    margin-top: 5px;
}

.header-navigation .menu>li:hover>.sub-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) scale(1);
}

.header-navigation .sub-menu li a {
    display: block;
    padding: 0.6rem 1rem;
    color: var(--tp-charcoal);
    font-size: 0.9rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.header-navigation .sub-menu li a:hover {
    background: var(--tp-cream);
    color: var(--tp-crimson);
    transform: translateX(4px);
}

/* ============================================
   4. HEADER ACTIONS (Search, Lang, Toggle)
   ============================================ */

.header-search-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: transparent;
    color: var(--tp-charcoal);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.header-search-toggle:hover {
    background: var(--tp-crimson);
    border-color: var(--tp-crimson);
    color: white;
    transform: rotate(15deg);
}

/* Language Switcher */
.header-lang-switcher {
    position: relative;
    margin-left: 0.5rem;
}

.header-lang-switcher .current-lang {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(135deg, var(--tp-crimson) 0%, #c4090f 100%);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(227, 10, 23, 0.3);
}

.header-lang-switcher .current-lang:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(227, 10, 23, 0.4);
}

.header-lang-switcher .lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    min-width: 180px;
    border-radius: 12px;
    padding: 0.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s var(--tp-transition);
    list-style: none;
    margin-top: 10px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2px;
}

.header-lang-switcher:hover .lang-dropdown {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0);
}

.header-lang-switcher .lang-dropdown li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.6rem 1rem;
    color: var(--tp-charcoal);
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.header-lang-switcher .lang-dropdown li a:hover {
    background: var(--tp-cream);
    color: var(--tp-crimson);
}

/* ============================================
   5. MOBILE - FULL SCREEN DRAWER
   ============================================ */

/* Toggle Button */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 10;
}

.mobile-toggle .bar {
    width: 24px;
    height: 2px;
    background: var(--tp-charcoal);
    transition: all 0.3s ease;
}

.mobile-toggle:hover .bar {
    background: var(--tp-crimson);
}

/* Mobile Drawer Container */
#mobile-drawer {
    display: none;
    visibility: hidden;
    opacity: 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
    z-index: 99999;
    transform: translateY(-100%);
    transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.3s ease, visibility 0s linear 0s;
    display: flex;
    flex-direction: column;
}

#mobile-drawer.is-open {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: translateY(0);
}

/* Drawer Header */
.drawer-header {
    padding: 20px;
    display: flex;
    justify-content: flex-end;
}

.drawer-close {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.drawer-close:hover {
    background: var(--tp-crimson);
    border-color: var(--tp-crimson);
    transform: rotate(90deg);
}

/* Drawer Content */
.drawer-content {
    flex: 1;
    overflow-y: auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Center items */
}

/* Mobile Search */
.mobile-search-container {
    width: 100%;
    max-width: 400px;
    margin-bottom: 2rem;
}

.mobile-search-container .search-form {
    position: relative;
    display: flex;
}

.mobile-search-container .search-field {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 12px 20px;
    border-radius: 30px;
    backdrop-filter: blur(5px);
}

.mobile-search-container .search-submit {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: white;
    padding: 10px;
    cursor: pointer;
}

/* Mobile Nav */
.mobile-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.mobile-navigation ul li {
    margin: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

#mobile-drawer.is-open .mobile-navigation ul li {
    opacity: 1 !important;
    transform: translateY(0);
}

/* Staggered animation delays */
#mobile-drawer.is-open .mobile-navigation ul li:nth-child(1) {
    transition-delay: 0.1s;
}

#mobile-drawer.is-open .mobile-navigation ul li:nth-child(2) {
    transition-delay: 0.15s;
}

#mobile-drawer.is-open .mobile-navigation ul li:nth-child(3) {
    transition-delay: 0.2s;
}

#mobile-drawer.is-open .mobile-navigation ul li:nth-child(4) {
    transition-delay: 0.25s;
}

#mobile-drawer.is-open .mobile-navigation ul li:nth-child(5) {
    transition-delay: 0.3s;
}

#mobile-drawer.is-open .mobile-navigation ul li:nth-child(6) {
    transition-delay: 0.35s;
}

.mobile-navigation ul li a {
    display: block;
    font-size: 1.8rem;
    color: white;
    text-decoration: none;
    padding: 10px 0;
    font-weight: 600;
    transition: color 0.3s;
}

.mobile-navigation ul li a:hover {
    color: var(--tp-gold);
}

/* Mobile Icons (injected) */
.mobile-navigation ul li a i {
    margin-right: 10px;
    color: var(--tp-crimson);
    font-size: 0.8em;
}

/* Mobile Languages */
.mobile-languages {
    margin-top: 3rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    width: 100%;
}

.mobile-languages h4, .mobile-languages-title {
    color: var(--tp-gold);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.mobile-languages ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    list-style: none;
    padding: 0;
}

.mobile-languages ul li a {
    display: inline-block;
    padding: 6px 14px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s;
}

.mobile-languages ul li a:hover {
    background: var(--tp-gold);
    color: #1a1a1a;
    border-color: var(--tp-gold);
}

/* Hide duplicate language items from the WP Menu inside mobile drawer */
.mobile-navigation .menu-item-language,
.mobile-navigation .pll-parent-menu-item,
.drawer-navigation .menu-item-language,
.drawer-navigation .pll-parent-menu-item {
    display: none !important;
}

/* ============================================
   6. SEARCH OVERLAY - IMMERSIVE
   ============================================ */

#search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.98);
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

#search-overlay.is-open {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.search-overlay-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    border: none;
    background: transparent;
    font-size: 2rem;
    cursor: pointer;
    color: var(--tp-charcoal);
    transition: color 0.3s;
}

.search-overlay-close:hover {
    color: var(--tp-crimson);
}

.search-overlay-content {
    width: 100%;
    max-width: 800px;
    padding: 2rem;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

#search-overlay.is-open .search-overlay-content {
    transform: translateY(0);
}

.big-search input.search-field {
    width: 100%;
    border: none;
    border-bottom: 3px solid var(--tp-charcoal);
    font-size: 3rem;
    font-weight: 700;
    background: transparent;
    padding: 1rem 0;
    color: var(--tp-charcoal);
    outline: none;
}

.big-search input.search-field::placeholder {
    color: rgba(0, 0, 0, 0.2);
}

.search-helper-text {
    margin-top: 1rem;
    color: rgba(0, 0, 0, 0.5);
    font-size: 1rem;
    font-weight: 500;
}

/* ============================================
   7. RTL SUPPORT
   ============================================ */
[dir="rtl"] .header-right {
    justify-content: flex-start;
}

[dir="rtl"] .header-navigation .menu>li>a i {
    margin-right: 0;
    margin-left: 6px;
}

[dir="rtl"] .mobile-search-container .search-submit {
    right: auto;
    left: 5px;
}

/* ============================================
   8. RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
    .desktop-only {
        display: none !important;
    }

    .mobile-toggle {
        display: flex;
    }

    .custom-turkpidya-header .site-header-inner-wrap {
        padding: 0.5rem 1.5rem;
    }
}


/* ============================================
   9. SMOOTH SCROLL BEHAVIOR
   ============================================ */

html {
    scroll-behavior: smooth;
}

/* Body scroll lock when menu open */
body.menu-open,
body.mobile-toggled {
    overflow: hidden !important;
}


/* Legacy header styles removed to prevent conflicts with new Custom Header */


/* ============================================
   TURKPIDYA FOOTER - OTTOMAN ELEGANCE
   ============================================ */

/* Main Footer Container */
body .site-footer,
body footer.site-footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%) !important;
    position: relative !important;
    overflow: hidden !important;
    padding: 0 !important;
    margin-top: 60px !important;
}

/* Ottoman Geometric Pattern Overlay */
body .site-footer::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C9A227' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") !important;
    pointer-events: none !important;
    z-index: 0 !important;
}

/* Top Gold Accent Line */
body .site-footer::after {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 3px !important;
    background: linear-gradient(90deg, transparent 0%, #C9A227 20%, #E30A17 50%, #C9A227 80%, transparent 100%) !important;
    z-index: 10 !important;
}

/* Footer Inner Container */
body .site-footer-inner-wrap,
body .site-footer .site-footer-wrap {
    position: relative !important;
    z-index: 1 !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 60px 30px 30px !important;
}

/* Footer Widget Area */
body .footer-widget-area {
    display: grid !important;
    grid-template-columns: 2fr 1fr 1fr 1.5fr !important;
    gap: 40px !important;
    margin-bottom: 40px !important;
}

@media (max-width: 991px) {
    body .footer-widget-area {
        grid-template-columns: 1fr 1fr !important;
    }
}

@media (max-width: 600px) {
    body .footer-widget-area {
        grid-template-columns: 1fr !important;
        text-align: center !important;
    }
}

/* Footer Headings */
body .site-footer h3,
body .site-footer h4,
body .site-footer .widget-title,
body .site-footer .footer-widget-title {
    color: #C9A227 !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.15em !important;
    margin-bottom: 1.5rem !important;
    padding-bottom: 0.75rem !important;
    border-bottom: 2px solid rgba(201, 162, 39, 0.3) !important;
    position: relative !important;
}

body .site-footer .widget-title::after {
    content: '' !important;
    position: absolute !important;
    bottom: -2px !important;
    left: 0 !important;
    width: 50px !important;
    height: 2px !important;
    background: #E30A17 !important;
}

@media (max-width: 600px) {
    body .site-footer .widget-title::after {
        left: 50% !important;
        transform: translateX(-50%) !important;
    }
}

/* Footer Text */
body .site-footer,
body .site-footer p,
body .site-footer .textwidget {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 0.95rem !important;
    line-height: 1.8 !important;
}

/* Footer Links */
body .site-footer a,
body .site-footer .menu a,
body .site-footer .widget a {
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    display: inline-block !important;
}

body .site-footer a:hover,
body .site-footer .menu a:hover {
    color: #C9A227 !important;
    transform: translateX(5px) !important;
}

[dir="rtl"] body .site-footer a:hover {
    transform: translateX(-5px) !important;
}

/* Footer Menu Styling */
body .site-footer .menu,
body .site-footer .footer-navigation ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

body .site-footer .menu li,
body .site-footer .footer-navigation li {
    margin-bottom: 0.75rem !important;
}

body .site-footer .menu li a::before {
    content: '›' !important;
    margin-right: 8px !important;
    color: #E30A17 !important;
    font-weight: bold !important;
    transition: margin 0.3s ease !important;
}

[dir="rtl"] body .site-footer .menu li a::before {
    content: '‹' !important;
    margin-right: 0 !important;
    margin-left: 8px !important;
}

body .site-footer .menu li a:hover::before {
    margin-right: 12px !important;
}

[dir="rtl"] body .site-footer .menu li a:hover::before {
    margin-right: 0 !important;
    margin-left: 12px !important;
}

/* Social Media Links Container */
body .site-footer .social-links,
body .site-footer .footer-social {
    display: flex !important;
    gap: 15px !important;
    flex-wrap: wrap !important;
}

@media (max-width: 600px) {

    body .site-footer .social-links,
    body .site-footer .footer-social {
        justify-content: center !important;
    }
}

/* Social Media Buttons */
body .site-footer .social-links a,
body .site-footer .menu a[href*="facebook"],
body .site-footer .menu a[href*="twitter"],
body .site-footer .menu a[href*="instagram"],
body .site-footer .menu a[href*="youtube"] {
    width: 45px !important;
    height: 45px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(201, 162, 39, 0.3) !important;
    border-radius: 50% !important;
    font-size: 1.2rem !important;
    transition: all 0.3s ease !important;
}

body .site-footer .menu a[href*="facebook"]:hover,
body .site-footer .menu a[href*="twitter"]:hover {
    background: #C9A227 !important;
    color: #1a1a1a !important;
    transform: translateY(-5px) scale(1.1) !important;
    border-color: #C9A227 !important;
}

/* Hide text for social links, show icon */
body .site-footer .menu a[href*="facebook"],
body .site-footer .menu a[href*="twitter"] {
    font-size: 0 !important;
}

body .site-footer .menu a[href*="facebook"]::before {
    content: '\f39e' !important;
    font-family: 'Font Awesome 6 Brands' !important;
    font-size: 1.2rem !important;
    margin: 0 !important;
}

body .site-footer .menu a[href*="twitter"]::before {
    content: '\e61b' !important;
    font-family: 'Font Awesome 6 Brands' !important;
    font-size: 1.2rem !important;
    margin: 0 !important;
}

/* Copyright Bar */
body .site-footer .site-info,
body .site-footer .footer-bottom,
body .site-footer .site-footer-bottom-wrap {
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding-top: 25px !important;
    margin-top: 20px !important;
    text-align: center !important;
}

body .site-footer .site-info p,
body .site-footer .footer-copyright {
    color: rgba(255, 255, 255, 0.5) !important;
    font-size: 0.85rem !important;
    margin: 0 !important;
}

/* Footer Logo Area */
body .site-footer .footer-logo img,
body .site-footer .custom-logo {
    max-width: 150px !important;
    height: auto !important;
    margin-bottom: 1rem !important;
    /* filter removed */
}

/* Newsletter Form Styling (if present) */
body .site-footer input[type="email"],
body .site-footer .newsletter-input {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(201, 162, 39, 0.3) !important;
    color: white !important;
    padding: 12px 20px !important;
    border-radius: 30px !important;
    width: 100% !important;
    margin-bottom: 10px !important;
}

body .site-footer input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
}

body .site-footer input[type="submit"],
body .site-footer .newsletter-btn {
    background: linear-gradient(135deg, #E30A17 0%, #c4090f 100%) !important;
    color: white !important;
    border: none !important;
    padding: 12px 30px !important;
    border-radius: 30px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    width: 100% !important;
}

body .site-footer input[type="submit"]:hover {
    background: linear-gradient(135deg, #C9A227 0%, #b8922a 100%) !important;
    transform: translateY(-2px) !important;
}

/* Language Indicator in Footer */
body .site-footer .current-lang {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: rgba(227, 10, 23, 0.2) !important;
    padding: 8px 16px !important;
    border-radius: 20px !important;
    color: #E30A17 !important;
    font-weight: 600 !important;
    margin-top: 1rem !important;
}

/* RTL Support */
[dir="rtl"] body .site-footer {
    text-align: right !important;
}

[dir="rtl"] body .site-footer .social-links {
    flex-direction: row-reverse !important;
}

/* Decorative Crescent Moon */
body .site-footer .footer-decoration {
    position: absolute !important;
    top: 50px !important;
    right: 50px !important;
    width: 80px !important;
    height: 80px !important;
    opacity: 0.05 !important;
    background: #C9A227 !important;
    border-radius: 50% !important;
    box-shadow: 20px 0 0 0 #1a1a1a !important;
}

[dir="rtl"] body .site-footer .footer-decoration {
    right: auto !important;
    left: 50px !important;
    box-shadow: -20px 0 0 0 #1a1a1a !important;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    body .site-footer-inner-wrap {
        padding: 40px 20px 20px !important;
    }

    body .site-footer h3,
    body .site-footer .widget-title {
        font-size: 1rem !important;
    }

    body .site-footer .footer-decoration {
        display: none !important;
    }
}

/* Kadence-specific overrides */
body .site-footer .footer-widget-area-inner,
body .site-footer .site-footer-upper-wrap,
body .site-footer .site-footer-row-container-inner {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 60px 30px 20px !important;
}

body .site-footer .footer-widget-area .widget {
    margin-bottom: 0 !important;
}

body .site-footer .site-footer-row {
    background: transparent !important;
}


/* ============================================
   FOOTER ENHANCEMENTS - CULTURAL DISTINCTIVENESS
   ============================================ */

/* Stronger Ottoman Pattern */
.turkpidya-footer-upper::after {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background-image: url("data:image/svg+xml,%3Csvg width=80 height=80 viewBox=0 0 80 80 xmlns=http://www.w3.org/2000/svg%3E%3Cg fill=%23C9A227 fill-opacity=0.08%3E%3Cpath d=M40 0l6.18 18.82L65.02 14.98l-3.84 18.84L80 40l-18.82 6.18 3.84 18.84-18.84-3.84L40 80l-6.18-18.82-18.84 3.84 3.84-18.84L0 40l18.82-6.18-3.84-18.84 18.84 3.84z/%3E%3C/g%3E%3C/svg%3E") !important;
    pointer-events: none !important;
    z-index: 0 !important;
    animation: patternFloat 60s linear infinite !important;
}

@keyframes patternFloat {
    from {
        background-position: 0 0;
    }

    to {
        background-position: 80px 80px;
    }
}

/* Enhanced Social Buttons with Tulip Glow */
.footer-social-links a {
    position: relative !important;
    overflow: visible !important;
}

.footer-social-links a::before {
    content: "" !important;
    position: absolute !important;
    inset: -4px !important;
    background: radial-gradient(circle, rgba(201, 162, 39, 0.4) 0%, transparent 70%) !important;
    border-radius: 50% !important;
    opacity: 0 !important;
    transition: opacity 0.4s ease, transform 0.4s ease !important;
    transform: scale(0.8) !important;
    z-index: -1 !important;
}

.footer-social-links a:hover::before {
    opacity: 1 !important;
    transform: scale(1.3) !important;
}

.footer-social-links a:hover {
    transform: translateY(-5px) rotate(5deg) !important;
    box-shadow: 0 10px 30px rgba(201, 162, 39, 0.3) !important;
}

/* Animated Language Badge with Greeting Cycle */
.footer-lang-badge {
    position: relative !important;
    overflow: hidden !important;
}

.footer-lang-badge .greeting-text {
    display: inline-block !important;
    min-width: 80px !important;
    animation: greetingCycle 12s infinite !important;
}

@keyframes greetingCycle {

    0%,
    16% {
        opacity: 1 !important;
    }

    20%,
    36% {
        opacity: 0;
    }

    40%,
    56% {
        opacity: 1 !important;
    }

    60%,
    76% {
        opacity: 0;
    }

    80%,
    100% {
        opacity: 1 !important;
    }
}

/* Ottoman-Inspired Section Dividers */
.footer-col h4 {
    position: relative !important;
}

.footer-col h4::before {
    content: "◆" !important;
    position: absolute !important;
    left: -20px !important;
    color: #E30A17 !important;
    font-size: 0.7rem !important;
    opacity: 0.7 !important;
}

@media (max-width: 600px) {
    .footer-col h4::before {
        display: none !important;
    }
}

/* Link Hover with Shimmer Effect */
.footer-col ul li a {
    position: relative !important;
    overflow: hidden !important;
}

.footer-col ul li a::after {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(201, 162, 39, 0.2), transparent) !important;
    transition: left 0.5s ease !important;
}

.footer-col ul li a:hover::after {
    left: 100% !important;
}

/* Crescent Moon Decoration */
.turkpidya-footer-upper .footer-container::after {
    content: "" !important;
    position: absolute !important;
    top: 30px !important;
    right: 30px !important;
    width: 60px !important;
    height: 60px !important;
    background: #C9A227 !important;
    border-radius: 50% !important;
    box-shadow: 15px 0 0 0 #1a1a1a !important;
    opacity: 0.15 !important;
}

[dir="rtl"] .turkpidya-footer-upper .footer-container::after {
    right: auto !important;
    left: 30px !important;
    box-shadow: -15px 0 0 0 #1a1a1a !important;
}

@media (max-width: 768px) {
    .turkpidya-footer-upper .footer-container::after {
        display: none !important;
    }
}

/* Improved Logo Display - Not Fully Inverted */
.footer-logo img {
    /* filter removed */
    transition: transform 0.3s ease !important;
}

.footer-logo:hover img {
    transform: scale(1.05) !important;
}


/* ============================================
   MOBILE FOOTER FIXES
   ============================================ */

@media (max-width: 768px) {
    .turkpidya-footer-upper {
        padding: 40px 15px 30px !important;
    }

    .turkpidya-footer-upper .footer-container {
        display: flex !important;
        flex-direction: column !important;
        gap: 30px !important;
        text-align: center !important;
    }

    .turkpidya-footer-upper .footer-col {
        width: 100% !important;
        text-align: center !important;
    }

    .turkpidya-footer-upper .footer-logo {
        display: flex !important;
        justify-content: center !important;
    }

    .turkpidya-footer-upper .footer-logo img {
        max-width: 120px !important;
        height: auto !important;
    }

    .turkpidya-footer-upper .footer-tagline {
        text-align: center !important;
    }

    .turkpidya-footer-upper .footer-social-links {
        justify-content: center !important;
    }

    .turkpidya-footer-upper .footer-col h4 {
        text-align: center !important;
    }

    .turkpidya-footer-upper .footer-col h4::before {
        display: none !important;
    }

    .turkpidya-footer-upper .footer-col h4::after {
        left: 50% !important;
        transform: translateX(-50%) !important;
    }

    .turkpidya-footer-upper .footer-col ul {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    .turkpidya-footer-upper .footer-col ul li a {
        justify-content: center !important;
    }

    .turkpidya-footer-upper .footer-lang-badge {
        margin: 1.5rem auto 0 !important;
    }
}


/* ============================================
   HIDE KADENCE DEFAULT FOOTER
   (User requested removal)
   ============================================ */

.site-footer,
.site-footer-wrap,
footer.site-footer,
#colophon,
.footer-widget-area,
.site-footer-inner-wrap,
.site-bottom-footer-wrap,
.site-info {
    display: none !important;
}
/* ===== HEADER CLEANUP ===== */
/* Hide Real-time Food Price Tracking */
.menu-item a[href*="market.price"],
.menu-item a[href*="food-price"] { display: none !important; }

/* Hide Privacy Policy (footer only) */
#masthead .menu-item a[href*="privacy-policy"],
#masthead .menu-item a[href*="privacy"] { display: none !important; }

/* Hide duplicate English text (keep dropdown only) */
.header-navigation .menu-item > a[href="#pll_switcher"] { display: none !important; }

/* Larger menu font on desktop */
.header-navigation .menu > li > a {
    font-size: 16px !important;
}

/* Hide Privacy Policy and Food Tracking in mobile menu too */
#mobile-drawer .menu-item a[href*="privacy-policy"],
#mobile-drawer .menu-item a[href*="privacy"],
#mobile-drawer .menu-item a[href*="market.price"],
#mobile-drawer .menu-item a[href*="food-price"],
.mobile-navigation .menu-item a[href*="privacy-policy"],
.mobile-navigation .menu-item a[href*="privacy"],
.mobile-navigation .menu-item a[href*="market.price"],
.mobile-navigation .menu-item a[href*="food-price"] {
    display: none !important;
}

/* STRONGER selectors - hide Privacy Policy & Food Tracking everywhere */
.menu-item a[href*="privacy"],
.menu-item a[href*="سياسة"],
.menu-item a[href*="datenschutz"],
.menu-item a[href*="market.price"],
.menu-item a[href*="food"],
li.menu-item-1229718,
li.menu-item-1237133,
[class*="menu-item"] a[href*="privacy-policy"] {
    display: none !important;
}

/* Hide Kazakhstan and Azerbaijan from Arabic menu */
.menu-item a[href*="kazakh"],
.menu-item a[href*="azerbai"],
.menu-item a[href*="كازاخستان"],
.menu-item a[href*="أذربيجان"] {
    display: none !important;
}

/* Hide Privacy Policy - all languages (URL encoded) */
a[href*="%d8%b3%d9%8a%d8%a7%d8%b3%d8%a9-%d8%a7%d9%84%d8%ae%d8%b5%d9%88%d8%b5%d9%8a%d8%a9"],
a[href*="politica-de-privacidade"],
a[href*="politique-de-confidentialite"],
a[href*="informativa-sulla-privacy"],
a[href*="politica-de-privacidad"] {
    display: none !important;
}

/* Hide Kazakhstan & Azerbaijan from Arabic menu */
a[href*="%d9%83%d8%a7%d8%b2%d8%a7%d8%ae%d8%b3%d8%aa%d8%a7%d9%86"],
a[href*="%d8%a3%d8%b0%d8%b1%d8%a8%d9%8a%d8%ac%d8%a7%d9%86"] {
    display: none !important;
}

/* ============================================
   MULTILINGUAL TYPOGRAPHY
   Language-Specific Font Styling
   ============================================ */

/* -------------------- */
/* ARABIC SCRIPT (Arabic, Persian, Kurdish) */
/* -------------------- */
:lang(ar),
:lang(fa),
:lang(ckb),
.lang-ar,
.lang-fa,
.lang-ckb {
    font-family: 'Noto Naskh Arabic', 'IBM Plex Sans Arabic', 'Arial', serif !important;
    line-height: 1.9 !important;
}

:lang(ar) body,
:lang(fa) body,
:lang(ckb) body,
.lang-ar body,
.lang-fa body,
.lang-ckb body {
    font-size: 112% !important;
}

:lang(ar) h1, :lang(ar) h2, :lang(ar) h3, :lang(ar) h4,
:lang(fa) h1, :lang(fa) h2, :lang(fa) h3, :lang(fa) h4,
:lang(ckb) h1, :lang(ckb) h2, :lang(ckb) h3, :lang(ckb) h4,
.lang-ar h1, .lang-ar h2, .lang-ar h3, .lang-ar h4,
.lang-fa h1, .lang-fa h2, .lang-fa h3, .lang-fa h4,
.lang-ckb h1, .lang-ckb h2, .lang-ckb h3, .lang-ckb h4 {
    font-family: 'Amiri', 'Noto Naskh Arabic', serif !important;
    font-weight: 700 !important;
}

/* Article content for Arabic script */
:lang(ar) .entry-content,
:lang(fa) .entry-content,
:lang(ckb) .entry-content,
.lang-ar .entry-content,
.lang-fa .entry-content,
.lang-ckb .entry-content {
    font-family: 'Noto Naskh Arabic', serif !important;
    line-height: 2 !important;
}

/* -------------------- */
/* HEBREW */
/* -------------------- */
:lang(he),
:lang(he-IL),
.lang-he {
    font-family: 'Noto Sans Hebrew', 'Arial Hebrew', sans-serif !important;
    line-height: 1.65 !important;
}

:lang(he) h1, :lang(he) h2, :lang(he) h3, :lang(he) h4,
:lang(he-IL) h1, :lang(he-IL) h2, :lang(he-IL) h3, :lang(he-IL) h4,
.lang-he h1, .lang-he h2, .lang-he h3, .lang-he h4 {
    font-family: 'Frank Ruhl Libre', 'Noto Serif Hebrew', serif !important;
    font-weight: 700 !important;
}

/* -------------------- */
/* GREEK */
/* -------------------- */
:lang(el),
.lang-el {
    font-family: 'Noto Sans Greek', 'Manrope', sans-serif !important;
    line-height: 1.6 !important;
}

:lang(el) h1, :lang(el) h2, :lang(el) h3, :lang(el) h4,
.lang-el h1, .lang-el h2, .lang-el h3, .lang-el h4 {
    font-family: 'GFS Didot', 'Noto Serif Greek', 'Playfair Display', serif !important;
}

/* -------------------- */
/* CYRILLIC (Russian, Bulgarian, Serbian) */
/* -------------------- */
:lang(ru),
:lang(bg),
:lang(sr),
.lang-ru,
.lang-bg,
.lang-sr {
    font-family: 'Manrope', 'IBM Plex Sans', sans-serif !important;
    line-height: 1.55 !important;
}

:lang(ru) h1, :lang(ru) h2, :lang(ru) h3, :lang(ru) h4,
:lang(bg) h1, :lang(bg) h2, :lang(bg) h3, :lang(bg) h4,
:lang(sr) h1, :lang(sr) h2, :lang(sr) h3, :lang(sr) h4,
.lang-ru h1, .lang-ru h2, .lang-ru h3, .lang-ru h4,
.lang-bg h1, .lang-bg h2, .lang-bg h3, .lang-bg h4,
.lang-sr h1, .lang-sr h2, .lang-sr h3, .lang-sr h4 {
    font-family: 'Playfair Display', 'Cormorant Garamond', serif !important;
}

/* Serbian-specific letterforms */
:lang(sr),
.lang-sr {
    font-language-override: "SRB";
}

/* -------------------- */
/* JAPANESE */
/* -------------------- */
:lang(ja),
.lang-ja {
    font-family: 'Noto Sans JP', 'Hiragino Sans', 'Yu Gothic', sans-serif !important;
    line-height: 1.75 !important;
    letter-spacing: 0.03em !important;
}

:lang(ja) h1, :lang(ja) h2, :lang(ja) h3, :lang(ja) h4,
.lang-ja h1, .lang-ja h2, .lang-ja h3, .lang-ja h4 {
    font-family: 'Shippori Mincho', 'Noto Serif JP', serif !important;
    letter-spacing: 0.08em !important;
}

/* -------------------- */
/* KOREAN */
/* -------------------- */
:lang(ko),
:lang(ko-KR),
.lang-ko {
    font-family: 'Noto Sans KR', 'Malgun Gothic', sans-serif !important;
    line-height: 1.7 !important;
    word-break: keep-all !important;
}

:lang(ko) h1, :lang(ko) h2, :lang(ko) h3, :lang(ko) h4,
:lang(ko-KR) h1, :lang(ko-KR) h2, :lang(ko-KR) h3, :lang(ko-KR) h4,
.lang-ko h1, .lang-ko h2, .lang-ko h3, .lang-ko h4 {
    font-family: 'Nanum Myeongjo', 'Noto Serif KR', serif !important;
}

/* -------------------- */
/* CHINESE (Simplified) */
/* -------------------- */
:lang(zh),
:lang(zh-CN),
:lang(zh-hans),
.lang-zh,
.lang-zh-hans {
    font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif !important;
    line-height: 1.75 !important;
}

:lang(zh) h1, :lang(zh) h2, :lang(zh) h3, :lang(zh) h4,
:lang(zh-CN) h1, :lang(zh-CN) h2, :lang(zh-CN) h3, :lang(zh-CN) h4,
:lang(zh-hans) h1, :lang(zh-hans) h2, :lang(zh-hans) h3, :lang(zh-hans) h4,
.lang-zh h1, .lang-zh h2, .lang-zh h3, .lang-zh h4,
.lang-zh-hans h1, .lang-zh-hans h2, .lang-zh-hans h3, .lang-zh-hans h4 {
    font-family: 'Noto Serif SC', 'Noto Sans SC', serif !important;
}

/* -------------------- */
/* NAVIGATION & UI ELEMENTS */
/* Apply fonts to menus and buttons */
/* -------------------- */
:lang(ar) .header-navigation,
:lang(fa) .header-navigation,
:lang(he) .header-navigation {
    font-family: inherit !important;
}

/* Footer language-specific adjustments */
:lang(ar) .turkpidya-footer-upper,
:lang(fa) .turkpidya-footer-upper,
:lang(he) .turkpidya-footer-upper {
    font-family: inherit !important;
}

/* Ensure form inputs also use correct fonts */
:lang(ar) input, :lang(ar) textarea, :lang(ar) select,
:lang(fa) input, :lang(fa) textarea, :lang(fa) select,
:lang(he) input, :lang(he) textarea, :lang(he) select,
:lang(ja) input, :lang(ja) textarea, :lang(ja) select,
:lang(ko) input, :lang(ko) textarea, :lang(ko) select,
:lang(zh) input, :lang(zh) textarea, :lang(zh) select {
    font-family: inherit !important;
}

/* ============================================
   FONT AWESOME FIX
   Preserve Font Awesome icons on all languages
   ============================================ */
.fa,
.fas,
.far,
.fab,
.fal,
.fad,
.fa-solid,
.fa-regular,
.fa-brands,
.fa-light,
.fa-duotone,
[class*="fa-"]:not(body):not(html) {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands", "Font Awesome 6 Pro", "FontAwesome" !important;
}

/* Ensure brands icons use the correct font */
.fa-brands,
.fab {
    font-family: "Font Awesome 6 Brands" !important;
}

/* Solid icons */
.fa-solid,
.fas {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}

/* Regular icons */
.fa-regular,
.far {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 400 !important;
}

/* ============================================
   ABOUT PAGE - STORYTELLING REDESIGN
   "The Genesis of Turkpidya"
   ============================================ */

/* ----- GOLDEN OUTLINE TEXT ----- */
.tp-gold-outline {
    -webkit-text-stroke: 2px var(--tp-gold, #C9A227);
    -webkit-text-fill-color: transparent;
    color: transparent;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.tp-gold-outline-large {
    -webkit-text-stroke: 3px var(--tp-gold, #C9A227);
    -webkit-text-fill-color: transparent;
    color: transparent;
    font-size: clamp(80px, 15vw, 180px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
}

/* Solid gold fill on hover/scroll */
.tp-gold-outline.filled,
.tp-gold-outline-large.filled {
    -webkit-text-fill-color: var(--tp-gold, #C9A227);
    color: var(--tp-gold, #C9A227);
}

/* ----- DARK SECTIONS ----- */
.tp-dark-section {
    background-color: var(--tp-charcoal, #1a1a1a) !important;
    color: #ffffff !important;
}

.tp-dark-warm {
    background-color: #2a2520 !important;
    color: #ffffff !important;
}

.tp-dark-navy {
    background-color: #0a0a1a !important;
    color: #ffffff !important;
}

.tp-burgundy-gradient {
    background: linear-gradient(135deg, #4a1c1c 0%, #1a0a0a 100%) !important;
    color: #ffffff !important;
}

/* ----- RED SUBTITLE STYLE ----- */
.tp-red-subtitle {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--tp-crimson, #E30A17);
    margin-bottom: 1rem;
}

/* ----- CHAPTER NUMBERING (01, 02, 03) ----- */
.tp-chapter-number {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--tp-gold, #C9A227);
    opacity: 0.7;
    margin-bottom: 0.5rem;
}

/* ----- LARGE STAT NUMBERS ----- */
.tp-stat-number {
    font-size: clamp(80px, 18vw, 200px);
    font-weight: 800;
    line-height: 1;
    -webkit-text-stroke: 2px var(--tp-gold, #C9A227);
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.tp-stat-label {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #ffffff;
    margin-top: 0.5rem;
}

.tp-stat-description {
    font-size: 16px;
    color: #888888;
    font-style: italic;
    max-width: 280px;
    margin-top: 0.5rem;
}

/* ----- WATERMARK YEAR BACKGROUND ----- */
.tp-year-watermark {
    position: absolute;
    font-size: clamp(150px, 30vw, 400px);
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    z-index: 0;
    pointer-events: none;
    line-height: 1;
}

/* ----- QUOTE STYLING ----- */
.tp-quote {
    font-size: clamp(24px, 4vw, 36px);
    font-style: italic;
    font-family: Playfair Display, Georgia, serif;
    color: #ffffff;
    line-height: 1.5;
    max-width: 800px;
    margin: 0 auto;
}

.tp-quote::before {
    content: open-quote;
    display: block;
    font-size: 80px;
    color: var(--tp-gold, #C9A227);
    opacity: 0.5;
    line-height: 0.5;
    margin-bottom: 1rem;
}

/* ----- FOUNDER NAME ----- */
.tp-founder-name {
    font-size: clamp(36px, 6vw, 72px);
    font-weight: 700;
    color: var(--tp-gold, #C9A227);
    letter-spacing: 0.05em;
}

.tp-founder-title {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.5rem;
}

/* ----- LANGUAGE NATIVE SCRIPTS ----- */
.tp-language-cascade {
    font-size: clamp(18px, 3vw, 28px);
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.05em;
}

.tp-language-cascade strong {
    color: var(--tp-gold, #C9A227);
}

/* ----- PARALLAX CONTAINER ----- */
.tp-parallax-container {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

.tp-parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background-size: cover;
    background-position: center;
    z-index: 0;
    opacity: 0.3;
}

.tp-parallax-content {
    position: relative;
    z-index: 1;
}

/* ----- TIMELINE CHAPTER CARDS ----- */
.tp-timeline-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(201, 162, 39, 0.2);
    border-radius: 8px;
    padding: 2.5rem;
    transition: all 0.4s ease;
}

.tp-timeline-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(201, 162, 39, 0.4);
    transform: translateY(-5px);
}

.tp-timeline-card .tp-chapter-number {
    font-size: 48px;
    font-weight: 800;
    -webkit-text-stroke: 1px var(--tp-gold, #C9A227);
    -webkit-text-fill-color: transparent;
}

.tp-timeline-card .tp-year {
    font-size: 20px;
    font-weight: 600;
    color: var(--tp-gold, #C9A227);
    margin: 0.5rem 0;
}

.tp-timeline-card .tp-chapter-title {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tp-timeline-card .tp-chapter-description {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
}

/* ----- MARQUEE ANIMATION (Country names) ----- */
.tp-marquee {
    overflow: hidden;
    white-space: nowrap;
}

.tp-marquee-content {
    display: inline-block;
    animation: marquee 30s linear infinite;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.tp-country-item {
    display: inline-block;
    font-size: clamp(14px, 2vw, 20px);
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--tp-gold, #C9A227);
    padding: 0 2rem;
}

/* ----- SCROLL REVEAL ANIMATIONS ----- */
.tp-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.tp-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.tp-reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.tp-reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

.tp-reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.tp-reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

/* ----- ABOUT PAGE SPECIFIC OVERRIDES ----- */
.page-id-about .entry-content,
body.about .entry-content {
    max-width: 100%;
    padding: 0;
    margin: 0;
}

/* Remove default page title for About page */
.page-template-default.page-id-about .entry-header,
body.about .entry-header {
    display: none;
}

/* Full width sections */
.tp-full-width {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 5rem 0;
}

/* ----- SPLIT SCREEN LAYOUT ----- */
.tp-split-screen {
    display: flex;
    min-height: 80vh;
}

.tp-split-left {
    flex: 0 0 40%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3rem;
}

.tp-split-right {
    flex: 0 0 60%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem;
}

/* ----- VERTICAL DATE TREATMENT ----- */
.tp-date-vertical {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
}

.tp-date-month {
    font-size: clamp(60px, 12vw, 120px);
    font-weight: 800;
    -webkit-text-stroke: 2px var(--tp-gold, #C9A227);
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.1em;
}

.tp-date-year {
    font-size: clamp(40px, 8vw, 80px);
    font-weight: 800;
    color: #ffffff;
}

/* ----- HERO SECTION ----- */
.tp-hero-about {
    position: relative;
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 6rem 2rem;
    overflow: hidden;
}

.tp-hero-about .tp-year-watermark {
    position: absolute;
    bottom: -10%;
    right: -5%;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .tp-gold-outline-large {
        font-size: 60px;
        -webkit-text-stroke: 2px var(--tp-gold, #C9A227);
    }

    .tp-stat-number {
        font-size: 60px;
    }

    .tp-timeline-card {
        padding: 1.5rem;
    }

    .tp-quote {
        font-size: 20px;
    }

    .tp-founder-name {
        font-size: 32px;
    }

    .tp-split-screen {
        flex-direction: column;
    }

    .tp-split-left,
    .tp-split-right {
        flex: 1;
        padding: 2rem;
    }

    .tp-date-vertical {
        writing-mode: horizontal-tb;
        transform: none;
    }
}
