/**
 * Rotary Lublin Conference Theme Styles
 * ICC Regional Conference "Peace for Ukraine" - Lublin 2026
 *
 * @package Rotary_Lublin
 * @version 2.0.0
 */

/* ============================================================================
   CSS CUSTOM PROPERTIES (Design Tokens)
   Based on conference-styles.css from MV1
   ============================================================================ */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Open+Sans:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,600;1,400&display=swap');

:root {
    /* Primary Brand Colors - Rotary */
    --rotary-blue: #0050A0;
    --rotary-gold: #F7A800;
    --deep-navy: #003366;
    --dark-navy: #001a33;
    
    /* Ukraine Flag Colors */
    --ukraine-blue: #0057B7;
    --ukraine-yellow: #FFD700;
    
    /* Neutral Colors */
    --white: #FFFFFF;
    --light-gray: #F5F7FA;
    --medium-gray: #6B7280;
    --dark-gray: #374151;
    --soft-blue: #E0F2FE;
    --border-color: #E0E0E0;
    --disabled-color: #CCCCCC;
    
    /* Semantic Colors */
    --success: #10B981;
    --error: #EF4444;
    --warning: #F59E0B;
    --muted: #999999;
    
    /* Gradients */
    --gradient-hero: linear-gradient(180deg, #0050A0 0%, #003366 50%, #001a33 100%);
    --gradient-gold: linear-gradient(135deg, #F7A800 0%, #E69500 100%);
    --gradient-light: linear-gradient(180deg, #FFFFFF 0%, #F5F7FA 100%);
    
    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --font-accent: 'Playfair Display', serif;
    
    /* Font Sizes */
    --text-xs: 0.75rem;    /* 12px */
    --text-sm: 0.875rem;   /* 14px */
    --text-base: 1rem;     /* 16px */
    --text-lg: 1.125rem;   /* 18px */
    --text-xl: 1.25rem;    /* 20px */
    --text-2xl: 1.5rem;    /* 24px */
    --text-3xl: 1.875rem;  /* 30px */
    --text-4xl: 2.25rem;   /* 36px */
    --text-5xl: 3rem;      /* 48px */
    --text-6xl: 3.75rem;   /* 60px */
    
    /* Line Heights */
    --line-height-tight: 1.2;
    --line-height-snug: 1.3;
    --line-height-normal: 1.4;
    --line-height-relaxed: 1.6;
    --line-height-loose: 1.7;
    
    /* Spacing Scale (8px base) */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --space-4xl: 96px;
    --space-5xl: 128px;
    
    /* Layout */
    --container-sm: 640px;
    --container-md: 768px;
    --container-lg: 1024px;
    --container-xl: 1200px;
    --container-2xl: 1536px;
    --container-padding: 24px;
    --grid-gutter: 24px;
    
    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-gold: 0 4px 14px 0 rgba(247, 168, 0, 0.39);
    --shadow-btn-gold: 0 6px 20px 0 rgba(247, 168, 0, 0.5);
    --shadow-btn-blue: 0 4px 12px rgba(0, 80, 160, 0.3);
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;
    
    /* Header nav: breakpoint for hamburger vs desktop nav (toon: 991px) */
    --rotary-nav-mobile-max: 991px;

    /* Z-Index Scale */
    --z-dropdown: 100;
    --z-sticky: 500;
    --z-fixed: 1000;
    --z-modal-backdrop: 1100;
    --z-modal: 1200;
}


/* ============================================================================
   RESET & BASE STYLES
   ============================================================================ */

/* Fix for ast-container flex layout */
.ast-container,
.ast-container-fluid {
    display: flex;
    flex-direction: column;
    padding-left: 0;
    padding-right: 0;
}

.rotary-main,
#primary,
main {
    width: 100%;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: var(--line-height-relaxed);
    color: var(--dark-gray);
    background-color: var(--white);
    margin: 0;
    padding: 0;
}


/* ============================================================================
   TYPOGRAPHY
   ============================================================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: var(--line-height-tight);
    color: var(--deep-navy);
    margin-top: 0;
    margin-bottom: var(--space-md);
}

h1 {
    font-size: var(--text-5xl);
}

h2 {
    font-size: var(--text-4xl);
}

h3 {
    font-size: var(--text-2xl);
}

h4 {
    font-size: var(--text-xl);
}

p {
    margin-top: 0;
    margin-bottom: var(--space-md);
}

a {
    color: var(--rotary-blue);
    text-decoration: none;
    transition: color var(--transition-base);
}

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

a:focus {
    outline: 2px solid var(--rotary-blue);
    outline-offset: 2px;
}

.text-accent {
    font-family: var(--font-accent);
    font-style: italic;
}

/* Lead text */
.rotary-lead {
    font-size: var(--text-lg);
    line-height: var(--line-height-relaxed);
    color: var(--medium-gray);
}


/* ============================================================================
   CONTAINER & LAYOUT
   ============================================================================ */

.rotary-container {
    width: 100%;
    max-width: var(--container-xl);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

.rotary-container-wide {
    max-width: var(--container-2xl);
}

/* Section Styling */
.rotary-map-section, #sponsors {
    padding-top: var(--space-4xl);
    padding-bottom: var(--space-4xl);
}

/* Alternating backgrounds */
section:nth-child(even) {
    background-color: var(--light-gray);
}

/* Section Titles */
.rotary-section-title {
    font-size: var(--text-4xl);
    text-align: center;
    margin-bottom: var(--space-md);
    color: var(--deep-navy);
    position: relative;
    display: inline-block;
    width: 100%;
}

.rotary-section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--rotary-gold);
    border-radius: var(--radius-full);
}

.rotary-section-subtitle {
    font-size: var(--text-lg);
    text-align: center;
    color: var(--medium-gray);
    margin-bottom: var(--space-2xl);
    margin-top: var(--space-lg);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}


/* ============================================================================
   CUSTOM HEADER - Rotary Conference
   ============================================================================ */

.rotary-header {
	position:fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-fixed);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all var(--transition-base);
}

.rotary-header.scrolled {
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.rotary-header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--container-xl);
    margin: 0 auto;
}

.rotary-header-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.rotary-header-logo img {
    height: 50px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    transition: transform var(--transition-base);
}

.rotary-header-logo:hover img {
    transform: scale(1.02);
}

/* Logo variants for transparent/solid header */
.rotary-header-logo .logo-light {
    display: none;
}

.rotary-header-logo .logo-default {
    display: block;
}

/* Hide Astra default header elements */
.ast-primary-header-bar,
.ast-main-header-bar-alignment,
.site-header,
#ast-desktop-header,
.ast-desktop-header-content {
    display: none !important;
}

/* Adjust body padding for fixed header */
body.rotary-lublin-theme {
    /* padding-top: 82px; */
}

/* Hero section starts below fixed header on homepage */
body.rotary-homepage .rotary-hero {
    margin-top: 0;
    padding-top: 0;
}

/* Desktop navigation (visible from 992px) */
.rotary-header-container .rotary-nav {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
    /* margin: 0 var(--space-md, 16px); */
    justify-content: center;
}

.rotary-nav-list {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Desktop: wrap to two lines and distribute evenly */
.rotary-header-container .rotary-nav-list {
    flex-wrap: nowrap;
    justify-content: space-evenly;
    max-width: 100%;
}

.rotary-nav-item a {
    display: block;
    padding: 28px 12px;
    color: #333;
    font-size: 15px;
    font-weight: 400;
    text-decoration: none;
    transition: color 300ms ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rotary-nav-item a:hover,
.rotary-nav-item.current-menu-item a {
    color: #018FCC;
}

/* Hamburger toggle - hidden on desktop */
.rotary-nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    color: inherit;
}

.rotary-nav-toggle-icon {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 24px;
    height: 24px;
}

.rotary-nav-toggle-icon span {
    display: block;
    width: 24px;
    height: 2px;
    background: currentColor;
    border-radius: 0;
}

/* Mobile nav overlay - must be outside fixed header in DOM so it covers full viewport */
.rotary-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1001;
    opacity: 0;
    transition: opacity 300ms ease;
}

.rotary-nav-overlay.is-open {
    display: block;
    opacity: 1;
}

/* Mobile nav drawer */
.rotary-nav-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 320px;
    height: 100vh;
    background: #FFF;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
    z-index: 1002;
    transform: translateX(100%);
    transition: transform 300ms ease;
    overflow-y: auto;
}

.rotary-nav-drawer.is-open {
    transform: translateX(0);
}

.rotary-nav-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    background: transparent;
    font-size: 28px;
    line-height: 1;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rotary-nav-drawer-inner {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 72px 24px 24px;
    box-sizing: border-box;
}

