/* External Resources */
@import url('https://fonts.googleapis.com/css?family=Roboto|Roboto+Condensed|Merriweather&display=swap');
/* Reset Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* Form controls do not inherit the page font, so buttons and inputs fell
   back to the browser default (Arial) instead of Roboto. */
button,
input,
select,
textarea {
    font-family: inherit;
}
/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Merriweather', serif;
    color: #444;
    text-align: center;
    margin: 10px 0;
}
/* Layout */
body {
    display: grid;
    /* minmax(0,1fr), not a bare 1fr: a bare 1fr column takes min-content as its
       automatic minimum, so one over-wide descendant (a third-party widget iframe,
       a long unbreakable string) stretches the whole grid - header, main and footer
       with it - and every centred container jumps sideways as you scroll. */
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto 1fr auto;
    min-height: 100vh;
    font-family: 'Roboto', sans-serif;
}
.site-header {
    background: #333;
    color: #fff;
    line-height: 50px;
    font-family: 'Roboto Condensed', sans-serif;
    min-height: 50px;
    z-index: 100;
}
.site-header.fixed-header {
    position: sticky;
    top: 0;
}
main {
    background: #eee;
}
/* Footer Styles - Aligned with tour cards */
footer {
    width: 100%;
    background: #2b6cb0;
    margin-top: auto;
}

footer .footer-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 40px 1rem 0 1rem;
    max-width: 1200px; /* Same as tour cards */
    margin: 0 auto;
    gap: 2rem; /* Same gap as tour cards */
}

/* Three equal columns - matching card width */
footer .footer-col {
    flex: 1;
    min-width: 250px; /* Similar to min-width of tour cards */
    padding: 0;
}

footer .footer-col h4 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700; /* Match tour card title weight */
    margin-bottom: 15px;
    text-align: left;
    font-family: 'Merriweather', serif;
}

footer .footer-col .footer-description {
    color: #fff;
    line-height: 1.5;
}

footer .footer-col .links {
    list-style: none;
    padding: 0;
}

footer .footer-col .links li {
    margin-bottom: 0.75rem; /* Similar spacing to tour cards */
}

footer .footer-col .links li a {
    text-decoration: none;
    color: #fff;
    font-size: 0.95rem; /* Slightly larger to match tour cards */
    transition: color 0.3s ease;
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
}

footer .footer-col .links li a:hover {
    color: #22ccff;
}

/* Social media icons styling */
footer .social-icons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

footer .social-icons a {
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    display: flex;
    align-items: center;
    gap: 10px;
}

footer .social-icons a:hover {
    color: #22ccff;
    transform: translateX(5px);
}

footer .social-icons i {
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
}

/* Social media specific colors on hover */
footer .social-icons a[href*="facebook"]:hover i {
    color: #1877F2;
}

footer .social-icons a[href*="twitter"]:hover i {
    color: #1DA1F2;
}

footer .social-icons a[href*="instagram"]:hover i {
    color: #E4405F;
}

footer .social-icons a[href*="youtube"]:hover i {
    color: #FF0000;
}

/* BOTTOM SECTION - Full width dark section */
.footer-bottom {
    text-align: center;
    padding: 10px 0;
    background: #444;
    margin-top: 40px;
    width: 100%;
}

.footer-bottom small {
    color: #ccc;
    font-family: 'Roboto Condensed', sans-serif;
}

/* Media Queries for Footer - Match tour cards breakpoints */
@media (max-width: 768px) {
    footer .footer-row {
        flex-direction: column;
        padding: 40px 0.75rem 0 0.75rem; /* Match mobile padding of tour cards */
        gap: 1.5rem; /* Match mobile gap of tour cards */
        max-width: 100%; /* Allow full width on mobile */
    }
    
    footer .footer-col {
        margin-bottom: 1.5rem;
        min-width: 100%;
        padding: 0;
    }
    
    footer .footer-col h4 {
        font-size: 1.1rem; /* Match mobile tour card title size */
    }
    
    footer .footer-col .links li a,
    footer .social-icons a {
        font-size: 0.9rem; /* Match mobile text size */
    }
    
    /* Main Content (Mob) - Consolidated media query */
    .container {
        width: 100%;
    }
}

