﻿/*
Theme Name: CWSCONS Theme
Description: Custom WordPress theme for Chicago Western Suburbs Chapter - Oncology Nursing Society (CWSCONS). Designed to resemble the Oncology Nursing Society website with a professional, medical-focused layout. Mobile-first responsive design.
Version: 1.0
Author: GitHub Copilot
Text Domain: cwscons-theme
*/

/* Skip Link */
.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.skip-link:focus {
    position: fixed;
    top: 0;
    left: 0;
    width: auto;
    height: auto;
    padding: 10px 20px;
    background-color: #f2633a;
    color: #fff;
    font-weight: 700;
    font-size: 1em;
    z-index: 9999;
    text-decoration: none;
    outline: 3px solid #fff;
}

/* Honeypot anti-spam field */
.cwscons-hp {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

/* Contact form feedback */
.contact-form-success,
.contact-form-error {
    padding: 15px 20px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-weight: 600;
}

.contact-form-success {
    background-color: #e8f5e9;
    border-left: 4px solid #2e7d32;
    color: #1b5e20;
}

.contact-form-error {
    background-color: #fdecea;
    border-left: 4px solid #c62828;
    color: #b71c1c;
}

.contact-form-privacy {
    margin-top: 10px;
    font-size: 0.8em;
    color: #888;
}

/* Form Labels */
.contact-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: #333;
    font-size: 0.95em;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
    font-size: 16px;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: #f2633a;
    transition: color 0.3s ease;
}

a:hover {
    color: #d94726;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    margin-bottom: 0.5em;
    color: #222;
}

h1 {
    font-size: 2.5em;
}

h2 {
    font-size: 2em;
    color: #f2633a;
}

h3 {
    font-size: 1.5em;
    color: #f2633a;
}

p {
    margin-bottom: 1em;
}

/* Header Styles */
.site-header {
    background: linear-gradient(135deg, #fff 0%, #f9f9f9 100%);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 4px solid #f2633a;
}

.header-utility {
    display: block;
    background-color: #f2633a;
    color: white;
    padding: 12px 20px;
    font-size: 0.9em;
}

.header-utility a {
    color: white;
}

.header-utility a:hover {
    color: #f9f3e8;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
}

.site-header-top,
.site-header-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.site-header-bottom {
    margin-top: 15px;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.site-logo img {
    height: 70px;
    width: auto;
}

.main-navigation {
    display: flex;
    justify-content: center;
    width: 100%;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    flex-wrap: nowrap;
    gap: 30px;
    justify-content: center;
    width: 100%;
    margin: 0;
    padding: 0 0 10px;
}

.main-navigation li {
    margin: 0;
    position: relative;
}

.main-navigation a {
    color: #333;
    font-weight: 700;
    padding: 8px 0;
    display: block;
    border-bottom: 3px solid transparent;
    transition: color 0.2s ease, border-bottom-color 0.2s ease;
    font-size: 0.95em;
    white-space: nowrap;
}

.main-navigation a:hover,
.main-navigation a:focus {
    color: #f2633a;
    border-bottom-color: #f2633a;
}

/* ── Dropdown / Sub-menu ──────────────────────────────── */

.main-navigation .menu-item-has-children > a::after {
    content: ' \25BE'; /* ▾ */
    font-size: 0.8em;
    vertical-align: middle;
    opacity: 0.7;
}

.main-navigation .sub-menu {
    position: absolute;
    top: calc( 100% + 10px );
    left: 0;
    z-index: 9999;
    min-width: 190px;
    background: #fff;
    border: 1px solid #eee;
    border-top: 3px solid #f2633a;
    box-shadow: 0 6px 20px rgba( 0, 0, 0, 0.1 );
    list-style: none;
    margin: 0;
    padding: 6px 0;
    display: none;
    flex-direction: column;
    gap: 0;
    border-radius: 0 0 4px 4px;
}

/* Show on hover */
.main-navigation .menu-item-has-children:hover > .sub-menu {
    display: flex;
}

/* Show on keyboard focus (.focus class set by navigation.js) */
.main-navigation .menu-item-has-children.focus > .sub-menu {
    display: flex;
}

.main-navigation .sub-menu li {
    margin: 0;
    padding: 0;
    position: static;
}

.main-navigation .sub-menu a {
    display: block;
    padding: 10px 20px;
    color: #333;
    font-weight: 600;
    font-size: 0.875em;
    border-bottom: none;
    white-space: nowrap;
    transition: background 0.15s ease, color 0.15s ease;
}

.main-navigation .sub-menu a:hover,
.main-navigation .sub-menu a:focus {
    background: #fdf3f0;
    color: #f2633a;
    border-bottom: none;
}

/* ── Mobile Menu ──────────────────────────────────────── */

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    color: #333;
    line-height: 1;
}

.menu-toggle:focus {
    outline: 2px solid #f2633a;
}

@media (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
    }

    .site-logo img {
        margin-right: 20px;
        height: 50px;
    }

    .main-navigation {
        width: 100%;
        order: 3;
        justify-content: flex-start;
    }

    .main-navigation ul {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #fff;
        border-top: 1px solid #eee;
        padding: 12px 0;
        margin-top: 12px;
        gap: 0;
    }

    .main-navigation.toggled ul {
        display: flex;
    }

    .main-navigation li {
        margin: 0;
        border-bottom: 1px solid #f0f0f0;
        padding: 0 15px;
        position: static;
    }

    .main-navigation a {
        padding: 12px 0;
        border-bottom: none;
    }

    .main-navigation .menu-item-has-children > a::after {
        content: ' \25B8'; /* ► */
    }

    .main-navigation .menu-item-has-children.focus > a::after {
        content: ' \25BE'; /* ▾ */
    }

    /* Sub-menu: static inside mobile accordion */
    .main-navigation .sub-menu {
        position: static;
        box-shadow: none;
        border: none;
        border-top: 1px solid #f0f0f0;
        border-radius: 0;
        padding: 0;
        margin-left: 12px;
        min-width: 0;
        width: 100%;
        display: none;
    }

    .main-navigation .menu-item-has-children:hover > .sub-menu {
        display: none; /* hover has no meaning on touch — rely on .focus */
    }

    .main-navigation .menu-item-has-children.focus > .sub-menu {
        display: flex;
    }

    .main-navigation .sub-menu li {
        border-bottom: 1px solid #f0f0f0;
        padding: 0;
    }

    .main-navigation .sub-menu a {
        padding: 10px 12px;
        font-size: 0.875em;
        background: #fafafa;
    }

    .menu-toggle {
        display: block;
    }
}