.rotary-nav-drawer-inner .rotary-nav-list {
    flex-direction: column;
    align-items: stretch;
}

.rotary-nav-drawer-inner .rotary-nav-item a {
    padding: 16px 24px;
    min-height: 44px;
    display: flex;
    align-items: center;
    font-size: 16px;
}

/* Language switcher at bottom of drawer */
.rotary-nav-drawer-lang {
    margin-top: auto;
    padding-top: var(--space-xl);
    padding-bottom: var(--space-xl);
    border-top: 1px solid var(--border-color);
}

.rotary-nav-drawer-lang-label {
    display: block;
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: var(--space-sm);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.rotary-nav-drawer-lang .rotary-lang-switcher {
    display: flex;
    gap: var(--space-sm);
}

/* Mobile: hide desktop nav and lang, show hamburger on the right (same breakpoint; value must be literal - var() not supported in @media) */
@media (max-width: 991px) {
    .rotary-header-container .rotary-nav {
        display: none;
    }

    .rotary-lang-switcher-desktop {
        display: none;
    }

    .rotary-lang-switcher.rotary-lang-switcher-desktop {
        display: none;
    }

    .rotary-nav-toggle {
        display: flex;
        margin-left: auto;
    }
}

/* Responsive header */
@media (max-width: 767px) {
    .rotary-header-logo img {
        height: 40px;
    }
    
    .rotary-header-container {
        padding: var(--space-sm) var(--container-padding);
    }
    
    body.rotary-lublin-theme {
        /* padding-top: 68px; */
    }
    
    body.rotary-homepage .rotary-hero {
        margin-top: 0;
        padding-top: 0;
    }
}


/* ============================================================================
   UKRAINE FLAG ACCENT
   ============================================================================ */

.ukraine-accent {
    display: flex;
    height: 8px;
    width: 100%;
}

.ukraine-accent-blue {
    flex: 1;
    background: var(--ukraine-blue);
}

.ukraine-accent-yellow {
    flex: 1;
    background: var(--ukraine-yellow);
}


/* ============================================================================
   BUTTONS
   ============================================================================ */

.rotary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    font-family: var(--font-heading);
    font-size: var(--text-base);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: var(--line-height-tight);
    text-decoration: none;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-base);
    min-height: 44px;
}

.rotary-btn:focus {
    outline: 2px solid var(--rotary-gold);
    outline-offset: 2px;
}

/* Primary Gold Button */
.rotary-btn-gold {
    background: var(--gradient-gold);
    color: var(--deep-navy);
    box-shadow: var(--shadow-gold);
}

.rotary-btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-btn-gold);
    color: var(--deep-navy);
}

.rotary-btn-gold:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(247, 168, 0, 0.2);
}

/* Secondary Blue Button */
.rotary-btn-blue {
    background-color: var(--rotary-blue);
    color: var(--white);
}

.rotary-btn-blue:hover {
    background-color: var(--deep-navy);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-btn-blue);
}

/* Outlined Button */
.rotary-btn-outlined {
    background-color: transparent;
    color: var(--rotary-blue);
    border: 2px solid var(--rotary-blue);
    padding: 14px 30px;
}

.rotary-btn-outlined:hover {
    background-color: var(--rotary-blue);
    color: var(--white);
}

/* Outlined White Button (for dark backgrounds) */
.rotary-btn-outlined-white {
    background-color: rgba(74, 67, 67, 34%);
    color: var(--white);
    /* border: 2px solid var(--white); */
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 14px 30px;
}

.rotary-btn-outlined-white:hover {
    background-color: var(--white);
    color: var(--deep-navy);
}

/* Outlined Gold Button */
.rotary-btn-outline-gold {
    background: transparent;
    color: var(--rotary-gold);
    border: 2px solid var(--rotary-gold);
    padding: 14px 30px;
}

.rotary-btn-outline-gold:hover {
    background: var(--rotary-gold);
    color: var(--deep-navy);
}

/* Large Button */
.rotary-btn-large {
    padding: 18px 48px;
    font-size: var(--text-lg);
}

/* Small Button */
.rotary-btn-small {
    padding: 10px 24px;
    font-size: var(--text-sm);
}


/* ============================================================================
   HERO SECTION - Peace for Ukraine Theme
   ============================================================================ */

.rotary-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: end;
    justify-content: center;
    background: var(--gradient-hero);
    color: var(--white);
    overflow: hidden;
}

.rotary-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/hero-background.png');
    background-size: cover;
    background-position: center top;
    opacity: 1;
    z-index: 0;
}

.rotary-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 80, 160, 0.7) 0%, rgba(0, 51, 102, 0.2) 50%, rgba(0, 26, 51, 0.75) 100%);
    pointer-events: none;
}

.rotary-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: var(--space-5xl) var(--container-padding) var(--space-sm) var(--container-padding);
    max-width: var(--container-lg);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.rotary-hero-content .rotary-container {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}


/* Hero Footer - Organizer and ICC Logo in one line */
.rotary-hero-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.rotary-hero-organizer {
    font-size: var(--text-sm);
    opacity: 0.8;
    margin: 0;
}

/* ICC Logo */
.rotary-hero-icc-logo {
    display: flex;
    align-items: center;
    min-width: 60px;
}

.rotary-hero-icc-logo img {
    width: 100px;
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
    transition: transform var(--transition-base);
}

.rotary-hero-icc-logo img:hover {
    transform: scale(1.05);
}

.rotary-hero-pretitle {
    font-family: var(--font-accent);
    font-size: var(--text-2xl);
    font-style: italic;
    color: var(--rotary-gold);
    margin-bottom: var(--space-md);
}

.rotary-hero-title {
    font-size: 3rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--white);
    margin-bottom: var(--space-lg);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.rotary-hero-subtitle {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 900;
    text-transform: uppercase;
    color: #FFFFFF;
    text-align: center;
    line-height: 1.15;
    letter-spacing: 2px;
    /* Ciemny obrys + delikatna poświata */
    text-shadow:
      -3px -3px 0 #78787f,
      3px 3px 0 #78787f,
      -3px 3px 0 #78787f,
      3px -3px 0 #78787f;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
    margin-bottom: var(--space-2xl);
}

.rotary-hero-date {
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--ukraine-yellow);
}

.rotary-hero-description {
    font-size: var(--text-lg);
    max-width: 700px;
    margin: 0 auto var(--space-xl);
    opacity: 0.9;
    line-height: var(--line-height-relaxed);
}

.rotary-hero-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-xl);
    margin-top: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.rotary-hero-meta span {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--text-2xl);
    font-weight: 800;
}

.rotary-hero-meta svg {
    width: 20px;
    height: 20px;
    opacity: 0.9;
}

/* Hero meta: pills / glassmorphism */
.rotary-hero-meta {
    gap: var(--space-md);
}

.rotary-hero-meta .rotary-hero-meta-pill {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    background: rgba(74, 67, 67, 34%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-full);
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: background var(--transition-base), transform var(--transition-base);
}

.rotary-hero-meta .rotary-hero-meta-pill:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: scale(1.02);
}

.rotary-hero-meta .rotary-hero-meta-pill svg {
    width: 22px;
    height: 22px;
    color: var(--rotary-gold);
    flex-shrink: 0;
}
.rotary-hero-meta--detailed .rotary-hero-meta-pill svg {
    width: 28px;
    height: 28px;
}

.rotary-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-md);
    margin-top: var(--space-2xl);
}


/* ============================================================================
   HIGHLIGHT CARDS (Stats Section)
   ============================================================================ */

.rotary-highlights-section {
    background: var(--gradient-hero);
    padding: var(--space-3xl) 0;
}

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

.highlight-card {
    text-align: center;
    padding: var(--space-xl);
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform var(--transition-base);
}

.highlight-card:hover {
    transform: translateY(-5px);
}

.highlight-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-md);
    color: var(--rotary-gold);
}

.highlight-number {
    font-family: var(--font-heading);
    font-size: var(--text-4xl);
    font-weight: 800;
    color: var(--rotary-gold);
    margin-bottom: var(--space-sm);
}

.highlight-label {
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--white);
}

.highlight-description {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.8);
    margin-top: var(--space-xs);
}


/* ============================================================================
   INFO CARDS - Updated for Peace for Ukraine
   ============================================================================ */

.rotary-info-cards-section {
    background: var(--gradient-hero);
    padding: var(--space-3xl) 0;
}

.rotary-info-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.rotary-info-card {
    text-align: center;
    padding: var(--space-xl) var(--space-md);
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all var(--transition-base);
}

