/* Enhanced Clock Cards & Gallery System */
/* Version: 2.0 - Contemporary Redesign Clock Cards */

/* ===== ENHANCED CLOCK CARD SYSTEM ===== */

.clock-card-enhanced {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-slow);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.clock-card-enhanced:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.clock-card-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-navy), var(--color-teal), var(--color-orange));
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.clock-card-enhanced:hover::before {
    opacity: 1;
}

/* ===== CLOCK CARD IMAGE SECTION ===== */

.clock-card-image {
    position: relative;
    width: 100%;
    height: 240px;
    background: linear-gradient(135deg, var(--color-ash), var(--color-pewter));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: var(--color-slate);
    font-size: var(--text-lg);
    font-weight: 500;
}

.clock-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.clock-card-enhanced:hover .clock-card-image img {
    transform: scale(1.1);
}

.clock-card-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0, 0, 0, 0.1) 50%,
        rgba(0, 0, 0, 0.3) 100%
    );
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.clock-card-enhanced:hover .clock-card-image-overlay {
    opacity: 1;
}

.clock-card-status-badge {
    position: absolute;
    top: var(--space-3);
    right: var(--space-3);
    background: var(--color-orange);
    color: var(--color-white);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-pill);
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-sm);
}

.clock-card-priority-badge {
    position: absolute;
    top: var(--space-3);
    left: var(--space-3);
    background: var(--color-red);
    color: var(--color-white);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-pill);
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-sm);
}

/* ===== CLOCK CARD CONTENT SECTION ===== */

.clock-card-content-enhanced {
    padding: var(--space-6);
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: var(--space-3);
}

.clock-card-title-enhanced {
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--color-navy);
    margin: 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.clock-card-description-enhanced {
    color: var(--color-slate);
    font-size: var(--text-sm);
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.clock-card-meta-enhanced {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--color-slate);
    font-size: var(--text-xs);
    font-weight: 500;
}

.clock-card-date {
    color: var(--color-teal);
    font-size: var(--text-sm);
}

.clock-card-tags-enhanced {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin: 0;
}

.clock-card-tags-enhanced .tag {
    background: var(--color-porcelain);
    color: var(--color-slate);
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-pill);
    font-size: var(--text-xs);
    font-weight: 500;
    border: 1px solid var(--color-ash);
    transition: all var(--transition-normal);
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.clock-card-tags-enhanced .tag:hover {
    background: var(--color-navy);
    color: var(--color-white);
    border-color: var(--color-navy);
    transform: translateY(-1px);
}

.clock-card-actions-enhanced {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: var(--space-4);
    border-top: 1px solid var(--color-ash);
}

/* ===== CLOCK CARD TAGS ===== */

.clock-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-bottom: var(--space-4);
}

.clock-card-tag {
    background: var(--color-porcelain);
    color: var(--color-slate);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-pill);
    font-size: var(--text-xs);
    font-weight: 500;
    border: 1px solid var(--color-ash);
    transition: all var(--transition-normal);
}

.clock-card-tag:hover {
    background: var(--color-navy);
    color: var(--color-white);
    border-color: var(--color-navy);
    transform: translateY(-1px);
}

/* ===== CLOCK CARD ACTIONS ===== */

.clock-card-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: var(--space-4);
    border-top: 1px solid var(--color-ash);
}

.clock-card-primary-action {
    flex: 1;
    margin-right: var(--space-3);
}

.clock-card-status {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--color-slate);
    font-size: var(--text-xs);
    font-weight: 500;
}

.clock-card-status span:first-child {
    color: var(--color-orange);
    font-size: var(--text-sm);
}

/* ===== ENHANCED GALLERY GRID ===== */

.clocks-grid-enhanced {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: var(--space-8);
    margin-bottom: var(--space-12);
}

/* Responsive grid adjustments */
@media (max-width: 768px) {
    .clocks-grid-enhanced {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }
    
    .clock-card-image {
        height: 200px;
    }
}

@media (min-width: 1200px) {
    .clocks-grid-enhanced {
        grid-template-columns: repeat(auto-fill, minmax(420px, 1fr));
    }
}