/* Main Content */
.site-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 40px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #f2633a 0%, #d94726 100%);
    color: white;
    padding: 100px 20px 140px;
    text-align: center;
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    border-radius: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    border: 70px solid rgba(242, 99, 58, 0.12);
    pointer-events: none;
    z-index: 0;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 60px;
    left: -70px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 50px solid rgba(255, 255, 255, 0.06);
    pointer-events: none;
    z-index: 0;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    line-height: 0;
    pointer-events: none;
    z-index: 2;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: 70px;
}

/* Stats Strip */
.cwscons-stats-strip {
    background-color: #0C3F3F;
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    padding: 48px 20px;
    margin: 0 0 0 0;
}

.cwscons-stats-inner {
    display: flex;
    flex-wrap: wrap;
}

.cwscons-stat-item {
    flex: 1 1 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.cwscons-stat-item:last-child {
    border-right: none;
}

.cwscons-stat-number {
    font-size: 3em;
    font-weight: 700;
    color: #f2633a;
    line-height: 1;
    letter-spacing: -0.02em;
}

.cwscons-stat-label {
    font-size: 0.95em;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 500;
    text-align: center;
}

.hero-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    color: #ffffff;
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.1;
}

.hero-section .subtitle {
    font-size: 1.5em;
    margin-bottom: 15px;
    font-weight: 300;
}

.hero-section p {
    font-size: 1.1em;
    margin-bottom: 30px;
    line-height: 1.8;
}

/* Content Sections */
.content-section {
    background-color: #fff;
    margin-bottom: 50px;
    padding: 50px 40px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.content-section h2 {
    color: #1a1a1a;
    margin-bottom: 8px;
    font-size: 2em;
    text-align: center;
}

.content-section p {
    margin-bottom: 15px;
}

/* Section heading decorative underline (#8) */
.section-heading-line {
    width: 48px;
    height: 4px;
    background: #f2633a;
    border-radius: 2px;
    margin: 0 auto 24px;
}


/* About 2-column layout (#7) */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-text p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-mission {
    background: #f0f7f7;
    border-left: 4px solid #0C3F3F;
    padding: 28px;
    border-radius: 0 8px 8px 0;
    margin-bottom: 16px;
}

.about-mission .mission-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: #0C3F3F;
    margin-bottom: 10px;
}

