/*
Theme Name: Le Monde Sepharade
Theme URI: https://lemondesepharade.com
Author: Le Monde Sepharade Team
Author URI: https://lemondesepharade.com
Description: Digital magazine theme for the Sephardic community
Version: 1.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lemonde-sepharade-theme
*/


/* ============================================
   LOCAL FONTS
   ============================================ */
@font-face {
    font-family: 'Playfair Display';
    src: url('assets/fonts/playfair-display-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Playfair Display';
    src: url('assets/fonts/playfair-display-bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Open Sans';
    src: url('assets/fonts/open-sans-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Open Sans';
    src: url('assets/fonts/open-sans-600.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Open Sans';
    src: url('assets/fonts/open-sans-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ============================================
   ROOT VARIABLES
   ============================================ */
:root {
    --primary-blue: #0038b8;
    --primary-blue-dark: #002d8a;
    --primary-blue-light: #001a4d;
    --gold: #d4af37;
    --gold-light: #f5e6a3;
    --gold-dark: #b8942e;
    --cream: #f8f6f0;
    --white: #ffffff;
    --text-dark: #2d3748;
    --text-gray: #6b7280;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --font-display: 'Playfair Display', Georgia, serif;
    --font-sans: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

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

ul, ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
}

p {
    margin: 0;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.text-center { text-align: center; }
.text-white { color: var(--white); }
.text-gold { color: var(--gold); }
.text-blue { color: var(--primary-blue); }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }

.relative { position: relative; }
.absolute { position: absolute; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }

.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }

.overflow-hidden { overflow: hidden; }
.select-none { user-select: none; }

.transition-all {
    transition: all 0.3s ease;
}

.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-xl { box-shadow: var(--shadow-xl); }
.shadow-2xl { box-shadow: var(--shadow-2xl); }

/* ============================================
   TOP BAR
   ============================================ */
.top-bar {
    background-color: var(--primary-blue);
    padding: 0.5rem 1rem;
}

.top-bar-content {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.language-selector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    transition: all 0.3s ease;
}

.language-selector:hover {
    color: var(--gold);
}

.language-selector svg {
    width: 1.25rem;
    height: 1.25rem;
}

.language-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--primary-blue);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 0.5rem;
    padding: 0.5rem 0;
    min-width: 150px;
    display: none;
    z-index: 100;
}

.language-selector:hover .language-dropdown {
    display: block;
}

.language-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    color: var(--white);
    transition: all 0.3s ease;
}

.language-item:hover {
    background: rgba(212, 175, 55, 0.2);
    color: var(--gold);
}

.social-icons {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.social-icon {
    color: var(--white);
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icon:hover {
    color: var(--gold);
}

.social-icon svg {
    width: 1.25rem;
    height: 1.25rem;
}

/* ============================================
   BANNER SECTION
   ============================================ */
.banner-section {
    position: relative;
    background: linear-gradient(to bottom, var(--cream), var(--white));
}

.banner-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.side-logo {
    flex-shrink: 0;
    display: none;
}

.side-logo img {
    height: 11rem;
    width: auto;
}

.mobile-logo {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.mobile-logo img {
    height: 5rem;
    width: auto;
}

@media (min-width: 768px) {
    .side-logo {
        display: block;
    }
    .side-logo img {
        height: 9rem;
    }
    .mobile-logo {
        display: none;
    }
}

@media (min-width: 1024px) {
    .side-logo img {
        height: 11rem;
    }
}

/* Banner Carousel */
.banner-carousel {
    position: relative;
    flex: 1;
    max-width: 56rem;
    height: 200px;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

@media (min-width: 768px) {
    .banner-carousel {
        height: 280px;
    }
}

.banner-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease;
}

.banner-slide.active {
    opacity: 1;
    z-index: 10;
}

.banner-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.banner-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 6rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
}

.banner-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem 1.5rem;
}

.banner-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.25rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.banner-subtitle {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gold);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
    .banner-title {
        font-size: 1.875rem;
    }
    .banner-subtitle {
        font-size: 1.125rem;
    }
}

.banner-dots {
    position: absolute;
    bottom: 0.75rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 20;
}

.banner-dot {
    height: 0.5rem;
    width: 0.5rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    cursor: pointer;
}

.banner-dot.active {
    background: var(--gold);
    width: 1.5rem;
}

/* ============================================
   MAIN NAVIGATION
   ============================================ */
.main-nav {
    background-color: var(--primary-blue);
    border-top: 4px solid var(--gold);
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: var(--shadow-lg);
}

.nav-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.nav-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    padding: 1rem 0;
    overflow-x: auto;
}

@media (min-width: 768px) {
    .nav-list {
        gap: 2rem;
    }
}

.nav-link {
    color: var(--white);
    font-weight: 600;
    font-size: 0.875rem;
    white-space: nowrap;
    padding: 0.5rem 0.75rem;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--gold);
}

.nav-link:hover::after {
    width: 100%;
}

@media (min-width: 768px) {
    .nav-link {
        font-size: 1rem;
    }
}

/* ============================================
   MAGAZINE SECTION
   ============================================ */