/* ===== FEATURED CLOCK CARD ===== */

.featured-clock-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
    background: var(--color-white);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-bottom: var(--space-12);
    transition: all var(--transition-slow);
}

.featured-clock-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.featured-clock-image {
    position: relative;
    min-height: 400px;
    background: linear-gradient(135deg, var(--color-ash), var(--color-pewter));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-slate);
    font-size: var(--text-xl);
    font-weight: 500;
}

.featured-clock-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-clock-content {
    padding: var(--space-8);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-clock-title {
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--color-charcoal-new);
    margin: 0 0 var(--space-4) 0;
    line-height: 1.2;
}

.featured-clock-location {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-6);
    color: var(--color-slate);
    font-size: var(--text-lg);
}

.featured-clock-location span:first-child {
    color: var(--color-teal);
    font-size: var(--text-xl);
}

.featured-clock-description {
    color: var(--color-slate);
    font-size: var(--text-base);
    line-height: 1.7;
    margin: 0 0 var(--space-6) 0;
}

.featured-clock-actions {
    display: flex;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
    flex-wrap: wrap;
}

.featured-clock-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
}

.featured-clock-tag {
    background: var(--color-porcelain);
    color: var(--color-slate);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-pill);
    font-size: var(--text-sm);
    font-weight: 500;
    border: 1px solid var(--color-ash);
    transition: all var(--transition-normal);
}

.featured-clock-tag:hover {
    background: var(--color-navy);
    color: var(--color-white);
    border-color: var(--color-navy);
    transform: translateY(-1px);
}

/* Responsive featured clock */
@media (max-width: 768px) {
    .featured-clock-card {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .featured-clock-image {
        min-height: 300px;
    }
    
    .featured-clock-content {
        padding: var(--space-6);
    }
    
    .featured-clock-title {
        font-size: var(--text-2xl);
    }
}

/* ===== LOAD MORE SECTION ===== */

.load-more-enhanced {
    text-align: center;
    padding: var(--space-8) 0;
}

.load-more-button {
    background: var(--color-navy);
    color: var(--color-white);
    border: none;
    padding: var(--space-4) var(--space-8);
    border-radius: var(--radius-pill);
    font-family: var(--font-family);
    font-size: var(--text-lg);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-md);
    min-height: 56px;
    min-width: 200px;
}

.load-more-button:hover {
    background: var(--color-charcoal-new);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.load-more-button:active {
    transform: translateY(0);
}

.load-more-button:disabled {
    background: var(--color-ash);
    color: var(--color-slate);
    cursor: not-allowed;
    transform: none;
    box-shadow: var(--shadow-sm);
}

/* ===== ANIMATION UTILITIES ===== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.clock-card-enhanced {
    animation: fadeInUp 0.6s ease-out;
}

.clock-card-enhanced:nth-child(2) {
    animation-delay: 0.1s;
}

.clock-card-enhanced:nth-child(3) {
    animation-delay: 0.2s;
}

.clock-card-enhanced:nth-child(4) {
    animation-delay: 0.3s;
}

/* ===== INTERACTIVE STATES ===== */

.clock-card-enhanced:focus-within {
    outline: 3px solid var(--color-navy);
    outline-offset: 2px;
}

.clock-card-enhanced:focus-within .clock-card-image-overlay {
    opacity: 1;
}

/* ===== ACCESSIBILITY ENHANCEMENTS ===== */

@media (prefers-reduced-motion: reduce) {
    .clock-card-enhanced,
    .clock-card-enhanced:hover,
    .clock-card-enhanced img,
    .clock-card-enhanced::before {
        transition: none;
        transform: none;
        animation: none;
    }
}

/* ===== PRINT STYLES ===== */

@media print {
    .clock-card-enhanced {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid var(--color-ash);
    }
    
    .clock-card-actions {
        display: none;
    }
}

/* ==========================================================================
   CSS Overrides to Ensure New Clock Card Styles Take Precedence
   ========================================================================== */

/* Force new clock card styles to override old styles */
.clock-card-enhanced,
.clock-card {
    background: var(--color-white) !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: var(--shadow-sm) !important;
    transition: all var(--transition-normal) !important;
    overflow: hidden !important;
    border: 1px solid var(--color-border) !important;
}

.clock-card-enhanced:hover,
.clock-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: var(--shadow-lg) !important;
}