.about-mission blockquote {
    font-size: 1.05em;
    color: #0C3F3F;
    font-style: italic;
    line-height: 1.7;
    font-weight: 500;
}

.about-badges {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.about-badge-item {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 16px;
    text-align: center;
}

.about-badge-item .badge-value {
    font-size: 1.6em;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 4px;
}

.about-badge-item .badge-label {
    font-size: .75em;
    color: #666;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
}

/* Member Benefits Cards (#9) */
.content-section--soft {
    background: #f8f9fa;
}

.content-section--full {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 0;
    box-shadow: none;
    margin-bottom: -40px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 8px;
}

.benefit-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: box-shadow .2s ease, transform .2s ease;
}

.benefit-card:hover {
    box-shadow: 0 8px 28px rgba(0,0,0,.09);
    transform: translateY(-3px);
}

.benefit-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(242,99,58,.12) 0%, rgba(242,99,58,.08) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.benefit-icon svg {
    width: 24px;
    height: 24px;
}

.benefit-card h3 {
    font-size: 1.05em;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.benefit-card p {
    font-size: .9em;
    color: #555;
    line-height: 1.65;
    margin: 0;
}

/* Events Section */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 8px;
}

/* Event cards with date badge (#10) */
.event-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow .2s ease, transform .2s ease;
}

.event-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,.09);
    transform: translateY(-2px);
}

.event-card-date-strip {
    background: #0C3F3F;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
}

.event-date-badge {
    background: #f2633a;
    border-radius: 6px;
    width: 44px;
    text-align: center;
    flex-shrink: 0;
    padding: 5px 0;
}

.event-date-badge .event-date-day {
    font-size: 1.4em;
    font-weight: 800;
    line-height: 1;
}

