/* Shared site styles extracted from index.html */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root{
    /* Single site font used everywhere — matches the gallery title font stack */
    --site-font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --base-font-size: 16px;
    /* primary accent used across the UI (teal/cyan) */
    --primary-color: #06b6d4;
}

html { font-family: var(--site-font); font-size: var(--base-font-size); }

body {
    /* Use the unified site font on all text; sizes are varied with selectors below */
    font-family: var(--site-font);
    font-size: 1rem;
    line-height: 1.45;
    min-height: 100vh;
    background: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 50%, #14b8a6 100%);
    color: white;
    overflow-x: hidden;
}

/* Skip link for keyboard users */
.skip-link {
    position: absolute;
    left: -999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.skip-link:focus {
    left: 1rem;
    top: 1rem;
    width: auto;
    height: auto;
    padding: 0.5rem 1rem;
    background: rgba(0,0,0,0.6);
    color: white;
    border-radius: 6px;
    z-index: 9999;
}

.waves {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    z-index: 0;
    opacity: 0.3;
}

.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path d="M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z" fill="%23ffffff"/></svg>') repeat-x;
    animation: wave 15s linear infinite;
}

.wave:nth-child(2) {
    bottom: 10px;
    opacity: 0.5;
    animation: wave 20s linear infinite reverse;
}

@keyframes wave {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Responsive design - Mobile First approach */

/* Base styles (mobile) */
.container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 1rem;
    text-align: center;
}

/* Home page: reduce visual height so content sits higher on the page */
.container.container--home { min-height: 50vh; }

/* Gallery variant - pin content to the top so the wavy footer remains at the bottom */
.container--top { justify-content: flex-start; padding-top: 0.5rem; }

/* Shared inner container used by gallery content to align title and grid */
.content-inner { 
    max-width: 1100px; 
    margin: 0 auto; 
    padding: 0 1rem; 
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Mobile-specific centering for kite grid */
/* Mobile header */
@media (max-width: 767px) {
    .site-header {
        padding: 0.5rem;
        padding-top: 3.5rem;
        margin-top: 10px;
        flex-direction: column;
        gap: 0.75rem;
    }

    .site-header h1 { font-size: 1.5rem; }
    .site-header .beach-name { 
        font-size: 1.5rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.25rem;
    }
    
    .site-header .beach-name .beach-title {
        display: block;
    }
    
    .site-header .beach-name .beach-location {
        display: block;
        font-size: 1.2rem;
        font-weight: 500;
        opacity: 0.75;
        text-align: center;
    }
}

/* Tablet styles */
@media (min-width: 768px) {
    .container {
        padding: 1.5rem;
    }
    
    .container--top {
        padding-top: 1.5rem;
    }
    
    .content-inner {
        padding: 0 0.5rem;
        align-items: stretch;
    }
}

/* Desktop styles */
@media (min-width: 1024px) {
    .container {
        padding: 2rem;
    }
    
    .container--top {
        padding-top: 1.5rem;
    }
    
    .content-inner {
        padding: 0 0.5rem;
    }
}

/* Logo responsive design */
.logo {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: 300px;
    margin-bottom: 1.5rem;
}

.logo .kite-row { display: contents; }
.logo .kite-row:last-child { grid-column: 1 / -1; display: flex; justify-content: center; gap: 1rem; }
.logo img { 
    width: 80px; 
    height: auto; 
    filter: drop-shadow(0 8px 16px rgba(0,0,0,0.3)); 
    background: transparent; 
    box-shadow: none; 
}

/* Tablet logo */
@media (min-width: 768px) {
    .logo {
        gap: 1.25rem;
        max-width: 400px;
        margin-bottom: 1.75rem;
    }
    
    .logo .kite-row:last-child { gap: 1.25rem; }
    .logo img { width: 100px; }
}

/* Desktop logo */
@media (min-width: 1024px) {
    .logo {
        gap: 1.5rem;
        max-width: 500px;
        margin-bottom: 2rem;
    }
    
    .logo .kite-row:last-child { gap: 1.5rem; }
    .logo img { 
        width: 120px;
        filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3)); 
    }
}