.clock-card-image-enhanced,
.clock-card-image {
    position: relative !important;
    overflow: hidden !important;
    aspect-ratio: 16/9 !important;
}

.clock-card-image-enhanced img,
.clock-card-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform var(--transition-normal) !important;
}

.clock-card-enhanced:hover .clock-card-image-enhanced img,
.clock-card:hover .clock-card-image img {
    transform: scale(1.05) !important;
}

.clock-card-content-enhanced,
.clock-card-content {
    padding: var(--space-6) !important;
}

.clock-card-title-enhanced,
.clock-card-title {
    font-size: var(--text-xl) !important;
    font-weight: 600 !important;
    color: var(--color-primary) !important;
    margin: 0 0 var(--space-3) 0 !important;
    line-height: 1.3 !important;
}

.clock-card-description-enhanced,
.clock-description {
    color: var(--color-text) !important;
    margin-bottom: var(--space-4) !important;
    line-height: 1.6 !important;
}

.clock-card-actions-enhanced,
.clock-card-actions {
    display: flex !important;
    gap: var(--space-3) !important;
    flex-wrap: wrap !important;
}

.clock-card-badge {
    background: var(--color-secondary) !important;
    color: var(--color-primary) !important;
    border-radius: var(--radius-full) !important;
    font-size: var(--text-sm) !important;
    font-weight: 500 !important;
    padding: var(--space-1) var(--space-3) !important;
    display: inline-block !important;
    margin-right: var(--space-2) !important;
    margin-bottom: var(--space-2) !important;
}

/* Force new grid layout */
.clocks-grid-enhanced,
.clocks-grid {
    display: grid !important;
    gap: var(--space-6) !important;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)) !important;
}

@media (max-width: 768px) {
    .clocks-grid-enhanced,
    .clocks-grid {
        grid-template-columns: 1fr !important;
        gap: var(--space-4) !important;
    }
}

/* ===============================================================================
   ULTRA HIGH SPECIFICITY OVERRIDES - Force Enhanced Clock Card Styles
   =============================================================================== */

/* Ultra specific clock card overrides */
.main-content-with-top-nav .container-enhanced .gallery-section-enhanced .clocks-grid-enhanced .clock-card-enhanced,
.main-content .container-enhanced .gallery-section-enhanced .clocks-grid-enhanced .clock-card-enhanced,
.main-content-with-top-nav .gallery-section-enhanced .clocks-grid-enhanced .clock-card-enhanced,
.gallery-section-enhanced .clocks-grid-enhanced .clock-card-enhanced,
.clocks-grid-enhanced .clock-card-enhanced {
    background: var(--color-white) !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: var(--shadow-sm) !important;
    transition: all var(--transition-normal) !important;
    overflow: hidden !important;
    border: 1px solid var(--color-border) !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    position: relative !important;
    cursor: pointer !important;
}

.main-content-with-top-nav .container-enhanced .gallery-section-enhanced .clocks-grid-enhanced .clock-card-enhanced:hover,
.main-content .container-enhanced .gallery-section-enhanced .clocks-grid-enhanced .clock-card-enhanced:hover,
.main-content-with-top-nav .gallery-section-enhanced .clocks-grid-enhanced .clock-card-enhanced:hover,
.gallery-section-enhanced .clocks-grid-enhanced .clock-card-enhanced:hover,
.clocks-grid-enhanced .clock-card-enhanced:hover {
    transform: translateY(-4px) !important;
    box-shadow: var(--shadow-lg) !important;
}

