/*
Theme Name: TennisSpin
Theme URI: https://tennisspin.co.il/
Author: DLions Digital & Ligateam
Author URI: https://dlions.co.il/
Description: תבנית פרימיום חדשנית, צבעונית ומגניבה לאתר TennisSpin - פורטל הטניס, ספורט הישגי, תזונת ספורטאים ופיזיותרפיה שיקומית. מעוצבת בצבעי סגול ורוד ספורטיביים, נגישות WCAG מלאה, עמודי פוסטים מותאמים עם קישורי עוגן כחולים ומודגשים, קישורי פוטר מובנים וממשק מהיר וחד במיוחד.
Version: 1.0.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: tennisspin
*/

:root {
    --purple-primary: #7928ca;
    --purple-dark: #4c1d95;
    --purple-deep: #1e112a;
    --purple-light: #9333ea;
    --purple-soft: #f3e8ff;
    
    --pink-accent: #ec4899;
    --pink-vibrant: #f43f5e;
    --pink-light: #fdf2f8;
    --pink-glow: rgba(236, 72, 153, 0.35);

    --neon-lime: #84cc16;
    --neon-cyan: #06b6d4;

    /* Anchor text link colors for posts */
    --anchor-blue: #2563eb;
    --anchor-blue-hover: #1d4ed8;

    --bg-dark: #0f0717;
    --bg-card: #ffffff;
    --bg-card-dark: #1f1130;
    --bg-light: #f8fafc;
    --bg-alt: #f1f5f9;

    --text-main: #0f172a;
    --text-muted: #64748b;
    --text-light: #ffffff;
    --text-soft: #e2e8f0;

    --border-light: #e2e8f0;
    --border-subtle: rgba(147, 51, 234, 0.15);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-full: 9999px;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 10px 25px -5px rgba(121, 40, 202, 0.12), 0 8px 10px -6px rgba(236, 72, 153, 0.08);
    --shadow-lg: 0 20px 35px -10px rgba(121, 40, 202, 0.22), 0 10px 15px -5px rgba(236, 72, 153, 0.15);
    --shadow-pink: 0 12px 30px rgba(236, 72, 153, 0.28);

    --font-heading: 'Rubik', 'Heebo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'Heebo', 'Rubik', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Base & Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.65;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.25s ease;
}

ul, ol {
    list-style: none;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Accessibility Skip Link */
.skip-link {
    position: absolute;
    top: -50px;
    right: 20px;
    background: var(--purple-primary);
    color: #fff;
    padding: 10px 18px;
    z-index: 99999;
    border-radius: var(--radius-sm);
    font-weight: 700;
    transition: top 0.2s ease;
}
.skip-link:focus {
    top: 20px;
}

/* =========================================
   HEADER & NAVIGATION
   ========================================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 2px solid rgba(121, 40, 202, 0.1);
    box-shadow: 0 4px 20px rgba(121, 40, 202, 0.05);
    transition: all 0.3s ease;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 82px;
}

.brand-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo-badge {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--purple-primary) 0%, var(--pink-accent) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.6rem;
    box-shadow: 0 6px 18px rgba(236, 72, 153, 0.35);
    transform: rotate(-6deg);
    transition: transform 0.3s ease;
}

.brand-wrapper:hover .brand-logo-badge {
    transform: rotate(0deg) scale(1.06);
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 900;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, var(--purple-dark) 0%, var(--pink-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
}

.brand-slogan {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--purple-light);
    letter-spacing: 0.5px;
}

.primary-nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link-item {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--text-main);
    padding: 10px 16px;
    border-radius: var(--radius-full);
    transition: all 0.25s ease;
}

.nav-link-item:hover,
.nav-link-item.active {
    color: var(--purple-primary);
    background: var(--purple-soft);
}

.header-cta-group {
    display: flex;
    align-items: center;
    gap: 14px;
}

.btn-header-cta {
    background: linear-gradient(135deg, var(--purple-primary) 0%, var(--pink-accent) 100%);
    color: #fff !important;
    font-weight: 800;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    box-shadow: 0 8px 20px rgba(236, 72, 153, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-header-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(236, 72, 153, 0.45);
}

.mobile-toggle-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--purple-dark);
}

/* =========================================
   HERO SECTION
   ========================================= */
.tennis-hero-section {
    position: relative;
    background: linear-gradient(145deg, #180928 0%, #30104e 45%, #56113b 100%);
    color: #fff;
    padding: 85px 0 90px;
    overflow: hidden;
}

.tennis-hero-section::before {
    content: '';
    position: absolute;
    top: -30%;
    left: -15%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.25) 0%, transparent 70%);
    pointer-events: none;
}

