/* ============================================
   УНИКАЛИЗАЦИЯ ПРОЕКТА: uferbahn.de
   CSS АРХИТЕКТУРА: BEM (Block Element Modifier)
   ПАЛИТРА: Rhine Valley (river-blue, vineyard-green, castle-stone, sunset-gold, forest-emerald)
   ЭФФЕКТ: Gradient Mesh (многослойные CSS градиенты)
   ТИПОГРАФИКА: Elegant Serif (Playfair Display + Source Sans 3)
   КНОПКИ: Gradient Fill с плавными переходами
   HTML СТРУКТУРА: BEM naming (block__element--modifier)
   JS NAMING: camelCase (стандартный)
   СТИЛИСТИКА: Элегантная классическая (Rhine Valley Theme)
   ============================================ */

/* === FONTS === */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Source+Sans+3:wght@400;500;600;700&display=swap');

/* === CSS VARIABLES === */
:root {
    /* Rhine Valley Palette */
    --river-blue: #2980b9;
    --river-deep: #1a5276;
    --vineyard-green: #27ae60;
    --vineyard-dark: #1e8449;
    --castle-stone: #7f8c8d;
    --castle-dark: #566573;
    --sunset-gold: #f39c12;
    --sunset-light: #f7dc6f;
    --forest-emerald: #1abc9c;
    --cream-white: #fdfefe;
    --charcoal: #2c3e50;
    --soft-gray: #ecf0f1;
    
    /* Typography */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Source Sans 3', 'Segoe UI', sans-serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    
    /* Layout */
    --container-max: 1200px;
    --header-height: 80px;
    
    /* Shadows */
    --shadow-soft: 0 4px 15px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.15);
    --shadow-strong: 0 12px 40px rgba(0, 0, 0, 0.2);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* === RESET & BASE === */
*,
*::before,
*::after {
    box-sizing: border-box !important;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden !important;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--charcoal);
    background: var(--cream-white);
    overflow-x: hidden !important;
    max-width: 100% !important;
}

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

a {
    color: var(--river-blue);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--river-deep);
}

ul, ol {
    list-style: none;
}

/* === BEM: CONTAINER BLOCK === */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* === BEM: BUTTON BLOCK === */
.button {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: var(--transition-normal);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.button--primary {
    background: linear-gradient(135deg, var(--river-blue), var(--forest-emerald));
    color: white;
    box-shadow: var(--shadow-soft);
}

.button--primary:hover {
    background: linear-gradient(135deg, var(--river-deep), var(--vineyard-dark));
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
    color: white;
}

.button--secondary {
    background: transparent;
    color: var(--charcoal);
    border: 2px solid var(--charcoal);
}

.button--secondary:hover {
    background: var(--charcoal);
    color: white;
    transform: translateY(-3px);
}

.button--success {
    background: linear-gradient(135deg, var(--vineyard-green), var(--forest-emerald));
    color: white;
}

.button--success:hover {
    background: linear-gradient(135deg, var(--vineyard-dark), var(--river-deep));
    color: white;
}

.button--danger {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
}

.button--danger:hover {
    background: linear-gradient(135deg, #c0392b, #922b21);
    color: white;
}

/* === BEM: CARD BLOCK === */
.card {
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    padding: var(--space-md);
    transition: var(--transition-normal);
    color: var(--charcoal);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-strong);
}

/* === BEM: BADGE BLOCK === */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge--free {
    background: linear-gradient(135deg, var(--vineyard-green), var(--forest-emerald));
    color: white;
}

.badge--warning {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
}

.badge--info {
    background: linear-gradient(135deg, var(--river-blue), var(--forest-emerald));
    color: white;
}

/* === BEM: MODAL BLOCK (Age Verification) === */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 62, 80, 0.95);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    padding: var(--space-md);
}

.modal__content {
    background: white;
    border-radius: 20px;
    padding: var(--space-lg);
    max-width: 500px;
    width: 100%;
    text-align: center;
    box-shadow: var(--shadow-strong);
}

.modal__title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--charcoal);
    margin-bottom: var(--space-md);
}

.modal__text {
    font-size: 1rem;
    margin-bottom: var(--space-sm);
    color: var(--castle-dark);
}

.modal__buttons {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    flex-wrap: wrap;
    margin-top: var(--space-md);
}

/* === BEM: COOKIE BANNER BLOCK === */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    max-width: 400px;
    background: white;
    border-radius: 16px;
    padding: var(--space-md);
    box-shadow: var(--shadow-strong);
    z-index: 9999;
    display: none;
}

