/**
 * Greco Theme - Component Styles
 * Cards, tabs, dropdowns, buttons
 * Enhanced with Greek Premium + Liquid Glass design system
 */

/* ========================================
   Greek Premium Design Utilities
   ======================================== */

/* Glass - Light variant (for use on light backgrounds) */
.glass-light {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.20);
}

/* Glass - Dark variant (for use on dark backgrounds) */
.glass-dark {
    background: rgba(10, 31, 51, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.24);
}

/* Glass sheen highlight effect */
.glass-sheen {
    position: relative;
}

.glass-sheen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, transparent 100%);
    border-radius: inherit;
    pointer-events: none;
}

/* Greek Key / Meander separator */
.greek-separator {
    height: 8px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='8' viewBox='0 0 40 8'%3E%3Cpath fill='none' stroke='%23C9A227' stroke-width='1' d='M0 4h8v4h8V0h8v8h8V4h8' opacity='0.25'/%3E%3C/svg%3E") repeat-x center;
    margin: 2rem auto;
    max-width: 200px;
}

/* Section heading with Greek accent */
.greek-heading-accent {
    position: relative;
    display: inline-block;
}

.greek-heading-accent::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #C9A227, transparent);
}

/* Premium transition timing */
.premium-transition {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Patina gold text color */
.text-patina-gold {
    color: #C9A227;
}

/* Section Heading with Animated Gold Underline */
.section-heading-gold-underline {
    position: relative;
    display: block;
    text-align: center;
    padding-bottom: 1.25rem;
    margin-left: auto;
    margin-right: auto;
}

.section-heading-gold-underline::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #C9A227, #E8D5A3, #C9A227, transparent);
    border-radius: 2px;
    animation: expandGoldUnderline 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

@keyframes expandGoldUnderline {
    from {
        transform: translateX(-50%) scaleX(0);
        opacity: 0;
    }

    to {
        transform: translateX(-50%) scaleX(1);
        opacity: 1;
    }
}

/* Parent container for centered headings */
.wp-block-group:has(.section-heading-gold-underline) {
    text-align: center;
}

/* ========================================
   Header Styles
   ======================================== */

.site-header {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--wp--preset--shadow--header);
    background: rgba(255, 255, 255, 0.97);
    transition: background-color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

/* ========================================
   Transparent Header on Front Page (Hero Overlay)
   ======================================== */
:is(.home, .single-lokalizacje) .site-header:not(.header-scrolled) {
    background: transparent !important;
    box-shadow: none;
    border-bottom-color: transparent;
}

:is(.home, .single-lokalizacje) .site-header:not(.header-scrolled) .header-wrapper {
    background: transparent !important;
    background-color: transparent !important;
}

:is(.home, .single-lokalizacje) .site-header:not(.header-scrolled) .site-logo {
    filter: brightness(0) invert(1);
}

:is(.home, .single-lokalizacje) .site-header:not(.header-scrolled) .main-navigation .menu-item > a:not(.sub-menu a),
:is(.home, .single-lokalizacje) .site-header:not(.header-scrolled) .nav-menu > li > a,
:is(.home, .single-lokalizacje) .site-header:not(.header-scrolled) .nav-menu > li > .menu-item-label {
    color: #FFFFFF;
}

:is(.home, .single-lokalizacje) .site-header:not(.header-scrolled) .nav-menu > li > a:hover,
:is(.home, .single-lokalizacje) .site-header:not(.header-scrolled) .nav-menu > li > .menu-item-label:hover {
    color: rgba(255, 255, 255, 0.7);
}

:is(.home, .single-lokalizacje) .site-header:not(.header-scrolled) .dropdown-trigger {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
}

:is(.home, .single-lokalizacje) .site-header:not(.header-scrolled) .dropdown-icon,
:is(.home, .single-lokalizacje) .site-header:not(.header-scrolled) .dropdown-chevron {
    color: #FFFFFF;
}

:is(.home, .single-lokalizacje) .site-header:not(.header-scrolled) .dropdown-text {
    color: #FFFFFF;
}

:is(.home, .single-lokalizacje) .site-header:not(.header-scrolled) .theme-toggle {
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.25);
}

html:not(.dark-mode) :is(.home, .single-lokalizacje) .site-header:not(.header-scrolled) .theme-toggle:hover {
    color: var(--wp--preset--color--aegean);
    border-color: var(--wp--preset--color--aegean);
}

html.dark-mode :is(.home, .single-lokalizacje) .site-header:not(.header-scrolled) .theme-toggle:hover {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
}

:is(.home, .single-lokalizacje) .site-header:not(.header-scrolled) .mobile-menu-toggle {
    color: #FFFFFF;
}

/* Fix for WP Admin Bar */
body.admin-bar .site-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .site-header {
        top: 46px;
    }
}

/* Offset for fixed header */
body {
    padding-top: 80px;
}

/* Remove body padding on front page - hero goes under header */
body.home {
    padding-top: 0 !important;
}

/* Remove WP block gap above main on front page — hero starts at viewport top */
body.home .wp-site-blocks > * {
    margin-block-start: 0 !important;
}

body.home .site-main {
    margin-top: 0 !important;
}

/* Extra top padding on hero so content clears the transparent header */
body.home .hero-section {
    padding-top: 140px !important;
}

@media (max-width: 781px) {
    body.home .hero-section {
        padding-top: 120px !important;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }

    .site-header .header-wrapper {
        padding: 0.5rem 1rem;
    }
}

.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 0;
    /* Reduced padding */
    max-width: var(--wp--style--global--wide-size);
    margin: 0 auto;
    width: 100%;
}

.header-left,
.header-center,
.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-right {
    gap: 0.75rem;
}

/* Logo Styles */
.site-logo-link {
    display: block;
    max-width: 150px;
    text-decoration: none;
}

.site-logo-link img {
    display: block;
    width: 100%;
    height: auto;
}

/* Site Logo - SVG with dark mode filter */
.site-logo {
    display: block !important;
    transition: filter 0.3s ease;
}

/* Dark mode: convert logo to white using CSS filter */
.dark-mode .site-logo {
    filter: brightness(0) invert(1);
}

/* Mobile menu dark mode logo */
.dark-mode .mobile-menu-logo .site-logo {
    filter: brightness(0) invert(1);
}

/* Footer Contact Icons */
.footer-contact-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-contact-row {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    line-height: 1.4;
}

.footer-icon {
    flex-shrink: 0;
    margin-top: 0.15rem;
    /* Optical alignment with text */
    color: rgba(255, 255, 255, 0.7);
}

/* Footer icons on dark background — gold accent dla obu trybów (stopka jest ciemna w light i dark) */
.site-footer .footer-icon {
    color: #C9A227;
}

/* Ensure links in footer inherit color properly */
.footer-contact-row a:hover {
    color: var(--wp--preset--color--white) !important;
    text-decoration: underline !important;
}

/* Footer Logo - SVG color adjustment */
/* Light mode: footer has dark bg, so logo should be white */
.site-footer .footer-logo {
    filter: brightness(0) invert(1);
}

/* Dark mode: footer has dark bg, so logo should be white too */
.dark-mode .site-footer .footer-logo {
    filter: brightness(0) invert(1);
}

/* ========================================
   Dropdown Styles
   ======================================== */

.header-dropdown {
    position: relative;
}

/* Fix for WordPress wpautop injecting p and br tags inside shortcode */
/* Hide empty p tags and br tags */
.header-dropdown>p:empty,
.header-dropdown br {
    display: none !important;
}

/* For p tags that wrap content like SVG/chevron, use display:contents to unwrap */
.header-dropdown button p,
.header-dropdown .dropdown-trigger p {
    display: contents !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Hide empty p between button and menu */
.header-dropdown>button+p:empty,
.header-dropdown>p:not(:has(*)) {
    display: none !important;
}

.dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.875rem;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(10, 31, 51, 0.08);
    border-radius: 12px;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--wp--preset--color--dark);
    transition: background-color 0.25s ease, border-color 0.25s ease;
}

.dropdown-trigger:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(30, 77, 107, 0.3);
}

.dropdown-trigger:focus {
    outline: 2px solid #C9A227;
    outline-offset: 2px;
}

.dropdown-trigger[aria-expanded="true"] {
    border-color: var(--wp--preset--color--aegean);
    background: rgba(255, 255, 255, 0.95);
}

.dropdown-trigger[aria-expanded="true"] .dropdown-chevron {
    transform: rotate(180deg);
}

.dropdown-icon {
    flex-shrink: 0;
    color: var(--wp--preset--color--aegean);
}

.dropdown-chevron {
    flex-shrink: 0;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.dark-mode .header-dropdown .dropdown-icon,
.dark-mode .header-dropdown .dropdown-chevron {
    color: var(--greco-text);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    min-width: 180px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(10, 31, 51, 0.08);
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(10, 31, 51, 0.12), 0 4px 12px rgba(10, 31, 51, 0.06);
    padding: 0.5rem 0;
    margin: 0;
    list-style: none;
    z-index: 1000;
    overflow: hidden;
}

.dropdown-menu[hidden] {
    display: none;
}

.dropdown-menu [role="option"] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    cursor: pointer;
    font-size: 0.875rem;
    color: var(--wp--preset--color--dark);
    transition: all 0.2s ease;
}

.dropdown-menu [role="option"]:hover,
.dropdown-menu [role="option"]:focus {
    background: rgba(42, 122, 184, 0.08);
    outline: none;
}

.dropdown-menu [role="option"].is-selected {
    color: var(--wp--preset--color--aegean);
    font-weight: 600;
    background: rgba(42, 122, 184, 0.05);
}

.dropdown-menu [role="option"].is-selected::after {
    content: '✓';
    margin-left: auto;
    color: #C9A227;
}

.lang-flag {
    font-size: 1.25rem;
}

/* ========================================
   Theme Toggle
   ======================================== */

.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid var(--wp--preset--color--gray-light);
    border-radius: var(--wp--custom--border-radius--full);
    cursor: pointer;
    color: var(--wp--preset--color--dark);
    transition: all var(--wp--custom--transition--fast);
}

.theme-toggle:hover {
    background: var(--wp--preset--color--sand-light);
    border-color: var(--wp--preset--color--aegean);
    color: var(--wp--preset--color--aegean);
}

