/*
Theme Name: Sloboda Zvierat Presov
Theme URI: https://slobodazvierat-presov.sk
Author: Sloboda Zvierat Presov
Author URI: https://slobodazvierat-presov.sk
Description: Custom theme for Regionalne centrum - Sloboda zvierat, Presov - Animal shelter non-profit organization
Version: 1.0.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sloboda-zvierat
Tags: animal-shelter, non-profit, custom-menu, translation-ready

Regionalne centrum - Sloboda zvierat, Presov - Protecting animals from cruelty
*/

/* ==========================================================================
   CSS Variables - Color Scheme from Logo
   ========================================================================== */
:root {
    /* Primary Colors */
    --color-navy: #1B3A5F;
    --color-navy-light: #2a4d75;
    --color-navy-dark: #0f2540;

    /* Secondary Colors */
    --color-orange: #E8752A;
    --color-orange-light: #f5934d;
    --color-orange-dark: #c55d1a;

    /* Accent Colors */
    --color-red: #e74c3c;
    --color-red-light: #ec7063;
    --color-red-dark: #c0392b;

    --color-green: #10b981;
    --color-green-light: #34d399;
    --color-green-dark: #059669;

    /* Background Colors */
    --color-cream: #F5F1E8;
    --color-cream-dark: #e8e0d0;
    --color-white: #ffffff;

    /* Text Colors */
    --color-text: #333333;
    --color-text-light: #555555;
    --color-text-muted: #595959;  /* WCAG AA compliant: 7:1 on white */

    /* Typography */
    --font-primary: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-xxl: 3rem;

    /* Borders */
    --border-radius: 8px;
    --border-radius-lg: 16px;
    --border-radius-xl: 24px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);

    /* Transitions */
    --transition: all 0.3s ease;

    /* Layout */
    --container-width: 1200px;
    --header-height: 120px;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-cream);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-navy);
    margin-bottom: var(--spacing-md);
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: var(--spacing-md);
}

a {
    color: var(--color-orange);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--color-orange-dark);
}

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

ul, ol {
    margin-bottom: var(--spacing-md);
    padding-left: var(--spacing-xl);
}

/* ==========================================================================
   Container
   ========================================================================== */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
    background-color: var(--color-white);
    box-shadow: var(--shadow-sm);
    position: relative;
    z-index: 1000;
    height: var(--header-height);
}

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

.site-branding {
    display: flex;
    align-items: center;
    background: transparent;
}

.custom-logo-link {
    display: flex;
    align-items: center;
    background: transparent;
}

.site-logo,
.custom-logo {
    height: 108px;
    width: auto;
    transition: transform 0.3s ease;
    background: transparent;
}

.site-logo:hover,
.custom-logo:hover {
    transform: scale(1.05);
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.main-navigation {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: var(--spacing-xs);
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    display: block;
    padding: var(--spacing-sm) var(--spacing-md);
    color: var(--color-navy);
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu .current-menu-item > a,
.nav-menu .current_page_item > a {
    color: var(--color-orange);
    background-color: var(--color-cream);
}

/* Dropdown Menu */
.nav-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--color-white);
    min-width: 220px;
    box-shadow: var(--shadow-lg);
    border-radius: var(--border-radius);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    padding: var(--spacing-sm) 0;
    z-index: 100;
}

.nav-menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-menu .sub-menu a {
    padding: var(--spacing-sm) var(--spacing-lg);
    font-size: 0.9375rem;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-sm);
    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--color-navy);
    transition: var(--transition);
    border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ==========================================================================
   Language Switcher
   ========================================================================== */
.language-switcher {
    display: flex;
    align-items: stretch;
    gap: 0;
    background-color: var(--color-cream);
    border-radius: var(--border-radius-lg);
    padding: 4px;
    box-shadow: var(--shadow-sm);
}

.lang-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 14px;
    border: none;
    border-radius: var(--border-radius);
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-primary);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-navy);
    text-decoration: none;
    min-width: 75px;
}

.lang-btn:hover {
    background-color: rgba(232, 117, 42, 0.15);
    color: var(--color-orange);
}

.lang-btn.active {
    background-color: #c45a1a;  /* Darker orange for WCAG AA contrast */
    color: var(--color-white);
    box-shadow: var(--shadow-sm);
}

.lang-btn.active:hover {
    background-color: var(--color-orange);
    color: var(--color-white);
}

.lang-btn img,
.lang-btn svg {
    width: 24px;
    height: 16px;
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}

/* ==========================================================================
   Main Content
   ========================================================================== */
.site-main {
    min-height: calc(100vh - var(--header-height) - 300px);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-light) 100%);
    color: var(--color-white);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.hero-section .container {
    position: relative;
}

.hero-section .container::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    width: min(50%, 600px);
    height: 100%;
    max-height: 400px;
    background: var(--hero-bg-image, url('https://images.unsplash.com/photo-1450778869180-41d0601e046e?w=800&q=80')) center/cover;
    border-radius: var(--border-radius-lg);
    opacity: 0.9;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 570px;
    overflow: hidden;
}

.hero-section h1 {
    font-size: 2.75rem;
    color: var(--color-white);
    margin-bottom: var(--spacing-md);
}

.hero-section .motto {
    font-size: 1.4rem;
    color: var(--color-orange-light);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

.hero-section .hero-text {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-xl);
    opacity: 0.9;
    max-width: 100%;
    word-wrap: break-word;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: #c45a1a;  /* Darker orange for WCAG AA contrast (4.5:1) */
    color: var(--color-white);
    border-color: #c45a1a;
}

.btn-primary:hover {
    background-color: var(--color-orange);
    border-color: var(--color-orange);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: var(--color-navy);
    color: var(--color-white);
    border-color: var(--color-navy);
}

.btn-secondary:hover {
    background-color: var(--color-navy-dark);
    border-color: var(--color-navy-dark);
    color: var(--color-white);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--color-navy);
    color: var(--color-navy);
}

.btn-outline:hover {
    background-color: var(--color-navy);
    color: var(--color-white);
}

.btn-outline-white {
    background: transparent;
    border: 2px solid var(--color-white);
    color: var(--color-white);
}

.btn-outline-white:hover {
    background-color: var(--color-white);
    color: var(--color-navy);
}

.btn-tertiary {
    background: #27ae60;
    border: 2px solid #27ae60;
    color: var(--color-white);
}

.btn-tertiary:hover {
    background: #219a52;
    border-color: #219a52;
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* ==========================================================================
   Stats Section
   ========================================================================== */
.stats-section {
    background-color: var(--color-navy);
    color: var(--color-white);
    padding: 30px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-xl);
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--color-orange-light);  /* Orange on navy - good contrast */
    margin-bottom: var(--spacing-xs);
}

.stat-item p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
}

/* ==========================================================================
   Section Styles
   ========================================================================== */
.section {
    padding: var(--spacing-xxl) 0;
}

.section-light {
    background-color: var(--color-white);
}

.section-cream {
    background-color: var(--color-cream);
}

.section-navy {
    background-color: var(--color-navy);
    color: var(--color-white);
}

.section-navy h2,
.section-navy h3 {
    color: var(--color-white);
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-xxl);
}

.section-title h2,
h2.section-title {
    font-size: 2.25rem;
    margin-bottom: var(--spacing-xxl);
    position: relative;
    display: inline-block;
    color: var(--color-navy);
}

.section-title p {
    color: var(--color-text-light);
    font-size: 1.1rem;
    margin: 0;
}

/* ==========================================================================
   Animals Grid
   ========================================================================== */
.animals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--spacing-xl);
}