/* Tour gallery Photo / Video tabs (shown only when the tour has gallery videos) */
.tour-gallery .gallery-tabs { display: flex; gap: .5rem; margin-bottom: .75rem; border-bottom: 2px solid #e5e5e5; }
.tour-gallery .gallery-tab { background: none; border: none; padding: .5rem 1.25rem; cursor: pointer; font-weight: 600; color: #666; border-bottom: 3px solid transparent; margin-bottom: -2px; font-family: inherit; font-size: .95rem; }
.tour-gallery .gallery-tab:hover { color: #2b6cb0; }
.tour-gallery .gallery-tab.active { color: #2b6cb0; border-color: #2b6cb0; }
.tour-gallery .gallery-video { margin-bottom: 1rem; }

/* Block-editor video embeds on the front end: fill the block (or, inside a
   multi-column row, the column) at a 16:9 ratio. Twitter/Maps handled below. */
.embed-block {
    margin: 1.5rem 0;
}
.embed-responsive {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 */
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}
.embed-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}
/* Twitter embeds don't need a fixed aspect ratio */
.embed-block[data-provider="Twitter"] .embed-responsive {
    padding-bottom: 0;
    height: auto;
    background: transparent;
}
.embed-block[data-provider="Twitter"] .embed-responsive iframe {
    position: relative;
    min-height: 250px;
}
/* Google Maps: 4:3 */
.embed-block[data-provider="Google Maps"] .embed-responsive {
    padding-bottom: 75%;
}

@media (max-width: 480px) {
    footer .footer-row {
        padding: 30px 0.75rem 0 0.75rem;
        gap: 1rem; /* Match smallest screen gap */
    }
}

/* Main Content */
.container {
    width: 80%;
    max-width: 1200px;
    margin: 0 auto;
}
/* Main Content */
.container {
    width: 80%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Media Queries */
@media all and (max-width:768px) {
    /* Main Content (Mob) */
    .container {
        width: 100%;
    }
}

/* Lists in tour and catalogue descriptions: markers inside the text column (client list 05.11, items 2-4) */
.tour-description-content ul,
.tour-description-content ol,
.catalogue-main-description ul,
.catalogue-main-description ol {
    padding-left: 1.4em;
    margin: 0 0 1em;
}
.tour-description-content ul, .catalogue-main-description ul { list-style: disc; }
.tour-description-content ol, .catalogue-main-description ol { list-style: decimal; }
.tour-description-content li, .catalogue-main-description li { display: list-item; }

/* Included / Not included rows: icon | bold label (keeps its width, max 45%) | text; italic and underline stay inline (client list 12.11, items 6-7) */
.included-list li > .li-label, .excluded-list li > .li-label { flex: 0 0 auto; max-width: 45%; }
.included-list li > .li-text, .excluded-list li > .li-text { flex: 1 1 auto; min-width: 0; }

/* ATI-71/1: editor text sizes (.fs-*) on every page with editor content,
   not only where blocks.css is loaded (tour pages lacked it). */
.post-content .fs-sm, .tour-description-content .fs-sm, .page-content .fs-sm { font-size: 0.85em; }
.post-content .fs-md, .tour-description-content .fs-md, .page-content .fs-md { font-size: 1em; }
.post-content .fs-lg, .tour-description-content .fs-lg, .page-content .fs-lg { font-size: 1.25em; }
.post-content .fs-xl, .tour-description-content .fs-xl, .page-content .fs-xl { font-size: 1.5em; }
.post-content .fs-xxl, .tour-description-content .fs-xxl, .page-content .fs-xxl { font-size: 2em; }


/* ATI-74 home subtitle: formatted text from the editor */
.section-subtitle p{margin:0 0 .4em}
.section-subtitle p:last-child{margin-bottom:0}
.section-subtitle ul,.section-subtitle ol{display:inline-block;text-align:left;margin:.3em 0 0;padding-left:1.4em}
.section-subtitle a{text-decoration:underline}


/* ATI-76 ad badge on image ads in tour grids */
.day-trips-card-ad-image-link .day-trips-card-image-container,.exclusive-tours-card-ad-image-link .exclusive-tours-card-image-container,.multiday-tours-card-ad-image-link .multiday-tours-card-image-container,.blog-card-ad-image-link .blog-card-image-container{position:relative}
.day-trips-card-ad-image-link .blog-ad-label,.exclusive-tours-card-ad-image-link .blog-ad-label,.multiday-tours-card-ad-image-link .blog-ad-label,.blog-card-ad-image-link .blog-ad-label{position:absolute;top:10px;left:10px;z-index:10;display:inline-block;background:#e53e3e;color:#fff;padding:2px 8px;border-radius:10px;font-size:10px;font-weight:600;line-height:1.3;letter-spacing:.02em;margin:0;text-decoration:none}
/* ATI-76 text ads: small badge too */
.day-trips-card-ad .blog-ad-label,.exclusive-tours-card-ad .blog-ad-label,.multiday-tours-card-ad .blog-ad-label,.blog-card-ad .blog-ad-label{font-size:10px !important;padding:2px 8px !important;line-height:1.3 !important;border-radius:10px !important}