/* Gentle floating animation for logo kites — each kite gets slightly different timing and phase */
.logo .kite-row:first-child img:nth-child(1) { animation: float1 6.0s cubic-bezier(.22,.9,.35,1) infinite; animation-delay: -0.6s; }
.logo .kite-row:first-child img:nth-child(2) { animation: float2 7.1s ease-in-out infinite; animation-delay: -1.2s; }
.logo .kite-row:first-child img:nth-child(3) { animation: float3 6.6s cubic-bezier(.25,.8,.35,1) infinite; animation-delay: -0.2s; }
.logo .kite-row:last-child img:nth-child(1) { animation: float4 7.3s ease-in-out infinite; animation-delay: -0.9s; }
.logo .kite-row:last-child img:nth-child(2) { animation: float5 6.9s cubic-bezier(.16,.7,.3,1) infinite; animation-delay: -1.5s; }

@media (prefers-reduced-motion: reduce) {
    .logo .kite-row img { animation: none !important; }
}

/* Gallery header kites - same animation timings as home page */
.kite-grid .kite-row:first-child img:nth-child(1) { animation: float1 6.0s cubic-bezier(.22,.9,.35,1) infinite; animation-delay: -0.6s; }
.kite-grid .kite-row:first-child img:nth-child(2) { animation: float2 7.1s ease-in-out infinite; animation-delay: -1.2s; }
.kite-grid .kite-row:first-child img:nth-child(3) { animation: float3 6.6s cubic-bezier(.25,.8,.35,1) infinite; animation-delay: -0.2s; }
.kite-grid .kite-row:last-child img:nth-child(1) { animation: float4 7.3s ease-in-out infinite; animation-delay: -0.9s; }
.kite-grid .kite-row:last-child img:nth-child(2) { animation: float5 6.9s cubic-bezier(.16,.7,.3,1) infinite; animation-delay: -1.5s; }

@media (prefers-reduced-motion: reduce) {
    .kite-grid .kite-row img { animation: none !important; }
}

@keyframes float1 { 0%,100%{transform:translate(0px,0px) rotate(-3deg)}50%{transform:translate(-3px,-6px) rotate(3deg)} }
@keyframes float2 { 0%,100%{transform:translate(0px,-2px) rotate(2deg)}50%{transform:translate(4px,-8px) rotate(-2deg)} }
@keyframes float3 { 0%,100%{transform:translate(0px,0px) rotate(4deg)}50%{transform:translate(-2px,-7px) rotate(-4deg)} }
@keyframes float4 { 0%,100%{transform:translate(0px,-1px) rotate(-2deg)}50%{transform:translate(3px,-9px) rotate(2deg)} }
@keyframes float5 { 0%,100%{transform:translate(0px,0px) rotate(3deg)}50%{transform:translate(-4px,-6px) rotate(-3deg)} }

/* New smaller, focused keyframes for the gallery second-row kites */


/* Responsive typography */
h1 { 
    font-size: clamp(2rem, 6vw, 5rem); 
    font-weight: 800; 
    margin-bottom: 1rem; 
    text-shadow: 0 4px 20px rgba(0,0,0,0.3); 
    animation: fadeInUp 1s ease-out; 
    letter-spacing: -0.02em; 
    line-height: 1.1;
}

.tagline { 
    font-size: clamp(1rem, 3vw, 1.8rem); 
    margin-bottom: 1.5rem; 
    opacity: 0.95; 
    font-weight: 300; 
    animation: fadeInUp 1.2s ease-out; 
    text-shadow: 0 2px 10px rgba(0,0,0,0.2); 
    line-height: 1.4;
}

/* Tablet typography */
@media (min-width: 768px) {
    h1 { 
        margin-bottom: 1.25rem; 
    }
    
    .tagline { 
        margin-bottom: 2rem; 
    }
}

/* Desktop typography */
@media (min-width: 1024px) {
    h1 { 
        font-size: clamp(2.5rem, 8vw, 5rem); 
        margin-bottom: 1rem; 
    }
    
    .tagline { 
        font-size: clamp(1.2rem, 3vw, 1.8rem); 
        margin-bottom: 2rem; 
    }
}

/* Features responsive design */
.features { 
    display: grid; 
    grid-template-columns: 1fr; 
    gap: 1.25rem; 
    max-width: 800px; 
    margin: 2rem auto; 
    animation: fadeInUp 1.4s ease-out; 
}