.magazine-section {
    padding: 3rem 0 4rem;
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-header-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.section-header-line {
    width: 2.5rem;
    height: 2px;
    background: var(--gold);
}

@media (min-width: 640px) {
    .section-header-line {
        width: 3rem;
    }
}

.section-header-icon {
    color: var(--gold);
}

.section-title {
    font-size: 1.5rem;
    color: var(--primary-blue);
}

@media (min-width: 640px) {
    .section-title {
        font-size: 1.875rem;
    }
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.25rem;
    }
}

.magazine-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
}

@media (min-width: 1024px) {
    .magazine-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

.magazine-info {
    order: 2;
}

@media (min-width: 1024px) {
    .magazine-info {
        order: 1;
    }
}

.magazine-viewer-container {
    order: 1;
}

@media (min-width: 1024px) {
    .magazine-viewer-container {
        order: 2;
    }
}

.info-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.info-label-line {
    width: 2.5rem;
    height: 2px;
    background: var(--gold);
}

@media (min-width: 640px) {
    .info-label-line {
        width: 3rem;
    }
}

.info-label-text {
    color: var(--gold);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

@media (min-width: 640px) {
    .info-label-text {
        font-size: 0.875rem;
    }
}

.info-title {
    font-size: 1.25rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .info-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
}

@media (min-width: 768px) {
    .info-title {
        font-size: 1.875rem;
    }
}

.info-description {
    color: var(--text-gray);
    font-size: 0.875rem;
    line-height: 1.75;
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .info-description {
        font-size: 1rem;
    }
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

@media (min-width: 640px) {
    .features-grid {
        gap: 1rem;
        margin-top: 2rem;
    }
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: var(--cream);
    border-radius: 0.5rem;
}

@media (min-width: 640px) {
    .feature-item {
        gap: 0.75rem;
        padding: 0.75rem;
    }
}

.feature-icon {
    font-size: 1.25rem;
}

@media (min-width: 640px) {
    .feature-icon {
        font-size: 1.5rem;
    }
}

.feature-title {
    font-weight: 700;
    color: var(--primary-blue);
    font-size: 0.75rem;
}

@media (min-width: 640px) {
    .feature-title {
        font-size: 0.875rem;
    }
}

.feature-desc {
    color: var(--text-gray);
    font-size: 0.625rem;
}

@media (min-width: 640px) {
    .feature-desc {
        font-size: 0.75rem;
    }
}

.subscribe-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding: 0.625rem 1.5rem;
    background: var(--gold);
    color: var(--primary-blue);
    font-weight: 700;
    border-radius: 9999px;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    font-size: 0.875rem;
}

@media (min-width: 640px) {
    .subscribe-btn {
        margin-top: 2rem;
        padding: 0.75rem 2rem;
        font-size: 1rem;
    }
}

.subscribe-btn:hover {
    background: var(--primary-blue);
    color: var(--white);
}

.subscribe-btn svg {
    width: 1rem;
    height: 1rem;
}

@media (min-width: 640px) {
    .subscribe-btn svg {
        width: 1.25rem;
        height: 1.25rem;
    }
}

/* Magazine Viewer */
.magazine-viewer-wrapper {
    position: relative;
    background: linear-gradient(to bottom right, var(--primary-blue), var(--primary-blue-dark));
    border-radius: 1rem;
    padding: 0.75rem;
    box-shadow: var(--shadow-2xl);
}

@media (min-width: 640px) {
    .magazine-viewer-wrapper {
        border-radius: 1.5rem;
        padding: 1.25rem;
    }
}

.magazine-viewer-wrapper::before {
    content: '';
    position: absolute;
    inset: -4px;
    background: linear-gradient(to right, rgba(212, 175, 55, 0.2), transparent, rgba(212, 175, 55, 0.2));
    border-radius: 1rem;
    filter: blur(8px);
    z-index: -1;
}

@media (min-width: 640px) {
    .magazine-viewer-wrapper::before {
        border-radius: 1.5rem;
    }
}

.magazine-book {
    position: relative;
    aspect-ratio: 16 / 10;
    background: #1a1a2e;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
    perspective: 1500px;
}

.magazine-pages {
    position: absolute;
    inset: 0.5rem;
    display: flex;
    transform-style: preserve-3d;
}

@media (min-width: 640px) {
    .magazine-pages {
        inset: 0.75rem;
    }
}

.magazine-page-left,
.magazine-page-right {
    width: 50%;
    position: relative;
}

.magazine-page-left {
    box-shadow: inset -4px 0 12px rgba(0, 0, 0, 0.15), 2px 0 8px rgba(0, 0, 0, 0.1);
    border-right: 1px solid rgba(212, 175, 55, 0.3);
}

.magazine-page-right {
    transform-style: preserve-3d;
    transform-origin: left center;
    transition: transform 0.5s cubic-bezier(0.4, 0.0, 0.2, 1);
    box-shadow: 4px 0 12px rgba(0, 0, 0, 0.1);
}

.magazine-page-right.flipping-next {
    transform: rotateY(-25deg);
    box-shadow: 15px 0 35px rgba(0, 0, 0, 0.4);
}

.magazine-page-right.flipping-prev {
    transform: rotateY(25deg);
    box-shadow: -15px 0 35px rgba(0, 0, 0, 0.4);
}

.page-curl {
    position: absolute;
    inset: 0;
    left: 0;
    width: 1rem;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.15), transparent);
    pointer-events: none;
    opacity: 0;
}

