/* =========================================================
   TWIMO
   GLOBAL
========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background: #f7f5f0;
    color: #222;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}


/* =========================================================
   HEADER
========================================================= */

.twimo-header {
    position: relative;
    width: 100%;
    background: #000;
    border-bottom: 1px solid #e8e5df;
    z-index: 100;
}

.twimo-header-inner {
    width: min(1200px, calc(100% - 40px));
    min-height: 82px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.twimo-logo img {
    display: block;
    max-height: 55px;
    width: auto;
}

.twimo-logo a {
    font-size: 25px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.twimo-desktop-menu {
    display: flex;
    align-items: center;
}

.twimo-menu {
    display: flex;
    align-items: center;
    gap: 28px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.twimo-menu li {
    margin: 0;
    padding: 0;
}

.twimo-menu a {
    display: block;

    font-size: 14px;
    font-weight: 600;
    color: #222;

    transition:
        color .25s ease,
        opacity .25s ease;
}

.twimo-menu a:hover {
    color: #777;
}

/* =========================================================
   TWIMO HEADER
========================================================= */

.twimo-header {
    width: 100%;
    background: #000;
    position: relative;
    z-index: 9999;
    border-bottom: 1px solid rgba(0,0,0,.08);
}

.twimo-header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 18px 35px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}


/* =========================================================
   LOGO
========================================================= */

.twimo-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.twimo-logo a {
    display: inline-flex;
    align-items: center;

    text-decoration: none;
    color: #fff;

    font-size: 22px;
    font-weight: 700;
    letter-spacing: .04em;
}

.twimo-logo img {
    display: block;
    max-width: 100%;
    height: auto;
}


/* WordPress custom logo */

.twimo-logo .custom-logo-link {
    display: flex;
    align-items: center;
}

.twimo-logo .custom-logo {
    max-width: 100%;
    height: auto;
}


/* =========================================================
   DESKTOP MENU
========================================================= */

.twimo-desktop-menu {
    display: flex;
    align-items: center;
}

.twimo-menu {
    margin: 0;
    padding: 0;

    list-style: none;

    display: flex;
    align-items: center;
    gap: 32px;
}

.twimo-menu li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.twimo-menu a {
    display: inline-block;

    color: #fff;
    text-decoration: none;

    font-size: 14px;
    font-weight: 500;

    transition:
        color .25s ease,
        opacity .25s ease;
}

.twimo-menu a:hover {
    color: #777;
}


/* =========================================================
   MOBILE BUTTON
========================================================= */

.twimo-mobile-toggle {
    display: none;

    width: 44px;
    height: 44px;

    padding: 9px;

    border: 0;
    background: transparent;

    cursor: pointer;

    flex-direction: column;
    justify-content: center;
    align-items: center;

    gap: 5px;
}

.twimo-mobile-toggle span {
    display: block;

    width: 25px;
    height: 2px;

    background: #111;

    transition:
        transform .3s ease,
        opacity .3s ease;
}


/* =========================================================
   MOBILE MENU
========================================================= */

.twimo-mobile-menu {
    display: none;

    width: 100%;

    background: #fff;

    border-top: 1px solid rgba(0,0,0,.06);

    padding: 15px 25px 25px;
}

.twimo-mobile-nav {
    margin: 0;
    padding: 0;

    list-style: none;
}

.twimo-mobile-nav li {
    margin: 0;
    padding: 0;

    list-style: none;

    border-bottom: 1px solid rgba(0,0,0,.08);
}

.twimo-mobile-nav li:last-child {
    border-bottom: 0;
}

.twimo-mobile-nav a {
    display: block;

    padding: 14px 0;

    color: #111;

    text-decoration: none;

    font-size: 15px;
    font-weight: 500;
}


/* =========================================================
   MOBILE MENU OPEN
========================================================= */

.twimo-header.mobile-open .twimo-mobile-menu {
    display: block;
}


/* Hamburger → X */

.twimo-header.mobile-open
.twimo-mobile-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.twimo-header.mobile-open
.twimo-mobile-toggle span:nth-child(2) {
    opacity: 0;
}

.twimo-header.mobile-open
.twimo-mobile-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .twimo-header-inner {
        padding: 16px 25px;
    }

    .twimo-menu {
        gap: 20px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .twimo-header-inner {
        padding: 14px 18px;
    }

    .twimo-desktop-menu {
        display: none;
    }

    .twimo-mobile-toggle {
        display: flex;
    }

    .twimo-logo a {
        font-size: 20px;
    }

    .twimo-logo img,
    .twimo-logo .custom-logo {
        max-width: 145px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

    .twimo-header-inner {
        padding: 12px 15px;
    }

    .twimo-logo a {
        font-size: 18px;
    }

    .twimo-logo img,
    .twimo-logo .custom-logo {
        max-width: 125px;
    }

}
/* =========================================================
   NORMAL PAGE
========================================================= */

main {
    width: 100%;
}

main > article {
    width: 100%;
}

main > article > h1 {
    width: min(1200px, calc(100% - 40px));
    margin: 60px auto 30px;

    font-size: clamp(32px, 5vw, 58px);
    line-height: 1.05;
    font-weight: 700;
}


/* =========================================================
   LOCATION TREE
========================================================= */

.ada-location-tree {
    width: min(1200px, calc(100% - 40px));
    margin: 40px auto 80px;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 45px 30px;
}


/* =========================================================
   LOCATION CARD
========================================================= */

.ada-location-card {
    position: relative;

    display: block;
    width: 100%;

    padding: 0;
    margin: 0;

    border: 0;
    background: transparent;

    color: inherit;
    text-align: left;

    cursor: pointer;

    appearance: none;
    -webkit-appearance: none;

    transition:
        transform .35s ease,
        filter .35s ease;
}

.ada-location-card:hover {
    transform: translateY(-8px);
}


/* =========================================================
   POLAROID CARD
========================================================= */

.ada-polaroid {
    position: relative;

    width: 100%;

    padding: 14px 14px 22px;

    background: #fff;

    border: 1px solid #e6e2db;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, .08);

    transition:
        box-shadow .35s ease,
        transform .35s ease;
}

.ada-location-card:hover .ada-polaroid {
    box-shadow:
        0 18px 45px rgba(0, 0, 0, .14);
}


/* =========================================================
   CARD IMAGE
========================================================= */

.ada-card-image {
    position: relative;

    width: 100%;
    aspect-ratio: 4 / 3;

    overflow: hidden;

    background: #eae7e1;
}

.ada-card-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform .6s ease;
}

.ada-location-card:hover .ada-card-image img {
    transform: scale(1.05);
}

.ada-no-image {
    display: flex;
    align-items: center;
    justify-content: center;

    color: #888;

    font-size: 14px;
}


/* =========================================================
   CARD TITLE
========================================================= */

.ada-card-title {
    margin-top: 17px;

    font-size: 20px;
    line-height: 1.25;
    font-weight: 700;

    color: #222;
}


/* =========================================================
   PHOTO COUNT
========================================================= */

.ada-card-photo-count {
    margin-top: 6px;

    font-size: 13px;
    line-height: 1.4;

    color: #777;
}


/* =========================================================
   HIDDEN GALLERY
========================================================= */

.ada-location-hidden-gallery {
    display: none !important;
}


/* =========================================================
   SINGLE LOCATION PAGE
========================================================= */

.ada-single-location {
    width: 100%;
}


/* =========================================================
   SINGLE BANNER
========================================================= */

.ada-single-banner {
    position: relative;

    width: 100%;
    height: min(650px, 70vh);

    min-height: 420px;

    overflow: hidden;

    background: #222;
}

.ada-single-banner > img {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

.ada-single-banner-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, .05),
            rgba(0, 0, 0, .65)
        );
}