/* Tablet features */
@media (min-width: 768px) {
    .features { 
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
        gap: 1.5rem; 
    }
}

.feature { 
    display: block; 
    text-decoration: none; 
    color: inherit; 
    background: rgba(255,255,255,0.15); 
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px); 
    border-radius: 16px; 
    padding: 1.25rem; 
    border: 1px solid rgba(255,255,255,0.2); 
    transition: transform 0.3s ease, background 0.3s ease; 
}

/* Desktop features */
@media (min-width: 1024px) {
    .feature { 
        padding: 1.5rem; 
    }
}
.feature:hover { transform:translateY(-5px); background:rgba(255,255,255,0.25); }
.feature:focus-visible { outline:3px solid rgba(255,255,255,0.9); outline-offset:4px; }
.feature--disabled { pointer-events: none; opacity: 0.6; transform: none !important; }
.feature-icon { font-size:2.5rem; margin-bottom:0.5rem; display:block; height:2.5rem; line-height:2.5rem; }
.feature h3 { font-size:1.2rem; margin-bottom:0.5rem; font-weight:600; }
.feature .location-country { font-size:0.85rem; opacity:0.75; margin-top:-0.25rem; margin-bottom:0.5rem; }
.feature p { font-size:0.9rem; opacity:0.9; line-height:1.4; }

.status { margin-top:3rem; padding:1rem 2rem; background:rgba(255,255,255,0.2); -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px); border-radius:50px; display:inline-flex; align-items:center; gap:0.5rem; font-weight:500; animation:fadeInUp 1.6s ease-out; }
.status-dot { width:12px; height:12px; background:#10b981; border-radius:50%; animation:pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)}50%{opacity:0.5;transform:scale(1.2)} }
@keyframes fadeInUp { from{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)} }

/* Header layout for gallery pages: responsive design */
.site-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 0;
    padding: 0;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    gap: 1.5rem;
    width: 100%;
}

.site-header h1 { 
    font-size: clamp(1.5rem, 4vw, 2.2rem); 
    margin: 0; 
    text-align: center;
    width: 100%;
}

/* Beach name styling */
.site-header .beach-name {
    font-size: clamp(1.75rem, 5vw, 2.2rem);
    font-weight: 700;
    color: #1a2a3a;
    margin: 0;
    line-height: 1.2;
    text-align: center;
    width: 100%;
}

.site-header .beach-name span {
    color: inherit;
}

/* Tablet header */
@media (min-width: 768px) {
    .site-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        margin-top: 1.5rem;
        margin-bottom: 0;
        gap: 1.5rem;
        text-align: left;
    }
    
    .site-header .kite-grid {
        flex-shrink: 0;
    }
    
    .site-header h1 { 
        text-align: right;
        width: auto;
        flex: 1;
    }
    
    .site-header .beach-name {
        text-align: right;
        width: auto;
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 0.25rem;
    }
    
    .site-header .beach-name .beach-title {
        display: block;
    }
    
    .site-header .beach-name .beach-location {
        display: block;
        font-size: 1.2rem;
        font-weight: 500;
        opacity: 0.75;
    }
}

/* Desktop header */
@media (min-width: 1024px) {
    .site-header {
        margin-top: 2rem;
        margin-bottom: 2rem;
    }
}

/* Kites grid responsive design */
.kite-grid {
    display: grid;
    grid-template-columns: repeat(3, 35px);
    grid-auto-rows: 35px;
    gap: 6px 8px;
    align-items: center;
    justify-items: center;
    justify-content: center;
    margin: 0 auto;
    width: fit-content;
    flex-shrink: 0;
}

/* Allow the first .kite-row's children to flow into grid cells. Then make the
     second row span all columns and center its content like the home page */
.kite-grid .kite-row:first-child { display: contents; }
.kite-grid .kite-row:last-child { 
    grid-column: 1 / -1; 
    display: flex; 
    justify-content: center; 
    gap: 8px; 
    width: 100%;
}

.kite-grid img {
    width: 35px;
    height: 35px;
    object-fit: contain;
    border-radius: 6px;
    background: transparent;
    box-shadow: none;
}