.animal-card {
    background-color: var(--color-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.animal-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.animal-image-container {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.animal-profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.animal-card:hover .animal-profile-image {
    transform: scale(1.05);
}

.animal-badge {
    position: absolute;
    top: var(--spacing-md);
    left: var(--spacing-md);
    padding: calc(var(--spacing-xs) + 2px) 0.75rem var(--spacing-xs) 0.75rem;
    background-color: #28a745;
    color: var(--color-white);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 20px;
    text-transform: uppercase;
    line-height: 1.4;
}

.animal-badge.adopted {
    background-color: #1e7e34;  /* Darker green for WCAG AA contrast */
}

.animal-badge.reserved {
    background-color: #ffc107;
    color: #333;
}

.animal-badge.deceased {
    background-color: #6c757d;
    color: white;
}

/* Program badges container - flexbox for dynamic stacking */
.animal-program-badges {
    position: absolute;
    top: calc(var(--spacing-md) + 31px);
    left: var(--spacing-md);
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 1;
}

.animal-program-badges .animal-badge {
    position: relative;
    top: auto;
    left: auto;
}

/* Virtual adoption badge - matches single page amber color */
.animal-badge.virtual-adoption {
    background-color: #d4920c;  /* Darker amber for WCAG AA contrast */
    color: #fff;
}

/* Foster care badge - orange */
.animal-badge.foster-care {
    background-color: #c45a1a;
    color: white;
}

/* In foster care location badge - blue */
.animal-badge.in-foster-care {
    background-color: #1565c0;
    color: #fff;
}

/* Available for adoption badge - green, shown for foster-care animals */
.animal-badge.adoption-available {
    background-color: #28a745;
    color: white;
}

/* Special needs badge - purple for attention */
.animal-badge.special-needs {
    background-color: #7b2d8e;  /* Darker purple for WCAG AA contrast */
    color: white;
}

/* Table view virtual adoption status */
.animal-status.status-virtual {
    background-color: #9c27b0;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

/* Table view foster care status */
.animal-status.status-foster {
    background-color: #3498db;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.animal-content {
    padding: var(--spacing-md);
    display: flex;
    flex-direction: column;
    flex: 1;
}

.animal-content h3 {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-xs);
    line-height: 1.3;
}

.animal-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    color: var(--color-text-muted);
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

.animal-meta span {
    display: flex;
    align-items: center;
    gap: 3px;
}

.animal-content > p {
    color: var(--color-text-light);
    margin-bottom: var(--spacing-sm);
    font-size: 0.85rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Animal Gallery Thumbnails */
.animal-gallery {
    display: flex;
    gap: 6px;
    margin-bottom: var(--spacing-md);
    padding-top: var(--spacing-sm);
    border-top: 1px solid var(--color-cream-dark);
}

.gallery-thumb {
    width: 50px;
    height: 50px;
    border-radius: 6px;
    object-fit: cover;
    cursor: pointer;
    opacity: 0.7;
    transition: var(--transition);
    border: 2px solid transparent;
}

.gallery-thumb:hover,
.gallery-thumb.active {
    opacity: 1;
    border-color: var(--color-orange);
}

/* Animal Card Button */
.animal-content > .btn {
    margin-top: auto;
    padding-top: var(--spacing-sm);
    display: inline-block;
    align-self: flex-start;
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
}

/* ==========================================================================
   Shelter Page
   ========================================================================== */

/* Shelter Info Section */
.shelter-info {
    padding: var(--spacing-2xl) 0;
    background: var(--color-cream);
}

.shelter-info-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: var(--spacing-2xl);
    align-items: start;
    margin-bottom: var(--spacing-xl);
}

.shelter-info-content h2 {
    margin-bottom: var(--spacing-md);
    color: var(--color-navy);
}

.shelter-info-content p {
    color: var(--color-text-light);
    margin-bottom: var(--spacing-md);
}

.shelter-stats {
    display: flex;
    gap: var(--spacing-lg);
}

.shelter-stats .stat-item {
    background: white;
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    text-align: center;
    min-width: 100px;
    box-shadow: var(--shadow-sm);
}

.shelter-stats .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-orange);
    display: block;
}

.shelter-stats .stat-label {
    font-size: 0.875rem;
    color: var(--color-text-light);
}

.shelter-hours {
    background: white;
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
}

.shelter-hours h3 {
    margin-bottom: var(--spacing-md);
    color: var(--color-navy);
    font-size: 1.1rem;
}

.hours-grid {
    display: flex;
    gap: var(--spacing-xl);
    flex-wrap: wrap;
}

.hours-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.hours-item strong {
    color: var(--color-navy);
    font-size: 0.9rem;
}

.hours-item span {
    color: var(--color-text-light);
    font-size: 0.9rem;
}

/* Shelter Animals Section */
.shelter-animals {
    padding: var(--spacing-2xl) 0;
    background-color: #f5f1e8;
}

.shelter-animals .section-title {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

/* Animal Controls */
.animals-controls {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    padding: var(--spacing-lg);
    background: var(--color-cream);
    border-radius: var(--border-radius-lg);
}

.filters-row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.filter-group label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-select {
    padding: 0.5rem 2rem 0.5rem 0.75rem;
    border: 1px solid var(--color-cream-dark);
    border-radius: var(--border-radius);
    background: white;
    font-size: 0.9rem;
    min-width: 140px;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6,9 12,15 18,9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
}

.filter-select:focus {
    outline: none;
    border-color: var(--color-orange);
}

/* View Toggle */
.view-toggle {
    display: flex;
    gap: 0.25rem;
    background: white;
    padding: 0.25rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--color-cream-dark);
}

.view-btn {
    padding: 0.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--color-text-light);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.view-btn:hover {
    color: var(--color-orange);
}

.view-btn.active {
    background: var(--color-orange);
    color: white;
}

/* Results Info */
.results-info {
    margin-bottom: var(--spacing-md);
    color: var(--color-text-light);
    font-size: 0.9rem;
}

/* Animal Grid Enhancements */
.animals-grid-view .animal-card .animal-info {
    padding: var(--spacing-md);
}

.animals-grid-view .animal-name {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.animals-grid-view .animal-name a {
    color: var(--color-navy);
    text-decoration: none;
}

.animals-grid-view .animal-name a:hover {
    color: var(--color-orange);
}

.animals-grid-view .animal-meta {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.animals-grid-view .meta-item {
    font-size: 0.85rem;
    color: var(--color-text-light);
}

.animals-grid-view .meta-item:not(:last-child)::after {
    content: "•";
    margin-left: 0.75rem;
    color: var(--color-cream-dark);
}

.animal-type-badge {
    display: inline-block;
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    background: var(--color-cream);
    color: var(--color-text-light);
    border-radius: 4px;
    margin-right: 0.5rem;
    text-transform: uppercase;
}

.animal-placeholder {
    background: var(--color-cream-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
}

/* Animal Table View */
.animals-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.animals-table thead {
    background: var(--color-navy);
    color: white;
}

.animals-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.85rem;
}

.animals-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--color-cream);
    vertical-align: middle;
}

.animals-table tbody tr:hover {
    background: var(--color-cream);
}

.animals-table .col-image {
    width: 80px;
}

.table-thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--border-radius);
}

.table-thumb-placeholder {
    width: 60px;
    height: 60px;
    background: var(--color-cream-dark);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
}

.animals-table .col-name a {
    color: var(--color-navy);
    text-decoration: none;
}

.animals-table .col-name a:hover {
    color: var(--color-orange);
}

.animals-table .col-action {
    text-align: right;
}

.btn-small {
    padding: 0.4rem 0.75rem;
    font-size: 0.8rem;
}

/* Shelter CTA */
.shelter-cta {
    padding: var(--spacing-2xl) 0;
    background: var(--color-navy);
    color: white;
    text-align: center;
}

.shelter-cta h2 {
    color: white;
    margin-bottom: var(--spacing-md);
}

.shelter-cta p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--spacing-lg);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.shelter-cta .btn-outline {
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
}

.shelter-cta .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* Responsive for Shelter Page */
@media (max-width: 992px) {
    .shelter-info-grid {
        grid-template-columns: 1fr;
    }

    .shelter-stats {
        justify-content: center;
    }

    .animals-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .filters-row {
        justify-content: flex-start;
    }

    .view-toggle {
        align-self: flex-end;
    }
}

@media (max-width: 768px) {
    .shelter-stats {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hours-grid {
        flex-direction: column;
        gap: var(--spacing-md);
    }

    .filter-select {
        min-width: 100%;
    }

    .animals-table .col-size,
    .animals-table .col-gender {
        display: none;
    }

    .animals-table th,
    .animals-table td {
        padding: 0.5rem;
        font-size: 0.85rem;
    }

    .table-thumb {
        width: 50px;
        height: 50px;
    }
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--color-cream-dark);
    border-top-color: var(--color-orange);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.grid.loading {
    opacity: 0.5;
    pointer-events: none;
}

/* No Results */
.no-results {
    text-align: center;
    padding: var(--spacing-2xl);
    background: var(--color-cream);
    border-radius: var(--border-radius-lg);
}

.no-results h2,
.no-results h3 {
    color: var(--color-navy);
    margin-bottom: var(--spacing-md);
}

.no-results p {
    color: var(--color-text-light);
    margin-bottom: var(--spacing-lg);
}

/* ==========================================================================
   News Grid
   ========================================================================== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: var(--spacing-xl);
}

.news-card {
    background-color: var(--color-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.news-image {
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    padding: var(--spacing-lg);
}

.news-date {
    font-size: 0.875rem;
    color: #c45a1a;  /* Darker orange for WCAG AA contrast on white */
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.news-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.news-content h3 a {
    color: var(--color-navy);  /* Navy has 9.7:1 contrast on white - WCAG AAA */
    text-decoration: none;
}

.news-content h3 a:hover {
    color: #c45a1a;  /* Darker orange for hover state */
}

.news-content > p {
    color: var(--color-text-light);
    margin-bottom: var(--spacing-md);
}

/* ==========================================================================
   2% Tax Donation Promo Section
   ========================================================================== */
.tax-donation-promo {
    background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-dark) 100%);
    color: var(--color-white);
    padding: 2rem 0;
    position: relative;
    overflow: hidden;
}

.tax-donation-promo::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 40%;
    background: linear-gradient(135deg, rgba(232, 117, 42, 0.15) 0%, rgba(232, 117, 42, 0.05) 100%);
    clip-path: polygon(20% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.tax-promo-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.tax-promo-icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    background: var(--color-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(232, 117, 42, 0.4);
}

.tax-promo-icon svg {
    width: 32px;
    height: 32px;
    color: var(--color-white);
}

.tax-promo-text {
    flex-grow: 1;
}

.tax-promo-text h2 {
    font-size: 1.5rem;
    color: var(--color-white);
    margin-bottom: 0.25rem;
}

.tax-promo-text p {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0;
}

.tax-promo-badge {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 0.75rem 1.25rem;
}

.tax-promo-badge .badge-percent {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-orange);
    line-height: 1;
}

.tax-promo-badge .badge-text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

.tax-donation-promo .btn-secondary {
    flex-shrink: 0;
    background-color: #C9302C;
    border-color: #C9302C;
    padding: 0.875rem 2rem;
    font-weight: 700;
}

.tax-donation-promo .btn-secondary:hover {
    background-color: #A02622;
    border-color: #A02622;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(201, 48, 44, 0.4);
}

/* Responsive for tax promo */
@media (max-width: 991px) {
    .tax-promo-content {
        flex-wrap: wrap;
        text-align: center;
        justify-content: center;
    }

    .tax-promo-text {
        flex-basis: 100%;
        order: 1;
    }

    .tax-promo-icon {
        order: 0;
    }

    .tax-promo-badge {
        order: 2;
    }

    .tax-donation-promo .btn-secondary {
        order: 3;
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 575px) {
    .tax-donation-promo {
        padding: 1.5rem 0;
    }

    .tax-promo-content {
        gap: 1rem;
    }

    .tax-promo-text h2 {
        font-size: 1.25rem;
    }

    .tax-promo-badge {
        display: none;
    }
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.cta-section {
    background: linear-gradient(135deg, var(--color-orange) 0%, var(--color-orange-dark) 100%);
    color: var(--color-white);
    padding: 3.5rem 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.25rem;
    color: var(--color-white);
    margin-bottom: var(--spacing-md);
}

.cta-section p {
    font-size: 1.15rem;
    margin-bottom: var(--spacing-xl);
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

.cta-section .btn-secondary {
    background-color: var(--color-white);
    color: var(--color-orange);
    border-color: var(--color-white);
}

.cta-section .btn-secondary:hover {
    background-color: var(--color-navy);
    color: var(--color-white);
    border-color: var(--color-navy);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background-color: var(--color-navy-dark);
    color: var(--color-white);
    padding: var(--spacing-xxl) 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
}

.footer-about h3 {
    color: var(--color-white);
    font-size: 1.25rem;
    margin-bottom: var(--spacing-md);
}

.footer-about p {
    opacity: 0.8;
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
}

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

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    border-radius: 50%;
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--color-orange);
}

.footer-column h4 {
    color: var(--color-white);
    font-size: 1rem;
    margin-bottom: var(--spacing-md);
    font-family: var(--font-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column li {
    margin-bottom: var(--spacing-sm);
}

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
}

.footer-column a:hover {
    color: var(--color-orange);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--spacing-lg) 0;
    text-align: center;
}

.footer-bottom p {
    opacity: 0.6;
    font-size: 0.875rem;
    margin: 0;
}

.footer-separator {
    margin: 0 0.5rem;
    opacity: 0.5;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: underline;  /* WCAG: Links must be distinguishable from text */
}

.footer-bottom a:hover {
    color: var(--color-orange);
    text-decoration: underline;
}

/* ==========================================================================
   Privacy Policy Page
   ========================================================================== */
.privacy-policy-section {
    padding: var(--spacing-xxl) 0;
}

.privacy-content {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.privacy-intro {
    font-size: 1.1rem;
    color: var(--color-text);
    line-height: 1.7;
    margin-bottom: var(--spacing-xl);
    padding-bottom: var(--spacing-lg);
    border-bottom: 2px solid var(--color-cream-dark);
}

.privacy-content h2 {
    color: var(--color-navy);
    font-size: 1.5rem;
    margin: var(--spacing-xl) 0 var(--spacing-md);
    padding-top: var(--spacing-md);
}

.privacy-content h2:first-of-type {
    margin-top: 0;
    padding-top: 0;
}

.privacy-content h3 {
    color: var(--color-navy-light);
    font-size: 1.15rem;
    margin: var(--spacing-lg) 0 var(--spacing-sm);
}

.privacy-content p {
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
}

.privacy-content ul {
    margin-bottom: var(--spacing-md);
    padding-left: var(--spacing-lg);
}

.privacy-content li {
    margin-bottom: var(--spacing-sm);
    line-height: 1.6;
}

.privacy-content a {
    color: var(--color-orange);
    text-decoration: none;
}

.privacy-content a:hover {
    text-decoration: underline;
}

.privacy-updated {
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-lg);
    border-top: 2px solid var(--color-cream-dark);
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

/* ==========================================================================
   Page Header
   ========================================================================== */
.page-header {
    background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-light) 100%);
    color: var(--color-white);
    padding: var(--spacing-xxl) 0;
    text-align: center;
}