.theme-toggle:focus {
    outline: 2px solid var(--wp--preset--color--aegean);
    outline-offset: 2px;
}

.theme-toggle .icon-moon {
    display: none;
}

.dark-mode .theme-toggle .icon-sun {
    display: none;
}

.dark-mode .theme-toggle .icon-moon {
    display: block;
}

/* ========================================
   Section Link Styles
   ======================================== */

.section-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--wp--preset--color--aegean);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.section-link:hover {
    background: var(--wp--preset--color--sand-light);
    gap: 0.75rem;
}

.section-link svg {
    transition: transform 0.2s ease;
}

.section-link:hover svg {
    transform: translateX(4px);
}

/* ========================================
   Button Styles - Greek Premium
   ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: 9999px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    box-sizing: border-box;
}

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

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background: linear-gradient(135deg, #1E4D6B 0%, #2A7AB8 100%);
    color: #FFFFFF;
    box-shadow: 0 4px 16px rgba(30, 77, 107, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2A7AB8 0%, #1E4D6B 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(30, 77, 107, 0.35);
}

.btn-primary.is-selected,
.btn-primary:disabled {
    background: linear-gradient(135deg, #1E4D6B 0%, #2A7AB8 100%);
    box-shadow: 0 0 0 3px rgba(42, 122, 184, 0.55), 0 4px 16px rgba(30, 77, 107, 0.30);
    cursor: default;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    color: var(--wp--preset--color--dark);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 8px rgba(10, 31, 51, 0.06);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: var(--wp--preset--color--aegean);
    color: var(--wp--preset--color--aegean);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(10, 31, 51, 0.1);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.24);
    color: #FFFFFF;
    box-shadow: none;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-block {
    width: 100%;
}

/* ========================================
   Locations Archive Page
   ======================================== */

/* Hide empty paragraphs and divs from wpautop */
.locations-archive p:empty,
.locations-archive br:only-child,
.locations-page-grid>p:empty,
.locations-page-grid>br,
.location-card p:empty,
.location-card-info>p:empty,
.location-card-content>p:empty {
    display: none !important;
}

.locations-archive h1:not(.locations-hero__title) {
    font-size: 3rem;
    font-weight: 600;
    color: var(--wp--preset--color--dark);
    margin-bottom: 0.5rem;
}

/* Locations Filter Bar */
.locations-filter {
    margin-bottom: 2rem;
}

.filter-wrapper {
    display: flex;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
    align-items: stretch;
}

.filter-search {
    flex: 1 1 auto;
    position: relative;
    min-width: 200px;
}

.filter-search .search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--wp--preset--color--gray);
    pointer-events: none;
}

.filter-input {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 3rem;
    border: 1px solid #E5E7EB;
    border-radius: 9999px;
    font-size: 1rem;
    font-family: var(--wp--preset--font-family--body);
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.filter-input:focus {
    outline: none;
    border-color: var(--wp--preset--color--aegean);
    box-shadow: 0 0 0 3px rgba(30, 91, 140, 0.1);
}

.filter-city {
    flex: 0 0 auto;
}

.filter-select {
    padding: 0.875rem 2.5rem 0.875rem 1rem;
    border: 1px solid #E5E7EB;
    border-radius: 9999px;
    font-size: 1rem;
    font-family: var(--wp--preset--font-family--body);
    background: #fff url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e") right 0.75rem center no-repeat;
    background-size: 1.25rem;
    appearance: none;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
    white-space: nowrap;
}

.filter-select:focus {
    outline: none;
    border-color: var(--wp--preset--color--aegean);
    box-shadow: 0 0 0 3px rgba(30, 91, 140, 0.1);
}

@media (max-width: 768px) {
    .filter-wrapper {
        flex-direction: column;
        max-width: 100%;
        padding: 0 1rem;
    }

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

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

/* ========================================
   Location Card Styles - Greek Premium
   ======================================== */

.locations-preview-grid,
.locations-page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.75rem;
}

.location-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--greco-card-bg, var(--wp--preset--color--white));
    border-radius: 16px;
    border: 1px solid var(--greco-card-border, rgba(10, 31, 51, 0.06));
    box-shadow: var(--greco-card-shadow, 0 4px 24px rgba(10, 31, 51, 0.08));
    backdrop-filter: var(--greco-card-blur, none);
    -webkit-backdrop-filter: var(--greco-card-blur, none);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.location-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px var(--greco-shadow, rgba(10, 31, 51, 0.14));
    border-color: var(--greco-card-hover, rgba(30, 77, 107, 0.15));
}

.location-card[hidden] {
    display: none !important;
}

.location-card.is-selected {
    border: 2px solid var(--greco-accent, #C9A227);
    box-shadow: 0 4px 24px color-mix(in srgb, var(--greco-accent, #C9A227) 20%, transparent);
}

.location-card-image {
    height: 180px;
    overflow: hidden;
    position: relative;
}

.location-card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(180deg, transparent 0%, rgba(10, 31, 51, 0.4) 100%);
    pointer-events: none;
}

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

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

.location-card-image--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--wp--preset--color--marble-warm, #F5F3EF);
    color: var(--wp--preset--color--gray);
}

.location-card-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 0.875rem;
    background: linear-gradient(135deg, #1E4D6B 0%, #2A7AB8 100%);
    color: #FFFFFF;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 9999px;
    box-shadow: 0 0 0 2px rgba(42, 122, 184, 0.55), 0 4px 12px rgba(30, 77, 107, 0.30);
    z-index: 2;
}

.location-card-badge[hidden] {
    display: none;
}

.location-card-content {
    padding: 1.25rem;
    text-align: left;
}

.location-card-title {
    margin: 0 0 0.75rem;
    font-family: var(--wp--preset--font-family--heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--greco-text, var(--wp--preset--color--dark));
}

.location-card-info {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.location-info-row {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--greco-text-muted, var(--wp--preset--color--gray));
}

.location-info-row svg {
    flex-shrink: 0;
    margin-top: 0.125rem;
    color: var(--greco-accent, var(--wp--preset--color--aegean));
}

.location-info-row a {
    color: inherit;
    text-decoration: none;
}

.location-info-row a:hover {
    color: var(--greco-accent, var(--wp--preset--color--aegean));
}

.location-card-hours {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--greco-row-divider, var(--wp--preset--color--gray-light));
}

.hours-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--greco-text, var(--wp--preset--color--dark));
}

.hours-label svg {
    color: var(--greco-accent, var(--wp--preset--color--aegean));
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.hours-row {
    display: block;
    font-size: 0.8125rem;
    color: var(--greco-text-muted, var(--wp--preset--color--gray));
}

.location-card-delivery {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--greco-row-divider, var(--wp--preset--color--gray-light));
}