.magazine-page-right.flipping-next .page-curl,
.magazine-page-right.flipping-prev .page-curl {
    opacity: 1;
}

.magazine-spine {
    position: absolute;
    left: 50%;
    top: 0.5rem;
    bottom: 0.5rem;
    width: 0.5rem;
    transform: translateX(-50%);
    border-radius: 9999px;
    z-index: 10;
    pointer-events: none;
    background: linear-gradient(to right, #6b5b3d, var(--gold), var(--gold-light), var(--gold), #6b5b3d);
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.4);
}

@media (min-width: 640px) {
    .magazine-spine {
        top: 0.75rem;
        bottom: 0.75rem;
    }
}

/* Page Content Styles */
.page-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    user-select: none;
}

.page-cover {
    overflow: hidden;
}

.page-cover-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.page-cover-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(10, 22, 40, 0.75), rgba(0, 56, 184, 0.65), rgba(0, 26, 77, 0.8));
}

.page-cover-border {
    position: absolute;
    inset: 4px;
    border: 1px solid rgba(212, 175, 55, 0.6);
    border-radius: 2px;
}

.page-cover-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0.75rem;
}

@media (min-width: 640px) {
    .page-cover-content {
        padding: 1rem;
    }
}

.cover-star {
    display: flex;
    justify-content: center;
}

.cover-star svg {
    width: 0.75rem;
    height: 0.75rem;
    color: var(--gold);
    fill: var(--gold);
}

.cover-main {
    text-align: center;
}

.cover-logo {
    height: 2.5rem;
    margin: 0 auto 0.5rem;
}

@media (min-width: 640px) {
    .cover-logo {
        height: 3.5rem;
    }
}

.cover-title-main {
    font-size: 0.875rem;
    font-weight: 900;
    color: var(--gold);
    letter-spacing: 0.1em;
}

@media (min-width: 640px) {
    .cover-title-main {
        font-size: 1.125rem;
    }
}

.cover-title-sub {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    font-style: italic;
}

@media (min-width: 640px) {
    .cover-title-sub {
        font-size: 1.25rem;
    }
}

.cover-tagline {
    color: var(--gold);
    font-size: 0.5rem;
    margin-top: 0.25rem;
}

@media (min-width: 640px) {
    .cover-tagline {
        font-size: 0.625rem;
    }
}

.cover-stories {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 0.5rem;
    padding: 0.5rem 0.75rem;
}

@media (min-width: 640px) {
    .cover-stories {
        padding: 0.75rem;
    }
}

.cover-stories-title {
    color: var(--gold);
    font-size: 0.4375rem;
    text-align: center;
    margin-bottom: 0.25rem;
    letter-spacing: 0.1em;
    font-weight: 600;
}

@media (min-width: 640px) {
    .cover-stories-title {
        font-size: 0.5rem;
        margin-bottom: 0.5rem;
    }
}

.cover-story {
    display: flex;
    align-items: center;
    margin-bottom: 0.125rem;
}

@media (min-width: 640px) {
    .cover-story {
        margin-bottom: 0.25rem;
    }
}

.cover-story-bullet {
    color: var(--gold);
    font-size: 0.4375rem;
    margin-right: 0.25rem;
}

@media (min-width: 640px) {
    .cover-story-bullet {
        font-size: 0.5rem;
    }
}

.cover-story-text {
    color: var(--white);
    font-size: 0.4375rem;
}

@media (min-width: 640px) {
    .cover-story-text {
        font-size: 0.5625rem;
    }
}

.cover-footer {
    text-align: center;
}

.cover-hebrew {
    color: var(--gold);
    font-size: 0.75rem;
    font-weight: 700;
}

@media (min-width: 640px) {
    .cover-hebrew {
        font-size: 0.875rem;
    }
}

.cover-prices {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.375rem;
}

@media (min-width: 640px) {
    .cover-prices {
        font-size: 0.5rem;
    }
}

/* TOC Page */
.page-toc {
    background: #fffef5;
}

.page-toc-header {
    background: var(--primary-blue);
    padding: 0.5rem 0.75rem;
    flex-shrink: 0;
}

.page-toc-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--white);
}

@media (min-width: 640px) {
    .page-toc-title {
        font-size: 1rem;
    }
}

.page-toc-subtitle {
    color: var(--gold);
    font-size: 0.5rem;
}

@media (min-width: 640px) {
    .page-toc-subtitle {
        font-size: 0.625rem;
    }
}

.page-toc-content {
    flex: 1;
    padding: 0.5rem 0.75rem;
    overflow: hidden;
}

.toc-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.25rem 0;
    border-bottom: 1px dotted #d1d5db;
}

.toc-title {
    font-size: 0.5rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
}

@media (min-width: 640px) {
    .toc-title {
        font-size: 0.625rem;
    }
}

.toc-bullet {
    color: var(--gold);
    margin-right: 0.25rem;
}

.toc-page {
    font-size: 0.4375rem;
    color: var(--primary-blue);
    font-weight: 700;
    background: rgba(212, 175, 55, 0.2);
    padding: 0.125rem 0.375rem;
    border-radius: 0.25rem;
}

@media (min-width: 640px) {
    .toc-page {
        font-size: 0.5625rem;
    }
}

