/*
Theme Name: ArtsTrail on 21
Theme URI: https://artsTrailon21.ie
Template: twentytwentyfive
Author: ArtsTrail on 21
Description: Child theme for ArtsTrail on 21 website, built on Twenty Twenty-Five. Features a brand colour palette of teals, warm oranges, and forest greens, with Fjalla One display headings and Source Sans Pro for body text.
Requires at least: 6.7
Tested up to: 6.9
Requires PHP: 7.2
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: artstrail-on-21
Tags: one-column, custom-colors, full-site-editing, block-patterns, accessibility-ready
*/

.is-style-outline .wp-element-button:hover {
    background-color: var(--wp--preset--color--yellow) !important;
    color: var(--wp--preset--color--navy) !important;
    border-color: var(--wp--preset--color--yellow) !important;
}

/* Home page */
.wave-home, .about-wave {
    position: relative;
    height: 110px;
    background-image: url(/wp-content/uploads/2026/03/wave-home.png);
    background-size: auto 100%;
    background-position: center top;
    background-repeat: repeat-x;
    margin: 60px 0px;
}
.about-wave { 
    background-image: url(/wp-content/uploads/2026/03/about-wave.png);
}
.wave-banner { padding: 40px 0px; }
@media screen and (max-width: 1180px) {
    .wave-home, .about-wave {
        background-size: 310% auto;
    }
}
@media screen and (max-width: 760px) {
    .wave-banner { display: none; }
}

/* Responsive Menu Pro */
.rmp-container {
    background-color: var(--wp--preset--color--teal-dark) !important;
}
.rmp-menu-item-link {
    font-size:30px !important;
    font-family: var(--wp--preset--font-family--source-sans-pro) !important;
    line-height:1.9em !important;
    height: auto !important;
}
.rmp-menu-item-link:hover {
    color: var(--wp--preset--color--yellow) !important;
}
.rmp-menu-wrap {
    padding-top:100px !important;
    padding-bottom:100px !important;
}

/* Footer Social Icons */
.at-icon {
    color: var(--wp--preset--color--yellow) !important;
    font-size:40px;
    display:block !important;
    margin-bottom:0px;
}
@media screen and (max-width: 780px) {
    .at-icon {
        display:inline-block !important;
        margin-right:20px;
    }
}

/* Footer Navigation */
@media screen and (max-width: 1100px) {
    .footer-nav-wrapper {
        display: flex !important;
        flex-wrap: wrap !important;
    }
    .footer-nav-wrapper > div.wp-block-column:nth-child(2),
    .footer-nav-wrapper > div.wp-block-column:nth-child(3) {
        flex: 0 0 30% !important;
        flex-basis: 30% !important;
    }
    .footer-nav-wrapper > div.wp-block-column:nth-child(4) {
        flex: 0 0 25% !important;
        flex-basis: 25% !important;
    }
    .footer-nav-wrapper > div.wp-block-column:first-child {
        flex: 0 0 100% !important;
    }
}
@media screen and (max-width: 790px) {
    .footer-nav-wrapper > div.wp-block-column:nth-child(2),
    .footer-nav-wrapper > div.wp-block-column:nth-child(3),
    .footer-nav-wrapper > div.wp-block-column:nth-child(4) {
        flex: 0 0 46% !important;
        flex-basis: 46% !important;
    }
}
@media screen and (max-width: 560px) {
    .footer-nav-wrapper > div.wp-block-column:nth-child(2),
    .footer-nav-wrapper > div.wp-block-column:nth-child(3),
    .footer-nav-wrapper > div.wp-block-column:nth-child(4) {
        flex: 0 0 100% !important;
        flex-basis: 100% !important;
        padding-top:25px;
    }
    .footer-nav-wrapper > div.wp-block-column:nth-child(4) {
        padding-bottom:25px;
    }
}

/* Footer banner */
.footer-banner-wrapper { padding:0px !important; }
.footer-banner {
    background-image: url(/wp-content/uploads/2026/03/footer-water.png);
    background-position: center bottom;
    background-repeat: repeat-x;
    background-size: auto 394px ;
    position: relative;
    height: 625px;
}
.footer-banner .footer-boat {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 497px;
    background-image: url(/wp-content/uploads/2026/03/footer-boats.png);
    background-size: auto 497px ;
    background-position: center bottom;
    background-repeat: no-repeat;
    z-index: 1;
}
.footer-banner .footer-wave {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 400px;
    background-image: url(/wp-content/uploads/2026/03/footer-wave.png);
    background-size: auto 33%;
    background-position: center top;
    background-repeat: repeat-x;
    z-index: 0;
}
@media screen and (max-width: 1180px) {
    .footer-banner {
        height: 525px;
    }
    .footer-banner .footer-boat {
        bottom: 48px;
        background-size: auto 390px;
    }
    .footer-banner .footer-wave {
        background-size: 310% auto;
    }
}
@media screen and (max-width: 760px) {
    .footer-banner {
        height: 400px;
    }
    .footer-banner .footer-wave {
        display: none;
    }
}
@media screen and (max-width: 640px) {
    .footer-banner .footer-boat {
        bottom: 92px;
        background-size: auto 300px;
    }
}


.footer-copyright {
    padding:0 0px;
}
@media screen and (max-width: 640px) {
    .footer-copyright p {
        display:block;
        width:100%;
    }
}

/* Image Gallery Shortcode [at_gallery] */
.at-gallery-wrap {
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 15px 0;
}
.at-gallery-row {
    overflow: hidden;
}
.at-gallery-row-inner {
    display: flex;
    gap: 15px;
    width: max-content;
    will-change: transform;
    animation: at-gallery-scroll var(--at-speed, 40s) linear infinite;
}
.at-gallery-row:nth-child(2) .at-gallery-row-inner {
    animation-delay: calc(var(--at-speed, 40s) * -0.25);
}
.at-gallery-item {
    width: 250px;
    height: 250px;
    border-radius: 20px;
    background-color: #cccccc;
    overflow: hidden;
    flex-shrink: 0;
}
.at-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
@keyframes at-gallery-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}