/*
 Theme Name:   Kadence Child
 Template:     kadence
 Version:      1.0.0
*/

.custom-container{
    max-width: 1700px;
    padding: 0 24px;
    margin: 0 auto;
}
/* Featured Gallery Carousel */
.featured-gallery-carousel {
    margin: 0 auto 40px;
    position: relative;
}
.featured-gallery-slide {
    max-height: 600px;
    height: 100%;
    overflow: hidden;
    background: #000;
}
.featured-gallery-slide img {
    width: 100%;
    height: 100%;
    max-height: 600px;
    object-fit: contain;
    object-position: center;
}
.featured-gallery-slide a {
    display: flex;
    width: 100%;
    height: 100%;
    text-decoration: none;
    position: relative;
}
.featured-gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
}
.featured-gallery-info {
    color: #fff;
    text-align: left;
}
.featured-gallery-info h2 {
    margin: 0;
    font-size: 1.8em;
}
.featured-gallery-info .event-date {
    font-size: 1em;
    margin-top: 5px;
}
.swiper-button-prev, .swiper-button-next {
    color: #fff;
    width: 40px;
    height: 40px;
    margin-top: -20px;
}
.swiper-button-prev {
    left: 10px;
}
.swiper-button-next {
    right: 10px;
}
.swiper-pagination-bullet-active {
    background: #fff;
}
.swiper-container {
    overflow: hidden;
}

/* Gallery Grid */
.gallery-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1700px;
    padding: 0 24px;
    margin: 0 auto;
}
.gallery-card {
    flex: 1 1 calc(100% / 3 - 20px);
    box-sizing: border-box;
    border: 1px solid #ddd;
    text-align: center;
}
.gallery-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}
.gallery-card img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}
.gallery-card-info {
    padding: 10px;
}
.gallery-card-info h3 {
    margin: 10px 0 5px;
    font-size: 1.2em;
}
.gallery-card-info .event-date {
    font-size: 0.9em;
    color: #555;
}

/* Search and Filter */
.gallery-filter {
    max-width: 1700px;
    padding: 0 24px;
    margin: 0 auto 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}
.gallery-filter form {
    display: flex;
    gap: 10px;
}
.gallery-filter input[type="text"],
.gallery-filter select {
    padding: 8px;
    font-size: 1em;
}
.gallery-filter input[type="submit"] {
    padding: 8px 16px;
    background: #0073aa;
    color: #fff;
    border: none;
    cursor: pointer;
}
.gallery-filter input[type="submit"]:hover {
    background: #005177;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .gallery-card {
        flex: 1 1 calc(100% / 2 - 20px);
    }
    .featured-gallery-slide {
        max-height: 400px;
    }
    .featured-gallery-slide img {
        max-height: 400px;
    }
}
@media (max-width: 480px) {
    .gallery-card {
        flex: 1 1 100%;
    }
    .featured-gallery-slide {
        max-height: 300px;
    }
    .featured-gallery-slide img {
        max-height: 300px;
    }
}








.publication-download-section {
    margin: 20px 0;
    padding: 20px;
    background-color: #f2f2f2;
    border-radius: 8px;
    border-left: 4px solid #BB945B;
}

.publication-download-btn {
    display: inline-block;
    background-color: #BB945B;
    color: white !important;
    padding: 15px 36px;
    text-decoration: none !important;
    border-radius: 6px;
    font-size: 15px;
    transition: background-color 0.3s ease;
    line-height: 1.6;
}

.publication-download-btn:hover {
    background-color: #9B8469;
    color: white !important;
}

/* Focus styles for keyboard navigation */
.publication-download-btn:focus {
    background-color: #BB945B;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .publication-download-btn {
        border: 2px solid currentColor;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .publication-download-btn {
        transition: none;
    }
}

.button-text {
    vertical-align: middle;
}

/* Screen reader only text for additional context */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