.page-toc-footer {
    padding: 0.5rem 0.75rem;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.page-toc-footer-title {
    font-size: 0.5rem;
    color: var(--primary-blue);
    font-weight: 700;
}

@media (min-width: 640px) {
    .page-toc-footer-title {
        font-size: 0.625rem;
    }
}

.page-toc-footer-logo {
    height: 1.25rem;
    opacity: 0.5;
}

@media (min-width: 640px) {
    .page-toc-footer-logo {
        height: 1.5rem;
    }
}

/* Article Page */
.page-article {
    background: #fffef5;
}

.page-article-header {
    background: var(--primary-blue);
    padding: 0.25rem 0.75rem;
    flex-shrink: 0;
}

@media (min-width: 640px) {
    .page-article-header {
        padding: 0.375rem 0.75rem;
    }
}

.page-article-title {
    font-size: 0.625rem;
    font-weight: 700;
    color: var(--white);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (min-width: 640px) {
    .page-article-title {
        font-size: 0.75rem;
    }
}

.page-article-subtitle {
    font-size: 0.4375rem;
    color: var(--gold);
}

@media (min-width: 640px) {
    .page-article-subtitle {
        font-size: 0.5625rem;
    }
}

.page-article-image {
    height: 42%;
    flex-shrink: 0;
    overflow: hidden;
}

.page-article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-article-body {
    flex: 1;
    padding: 0.5rem 0.75rem;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
}

@media (min-width: 640px) {
    .page-article-body {
        padding: 0.75rem;
    }
}

.page-article-text {
    font-size: 0.4375rem;
    color: var(--text-dark);
    line-height: 1.75;
}

@media (min-width: 640px) {
    .page-article-text {
        font-size: 0.5625rem;
    }
}

.page-article-filler {
    flex: 1;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.page-article-filler-text {
    font-size: 0.375rem;
    color: #9ca3af;
    line-height: 1.75;
}

@media (min-width: 640px) {
    .page-article-filler-text {
        font-size: 0.4375rem;
    }
}

.page-article-footer {
    padding: 0.25rem 0.75rem;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.5);
}

.page-article-footer-name {
    font-size: 0.375rem;
    color: #9ca3af;
}

@media (min-width: 640px) {
    .page-article-footer-name {
        font-size: 0.4375rem;
    }
}

.page-article-footer-num {
    font-size: 0.625rem;
    color: var(--primary-blue);
    font-weight: 700;
}

@media (min-width: 640px) {
    .page-article-footer-num {
        font-size: 0.75rem;
    }
}

/* Back Cover */
.page-back {
    background: linear-gradient(to bottom right, var(--primary-blue), var(--primary-blue-light));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.page-back-logo {
    height: 3rem;
    margin-bottom: 0.75rem;
}

@media (min-width: 640px) {
    .page-back-logo {
        height: 4rem;
    }
}

.page-back-title {
    font-size: 0.875rem;
    color: var(--gold);
    font-weight: 700;
    text-align: center;
}

@media (min-width: 640px) {
    .page-back-title {
        font-size: 1rem;
    }
}

.page-back-url {
    font-size: 0.5625rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.5rem;
}

@media (min-width: 640px) {
    .page-back-url {
        font-size: 0.75rem;
    }
}

.page-back-divider {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.page-back-line {
    width: 2rem;
    height: 1px;
    background: rgba(212, 175, 55, 0.5);
}

.page-back-star svg {
    width: 0.75rem;
    height: 0.75rem;
    color: var(--gold);
    fill: var(--gold);
}

/* Magazine Controls */
.magazine-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.75rem;
    padding: 0 0.25rem;
}

@media (min-width: 640px) {
    .magazine-controls {
        margin-top: 1rem;
    }
}

.magazine-nav-btn {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 9999px;
    background: var(--gold);
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

@media (min-width: 640px) {
    .magazine-nav-btn {
        width: 2.75rem;
        height: 2.75rem;
    }
}

.magazine-nav-btn:hover:not(:disabled) {
    background: var(--white);
    transform: scale(1.05);
}

.magazine-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.magazine-nav-btn svg {
    width: 1.25rem;
    height: 1.25rem;
}

@media (min-width: 640px) {
    .magazine-nav-btn svg {
        width: 1.5rem;
        height: 1.5rem;
    }
}

.magazine-controls-center {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

@media (min-width: 640px) {
    .magazine-controls-center {
        gap: 0.75rem;
    }
}

.magazine-page-indicator {
    color: var(--gold);
    font-weight: 700;
    font-size: 0.75rem;
}

@media (min-width: 640px) {
    .magazine-page-indicator {
        font-size: 0.875rem;
    }
}

.magazine-ctrl-btn {
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

@media (min-width: 640px) {
    .magazine-ctrl-btn {
        width: 2.25rem;
        height: 2.25rem;
    }
}

.magazine-ctrl-btn:hover:not(:disabled) {
    background: var(--gold);
    color: var(--primary-blue);
}

.magazine-ctrl-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.magazine-ctrl-btn.active {
    background: var(--gold);
    color: var(--primary-blue);
}

.magazine-ctrl-btn svg {
    width: 0.875rem;
    height: 0.875rem;
}

@media (min-width: 640px) {
    .magazine-ctrl-btn svg {
        width: 1rem;
        height: 1rem;
    }
}

/* Magazine Progress Bar */
.magazine-progress {
    margin-top: 0.5rem;
    height: 0.375rem;
    background: var(--primary-blue-dark);
    border-radius: 9999px;
    overflow: hidden;
    margin-left: 0.25rem;
    margin-right: 0.25rem;
}

@media (min-width: 640px) {
    .magazine-progress {
        margin-top: 0.75rem;
        height: 0.5rem;
    }
}

.magazine-progress-bar {
    height: 100%;
    background: linear-gradient(to right, var(--gold), var(--gold-light));
    border-radius: 9999px;
    transition: width 0.5s ease;
}

.magazine-hint {
    text-align: center;
    color: #9ca3af;
    font-size: 0.625rem;
    margin-top: 0.5rem;
}

@media (min-width: 640px) {
    .magazine-hint {
        font-size: 0.75rem;
        margin-top: 0.75rem;
    }
}

.magazine-hint svg {
    display: inline;
    width: 0.75rem;
    height: 0.75rem;
    vertical-align: middle;
}

/* Fullscreen Modal */
.magazine-fullscreen-modal {
    position: fixed;
    inset: 0;
    z-index: 50;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
}

.magazine-fullscreen-modal.active {
    display: flex;
}

.magazine-fullscreen-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 30;
}

@media (min-width: 640px) {
    .magazine-fullscreen-close {
        top: 2rem;
        right: 2rem;
    }
}

.magazine-fullscreen-close:hover {
    background: #ef4444;
}

.magazine-fullscreen-close svg {
    width: 1.5rem;
    height: 1.5rem;
}

.magazine-fullscreen-content {
    width: 90vw;
    max-width: 64rem;
}

.magazine-fullscreen-book {
    position: relative;
    aspect-ratio: 16 / 10;
    background: #1a1a2e;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
    perspective: 1500px;
}

.magazine-fullscreen-pages {
    position: absolute;
    inset: 0.75rem;
    display: flex;
    transform-style: preserve-3d;
}

@media (min-width: 640px) {
    .magazine-fullscreen-pages {
        inset: 1rem;
    }
}

.magazine-fullscreen-spine {
    position: absolute;
    left: 50%;
    top: 0.75rem;
    bottom: 0.75rem;
    width: 0.5rem;
    transform: translateX(-50%);
    border-radius: 9999px;
    z-index: 10;
    pointer-events: none;
    background: linear-gradient(to right, #6b5b3d, var(--gold), var(--gold-light), var(--gold), #6b5b3d);
}

@media (min-width: 640px) {
    .magazine-fullscreen-spine {
        top: 1rem;
        bottom: 1rem;
    }
}

.magazine-fullscreen-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1.5rem;
    gap: 1rem;
}

.magazine-fullscreen-nav-btn {
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    background: var(--gold);
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

.magazine-fullscreen-nav-btn:hover:not(:disabled) {
    background: var(--white);
}

.magazine-fullscreen-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.magazine-fullscreen-nav-btn svg {
    width: 1.5rem;
    height: 1.5rem;
}

.magazine-fullscreen-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
}

.magazine-fullscreen-page-num {
    color: var(--white);
    font-weight: 700;
    font-size: 1.125rem;
}

.magazine-fullscreen-ctrl-btn {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.magazine-fullscreen-ctrl-btn:hover:not(:disabled) {
    background: var(--gold);
    color: var(--primary-blue);
}

.magazine-fullscreen-ctrl-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.magazine-fullscreen-ctrl-btn.active {
    background: var(--gold);
    color: var(--primary-blue);
}

.magazine-fullscreen-ctrl-btn svg {
    width: 1rem;
    height: 1rem;
}

.magazine-fullscreen-progress {
    margin-top: 0.75rem;
    height: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 9999px;
    overflow: hidden;
    max-width: 28rem;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   FAMOUS PERSONALITIES SECTION
   ============================================ */
.personalities-section {
    padding: 4rem 0;
    background: linear-gradient(to bottom, var(--cream), var(--white));
    overflow: hidden;
}

.personalities-description {
    color: var(--text-gray);
    max-width: 42rem;
    margin: 0 auto;
}

.personalities-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .personalities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .personalities-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

.personality-card {
    background: var(--white);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.5s ease;
    opacity: 0;
    transform: translateX(30px);
}

.personality-card.visible {
    opacity: 1;
    transform: translateX(0);
}

.personality-card:hover {
    box-shadow: var(--shadow-2xl);
    border-color: var(--gold);
}

.personality-image-wrapper {
    position: relative;
    height: 12rem;
    overflow: hidden;
}

.personality-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.personality-card:hover .personality-image {
    transform: scale(1.1);
}

.personality-image-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--primary-blue), rgba(0, 56, 184, 0.5), transparent);
}

.personality-name-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    transition: transform 0.3s ease;
}

.personality-card:hover .personality-name-overlay {
    transform: translateY(-4px);
}

.personality-name {
    color: var(--white);
    font-weight: 700;
    font-size: 1.125rem;
}

.personality-title {
    color: var(--gold);
    font-size: 0.875rem;
    font-weight: 500;
}

.personality-content {
    padding: 1rem;
}

.personality-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--text-gray);
    margin-bottom: 0.5rem;
}

.personality-meta svg {
    width: 0.75rem;
    height: 0.75rem;
}

.personality-description {
    color: var(--text-gray);
    font-size: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Personalities Navigation */
.personalities-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.personalities-nav-btn {
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    background: var(--primary-blue);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

.personalities-nav-btn:hover {
    background: var(--gold);
    color: var(--primary-blue);
}

.personalities-nav-btn svg {
    width: 1.5rem;
    height: 1.5rem;
}

.personalities-dots {
    display: flex;
    gap: 0.75rem;
}

.personalities-dot {
    height: 1rem;
    width: 1rem;
    border-radius: 9999px;
    background: rgba(0, 56, 184, 0.3);
    transition: all 0.3s ease;
}

.personalities-dot:hover {
    background: rgba(0, 56, 184, 0.5);
}

.personalities-dot.active {
    background: var(--gold);
    width: 2.5rem;
}

.personalities-status {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--text-gray);
}

.personalities-autoplay-indicator {
    display: inline-flex;
    align-items: center;
    margin-left: 0.5rem;
}

.personalities-autoplay-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 9999px;
    margin-right: 0.25rem;
}

.personalities-autoplay-dot.active {
    background: #22c55e;
    animation: pulse 2s infinite;
}

.personalities-autoplay-dot.paused {
    background: #9ca3af;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ============================================
   RECOMMENDATIONS SECTION
   ============================================ */
.recommendations-section {
    padding: 4rem 0;
    background: var(--primary-blue);
}

.recommendations-section .section-title {
    color: var(--white);
}

.recommendations-description {
    color: #d1d5db;
    max-width: 42rem;
    margin: 0 auto;
}

/* Cities Grid */
.cities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .cities-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .cities-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

.city-card {
    position: relative;
    height: 10rem;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    cursor: pointer;
}

@media (min-width: 768px) {
    .city-card {
        height: 12rem;
    }
}

.city-card:hover {
    transform: scale(1.02);
}

.city-card.selected {
    box-shadow: 0 0 0 4px var(--gold);
    transform: scale(1.05);
    box-shadow: var(--shadow-2xl), 0 0 0 4px var(--gold);
}

.city-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.city-card:hover .city-image {
    transform: scale(1.1);
}

.city-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--primary-blue), rgba(0, 56, 184, 0.5), transparent);
}