.tennis-hero-section::after {
    content: '';
    position: absolute;
    bottom: -25%;
    right: -10%;
    width: 650px;
    height: 650px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(121, 40, 202, 0.35) 0%, transparent 70%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(10px);
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-size: 0.88rem;
    font-weight: 700;
    color: #fbcfe8;
    margin-bottom: 22px;
}

.hero-badge-pill .pulse-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--pink-accent);
    box-shadow: 0 0 10px var(--pink-accent);
    animation: heroPulse 1.8s infinite;
}

@keyframes heroPulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(236, 72, 153, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(236, 72, 153, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(236, 72, 153, 0); }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.35rem;
    font-weight: 900;
    line-height: 1.16;
    margin-bottom: 22px;
    letter-spacing: -1px;
}

.hero-title-highlight {
    background: linear-gradient(135deg, #f472b6 0%, #c084fc 50%, #38bdf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.15rem;
    line-height: 1.75;
    color: #cbd5e1;
    margin-bottom: 34px;
    max-width: 580px;
}

.hero-buttons-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-bottom: 40px;
}

.btn-hero-primary {
    background: linear-gradient(135deg, var(--pink-accent) 0%, var(--purple-light) 100%);
    color: #fff !important;
    font-weight: 800;
    font-size: 1.05rem;
    padding: 16px 34px;
    border-radius: var(--radius-full);
    box-shadow: 0 10px 25px rgba(236, 72, 153, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(236, 72, 153, 0.55);
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff !important;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    font-weight: 700;
    font-size: 1.05rem;
    padding: 15px 28px;
    border-radius: var(--radius-full);
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.hero-stats-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-item-number {
    font-family: var(--font-heading);
    font-size: 2.1rem;
    font-weight: 900;
    color: #f472b6;
    line-height: 1;
    margin-bottom: 6px;
}

.stat-item-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #cbd5e1;
}

.hero-visual-card {
    position: relative;
}

.hero-img-frame {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.12);
    position: relative;
    border: 3px solid rgba(236, 72, 153, 0.4);
}

.hero-floating-badge {
    position: absolute;
    bottom: -22px;
    right: -15px;
    background: rgba(30, 17, 42, 0.92);
    border: 1.5px solid rgba(236, 72, 153, 0.5);
    backdrop-filter: blur(16px);
    padding: 16px 22px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 14px;
    color: #fff;
    z-index: 5;
}

.badge-icon-spin {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--purple-primary), var(--pink-accent));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* =========================================
   PILLARS / CORE CATEGORIES
   ========================================= */
.pillars-section {
    padding: 90px 0 60px;
    position: relative;
}

.section-header-center {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 55px;
}

.section-tag-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(121, 40, 202, 0.1) 0%, rgba(236, 72, 153, 0.1) 100%);
    border: 1px solid rgba(121, 40, 202, 0.2);
    color: var(--purple-primary);
    font-weight: 800;
    font-size: 0.88rem;
    padding: 6px 18px;
    border-radius: var(--radius-full);
    margin-bottom: 14px;
}

.section-title-large {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--purple-deep);
    line-height: 1.25;
    margin-bottom: 16px;
}

.section-subtitle-muted {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.pillar-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 38px 30px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--purple-primary), var(--pink-accent));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pillar-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(236, 72, 153, 0.3);
}

.pillar-card:hover::before {
    opacity: 1;
}

.pillar-icon-box {
    width: 68px;
    height: 68px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.1rem;
    margin-bottom: 24px;
    background: var(--purple-soft);
    color: var(--purple-primary);
    transition: transform 0.3s ease;
}

.pillar-card:hover .pillar-icon-box {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, var(--purple-primary) 0%, var(--pink-accent) 100%);
    color: #fff;
}

.pillar-card-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--purple-deep);
    margin-bottom: 14px;
}

.pillar-card-text {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 24px;
    flex-grow: 1;
}

.pillar-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 0.98rem;
    color: var(--pink-accent);
}

.pillar-card-link:hover {
    color: var(--purple-primary);
    gap: 12px;
}

/* =========================================
   ARTICLES & GUIDES SECTION
   ========================================= */
.articles-section {
    padding: 70px 0 90px;
    background: #fdfafc;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.article-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(121, 40, 202, 0.1);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(236, 72, 153, 0.25);
}

.article-img-wrap {
    height: 220px;
    overflow: hidden;
    position: relative;
    background: #eee;
}

.article-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-card:hover .article-img-wrap img {
    transform: scale(1.07);
}