.event-date-badge .event-date-mon {
    font-size: .65em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.event-meta-label {
    font-size: .75em;
    opacity: .7;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: 2px;
}

.event-time {
    font-size: .9em;
    font-weight: 600;
}

.event-card-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.event-card-body h3 {
    font-size: 1.05em;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.event-card-body h3 a {
    color: inherit;
    text-decoration: none;
}

.event-card-body h3 a:hover {
    color: #f2633a;
}

.event-card-body p {
    font-size: .9em;
    color: #555;
    line-height: 1.6;
    flex: 1;
    margin: 0;
}

.card-link {
    display: inline-block;
    font-size: .875em;
    font-weight: 700;
    color: #f2633a;
    text-decoration: none;
    margin-top: 4px;
}

.card-link:hover {
    text-decoration: underline;
}

/* Board Members */
.board-members {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
    margin-top: 30px;
}

.board-member {
    text-align: center;
    background-color: #fafafa;
    padding: 30px 20px;
    border-radius: 4px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.board-member:hover {
    box-shadow: 0 6px 20px rgba(242, 99, 58, 0.1);
    background-color: #fff;
}

.board-member img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 4px solid #f2633a;
}

.board-member h4 {
    color: #222;
    margin-bottom: 8px;
    font-size: 1.2em;
}

.board-member .title {
    color: #f2633a;
    font-weight: 600;
    font-size: 0.95em;
    margin-bottom: 12px;
}

.board-member p {
    color: #666;
    font-size: 0.9em;
    line-height: 1.6;
}

/* Footer */
.site-footer {
    background-color: #002d2d;
    color: #fff;
    padding: 40px 20px 30px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
    padding-bottom: 5px;
    border-bottom: 1px solid #444;
}

.footer-section h3 {
    color: #f2633a;
    margin-bottom: 20px;
    font-size: 1.1em;
    font-weight: 700;
}

.footer-section h3::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 20px;
    background-color: #f2633a;
    margin-right: 10px;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 5px;
}

.footer-section a {
    color: #bbb;
    font-size: 0.95em;
}

.footer-section a:hover {
    color: #f2633a;
}

.footer-section p {
    color: #bbb;
    font-size: 0.9em;
    line-height: 1.8;
}

.site-info {
    text-align: center;
    margin-top: 10px;
    padding-top: 10px;
    color: #999;
    font-size: 0.9em;
}

/* Responsive Design - Tablet */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 20px 110px;
    }

    .hero-wave svg {
        height: 50px;
    }

    .cwscons-stats-strip {
        padding: 36px 20px;
    }

    .cwscons-stat-number {
        font-size: 2.4em;
    }

    .hero-section h1 {
        font-size: 2.2em;
    }

    .hero-section .subtitle {
        font-size: 1.2em;
    }

    .content-section {
        padding: 35px 25px;
    }

    .events-grid,
    .board-members {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

/* Responsive Design - Mobile */
@media (max-width: 480px) {
    .site-main {
        padding: 0 15px 25px;
    }

    .site-logo img {
        height: 45px;
    }

    .header-container {
        padding: 12px 15px;
    }

    .site-header {
        border-bottom-width: 3px;
    }

    .hero-section {
        padding: 40px 15px 90px;
        margin: 0;
    }

    .hero-wave svg {
        height: 40px;
    }

    .cwscons-stats-strip {
        padding: 28px 15px;
    }

    .cwscons-stat-number {
        font-size: 2em;
    }

    .cwscons-stat-label {
        font-size: 0.85em;
    }

    .hero-section h1 {
        font-size: 1.8em;
        margin-bottom: 15px;
    }

    .hero-section .subtitle {
        font-size: 1.1em;
    }

    .hero-section p {
        font-size: 0.95em;
    }

    .content-section {
        padding: 25px 15px;
        margin-bottom: 35px;
    }

    .content-section h2 {
        font-size: 1.6em;
    }

    .content-section h3 {
        font-size: 1.2em;
    }

    .events-grid,
    .board-members {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .about-badges {
        grid-template-columns: 1fr 1fr;
    }

    .board-member {
        padding: 20px 15px;
    }

    .board-member img {
        width: 120px;
        height: 120px;
    }

    .main-navigation li {
        border-bottom: 1px solid #f0f0f0;
        padding: 0 12px;
    }

    .main-navigation a {
        padding: 10px 0;
        font-size: 0.9em;
    }

    .btn {
        width: 100%;
        padding: 12px 20px;
    }

    .contact-form {
        display: flex;
        flex-direction: column;
    }

    .footer-section h3 {
        font-size: 1em;
    }

    .site-footer {
        padding: 40px 15px 20px;
    }
}

/* Extra small devices */
@media (max-width: 380px) {
    body {
        font-size: 15px;
    }

    .hero-section h1 {
        font-size: 1.4em;
    }

    .content-section h2 {
        font-size: 1.3em;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    background-color: transparent;
    color: #f2633a;
    padding: 12px 3px;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.95em;
    border: 0px solid #f2633a;
    cursor: pointer;
    text-align: center;
}

.btn:hover {
    background-color: #f2633a;
    border-color: #f2633a;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(242, 99, 58, 0.3);
}

.hero-section .btn:hover {
    background-color: #f2633a;
    color: white;
    border-color: #f2633a;
}

.btn-primary {
    background-color: #f2633a;
    color: #fff;
    border: 2px solid #f2633a;
    padding: 11px 28px;
}

.btn-primary:hover {
    background-color: #d94726;
    border-color: #d94726;
    color: #fff;
}

.btn-secondary {
    background-color: transparent;
    color: #f2633a;
    padding: 12px 30px;
    border: 2px solid #f2633a;
}

.btn-secondary:hover {
    background-color: #f2633a;
    color: white;
}

.btn-ghost {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,.65);
    padding: 11px 28px;
}

.btn-ghost:hover {
    border-color: #fff;
    background: rgba(255,255,255,.1);
    color: #fff;
    box-shadow: none;
}

/* Hero two-button row (#5) */
.hero-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 8px;
}

/* CTA section (#11) */
.cta-section {
    position: relative;
    background: linear-gradient(135deg, #f2633a 0%, #d94726 100%);
    color: #fff;
    text-align: center;
    padding: 80px 20px;
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: rgba(255,255,255,.07);
    pointer-events: none;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -60px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: rgba(255,255,255,.06);
    pointer-events: none;
}

.cta-wave-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    line-height: 0;
    pointer-events: none;
}

.cta-wave-top svg {
    display: block;
    width: 100%;
    height: 60px;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    color: #fff;
    font-size: 2em;
    font-weight: 700;
    margin-bottom: 14px;
}

.cta-section p {
    color: rgba(255,255,255,.88);
    font-size: 1.05em;
    max-width: 520px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

/* Add to Calendar buttons */
.cal-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 2rem;
    padding: 1.25rem;
    background: #f9f9f9;
    border-radius: 4px;
    border-left: 4px solid #f2633a;
}

.cal-buttons__label {
    font-weight: 700;
    font-size: 0.9em;
    color: #333;
    white-space: nowrap;
}

.cal-btn {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 0.875em;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s ease;
    white-space: nowrap;
}

.cal-btn:hover {
    opacity: 0.85;
    color: inherit;
}

.cal-btn--ical {
    background-color: #333;
    color: #fff;
}

.cal-btn--google {
    background-color: #4285F4;
    color: #fff;
}

.cal-btn--outlook {
    background-color: #0078D4;
    color: #fff;
}

@media (max-width: 480px) {
    .cal-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .cal-btn {
        width: 100%;
        text-align: center;
    }
}

/* Forms */
.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1em;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: 2px solid #f2633a;
    outline-offset: 0;
    border-color: #f2633a;
    box-shadow: 0 0 0 3px rgba(242, 99, 58, 0.1);
}