/* Wiersz "social + rezerwacja" w karcie lokalizacji (archive / preview / grid) */
.location-card-social-actions {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.location-card-social-actions .location-card-socials {
    display: flex;
    gap: 0.5rem;
    margin: 0;
}

/* Subtelny przycisk rezerwacji — outline, zaokr\u0105glony, ma\u0142y */
.reservation-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.45rem 0.95rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--wp--preset--color--dark, #1f2937);
    background: transparent;
    border: 1px solid var(--wp--preset--color--gray-light, #e5e7eb);
    border-radius: 999px;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.reservation-btn:hover,
.reservation-btn:focus {
    background: var(--wp--preset--color--sand-light, #faf7f0);
    border-color: var(--wp--preset--color--gold, #c9a227);
    color: var(--wp--preset--color--dark, #1f2937);
    text-decoration: none;
}

.reservation-btn svg {
    flex-shrink: 0;
    opacity: 0.75;
}

/* Wariant inline (w linii z social media na kartach lokalizacji) */
.reservation-btn--inline {
    padding: 0.4rem 0.85rem;
    font-size: 0.75rem;
}

/* Wariant w headerze karty "Informacje kontaktowe" (jasny outline na dark tle) */
.contact-card-header-actions {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    flex-wrap: wrap;
}

.reservation-btn--header {
    padding: 0.55rem 1.1rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(6px);
}

.reservation-btn--header svg {
    opacity: 0.9;
}

.reservation-btn--header:hover,
.reservation-btn--header:focus {
    background: #ffffff;
    border-color: #ffffff;
    color: var(--wp--preset--color--dark, #1f2937);
}

.reservation-btn--header:hover svg,
.reservation-btn--header:focus svg {
    opacity: 1;
}

.delivery-label {
    margin: 0 0 0.625rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--wp--preset--color--dark);
}

.delivery-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.delivery-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: var(--wp--custom--border-radius--small);
    transition: all var(--wp--custom--transition--fast);
}

.delivery-btn--uber {
    background: #06C167;
    color: white;
}

.delivery-btn--uber:hover {
    background: #05a157;
}

.delivery-btn--wolt {
    background: #00C2E8;
    color: white;
}

.delivery-btn--wolt:hover {
    background: #00a8c9;
}

.delivery-btn--pyszne {
    background: #FF8000;
    color: white;
}

.delivery-btn--pyszne:hover {
    background: #e67300;
}

/* Rezerwacja stolika — wyr\u00f3\u017cniony z\u0142oty CTA obok delivery buttons */
.delivery-btn--reserve {
    background: linear-gradient(135deg, #C9A227 0%, #E0B83C 100%);
    color: #ffffff;
    font-weight: 600;
    gap: 0.375rem;
    padding: 0.4rem 0.85rem;
    box-shadow: 0 2px 6px rgba(201, 162, 39, 0.3);
    border: 1px solid rgba(184, 146, 31, 0.8);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.delivery-btn--reserve:hover {
    background: linear-gradient(135deg, #B8921F 0%, #D4A92E 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(201, 162, 39, 0.45);
    transform: translateY(-1px);
}

.delivery-btn--reserve svg {
    flex-shrink: 0;
    stroke: #ffffff;
}

/* Delivery buttons inside single location detail page */
.location-content-wrapper .delivery-buttons {
    gap: 0.625rem;
}

.location-content-wrapper .delivery-btn {
    justify-content: center;
    padding: 0.625rem 1.25rem;
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.25s ease;
    flex: 1 1 auto;
    min-width: 100px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.location-content-wrapper .delivery-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.location-content-wrapper .delivery-btn--uber {
    background: linear-gradient(135deg, #06C167 0%, #04A855 100%);
}

.location-content-wrapper .delivery-btn--uber:hover {
    background: linear-gradient(135deg, #04A855 0%, #038A46 100%);
}

.location-content-wrapper .delivery-btn--wolt {
    background: linear-gradient(135deg, #00C2E8 0%, #009EC0 100%);
}

.location-content-wrapper .delivery-btn--wolt:hover {
    background: linear-gradient(135deg, #009EC0 0%, #007FA0 100%);
}

.location-content-wrapper .delivery-btn--pyszne {
    background: linear-gradient(135deg, #FF8000 0%, #E67300 100%);
}

.location-content-wrapper .delivery-btn--pyszne:hover {
    background: linear-gradient(135deg, #E67300 0%, #CC6600 100%);
}

.location-card-footer {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.75rem;
    padding: 1rem 1.25rem 1.25rem;
    border-top: 1px solid var(--wp--preset--color--gray-light);
    margin-top: auto;
}

.location-card-footer .btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* ========================================
   Single Location Page Styles
   ======================================== */

.location-single {
    max-width: 1200px;
    margin: 0 auto;
}

.location-content-wrapper {
    margin-bottom: 3rem;
}

/* Two-Column Detail Grid */
.location-detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
    .location-detail-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
        align-items: start;
    }
}

.location-detail-left,
.location-detail-right {
    min-width: 0;
}

/* Contact Card */
.location-contact-card {
    background: var(--wp--preset--color--white);
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.contact-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 1.5rem 1.75rem;
    background: linear-gradient(135deg, var(--wp--preset--color--aegean) 0%, #164466 100%);
    color: #fff;
}

.contact-card-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0;
    color: #fff;
}

.contact-card-title svg {
    color: rgba(255, 255, 255, 0.85);
}

.location-contact-card .contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0;
}

.contact-info-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.75rem;
    transition: background 0.2s;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.contact-info-row:last-child {
    border-bottom: none;
}

.contact-info-row:hover {
    background: var(--wp--preset--color--sand-light);
}

.contact-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(30, 77, 107, 0.1) 0%, rgba(42, 122, 184, 0.1) 100%);
    border-radius: 12px;
    color: var(--wp--preset--color--aegean);
    transition: all 0.25s ease;
}

.contact-info-row:hover .contact-icon {
    background: linear-gradient(135deg, var(--wp--preset--color--aegean) 0%, #164466 100%);
    color: white;
    transform: scale(1.05);
}

.contact-text {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    min-width: 0;
}

.contact-label {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--wp--preset--color--gray);
}

.contact-value {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--wp--preset--color--dark);
    word-break: break-word;
}

.contact-link {
    color: var(--wp--preset--color--aegean);
    text-decoration: none;
    transition: color 0.2s;
}

.contact-link:hover {
    color: #164466;
    text-decoration: underline;
}

/* Pogrupowane godziny otwarcia w sekcji kontaktu lokalizacji */
.contact-hours .contact-value {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.contact-hours .contact-value .hours-row {
    display: block;
    font-size: 0.875rem;
    color: var(--wp--preset--color--gray);
}

/* Pogrupowane godziny otwarcia w stopce */
#greco-footer-hours {
    display: inline-flex;
    flex-direction: column;
    gap: 0.125rem;
}

.footer-hours-row {
    display: block;
}

/* Delivery Section Inline (inside contact card) */
.location-delivery-inline {
    padding: 1.25rem 1.75rem 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.01) 0%, rgba(0, 0, 0, 0.03) 100%);
}

.delivery-inline-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--wp--preset--color--gray);
    margin-bottom: 0.875rem;
}

.delivery-inline-title svg {
    color: var(--wp--preset--color--aegean);
}

.location-details {
    margin-bottom: 2.5rem;
}

.location-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.location-info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--wp--preset--color--sand-light);
    border-radius: 12px;
}

.info-icon {
    flex-shrink: 0;
    color: var(--wp--preset--color--aegean);
}

.info-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.info-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--wp--preset--color--gray);
}

.info-value {
    font-size: 1rem;
    color: var(--wp--preset--color--dark);
}

.info-link {
    color: var(--wp--preset--color--aegean);
    text-decoration: none;
}

.info-link:hover {
    text-decoration: underline;
}

.location-hours {
    padding: 1.5rem;
    background: var(--wp--preset--color--sand-light);
    border-radius: 12px;
}

.hours-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--wp--preset--color--dark);
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hours-row {
    display: block;
    font-size: 0.9375rem;
    color: var(--wp--preset--color--gray);
}

/* Map Section */
.location-map-section {
    margin: 0;
    background: var(--wp--preset--color--white);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--wp--preset--color--dark);
}

.location-map-embed {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    flex: 1;
    min-height: 280px;
}

.location-map-embed iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 280px;
    border-radius: 14px;
}

.location-maps-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.625rem 1.25rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--wp--preset--color--aegean);
    text-decoration: none;
    border: 1.5px solid rgba(30, 77, 107, 0.2);
    border-radius: 10px;
    transition: all 0.25s ease;
    align-self: flex-start;
}

.location-maps-link:hover {
    background: rgba(30, 77, 107, 0.06);
    border-color: var(--wp--preset--color--aegean);
    color: #164466;
    transform: translateY(-1px);
}

.location-maps-link svg {
    flex-shrink: 0;
}

/* Photo Gallery */
.location-gallery-section {
    margin: 2.5rem 0 0;
    background: var(--wp--preset--color--white);
    border-radius: 20px;
    padding: 1.75rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.location-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.gallery-item {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Sidebar Cards */
.location-sidebar-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.location-card-actions,
.location-delivery-card {
    padding: 1.5rem;
    background: var(--wp--preset--color--sand-light);
    border-radius: 20px;
}

.location-reservation-card {
    padding: 0;
    background: transparent;
    border: none;
    display: flex;
    justify-content: center;
}

.reservation-btn--single {
    width: 100%;
    padding: 0.85rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--wp--preset--color--dark, #1f2937);
    background: var(--wp--preset--color--sand-light, #faf7f0);
    border: 1px solid var(--wp--preset--color--gray-light, #e5e7eb);
}

.reservation-btn--single:hover,
.reservation-btn--single:focus {
    background: var(--wp--preset--color--gold, #c9a227);
    border-color: var(--wp--preset--color--gold, #c9a227);
    color: #ffffff;
}

.reservation-btn--single svg {
    opacity: 1;
}

.card-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--wp--preset--color--dark);
}

.location-action-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}


/* ========================================
   Menu Switcher Styles - Greek Premium
   ======================================== */

.menu-switcher {
    max-width: 1200px;
    margin: 0 auto;
}

.menu-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 2.5rem;
    padding: 0.625rem;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 20px;
    border: 2px solid rgba(30, 77, 107, 0.12);
    box-shadow: 0 4px 24px rgba(10, 31, 51, 0.08);
}

.menu-tab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    background: transparent;
    border: none;
    border-radius: 14px;
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--wp--preset--color--gray);
    cursor: pointer;
    transition: color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.menu-tab:hover {
    color: var(--wp--preset--color--dark);
    background: rgba(255, 255, 255, 0.5);
}

.menu-tab:focus {
    outline: 2px solid #C9A227;
    outline-offset: 2px;
}

.menu-tab.active,
.menu-tab[aria-selected="true"] {
    background: #FFFFFF;
    color: var(--wp--preset--color--dark);
    box-shadow: 0 4px 12px rgba(10, 31, 51, 0.08);
}

.dark-mode .menu-tab.active,
.dark-mode .menu-tab[aria-selected="true"] {
    color: var(--greco-accent);
}

.menu-tab svg {
    flex-shrink: 0;
}

/* SVG in menu-tab-icon inherits color from parent; wrapper enforces uniform size */
.menu-tab-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.menu-tab-icon svg {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    fill: currentColor;
    display: block;
}

.menu-panels {
    position: relative;
}

.menu-panel {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.menu-panel[hidden] {
    display: none;
}

.menu-panel.active {
    opacity: 1;
    transform: translateY(0);
}

.menu-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
    gap: 1.25rem;
}

.menu-items-grid .menu-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    box-sizing: border-box;
    min-width: 0;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    border: 2px solid rgba(30, 77, 107, 0.1);
    box-shadow: 0 4px 16px rgba(10, 31, 51, 0.06);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.menu-items-grid .menu-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(10, 31, 51, 0.12);
    border-color: rgba(42, 122, 184, 0.25);
}

.menu-item-content {
    flex: 1;
    text-align: left;
}

.menu-item-title {
    margin: 0 0 0.375rem;
    font-family: var(--wp--preset--font-family--heading);
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--wp--preset--color--dark);
}

.menu-item-description {
    margin: 0;
    font-size: 0.875rem;
    color: var(--wp--preset--color--gray);
    line-height: 1.6;
}

.menu-item-price {
    flex-shrink: 0;
    font-family: var(--wp--preset--font-family--heading);
    font-size: 1.125rem;
    font-weight: 700;
    color: #C9A227;
}

.dark-mode .menu-item-price {
    color: var(--greco-accent);
}

/* ========================================
   Locations Page Filter
   ======================================== */

.locations-filter {
    margin-bottom: 2rem;
}

.filter-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.filter-search {
    flex: 1;
    min-width: 200px;
    position: relative;
}

.filter-search .search-icon {
    position: absolute;
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
    color: var(--wp--preset--color--gray);
    pointer-events: none;
}

.filter-input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.75rem;
    border: 1px solid var(--wp--preset--color--gray-light);
    border-radius: var(--wp--custom--border-radius--medium);
    font-family: inherit;
    font-size: 0.9375rem;
    transition: border-color var(--wp--custom--transition--fast);
}

.filter-input:focus {
    outline: none;
    border-color: var(--wp--preset--color--aegean);
    box-shadow: 0 0 0 3px rgba(30, 91, 140, 0.1);
}

.filter-city {
    min-width: 160px;
}

.filter-select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--wp--preset--color--gray-light);
    border-radius: var(--wp--custom--border-radius--medium);
    font-family: inherit;
    font-size: 0.9375rem;
    background: var(--wp--preset--color--white);
    cursor: pointer;
    transition: border-color var(--wp--custom--transition--fast);
}

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