/* Ultra specific image overrides */
.main-content-with-top-nav .container-enhanced .gallery-section-enhanced .clocks-grid-enhanced .clock-card-enhanced .clock-card-image-enhanced,
.main-content .container-enhanced .gallery-section-enhanced .clocks-grid-enhanced .clock-card-enhanced .clock-card-image-enhanced,
.main-content-with-top-nav .gallery-section-enhanced .clocks-grid-enhanced .clock-card-enhanced .clock-card-image-enhanced,
.gallery-section-enhanced .clocks-grid-enhanced .clock-card-enhanced .clock-card-image-enhanced,
.clocks-grid-enhanced .clock-card-enhanced .clock-card-image-enhanced {
    position: relative !important;
    overflow: hidden !important;
    aspect-ratio: 16/9 !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.main-content-with-top-nav .container-enhanced .gallery-section-enhanced .clocks-grid-enhanced .clock-card-enhanced .clock-card-image-enhanced img,
.main-content .container-enhanced .gallery-section-enhanced .clocks-grid-enhanced .clock-card-enhanced .clock-card-image-enhanced img,
.main-content-with-top-nav .gallery-section-enhanced .clocks-grid-enhanced .clock-card-enhanced .clock-card-image-enhanced img,
.gallery-section-enhanced .clocks-grid-enhanced .clock-card-enhanced .clock-card-image-enhanced img,
.clocks-grid-enhanced .clock-card-enhanced .clock-card-image-enhanced img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform var(--transition-normal) !important;
    display: block !important;
}

/* Ultra specific content overrides */
.main-content-with-top-nav .container-enhanced .gallery-section-enhanced .clocks-grid-enhanced .clock-card-enhanced .clock-card-content-enhanced,
.main-content .container-enhanced .gallery-section-enhanced .clocks-grid-enhanced .clock-card-enhanced .clock-card-content-enhanced,
.main-content-with-top-nav .gallery-section-enhanced .clocks-grid-enhanced .clock-card-enhanced .clock-card-content-enhanced,
.gallery-section-enhanced .clocks-grid-enhanced .clock-card-enhanced .clock-card-content-enhanced,
.clocks-grid-enhanced .clock-card-enhanced .clock-card-content-enhanced {
    padding: var(--space-6) !important;
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: var(--space-3) !important;
}