.page-header h1 {
    color: var(--color-white);
    margin-bottom: var(--spacing-sm);
}

.page-header .page-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.125rem;
    margin: 0;
}

/* Page Header - News/Blog Single Post Styles */
.page-header .news-category {
    display: inline-block;
    background: var(--color-orange);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--spacing-md);
}

.page-header .news-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    margin-top: var(--spacing-md);
}

.page-header .news-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.page-header .news-meta svg {
    opacity: 0.8;
}

@media (max-width: 768px) {
    .page-header .news-meta {
        gap: 1rem;
        font-size: 0.85rem;
    }
}

/* ==========================================================================
   Page Hero Sections (New Slim Design)
   ========================================================================== */
.page-hero {
    position: relative;
    padding: 2.5rem 0;
    height: 280px;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/><circle cx="50" cy="50" r="30" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/><circle cx="50" cy="50" r="20" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></svg>') center/cover;
    opacity: 0.5;
}

.page-hero > .container {
    width: 100%;
}

.page-hero-content {
    position: relative;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2rem;
    align-items: center;
}

.page-hero .section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.9;
    margin-bottom: 0.75rem;
    color: white;
}

.page-hero-text h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    line-height: 1.2;
    color: white;
}

.page-hero-text p {
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
    max-width: 540px;
    color: white;
}

.page-hero-visual {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.page-hero .hero-icon-wrapper {
    width: 140px;
    height: 140px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: heroIconPulse 3s ease-in-out infinite;
}

.page-hero .hero-icon-wrapper svg {
    color: white;
}

@keyframes heroIconPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.9; }
}

/* Hero Color Variations */
.shelter-hero,
.contact-hero {
    background: linear-gradient(135deg, var(--color-orange) 0%, #f59e0b 100%);
}

.blog-hero,
.news-hero,
.mission-hero,
.about-hero,
.help-hero {
    background: linear-gradient(135deg, var(--color-navy) 0%, #2a4a6f 100%);
}

.tax-hero {
    background: linear-gradient(135deg, var(--color-red) 0%, var(--color-red-dark) 100%);
}

.adoption-hero-new {
    background: linear-gradient(135deg, var(--color-orange) 0%, #f59e0b 100%);
}

.foster-hero {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
}

.virtual-adoption-hero {
    background: linear-gradient(135deg, #f0ad4e 0%, #ec971f 100%);
}

/* Responsive */
@media (max-width: 1024px) {
    .page-hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .page-hero-text p {
        max-width: 100%;
    }

    .page-hero-visual {
        display: none;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 2rem 0;
        height: 200px;
    }

    .page-hero-text h1 {
        font-size: 1.75rem;
    }
}

.page-content {
    padding: var(--spacing-xxl) 0;
}

/* ==========================================================================
   Contact Page
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--spacing-xl);
}

.contact-card {
    background-color: var(--color-white);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-md);
}

.contact-card h2,
.contact-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 2px solid var(--color-cream);
}

.contact-item {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: var(--color-cream);
    color: var(--color-orange);
    border-radius: 50%;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-xs);
    font-family: var(--font-primary);
}

.contact-details p {
    margin: 0;
    color: var(--color-text);
}

.contact-details a {
    color: var(--color-navy);
}

.contact-details a:hover {
    color: var(--color-orange);
}

/* ==========================================================================
   Contact Form
   ========================================================================== */
.contact-form {
    max-width: 100%;
}

.form-row {
    display: flex;
    gap: var(--spacing-lg);
    margin-bottom: 0;
}

.form-group {
    flex: 1;
    margin-bottom: var(--spacing-lg);
}

.form-group-half {
    flex: 1;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--color-navy);
}

.form-group .required {
    color: var(--color-orange);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--color-cream-dark);
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition);
    background-color: var(--color-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-orange);
    box-shadow: 0 0 0 3px rgba(232, 117, 42, 0.1);
}

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

/* ==========================================================================
   Map Section
   ========================================================================== */
.map-container {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.map-container iframe {
    display: block;
    border: none;
}

.map-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: var(--spacing-lg);
    padding: var(--spacing-lg);
    background-color: var(--color-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    /* Hero image as full background on tablet */
    .hero-section .container::after {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        max-height: none;
        height: 100%;
        border-radius: 0;
        opacity: 0.3;
        transform: none;
        z-index: -1;
    }

    .hero-section::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(27, 58, 95, 0.8) 0%, rgba(27, 58, 95, 0.65) 100%);
        z-index: 0;
    }

    .hero-content {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 95px;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.85rem; }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--color-white);
        flex-direction: column;
        padding: var(--spacing-lg);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
        max-height: calc(100vh - var(--header-height));
        box-shadow: var(--shadow-md);
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-menu a {
        padding: var(--spacing-md);
        font-size: 1.125rem;
    }

    .nav-menu .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding-left: var(--spacing-lg);
    }

    .menu-toggle {
        display: flex;
        order: 2;
    }

    .main-navigation {
        gap: var(--spacing-sm);
    }

    .language-switcher {
        position: static;
        order: 1;
        padding: 2px;
    }

    .language-switcher .lang-btn {
        padding: 6px 10px;
        font-size: 0.8rem;
    }

    .language-switcher .lang-btn .flag-icon {
        width: 18px;
        height: 14px;
    }

    .hero-section {
        padding: var(--spacing-xxl) 0;
    }

    /* Hero image as full background on mobile */
    .hero-section .container::after {
        opacity: 0.35;
    }

    .hero-section::after {
        background: linear-gradient(135deg, rgba(27, 58, 95, 0.85) 0%, rgba(27, 58, 95, 0.7) 100%);
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
    }

    .hero-section h1 {
        font-size: 1.85rem;
    }

    .hero-section .motto {
        font-size: 1.15rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .animals-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-lg);
    }

    .footer-about {
        grid-column: 1 / -1; /* Span full width */
    }

    .footer-column:last-child {
        grid-column: 1 / -1; /* Kontakt spans full width */
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .map-info {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
    }

    .site-logo,
    .custom-logo {
        height: 80px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }

    .btn {
        padding: var(--spacing-sm) var(--spacing-md);
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-md);
    }

    .stat-item h3 {
        font-size: 2rem;
    }
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mt-3 { margin-top: var(--spacing-lg); }
.mt-4 { margin-top: var(--spacing-xl); }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }
.mb-4 { margin-bottom: var(--spacing-xl); }

.hidden { display: none; }
.visible { display: block; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Screen reader text */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: var(--color-cream);
    clip: auto !important;
    clip-path: none;
    color: var(--color-navy);
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* ==========================================================================
   News Single Page Styles
   ========================================================================== */

/* News Hero */
/* Note: .news-hero is used with .page-hero class for consistent hero styling */
/* Single blog/news hero - needs full hero styling since it doesn't use .page-hero class */
.news-hero {
    position: relative;
    padding: 2.5rem 0;
    min-height: 320px;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
    margin-bottom: 0;
    background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-light) 100%);
}

.news-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.news-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-hero-no-image {
    background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-light) 100%);
}

.news-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(27, 58, 95, 0.95) 0%, rgba(27, 58, 95, 0.3) 100%);
}

.news-hero .container {
    position: relative;
    z-index: 2;
}

.news-hero-content {
    padding: 3rem 0;
    color: white;
}

.news-category {
    display: inline-block;
    background: var(--color-orange);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.news-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: white;
}

.news-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

.news-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.news-meta svg {
    opacity: 0.8;
}

/* News Content */
.news-content-wrapper {
    padding: 3rem 0;
    background: var(--color-white);
}

.news-content-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
}

.news-main-content {
    max-width: 100%;
}

.news-main-content .entry-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text);
}

.news-main-content .entry-content p {
    margin-bottom: 1.5rem;
}

.news-main-content .entry-content h2,
.news-main-content .entry-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--color-navy);
}

.news-main-content .entry-content img {
    border-radius: var(--border-radius-lg);
    margin: 1.5rem 0;
}

.news-main-content .entry-content blockquote {
    border-left: 4px solid var(--color-orange);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--color-text-light);
}

.news-main-content .entry-content ul,
.news-main-content .entry-content ol {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.news-main-content .entry-content li {
    margin-bottom: 0.5rem;
}

/* Content Tables */
.content-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.content-table thead {
    background: var(--color-navy);
    color: white;
}

.content-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

.content-table td {
    padding: 0.875rem 1rem;
    border-bottom: 1px solid var(--color-cream-dark);
}

.content-table tbody tr:last-child td {
    border-bottom: none;
}

.content-table tbody tr:hover {
    background: var(--color-cream);
}

.content-table tbody tr:nth-child(even) {
    background: rgba(var(--color-cream-rgb, 245, 243, 239), 0.5);
}

.content-table tbody tr:nth-child(even):hover {
    background: var(--color-cream);
}

/* Info Boxes */
.info-box {
    padding: 1.25rem 1.5rem;
    margin: 2rem 0;
    border-radius: var(--border-radius-lg);
    border-left: 4px solid;
}

.info-box-tip {
    background: rgba(46, 125, 50, 0.08);
    border-color: #2e7d32;
}

.info-box-warning {
    background: rgba(237, 108, 2, 0.08);
    border-color: var(--color-orange);
}

.info-box-info {
    background: rgba(25, 118, 210, 0.08);
    border-color: #1976d2;
}

.info-box strong {
    display: block;
    margin-bottom: 0.5rem;
}

/* Content Images with Captions */
.content-image {
    margin: 2rem 0;
    text-align: center;
}

.content-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.content-image figcaption {
    margin-top: 0.75rem;
    font-size: 0.9rem;
    color: var(--color-text-light);
    font-style: italic;
}

/* External Links in Content */
.news-main-content .entry-content a[target="_blank"]::after {
    content: " ↗";
    font-size: 0.8em;
}

/* Infographics / Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.stat-card {
    background: var(--color-cream);
    padding: 1.5rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #c45a1a;  /* Darker orange for WCAG AA contrast */
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-top: 0.25rem;
}