.locations-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 4rem 2rem;
    text-align: center;
    color: var(--wp--preset--color--gray);
}

.locations-empty[hidden] {
    display: none;
}

.loading-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 4rem 2rem;
    grid-column: 1 / -1;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--wp--preset--color--gray-light);
    border-top-color: var(--wp--preset--color--aegean);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* ========================================
   CTA Section
   ======================================== */

.cta-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.cta-info-block {
    text-align: center;
    min-width: 200px;
}

/* ========================================
   Responsive Styles
   ======================================== */

@media (max-width: 768px) {
    .header-center {
        display: none;
    }

    .locations-preview-grid,
    .locations-page-grid {
        grid-template-columns: 1fr;
    }

    .menu-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .menu-tabs::-webkit-scrollbar {
        display: none;
    }

    .menu-tab .menu-tab-name {
        display: none;
    }

    .menu-tab-icon {
        width: 32px;
        height: 32px;
    }

    .menu-items-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .menu-items-grid .menu-item {
        padding: 1.125rem;
        gap: 0.75rem;
        min-width: 0;
    }

    .menu-items-grid .menu-item-content {
        min-width: 0;
    }
}

@media (max-width: 480px) {
    .dropdown-text {
        display: none;
    }

    .dropdown-trigger {
        padding: 0.5rem;
    }

    .location-card-footer {
        flex-direction: column;
        gap: 0.5rem;
    }

    .location-card-footer .btn {
        width: 100%;
        padding: 1rem 1.5rem;
    }

    .location-card-footer .btn-secondary {
        background: #FFFFFF;
        border: 1px solid #E5E7EB;
    }
}

/* ========================================
   Mobile Menu Styles
   ======================================== */

/* Mobile Menu Toggle & Modal */
.mobile-menu-toggle {
    display: none;
    /* Hidden by default (desktop) */
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    padding: 0.5rem;
    color: var(--wp--preset--color--dark);
    cursor: pointer;
}

/* Hide desktop elements on mobile */
@media (max-width: 1024px) {

    /* Hide Navigation */
    .header-center {
        display: none !important;
    }

    .mobile-menu-toggle {
        display: flex;
        margin-left: 0.5rem;
    }

    /* Make header dropdowns compact for mobile */
    .header-right {
        gap: 0.5rem !important;
    }

    .header-right .dropdown-text {
        display: none !important;
    }

    .header-right .dropdown-chevron {
        display: none !important;
    }

    .header-right .dropdown-trigger {
        padding: 0.5rem;
    }
}

/* Modal Overlay */
.mobile-menu-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    /* Higher than header */
    background: #fff;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.mobile-menu-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 1rem;
}


.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.mobile-menu-logo {
    display: flex;
    align-items: center;
}

.mobile-menu-logo img {
    height: auto;
    max-height: 40px;
    width: auto;
}

.mobile-menu-logo .logo-dark {
    display: none;
}

.dark-mode .mobile-menu-logo .logo-light {
    display: none;
}

.dark-mode .mobile-menu-logo .logo-dark {
    display: block;
}

.mobile-menu-title {
    display: none;
}

.mobile-menu-close {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--wp--preset--color--dark);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-links-container {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 2rem;
    width: 100%;
    overflow: visible;
}

/* Styling the cloned nav */
.mobile-menu-links-container ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 2rem 0 0 0 !important;
    /* Top margin only */
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start !important;
    /* Force items to top */
    gap: 1.5rem !important;
    /* Fixed gap */
    width: 100%;
    height: auto !important;
    /* Do not fill full height */
    flex: 0 0 auto !important;
    /* Do not grow */
}


.mobile-menu-links-container li {
    width: 100%;
    text-align: center;
    margin: 0 !important;
    /* Remove any WP block margins */
    padding: 0 !important;
}

.mobile-menu-links-container a {
    text-decoration: none;
    color: var(--wp--preset--color--dark);
    font-size: 1.5rem;
    font-weight: 600;
    transition: color 0.2s;
    display: block;
    width: 100%;
}

.mobile-menu-links-container a:hover {
    color: var(--wp--preset--color--aegean);
}

.mobile-menu-footer {
    margin-top: auto;
    border-top: 1px solid #eee;
    padding-top: 1.5rem;
}


/* Clean up styles for mobile modal content */
.mobile-menu-controls {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

/* Adjust dropdowns for mobile */
.mobile-menu-controls .header-dropdown {
    width: 100%;
}

.mobile-menu-controls .dropdown-trigger {
    width: 100%;
    justify-content: space-between;
    padding: 1rem;
    font-size: 1rem;
}

.mobile-menu-controls .dropdown-menu {
    width: 100%;
    position: relative;
    /* Stack instead of float */
    top: auto;
    left: auto;
    right: auto;
    box-shadow: none;
    border: 1px solid #eee;
    margin-top: 0.5rem;
    background: #f9f9f9;
}

/* Dark mode support */
.dark-mode .mobile-menu-modal {
    background: var(--greco-bg-gradient);
    color: var(--greco-text);
}

.dark-mode .mobile-menu-title,
.dark-mode .mobile-menu-links-container a,
.dark-mode .mobile-menu-close,
.dark-mode .mobile-menu-toggle {
    color: var(--greco-text);
}

.dark-mode .mobile-menu-header,
.dark-mode .mobile-menu-footer {
    border-color: var(--greco-border-subtle);
}

.dark-mode .mobile-menu-controls .dropdown-trigger {
    background: var(--greco-surface-elevated);
    border-color: var(--greco-border-subtle);
    color: var(--greco-text);
}

.dark-mode .mobile-menu-controls .dropdown-menu {
    background: rgba(42, 52, 64, 0.97);
    border-color: var(--greco-border-subtle);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.dark-mode .mobile-menu-controls .dropdown-menu [role="option"] {
    color: var(--greco-text);
}

.dark-mode .mobile-menu-controls .dropdown-menu [role="option"]:hover,
.dark-mode .mobile-menu-controls .dropdown-menu [role="option"]:focus {
    background: var(--greco-accent-glow);
}

.mobile-dropdown-row {
    width: 100%;
}

.mobile-dropdown-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem !important;
    /* Force padding */
    gap: 0.5rem;
}

.mobile-dropdown-menu {
    width: 100%;
    position: relative;
    /* Stack flow */
    transform: none;
    box-shadow: none;
    border: 1px solid #eee;
    background: #f9f9f9;
    margin-top: 0.5rem;
}

.mobile-theme-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 1rem !important;
    gap: 0.5rem;
    border-radius: var(--wp--custom--border-radius--small, 4px);
}

.mobile-icon-text {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    font-size: 1rem;
    font-weight: 500;
}

/* Ensure text is visible in modal even if hidden in header */
.mobile-menu-controls .dropdown-text {
    display: block !important;
}

/* Fix for cloned WP Navigation list */
.mobile-menu-links-container ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100%;
    gap: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mobile-menu-links-container li {
    margin: 0 !important;
    width: 100%;
    text-align: center;
}

.mobile-menu-links-container a {
    display: block;
    width: 100%;
    font-size: 1.5rem !important;
    padding: 0.5rem 0;
}

/* Hide WP mobile toggle button if it gets cloned accidentally, but NOT back button */
.mobile-menu-links-container button:not(.mobile-menu-back) {
    display: none !important;
}

/* Dark Mode Adjustments */

/* Locations Hero */
.locations-hero {
    position: relative;
    overflow: hidden;
}

/* @keyframes gradientBG removed — was defined but never used */
/* @keyframes pulseOrb removed — was defined but never used */

/* Locations Hero - dark mode inherits aegean-deep */

/* Locations Filter Styling Adjustments */
.locations-filter .filter-input,
.locations-filter .filter-select {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    color: #1f2937;
}

.locations-filter .filter-input::placeholder {
    color: #9ca3af;
}

.locations-filter .search-icon {
    color: #6b7280;
    z-index: 10;
}

/* Dark Mode Filter Adjustments */
.dark-mode .locations-filter .filter-input,
.dark-mode .locations-filter .filter-select {
    background-color: var(--greco-surface-elevated);
    border-color: var(--greco-border-subtle);
    color: var(--greco-text);
    box-shadow: 0 4px 6px -1px var(--greco-shadow);
}

.dark-mode .locations-filter .filter-input::placeholder {
    color: var(--greco-text-muted);
}

.dark-mode .locations-filter .search-icon {
    color: var(--greco-text-muted);
}

/* Single Location Title Animation - Premium Wow */
.location-single h1 {
    position: relative;
    display: table;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 15px;
}

.location-single h1::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 140px;
    height: 3px;
    /* Metallic Gold Gradient */
    background: linear-gradient(90deg,
            #b88a44 0%,
            #e5c585 25%,
            #ffd700 50%,
            #e5c585 75%,
            #b88a44 100%);
    background-size: 200% auto;
    border-radius: 4px;
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    opacity: 0;
    animation: expandCenter 1.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    box-shadow: 0 2px 15px rgba(255, 215, 0, 0.4);
}

@keyframes expandCenter {
    from {
        transform: translateX(-50%) scaleX(0);
        opacity: 0;
    }

    to {
        transform: translateX(-50%) scaleX(1);
        opacity: 1;
    }
}

/* ========================================
   Menu Page Location Details Bar (Premium)
   ======================================== */

.greco-menu-location-details {
    margin-bottom: 2rem;
}

.greco-location-info-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--wp--preset--color--white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.08);
    /* Premium soft shadow */
}

.location-bar-main {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
    min-width: 280px;
}

.location-bar-header {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.location-label {
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--wp--preset--color--gray);
    font-weight: 600;
}

.location-title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--wp--preset--color--aegean);
    line-height: 1.2;
}