.rotary-info-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.rotary-info-card-icon {
    margin-bottom: var(--space-md);
    color: var(--rotary-gold);
}

.rotary-info-card-icon svg {
    width: 48px;
    height: 48px;
}

.rotary-info-card-title {
    font-size: var(--text-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-sm);
}

.rotary-info-card-primary {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--space-xs);
}

.rotary-info-card-number {
    font-size: var(--text-4xl);
    color: var(--rotary-gold);
}

.rotary-info-card-secondary {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

.rotary-info-card-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--rotary-gold);
    margin-top: var(--space-sm);
}

.rotary-info-card-link:hover {
    color: var(--ukraine-yellow);
}


/* ============================================================================
   ABOUT SECTION
   ============================================================================ */

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

.rotary-about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.rotary-about-text h3 {
    font-size: var(--text-xl);
    color: var(--rotary-gold);
    margin-top: var(--space-xl);
    margin-bottom: var(--space-sm);
}

.rotary-about-text h3:first-of-type {
    margin-top: var(--space-lg);
}

.rotary-theme-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rotary-theme-list li {
    position: relative;
    padding-left: var(--space-lg);
    margin-bottom: var(--space-sm);
    color: var(--medium-gray);
}

.rotary-theme-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background-color: var(--rotary-gold);
    border-radius: var(--radius-full);
}

.rotary-about-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.rotary-about-image img {
    width: 100%;
    height: auto;
    display: block;
}


/* ============================================================================
   WHY LUBLIN SECTION
   ============================================================================ */

.rotary-why-lublin-section {
    background-color: var(--light-gray);
    position: relative;
}

.rotary-why-lublin-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.rotary-why-lublin-image {
    order: -1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.rotary-why-lublin-image img {
    width: 100%;
    height: auto;
    display: block;
}


/* ============================================================================
   SCHEDULE SECTION
   ============================================================================ */

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

.rotary-schedule-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
}

.rotary-schedule-day {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: var(--space-xl);
    transition: all var(--transition-base);
    border-top: 4px solid var(--rotary-gold);
}

.rotary-schedule-day:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.rotary-schedule-day-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-md);
    border-bottom: 2px solid var(--light-gray);
}

.rotary-schedule-day-number {
    font-size: var(--text-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--rotary-gold);
}

.rotary-schedule-day-date {
    font-size: var(--text-sm);
    color: var(--medium-gray);
}

.rotary-schedule-day-title {
    font-size: var(--text-xl);
    margin-bottom: var(--space-md);
    color: var(--deep-navy);
}

.rotary-schedule-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rotary-schedule-items li {
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--medium-gray);
    font-weight: 700;
}

.rotary-schedule-items li:last-child {
    border-bottom: none;
}

.rotary-schedule-cta {
    text-align: center;
}


/* ============================================================================
   SPONSORS SECTION
   ============================================================================ */

.rotary-sponsors-section {
    background-color: var(--light-gray);
}

.rotary-sponsors-tier {
    margin-bottom: var(--space-2xl);
}

.rotary-sponsors-tier-title {
    font-size: var(--text-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--medium-gray);
    text-align: center;
    margin-bottom: var(--space-lg);
}

.rotary-sponsors-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-lg);
    align-items: stretch;
}

.rotary-sponsor-item {
    flex: 0 1 calc((100% - 2 * var(--space-lg)) / 3);
    min-width: 200px;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: var(--space-md);
    background-color: #ffffff;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    text-decoration: none;
}

.rotary-sponsor-item:hover {
    box-shadow: var(--shadow-md);
    transform: scale(1.02);
}

.rotary-sponsor-item img {
    height: 60px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    background-color: transparent;
    transition: all var(--transition-base);
    flex-shrink: 0;
}

.rotary-sponsor-item:hover img {
    /* filter: brightness(1.05); */
}

.rotary-sponsor-label {
    margin-top: var(--space-sm);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--dark-gray);
    text-align: center;
    line-height: 1.35;
    white-space: normal;
    word-wrap: break-word;
    width: 100%;
    max-width: 100%;
}


/* ============================================================================
   CTA SECTION
   ============================================================================ */

.rotary-cta-section {
    background: var(--gradient-hero);
    color: var(--white);
    text-align: center;
    position: relative;
}

.rotary-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(90deg, var(--ukraine-blue) 50%, var(--ukraine-yellow) 50%);
}

.rotary-cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.rotary-cta-title {
    font-size: var(--text-4xl);
    color: var(--white);
    margin-bottom: var(--space-md);
}

.rotary-cta-text {
    font-size: var(--text-lg);
    opacity: 0.9;
    margin-bottom: var(--space-xl);
}

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


/* ============================================================================
   LANGUAGE SWITCHER
   ============================================================================ */

.rotary-lang-switcher {
    display: flex;
    flex-wrap: nowrap;
    gap: var(--space-xs);
    align-items: center;
}

.rotary-lang-btn {
    padding: 8px 14px;
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    color: var(--medium-gray);
    min-width: 48px;
    text-align: center;
}

.rotary-lang-btn:hover {
    background: var(--light-gray);
    color: var(--deep-navy);
    border-color: var(--rotary-blue);
}

.rotary-lang-btn.active {
    background: var(--rotary-blue);
    border-color: var(--rotary-blue);
    color: var(--white);
}

.rotary-lang-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 80, 160, 0.2);
}

/* Language content visibility */
[data-lang="en"],
[data-lang="pl"] {
    display: none;
}

html[lang="en"] [data-lang="en"],
html[lang="pl"] [data-lang="pl"],
body.lang-en [data-lang="en"],
body.lang-pl [data-lang="pl"] {
    display: block;
}

body.lang-en span[data-lang="en"],
body.lang-pl span[data-lang="pl"],
body.lang-en a[data-lang="en"],
body.lang-pl a[data-lang="pl"] {
    display: inline;
}


/* ============================================================================
   FOOTER
   ============================================================================ */

.rotary-footer {
    background-color: var(--dark-navy);
    color: var(--white);
    padding-top: var(--space-3xl);
    padding-bottom: var(--space-xl);
}

.rotary-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.rotary-footer-logo img {
    max-width: 150px;
    margin-bottom: var(--space-md);
}

.rotary-footer-about {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--text-sm);
    line-height: var(--line-height-relaxed);
}

.rotary-footer-title {
    font-size: var(--text-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-lg);
    color: var(--rotary-gold);
}

.rotary-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rotary-footer-links li {
    margin-bottom: var(--space-sm);
}

.rotary-footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--text-sm);
    transition: color var(--transition-fast);
}

.rotary-footer-links a:hover {
    color: var(--white);
}

.rotary-footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rotary-footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--text-sm);
}

.rotary-footer-contact li svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--rotary-gold);
}

.rotary-footer-contact a {
    color: rgba(255, 255, 255, 0.7);
}

.rotary-footer-contact a:hover {
    color: var(--white);
}

.rotary-footer-social {
    display: flex;
    gap: var(--space-md);
}

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

.rotary-footer-social a:hover {
    background-color: var(--rotary-gold);
    color: var(--deep-navy);
}

.rotary-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.rotary-footer-copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: var(--text-sm);
    margin: 0;
}

.rotary-footer-legal {
    display: flex;
    gap: var(--space-lg);
}

.rotary-footer-legal a {
    color: rgba(255, 255, 255, 0.5);
    font-size: var(--text-sm);
}

.rotary-footer-legal a:hover {
    color: var(--white);
}

.rotary-footer-legal .rotary-footer-cookie-settings a {
    color: rgba(255, 255, 255, 0.5);
    font-size: var(--text-sm);
}
.rotary-footer-legal .rotary-footer-cookie-settings a:hover {
    color: var(--white);
}


/* ============================================================================
   PAGE HEADER
   ============================================================================ */

.rotary-page-header {
    background: var(--gradient-hero);
    color: var(--white);
    text-align: center;
    padding-top: var(--space-5xl);
    padding-bottom: var(--space-3xl);
}

.rotary-page-title {
    font-size: var(--text-5xl);
    color: var(--white);
    margin-bottom: var(--space-md);
}

.rotary-page-subtitle {
    font-size: var(--text-lg);
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.rotary-subpage-content {
    padding: var(--space-4xl) 0;
}

.rotary-program-section {
    padding: var(--space-4xl) 0;
}

/* O nas – content na białym tle, węższy tekst (jak Zaproszenie / Peace for Ukraine) */
.rotary-o-nas-main .rotary-o-nas-section,
section.rotary-o-nas-section {
    padding: var(--space-4xl) 0;
    background-color: var(--white);
}

.rotary-o-nas-article {
    max-width: 720px;
    margin: 0 auto;
    position: relative;
}

.rotary-o-nas-body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.85;
    color: var(--deep-navy);
    text-align: justify;
    hyphens: auto;
}