/* Tablet kite grid */
@media (min-width: 768px) {
    .kite-grid {
        grid-template-columns: repeat(3, 40px);
        grid-auto-rows: 40px;
        gap: 8px 10px;
        justify-content: center;
        margin: 0;
        width: auto;
    }
    
    .kite-grid .kite-row:last-child { gap: 10px; }
    .kite-grid img {
        width: 40px;
        height: 40px;
        border-radius: 8px;
    }
}

/* Desktop kite grid */
@media (min-width: 1024px) {
    .kite-grid {
        grid-template-columns: repeat(3, 40px);
        grid-auto-rows: 40px;
        gap: 8px 12px;
    }
    
    .kite-grid .kite-row:last-child { gap: 12px; }
}

/* Anchor around kite icons (links to home) */
.kite-link { display:inline-block; border-radius:8px; padding:2px; }
.kite-link img { display:block; }
.kite-link:focus-visible { outline: 3px solid rgba(255,255,255,0.9); outline-offset: 3px; border-radius:8px; }

/* Gallery controls responsive design */
.gallery-controls { 
    display: flex; 
    align-items: center; 
    justify-content: center;
    gap: 0.75rem; 
    margin-bottom: 1.5rem; 
    position: relative;
    flex-wrap: wrap;
}

.gallery-controls input[type="date"] { 
    padding: 0.5rem 0.7rem; 
    border-radius: 8px; 
    border: 1px solid rgba(0,0,0,0.12); 
    background: white; 
    color: #122; 
    font-size: 0.95rem; 
    min-width: 180px; 
    font-family: inherit; 
}

.gallery-controls button { 
    padding: 0.4rem 0.6rem; 
    border-radius: 8px; 
    border: 1px solid rgba(0,0,0,0.08); 
    background: rgba(255,255,255,0.95); 
    color: #122; 
    cursor: pointer; 
    font-size: 0.9rem; 
    font-family: inherit; 
}

.gallery-controls button:active { transform: translateY(1px); }

/* Make the visible date button look like the date input */
#date-filter-btn,
#date-filter-btn-mobile {
    padding: 0.5rem 0.8rem;
    border-radius: 8px;
    border: 1px solid rgba(0,0,0,0.12);
    background: white;
    color: #122;
    min-width: 180px;
    font-size: 0.95rem;
    font-family: inherit;
    cursor: pointer;
}

#date-filter-btn:focus,
#date-filter-btn-mobile:focus { outline: 3px solid rgba(6,182,212,0.25); }

/* Tablet gallery controls */
@media (min-width: 768px) {
    .gallery-controls { 
        margin-bottom: 1.25rem; 
    }
    
    .gallery-controls input[type="date"] { 
        padding: 0.6rem 0.8rem; 
        font-size: 1rem; 
        min-width: 200px; 
    }
    
    .gallery-controls button { 
        padding: 0.5rem 0.75rem; 
        font-size: 0.95rem; 
    }
    
    #date-filter-btn,
    #date-filter-btn-mobile {
        padding: 0.55rem 0.9rem;
        font-size: 1rem;
        min-width: 200px;
    }
}

/* Desktop gallery controls */
@media (min-width: 1024px) {
    .gallery-controls { 
        margin-bottom: 0.75rem; 
    }
    
    .gallery-controls input[type="date"] { 
        min-width: 220px; 
    }
    
    #date-filter-btn,
    #date-filter-btn-mobile {
        min-width: 220px;
    }
}

/* Button date display styling */
#date-filter-btn .date-value,
#date-filter-btn-mobile .date-value { font-weight: 700; display:inline-block; }

/* Mini calendar responsive design */
.mini-calendar { 
    margin-top: 0.5rem; 
    border-radius: 10px; 
    background: rgba(255,255,255,0.98); 
    color: #112; 
    padding: 0.75rem; 
    box-shadow: 0 8px 36px rgba(0,0,0,0.18); 
    display: inline-block; 
    min-width: 280px;
    max-width: 90vw;
}

.mini-calendar .mc-header { 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    gap: 10px; 
    margin-bottom: 8px; 
}

.mini-calendar .mc-month { 
    font-weight: 800; 
    font-size: 1rem; 
}

.mini-calendar .mc-grid { 
    display: grid; 
    grid-template-columns: repeat(7, 1fr); 
    gap: 4px; 
    font-size: 0.9rem; 
}