.ada-single-banner-content {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    width: min(1200px, calc(100% - 40px));

    margin: 0 auto;
    padding: 70px 0 55px;

    z-index: 2;
}

.ada-single-banner-content h1 {
    margin: 0;

    max-width: 900px;

    color: #fff;

    font-size: clamp(38px, 6vw, 82px);
    line-height: .98;
    font-weight: 700;

    letter-spacing: -2px;
}


/* =========================================================
   SINGLE CONTENT
========================================================= */

.ada-single-content {
    width: min(1000px, calc(100% - 40px));

    margin: 0 auto;

    padding: 75px 0 100px;
}

.ada-single-text {
    max-width: 850px;

    margin: 0 auto;

    font-size: 18px;
    line-height: 1.8;
}

.ada-single-text p {
    margin-top: 0;
    margin-bottom: 24px;
}

.ada-single-text img {
    display: block;

    max-width: 100%;
    height: auto;

    margin: 30px auto;
}


/* =========================================================
   CHILD LOCATIONS
========================================================= */

.ada-single-children {
    margin-top: 80px;
}

.ada-single-divider {
    width: 100%;
    height: 1px;

    margin-bottom: 45px;

    background: #ddd8cf;
}

.ada-single-children h2 {
    margin: 0 0 35px;

    font-size: 32px;
    line-height: 1.2;
}