.rotary-o-nas-body p {
    margin-bottom: var(--space-lg);
}

.rotary-o-nas-body p:last-child {
    margin-bottom: 0;
}

.rotary-program-placeholder {
    font-size: var(--text-xl);
    color: var(--dark-gray);
    margin: 0;
}

.rotary-subpage-placeholder {
    font-size: var(--text-xl);
    color: var(--dark-gray);
    margin: 0;
}


/* ============================================================================
   ZAPROSZENIE PAGE (INVITATION LETTER)
   ============================================================================ */

/* Wyższa specyficzność niż section:nth-child(even) */
.rotary-zaproszenie-main .rotary-zaproszenie-section,
section.rotary-zaproszenie-section {
    padding: var(--space-4xl) 0;
    background-color: var(--white);
}

.rotary-letter {
    max-width: 720px;
    margin: 0 auto;
    position: relative;
}

/* Intro: pierwszy paragraf (70%) + zdjęcie (30%) w jednym wierszu */
.rotary-letter-intro {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
    background-color: var(--light-gray);
    padding: var(--space-xl);
    border-radius: var(--radius-md);
}

.rotary-letter-intro p {
    font-style: italic;
    font-weight: 400;
}

.rotary-letter-intro-text {
    flex: 0 1 70%;
    min-width: 0;
}

.rotary-letter-intro .rotary-letter-author {
    flex: 0 0 30%;
    float: none;
    margin: 0;
    max-width: none;
}

.rotary-letter-author {
    text-align: center;
}

.rotary-letter-author-photo {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--rotary-gold);
    box-shadow: var(--shadow-md);
    display: block;
    margin: 0 auto var(--space-lg);
}

.rotary-letter-author-info {
    display: block;
    font-size: var(--text-sm);
    color: var(--medium-gray);
    line-height: 1.4;
}

.rotary-letter-author-info strong {
    display: block;
    color: var(--deep-navy);
    font-family: var(--font-heading);
    font-size: var(--text-base);
    margin-bottom: 2px;
}

.rotary-letter-author-info .rotary-letter-author-title-line {
    display: block;
}

.rotary-letter-body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.85;
    color: var(--dark-gray);
    overflow: hidden;
    text-align: justify;
    hyphens: auto;
}

.rotary-letter-body p {
    margin-bottom: var(--space-lg);
}

.rotary-letter-body p:last-of-type {
    margin-bottom: var(--space-xl);
}

.rotary-letter-salutation {
    font-family: var(--font-accent);
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--deep-navy);
    margin: 0 0 var(--space-xl);
}

.rotary-letter-intro .rotary-letter-intro-text p {
    margin-bottom: 0;
}

.rotary-letter-list {
    list-style: none;
    padding-left: 0;
    margin: 0 0 var(--space-lg);
}

.rotary-letter-list li {
    position: relative;
    padding-left: var(--space-xl);
    margin-bottom: var(--space-sm);
}

.rotary-letter-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 8px;
    height: 8px;
    background-color: var(--rotary-gold);
    border-radius: 50%;
}

.rotary-letter-signature {
    margin-top: var(--space-2xl);
    padding-top: var(--space-lg);
    border-top: 3px solid var(--rotary-gold);
    font-size: var(--text-base);
    color: var(--medium-gray);
    text-align: right;
}

.rotary-letter-signature strong {
    display: block;
    color: var(--deep-navy);
    font-family: var(--font-heading);
    margin-top: var(--space-xs);
}

.rotary-letter-signature .rotary-letter-signature-name {
    display: block;
}

.rotary-letter-signature .rotary-letter-signature-line {
    display: block;
}

/* Mobile: intro w kolumnie, zdjęcie pod tekstem */
@media (max-width: 767px) {
    .rotary-zaproszenie-section {
        padding: var(--space-3xl) 0;
    }

    .rotary-letter-intro {
        flex-direction: column;
        gap: var(--space-lg);
        margin-bottom: var(--space-xl);
    }

    .rotary-letter-intro-text {
        flex: none;
    }

    .rotary-letter-intro .rotary-letter-author {
        flex: none;
        margin: 0 auto;
    }

    .rotary-letter-author-photo {
        width: 130px;
        height: 130px;
    }

    .rotary-letter-body {
        font-size: var(--text-base);
        line-height: 1.75;
    }

    .rotary-letter-salutation {
        font-size: var(--text-lg);
    }

    .rotary-letter-list li {
        padding-left: var(--space-lg);
    }

    .rotary-letter-list li::before {
        width: 6px;
        height: 6px;
        top: 0.6em;
    }
}


/* ============================================================================
   PEACE FOR UKRAINE PAGE
   ============================================================================ */

/* Wyższa specyficzność niż section:nth-child(even) */
.rotary-peaceforukraine-main .rotary-ukraine-section,
section.rotary-ukraine-section {
    padding: var(--space-4xl) 0;
    background-color: var(--white);
}

.rotary-ukraine-article {
    max-width: 720px;
    margin: 0 auto;
    position: relative;
}

.rotary-ukraine-body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.85;
    color: var(--dark-gray);
    text-align: justify;
    hyphens: auto;
}

.rotary-ukraine-body p {
    margin-bottom: var(--space-lg);
}

.rotary-ukraine-body p:last-child {
    margin-bottom: 0;
}

/* Mobile */
@media (max-width: 767px) {
    .rotary-o-nas-section {
        padding: var(--space-3xl) 0;
    }

    .rotary-o-nas-body {
        font-size: var(--text-base);
        line-height: 1.75;
    }

    .rotary-ukraine-section {
        padding: var(--space-3xl) 0;
    }

    .rotary-ukraine-body {
        font-size: var(--text-base);
        line-height: 1.75;
    }
}


/* ============================================================================
   HOTELE PAGE (HOTELS / ACCOMMODATION)
   ============================================================================ */

.rotary-hotele-section {
    padding: var(--space-4xl) 0;
}

.rotary-hotele-intro {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--deep-navy);
    margin: 0 0 var(--space-2xl);
    text-align: center;
}

.rotary-hotele-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: start;
}

.rotary-hotel-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
}

.rotary-hotel-card-image {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--light-gray, #f0f0f0);
}

.rotary-hotel-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.rotary-hotel-card-body {
    padding: var(--space-xl);
}

.rotary-hotel-card-title {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--deep-navy);
    margin: 0 0 var(--space-md);
}

.rotary-hotel-ec-note {
    font-size: var(--text-sm);
    color: var(--rotary-blue);
    font-weight: 600;
    margin: 0 0 var(--space-md);
}

.rotary-hotel-registration-text {
    font-size: var(--text-base);
    color: var(--dark-gray);
    margin: 0 0 var(--space-lg);
}

.rotary-hotel-booking-link {
    color: var(--rotary-blue);
    font-weight: 600;
    text-decoration: underline;
}

.rotary-hotel-booking-link:hover {
    color: var(--deep-navy);
}

.rotary-hotel-prices {
    list-style: none;
    margin: 0 0 var(--space-xl);
    padding: 0;
}

.rotary-hotel-prices li {
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--border-color);
    font-size: var(--text-base);
    color: var(--dark-gray);
}

.rotary-hotel-prices li:last-child {
    border-bottom: none;
}

.rotary-hotel-prices strong {
    display: block;
    margin-top: var(--space-xs);
    color: var(--deep-navy);
}

.rotary-hotel-address {
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--border-color);
}

.rotary-hotel-location-title {
    font-size: var(--text-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--dark-gray);
    margin: 0 0 var(--space-sm);
}

.rotary-hotel-address-text {
    font-size: var(--text-base);
    color: var(--dark-gray);
    margin: 0 0 var(--space-md);
}

.rotary-hotel-map {
    margin-bottom: var(--space-md);
    border-radius: var(--radius-md);
    overflow: hidden;
    max-height: 280px;
}

.rotary-hotel-map iframe {
    display: block;
    width: 100%;
    height: 250px;
}

.rotary-hotel-directions {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
}

@media (max-width: 1024px) {
    .rotary-hotele-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .rotary-hotel-card-body {
        padding: var(--space-lg);
    }

    .rotary-hotel-card-title {
        font-size: var(--text-lg);
    }
}


/* ============================================================================
   FORMS
   ============================================================================ */