/* Info Box - Danger variant */
.info-box-danger {
    background: rgba(211, 47, 47, 0.08);
    border-color: #d32f2f;
}

/* Comparison Table (alias for content-table in English posts) */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.comparison-table thead {
    background: var(--color-navy);
    color: white;
}

.comparison-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

.comparison-table td {
    padding: 0.875rem 1rem;
    border-bottom: 1px solid var(--color-cream-dark);
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.comparison-table tbody tr:hover {
    background: var(--color-cream);
}

.comparison-table tbody tr:nth-child(even) {
    background: rgba(var(--color-cream-rgb, 245, 243, 239), 0.5);
}

.comparison-table tbody tr:nth-child(even):hover {
    background: var(--color-cream);
}

/* Checklist - interactive looking check items */
.checklist {
    background: var(--color-cream);
    padding: 1.5rem 1.5rem 1.5rem 2rem;
    border-radius: var(--border-radius-lg);
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.checklist label {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    font-size: 1rem;
    line-height: 1.5;
    cursor: default;
}

.checklist label input[type="checkbox"] {
    margin-top: 0.3rem;
    accent-color: var(--color-orange);
    width: 1.1em;
    height: 1.1em;
    flex-shrink: 0;
}

/* Milestone Timeline - vertical step timeline */
.milestone-timeline {
    position: relative;
    padding-left: 2rem;
    margin: 2rem 0;
    border-left: 3px solid var(--color-orange);
}

.milestone-item {
    position: relative;
    padding: 0.75rem 0 1.5rem 1.5rem;
}

.milestone-item:last-child {
    padding-bottom: 0;
}

.milestone-item::before {
    content: '';
    position: absolute;
    left: -2.55rem;
    top: 1rem;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--color-orange);
    border: 3px solid white;
    box-shadow: 0 0 0 2px var(--color-orange);
}

.milestone-week {
    display: inline-block;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-orange);
    background: rgba(232, 117, 42, 0.1);
    padding: 0.2rem 0.75rem;
    border-radius: 20px;
    margin-bottom: 0.5rem;
}

.milestone-content {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text);
}

.milestone-content strong {
    color: var(--color-navy);
}

/* Responsive adjustments for content elements */
@media (max-width: 600px) {
    .content-table,
    .comparison-table {
        font-size: 0.9rem;
    }

    .content-table th,
    .content-table td,
    .comparison-table th,
    .comparison-table td {
        padding: 0.75rem 0.5rem;
    }

    .info-box {
        padding: 1rem;
    }

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

    .milestone-timeline {
        padding-left: 1.25rem;
    }

    .milestone-item {
        padding-left: 1rem;
    }

    .milestone-item::before {
        left: -1.9rem;
        width: 12px;
        height: 12px;
    }

    .checklist {
        padding: 1rem 1rem 1rem 1.25rem;
    }
}

/* News Footer */
.news-footer {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-cream-dark);
}

.news-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.tags-label {
    font-weight: 600;
    color: var(--color-text-light);
}

.news-tag {
    display: inline-block;
    background: var(--color-cream);
    color: var(--color-navy);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    transition: all 0.2s;
}

.news-tag:hover {
    background: var(--color-navy);
    color: white;
}

/* Share Section */
.news-share {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--color-cream);
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.share-label {
    font-weight: 600;
    color: var(--color-navy);
}

.share-buttons {
    display: flex;
    gap: 0.75rem;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    color: var(--color-navy);
    transition: all 0.2s;
}

.share-btn:hover {
    transform: translateY(-2px);
}

.share-facebook:hover {
    background: #1877f2;
    color: white;
}

.share-email:hover {
    background: var(--color-orange);
    color: white;
}

/* News Sidebar */
.news-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-widget {
    background: var(--color-cream);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.widget-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--color-cream-dark);
}

.back-to-news {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-navy);
    font-weight: 600;
    transition: all 0.2s;
}

.back-to-news:hover {
    color: var(--color-orange);
    transform: translateX(-3px);
}

/* Related Posts */
.related-posts {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.related-post {
    display: flex;
    gap: 1rem;
    padding: 0.75rem;
    background: white;
    border-radius: var(--border-radius);
    transition: all 0.2s;
}

.related-post:hover {
    transform: translateX(3px);
    box-shadow: var(--shadow-sm);
}

.related-post-image {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.related-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-post-content h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: 0.25rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-post-date {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

/* Sidebar CTA */
.sidebar-cta {
    background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-light) 100%);
    color: white;
    text-align: center;
}

.sidebar-cta h3 {
    color: white;
    margin-bottom: 0.5rem;
}

.sidebar-cta p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.btn-block {
    width: 100%;
}

/* News Navigation */
.news-navigation {
    background: var(--color-cream);
    padding: 2rem 0;
}

.news-nav-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.news-nav-item {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    background: white;
    border-radius: var(--border-radius-lg);
    transition: all 0.2s;
}

.news-nav-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.news-nav-prev {
    text-align: left;
}

.news-nav-next {
    text-align: right;
}

.news-nav-empty {
    background: transparent;
}

.nav-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
}

.news-nav-next .nav-label {
    justify-content: flex-end;
}

.nav-title {
    font-weight: 600;
    color: var(--color-navy);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ==========================================================================
   News Archive Page Styles
   ========================================================================== */

.news-archive {
    padding: 3rem 0;
    background: var(--color-white);
}

/* Featured Post */
.news-featured {
    margin-bottom: 3rem;
}

.news-featured-link {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    background: var(--color-cream);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: all 0.3s;
}

.news-featured-link:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.news-featured-image {
    position: relative;
    min-height: 350px;
}

.news-featured-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-featured-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(0,0,0,0.1) 100%);
}

.news-featured-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-featured-content .news-date {
    color: var(--color-orange);
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.news-featured-content h2 {
    font-size: 1.75rem;
    color: var(--color-navy);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.news-featured-content p {
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-orange);
    font-weight: 600;
    transition: all 0.2s;
}

.news-featured-link:hover .read-more {
    gap: 0.75rem;
}

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.news-card {
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
}

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

.news-card-link {
    display: block;
}

.news-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.news-card:hover .news-card-image img {
    transform: scale(1.05);
}

.news-placeholder-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-cream) 0%, var(--color-cream-dark) 100%);
}

.news-card-content {
    padding: 1.5rem;
}

.news-card-content .news-date {
    color: #c45a1a;  /* Darker orange for WCAG AA contrast */
    font-weight: 600;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
    display: block;
}

.news-card-content h3 {
    font-size: 1.1rem;
    color: var(--color-navy);
    margin-bottom: 0.75rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-content p {
    color: var(--color-text-light);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-content .read-more {
    font-size: 0.9rem;
}

/* News Pagination */
.news-pagination {
    margin-top: 3rem;
    text-align: center;
}

.news-pagination .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.news-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.75rem;
    background: white;
    border: 1px solid var(--color-cream-dark);
    border-radius: var(--border-radius);
    color: var(--color-navy);
    font-weight: 500;
    transition: all 0.2s;
}

.news-pagination .page-numbers:hover,
.news-pagination .page-numbers.current {
    background: var(--color-navy);
    border-color: var(--color-navy);
    color: white;
}

.news-pagination .prev,
.news-pagination .next {
    padding: 0 1rem;
}

/* News Empty State */
.news-empty {
    text-align: center;
    padding: 4rem 2rem;
}

.news-empty svg {
    color: var(--color-cream-dark);
    margin-bottom: 1.5rem;
}

.news-empty h2 {
    color: var(--color-navy);
    margin-bottom: 0.5rem;
}

.news-empty p {
    color: var(--color-text-light);
    margin-bottom: 2rem;
}

/* News CTA */
.news-cta {
    background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-light) 100%);
    padding: 4rem 0;
}

.news-cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.news-cta h2 {
    color: white;
    margin-bottom: 1rem;
}