.contact-form button {
    background-color: #f2633a;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95em;
    transition: all 0.3s ease;
}

.contact-form button:hover {
    background-color: #d94726;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(242, 99, 58, 0.3);
}

/* Events filter form */
.events-filter-form {
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 0.75rem;
    padding: 1.25rem 1.5rem;
    margin-bottom: 2rem;
}

.events-filter-fields {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: flex-end;
}

.events-filter-field {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    min-width: 130px;
}

.events-filter-field label {
    font-size: 0.85em;
    font-weight: 600;
    color: #444;
}

.events-filter-field select {
    padding: 8px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 0.95em;
    background: #fff;
}

.events-filter-field select:disabled {
    background: #f0f0f0;
    color: #999;
    cursor: not-allowed;
}

.events-filter-actions {
    display: flex;
    gap: 0.5rem;
    align-items: flex-end;
    padding-bottom: 1px;
}

.events-filter-notice {
    font-size: 0.9em;
    color: #555;
    margin-bottom: 1.5rem;
    padding: 0.5rem 0.75rem;
    background: #fff8f5;
    border-left: 3px solid #f2633a;
    border-radius: 0 4px 4px 0;
}

@media (max-width: 600px) {
    .events-filter-fields {
        flex-direction: column;
    }

    .events-filter-field {
        width: 100%;
    }

    .events-filter-field select {
        width: 100%;
    }

    .events-filter-actions {
        width: 100%;
    }

    .events-filter-actions .btn {
        flex: 1;
        text-align: center;
    }
}

/* Auth pages (login, register, reset password, my account) */
.auth-wrap {
    max-width: 480px;
    margin: 0 auto;
}

.auth-title {
    font-size: 2em;
    margin-bottom: 0.4rem;
    color: #222;
}

.auth-subtitle {
    color: #666;
    margin-bottom: 1.5rem;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.auth-form label {
    display: block;
    font-weight: 600;
    color: #333;
    font-size: 0.9em;
    margin-bottom: 5px;
    margin-top: 1rem;
}

.auth-form label:first-of-type {
    margin-top: 0;
}

.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"] {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1em;
    transition: border-color 0.2s ease;
    margin-bottom: 0;
}

.auth-form input:focus {
    outline: 2px solid #f2633a;
    outline-offset: 0;
    border-color: #f2633a;
}

.auth-field-hint {
    font-size: 0.8em;
    color: #888;
    margin: 4px 0 0;
}

.auth-checkbox-label {
    display: flex !important;
    align-items: center;
    gap: 8px;
    font-weight: 400 !important;
    cursor: pointer;
    margin-top: 0.75rem !important;
}

.auth-submit {
    margin-top: 1.5rem;
    width: 100%;
    justify-content: center;
}

.auth-links {
    margin-top: 1.25rem;
    text-align: center;
    font-size: 0.9em;
    color: #666;
}

.auth-links a {
    color: #f2633a;
    font-weight: 600;
}

.auth-links__sep {
    margin: 0 0.5rem;
    color: #ccc;
}

.auth-notice {
    padding: 12px 16px;
    border-radius: 4px;
    margin-bottom: 1.25rem;
    font-weight: 600;
    font-size: 0.95em;
}

.auth-notice--success {
    background-color: #e8f5e9;
    border-left: 4px solid #2e7d32;
    color: #1b5e20;
}

.auth-notice--error {
    background-color: #fdecea;
    border-left: 4px solid #c62828;
    color: #b71c1c;
}

.auth-name-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.auth-name-row label {
    margin-top: 0;
}

.my-account-section {
    margin-top: 2rem;
}

@media (max-width: 560px) {
    .auth-name-row {
        grid-template-columns: 1fr;
    }
}