/* Ultra specific title overrides */
.main-content-with-top-nav .container-enhanced .gallery-section-enhanced .clocks-grid-enhanced .clock-card-enhanced .clock-card-content-enhanced .clock-card-title-enhanced,
.main-content .container-enhanced .gallery-section-enhanced .clocks-grid-enhanced .clock-card-enhanced .clock-card-content-enhanced .clock-card-title-enhanced,
.main-content-with-top-nav .gallery-section-enhanced .clocks-grid-enhanced .clock-card-enhanced .clock-card-content-enhanced .clock-card-title-enhanced,
.gallery-section-enhanced .clocks-grid-enhanced .clock-card-enhanced .clock-card-content-enhanced .clock-card-title-enhanced,
.clocks-grid-enhanced .clock-card-enhanced .clock-card-content-enhanced .clock-card-title-enhanced {
    font-size: var(--text-xl) !important;
    font-weight: 600 !important;
    color: var(--color-primary) !important;
    margin: 0 0 var(--space-3) 0 !important;
    line-height: 1.3 !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

/* Ultra specific description overrides with truncation */
.main-content-with-top-nav .container-enhanced .gallery-section-enhanced .clocks-grid-enhanced .clock-card-enhanced .clock-card-content-enhanced .clock-card-description-enhanced,
.main-content .container-enhanced .gallery-section-enhanced .clocks-grid-enhanced .clock-card-enhanced .clock-card-content-enhanced .clock-card-description-enhanced,
.main-content-with-top-nav .gallery-section-enhanced .clocks-grid-enhanced .clock-card-enhanced .clock-card-content-enhanced .clock-card-description-enhanced,
.gallery-section-enhanced .clocks-grid-enhanced .clock-card-enhanced .clock-card-content-enhanced .clock-card-description-enhanced,
.clocks-grid-enhanced .clock-card-enhanced .clock-card-content-enhanced .clock-card-description-enhanced {
    color: var(--color-text) !important;
    margin-bottom: var(--space-4) !important;
    line-height: 1.6 !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* Ultra specific tag overrides */
.main-content-with-top-nav .container-enhanced .gallery-section-enhanced .clocks-grid-enhanced .clock-card-enhanced .clock-card-content-enhanced .clock-card-tags-enhanced,
.main-content .container-enhanced .gallery-section-enhanced .clocks-grid-enhanced .clock-card-enhanced .clock-card-content-enhanced .clock-card-tags-enhanced,
.main-content-with-top-nav .gallery-section-enhanced .clocks-grid-enhanced .clock-card-enhanced .clock-card-content-enhanced .clock-card-tags-enhanced,
.gallery-section-enhanced .clocks-grid-enhanced .clock-card-enhanced .clock-card-content-enhanced .clock-card-tags-enhanced,
.clocks-grid-enhanced .clock-card-enhanced .clock-card-content-enhanced .clock-card-tags-enhanced {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: var(--space-2) !important;
    margin-top: auto !important;
}

.main-content-with-top-nav .container-enhanced .gallery-section-enhanced .clocks-grid-enhanced .clock-card-enhanced .clock-card-content-enhanced .clock-card-tags-enhanced .tag,
.main-content .container-enhanced .gallery-section-enhanced .clocks-grid-enhanced .clock-card-enhanced .clock-card-content-enhanced .clock-card-tags-enhanced .tag,
.main-content-with-top-nav .gallery-section-enhanced .clocks-grid-enhanced .clock-card-enhanced .clock-card-content-enhanced .clock-card-tags-enhanced .tag,
.gallery-section-enhanced .clocks-grid-enhanced .clock-card-enhanced .clock-card-content-enhanced .clock-card-tags-enhanced .tag,
.clocks-grid-enhanced .clock-card-enhanced .clock-card-content-enhanced .clock-card-tags-enhanced .tag {
    background: var(--color-secondary) !important;
    color: var(--color-primary) !important;
    padding: var(--space-1) var(--space-3) !important;
    border-radius: var(--radius-full) !important;
    font-size: var(--text-sm) !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    transition: all var(--transition-normal) !important;
    cursor: pointer !important;
    display: inline-block !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    border: none !important;
    line-height: 1 !important;
}

.main-content-with-top-nav .container-enhanced .gallery-section-enhanced .clocks-grid-enhanced .clock-card-enhanced .clock-card-content-enhanced .clock-card-tags-enhanced .tag:hover,
.main-content .container-enhanced .gallery-section-enhanced .clocks-grid-enhanced .clock-card-enhanced .clock-card-content-enhanced .clock-card-tags-enhanced .tag:hover,
.main-content-with-top-nav .gallery-section-enhanced .clocks-grid-enhanced .clock-card-enhanced .clock-card-content-enhanced .clock-card-tags-enhanced .tag:hover,
.gallery-section-enhanced .clocks-grid-enhanced .clock-card-enhanced .clock-card-content-enhanced .clock-card-tags-enhanced .tag:hover,
.clocks-grid-enhanced .clock-card-enhanced .clock-card-content-enhanced .clock-card-tags-enhanced .tag:hover {
    background: var(--color-brass) !important;
    color: var(--color-white) !important;
    transform: translateY(-1px) !important;
}

/* Ultra specific grid overrides */
.main-content-with-top-nav .container-enhanced .gallery-section-enhanced .clocks-grid-enhanced,
.main-content .container-enhanced .gallery-section-enhanced .clocks-grid-enhanced,
.main-content-with-top-nav .gallery-section-enhanced .clocks-grid-enhanced,
.gallery-section-enhanced .clocks-grid-enhanced,
.clocks-grid-enhanced {
    display: grid !important;
    gap: var(--space-6) !important;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)) !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

@media (max-width: 768px) {
    .main-content-with-top-nav .container-enhanced .gallery-section-enhanced .clocks-grid-enhanced,
    .main-content .container-enhanced .gallery-section-enhanced .clocks-grid-enhanced,
    .main-content-with-top-nav .gallery-section-enhanced .clocks-grid-enhanced,
    .gallery-section-enhanced .clocks-grid-enhanced,
    .clocks-grid-enhanced {
        grid-template-columns: 1fr !important;
        gap: var(--space-4) !important;
    }
}