.city-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    text-align: left;
}

.city-name {
    color: var(--white);
    font-weight: 700;
    font-size: 1.125rem;
}

.city-hebrew {
    color: var(--gold);
    font-size: 0.75rem;
}

.city-description {
    color: #d1d5db;
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

.city-check {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 1.5rem;
    height: 1.5rem;
    background: var(--gold);
    border-radius: 9999px;
    display: none;
    align-items: center;
    justify-content: center;
}

.city-card.selected .city-check {
    display: flex;
}

.city-check svg {
    width: 1rem;
    height: 1rem;
    color: var(--primary-blue);
}

/* Categories Box */
.categories-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.categories-title {
    color: var(--white);
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 768px) {
    .categories-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

.category-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transition: all 0.3s ease;
}

.category-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.category-btn.selected {
    background: var(--gold);
    color: var(--primary-blue);
}

.category-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.category-name {
    font-size: 0.75rem;
    font-weight: 500;
    text-align: center;
}

/* Business Card */
.business-card {
    background: var(--white);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
}

.business-grid {
    display: grid;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .business-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.business-image-wrapper {
    position: relative;
    height: 16rem;
}

@media (min-width: 768px) {
    .business-image-wrapper {
        height: auto;
    }
}

.business-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.business-mobile-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 56, 184, 0.8), transparent);
}