.rotary-form-row {
    margin-bottom: var(--space-md);
}

.rotary-form-row-half {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.rotary-form-group {
    display: flex;
    flex-direction: column;
}

.rotary-form-group label {
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--dark-gray);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: var(--space-sm);
}

.rotary-form-group label .required {
    color: var(--error);
}

.rotary-form-group input,
.rotary-form-group select,
.rotary-form-group textarea {
    font-family: var(--font-body);
    font-size: var(--text-base);
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background-color: var(--white);
    transition: all var(--transition-base);
}

.rotary-form-group input:focus,
.rotary-form-group select:focus,
.rotary-form-group textarea:focus {
    outline: none;
    border-color: var(--rotary-blue);
    box-shadow: 0 0 0 3px rgba(0, 80, 160, 0.1);
}

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


/* ============================================================================
   WOOCOMMERCE OVERRIDES
   ============================================================================ */

.woocommerce div.product .product_title {
    font-size: var(--text-4xl);
    color: var(--deep-navy);
}

.woocommerce div.product p.price {
    font-size: var(--text-2xl);
    color: var(--rotary-gold);
    font-weight: 700;
}

.woocommerce div.product form.cart .button {
    background: var(--gradient-gold);
    color: var(--deep-navy);
    font-family: var(--font-heading);
    font-size: var(--text-base);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 14px 36px;
    border-radius: var(--radius-md);
    border: none;
    transition: all var(--transition-base);
}

.woocommerce div.product form.cart .button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-btn-gold);
}

.woocommerce-checkout #payment div.place-order .button {
    background: var(--gradient-gold);
    color: var(--deep-navy);
    font-family: var(--font-heading);
    font-size: var(--text-base);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 16px 48px;
    border-radius: var(--radius-md);
    border: none;
    width: 100%;
    transition: all var(--transition-base);
}

.woocommerce-checkout #payment div.place-order .button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-btn-gold);
}

#rotary_custom_checkout_fields {
    background-color: var(--light-gray);
    padding: var(--space-lg);
    margin-bottom: var(--space-lg);
    border-radius: var(--radius-md);
}

#rotary_custom_checkout_fields h3 {
    font-size: var(--text-xl);
    color: var(--rotary-blue);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--rotary-gold);
}


/* ============================================================================
   RESPONSIVE STYLES
   ============================================================================ */

/* ============================================================================
   RESPONSIVE - TABLET (768px - 991px)
   ============================================================================ */

@media (max-width: 991px) and (min-width: 768px) {
    .rotary-hero-icc-logo img {
        width: 80px;
    }
    
    .rotary-hero-title {
        font-size: 2.5rem;
    }
    
    .rotary-hero-subtitle {
        font-size: 2.5rem;
    }
}


/* ============================================================================
   RESPONSIVE - MOBILE (max-width: 991px)
   ============================================================================ */

@media (max-width: 991px) {
    :root {
        --text-5xl: 2.5rem;
        --text-4xl: 2rem;
        --text-3xl: 1.5rem;
        --text-6xl: 3rem;
    }
    
    section {
        padding-top: var(--space-3xl);
        padding-bottom: var(--space-3xl);
    }
    
    .rotary-info-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .rotary-about-content,
    .rotary-why-lublin-content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .rotary-about-image,
    .rotary-why-lublin-image {
        order: -1;
    }
    
    .rotary-schedule-grid {
        grid-template-columns: 1fr;
    }
    
    .rotary-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile (max-width: 767px) */
@media (max-width: 767px) {
    :root {
        --text-5xl: 2rem;
        --text-4xl: 1.75rem;
        --text-3xl: 1.5rem;
        --text-6xl: 2.5rem;
        --text-2xl: 1.25rem;
        --container-padding: 16px;
    }
    
    section {
        padding-top: var(--space-2xl);
        padding-bottom: var(--space-2xl);
    }
    
    .rotary-hero {
        min-height: 80vh;
    }
    
    .rotary-hero-content {
        /* padding: var(--space-3xl) var(--container-padding); */
    }
    
    .rotary-hero-icc-logo img {
        width: 60px;
    }
    
    .rotary-hero-icc-logo {
        /* margin-bottom: var(--space-md); */
    }
    
    .rotary-hero-title {
        font-size: 2rem;
    }
    
    .rotary-hero-subtitle {
        font-size: 2rem;
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }
    
    .rotary-hero-meta {
        flex-direction: column;
        align-items: center;
    }
    
    .rotary-hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .rotary-hero-buttons .rotary-btn {
        width: 100%;
    }
    
    .rotary-info-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .rotary-form-row-half {
        grid-template-columns: 1fr;
    }
    
    .rotary-footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .rotary-footer-bottom {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }
    
    .rotary-btn {
        width: 100%;
    }
    
    .rotary-cta-buttons {
        flex-direction: column;
        width: 100%;
    }
}


/* ============================================================================
   ANIMATIONS
   ============================================================================ */

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

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

.animate-fadeInUp {
    animation: fadeInUp 0.8s ease forwards;
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; }
.delay-400 { animation-delay: 400ms; }
.delay-500 { animation-delay: 500ms; }

/* Fade in animation */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}


/* ============================================================================
   ACCESSIBILITY
   ============================================================================ */

.rotary-btn:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
button:focus-visible {
    outline: 2px solid var(--rotary-blue);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

.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;
}

.skip-to-content {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--rotary-gold);
    color: var(--deep-navy);
    padding: var(--space-sm) var(--space-md);
    z-index: 9999;
    transition: top var(--transition-fast);
}

.skip-to-content:focus {
    top: var(--space-sm);
}


/* ============================================================================
   PRODUCT SELECTION / REGISTRATION PAGE
   ============================================================================ */

/* Page Header for Register */
.rotary-register-header {
    padding-top: var(--space-4xl);
    padding-bottom: var(--space-2xl);
}

/* Product Selection Section */
.rotary-product-selection-section {
    background-color: var(--light-gray);
    padding-top: var(--space-3xl);
    padding-bottom: var(--space-4xl);
}

/* Layout: Products + Sidebar */
.rotary-register-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: var(--space-2xl);
    align-items: start;
}

/* Products Column */
.rotary-products-column {
    display: flex;
    flex-direction: column;
    gap: var(--space-2xl);
}

/* Product Category */
.rotary-product-category {
    margin-bottom: var(--space-lg);
}

.rotary-category-title {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--deep-navy);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
    border-bottom: 3px solid var(--rotary-gold);
    display: inline-block;
}

/* Products Grid */
.rotary-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: var(--space-lg);
}

/* Product Card */
.rotary-product-card {
    position: relative;
    cursor: pointer;
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.rotary-product-card-inner {
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    height: 100%;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.rotary-product-card:hover .rotary-product-card-inner {
    border-color: var(--rotary-blue);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

/* Selected State */
.rotary-product-card.selected .rotary-product-card-inner {
    border-color: var(--rotary-gold);
    background: linear-gradient(135deg, rgba(247, 168, 0, 0.05) 0%, rgba(255, 255, 255, 1) 100%);
    box-shadow: 0 4px 20px rgba(247, 168, 0, 0.2);
}

/* Selection Check Mark */
.rotary-product-check {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    background: var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
    color: var(--white);
    opacity: 0.5;
}

.rotary-product-card:hover .rotary-product-check {
    background: var(--rotary-blue);
    opacity: 0.7;
}

.rotary-product-card.selected .rotary-product-check {
    background: var(--rotary-gold);
    opacity: 1;
    transform: scale(1.1);
}

.rotary-product-check svg {
    width: 18px;
    height: 18px;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.rotary-product-card.selected .rotary-product-check svg {
    opacity: 1;
}

/* Product Icon */
.rotary-product-icon {
    width: 56px;
    height: 56px;
    background: var(--soft-blue);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--rotary-blue);
    transition: all var(--transition-base);
}

.rotary-product-card.selected .rotary-product-icon {
    background: var(--rotary-gold);
    color: var(--deep-navy);
}

/* Product Info */
.rotary-product-info {
    flex: 1;
}

.rotary-product-name {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--deep-navy);
    margin-bottom: var(--space-xs);
    line-height: var(--line-height-snug);
}

.rotary-product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-bottom: var(--space-sm);
}

.rotary-product-date,
.rotary-product-location {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: var(--text-sm);
    color: var(--medium-gray);
}

.rotary-product-date svg,
.rotary-product-location svg {
    color: var(--rotary-gold);
    flex-shrink: 0;
}

.rotary-product-description {
    font-size: var(--text-sm);
    color: var(--medium-gray);
    line-height: var(--line-height-relaxed);
    margin-bottom: 0;
}

.rotary-product-note {
    font-size: var(--text-xs);
    color: var(--rotary-blue);
    font-style: italic;
    margin-top: var(--space-sm);
    margin-bottom: 0;
    padding: var(--space-xs) var(--space-sm);
    background: var(--soft-blue);
    border-radius: var(--radius-sm);
    display: inline-block;
}

/* Product Price */
.rotary-product-price {
    display: flex;
    align-items: baseline;
    gap: var(--space-xs);
    padding-top: var(--space-md);
    border-top: 1px solid var(--border-color);
    margin-top: auto;
}

.rotary-product-price .price-amount {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: 800;
    color: var(--deep-navy);
}

.rotary-product-price .price-currency {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--medium-gray);
}