.mini-calendar .mc-dayhead { 
    font-size: 0.8rem; 
    opacity: 0.75; 
    text-align: center; 
    padding: 3px 0; 
}

.mini-calendar .mc-day, .mini-calendar .mc-empty { 
    padding: 8px; 
    min-height: 36px; 
    border-radius: 6px; 
    background: transparent; 
    border: 0; 
    font-size: 0.9rem; 
}

/* Tablet mini calendar */
@media (min-width: 768px) {
    .mini-calendar { 
        min-width: 300px; 
    }
    
    .mini-calendar .mc-month { 
        font-size: 1.05rem; 
    }
    
    .mini-calendar .mc-grid { 
        gap: 5px; 
        font-size: 0.95rem; 
    }
    
    .mini-calendar .mc-dayhead { 
        font-size: 0.82rem; 
    }
    
    .mini-calendar .mc-day, .mini-calendar .mc-empty { 
        padding: 9px; 
        min-height: 38px; 
        font-size: 0.95rem; 
    }
}

/* Desktop mini calendar */
@media (min-width: 1024px) {
    .mini-calendar { 
        min-width: 320px; 
    }
    
    .mini-calendar .mc-grid { 
        gap: 6px; 
        font-size: 1rem; 
    }
    
    .mini-calendar .mc-dayhead { 
        font-size: 0.85rem; 
        padding: 4px 0; 
    }
    
    .mini-calendar .mc-day, .mini-calendar .mc-empty { 
        padding: 10px; 
        min-height: 42px; 
        border-radius: 8px; 
        font-size: 1rem; 
    }
}