.article-category-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(30, 17, 42, 0.85);
    backdrop-filter: blur(8px);
    color: #fbcfe8;
    font-size: 0.78rem;
    font-weight: 800;
    padding: 5px 14px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(236, 72, 153, 0.4);
}

.article-body {
    padding: 26px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.article-title {
    font-family: var(--font-heading);
    font-size: 1.28rem;
    font-weight: 800;
    color: var(--purple-deep);
    line-height: 1.4;
    margin-bottom: 12px;
}

.article-title a:hover {
    color: var(--pink-accent);
}

.article-excerpt {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 20px;
    flex-grow: 1;
}

.article-meta-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--purple-light);
}

/* =========================================
   INTERACTIVE CALCULATOR WIDGET
   ========================================= */
.calc-section {
    padding: 85px 0;
    background: linear-gradient(135deg, #240a3e 0%, #4a1359 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.calc-section::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.2) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    pointer-events: none;
}

.calc-card-container {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(16px);
    border-radius: var(--radius-lg);
    padding: 45px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
}

.calc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.calc-form-group {
    margin-bottom: 20px;
}

.calc-form-group label {
    display: block;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 8px;
    color: #fbcfe8;
}

.calc-input {
    width: 100%;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    outline: none;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.calc-input:focus {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--pink-accent);
    box-shadow: 0 0 15px rgba(236, 72, 153, 0.4);
}

.calc-input option {
    background: #2e1044;
    color: #fff;
}

.btn-calc-action {
    background: linear-gradient(135deg, var(--pink-accent) 0%, var(--purple-light) 100%);
    color: #fff;
    font-weight: 800;
    padding: 15px 30px;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    width: 100%;
    font-size: 1.05rem;
    box-shadow: 0 10px 25px rgba(236, 72, 153, 0.4);
    transition: all 0.3s ease;
}

.btn-calc-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(236, 72, 153, 0.55);
}

.calc-results-box {
    background: rgba(20, 6, 33, 0.85);
    border: 1px solid rgba(236, 72, 153, 0.35);
    border-radius: var(--radius-md);
    padding: 32px;
}

.calc-res-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.calc-res-item:last-child {
    border-bottom: none;
}

.calc-res-val {
    font-size: 1.45rem;
    font-weight: 900;
    color: #f472b6;
}

/* =========================================
   FAQ ACCORDION SECTION
   ========================================= */
.faq-section {
    padding: 85px 0;
    background: #fff;
}

.faq-list {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    background: var(--bg-card);
    overflow: hidden;
    transition: all 0.25s ease;
}

.faq-item.active {
    border-color: var(--pink-accent);
    box-shadow: var(--shadow-md);
}

.faq-question-btn {
    width: 100%;
    text-align: right;
    padding: 22px 26px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--purple-deep);
}

.faq-icon-arrow {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--purple-soft);
    color: var(--purple-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-icon-arrow {
    transform: rotate(180deg);
    background: var(--pink-accent);
    color: #fff;
}

.faq-answer-panel {
    display: none;
    padding: 0 26px 24px;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.75;
}

.faq-item.active .faq-answer-panel {
    display: block;
}

/* =========================================
   CONTACT & CONSULTATION SECTION
   ========================================= */
.contact-section {
    padding: 85px 0 95px;
    background: #f8fafc;
}

.contact-card-box {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(121, 40, 202, 0.15);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
}

.contact-form-side {
    padding: 50px 45px;
}

.contact-title {
    font-family: var(--font-heading);
    font-size: 2.1rem;
    font-weight: 900;
    color: var(--purple-deep);
    margin-bottom: 12px;
}

.contact-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 18px;
}

.form-field-full {
    grid-column: span 2;
}

.contact-label {
    display: block;
    font-weight: 700;
    font-size: 0.92rem;
    margin-bottom: 6px;
    color: var(--purple-deep);
}

.contact-input,
.contact-textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-md);
    background: var(--bg-alt);
    font-size: 0.98rem;
    color: var(--text-main);
    outline: none;
    transition: all 0.25s ease;
}

.contact-input:focus,
.contact-textarea:focus {
    border-color: var(--purple-primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(121, 40, 202, 0.1);
}

.contact-textarea {
    resize: vertical;
    min-height: 110px;
}

.privacy-check-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 18px 0 24px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.privacy-check-wrapper input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--purple-primary);
    margin-top: 3px;
    cursor: pointer;
}

.btn-contact-submit {
    background: linear-gradient(135deg, var(--purple-primary) 0%, var(--pink-accent) 100%);
    color: #fff;
    font-weight: 800;
    font-size: 1.05rem;
    padding: 15px 36px;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(236, 72, 153, 0.35);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-contact-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(236, 72, 153, 0.5);
}