.news-cta p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.news-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.news-cta-buttons .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Responsive News Styles */
@media (max-width: 992px) {
    .news-content-grid {
        grid-template-columns: 1fr;
    }

    .news-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .news-featured-link {
        grid-template-columns: 1fr;
    }

    .news-featured-image {
        min-height: 250px;
    }

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

@media (max-width: 768px) {
    .news-hero {
        min-height: 300px;
    }

    .news-hero h1 {
        font-size: 1.75rem;
    }

    .news-meta {
        gap: 1rem;
    }

    .news-sidebar {
        grid-template-columns: 1fr;
    }

    .news-nav-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .news-nav-next {
        text-align: left;
    }

    .news-nav-next .nav-label {
        justify-content: flex-start;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-share {
        flex-direction: column;
        text-align: center;
    }
}

/* ==========================================================================
   Photo Lightbox / Modal
   ========================================================================== */
.photo-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.photo-lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.photo-lightbox.fade-in {
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-image-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    max-height: calc(90vh - 120px);
    flex: 1 1 auto;
}

.lightbox-image {
    max-width: 90vw;
    max-height: calc(90vh - 120px);
    object-fit: contain;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.lightbox-image.loaded {
    opacity: 1;
    transform: scale(1);
}

.lightbox-close {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10001;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.lightbox-close svg {
    width: 24px;
    height: 24px;
    color: white;
}

.lightbox-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10001;
}

.lightbox-nav:hover {
    background: var(--color-orange);
    transform: translateY(-50%) scale(1.1);
}

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

.lightbox-nav:disabled:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-50%);
}

.lightbox-nav svg {
    width: 24px;
    height: 24px;
    color: white;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-caption {
    margin-top: 1rem;
    text-align: center;
    color: white;
    font-size: 1rem;
    max-width: 600px;
}

.lightbox-caption h3 {
    color: white;
    margin-bottom: 0.25rem;
    font-size: 1.25rem;
}

.lightbox-caption p {
    opacity: 0.8;
    margin: 0;
    font-size: 0.9rem;
}

.lightbox-counter {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    background: rgba(0, 0, 0, 0.5);
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

.lightbox-thumbnails {
    display: flex;
    gap: 8px;
    margin-top: 1rem;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    max-width: 90vw;
    max-height: 90px;
    overflow-x: auto;
    overflow-y: hidden;
    flex-shrink: 0;
}

.lightbox-thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    opacity: 0.5;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    flex-shrink: 0;
}

.lightbox-thumb:hover {
    opacity: 0.8;
}

.lightbox-thumb.active {
    opacity: 1;
    border-color: var(--color-orange);
}

/* Loading spinner for lightbox */
.lightbox-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-top-color: var(--color-orange);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Clickable image indicator */
.lightbox-trigger {
    cursor: zoom-in;
    position: relative;
}

.lightbox-trigger::after {
    content: '';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background: rgba(0, 0, 0, 0.5) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Cpath d='M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7'/%3E%3C/svg%3E") center/16px no-repeat;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.lightbox-trigger:hover::after {
    opacity: 1;
}

/* Responsive lightbox */
@media (max-width: 768px) {
    .lightbox-nav {
        width: 40px;
        height: 40px;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .lightbox-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
    }

    .lightbox-thumbnails {
        display: none;
    }

    .lightbox-image-container {
        max-height: 85vh;
    }

    .lightbox-image {
        max-width: 95vw;
        max-height: 85vh;
    }
}

/* Prevent body scroll when lightbox is open */
body.lightbox-open {
    overflow: hidden;
}

/* ==========================================================================
   About Page Styles
   ========================================================================== */

.about-page-content {
    /* Container for Gutenberg blocks */
}

/* About Intro Section */
.about-intro {
    padding: 4rem 0;
    background: #f8f6f3;
}

.about-intro-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.about-intro-content h2 {
    color: var(--color-navy);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.about-intro-content .lead {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.about-intro-content p {
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.about-quote {
    background: var(--color-cream);
    padding: 1.5rem 2rem;
    border-left: 4px solid var(--color-orange);
    margin: 2rem 0 0;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.about-quote p {
    font-size: 1.125rem;
    font-style: italic;
    color: var(--color-navy);
    margin-bottom: 0.5rem;
}

.about-quote cite {
    color: var(--color-orange);
    font-weight: 600;
}

.about-intro-image img {
    width: 100%;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-xl);
}

/* Logo variant for about intro */
.about-intro-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-cream);
    border-radius: var(--border-radius-xl);
    padding: 3rem;
}

.about-intro-logo img {
    width: 80%;
    max-width: 350px;
    border-radius: 0;
    box-shadow: none;
    filter: drop-shadow(0 10px 20px rgba(27, 58, 95, 0.15));
}

/* Values Section */
.about-values {
    padding: 5rem 0;
    background: var(--color-cream);
}

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

/* Center items in values grid */
.values-grid-centered {
    justify-items: center;
}

.values-grid-centered .value-item {
    max-width: 350px;
    width: 100%;
}

.value-item {
    text-align: center;
    padding: 2rem;
    background: var(--color-white);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.value-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--color-orange) 0%, #f59e0b 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.value-icon svg {
    width: 32px;
    height: 32px;
    color: white;
}

.value-item h3 {
    color: var(--color-navy);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.value-item p {
    color: var(--color-text-muted);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* Mission Pillars Section */
.mission-pillars {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--color-navy) 0%, #2a4a6f 100%);
}

.mission-pillars .section-title,
.mission-pillars .section-subtitle {
    color: white;
}

.mission-pillars .section-subtitle {
    opacity: 0.9;
}

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

.pillar-item {
    background: var(--color-white);
    border-radius: var(--border-radius-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

.pillar-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.pillar-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--color-orange) 0%, #f59e0b 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.pillar-icon svg {
    width: 40px;
    height: 40px;
    color: white;
}

.pillar-item h3 {
    color: var(--color-navy);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.pillar-item > p {
    color: var(--color-text);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.pillar-points {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pillar-points li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--color-text-muted);
    font-size: 0.9375rem;
}

.pillar-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 8px;
    height: 8px;
    background: var(--color-orange);
    border-radius: 50%;
}

@media (max-width: 992px) {
    .pillars-grid {
        grid-template-columns: 1fr;
    }

    .pillar-item {
        padding: 2rem;
    }
}

/* Mission & About Page Sections - Rounded Corners (matching adoption page pattern) */
.about-intro,
.mission-pillars,
.about-values,
.about-what-we-do,
.about-how-we-work,
.about-future,
.about-timeline,
.about-team,
.about-projects,
.about-help,
.about-cta {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
    border-radius: var(--border-radius-xl);
    overflow: hidden;
}

/* "Čo robíme" Section */
.about-what-we-do {
    padding: 4rem 0;
    background: var(--color-white);
}

.about-what-we-do .help-grid {
    grid-template-columns: repeat(4, 1fr);
}

.about-what-we-do .help-card {
    padding: 2rem 1.5rem;
}

.about-what-we-do .help-card-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1.25rem;
}

.about-what-we-do .help-card-icon svg {
    width: 32px;
    height: 32px;
    fill: none !important;
    stroke: white;
}

.about-what-we-do .help-card-icon svg path,
.about-what-we-do .help-card-icon svg polyline {
    fill: none !important;
    stroke: white;
}

/* "Plány do budúcnosti" Section */
.about-future {
    padding: 4rem 0;
    background: var(--color-cream);
}

.about-future .help-card-icon svg {
    width: 32px;
    height: 32px;
    fill: none !important;
    stroke: white;
}

.about-future .help-card-icon svg path,
.about-future .help-card-icon svg polyline,
.about-future .help-card-icon svg circle {
    fill: none !important;
    stroke: white;
}

.about-what-we-do .help-card h3 {
    font-size: 1.25rem;
}

/* "Ako fungujeme" Section */
.about-how-we-work {
    padding: 4rem 0;
    background: #f0f4f8;
}

/* Stats Section - Unified design for shelter and about pages */
.shelter-stats-section {
    padding: 3.2rem 0;
    background: linear-gradient(135deg, var(--color-navy) 0%, #2a4a6f 100%);
}

.shelter-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.6rem;
}

.shelter-stat-card {
    text-align: center;
    padding: 1.1rem 1.6rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-xl);
    transition: all 0.3s ease;
}

.shelter-stat-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

.shelter-stat-icon {
    width: 48px;
    height: 48px;
    background: var(--color-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.55rem;
}

.shelter-stat-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.shelter-stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.25rem;
}

.shelter-stat-label {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
}

/* Legacy about-stats styles (kept for backwards compatibility) */
.about-stats {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--color-navy) 0%, #2a4a6f 100%);
}

.about-stats .stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.about-stats .stat-item {
    text-align: center;
    color: white;
}

.about-stats .stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-orange);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.about-stats .stat-label {
    font-size: 1rem;
    color: white;
}

/* Responsive stats grid */
@media (max-width: 992px) {
    .shelter-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .shelter-stats-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .shelter-stat-card {
        padding: 0.85rem 1.2rem;
    }
}

/* Timeline Section */
.about-timeline {
    padding: 5rem 0;
    background: var(--color-white);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 50px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--color-orange), var(--color-navy));
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    padding-bottom: 2.5rem;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -38px;
    top: 5px;
    width: 16px;
    height: 16px;
    background: var(--color-white);
    border: 4px solid var(--color-orange);
    border-radius: 50%;
    z-index: 1;
}

.timeline-item.timeline-current::before {
    background: var(--color-orange);
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.3);
}