@media (min-width: 768px) {
    .business-mobile-gradient {
        display: none;
    }
}

.business-info {
    padding: 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.business-tags {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.business-tag {
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 9999px;
}

.business-tag-category {
    background: rgba(212, 175, 55, 0.2);
    color: var(--gold);
}

.business-tag-city {
    background: rgba(0, 56, 184, 0.1);
    color: var(--primary-blue);
}

.business-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
    .business-name {
        font-size: 1.875rem;
    }
}

.business-description {
    color: var(--text-gray);
    margin-bottom: 1rem;
}

.business-phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.business-phone:hover {
    color: var(--gold);
}

.business-phone svg {
    width: 1rem;
    height: 1rem;
}

.business-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--gold);
    color: var(--primary-blue);
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    font-weight: 700;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

.business-link:hover {
    background: var(--primary-blue);
    color: var(--white);
}

.business-link svg {
    width: 1.25rem;
    height: 1.25rem;
}

/* No Business Placeholder */
.no-business-card {
    background: linear-gradient(to right, var(--gold), var(--gold-dark));
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
}

.no-business-title {
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.no-business-description {
    color: rgba(0, 56, 184, 0.8);
    margin-bottom: 1.5rem;
}

.no-business-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-blue);
    color: var(--white);
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    font-weight: 700;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

.no-business-btn:hover {
    background: var(--white);
    color: var(--primary-blue);
}

.no-business-btn svg {
    width: 1.25rem;
    height: 1.25rem;
}

.no-business-note {
    color: rgba(0, 56, 184, 0.7);
    font-size: 0.875rem;
    margin-top: 1rem;
}

/* ============================================
   SUBSCRIPTION & CONTACT SECTION
   ============================================ */
.contact-section {
    padding: 4rem 0;
    background: linear-gradient(to bottom, var(--cream), var(--white));
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Subscription Plans */
.plans-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}