.mini-calendar .mc-day { cursor: pointer; background: transparent; }
.mini-calendar .mc-day:hover { background: rgba(0,0,0,0.06); }
.mini-calendar .mc-available { font-weight: 800; }
.mini-calendar .mc-day:focus { outline: 3px solid #06b6d4; }

/* Make calendar text use the same site font */
.mini-calendar, .mini-calendar .mc-day, .mini-calendar .mc-dayhead, .mini-calendar .mc-month { font-family: inherit; }

/* Meta and card text inherit site font and size variations are applied here */
.card .meta { font-family: inherit; font-size: 0.85rem; font-weight: 700; color: #666; }

/* Card media container to support absolute-positioned overlays */
.card .card-media { position: relative; overflow: hidden; }

/* Kite overlay: kite-shaped badge with kite image background (50% larger) */
.kite-overlay { --kite-badge-size: 48px; position: absolute; right: 6px; top: 6px; width: var(--kite-badge-size); height: var(--kite-badge-size); display: flex; align-items: center; justify-content: center; pointer-events: none; }

/* Kite image background */
.kite-overlay::before { 
    content: ''; 
    position: absolute; 
    inset: 0; 
    background-image: url('/img/kite-white.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    /* stronger directional drop shadow (lower-right) */ 
    filter: drop-shadow(3px 8px 20px rgba(0,0,0,0.34));
}

/* Numeric count positioned on the kite's wing */
.kite-count { 
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2; 
    font-weight: 800; 
    color: #000; 
    font-size: calc(var(--kite-badge-size) * 0.6); 
    line-height: 1; 
    pointer-events: none; 
    text-shadow: 1px 1px 2px rgba(255,255,255,0.9);
    margin: 0;
}

/* Wind compass: small compass badge in top-left corner opposite to kite count */
.wind-compass { 
    --wind-badge-size: 32px; 
    position: absolute; 
    left: 6px; 
    top: 6px; /* Aligned with kite overlay */
    width: var(--wind-badge-size); 
    height: var(--wind-badge-size); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    pointer-events: none; 
}

/* SVG compass background circle */
.wind-compass-bg { 
    position: absolute; 
    inset: 0; 
    width: 100%; 
    height: 100%; 
    border-radius: 999px; 
    filter: drop-shadow(2px 2px 6px rgba(0,0,0,0.3)); 
    z-index: 0;
}

/* Wind direction arrow - full span across compass */
.wind-arrow { 
    position: absolute; 
    z-index: 2; 
    width: 100%; 
    height: 100%; 
    transform-origin: center center;
}

.wind-arrow::before { 
    content: ''; 
    position: absolute; 
    top: 50%; 
    left: 50%; 
    height: 15px; 
    width: 2px; 
    background: linear-gradient(180deg, transparent 0%, #e11d48 20%, #e11d48 80%, transparent 100%);
    transform: translate(-50%, -50%);
    border-radius: 1px;
}

.wind-arrow::after { 
    content: ''; 
    position: absolute; 
    top: calc(50% - 7.5px); 
    left: 50%; 
    transform: translateX(-50%); 
    width: 0; 
    height: 0; 
    border-left: 3px solid transparent; 
    border-right: 3px solid transparent; 
    border-bottom: 6px solid #e11d48;
}

/* Wind direction text back at arrow tip */
.wind-direction { 
    position: absolute; 
    z-index: 4; 
    top: -4px; 
    left: 50%; 
    transform: translateX(-50%); 
    font-size: 8px; 
    font-weight: 900; 
    color: #000; 
    background: rgba(255,255,255,1);
    padding: 2px 3px;
    border-radius: 2px;
    text-shadow: none;
    line-height: 1;
    border: 1px solid rgba(0,0,0,0.3);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Wind speed text at opposite end of arrow */
.wind-speed { 
    position: absolute; 
    z-index: 4; 
    bottom: -4px; 
    left: 50%; 
    transform: translateX(-50%); 
    font-size: 8px; 
    font-weight: 900; 
    color: #000; 
    background: rgba(255,255,255,1);
    padding: 2px 3px;
    border-radius: 2px;
    text-shadow: none;
    line-height: 1;
    border: 1px solid rgba(0,0,0,0.3);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Compass cardinal directions */
.wind-compass::after { 
    content: ''; 
    position: absolute; 
    inset: 3px; 
    border-radius: 999px; 
    background: transparent; 
    border: 1px solid rgba(0,0,0,0.1);
}


/* Buttons and inputs across the site should inherit the same font */
button, input, select, textarea { font-family: inherit; }

/* Available days (have photos) should be highlighted like the selected day */
.mini-calendar .mc-day.mc-available{
    background: #06b6d4;
    color: white;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(6,182,212,0.12);
}
.mini-calendar .mc-day.mc-available:hover{ background: #05a7b8; }

/* Selected day styling: keep as the more prominent highlight */
.mini-calendar .mc-day.mc-selected{
    background: #06b6d4;
    color: white;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(6,182,212,0.18);
}
.mini-calendar .mc-day.mc-selected:hover{ background: #05a7b8; }

/* Today's frame: only show when the day is NOT an available/photo day. If today is available,
     the available highlight takes precedence. */
.mini-calendar .mc-day.mc-today:not(.mc-available){
    border: 2px solid rgba(6,182,212,0.9);
    box-shadow: 0 2px 6px rgba(6,182,212,0.08) inset;
    /* Ensure the framed 'today' look does not show a filled background or
       white text — keep it visually a border-only indicator when there are
       no photos for today. This overrides the selected/available rules. */
    background: transparent !important;
    color: inherit !important;
    box-shadow: 0 2px 6px rgba(6,182,212,0.08) inset !important;
}
.mini-calendar .mc-day.mc-selected.mc-today{
    /* Selected + today: keep selected blue but add a subtle white ring */
    box-shadow: 0 0 0 3px rgba(255,255,255,0.12), 0 6px 18px rgba(6,182,212,0.18);
}

/* Utility: screen-reader only */
.sr-only{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }

/* Center the mini-calendar above the gallery grid */
.mini-calendar { 
    position: absolute; 
    left: 50%; 
    transform: translateX(-50%) translateY(8px); 
    z-index: 50; 
    top: calc(100% + 8px); 
    max-height: 60vh; 
    overflow: auto; 
}

/* Place a relative container so the absolute mini-calendar can position relative to the gallery controls region */
.container--top > .gallery-controls { position: relative; }

/* Center the mini-calendar above the gallery grid */
.gallery-controls { justify-content: center; position: relative; }
.mini-calendar{ position: absolute; left: 50%; transform: translateX(-50%) translateY(8px); z-index: 50; top: calc(100% + 8px); max-height: 60vh; overflow:auto; }
/* Place a relative container so the absolute mini-calendar can position relative to the gallery controls region */
.container--top > .gallery-controls { position: relative; }