.location-title-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* Change Location Button - Subtle Style */
.btn-change-location {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--wp--preset--color--gray, #6B7280);
    background: transparent;
    border: 1px solid var(--wp--preset--color--gray-light, #E5E7EB);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-change-location svg {
    flex-shrink: 0;
    stroke: currentColor;
}

.btn-change-location:hover {
    color: var(--wp--preset--color--aegean, #1E5B8C);
    border-color: var(--wp--preset--color--aegean, #1E5B8C);
    background: rgba(30, 91, 140, 0.05);
}

.btn-change-location:focus {
    outline: 2px solid var(--wp--preset--color--aegean, #1E5B8C);
    outline-offset: 2px;
}

/* Dark mode for change location button */
.dark-mode .btn-change-location {
    color: var(--greco-text-muted);
    border-color: var(--greco-border-subtle);
}

.dark-mode .btn-change-location:hover {
    color: var(--greco-accent);
    border-color: var(--greco-accent);
    background: var(--greco-accent-glow);
}

.location-bar-details {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    align-items: center;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    color: var(--wp--preset--color--dark);
}

.info-item svg {
    color: var(--wp--preset--color--aegean);
    opacity: 0.8;
}

.info-item.link {
    text-decoration: none;
    transition: color 0.2s ease;
}

.info-item.link:hover {
    color: var(--wp--preset--color--aegean);
    text-decoration: underline;
}

.location-bar-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
}

.order-buttons-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--wp--preset--color--sand-light);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    /* Pill shape */
}

.order-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--wp--preset--color--dark);
    white-space: nowrap;
}