.plans-title svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--gold);
    margin-right: 0.5rem;
}

.plans-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.plan-card {
    position: relative;
    padding: 1.5rem;
    border-radius: 1rem;
    border: 2px solid #e5e7eb;
    background: var(--white);
    transition: all 0.3s ease;
}

.plan-card:hover {
    box-shadow: var(--shadow-xl);
}

.plan-card.highlighted {
    border-color: var(--gold);
    background: linear-gradient(to bottom right, rgba(212, 175, 55, 0.1), var(--white));
    box-shadow: var(--shadow-lg);
}

.plan-badge {
    position: absolute;
    top: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.25rem 1rem;
    background: var(--gold);
    color: var(--primary-blue);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 9999px;
}

.plan-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.plan-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.plan-period {
    color: var(--text-gray);
    font-size: 0.875rem;
}

.plan-price {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.plan-features {
    margin-bottom: 1.5rem;
}

.plan-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--text-gray);
    margin-bottom: 0.75rem;
}

.plan-feature-check {
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 9999px;
    background: rgba(212, 175, 55, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.plan-feature-check svg {
    width: 0.75rem;
    height: 0.75rem;
    color: var(--gold);
}

.plan-btn {
    width: 100%;
    padding: 0.75rem;
    border-radius: 9999px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.plan-btn-primary {
    background: var(--gold);
    color: var(--primary-blue);
}

.plan-btn-primary:hover {
    background: var(--primary-blue);
    color: var(--white);
}

.plan-btn-secondary {
    background: var(--primary-blue);
    color: var(--white);
}

.plan-btn-secondary:hover {
    background: var(--gold);
    color: var(--primary-blue);
}

/* Contact Form */
.form-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}

.form-title svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--gold);
    margin-right: 0.5rem;
}

.form-card {
    background: var(--white);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow-xl);
    border-top: 4px solid var(--gold);
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-blue);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-label svg {
    width: 1rem;
    height: 1rem;
    color: var(--gold);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.form-textarea {
    resize: none;
    min-height: 8rem;
}

.form-submit {
    width: 100%;
    padding: 0.75rem;
    background: var(--gold);
    color: var(--primary-blue);
    font-weight: 700;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.form-submit:hover {
    background: var(--primary-blue);
    color: var(--white);
}

.form-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.form-submit svg {
    width: 1.25rem;
    height: 1.25rem;
}

.form-success {
    text-align: center;
    padding: 2rem;
}

.form-success-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 9999px;
    background: #dcfce7;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.form-success-icon svg {
    width: 2rem;
    height: 2rem;
    color: #16a34a;
}

.form-success-title {
    font-size: 1.25rem;
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.form-success-text {
    color: var(--text-gray);
}

/* Newsletter Section */
.newsletter-section {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid #e5e7eb;
}

.newsletter-content {
    max-width: 42rem;
    margin: 0 auto;
}

.newsletter-form {
    background: var(--white);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    border-top: 4px solid var(--gold);
}

.newsletter-form-inner {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 640px) {
    .newsletter-form-inner {
        flex-direction: row;
    }
}

.newsletter-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-family: inherit;
    font-size: 1rem;
    height: 3rem;
    transition: all 0.3s ease;
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.newsletter-submit {
    padding: 0.75rem 2rem;
    background: var(--gold);
    color: var(--primary-blue);
    font-weight: 700;
    border-radius: 0.5rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.newsletter-submit:hover {
    background: var(--primary-blue);
    color: var(--white);
}

.newsletter-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.newsletter-submit svg {
    width: 1.25rem;
    height: 1.25rem;
}

.newsletter-note {
    font-size: 0.75rem;
    color: var(--text-gray);
    text-align: center;
    margin-top: 0.75rem;
}

.newsletter-success {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    border-top: 4px solid var(--gold);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: linear-gradient(to bottom, var(--primary-blue), var(--primary-blue-dark));
    color: var(--white);
    padding: 3rem 0 0;
    border-top: 4px solid var(--gold);
}

/* Editorial Team */
.editorial-team {
    padding-bottom: 2.5rem;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.editorial-header {
    text-align: center;
    margin-bottom: 2rem;
}

.editorial-header-inner {
    display: inline-block;
    position: relative;
}

.editorial-header-line {
    position: absolute;
    top: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 4rem;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
}

.editorial-header-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.editorial-header-side {
    display: flex;
    align-items: center;
}

.editorial-header-side-line {
    width: 3rem;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold));
}

.editorial-header-side:last-child .editorial-header-side-line {
    background: linear-gradient(to left, transparent, var(--gold));
}

.editorial-header-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 9999px;
    background: var(--gold);
    margin: 0 0.5rem;
}

.editorial-title-box {
    padding: 0.5rem 1.5rem;
    background: linear-gradient(to bottom, rgba(212, 175, 55, 0.2), transparent);
    border-radius: 0.5rem 0.5rem 0 0;
    border-top: 1px solid rgba(212, 175, 55, 0.4);
    border-left: 1px solid rgba(212, 175, 55, 0.4);
    border-right: 1px solid rgba(212, 175, 55, 0.4);
}

.editorial-title {
    color: var(--gold);
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: 0.05em;
    font-family: 'Times New Roman', serif;
}

.editorial-columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: 48rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .editorial-columns {
        grid-template-columns: 1fr 1fr;
    }
}