.timeline-year {
    display: inline-block;
    background: var(--color-navy);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.timeline-content h3 {
    color: var(--color-navy);
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* Team Section */
.about-team {
    padding: 5rem 0;
    background: var(--color-cream);
}

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

.team-member {
    background: var(--color-white);
    padding: 2rem;
    border-radius: var(--border-radius-xl);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.team-member-avatar {
    width: 80px;
    height: 80px;
    background: var(--color-cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    overflow: hidden;
}

.team-member-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member-avatar svg {
    width: 40px;
    height: 40px;
    color: var(--color-navy);
    fill: currentColor;
}

.team-member-avatar svg path {
    fill: currentColor;
}

.team-member-avatar.volunteers {
    background: var(--color-orange);
}

.team-member-avatar.volunteers svg {
    color: white;
    fill: currentColor;
}

.team-member h3 {
    color: var(--color-navy);
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.team-role {
    display: block;
    color: var(--color-orange);
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.team-member p {
    color: var(--color-text-muted);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* Projects Section */
.about-projects {
    padding: 5rem 0;
    background: var(--color-white);
}

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

.project-card {
    background: var(--color-cream);
    padding: 2rem;
    border-radius: var(--border-radius-xl);
    transition: all 0.3s ease;
}

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

.project-icon {
    width: 60px;
    height: 60px;
    background: var(--color-orange);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.project-icon svg {
    width: 30px;
    height: 30px;
    color: white;
}

.project-card h3 {
    color: var(--color-navy);
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.project-subtitle {
    color: var(--color-orange);
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.project-card > p {
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.project-stats {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 1.5rem;
}

.project-stats li {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.project-stats strong {
    display: block;
    font-size: 1.25rem;
    color: var(--color-navy);
}

/* Legal Section */
.about-legal {
    padding: 4rem 0;
    background: var(--color-cream);
}

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

.legal-card {
    background: var(--color-white);
    padding: 2rem;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-md);
}

.legal-card.highlight {
    background: linear-gradient(135deg, var(--color-orange) 0%, #f59e0b 100%);
    color: white;
}

.legal-card.highlight h3 {
    color: white;
}

.legal-card.highlight p {
    opacity: 0.95;
    margin-bottom: 1.5rem;
}

.legal-card.highlight dt {
    color: rgba(255,255,255,0.8);
}

.legal-card.highlight dd {
    color: white;
}

.legal-card h3 {
    color: var(--color-navy);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--color-cream);
}

.legal-card.highlight h3 {
    border-bottom-color: rgba(255,255,255,0.2);
}

.legal-card dl {
    margin: 0;
}

.legal-card dt {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
    margin-bottom: 0.25rem;
}

.legal-card dd {
    font-weight: 600;
    color: var(--color-navy);
    margin: 0 0 1rem;
}

.legal-card dd:last-child {
    margin-bottom: 0;
}

/* FAQ Section */
.about-faq {
    padding: 5rem 0;
    background: var(--color-white);
}

/* Page FAQ Section (Full Width Hero Template) */
.page-faq-section {
    padding: 5rem 0;
    background: var(--color-white);
}

.page-faq-section .section-title {
    text-align: center;
    margin-bottom: 2.5rem;
}

.page-faq-section .faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.page-faq-section .faq-item {
    background: var(--color-cream);
    padding: 1.5rem;
    border-radius: var(--border-radius-lg);
}

.page-faq-section .faq-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--color-navy);
}

.page-faq-section .faq-item p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .page-faq-section {
        padding: 3rem 0;
    }

    .page-faq-section .faq-grid {
        grid-template-columns: 1fr;
    }
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    background: var(--color-cream);
    padding: 1.5rem 2rem;
    border-radius: var(--border-radius-xl);
    border-left: 4px solid var(--color-orange);
}

.faq-item h3 {
    color: var(--color-navy);
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.faq-item p {
    color: var(--color-text-muted);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin: 0;
}

/* How You Can Help Section */
.about-help {
    padding: 5rem 0;
    background: var(--color-cream);
}

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

.help-card {
    background: var(--color-white);
    padding: 2.5rem;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all 0.3s ease;
}

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

.help-card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--color-orange) 0%, #f59e0b 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.help-card-icon svg {
    width: 40px;
    height: 40px;
    fill: white !important;
}

.help-card-icon svg path {
    fill: white !important;
}

.help-card h3 {
    color: var(--color-navy);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.help-card-subtitle {
    display: block;
    color: var(--color-orange);
    font-size: 0.9375rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.help-card p {
    color: var(--color-text-muted);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.help-card .btn {
    width: 100%;
}

@media (max-width: 992px) {
    .help-grid {
        grid-template-columns: 1fr;
    }
}

/* About CTA Section */
.about-cta {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--color-orange) 0%, #f59e0b 100%);
    color: white;
}

.about-cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.about-cta-content h2 {
    color: white;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.about-cta-content p {
    opacity: 0.95;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.about-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.about-cta .btn-secondary {
    background: var(--color-navy);
}

.about-cta .btn-secondary:hover {
    background: #2a4a6f;
}

/* About Page Responsive */
@media (max-width: 1024px) {
    .about-intro-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-intro-image {
        order: -1;
    }

    .about-what-we-do .help-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-stats .stats-grid,
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid,
    .projects-grid,
    .legal-grid,
    .faq-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .about-intro,
    .about-stats,
    .about-values,
    .about-what-we-do,
    .about-how-we-work,
    .about-timeline,
    .about-team,
    .about-projects,
    .about-legal,
    .about-faq,
    .about-help,
    .about-cta {
        padding: 3rem 0;
    }

    .about-what-we-do .help-grid {
        grid-template-columns: 1fr;
    }

    .about-stats .stats-grid,
    .values-grid,
    .team-grid,
    .projects-grid,
    .legal-grid,
    .faq-grid,
    .help-grid {
        grid-template-columns: 1fr;
    }

    .about-stats .stat-number {
        font-size: 2.5rem;
    }

    .project-stats {
        flex-direction: column;
        gap: 0.75rem;
    }

    .timeline {
        padding-left: 40px;
    }

    .timeline::before {
        left: 15px;
    }

    .timeline-item::before {
        left: -33px;
        width: 14px;
        height: 14px;
    }
}

/* ==========================================================================
   Tax Donation Page (2% z dane)
   ========================================================================== */
/* Note: .tax-hero uses .page-hero base styles with red gradient defined in Hero Color Variations */

/* Organization Info Section - Compact inline style */
.tax-org-section {
    padding: 2rem 0;
    background: var(--color-cream);
}

.org-info-card {
    background: var(--color-white);
    padding: 1.5rem 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 1rem;
}

.org-info-card h2 {
    color: var(--color-navy);
    font-size: 1.125rem;
    margin: 0;
    white-space: nowrap;
}

.org-details-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 1rem;
    flex: 1;
    justify-content: flex-start;
}

.org-detail {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    white-space: nowrap;
}

.detail-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-text-muted);
}

.detail-value {
    font-weight: 700;
    color: var(--color-navy);
    font-size: 1rem;
}

.org-copy-all {
    margin-left: auto;
    flex-shrink: 0;
}

.copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.copy-btn.copied {
    background: #27ae60;
    border-color: #27ae60;
    color: white;
}

/* Org info - tablet breakpoint */
@media (max-width: 1024px) {
    .org-info-card {
        flex-wrap: wrap;
        justify-content: center;
    }

    .org-details-grid {
        justify-content: center;
        width: 100%;
    }

    .org-copy-all {
        margin-left: 0;
        width: 100%;
        text-align: center;
        margin-top: 0.5rem;
    }
}

/* Guide Section */
.tax-guide-section {
    padding: 5rem 0;
    background: var(--color-white);
}

.guide-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.guide-tab {
    padding: 1rem 2rem;
    border: 2px solid var(--color-cream-dark);
    background: var(--color-white);
    border-radius: 50px;
    font-weight: 600;
    color: var(--color-text);
    cursor: pointer;
    transition: all 0.3s ease;
}

.guide-tab:hover {
    border-color: var(--color-orange);
    color: var(--color-orange);
}

.guide-tab.active {
    background: var(--color-navy);
    border-color: var(--color-navy);
    color: white;
}

.guide-panel {
    display: none;
    max-width: 900px;
    margin: 0 auto;
}

.guide-panel.active {
    display: block;
}

.guide-intro {
    background: var(--color-cream);
    padding: 1.5rem;
    border-radius: var(--border-radius-lg);
    margin-bottom: 2rem;
}

.guide-intro p {
    margin: 0;
    color: var(--color-text);
    font-size: 1.0625rem;
}

.guide-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.guide-step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.guide-step .step-number {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: var(--step-color, var(--color-orange));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
}

.guide-step .step-content {
    flex: 1;
    background: var(--color-cream);
    padding: 1.5rem;
    border-radius: var(--border-radius-lg);
    border-left: 4px solid var(--step-color, var(--color-orange));
}

.guide-step .step-content h3 {
    color: var(--color-navy);
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
}

.guide-step .step-content p {
    color: var(--color-text);
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.guide-step .step-content p:last-child {
    margin-bottom: 0;
}

.guide-step .step-content ul {
    margin: 0.75rem 0;
    padding-left: 1.5rem;
}

.guide-step .step-content li {
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.guide-note {
    background: linear-gradient(135deg, #fff9e6 0%, #fff3cd 100%);
    border: 2px solid #f39c12;
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.note-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: #f39c12;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.note-icon::before {
    content: "★";
    color: white;
}

.note-content h4 {
    color: #856404;
    margin-bottom: 0.5rem;
}

.note-content p {
    color: #664d03;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.note-content .note-small {
    font-size: 0.875rem;
    opacity: 0.9;
}

/* FAQ Section */
.tax-faq-section {
    padding: 5rem 0;
    background: var(--color-cream);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.faq-item {
    background: var(--color-white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
}

.faq-item h3 {
    color: var(--color-navy);
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
}

.faq-item p {
    color: var(--color-text);
    line-height: 1.6;
    margin: 0;
}

/* Tax CTA Section */
.tax-cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--color-navy) 0%, #2a4a6f 100%);
    text-align: center;
}

.tax-cta-section h2 {
    color: white !important;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.tax-cta-section p {
    color: rgba(255,255,255,0.9);
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.tax-cta-section .btn-primary {
    background: var(--color-orange);
}

.tax-cta-section .btn-secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
}

/* Tax Donation Responsive */
@media (max-width: 768px) {
    .tax-hero h1 {
        font-size: 2rem;
    }

    .tax-hero-highlight {
        flex-direction: column;
        text-align: center;
    }

    .highlight-icon {
        margin: 0 auto;
    }

    .org-details-grid {
        grid-template-columns: 1fr;
    }

    .guide-tabs {
        flex-direction: column;
    }

    .guide-tab {
        width: 100%;
        text-align: center;
    }

    .guide-step {
        flex-direction: column;
        gap: 1rem;
    }

    .guide-step .step-number {
        margin: 0 auto;
    }

    .guide-note {
        flex-direction: column;
        text-align: center;
    }

    .note-icon {
        margin: 0 auto;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   How to Help Page
   ========================================================================== */
/* Note: .help-hero uses .page-hero base styles with navy gradient defined in Hero Color Variations */

.help-badge {
    display: inline-block;
    background: var(--color-orange);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.help-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white !important;
}

.help-hero p {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Help Options Section */
.help-options-section {
    padding: 2.5rem 0 1.5rem 0;
    background: transparent;
}

.help-options-section .container {
    padding: 0 var(--spacing-md);
}

@media (min-width: 1025px) {
    .help-options-section .container {
        padding: 0;
    }
}

.help-options-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1rem;
    width: 100%;
}

/* Help Cards in Options Section */
.help-options-section .help-card {
    background: var(--color-white);
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.help-options-section .help-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Featured Card */
.help-options-section .help-card-featured {
    grid-column: span 3;
    flex-direction: row;
    background: linear-gradient(135deg, var(--color-orange) 0%, #f59e0b 100%);
    margin-bottom: 1.5rem;
}

.help-options-section .help-card-featured .help-card-content {
    color: white;
}

.help-options-section .help-card-featured .help-card-content h3 {
    color: white;
}

.help-options-section .help-card-featured .help-card-content > p {
    color: rgba(255,255,255,0.9);
}

.help-options-section .help-card-featured .help-benefits li {
    color: rgba(255,255,255,0.95);
}

.help-options-section .help-card-featured .help-benefits li::before {
    color: white;
}

.help-options-section .help-card-featured .btn-primary {
    background: var(--color-navy);
    border-color: var(--color-navy);
    color: white;
    font-weight: 700;
}

.help-options-section .help-card-featured .btn-primary:hover {
    background: var(--color-navy-dark);
    border-color: var(--color-navy-dark);
    color: white;
}

.help-options-section .help-card-featured .help-card-icon {
    min-width: 120px;
    background: rgba(255,255,255,0.2);
}

/* Highlight Card */
.help-options-section .help-card-highlight {
    border: 2px solid var(--card-color, var(--color-orange));
    position: relative;
}

.help-options-section .help-card-highlight::before {
    content: 'Odporúčame';
    position: absolute;
    top: -1px;
    right: 15px;
    background: var(--card-color, var(--color-orange));
    color: white;
    padding: 0.25rem 0.75rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 0 0 8px 8px;
    z-index: 1;
}

/* Card Icon */
.help-options-section .help-card-icon {
    background: var(--card-color, var(--color-orange));
    width: 60px;
    height: 60px;
    min-width: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.75rem;
    margin: 1rem auto;
}

.help-options-section .help-card-icon svg {
    width: 32px;
    height: 32px;
    fill: white !important;
}

.help-options-section .help-card-icon svg path {
    fill: white !important;
}

.help-options-section .help-card-featured .help-card-icon {
    width: 80px;
    height: 80px;
    min-width: 80px;
    font-size: 2.25rem;
    margin: 1.5rem;
}

.help-options-section .help-card-featured .help-card-icon svg {
    width: 40px;
    height: 40px;
    fill: white !important;
}

.help-options-section .help-card-featured .help-card-icon svg path {
    fill: white !important;
}

/* Card Content */
.help-options-section .help-card-content {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.help-options-section .help-card-content h3 {
    color: var(--color-navy);
    margin-bottom: 0.4rem;
    font-size: 1.35rem;
}

.help-options-section .help-card-content > p {
    color: var(--color-text);
    line-height: 1.4;
    margin-bottom: 0.6rem;
    font-size: 1.1rem;
}

/* Benefits List */
.help-options-section .help-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 0.75rem 0;
    flex: 1;
}

.help-options-section .help-benefits li {
    padding: 0.15rem 0;
    padding-left: 1.25rem;
    position: relative;
    color: var(--color-text);
    font-size: 1.05rem;
}

.help-options-section .help-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--card-color, var(--color-orange));
    font-weight: bold;
    font-size: 1.15rem;
}

/* Card Buttons */
.help-options-section .help-card .btn {
    align-self: flex-start;
    border-radius: var(--border-radius-lg);
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.help-options-section .help-card .btn-primary {
    background: var(--card-color, var(--color-orange));
    border-color: var(--card-color, var(--color-orange));
}

.help-options-section .help-card .btn-outline {
    color: var(--card-color, var(--color-orange));
    border-color: var(--card-color, var(--color-orange));
}

.help-options-section .help-card .btn-outline:hover {
    background: var(--card-color, var(--color-orange));
    color: white;
}

/* Impact Section */
.help-impact-section {
    padding: 1rem 0;
    background: transparent;
}

.help-impact-section .container {
    padding: 1.5rem;
    background: var(--color-cream);
    border-radius: var(--border-radius-xl);
}

.help-impact-section .impact-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 1rem;
    margin-top: 1.5rem;
}

.help-impact-section .impact-item {
    text-align: center;
    padding: 1.25rem 1rem;
    background: var(--color-white);
    border-radius: 16px !important;
    box-shadow: var(--shadow-sm);
}

.help-impact-section .impact-amount {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-orange);
    margin-bottom: 0.25rem;
}

.help-impact-section .impact-text {
    color: var(--color-text);
    font-size: 0.9375rem;
    line-height: 1.5;
}

/* Help CTA Section - Každá pomoc sa počíta */
.help-cta-section {
    padding: 3rem 0;
    background: linear-gradient(135deg, var(--color-orange) 0%, #f59e0b 100%);
    text-align: center;
}

.help-cta-section .container {
    padding: 0;
}

.help-cta-section h2 {
    color: white !important;
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.help-cta-section p {
    color: rgba(255,255,255,0.95);
    font-size: 1.125rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.help-cta-section .btn-primary {
    background: var(--color-navy);
    border-radius: var(--border-radius-xl);
    padding: 1rem 2.5rem;
    font-size: 1rem;
}

/* Help Page Responsive */
@media (max-width: 1024px) {
    .help-options-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .help-options-section .help-card-featured {
        grid-column: span 2;
    }

    .help-impact-section .impact-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .help-hero h1 {
        font-size: 2rem;
    }

    .help-options-section .container {
        padding: 0 var(--spacing-md);
    }

    .help-options-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem;
    }

    .help-options-section .help-card-featured {
        grid-column: span 1;
        flex-direction: column;
        text-align: center;
    }

    .help-options-section .help-card-featured .help-card-icon {
        margin: 1.5rem auto;
    }

    .help-options-section .help-card-featured .help-card-content {
        text-align: center;
    }

    .help-options-section .help-card-featured .btn {
        align-self: center;
    }

    .help-options-section .help-card-icon {
        padding: 1.25rem;
    }

    .help-options-section .help-card-content {
        padding: var(--spacing-md);
    }

    .help-impact-section .impact-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem;
    }

    .help-impact-section .impact-item {
        padding: 1.5rem 1rem;
        border-radius: 16px !important;
    }

    .help-impact-section .impact-amount {
        font-size: 2rem;
    }

    .help-cta-section h2 {
        font-size: 1.75rem;
    }

    /* Org info responsive */
    .org-info-card {
        flex-direction: column;
        flex-wrap: wrap;
        text-align: center;
        gap: 1rem;
    }

    .org-details-grid {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }

    .org-detail {
        white-space: normal;
    }

    .org-copy-all {
        margin-left: 0;
    }
}

/* ==========================================================================
   Adoption Page
   ========================================================================== */
.adoption-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: 4rem 0;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.adoption-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--color-orange), #f59e0b);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.adoption-hero h1 {
    font-size: 3rem;
    color: var(--color-navy);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.adoption-hero-text {
    font-size: 1.125rem;
    color: var(--color-text);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.adoption-hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.adoption-hero-stats .stat-item {
    text-align: center;
}

.adoption-hero-stats .stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #c45a1a;  /* Darker orange for WCAG AA contrast */
    line-height: 1;
}

.adoption-hero-stats .stat-label {
    font-size: 0.875rem;
    color: var(--color-text-light);
}

.adoption-hero-image img {
    width: 100%;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-xl);
}

/* Adoption Page Sections - Rounded Corners */
.why-adopt-section,
.adoption-process-section,
.adoption-included-section,
.adoption-cta-section,
.foster-care-section {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
    border-radius: var(--border-radius-xl);
    overflow: hidden;
}

/* Why Adopt Section */
.why-adopt-section {
    padding: 3rem 0;
    background: var(--color-cream);
}

.why-adopt-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.why-card {
    background: var(--color-white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: transform 0.3s ease;
}

.why-card:hover {
    transform: translateY(-5px);
}

.why-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.why-icon svg {
    width: 32px;
    height: 32px;
    stroke: white;
    fill: none;
}

.why-card h3 {
    color: var(--color-navy);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.why-card p {
    color: var(--color-text);
    line-height: 1.6;
    font-size: 0.9375rem;
}

/* Adoption Process Section */
.adoption-process-section {
    padding: 3rem 0;
    background: var(--color-white);
}

.process-timeline {
    max-width: 900px;
    margin: 2rem auto 0;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 30px;
    bottom: 30px;
    width: 4px;
    background: linear-gradient(to bottom, #e74c3c, #f39c12, #27ae60, #3498db, #9b59b6);
    border-radius: 2px;
}

.process-step {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    position: relative;
}

.process-step .step-number {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: var(--step-color, var(--color-orange));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.process-step .step-content {
    flex: 1;
    background: var(--color-cream);
    padding: 1.25rem 1.5rem;
    border-radius: var(--border-radius-lg);
    border-left: 4px solid var(--step-color, var(--color-orange));
}

.process-step .step-icon {
    width: 50px;
    height: 50px;
    background: var(--step-color, var(--color-orange));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: white;
}

.process-step .step-icon svg {
    width: 24px;
    height: 24px;
    stroke: white;
    fill: none;
}

.process-step .step-content h3 {
    color: var(--color-navy);
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.process-step .step-content p {
    color: var(--color-text);
    line-height: 1.6;
    margin: 0;
}

/* Adoption Included Section */
.adoption-included-section {
    padding: 3rem 0;
    background: var(--color-navy);
    color: white;
}

.adoption-included-section h2 {
    color: white !important;
}

.included-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.included-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255,255,255,0.1);
    border-radius: var(--border-radius-lg);
}

.included-icon {
    width: 50px;
    height: 50px;
    background: var(--color-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: white;
}

.included-icon svg {
    width: 24px;
    height: 24px;
    stroke: white;
    fill: none;
}

.included-item span {
    font-size: 0.9375rem;
    font-weight: 600;
}

/* Adoption CTA Section */
.adoption-cta-section {
    padding: 3rem 0;
    background: linear-gradient(135deg, var(--color-orange) 0%, #f59e0b 100%);
    text-align: center;
}

.adoption-cta-section h2 {
    color: white !important;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.adoption-cta-section p {
    color: rgba(255,255,255,0.9);
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.adoption-cta-section .btn-primary {
    background: var(--color-navy);
}

.adoption-cta-section .btn-secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
}

/* International Adoption Section */
.international-adoption-section {
    padding: 2.5rem 0;
    background: var(--color-navy);
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5rem;
    border-radius: var(--border-radius-xl);
    overflow: hidden;
}

.international-adoption-section .section-title {
    color: white !important;
}

.international-adoption-section .section-subtitle {
    color: rgba(255,255,255,0.8);
}

.international-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.country-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
}

.country-flag {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.country-card h3 {
    color: var(--color-navy);
    margin-bottom: 0.5rem;
}

.country-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.international-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 2rem 0;
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
}

.info-column h4 {
    color: white;
    margin-bottom: 1rem;
}

.info-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-column li {
    color: rgba(255,255,255,0.9);
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.info-column li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-orange);
}

.international-cta {
    text-align: center;
    margin-top: 2rem;
}

.international-cta .btn {
    background: var(--color-orange);
    color: white;
}

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

    .international-info {
        grid-template-columns: 1fr;
    }
}

/* Adoption Fees Section */
.adoption-fees-section {
    padding: 3rem 0;
    background: var(--color-white);
    max-width: 1400px;
    margin: 0 auto 1.5rem;
    border-radius: var(--border-radius-xl);
}

.adoption-fees-section .section-title {
    text-align: center;
    margin-bottom: 0.5rem;
}

.adoption-fees-section .section-subtitle {
    text-align: center;
    color: var(--color-text-muted);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.fees-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.fee-card {
    background: var(--color-cream);
    padding: 2rem;
    border-radius: var(--border-radius-xl);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

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

.fee-icon {
    width: 70px;
    height: 70px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.fee-card-highlight .fee-icon {
    background: linear-gradient(135deg, var(--color-orange) 0%, #f59e0b 100%);
}

.fee-card-highlight .fee-icon svg {
    color: white;
}

.fee-icon svg {
    width: 32px;
    height: 32px;
    color: var(--color-navy);
}

.fee-icon-cat svg,
.fee-icon-dog svg {
    width: 36px;
    height: 36px;
    fill: var(--color-navy);
}

.fee-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-navy);
}

.fee-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-orange);
    margin-bottom: 0.5rem;
}

.fee-card-highlight .fee-price {
    color: var(--color-orange);
}

.fee-description {
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

.fee-includes {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.fee-includes li {
    padding: 0.5rem 0;
    padding-left: 1.75rem;
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.fee-card-highlight .fee-includes li {
    border-bottom-color: rgba(255, 255, 255, 0.15);
}

.fee-includes li:last-child {
    border-bottom: none;
}

.fee-includes li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-orange);
    font-weight: bold;
}

/* Fee Card Highlight - must come AFTER general .fee-card rules for proper specificity */
.fee-card-highlight {
    background: linear-gradient(135deg, var(--color-navy) 0%, #2a4a6f 100%);
    color: white;
    border: 2px solid var(--color-orange);
}

.fee-card-highlight h3,
.fee-card-highlight .fee-price,
.fee-card-highlight .fee-description {
    color: white;
}

.fees-note {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--color-cream);
    border-radius: var(--border-radius-lg);
    border-left: 4px solid var(--color-orange);
}

.fees-note svg {
    flex-shrink: 0;
    color: var(--color-orange);
}

.fees-note p {
    margin: 0;
    color: var(--color-text);
}

@media (max-width: 992px) {
    .fees-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Foster Care Section on Adoption Page */
.foster-care-section {
    padding: 4rem 0;
    background: var(--color-white);
}

.foster-care-section .section-title {
    text-align: center;
    margin-bottom: 0.5rem;
}

.foster-care-section .section-subtitle {
    text-align: center;
    color: var(--color-text-muted);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.foster-care-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 3rem;
}

.foster-intro-content h3 {
    margin: 1.5rem 0 1rem;
    color: var(--color-navy);
}

.foster-benefits-list {
    list-style: none;
    padding: 0;
}

.foster-benefits-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.foster-benefits-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #3498db;
    font-weight: bold;
}

.foster-intro-image img {
    width: 100%;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-lg);
}

.foster-what-we-provide {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius-xl);
    margin-bottom: 3rem;
}

.foster-what-we-provide h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--color-navy);
}

.provide-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.provide-item {
    text-align: center;
    padding: 1.5rem 1rem;
    background: var(--color-cream);
    border-radius: var(--border-radius-lg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.provide-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.provide-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-orange) 0%, #f59e0b 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.provide-icon svg {
    width: 28px;
    height: 28px;
    color: white;
}

.provide-item span {
    font-weight: 600;
    color: var(--color-navy);
    font-size: 0.95rem;
}

.foster-how-it-works {
    margin-bottom: 3rem;
}

.foster-how-it-works h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--color-navy);
}

.foster-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.foster-step {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.foster-step-number {
    width: 40px;
    height: 40px;
    background: #3498db;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.25rem;
    margin: 0 auto 1rem;
}

.foster-step-content h4 {
    margin-bottom: 0.5rem;
    color: var(--color-navy);
}

.foster-step-content p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin: 0;
}

.foster-cta {
    text-align: center;
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius-xl);
}

.foster-cta p {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--color-navy);
}

@media (max-width: 768px) {
    .foster-care-intro {
        grid-template-columns: 1fr;
    }

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

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

@media (max-width: 480px) {
    .foster-steps {
        grid-template-columns: 1fr;
    }
}

/* Adoption Page Responsive */
@media (max-width: 1024px) {
    .why-adopt-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .included-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Tablet breakpoint for process timeline */
@media (max-width: 1024px) {
    .process-step .step-number {
        width: 50px;
        height: 50px;
        min-width: 50px;
        font-size: 1.25rem;
    }

    .process-step .step-content {
        padding: 1rem 1.25rem;
    }

    .process-step .step-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 0.75rem;
    }

    .process-step .step-icon svg {
        width: 20px;
        height: 20px;
    }

    .process-step .step-content h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .process-step .step-content p {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .adoption-hero {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .adoption-hero h1 {
        font-size: 2.25rem;
    }

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

    .included-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .process-timeline {
        margin-top: 1.5rem;
    }

    .process-timeline::before {
        display: none;
    }

    .process-step {
        flex-direction: row;
        gap: 1rem;
        align-items: flex-start;
    }

    .process-step .step-number {
        width: 44px;
        height: 44px;
        min-width: 44px;
        font-size: 1.1rem;
        flex-shrink: 0;
    }

    .process-step .step-content {
        border-left: 3px solid var(--step-color, var(--color-orange));
        border-top: none;
        padding: 0.875rem 1rem;
    }

    .process-step .step-icon {
        display: none;
    }

    .process-step .step-content h3 {
        font-size: 1rem;
        margin-bottom: 0.35rem;
    }

    .process-step .step-content p {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    .adoption-process-section,
    .adoption-included-section,
    .adoption-cta-section {
        padding: 2rem 0;
    }

    .adoption-cta-section h2 {
        font-size: 1.75rem;
    }

    .adoption-cta-section p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 575px) {
    .adoption-hero-stats {
        flex-wrap: wrap;
        justify-content: center;
    }

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

/* Mobile/Tablet horizontal margins for full-width sections */
@media (max-width: 1024px) {
    .international-adoption-section,
    .adoption-fees-section,
    .adoption-included-section,
    .adoption-cta-section,
    .adoption-process-section,
    .foster-teaser-section,
    .foster-faq-section,
    .foster-about-section,
    .fullwidth-page .adoption-included-section,
    .fullwidth-page .foster-about-section,
    .fullwidth-page .foster-faq-section {
        margin-left: var(--spacing-md) !important;
        margin-right: var(--spacing-md) !important;
        max-width: none !important;
        width: auto !important;
    }
}

@media (max-width: 768px) {
    .international-adoption-section,
    .adoption-fees-section,
    .adoption-included-section,
    .adoption-cta-section,
    .adoption-process-section,
    .foster-teaser-section,
    .foster-faq-section,
    .foster-about-section,
    .fullwidth-page .adoption-included-section,
    .fullwidth-page .foster-about-section,
    .fullwidth-page .foster-faq-section {
        margin-left: var(--spacing-sm) !important;
        margin-right: var(--spacing-sm) !important;
        max-width: none !important;
        width: auto !important;
        border-radius: var(--border-radius-lg);
    }
}

/* ==========================================================================
   Foster Care Page Styles
   ========================================================================== */

/* Foster Care Hero */
.foster-care-hero {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
}

.foster-care-hero .hero-icon-wrapper {
    background: rgba(255, 255, 255, 0.15);
}

/* Foster Intro Section */
.foster-intro-section {
    padding: 4rem 0;
    background: var(--color-white);
}

.foster-intro-section .section-title {
    text-align: center;
    margin-bottom: 2rem;
}

.foster-intro-section .foster-care-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.foster-intro-section .foster-intro-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.foster-intro-section .foster-intro-image img {
    width: 100%;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-lg);
}

/* Why Foster Section */
.why-foster-section {
    padding: 4rem 0;
    background: var(--color-cream);
}

.why-foster-section .section-title {
    text-align: center;
    margin-bottom: 2.5rem;
}

.why-foster-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.why-foster-card {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: var(--border-radius-xl);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.why-foster-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.why-foster-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.why-foster-icon svg {
    width: 32px;
    height: 32px;
    stroke: white;
}

.why-foster-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--color-navy);
}

.why-foster-card p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin: 0;
    line-height: 1.6;
}

/* Foster Provide Section */
.foster-provide-section {
    padding: 4rem 0;
    background: var(--color-white);
}

.foster-provide-section .section-title {
    text-align: center;
    margin-bottom: 0.5rem;
}

.foster-provide-section .section-subtitle {
    text-align: center;
    color: var(--color-text-muted);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

.foster-provide-section .provide-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.foster-provide-section .provide-item {
    background: var(--color-cream);
    padding: 2rem 1.5rem;
    border-radius: var(--border-radius-xl);
    text-align: center;
}

.foster-provide-section .provide-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.foster-provide-section .provide-icon svg {
    width: 28px;
    height: 28px;
    stroke: white;
}

.foster-provide-section .provide-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--color-navy);
}

.foster-provide-section .provide-item p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin: 0;
}

/* Foster Process Section */
.foster-process-section {
    padding: 4rem 0;
    background: var(--color-cream);
}

.foster-process-section .section-title {
    text-align: center;
    margin-bottom: 2.5rem;
}

/* FAQ Section */
.foster-faq-section {
    padding: 3rem 0;
    background: var(--color-white);
}

.foster-faq-section .section-title {
    text-align: center;
    margin-bottom: 2.5rem;
}

.foster-faq-section .faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.foster-faq-section .faq-item {
    background: var(--color-cream);
    padding: 1.5rem;
    border-radius: var(--border-radius-lg);
}

.foster-faq-section .faq-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--color-navy);
}

.foster-faq-section .faq-item p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin: 0;
    line-height: 1.6;
}

/* Foster CTA Section */
.foster-cta-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
}

.foster-cta-section .cta-content {
    text-align: center;
    color: white;
}

.foster-cta-section .cta-content h2 {
    font-size: 2.25rem;
    margin-bottom: 0.75rem;
    color: white;
}

.foster-cta-section .cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.foster-cta-section .cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.foster-cta-section .btn-primary {
    background: white;
    color: #2980b9;
    border-color: white;
}

.foster-cta-section .btn-primary:hover {
    background: var(--color-cream);
    color: #2980b9;
}

.foster-cta-section .btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.foster-cta-section .btn-secondary:hover {
    background: white;
    color: #2980b9;
}

/* Foster Teaser Section (Adoption Page) */
.foster-teaser-section {
    padding: 3rem 0;
    background: linear-gradient(135deg, #e8f4fc 0%, #d4eaf7 100%);
}

.foster-teaser-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-md);
}

.foster-teaser-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.foster-teaser-icon svg {
    width: 40px;
    height: 40px;
    stroke: white;
}

.foster-teaser-text {
    flex: 1;
}

.foster-teaser-text h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-navy);
}

.foster-teaser-text p {
    font-size: 1rem;
    color: var(--color-text-muted);
    margin: 0;
}

.foster-teaser-content .btn {
    flex-shrink: 0;
    white-space: nowrap;
}

/* Foster Care Page Responsive */
@media (max-width: 1024px) {
    .why-foster-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .foster-provide-section .provide-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .foster-intro-section .foster-care-intro {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .foster-faq-section .faq-grid {
        grid-template-columns: 1fr;
    }

    .foster-teaser-content {
        flex-direction: column;
        text-align: center;
    }

    .foster-teaser-text {
        text-align: center;
    }
}

@media (max-width: 575px) {
    .why-foster-grid {
        grid-template-columns: 1fr;
    }

    .foster-provide-section .provide-grid {
        grid-template-columns: 1fr;
    }

    .foster-cta-section .cta-buttons {
        flex-direction: column;
    }

    .foster-cta-section .cta-buttons .btn {
        width: 100%;
    }
}

/* Foster About Section */
.foster-about-section {
    padding: 3rem 0;
    padding-top: 2rem;
    margin-top: 20px;
    background: var(--color-white);
}

.foster-about-section .section-title {
    text-align: center;
    margin-bottom: 2rem;
}

.foster-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.foster-about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.foster-about-image img {
    width: 100%;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-lg);
}

/* Foster FAQ Section (redesigned) */
.foster-faq-section {
    padding: 3rem 0;
    background: var(--color-cream);
}

.foster-faq-section .section-title {
    text-align: center;
    margin-bottom: 2.5rem;
}

.foster-faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.foster-faq-grid .faq-item {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
}

.foster-faq-grid .faq-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--color-navy);
}