.cookie-banner__title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: var(--space-xs);
    color: var(--charcoal);
}

.cookie-banner__text {
    font-size: 0.9rem;
    color: var(--castle-dark);
    margin-bottom: var(--space-sm);
}

.cookie-banner__buttons {
    display: flex;
    gap: var(--space-xs);
    flex-wrap: wrap;
}

.cookie-banner__link {
    display: block;
    margin-top: var(--space-xs);
    font-size: 0.85rem;
}

/* === BEM: HEADER BLOCK === */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-soft);
    z-index: 1000;
    height: var(--header-height);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.header__logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.header__logo-text {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--charcoal);
    background: linear-gradient(135deg, var(--river-blue), var(--forest-emerald));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header__badge {
    font-size: 0.7rem;
    padding: 4px 10px;
}

/* === BEM: NAVIGATION BLOCK === */
.nav {
    display: flex;
    align-items: center;
}

.nav__list {
    display: flex;
    gap: var(--space-md);
    align-items: center;
}

.nav__link {
    font-weight: 500;
    color: var(--charcoal);
    padding: 8px 0;
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--river-blue), var(--forest-emerald));
    transition: var(--transition-fast);
}

.nav__link:hover::after {
    width: 100%;
}

.nav__link:hover {
    color: var(--river-blue);
}

/* === BEM: BURGER MENU BLOCK === */
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    margin-left: auto;
}

.burger__line {
    width: 28px;
    height: 3px;
    background: var(--charcoal);
    border-radius: 2px;
    transition: var(--transition-fast);
}

.burger--active .burger__line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.burger--active .burger__line:nth-child(2) {
    opacity: 0;
}

.burger--active .burger__line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* === BEM: HERO BLOCK === */
.hero {
    min-height: 100vh;
    padding-top: calc(var(--header-height) + var(--space-xl));
    padding-bottom: var(--space-xl);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    /* Gradient Mesh Effect */
    background: 
        radial-gradient(ellipse at 20% 80%, rgba(41, 128, 185, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(26, 188, 156, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse at 40% 40%, rgba(243, 156, 18, 0.3) 0%, transparent 40%),
        radial-gradient(ellipse at 60% 60%, rgba(39, 174, 96, 0.3) 0%, transparent 45%),
        linear-gradient(135deg, var(--charcoal) 0%, var(--river-deep) 50%, var(--charcoal) 100%);
    background-attachment: scroll;
}

.hero__content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero__title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    color: white;
    line-height: 1.2;
    margin-bottom: var(--space-md);
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.hero__subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--soft-gray);
    margin-bottom: var(--space-lg);
    line-height: 1.8;
}

.hero__buttons {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
    justify-content: center;
}

.hero__badges {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
    flex-wrap: wrap;
    justify-content: center;
}

/* === BEM: SECTION BLOCK === */
.section {
    padding: var(--space-xl) 0;
}

.section--gray {
    background: var(--soft-gray);
}

.section--dark {
    background: 
        radial-gradient(ellipse at 30% 70%, rgba(41, 128, 185, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 30%, rgba(26, 188, 156, 0.3) 0%, transparent 50%),
        linear-gradient(135deg, var(--charcoal) 0%, var(--river-deep) 100%);
    color: white;
}

.section__title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--space-lg);
    position: relative;
    padding-bottom: var(--space-sm);
}

.section__title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--river-blue), var(--forest-emerald));
    border-radius: 2px;
}

.section--dark .section__title::after {
    background: linear-gradient(90deg, var(--sunset-gold), var(--sunset-light));
}

/* === BEM: BENEFITS BLOCK === */
.benefits {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

.benefits__item {
    flex: 0 0 auto;
    width: 320px;
    max-width: 100%;
    text-align: center;
}

.benefits__icon {
    font-size: 3.5rem;
    margin-bottom: var(--space-sm);
}

.benefits__title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
    color: var(--charcoal);
}

.benefits__text {
    font-size: 1rem;
    color: var(--castle-dark);
    line-height: 1.6;
}

/* === BEM: GAMES BLOCK === */
.games {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

.games__item {
    flex: 0 0 auto;
    width: 350px;
    max-width: 100%;
    text-align: center;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    color: var(--charcoal);
}

.games__image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: linear-gradient(135deg, var(--river-blue), var(--forest-emerald));
}

.games__content {
    padding: var(--space-md);
}