.editorial-column {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
    background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
}

.editorial-column-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, rgba(212, 175, 55, 0.5), var(--gold), rgba(212, 175, 55, 0.5));
}

.editorial-column-content {
    padding: 0.75rem;
}

.editorial-member {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem;
    border-radius: 0.25rem;
    transition: background 0.3s ease;
}

.editorial-member:hover {
    background: rgba(255, 255, 255, 0.1);
}

.editorial-member-name {
    color: var(--white);
    font-weight: 600;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.editorial-member:hover .editorial-member-name {
    color: var(--gold);
}

.editorial-member-role {
    color: var(--gold);
    font-size: 0.75rem;
    font-style: italic;
}

/* Footer Main Content */
.footer-main {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 640px) {
    .footer-main {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-main {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-brand {
    grid-column: span 1;
}

@media (min-width: 640px) {
    .footer-brand {
        grid-column: span 2;
    }
}

@media (min-width: 1024px) {
    .footer-brand {
        grid-column: span 1;
    }
}

.footer-logo {
    height: 7rem;
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .footer-logo {
        height: 8rem;
    }
}

.footer-tagline {
    font-size: 0.875rem;
    color: #e5e7eb;
    line-height: 1.75;
    margin-bottom: 1rem;
}

.footer-languages {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.footer-languages svg {
    width: 1rem;
    height: 1rem;
    color: var(--gold);
}

.footer-languages span {
    font-size: 1rem;
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.footer-social-link {
    width: 2rem;
    height: 2rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    transition: all 0.3s ease;
}

.footer-social-link:hover {
    background: var(--gold);
    color: var(--primary-blue);
}

.footer-social-link svg {
    width: 1rem;
    height: 1rem;
}

/* Footer Columns */
.footer-column-title {
    color: var(--gold);
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

@media (min-width: 640px) {
    .footer-column-title {
        font-size: 1rem;
    }
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-link {
    font-size: 0.875rem;
    color: #e5e7eb;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--gold);
}

.footer-magazine-features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #e5e7eb;
}

.footer-magazine-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-subscribe-btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: var(--gold);
    color: var(--primary-blue);
    font-weight: 700;
    border-radius: 9999px;
    font-size: 0.75rem;
    transition: all 0.3s ease;
}

@media (min-width: 640px) {
    .footer-subscribe-btn {
        font-size: 0.875rem;
    }
}

.footer-subscribe-btn:hover {
    background: var(--white);
}

.footer-contact-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-contact-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: #e5e7eb;
    transition: color 0.3s ease;
}

@media (min-width: 640px) {
    .footer-contact-link {
        font-size: 0.875rem;
    }
}

.footer-contact-link:hover {
    color: var(--gold);
}

.footer-contact-link svg {
    width: 1rem;
    height: 1rem;
    color: var(--gold);
    flex-shrink: 0;
}

/* Footer Bottom */
.footer-bottom {
    margin-top: 2rem;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
}

@media (min-width: 640px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-copyright {
    font-size: 0.75rem;
    color: #d1d5db;
}

.footer-privacy {
    font-size: 0.75rem;
    color: #d1d5db;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    transition: color 0.3s ease;
    cursor: pointer;
    background: none;
    border: none;
}

.footer-privacy:hover {
    color: var(--gold);
}

.footer-privacy svg {
    width: 0.75rem;
    height: 0.75rem;
}

.footer-heart {
    font-size: 0.75rem;
    color: #d1d5db;
}

/* ============================================
   PRIVACY MODAL
   ============================================ */
.privacy-modal {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.privacy-modal.active {
    display: flex;
}

.privacy-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.privacy-content {
    position: relative;
    background: var(--white);
    border-radius: 1rem;
    box-shadow: var(--shadow-2xl);
    max-width: 42rem;
    width: 100%;
    max-height: 80vh;
    overflow: hidden;
    z-index: 10;
}

.privacy-header {
    background: var(--primary-blue);
    color: var(--white);
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.privacy-header-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.privacy-header-title svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--gold);
}

.privacy-header-title h2 {
    font-size: 1.25rem;
    font-weight: 700;
}

.privacy-close {
    width: 2rem;
    height: 2rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.privacy-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.privacy-close svg {
    width: 1.25rem;
    height: 1.25rem;
}

.privacy-body {
    padding: 1.5rem;
    overflow-y: auto;
    max-height: 60vh;
}

.privacy-body p {
    color: var(--text-gray);
    margin-bottom: 0.75rem;
    line-height: 1.75;
}

.privacy-footer {
    border-top: 1px solid #e5e7eb;
    padding: 1rem;
    background: #f9fafb;
}

.privacy-accept {
    width: 100%;
    padding: 0.5rem;
    background: var(--gold);
    color: var(--primary-blue);
    font-weight: 700;
    border-radius: 9999px;
    transition: all 0.3s ease;
}

.privacy-accept:hover {
    background: var(--primary-blue);
    color: var(--white);
}

/* ============================================
   LOADING SPINNER
   ============================================ */
.spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ============================================
   ANIMATION UTILITIES
   ============================================ */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-slide-in {
    animation: slideIn 0.5s ease-out forwards;
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */
@media (max-width: 640px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .section-header {
        margin-bottom: 1.5rem;
    }
}