.rotary-product-price .price-tbd {
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--rotary-gold);
    font-style: italic;
}

/* ============================================================================
   Register V3 – Offer presentation (no shop)
   ============================================================================ */

.rotary-register-v3-main .rotary-offer-section {
    padding-top: var(--space-3xl);
    padding-bottom: var(--space-3xl);
}

.rotary-offer-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.rotary-offer-card {
    transition: transform var(--transition-base);
}

.rotary-offer-card-inner {
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 0;
    padding: var(--space-xl);
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
    height: 100%;
    transition: box-shadow var(--transition-base), transform var(--transition-base);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.rotary-offer-card:hover .rotary-offer-card-inner {
    border-color: var(--rotary-blue);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.rotary-offer-card:hover .rotary-offer-icon {
    box-shadow: 0 6px 20px rgba(247, 168, 0, 0.5), 0 3px 10px rgba(0, 0, 0, 0.15);
    transform: scale(1.05);
}

/* Icon on top, horizontally centered – hero-like (gradient, size, shadow) */
.rotary-offer-card-inner > .rotary-offer-icon {
    align-self: center;
}

.rotary-offer-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(180deg, #FFD54F 0%, var(--rotary-gold) 50%, #C78800 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 14px rgba(247, 168, 0, 0.4), 0 2px 6px rgba(0, 0, 0, 0.12);
    flex-shrink: 0;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.rotary-offer-icon svg {
    width: 40px;
    height: 40px;
    stroke: currentColor;
}

.rotary-offer-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    min-height: 0;
}

/* Stała wysokość sekcji tytułu na wszystkich kafelkach */
.rotary-offer-name {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--deep-navy);
    margin-bottom: 0;
    line-height: var(--line-height-snug);
    min-height: 4.2em;
    display: flex;
    align-items: flex-start;
}

/* Termin + Lokalizacja – mniejszy odstęp między nimi */
.rotary-offer-meta {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

/* Stała wysokość sekcji Termin na wszystkich kafelkach */
.rotary-offer-date-slot {
    min-height: 1.6em;
    display: flex;
    align-items: flex-start;
}

/* Stała wysokość sekcji Miejsce na wszystkich kafelkach */
.rotary-offer-location-slot {
    min-height: 1.6em;
    display: flex;
    align-items: flex-start;
}

.rotary-offer-date,
.rotary-offer-location {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: var(--text-sm);
    color: var(--medium-gray);
}

.rotary-offer-date svg,
.rotary-offer-location svg {
    color: var(--rotary-gold);
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}

/* Sekcja opisu – tylko gdy ma treść (has-content) zajmuje miejsce; puste kafelki bez pustej przestrzeni */
.rotary-offer-description-slot {
    flex: 0 0 auto;
    min-height: 0;
}

.rotary-offer-description-slot.has-content {
    flex: 1;
    min-height: 4em;
}

.rotary-offer-description {
    font-size: var(--text-sm);
    color: var(--medium-gray);
    line-height: var(--line-height-relaxed);
    margin-bottom: 0;
}

/* Accordion „Opłata obejmuje” w pierwszym kafelku */
.rotary-offer-accordion {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.rotary-offer-accordion-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--rotary-blue);
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.rotary-offer-accordion-summary::-webkit-details-marker {
    display: none;
}

.rotary-offer-accordion-summary:hover {
    background: var(--light-gray);
}

.rotary-offer-accordion-icon {
    flex-shrink: 0;
    transition: transform var(--transition-base);
}

.rotary-offer-accordion[open] .rotary-offer-accordion-icon {
    transform: rotate(180deg);
}

.rotary-offer-includes {
    margin: 0;
    padding: var(--space-sm) var(--space-md) var(--space-md) var(--space-lg);
    list-style: none;
    border-top: 1px solid var(--border-color);
    font-size: var(--text-sm);
    color: var(--medium-gray);
    line-height: var(--line-height-relaxed);
}

.rotary-offer-includes li {
    position: relative;
    padding-left: var(--space-md);
    margin-bottom: var(--space-xs);
}

.rotary-offer-includes li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--rotary-gold);
}

.rotary-offer-includes li:last-child {
    margin-bottom: 0;
}

.rotary-offer-price {
    padding-top: var(--space-lg);
    border-top: 1px solid var(--border-color);
    margin-top: auto;
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: 800;
    color: var(--deep-navy);
}

.rotary-register-v3-cta {
    text-align: center;
    padding: var(--space-4xl) 0;
}

/* Przycisk ZAREJESTRUJ SIĘ – identyczny styl jak ikony w kafelkach */
.rotary-register-v3-cta .rotary-btn {
    /* Tło jak .rotary-offer-icon */
    background: linear-gradient(180deg, #FFD54F 0%, var(--rotary-gold) 50%, #C78800 100%);
    color: rgba(255, 255, 255, 0.95);
    /* Cień jak w ikonach */
    box-shadow: 0 4px 14px rgba(247, 168, 0, 0.4), 0 2px 6px rgba(0, 0, 0, 0.12);
    /* Tekst – pogrubiony i lekki shadow dla lepszej widoczności */
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: var(--space-md) var(--space-xl);
}

.rotary-register-v3-cta .rotary-btn:hover {
    color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 6px 20px rgba(247, 168, 0, 0.5), 0 3px 10px rgba(0, 0, 0, 0.15);
}

.rotary-register-v3-cta .rotary-btn:active {
    box-shadow: 0 2px 6px rgba(247, 168, 0, 0.3), 0 1px 3px rgba(0, 0, 0, 0.12);
}

.rotary-register-v3-cta .rotary-btn svg {
    color: rgba(255, 255, 255, 0.95);
}

@media (max-width: 991px) {
    .rotary-offer-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Sticky CTA na dole ekranu – widoczny dopiero po zescrollowaniu (jak #ast-scroll-top) */
    .rotary-register-v3-cta {
        position: sticky;
        bottom: 0;
        z-index: 98;
        padding: var(--space-lg) var(--container-padding);
        background: transparent;
        margin-top: var(--space-2xl);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }
    body.rotary-cta-sticky-visible .rotary-register-v3-cta {
        opacity: 1;
        pointer-events: auto;
    }
    body:has(#ast-scroll-top.ast-scroll-to-top-left) .rotary-register-v3-cta {
        padding-right: var(--container-padding);
        padding-left: 70px;
    }
    body:has(#ast-scroll-top.ast-scroll-to-top-right) .rotary-register-v3-cta {
        padding-left: var(--container-padding);
        padding-right: 70px;
    }
}

@media (max-width: 575px) {
    .rotary-offer-cards-grid {
        grid-template-columns: 1fr;
    }
}

/* Summary Sidebar */
.rotary-summary-column {
    position: sticky;
    top: 100px;
}

.rotary-order-summary {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: var(--space-xl);
    border-top: 4px solid var(--rotary-gold);
}

.rotary-summary-title {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--deep-navy);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--border-color);
}

/* Summary Items List */
.rotary-summary-items {
    min-height: 80px;
    margin-bottom: var(--space-lg);
}

.rotary-summary-empty {
    color: var(--medium-gray);
    font-style: italic;
    text-align: center;
    padding: var(--space-lg) 0;
}

.rotary-summary-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--border-color);
    gap: var(--space-md);
}

.rotary-summary-item:last-child {
    border-bottom: none;
}

.rotary-summary-item-name {
    font-size: var(--text-sm);
    color: var(--dark-gray);
    flex: 1;
}

.rotary-summary-item-date {
    font-size: var(--text-xs);
    color: var(--medium-gray);
    display: block;
}

.rotary-summary-item-price {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--deep-navy);
    white-space: nowrap;
}

.rotary-summary-item-remove {
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    color: var(--medium-gray);
    transition: color var(--transition-fast);
    flex-shrink: 0;
}