.games__title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--space-xs);
}

.games__rating {
    color: var(--sunset-gold);
    font-size: 1.1rem;
    margin-bottom: var(--space-xs);
}

.games__description {
    font-size: 0.95rem;
    color: var(--castle-dark);
    margin-bottom: var(--space-md);
    line-height: 1.5;
}

/* === BEM: FAQ BLOCK === */
.faq {
    max-width: 800px;
    margin: 0 auto;
}

.faq__item {
    margin-bottom: var(--space-sm);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.faq__question {
    width: 100%;
    background: white;
    border: none;
    padding: var(--space-md);
    text-align: left;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--charcoal);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-fast);
}

.faq__question:hover {
    background: var(--soft-gray);
}

.faq__icon {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--river-blue);
    transition: var(--transition-fast);
}

.faq__item--active .faq__icon {
    transform: rotate(45deg);
}

.faq__answer {
    display: none;
    padding: 0 var(--space-md) var(--space-md);
    background: white;
}

.faq__item--active .faq__answer {
    display: block;
}

.faq__answer p {
    color: var(--castle-dark);
    line-height: 1.7;
}

/* === BEM: TESTIMONIALS BLOCK === */
.testimonials {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

.testimonials__item {
    flex: 0 0 auto;
    width: 350px;
    max-width: 100%;
    text-align: center;
    color: var(--charcoal);
}

.testimonials__quote {
    font-style: italic;
    font-size: 1rem;
    margin-bottom: var(--space-md);
    line-height: 1.7;
    position: relative;
    padding: 0 var(--space-sm);
}

.testimonials__quote::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 0;
    font-size: 4rem;
    color: var(--river-blue);
    opacity: 0.2;
    font-family: var(--font-heading);
}

.testimonials__author {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--charcoal);
}

.testimonials__rating {
    color: var(--sunset-gold);
    margin-top: var(--space-xs);
}

/* === BEM: LEADERBOARD BLOCK === */
.leaderboard {
    max-width: 600px;
    margin: 0 auto;
}

.leaderboard__item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    margin-bottom: var(--space-sm);
    color: var(--charcoal);
}

.leaderboard__rank {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--sunset-gold);
    min-width: 50px;
    text-align: center;
}

.leaderboard__name {
    flex: 1;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
}

.leaderboard__score {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--vineyard-green);
}

/* === BEM: DISCLAIMER BLOCK === */
.disclaimer {
    background: linear-gradient(135deg, #2c3e50, #1a252f);
    padding: var(--space-lg);
    color: white;
}

.disclaimer__title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: var(--space-md);
    color: var(--sunset-gold);
}

.disclaimer__text {
    text-align: center;
    max-width: 900px;
    margin: 0 auto var(--space-sm);
    font-size: 1rem;
    line-height: 1.7;
}

.disclaimer__badges {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    flex-wrap: wrap;
    margin-top: var(--space-md);
}

.disclaimer__badge {
    background: rgba(255, 255, 255, 0.15);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* === BEM: FOOTER BLOCK === */
.footer {
    background: var(--charcoal);
    color: white;
    padding: var(--space-xl) 0 var(--space-md);
}

.footer__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.footer__column-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
    color: var(--sunset-gold);
}

.footer__text {
    color: var(--soft-gray);
    line-height: 1.7;
    font-size: 0.95rem;
}

.footer__list {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.footer__link {
    color: var(--soft-gray);
    transition: var(--transition-fast);
}

.footer__link:hover {
    color: white;
    padding-left: 5px;
}

.footer__compliance {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    align-items: center;
}

.footer__compliance-logo {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.8;
    transition: var(--transition-fast);
}

.footer__compliance-logo:hover {
    opacity: 1;
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-md);
    text-align: center;
}

.footer__bottom-text {
    color: var(--soft-gray);
    font-size: 0.9rem;
}

.footer__age-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: #e74c3c;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.85rem;
    margin-left: var(--space-xs);
    vertical-align: middle;
}

/* === UTILITIES === */
.text-center { text-align: center; }
.mb-1 { margin-bottom: var(--space-xs); }
.mb-2 { margin-bottom: var(--space-sm); }
.mb-3 { margin-bottom: var(--space-md); }
.mt-1 { margin-top: var(--space-xs); }
.mt-2 { margin-top: var(--space-sm); }