.foster-faq-grid .faq-item p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin: 0;
    line-height: 1.6;
}

/* Foster CTA (uses adoption-cta-section base) */
.foster-cta {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
}

@media (max-width: 768px) {
    .foster-about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .foster-faq-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Full Width Hero Page Template
   ========================================================================== */
.fullwidth-page {
    padding-top: 2rem;
    padding-bottom: 1rem;
}

.fullwidth-page .entry-content {
    /* Remove default entry-content styles for fullwidth pages */
    max-width: none;
}

.fullwidth-page .entry-content > section {
    /* Each section is full-width */
}

/* Hero section - no rounded corners */
.fullwidth-page .page-hero {
    border-radius: 0;
}

/* Content sections with max-width and rounded corners */
.fullwidth-page .why-adopt-section,
.fullwidth-page .adoption-process-section,
.fullwidth-page .adoption-included-section,
.fullwidth-page .foster-about-section,
.fullwidth-page .foster-faq-section {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    border-radius: var(--border-radius-xl);
}

/* Add some margin between rounded sections */
.fullwidth-page .entry-content > section + section {
    margin-top: 0;
}

.fullwidth-page .foster-about-section,
.foster-about-section {
    margin-top: 30px !important;
}

/* CTA section - rounded corners */
.fullwidth-page .adoption-cta-section {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    border-radius: var(--border-radius-xl);
    margin-top: 2rem;
    margin-bottom: 2rem;
}