.contact-info-side {
    background: linear-gradient(145deg, #240a3e 0%, #4a1359 100%);
    color: #fff;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.info-side-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    color: #fbcfe8;
    font-weight: 800;
    font-size: 0.85rem;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 20px;
}

.info-side-title {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 900;
    margin-bottom: 16px;
    line-height: 1.3;
}

.info-side-desc {
    color: #cbd5e1;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

.whatsapp-direct-btn {
    background: #25d366;
    color: #fff !important;
    font-weight: 800;
    font-size: 1.05rem;
    padding: 16px 28px;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.35);
    transition: all 0.3s ease;
}

.whatsapp-direct-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(37, 211, 102, 0.5);
}

/* =========================================
   CRITICAL REQUIREMENT: SINGLE POST STYLING
   ========================================= */
.single-post-wrapper {
    padding: 60px 0 90px;
    background: #fff;
}

.post-layout-grid {
    display: grid;
    grid-template-columns: 2.2fr 1fr;
    gap: 45px;
    align-items: start;
}

.single-post-title {
    font-family: var(--font-heading);
    font-size: 2.7rem;
    font-weight: 900;
    color: var(--purple-deep);
    line-height: 1.25;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.single-post-featured-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 35px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}

.single-post-featured-img img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
}

/* ENTRY CONTENT FORMATTING */
.entry-content {
    font-size: 1.12rem;
    line-height: 1.9;
    color: #1e293b;
}

.entry-content p {
    margin-bottom: 22px;
}

.entry-content h2 {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--purple-deep);
    margin: 40px 0 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--purple-soft);
}

.entry-content h3 {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--purple-primary);
    margin: 30px 0 14px;
}

.entry-content ul,
.entry-content ol {
    margin: 0 24px 24px 0;
}

.entry-content ul li {
    list-style-type: disc;
    margin-bottom: 10px;
}

.entry-content ol li {
    list-style-type: decimal;
    margin-bottom: 10px;
}

.entry-content blockquote {
    background: linear-gradient(135deg, var(--purple-soft) 0%, var(--pink-light) 100%);
    border-right: 5px solid var(--pink-accent);
    padding: 22px 28px;
    border-radius: var(--radius-sm);
    font-style: italic;
    font-size: 1.15rem;
    margin: 30px 0;
    color: var(--purple-deep);
}

/* =========================================================================
   MANDATORY REQUIREMENT:
   ANCHOR TEXT IN POSTS MUST BE BLUE WITH UNDERLINE
   ========================================================================= */
.entry-content a,
.single-post-wrapper .entry-content a,
.post-main-content .entry-content a {
    color: #2563eb !important;
    text-decoration: underline !important;
    text-underline-offset: 3.5px;
    text-decoration-thickness: 1.5px;
    font-weight: 600;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.entry-content a:hover,
.single-post-wrapper .entry-content a:hover,
.post-main-content .entry-content a:hover {
    color: #1d4ed8 !important;
    text-decoration: underline !important;
    text-decoration-color: #1d4ed8 !important;
}

/* SIDEBAR STYLING */
.post-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: sticky;
    top: 105px;
}

.sidebar-widget {
    background: var(--bg-alt);
    border-radius: var(--radius-lg);
    padding: 28px;
    border: 1px solid var(--border-light);
}

.widget-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--purple-deep);
    padding-bottom: 12px;
    margin-bottom: 18px;
    border-bottom: 2px solid var(--pink-accent);
}

.sidebar-posts-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.sidebar-post-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.96rem;
    font-weight: 700;
    line-height: 1.5;
}

.sidebar-post-item a {
    color: var(--text-main);
}

.sidebar-post-item a:hover {
    color: var(--pink-accent);
}

/* =========================================
   FOOTER (EXACT 3 UPPER COLS + DLIONS BUTTON)
   ========================================= */
.site-footer {
    background: #11051b;
    color: #cbd5e1;
    padding: 70px 0 35px;
    border-top: 3px solid var(--purple-primary);
}

.footer-top-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 45px;
    height: 3px;
    background: linear-gradient(90deg, var(--pink-accent), var(--purple-light));
    border-radius: var(--radius-full);
}

.footer-desc {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #94a3b8;
}

.footer-links-list {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.footer-links-list a {
    color: #cbd5e1;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.2s ease;
    display: inline-block;
}

.footer-links-list a:hover {
    color: var(--pink-accent);
    transform: translateX(-5px);
}

.footer-bottom-bar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding-top: 35px;
    text-align: center;
}