/* Map Button - Premium Style */
.btn-map {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--wp--preset--color--aegean, #1E5B8C);
    background: transparent;
    border: 2px solid var(--wp--preset--color--aegean, #1E5B8C);
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-map svg {
    flex-shrink: 0;
}

.btn-map:hover {
    background: var(--wp--preset--color--aegean, #1E5B8C);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(30, 91, 140, 0.3);
}

/* Order Buttons - Enhanced with Icons */
.btn-order {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
    font-weight: 700;
    border-radius: 25px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    transition: all 0.3s ease;
    border: none;
    color: #fff !important;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.btn-order svg {
    flex-shrink: 0;
}

.btn-uber {
    background: linear-gradient(135deg, #000 0%, #333 100%);
}

.btn-uber:hover {
    background: linear-gradient(135deg, #222 0%, #444 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.btn-wolt {
    background: linear-gradient(135deg, #009de0 0%, #00b4ff 100%);
}

.btn-wolt:hover {
    background: linear-gradient(135deg, #00b4ff 0%, #33c4ff 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 157, 224, 0.4);
}

.btn-pyszne {
    background: linear-gradient(135deg, #ff8000 0%, #ff9933 100%);
}

.btn-pyszne:hover {
    background: linear-gradient(135deg, #ff9933 0%, #ffad5c 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 128, 0, 0.4);
}

/* Order buttons group highlight */
.order-buttons-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, rgba(30, 91, 140, 0.08) 0%, rgba(30, 91, 140, 0.04) 100%);
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    border: 1px solid rgba(30, 91, 140, 0.1);
}

.dark-mode .order-buttons-group {
    background: linear-gradient(135deg, var(--greco-accent-glow) 0%, color-mix(in srgb, var(--greco-accent) 8%, transparent) 100%);
    border-color: var(--greco-border-subtle);
}

.dark-mode .btn-map {
    color: var(--greco-accent);
    border-color: var(--greco-accent);
}

.dark-mode .btn-map:hover {
    background: var(--greco-accent);
    color: var(--greco-accent-on);
}

/* Dark Mode Overrides for Location Info Bar */
.dark-mode .greco-location-info-bar {
    background: var(--greco-surface-elevated);
    border-color: var(--greco-border-subtle);
    box-shadow: 0 10px 30px -10px var(--greco-shadow);
}

.dark-mode .location-title {
    color: var(--greco-text);
}

.dark-mode .info-item {
    color: var(--greco-text);
}

.dark-mode .location-label {
    color: var(--greco-text-muted);
}

.dark-mode .order-buttons-group {
    background: var(--greco-surface-elevated);
}

.dark-mode .order-label {
    color: var(--greco-text);
}

@media (max-width: 768px) {
    .greco-location-info-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        padding: 1rem;
        box-sizing: border-box;
    }

    .location-bar-main {
        min-width: 0;
        width: 100%;
    }

    .location-bar-header {
        flex-direction: column;
        gap: 0.25rem;
    }

    .location-title {
        font-size: 1.25rem;
    }

    .location-bar-details {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }

    .info-item {
        font-size: 0.875rem;
    }

    .location-bar-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }

    .btn-map {
        width: 100%;
        justify-content: center;
        padding: 0.5rem 1rem;
        font-size: 0.8125rem;
    }

    .order-buttons-group {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        padding: 0.75rem;
        border-radius: 12px;
        gap: 0.5rem;
        box-sizing: border-box;
        margin: 0;
        background: rgba(30, 91, 140, 0.05);
        border: none;
    }

    .order-label {
        text-align: center;
        font-size: 0.8125rem;
        margin-bottom: 0.25rem;
    }

    .btn-order {
        width: 100%;
        justify-content: center;
        padding: 0.5rem 0.75rem;
        font-size: 0.75rem;
        box-sizing: border-box;
    }
}

/* Hide Empty Paragraphs in Location Content */
.location-content-wrapper p:empty,
.location-contact-card>p:empty,
.location-map-section>p:empty {
    display: none !important;
}

/* ========================================
   Greco Dark Panel — shared tokens
   Używane przez sekcje: Opinions (Co mówią nasi goście)
   oraz Blog Magazine (Aktualności) na stronie głównej.
   ======================================== */

:root {
    --greco-dark-bg: linear-gradient(180deg, #0F1419 0%, #1A2028 50%, #0F1419 100%);
    --greco-dark-text: #F4ECD8;
    --greco-dark-text-muted: rgba(244, 236, 216, 0.72);
    --greco-dark-text-dim: rgba(244, 236, 216, 0.55);
    --greco-dark-accent: #D4A752;
    --greco-dark-accent-soft: rgba(212, 167, 82, 0.15);
    --greco-dark-card-bg: rgba(255, 255, 255, 0.04);
    --greco-dark-card-bg-hover: rgba(255, 255, 255, 0.07);
    --greco-dark-border: rgba(212, 167, 82, 0.15);
    --greco-dark-border-hover: rgba(212, 167, 82, 0.38);
}


/* ========================================
   Opinions Section - Dark Glass Panel
   ======================================== */

.greco-opinions-section {
    --opinions-bg: var(--greco-dark-bg);
    --opinions-text: var(--greco-dark-text);
    --opinions-text-muted: var(--greco-dark-text-muted);
    --opinions-text-dim: var(--greco-dark-text-dim);
    --opinions-accent: var(--greco-dark-accent);
    --opinions-card-bg: var(--greco-dark-card-bg);
    --opinions-card-bg-hover: var(--greco-dark-card-bg-hover);
    --opinions-border: var(--greco-dark-border);
    --opinions-border-hover: var(--greco-dark-border-hover);

    position: relative;
    background: var(--opinions-bg);
    color: var(--opinions-text);
    padding-top: var(--wp--preset--spacing--80, 4rem);
    padding-bottom: var(--wp--preset--spacing--80, 4rem);
    width: 100%;
    max-width: 100vw;
    overflow-x: clip;
    overflow-y: visible;
}

.greco-opinions-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(212, 167, 82, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(212, 167, 82, 0.06) 0%, transparent 40%);
    pointer-events: none;
}

.greco-opinions-section > * {
    position: relative;
    z-index: 1;
}

/* Header */
.greco-opinions-header {
    max-width: 680px;
    margin: 0 auto var(--wp--preset--spacing--60, 3rem);
    padding: 0 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.greco-opinions-title {
    font-family: var(--wp--preset--font-family--heading, 'Outfit', sans-serif);
    font-weight: 600;
    font-size: clamp(2rem, 3vw, 2.75rem);
    letter-spacing: -0.01em;
    color: var(--opinions-text);
    margin: 0;
    line-height: 1.15;
}

.greco-opinions-divider {
    display: block;
    width: 48px;
    height: 2px;
    background: var(--opinions-accent);
    border-radius: 2px;
}

.greco-opinions-subtitle {
    font-family: var(--wp--preset--font-family--body, 'Inter', sans-serif);
    font-size: clamp(0.95rem, 1.2vw, 1.05rem);
    color: var(--opinions-text-muted);
    margin: 0;
    line-height: 1.55;
}

/* Container */
.greco-opinions-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.greco-opinions-pool[hidden] {
    display: none !important;
}

/* Visible grid / spotlight */
.greco-opinions-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: stretch;
}

/* No-JS fallback: pool becomes the visible grid */
.no-js .greco-opinions-pool[hidden],
.greco-opinions-grid[data-no-js-show]:empty + .greco-opinions-pool {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.greco-opinions-grid[data-no-js-show]:empty ~ .greco-opinions-dots {
    display: none;
}

/* Card — glass */
.greco-opinion-card {
    position: relative;
    background: var(--opinions-card-bg);
    border: 1px solid var(--opinions-border);
    border-radius: 18px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: background-color 0.35s ease, border-color 0.35s ease,
                transform 0.35s ease, opacity 0.35s ease, box-shadow 0.35s ease;
}

.greco-opinion-card:hover {
    background: var(--opinions-card-bg-hover);
    border-color: var(--opinions-border-hover);
}

.greco-opinion-stars {
    font-size: 0.875rem;
    letter-spacing: 0.15em;
    color: var(--opinions-accent);
    margin-bottom: 1rem;
    line-height: 1;
}

.greco-opinion-content {
    flex: 1;
    margin: 0 0 1.25rem;
    padding: 0;
    border: none;
    font-family: var(--wp--preset--font-family--body, 'Inter', sans-serif);
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--opinions-text-muted);
    font-style: normal;
}

.greco-opinion-quote {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.greco-opinion-footer {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 1.1rem;
    border-top: 1px solid rgba(212, 167, 82, 0.12);
}

.greco-opinion-avatar {
    width: 44px;
    height: 44px;
    border-radius: 9999px;
    background: linear-gradient(135deg, rgba(212, 167, 82, 0.22), rgba(212, 167, 82, 0.08));
    color: var(--opinions-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--wp--preset--font-family--heading, 'Outfit', sans-serif);
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.02em;
    flex-shrink: 0;
    overflow: hidden;
    border: 1px solid rgba(212, 167, 82, 0.3);
}

.greco-opinion-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 9999px;
}

.greco-opinion-meta {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.greco-opinion-author {
    font-family: var(--wp--preset--font-family--heading, 'Outfit', sans-serif);
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--opinions-text);
    line-height: 1.3;
}

.greco-opinion-source {
    font-family: var(--wp--preset--font-family--body, 'Inter', sans-serif);
    font-size: 0.75rem;
    color: var(--opinions-text-dim);
    letter-spacing: 0.02em;
    margin-top: 2px;
}

/* Featured card — desktop spotlight */
.greco-opinion-card.is-featured {
    padding: 3rem;
    background: var(--opinions-card-bg-hover);
    border-color: var(--opinions-border-hover);
}

.greco-opinion-card.is-featured::before {
    content: '\201C';
    position: absolute;
    top: 0.75rem;
    left: 1.5rem;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 6rem;
    line-height: 1;
    color: rgba(212, 167, 82, 0.18);
    pointer-events: none;
}

.greco-opinion-card.is-featured .greco-opinion-content {
    font-family: var(--wp--preset--font-family--heading, 'Outfit', sans-serif);
    font-size: 1.25rem;
    line-height: 1.6;
    font-style: italic;
    color: var(--opinions-text);
}

.greco-opinion-card.is-featured .greco-opinion-quote {
    -webkit-line-clamp: 8;
}

.greco-opinion-card.is-featured .greco-opinion-stars {
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.greco-opinion-card.is-featured .greco-opinion-avatar {
    width: 56px;
    height: 56px;
    font-size: 1rem;
}

.greco-opinion-card.is-featured .greco-opinion-author {
    font-size: 1.05rem;
}

/* Desktop spotlight layout ≥992px */
@media (min-width: 992px) {
    .greco-opinions-grid {
        grid-template-columns: 240px 1fr 240px;
        gap: 2rem;
        align-items: center;
    }

    .greco-opinions-grid .greco-opinion-card:not(.is-featured) {
        opacity: 0.65;
        transform: scale(0.95);
    }

    .greco-opinions-grid .greco-opinion-card:not(.is-featured):hover {
        opacity: 1;
        transform: scale(1);
    }

    .greco-opinion-card.is-featured:hover {
        transform: translateY(-4px);
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    }
}

/* Tablet grid 768-991px */
@media (min-width: 768px) and (max-width: 991.98px) {
    .greco-opinions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .greco-opinion-card.is-featured {
        padding: 2rem;
    }

    .greco-opinion-card.is-featured .greco-opinion-content {
        font-size: 1.05rem;
    }

    .greco-opinion-card.is-featured::before {
        font-size: 4rem;
    }
}

/* Mobile carousel <768px */
@media (max-width: 767.98px) {
    .greco-opinions-container {
        padding-left: 0;
        padding-right: 0;
        max-width: 100%;
        overflow: hidden;
    }

    .greco-opinions-grid {
        display: flex;
        grid-template-columns: none;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 1rem;
        padding: 0.5rem 1.5rem 1rem;
        scroll-padding-left: 1.5rem;
        scroll-padding-right: 1.5rem;
        box-sizing: border-box;
        width: 100%;
        max-width: 100%;
    }

    .greco-opinions-grid::-webkit-scrollbar {
        display: none;
    }

    .greco-opinions-grid .greco-opinion-card {
        flex: 0 0 calc(100% - 3rem);
        max-width: 420px;
        scroll-snap-align: center;
        scroll-snap-stop: always;
        padding: 1.75rem;
        opacity: 1;
        transform: none;
    }

    .greco-opinion-card.is-featured {
        padding: 1.75rem;
    }

    .greco-opinion-card.is-featured::before {
        font-size: 3.5rem;
        top: 0.5rem;
        left: 1rem;
    }

    .greco-opinion-card.is-featured .greco-opinion-content {
        font-size: 1rem;
    }
}

/* Navigation dots */
.greco-opinions-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.greco-opinions-dots:empty {
    display: none;
}

.greco-opinions-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(244, 236, 216, 0.2);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background-color 0.25s ease, transform 0.25s ease;
}

.greco-opinions-dot.is-active {
    background: var(--opinions-accent);
    transform: scale(1.25);
}

.greco-opinions-dot:focus-visible {
    outline: 2px solid var(--opinions-accent);
    outline-offset: 3px;
}

@media (min-width: 768px) {
    .greco-opinions-dots {
        display: none;
    }
}

/* Focus state */
.greco-opinion-card:focus-visible {
    outline: 2px solid var(--opinions-accent);
    outline-offset: 3px;
}

/* Scroll-reveal */
.greco-opinions-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.greco-opinions-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .greco-opinions-section,
    .greco-opinion-card,
    .greco-opinions-dot {
        transition: none !important;
        transform: none !important;
    }

    .greco-opinions-section {
        opacity: 1;
    }
}

/* ========================================
   Featured Dishes Section Styles - Greek Premium
   ======================================== */

.greco-featured-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
}

@media (min-width: 768px) {
    .greco-featured-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.greco-featured-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid rgba(10, 31, 51, 0.06);
    box-shadow: 0 4px 24px rgba(10, 31, 51, 0.08), 0 1px 3px rgba(10, 31, 51, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.greco-featured-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(10, 31, 51, 0.12), 0 6px 16px rgba(10, 31, 51, 0.06);
}

.greco-featured-image-wrapper {
    width: 100%;
    height: auto;
    overflow: hidden;
    position: relative;
}

.greco-featured-image-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(180deg, transparent 0%, rgba(10, 31, 51, 0.15) 100%);
    pointer-events: none;
}

.greco-featured-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
}

.greco-featured-card:hover .greco-featured-image {
    transform: scale(1.08);
}

.greco-featured-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.greco-featured-title {
    font-family: var(--wp--preset--font-family--heading);
    font-size: 1.125rem;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: var(--wp--preset--color--dark, #1F2937);
}

.greco-featured-desc {
    color: var(--wp--preset--color--gray, #64748B);
    font-size: 0.875rem;
    margin-bottom: 1rem;
    flex-grow: 1;
    line-height: 1.6;
}

.greco-featured-footer {
    margin-top: auto;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.greco-featured-price {
    color: #C9A227;
    font-family: var(--wp--preset--font-family--heading);
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0;
}

.dark-mode .greco-featured-price {
    color: var(--greco-accent);
}

/* ========================================
   Specialty Modal & Card Overlay
   ======================================== */

/* Clickable card cursor */
.greco-specialty-trigger {
    cursor: pointer;
}

/* Hover overlay */
.greco-featured-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 31, 51, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2;
}

.greco-specialty-trigger:hover .greco-featured-overlay,
.greco-specialty-trigger:focus .greco-featured-overlay {
    opacity: 1;
}

.greco-featured-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    color: var(--wp--preset--color--dark, #1F2937);
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: 9999px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transform: translateY(10px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.greco-specialty-trigger:hover .greco-featured-more,
.greco-specialty-trigger:focus .greco-featured-more {
    transform: translateY(0);
}

/* iOS scroll lock - applied via JS */
body.greco-modal-open {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
    height: 100% !important;
    touch-action: none;
    -webkit-overflow-scrolling: none;
}

/* Modal backdrop */
.greco-specialty-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    /* Dynamic viewport height for iOS */
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.greco-specialty-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.greco-specialty-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: rgba(10, 31, 51, 0.85);
}

/* Modal container - matching menu modal style */
.greco-specialty-modal-container {
    position: relative;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 25px 80px rgba(10, 31, 51, 0.25), 0 10px 30px rgba(10, 31, 51, 0.15);
    overflow: hidden;
    transform: scale(0.95) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.greco-specialty-modal.is-open .greco-specialty-modal-container {
    transform: scale(1) translateY(0);
}

/* Close button - matching menu modal style */
.greco-specialty-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(30, 77, 107, 0.1);
    border-radius: 12px;
    cursor: pointer;
    color: #1E4D6B;
    box-shadow: 0 4px 16px rgba(10, 31, 51, 0.12);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease;
    line-height: 1;
}

.greco-specialty-modal-close:hover {
    background: #fff;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(10, 31, 51, 0.18);
}

.greco-specialty-modal-close:focus {
    outline: 2px solid #C9A227;
    outline-offset: 2px;
}

/* Modal content layout */
.greco-specialty-modal-content {
    display: grid;
    grid-template-columns: 1fr;
    max-height: 90vh;
    overflow-y: auto;
}

@media (min-width: 768px) {
    .greco-specialty-modal-content {
        grid-template-columns: 1fr 1fr;
    }
}

/* Modal image */
.greco-specialty-modal-image {
    width: 100%;
    height: auto;
    min-height: 280px;
    max-height: 50vh;
    overflow: hidden;
    background: #f5f5f5;
}

@media (min-width: 768px) {
    .greco-specialty-modal-image {
        height: 100%;
        min-height: 400px;
        max-height: none;
    }
}

.greco-specialty-modal-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: #f5f5f5;
}

/* Modal body */
.greco-specialty-modal-body {
    padding: 2rem;
    overflow-y: auto;
    max-height: 400px;
}

@media (min-width: 768px) {
    .greco-specialty-modal-body {
        max-height: none;
        padding: 2.5rem;
    }
}

.greco-specialty-modal-title {
    font-family: var(--wp--preset--font-family--heading);
    font-size: 1.75rem;
    font-weight: 600;
    margin: 0 0 1.25rem;
    color: var(--wp--preset--color--dark, #1F2937);
}

.greco-specialty-modal-desc {
    color: var(--wp--preset--color--gray, #64748B);
    font-size: 1rem;
    line-height: 1.75;
}

.greco-specialty-modal-desc p {
    margin-bottom: 1rem;
}

.greco-specialty-modal-desc p:last-child {
    margin-bottom: 0;
}

/* Mobile modal fixes - prevent border overflow */
@media (max-width: 767px) {
    .greco-specialty-modal {
        padding: 0.5rem;
        box-sizing: border-box;
    }

    .greco-specialty-modal-container {
        max-width: calc(100vw - 1rem);
        width: calc(100% - 1rem);
        margin: 0 auto;
        border-radius: 16px;
        box-sizing: border-box;
    }

    .greco-specialty-modal-content {
        border-radius: 16px;
        overflow: hidden;
    }

    .greco-specialty-modal-body {
        padding: 1.25rem;
    }

    .greco-specialty-modal-title {
        font-size: 1.375rem;
    }
}

/* Dark mode modal */
.dark-mode .greco-specialty-modal-container {
    background: var(--greco-surface-overlay);
}

.dark-mode .greco-specialty-modal-close {
    background: var(--greco-surface-elevated);
    color: var(--greco-text);
    border-color: var(--greco-border-subtle);
}

.dark-mode .greco-specialty-modal-title {
    color: var(--greco-text);
}

.dark-mode .greco-specialty-modal-desc {
    color: var(--greco-text-muted);
}


/* ========================================
   Blog Preview — Dark Magazine (Homepage Aktualności)
   Wspólny język wizualny z sekcją Opinions — ciemny gradient,
   glass-morphism karty, złoty akcent. Magazine layout: 1 hero + 2 vertical side cards.
   ======================================== */

/* Section wrapper — full-width dark panel */
.greco-blog-magazine-wrap {
    position: relative;
    background: var(--greco-dark-bg);
    color: var(--greco-dark-text);
    padding-top: var(--wp--preset--spacing--70, 2.5rem);
    padding-bottom: var(--wp--preset--spacing--70, 2.5rem);
    width: 100%;
    max-width: 100vw;
    overflow-x: clip;
    overflow-y: visible;
}

.greco-blog-magazine-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 80% 20%, rgba(212, 167, 82, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 20% 80%, rgba(212, 167, 82, 0.06) 0%, transparent 40%);
    pointer-events: none;
}

.greco-blog-magazine-wrap > * {
    position: relative;
    z-index: 1;
}

.greco-blog-magazine-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.greco-blog-magazine-header {
    max-width: 680px;
    margin: 0 auto var(--wp--preset--spacing--50, 2rem);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.greco-blog-magazine-title {
    font-family: var(--wp--preset--font-family--heading, 'Outfit', sans-serif);
    font-weight: 600;
    font-size: clamp(1.75rem, 2.5vw, 2.25rem);
    letter-spacing: -0.01em;
    color: var(--greco-dark-text);
    margin: 0;
    line-height: 1.15;
}

.greco-blog-magazine-divider {
    display: block;
    width: 48px;
    height: 2px;
    background: var(--greco-dark-accent);
    border-radius: 2px;
}

.greco-blog-magazine-subtitle {
    font-family: var(--wp--preset--font-family--body, 'Inter', sans-serif);
    font-size: clamp(0.95rem, 1.2vw, 1.05rem);
    color: var(--greco-dark-text-muted);
    margin: 0;
    line-height: 1.55;
}

/* Magazine grid */
.greco-blog-magazine {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    align-items: stretch;
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .greco-blog-magazine {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
}

@media (min-width: 992px) {
    .greco-blog-magazine {
        grid-template-columns: 2fr 1fr;
        gap: 1.5rem;
    }
}

/* Solo mode — tylko 1 wpis */
.greco-blog-magazine--solo {
    grid-template-columns: 1fr !important;
}

/* Scroll-reveal — whole section */
.greco-blog-magazine-wrap {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.greco-blog-magazine-wrap.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---- Hero card (first/featured post) ---- */

.greco-blog-hero {
    position: relative;
    display: block;
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none;
    color: var(--greco-dark-text);
    border: 1px solid var(--greco-dark-border);
    background: var(--greco-dark-card-bg);
    aspect-ratio: 1 / 1;
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
    contain: layout style;
}

.greco-blog-hero:hover {
    transform: translateY(-4px);
    border-color: var(--greco-dark-border-hover);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.greco-blog-hero__img {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: translateZ(0);
    transition: transform 0.5s ease;
    will-change: transform;
}

.greco-blog-hero:hover .greco-blog-hero__img {
    transform: scale(1.03) translateZ(0);
}

.greco-blog-hero__img--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1A2028 0%, #0F1419 100%);
    color: rgba(212, 167, 82, 0.35);
    transition: none;
}

.greco-blog-hero__img--placeholder svg {
    width: 64px;
    height: 64px;
}

.greco-blog-hero__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.75rem;
    background:
        linear-gradient(180deg, rgba(15, 20, 25, 0.45) 0%, transparent 35%),
        linear-gradient(180deg, transparent 40%, rgba(15, 20, 25, 0.65) 70%, rgba(15, 20, 25, 0.95) 100%);
    z-index: 1;
}

.greco-blog-hero__title {
    font-family: var(--wp--preset--font-family--heading, 'Outfit', sans-serif);
    font-size: clamp(1.25rem, 1.8vw, 1.5rem);
    font-weight: 600;
    line-height: 1.25;
    margin: 0.6rem 0 0.6rem;
    color: var(--greco-dark-text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.greco-blog-hero__desc {
    font-family: var(--wp--preset--font-family--body, 'Inter', sans-serif);
    font-size: 0.9375rem;
    line-height: 1.55;
    color: rgba(244, 236, 216, 0.88);
    margin: 0 0 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.greco-blog-hero__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(212, 167, 82, 0.18);
}

.greco-blog-hero__footer time {
    font-family: var(--wp--preset--font-family--body, 'Inter', sans-serif);
    font-size: 0.75rem;
    color: var(--greco-dark-text-dim);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 500;
}

.greco-blog-hero__link {
    font-family: var(--wp--preset--font-family--body, 'Inter', sans-serif);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--greco-dark-accent);
    transition: color 0.25s ease, transform 0.25s ease;
}

.greco-blog-hero:hover .greco-blog-hero__link {
    color: #E8D5A3;
    transform: translateX(2px);
}


/* ---- Gold badge (category) ---- */

.greco-blog-badge {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    background: var(--greco-dark-accent-soft);
    color: var(--greco-dark-accent);
    border: 1px solid rgba(212, 167, 82, 0.4);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 999px;
    line-height: 1;
    align-self: flex-start;
}

.greco-blog-badge--sm {
    padding: 0.25rem 0.6rem;
    font-size: 0.65rem;
}


/* ---- Side cards (posts 2 & 3) — overlay layout (same as hero) ---- */

.greco-blog-side {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .greco-blog-side {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
        height: auto;
    }
}

.greco-blog-side-card--overlay {
    position: relative;
    display: block;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: var(--greco-dark-text);
    border: 1px solid var(--greco-dark-border);
    background: var(--greco-dark-card-bg);
    aspect-ratio: 1 / 1;
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
    contain: layout style;
}

.greco-blog-side-card--overlay:hover {
    transform: translateY(-3px);
    border-color: var(--greco-dark-border-hover);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
}

.greco-blog-side-card__img {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: translateZ(0);
    transition: transform 0.5s ease;
    will-change: transform;
}

.greco-blog-side-card--overlay:hover .greco-blog-side-card__img {
    transform: scale(1.04) translateZ(0);
}

.greco-blog-side-card__img--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1A2028 0%, #0F1419 100%);
    color: rgba(212, 167, 82, 0.35);
    transition: none;
}

.greco-blog-side-card__img--placeholder svg {
    width: 40px;
    height: 40px;
}

.greco-blog-side-card__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.25rem;
    background:
        linear-gradient(180deg, rgba(15, 20, 25, 0.5) 0%, transparent 30%),
        linear-gradient(180deg, transparent 35%, rgba(15, 20, 25, 0.7) 65%, rgba(15, 20, 25, 0.95) 100%);
    z-index: 1;
}

.greco-blog-side-card__overlay > .greco-blog-badge {
    align-self: flex-start;
}

.greco-blog-side-card__bottom {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.greco-blog-side-card__title {
    font-family: var(--wp--preset--font-family--heading, 'Outfit', sans-serif);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
    color: var(--greco-dark-text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.greco-blog-side-card__desc {
    font-family: var(--wp--preset--font-family--body, 'Inter', sans-serif);
    font-size: 0.8125rem;
    line-height: 1.5;
    color: rgba(244, 236, 216, 0.85);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.greco-blog-side-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding-top: 0.6rem;
    border-top: 1px solid rgba(212, 167, 82, 0.18);
}

.greco-blog-side-card__footer time {
    font-family: var(--wp--preset--font-family--body, 'Inter', sans-serif);
    font-size: 0.7rem;
    color: var(--greco-dark-text-dim);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 500;
}

.greco-blog-side-card__link {
    font-family: var(--wp--preset--font-family--body, 'Inter', sans-serif);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--greco-dark-accent);
    transition: color 0.25s ease, transform 0.25s ease;
    white-space: nowrap;
}

.greco-blog-side-card--overlay:hover .greco-blog-side-card__link {
    color: #E8D5A3;
    transform: translateX(2px);
}


/* ---- CTA button ---- */

.greco-blog-cta {
    display: flex;
    justify-content: center;
    margin-top: 1.75rem;
}

.greco-blog-cta-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.85rem 2.25rem;
    font-family: var(--wp--preset--font-family--heading, 'Outfit', sans-serif);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--greco-dark-accent);
    background: transparent;
    border: 2px solid var(--greco-dark-accent);
    border-radius: 9999px;
    text-decoration: none;
    transform: translateZ(0);
    transition: transform 0.25s ease, color 0.25s ease, background-color 0.25s ease;
}

.greco-blog-cta-button:hover {
    background-color: var(--greco-dark-accent);
    color: #0F1419;
    transform: translateY(-2px) translateZ(0);
}

.greco-blog-cta-button:focus-visible {
    outline: 2px solid var(--greco-dark-accent);
    outline-offset: 3px;
}


/* ---- Focus states ---- */

.greco-blog-hero:focus-visible,
.greco-blog-side-card--overlay:focus-visible {
    outline: 2px solid var(--greco-dark-accent);
    outline-offset: 3px;
}


/* ---- Tablet (768-991px) — hero full width, side 2 cols below ---- */

@media (min-width: 768px) and (max-width: 991.98px) {
    .greco-blog-hero {
        aspect-ratio: 16 / 9;
    }

    .greco-blog-side-card--overlay {
        aspect-ratio: 1 / 1;
    }
}


/* ---- Mobile (<768px) ---- */

@media (max-width: 767.98px) {
    .greco-blog-magazine-wrap {
        padding-top: var(--wp--preset--spacing--60, 2rem);
        padding-bottom: var(--wp--preset--spacing--60, 2rem);
    }

    .greco-blog-magazine-header {
        margin-bottom: 1.25rem;
        gap: 0.6rem;
    }

    .greco-blog-magazine-section {
        padding: 0 1.25rem;
    }

    .greco-blog-hero {
        aspect-ratio: 1 / 1;
        min-height: 320px;
    }

    .greco-blog-hero__overlay {
        padding: 1.25rem;
    }

    .greco-blog-hero__title {
        font-size: 1.15rem;
    }

    .greco-blog-side-card--overlay {
        aspect-ratio: 1 / 1;
        min-height: 320px;
    }

    .greco-blog-side-card__overlay {
        padding: 1.25rem;
    }
}


/* ---- Touch/low-power: disable scale ---- */

@media (hover: none) {
    .greco-blog-hero__img,
    .greco-blog-side-card__img {
        transition: none;
    }

    .greco-blog-hero:hover,
    .greco-blog-hero:hover .greco-blog-hero__img,
    .greco-blog-side-card--overlay:hover,
    .greco-blog-side-card--overlay:hover .greco-blog-side-card__img {
        transform: none;
    }
}


/* ---- Reduced motion ---- */

@media (prefers-reduced-motion: reduce) {
    .greco-blog-magazine-wrap,
    .greco-blog-hero,
    .greco-blog-hero__img,
    .greco-blog-side-card--overlay,
    .greco-blog-side-card__img,
    .greco-blog-side-card__link,
    .greco-blog-cta-button,
    .greco-blog-hero__link {
        transition: none !important;
        transform: none !important;
    }

    .greco-blog-magazine-wrap {
        opacity: 1;
    }
}


/* ========================================
   Blog Archive & Single Styles
   ======================================== */

.greco-blog-archive .wp-block-query {
    margin-top: 1.5rem;
    max-width: 100%;
}

/* --- Archive cards --- */

.greco-blog-archive .archive-card {
    padding-top: 0 !important;
    overflow: hidden;
    border: 1px solid rgba(10, 31, 51, 0.06);
    box-shadow: 0 2px 12px rgba(10, 31, 51, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.greco-blog-archive .archive-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(10, 31, 51, 0.10);
}

.greco-blog-archive .wp-block-post-featured-image {
    overflow: hidden;
}

.greco-blog-archive .wp-block-post-featured-image img {
    width: 100%;
    height: auto;
    transition: transform 0.4s ease;
}

.greco-blog-archive .archive-card:hover .wp-block-post-featured-image img {
    transform: scale(1.04);
}

.greco-blog-archive .wp-block-post-date {
    font-size: 0.8rem;
    letter-spacing: 0.03em;
}

.greco-blog-archive .wp-block-post-excerpt {
    line-height: 1.6;
}

/* --- Archive read-more button --- */

.greco-archive-read-more {
    display: inline-block;
    padding: 0.6rem 1.4rem;
    background: var(--wp--preset--color--navy, #0A1F33);
    color: #fff !important;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.2s ease;
}

.greco-archive-read-more:hover {
    background: var(--wp--preset--color--gold, #C9A227);
    transform: translateY(-2px);
}

.dark-mode .greco-archive-read-more {
    background: var(--greco-accent);
    color: var(--greco-accent-on) !important;
}

.dark-mode .greco-archive-read-more:hover {
    background: var(--greco-accent-soft);
}

/* --- Dark mode: archive cards --- */

.dark-mode .greco-blog-archive .archive-card {
    background: var(--greco-card-bg) !important;
    border-color: var(--greco-card-border);
    box-shadow: 0 2px 16px var(--greco-shadow);
}

.dark-mode .greco-blog-archive .archive-card:hover {
    box-shadow: 0 20px 48px var(--greco-shadow);
    border-color: var(--greco-border-strong);
}

.dark-mode .greco-blog-archive .archive-card .wp-block-post-title a {
    color: var(--greco-text);
}

.dark-mode .greco-blog-archive .archive-card .wp-block-post-title a:hover {
    color: var(--greco-accent);
}

.dark-mode .greco-blog-archive .archive-card .wp-block-post-excerpt,
.dark-mode .greco-blog-archive .archive-card .wp-block-post-date {
    color: var(--greco-text-muted) !important;
}

.dark-mode .greco-blog-archive .archive-card .wp-block-post-terms a {
    color: var(--greco-accent) !important;
}

/* --- Dark mode: archive page background --- */

.dark-mode .greco-blog-archive {
    background: transparent;
}

/* --- Single post --- */

.greco-blog-single .wp-block-post-title {
    line-height: 1.2;
}

.greco-blog-single > .wp-block-post-featured-image {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    border-radius: var(--wp--preset--spacing--40, 1rem);
    overflow: hidden;
}

.greco-blog-single > .wp-block-post-featured-image img {
    width: 100%;
    height: auto;
}

/* Related posts inside single post (query block only, not hero image) */
.greco-blog-single .wp-block-query .wp-block-post-featured-image {
    overflow: hidden;
    border-radius: var(--wp--preset--spacing--30, 0.75rem);
}

.greco-blog-single .wp-block-query .wp-block-post-featured-image img {
    width: 100%;
    height: auto;
    transition: transform 0.4s ease;
}

.greco-blog-single .wp-block-query .wp-block-post-featured-image:hover img {
    transform: scale(1.04);
}

/* --- Related posts: card styling & mobile --- */

.greco-blog-single .wp-block-query .wp-block-group {
    background: #fff;
    border: 1px solid rgba(10, 31, 51, 0.06);
    box-shadow: 0 2px 12px rgba(10, 31, 51, 0.06);
    border-radius: var(--wp--preset--spacing--30, 0.75rem);
    padding: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.greco-blog-single .wp-block-query .wp-block-group:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(10, 31, 51, 0.10);
}

@media (max-width: 767px) {
    .greco-blog-single .wp-block-query .wp-block-post-template {
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .greco-blog-single .wp-block-query .wp-block-post-template {
        grid-template-columns: 1fr 1fr !important;
    }
}

/* --- Dark mode: related posts --- */

.dark-mode .greco-blog-single .wp-block-query .wp-block-group {
    background: var(--greco-card-bg);
    border-color: var(--greco-card-border);
    box-shadow: 0 2px 16px var(--greco-shadow);
}

.dark-mode .greco-blog-single .wp-block-query .wp-block-group:hover {
    box-shadow: 0 12px 32px var(--greco-shadow);
    border-color: var(--greco-border-strong);
}

.dark-mode .greco-blog-single .wp-block-query .wp-block-post-title a {
    color: var(--greco-text);
}

.dark-mode .greco-blog-single .wp-block-query .wp-block-post-title a:hover {
    color: var(--greco-accent);
}

.dark-mode .greco-blog-single .wp-block-query .wp-block-post-date {
    color: var(--greco-text-muted) !important;
}

.dark-mode .greco-blog-single .wp-block-heading {
    color: var(--greco-text);
}

.dark-mode .greco-blog-single .wp-block-post-title {
    color: var(--greco-text);
}

.dark-mode .greco-blog-single .wp-block-post-date {
    color: var(--greco-text-muted) !important;
}

.dark-mode .greco-blog-single .wp-block-post-terms a {
    color: var(--greco-accent) !important;
}

.dark-mode .greco-blog-single .wp-block-post-content {
    color: var(--greco-text);
}

/* --- Dark mode: archive header --- */

.dark-mode .greco-blog-archive .section-heading-gold-underline {
    color: var(--greco-text);
}

/* --- Blog terms (archive + single) --- */

.greco-blog-single .wp-block-post-terms a,
.greco-blog-archive .wp-block-post-terms a {
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    text-decoration: none;
}


/* ========================================
   Footer Grid Responsive Styles
   ======================================== */

.greco-footer-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
}

.greco-footer-brand {
    flex-basis: 300px;
}

.greco-footer-nav {
    flex-basis: 160px;
}

.greco-footer-contact {
    flex-basis: 220px;
}

.greco-footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

@media (max-width: 768px) {
    .greco-footer-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "brand brand"
            "nav contact";
        gap: 1.5rem;
    }

    .greco-footer-brand {
        grid-area: brand;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .greco-footer-brand .footer-social {
        justify-content: center;
    }

    .greco-footer-nav {
        grid-area: nav;
        text-align: left;
    }

    .greco-footer-contact {
        grid-area: contact;
        text-align: left;
    }

    .greco-footer-nav nav {
        align-items: flex-start;
    }

    .greco-footer-contact .footer-contact-wrapper {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .greco-footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .greco-footer-bottom nav {
        justify-content: center;
    }
}

/* Hide empty paragraphs from wpautop */
.greco-footer-bottom p:empty {
    display: none;
}

/* Smaller margin on separator */
.site-footer .footer-divider {
    margin-top: var(--wp--preset--spacing--50) !important;
}

/* ========================================
   Error 404 Page - Dark Mode Styles
   ======================================== */

/* Primary button (Strona główna) - dark mode */
.dark-mode .error-404 .wp-block-button__link.has-aegean-background-color {
    background: linear-gradient(135deg, var(--greco-accent) 0%, var(--greco-accent-soft) 100%) !important;
    color: var(--greco-accent-on) !important;
    border-color: transparent !important;
    box-shadow: 0 4px 16px color-mix(in srgb, var(--greco-accent) 30%, transparent);
}

.dark-mode .error-404 .wp-block-button__link.has-aegean-background-color:hover {
    background: linear-gradient(135deg, var(--greco-accent-soft) 0%, var(--greco-accent) 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px color-mix(in srgb, var(--greco-accent) 40%, transparent);
}

/* Outline button (Nasze lokalizacje) - dark mode */
.dark-mode .error-404 .is-style-outline .wp-block-button__link {
    background: transparent !important;
    color: var(--greco-text) !important;
    border-color: var(--greco-border-strong) !important;
}

.dark-mode .error-404 .is-style-outline .wp-block-button__link:hover {
    background: var(--greco-accent-glow) !important;
    border-color: var(--greco-accent) !important;
    color: var(--greco-accent) !important;
}

/* backdrop-filter removed globally for performance — no mobile override needed */