/*
   Override the main tree width/grid
   when it appears inside a single location page.
*/

.ada-single-location-tree {
    width: 100%;
    margin: 0;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));
}


/* =========================================================
   SINGLE PAGE — GALLERY
========================================================= */

.ada-single-gallery {
    margin-top: 80px;
}

.ada-single-gallery h2 {
    margin: 0 0 30px;

    font-size: 32px;
}

.ada-single-gallery-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 20px;
}

.ada-single-gallery-grid a {
    display: block;

    overflow: hidden;

    background: #eee;
}

.ada-single-gallery-grid img {
    display: block;

    width: 100%;
    aspect-ratio: 4 / 3;

    object-fit: cover;

    transition:
        transform .5s ease;
}

.ada-single-gallery-grid a:hover img {
    transform: scale(1.05);
}


/* =========================================================
   FOOTER
========================================================= */

.twimo-footer {
    width: 100%;

    padding: 50px 20px;

    background: #222;
    color: #fff;

    text-align: center;
}

.twimo-footer-inner {
    width: min(1200px, 100%);
    margin: 0 auto;
}


/* =========================================================
   FANCYBOX
========================================================= */

.fancybox__container {
    z-index: 999999;
}

.fancybox__content {
    max-width: 95vw;
    max-height: 90vh;
}

.fancybox__content img {
    max-width: 95vw;
    max-height: 85vh;

    object-fit: contain;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .ada-location-tree {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 30px 22px;
    }

    .ada-single-location-tree {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .ada-single-banner {
        height: 55vh;
        min-height: 380px;
    }

    .ada-single-banner-content {
        padding-bottom: 40px;
    }

    .ada-single-content {
        padding-top: 55px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 650px) {

    .twimo-header-inner {
        width: calc(100% - 30px);

        min-height: 70px;

        gap: 15px;
    }

    .twimo-logo a {
        font-size: 21px;
    }

    .twimo-menu {
        gap: 15px;
    }

    .twimo-menu a {
        font-size: 12px;
    }


    main > article > h1 {
        width: calc(100% - 30px);

        margin-top: 40px;
        margin-bottom: 25px;

        font-size: 38px;
    }


    .ada-location-tree {
        width: calc(100% - 30px);

        grid-template-columns:
            1fr;

        gap: 30px;

        margin-top: 30px;
        margin-bottom: 60px;
    }


    .ada-single-location-tree {
        width: 100%;

        grid-template-columns:
            1fr;
    }


    .ada-polaroid {
        padding: 10px 10px 18px;
    }


    .ada-card-title {
        font-size: 19px;
    }


    .ada-single-banner {
        height: 58vh;
        min-height: 350px;
    }


    .ada-single-banner-content {
        width: calc(100% - 30px);

        padding-bottom: 30px;
    }


    .ada-single-banner-content h1 {
        font-size: 43px;
        letter-spacing: -1px;
    }


    .ada-single-content {
        width: calc(100% - 30px);

        padding: 45px 0 70px;
    }


    .ada-single-text {
        font-size: 16px;
        line-height: 1.7;
    }


    .ada-single-children {
        margin-top: 55px;
    }


    .ada-single-children h2 {
        font-size: 28px;
    }


    .ada-single-gallery-grid {
        grid-template-columns:
            1fr 1fr;

        gap: 10px;
    }

}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

    .twimo-header-inner {
        flex-direction: column;
        align-items: flex-start;

        padding: 15px 0;
    }

    .twimo-menu {
        flex-wrap: wrap;
    }

    .ada-single-banner {
        min-height: 300px;
    }

    .ada-single-banner-content h1 {
        font-size: 35px;
    }

}