/* === RESPONSIVE === */
@media (max-width: 992px) {
    .nav__list {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: var(--space-md);
        box-shadow: var(--shadow-medium);
        transform: translateY(-150%);
        transition: var(--transition-normal);
        z-index: 999;
    }
    
    .nav--active .nav__list {
        transform: translateY(0);
    }
    
    .burger {
        display: flex;
    }
    
    .footer__grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer__compliance {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: calc(var(--header-height) + var(--space-lg));
    }
    
    .hero__buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .benefits,
    .games,
    .testimonials {
        flex-direction: column;
        align-items: center;
    }
    
    .benefits__item,
    .games__item,
    .testimonials__item {
        width: 100%;
        max-width: 400px;
    }
    
    .modal__buttons {
        flex-direction: column;
    }
    
    .cookie-banner {
        left: 10px;
        right: 10px;
        max-width: none;
    }
}

/* === PAGE SPECIFIC STYLES === */

/* About page */
.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-content h2 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    margin-bottom: var(--space-md);
    color: var(--charcoal);
}

.about-content p {
    margin-bottom: var(--space-md);
    line-height: 1.8;
}

/* Blog/Articles styles */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
}

.article-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-normal);
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-strong);
}

.article-card__image {
    height: 180px;
    background: linear-gradient(135deg, var(--river-blue), var(--forest-emerald));
}

.article-card__content {
    padding: var(--space-md);
}

.article-card__category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--river-blue);
    margin-bottom: var(--space-xs);
}

.article-card__title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: var(--space-xs);
    color: var(--charcoal);
}

.article-card__excerpt {
    font-size: 0.95rem;
    color: var(--castle-dark);
    line-height: 1.6;
    margin-bottom: var(--space-sm);
}

.article-card__link {
    font-weight: 600;
    color: var(--river-blue);
}

.article-card__link:hover {
    color: var(--river-deep);
}

/* Single article page */
.article-header {
    padding-top: calc(var(--header-height) + var(--space-lg));
    padding-bottom: var(--space-lg);
    background: 
        radial-gradient(ellipse at 30% 70%, rgba(41, 128, 185, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 30%, rgba(26, 188, 156, 0.3) 0%, transparent 50%),
        linear-gradient(135deg, var(--charcoal) 0%, var(--river-deep) 100%);
    color: white;
    text-align: center;
}

.article-header__category {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: var(--space-sm);
}

.article-header__title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    max-width: 800px;
    margin: 0 auto var(--space-sm);
}

.article-header__meta {
    color: var(--soft-gray);
    font-size: 0.95rem;
}

.article-body {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--space-xl) var(--space-md);
}

.article-body h2 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    margin: var(--space-lg) 0 var(--space-md);
    color: var(--charcoal);
}

.article-body h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    margin: var(--space-md) 0 var(--space-sm);
    color: var(--charcoal);
}

.article-body p {
    margin-bottom: var(--space-md);
    line-height: 1.9;
}

.article-body ul, .article-body ol {
    margin-bottom: var(--space-md);
    padding-left: var(--space-md);
}

.article-body li {
    margin-bottom: var(--space-xs);
    line-height: 1.7;
    list-style: disc;
}

.article-body ol li {
    list-style: decimal;
}

/* Breadcrumbs */
.breadcrumbs {
    padding: var(--space-sm) 0;
    font-size: 0.9rem;
}

.breadcrumbs a {
    color: var(--castle-dark);
}

.breadcrumbs a:hover {
    color: var(--river-blue);
}

.breadcrumbs span {
    color: var(--castle-stone);
    margin: 0 8px;
}

/* Forms */
.form-group {
    margin-bottom: var(--space-md);
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: var(--space-xs);
    color: var(--charcoal);
}

.form-input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--soft-gray);
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-input:focus {
    outline: none;
    border-color: var(--river-blue);
    box-shadow: 0 0 0 3px rgba(41, 128, 185, 0.1);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

/* Page header for subpages */
.page-header {
    padding-top: calc(var(--header-height) + var(--space-lg));
    padding-bottom: var(--space-lg);
    background: 
        radial-gradient(ellipse at 30% 70%, rgba(41, 128, 185, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 30%, rgba(26, 188, 156, 0.3) 0%, transparent 50%),
        linear-gradient(135deg, var(--charcoal) 0%, var(--river-deep) 100%);
    text-align: center;
    color: white;
}

.page-header__title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.page-header__subtitle {
    font-size: 1.1rem;
    color: var(--soft-gray);
    max-width: 600px;
    margin: 0 auto;
}