.rotary-summary-item-remove:hover {
    color: var(--error);
}

/* Summary Total */
.rotary-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-lg) 0;
    border-top: 2px solid var(--deep-navy);
    margin-bottom: var(--space-lg);
}

.rotary-summary-total .total-label {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--deep-navy);
}

.rotary-summary-total .total-amount {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: 800;
    color: var(--rotary-gold);
}

.rotary-summary-total .total-currency {
    font-size: var(--text-base);
    font-weight: 600;
}

/* Checkout Button */
.rotary-btn-checkout {
    width: 100%;
    justify-content: center;
    gap: var(--space-sm);
}

.rotary-btn-checkout:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.rotary-btn-checkout svg {
    transition: transform var(--transition-base);
}

.rotary-btn-checkout:not(:disabled):hover svg {
    transform: translateX(4px);
}

.rotary-summary-note {
    font-size: var(--text-xs);
    color: var(--medium-gray);
    text-align: center;
    margin-top: var(--space-md);
    margin-bottom: 0;
}

/* Animation for items being added */
@keyframes itemAdded {
    0% {
        opacity: 0;
        transform: translateX(-10px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.rotary-summary-item {
    animation: itemAdded 0.3s ease forwards;
}

/* Responsive Styles for Product Selection */
@media (max-width: 1200px) {
    .rotary-register-layout {
        grid-template-columns: 1fr 320px;
        gap: var(--space-xl);
    }
}

@media (max-width: 991px) {
    .rotary-register-layout {
        grid-template-columns: 1fr;
    }
    
    .rotary-summary-column {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        top: auto;
        z-index: var(--z-sticky);
        padding: 0;
    }
    
    .rotary-order-summary {
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
        padding: var(--space-md) var(--space-lg);
    }
    
    .rotary-summary-title {
        display: none;
    }
    
    .rotary-summary-items {
        display: none;
    }
    
    .rotary-summary-total {
        padding: var(--space-sm) 0;
        border-top: none;
        margin-bottom: var(--space-sm);
    }
    
    .rotary-summary-note {
        display: none;
    }
    
    /* Show expanded summary on mobile */
    .rotary-order-summary.expanded .rotary-summary-items {
        display: block;
        max-height: 40vh;
        overflow-y: auto;
        padding-bottom: var(--space-md);
        border-bottom: 1px solid var(--border-color);
        margin-bottom: var(--space-md);
    }
    
    /* Toggle button for mobile */
    .rotary-summary-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: var(--space-xs);
        width: 100%;
        padding: var(--space-sm);
        background: none;
        border: none;
        color: var(--rotary-blue);
        font-size: var(--text-sm);
        font-weight: 600;
        cursor: pointer;
        margin-bottom: var(--space-sm);
    }
    
    .rotary-summary-toggle svg {
        transition: transform var(--transition-fast);
    }
    
    .rotary-order-summary.expanded .rotary-summary-toggle svg {
        transform: rotate(180deg);
    }
    
    /* Add padding to main content for fixed summary */
    .rotary-product-selection-section {
        padding-bottom: 180px;
    }
}

@media (max-width: 767px) {
    .rotary-products-grid {
        grid-template-columns: 1fr;
    }
    
    .rotary-product-card-inner {
        padding: var(--space-md);
    }
    
    .rotary-register-header {
        padding-top: var(--space-3xl);
        padding-bottom: var(--space-xl);
    }
}

/* Selection pulse animation */
@keyframes selectionPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(247, 168, 0, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(247, 168, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(247, 168, 0, 0);
    }
}

.rotary-product-card.just-selected .rotary-product-card-inner {
    animation: selectionPulse 0.5s ease;
}

/* Loading state for product cards */
.rotary-product-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-fast), visibility var(--transition-fast);
}

.rotary-product-card.loading .rotary-product-loading {
    opacity: 1;
    visibility: visible;
}

.rotary-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid var(--border-color);
    border-top-color: var(--rotary-gold);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* No products message */
.rotary-no-products {
    text-align: center;
    padding: var(--space-3xl);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.rotary-no-products p {
    font-size: var(--text-lg);
    color: var(--medium-gray);
    margin: 0;
}

/* WooCommerce price styling in product cards */
.rotary-product-price .woocommerce-Price-amount {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: 800;
    color: var(--deep-navy);
}

.rotary-product-price .woocommerce-Price-currencySymbol {
    font-size: var(--text-sm);
    font-weight: 600;
}

.rotary-product-price del {
    color: var(--medium-gray);
    font-size: var(--text-base);
    opacity: 0.7;
}

.rotary-product-price ins {
    text-decoration: none;
    color: var(--rotary-gold);
}

/* Summary item info layout */
.rotary-summary-item-info {
    flex: 1;
    min-width: 0;
}

.rotary-summary-item-name {
    display: block;
    font-size: var(--text-sm);
    color: var(--dark-gray);
    line-height: var(--line-height-snug);
}

.rotary-summary-item-date {
    display: block;
    font-size: var(--text-xs);
    color: var(--medium-gray);
    margin-top: 2px;
}

.rotary-summary-item-price .woocommerce-Price-amount {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--deep-navy);
}

/* Total amount WooCommerce styling */
.rotary-summary-total .total-amount .woocommerce-Price-amount {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: 800;
    color: var(--rotary-gold);
}

/* ============================================================================
   PROGRAM PAGE — per KONFERENCJA_ICC_PROGRAM_STRONA.md
   ============================================================================ */

.rotary-program-main {
    --program-royal-blue: #019FCE;
    --program-hero-gradient: linear-gradient(135deg, #019FCE 0%, #018FCC 100%);
    --program-light-gray: #F5F5F5;
    --program-border: #E0E0E0;
    --program-dark-gray: #333333;
    --program-medium-gray: #666666;
}

/* Sticky program nav */
.rotary-program-nav {
    position: sticky;
    top: 112px;
    z-index: var(--z-fixed);
    background: var(--white);
    border-bottom: 1px solid var(--program-border);
    /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); */
    padding: var(--space-md) 0;
}

.rotary-program-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.rotary-program-nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-lg);
}

.rotary-program-nav-link {
    color: var(--program-dark-gray);
    font-weight: 700;
    font-size: var(--text-base);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: var(--space-sm) 0;
    transition: color var(--transition-base);
}

.rotary-program-nav-link:hover,
.rotary-program-nav-link:focus {
    color: var(--rotary-gold);
    outline: 2px solid var(--rotary-blue);
    outline-offset: 2px;
}

/* Timeline day section */
.rotary-program-day {
    padding: var(--space-4xl) 0;
}

.rotary-program-day-1 {
    background: var(--white);
}

.rotary-program-day-2 {
    background: var(--program-light-gray);
}

.rotary-program-day-3 {
    background: var(--white);
}

.rotary-program-day-header {
    border-left: 4px solid var(--rotary-gold);
    padding-left: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.rotary-program-day-name {
    font-size: 2.625rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--program-dark-gray);
    margin-bottom: var(--space-xs);
}

.rotary-program-day-date {
    font-size: var(--text-lg);
    color: var(--program-medium-gray);
    margin-bottom: var(--space-xs);
}

.rotary-program-day-theme {
    font-size: var(--text-base);
    color: var(--program-medium-gray);
    margin-bottom: var(--space-xs);
}

.rotary-program-day-location {
    font-size: var(--text-sm);
    color: var(--muted, #999);
}

.rotary-program-block-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--program-dark-gray);
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-lg);
}

/* Timeline list */
.rotary-program-timeline {
    list-style: none;
    margin: 0;
    padding: 0;
}

.rotary-program-timeline-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: var(--space-lg);
    align-items: start;
    padding: var(--space-lg) 0;
    border-bottom: 1px solid var(--program-border);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.rotary-program-timeline-item:last-child {
    border-bottom: none;
}

.rotary-program-timeline-time {
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--rotary-gold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    flex-shrink: 0;
}

.rotary-program-timeline-title {
    font-size: 1.375rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--program-dark-gray);
    margin-bottom: var(--space-xs);
}

.rotary-program-timeline-details {
    font-size: var(--text-base);
    color: var(--program-medium-gray);
    line-height: 1.7;
    margin: 0;
}

/* Sala Błękitna card */
.rotary-program-sala-blekitna {
    background: var(--program-hero-gradient);
    color: var(--white);
    padding: var(--space-2xl);
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-2xl);
    border-radius: 0;
}

.rotary-program-sala-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
    color: var(--white);
}

.rotary-program-sala-time {
    font-size: var(--text-lg);
    opacity: 0.95;
    margin-bottom: var(--space-lg);
}