.credit-btn-dlions {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--purple-primary) 0%, var(--pink-accent) 100%);
    color: #fff !important;
    font-weight: 800;
    font-size: 1.05rem;
    padding: 14px 34px;
    border-radius: var(--radius-full);
    box-shadow: 0 8px 24px rgba(236, 72, 153, 0.35);
    transition: all 0.3s ease;
}

.credit-btn-dlions:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(236, 72, 153, 0.55);
}

.footer-copyright {
    font-size: 0.88rem;
    color: #64748b;
}

/* =========================================
   COOKIE BANNER
   ========================================= */
.tennisspin-cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: 24px;
    max-width: 580px;
    background: rgba(20, 6, 33, 0.96);
    border: 1px solid rgba(236, 72, 153, 0.4);
    backdrop-filter: blur(14px);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    z-index: 9999;
}

.cookie-banner-text {
    font-size: 0.92rem;
    color: #e2e8f0;
    line-height: 1.55;
}

.cookie-banner-text a {
    color: #f472b6;
    text-decoration: underline;
}

.cookie-accept-btn {
    background: linear-gradient(135deg, var(--purple-primary), var(--pink-accent));
    color: #fff;
    font-weight: 800;
    padding: 10px 22px;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.cookie-accept-btn:hover {
    transform: scale(1.05);
}

/* =========================================
   WCAG ACCESSIBILITY COMPONENT
   ========================================= */
.wcag-toggle-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--purple-primary) 0%, var(--pink-accent) 100%);
    color: #fff;
    font-size: 1.6rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(121, 40, 202, 0.4);
    z-index: 99990;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.wcag-toggle-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 14px 30px rgba(236, 72, 153, 0.55);
}

.wcag-panel {
    position: fixed;
    bottom: 96px;
    right: 30px;
    width: 310px;
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
    border: 2px solid var(--purple-primary);
    padding: 22px;
    z-index: 99991;
    display: none;
}

.wcag-panel.open {
    display: block;
    animation: wcagSlideIn 0.3s ease;
}

@keyframes wcagSlideIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

.wcag-panel-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--purple-deep);
    margin-bottom: 16px;
    text-align: center;
    border-bottom: 1.5px solid var(--purple-soft);
    padding-bottom: 10px;
}

.wcag-controls-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.wcag-btn {
    background: var(--bg-alt);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 10px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--purple-deep);
    cursor: pointer;
    transition: all 0.2s ease;
}

.wcag-btn:hover,
.wcag-btn.active {
    background: var(--purple-primary);
    color: #fff;
    border-color: var(--purple-primary);
}

/* WCAG Active Modes */
body.wcag-contrast {
    background-color: #000 !important;
    color: #fff !important;
}
body.wcag-contrast .site-header,
body.wcag-contrast .pillar-card,
body.wcag-contrast .article-card,
body.wcag-contrast .faq-item,
body.wcag-contrast .contact-card-box {
    background: #111 !important;
    color: #fff !important;
    border-color: #ff00ff !important;
}
body.wcag-contrast a {
    color: #ffff00 !important;
}
body.wcag-grayscale {
    filter: grayscale(100%) !important;
}
body.wcag-font-large {
    font-size: 120% !important;
}
body.wcag-readable-font {
    font-family: Arial, Helvetica, sans-serif !important;
}
body.wcag-highlight-links a {
    background-color: #ffeb3b !important;
    color: #000 !important;
    text-decoration: underline !important;
}

/* =========================================
   RESPONSIVE DESIGN
   ========================================= */
@media (max-width: 1024px) {
    .hero-grid,
    .calc-grid,
    .contact-card-box,
    .post-layout-grid {
        grid-template-columns: 1fr;
    }

    .pillars-grid,
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-title {
        font-size: 2.75rem;
    }

    .footer-top-columns {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .primary-nav-menu {
        display: none;
        position: absolute;
        top: 82px;
        right: 0;
        left: 0;
        background: #fff;
        flex-direction: column;
        padding: 20px 24px;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
        border-top: 1px solid var(--border-light);
    }

    .primary-nav-menu.open {
        display: flex;
    }

    .mobile-toggle-btn {
        display: block;
    }

    .pillars-grid,
    .articles-grid,
    .footer-top-columns {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-stats-bar {
        grid-template-columns: 1fr;
    }

    .contact-form-side {
        padding: 30px 20px;
    }

    .contact-info-side {
        padding: 35px 25px;
    }

    .contact-form-grid {
        grid-template-columns: 1fr;
    }

    .form-field-full {
        grid-column: span 1;
    }

    .calc-card-container {
        padding: 25px 20px;
    }
}