.rotary-program-sala-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.rotary-program-sala-item {
    border-left: 3px solid var(--rotary-gold);
    padding-left: var(--space-md);
    margin-bottom: var(--space-md);
    font-size: var(--text-base);
    line-height: 1.6;
}

.rotary-program-sala-item:last-child {
    margin-bottom: 0;
}

.rotary-program-sala-item-time {
    display: inline-block;
    font-weight: 700;
    color: var(--rotary-gold);
    margin-right: var(--space-sm);
    min-width: 4em;
}

/* Program page: override section padding for program sections so spacing is controlled */
.rotary-program-main .rotary-program-day {
    padding-left: 0;
    padding-right: 0;
}

.rotary-program-main .rotary-program-day .rotary-container {
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

/* Responsive: tablet */
@media (max-width: 991px) {
    .rotary-program-day-name {
        font-size: 2.125rem;
    }
}

/* Responsive: mobile — timeline as cards */
@media (max-width: 576px) {
    .rotary-program-nav {
        top: 60px;
    }
    .rotary-program-timeline-item {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
        padding: var(--space-lg);
        margin-bottom: var(--space-md);
        border: none;
        border-radius: 0;
        background: var(--white);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    .rotary-program-day-2 .rotary-program-timeline-item {
        background: var(--program-light-gray);
    }
    .rotary-program-timeline-item:last-child {
        margin-bottom: 0;
    }
    .rotary-program-timeline-time {
        margin-bottom: 4px;
        font-size: 0.75rem;
    }
    .rotary-program-timeline-title {
        font-size: 1.25rem;
    }
    .rotary-program-timeline-details {
        font-size: 0.9375rem;
    }
    .rotary-program-sala-blekitna {
        padding: var(--space-lg);
    }
    .rotary-program-sala-title {
        font-size: 1.375rem;
    }
    .rotary-program-nav-inner {
        flex-direction: column;
        align-items: stretch;
    }
    .rotary-program-nav-links {
        justify-content: center;
    }
}

/* ============================================================================
   Location Page
   ============================================================================ */
.rotary-location-main .rotary-container.rotary-location-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.rotary-location-main .rotary-location-pdf {
    padding-bottom: var(--space-3xl);
}
.rotary-location-main .rotary-location-pdf-desc {
    margin: var(--space-lg) 0 0;
}
.rotary-location-main .rotary-location-infographic {
    padding-top: 0;
}
.rotary-location-main .rotary-location-figure {
    margin: 0;
}
.rotary-location-infographic-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0;
}

/* Ukrycie domyślnego footera motywu (site-footer) */
.site-footer {
    display: none !important;
}

/* ==========================================================================
   Complianz Cookie Banner — styl zgodny z Rotary (TOON)
   Tło #333, złoty przycisk akceptuj, Verdana, radius 4px
   ========================================================================== */
/* Krótkie fade-in daje czas na podmianę tekstów przez complianz-i18n.js (PL/EN) */
.cmplz-cookiebanner {
    opacity: 0;
    transition: opacity 0.2s ease;
}
.cmplz-cookiebanner.cmplz-show {
    opacity: 1;
}
/* .cmplz-cookiebanner {
    background: #333333 !important;
    color: #ffffff !important;
    font-family: Verdana, Geneva, sans-serif !important;
    border-radius: 4px !important;
} */
/* .cmplz-cookiebanner .cmplz-message,
.cmplz-cookiebanner .cmplz-body,
.cmplz-cookiebanner .cmplz-description {
    color: #ffffff !important;
}
.cmplz-cookiebanner .cmplz-buttons .cmplz-btn.cmplz-accept,
.cmplz-cookiebanner .cmplz-btn[data-category="accept"],
.cmplz-cookiebanner a.cmplz-btn.cmplz-accept {
    background: #F7A81B !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 4px !important;
    font-family: Verdana, Geneva, sans-serif !important;
}
.cmplz-cookiebanner .cmplz-buttons .cmplz-btn.cmplz-accept:hover,
.cmplz-cookiebanner .cmplz-btn[data-category="accept"]:hover,
.cmplz-cookiebanner a.cmplz-btn.cmplz-accept:hover {
    background: #E09615 !important;
}
.cmplz-cookiebanner .cmplz-buttons .cmplz-btn:not(.cmplz-accept),
.cmplz-cookiebanner .cmplz-btn[data-category="deny"],
.cmplz-cookiebanner a.cmplz-btn:not(.cmplz-accept) {
    background: transparent !important;
    color: #ffffff !important;
    border: 1px solid #ffffff !important;
    border-radius: 4px !important;
    font-family: Verdana, Geneva, sans-serif !important;
}
.cmplz-cookiebanner .cmplz-link,
.cmplz-cookiebanner a:not(.cmplz-btn) {
    color: #cccccc !important;
    text-decoration: underline;
}
.cmplz-cookiebanner .cmplz-link:hover,
.cmplz-cookiebanner a:not(.cmplz-btn):hover {
    color: #ffffff !important;
} */

/* =============================================================================
   Polityka prywatności / Privacy Policy
   ========================================================================== */
.rotary-privacy-main .rotary-privacy-content {
    padding: var(--space-xl) 0;
}
.rotary-privacy-article {
    max-width: 720px;
    margin: 0 auto;
}
/* Bloki PL/EN przełączane przez JS (rotary-scripts.js setLanguage) */
.rotary-privacy-article .rotary-privacy-lang {
    display: none;
}
.rotary-privacy-article h2 {
    font-size: 1.5rem;
    margin-top: var(--space-lg);
    margin-bottom: var(--space-md);
}
.rotary-privacy-article h2:first-child {
    margin-top: 0;
}
.rotary-privacy-article h3 {
    font-size: 1.2rem;
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
}
.rotary-privacy-article h4 {
    font-size: 1.05rem;
    margin-top: var(--space-md);
    margin-bottom: var(--space-xs);
}
.rotary-privacy-article ul {
    margin: var(--space-sm) 0;
    padding-left: 1.5rem;
}
.rotary-privacy-article li {
    margin-bottom: 0.35em;
}
.rotary-privacy-table-wrap {
    overflow-x: auto;
    margin: var(--space-md) 0;
}
.rotary-privacy-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}
.rotary-privacy-table th,
.rotary-privacy-table td {
    border: 1px solid var(--rotary-border, #e0e0e0);
    padding: 0.5rem 0.75rem;
    text-align: left;
}
.rotary-privacy-table th {
    background: var(--rotary-light, #f5f5f5);
    font-weight: 600;
}
.rotary-privacy-table code {
    font-size: 0.85em;
    background: rgba(0,0,0,0.06);
    padding: 0.15em 0.4em;
    border-radius: 3px;
}
@media (min-width: 922px) {
  .ast-container {
    max-width: 100%;
  }
}
/* Faktura — ZERO nakładania + tło */
#rotary_invoice_fields {
    margin: 2em 0 1.5em 0 !important;
    padding: 20px !important;
    background: #f8f9fa !important;
    border: 1px solid #e9ecef !important;
    border-radius: 8px !important;
    clear: both !important;
}

#rotary_invoice_fields .form-row {
    width: 100% !important;
    float: none !important;     /* NAPRAWIA NAJEŻDŻANIE */
    display: block !important;
    margin-bottom: 1.2em !important;
    margin-right: 0 !important;
    padding: 0 !important;
    clear: both !important;
}

#rotary_invoice_fields label {
    display: block !important;
    margin-bottom: 6px !important;
    font-weight: 600 !important;
    color: #333 !important;
    width: 100% !important;
}

#rotary_invoice_fields .input-text,
#rotary_invoice_fields textarea {
    width: 100% !important;
    max-width: 100% !important;
    background: #fff !important;
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    padding: 12px !important;
    box-sizing: border-box !important;
    font-size: 16px !important;
}

#rotary_invoice_fields .rotary-invoice-field {
}

#rotary_invoice_fields .custom-checkbox-label {
    display: flex !important;
    align-items: flex-start !important;
    cursor: pointer !important;
    font-weight: 500 !important;
    width: 100% !important;
}

#rotary_invoice_fields .input-checkbox {
    margin-right: 10px !important;
    margin-top: 2px !important;
    flex-shrink: 0 !important;
}

/* Język */
body.lang-pl #rotary_invoice_fields [data-lang="pl"],
body.lang-en #rotary_invoice_fields [data-lang="en"] {
    display: inline !important;
}

/* Mobile */
@media (max-width: 768px) {
    #rotary_invoice_fields {
        margin: 1.5em 0 !important;
        padding: 15px !important;
    }
}
