@import url("https://fonts.googleapis.com/css2?family=Merriweather+Sans:wght@400;700;800&family=Open+Sans:wght@400;600;700&display=swap");

:root {
    --tadl-primary: #49688e;
    --tadl-primary-dark: #0b2f57;
    --tadl-green: #4b810b;
    --tadl-ink: #333333;
    --tadl-muted: #666666;
    --tadl-border: #d7dfe7;
    --tadl-surface: rgba(255, 255, 255, 0.95);
    --tadl-shadow: 0 18px 42px rgba(11, 47, 87, 0.14);
}

html {
    background: #dfe8ec;
    min-height: 0;
}

body {
    font-family: "Open Sans", Arial, sans-serif;
    color: var(--tadl-ink);
    background: #dfe8ec url("../graphics/content-bg.jpg") center top / cover fixed no-repeat;
    margin-bottom: 0 !important;
    font-size: 16px;
    line-height: 1.6;
}

a,
a:hover,
a:focus {
    color: var(--tadl-primary);
}

h1, h2, h3, h4, h5, h6,
.nav > li > a,
.navbar-brand,
label {
    font-family: "Merriweather Sans", "Open Sans", Arial, sans-serif;
}

h1,
.front .tadl-hero-title {
    font-size: 2.4rem;
    line-height: 1.08;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

h2 {
    font-size: 1.7rem;
    line-height: 1.2;
}

.tadl-header {
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16);
    z-index: 20;
}

.tadl-brandband {
    background:
        linear-gradient(rgba(11, 47, 87, 0.34), rgba(73, 104, 142, 0.34)),
        url("../graphics/header-bg.jpg") center center / cover no-repeat;
}

.tadl-brandband .container,
.tadl-main-nav .container {
    width: auto;
    max-width: 1680px;
    padding-left: 40px;
    padding-right: 40px;
}

.tadl-brandband-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 96px;
    min-height: 138px;
    padding-top: 18px;
    padding-bottom: 18px;
}

.tadl-branding {
    float: none;
    display: flex;
    align-items: center;
    flex: 0 1 auto;
}

.tadl-logo-link {
    display: inline-flex;
    flex-direction: column;
    gap: 10px;
    height: auto;
    padding: 0;
    margin: 0;
    width: auto !important;
    max-width: none;
}

.tadl-logo-link img {
    display: block;
    width: 342px;
    max-width: 100%;
    height: auto;
}

.tadl-tagline {
    display: inline-block;
    color: rgba(255, 255, 255, 0.9);
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 19px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    white-space: nowrap;
}

.tadl-header-search {
    width: min(460px, 34vw);
    margin-left: auto;
    flex: 0 0 auto;
}

.tadl-search-form {
    display: flex;
    align-items: stretch;
    width: 100%;
    border-radius: 4px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(11, 47, 87, 0.22);
    box-shadow: 0 10px 25px rgba(4, 31, 42, 0.12);
}

.tadl-search-form .form-control {
    height: 42px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    font-size: 14px;
    padding: 0 14px;
}

.tadl-search-form .form-control:focus {
    box-shadow: none;
}

.tadl-search-button {
    width: 46px;
    border: 0;
    background: var(--tadl-primary);
    color: #fff;
    font-size: 16px;
    transition: background 0.2s ease, color 0.2s ease;
}

.tadl-search-button:hover,
.tadl-search-button:focus {
    background: var(--tadl-primary-dark);
    color: #fff;
}

.tadl-accent-bar {
    height: 8px;
    background: var(--tadl-green);
}

.tadl-main-nav.navbar {
    min-height: 0;
    margin-bottom: 28px;
    background: rgba(255, 255, 255, 0.98);
    border: 0;
    box-shadow: 0 8px 22px rgba(14, 40, 52, 0.08);
}

.tadl-main-nav .navbar-collapse {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.tadl-menu-items {
    float: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin: 0 auto;
}

.tadl-menu-items > li > a {
    padding: 18px 13px;
    font-size: 18px;
    font-weight: 700;
    font-family: "Merriweather Sans", "Open Sans", Arial, sans-serif;
    line-height: 1.2;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.tadl-menu-items > li > a:hover,
.tadl-menu-items > li > a:focus,
.tadl-menu-items > li > a:active,
.tadl-main-nav .tadl-menu-items > li > a:hover,
.tadl-main-nav .tadl-menu-items > li > a:focus,
.tadl-main-nav .tadl-menu-items > li > a:active,
.tadl-main-nav .tadl-menu-items > li.dropdown > a,
.tadl-main-nav .tadl-menu-items > li.dropdown > a:hover,
.tadl-main-nav .tadl-menu-items > li.dropdown > a:focus,
.tadl-main-nav .tadl-menu-items > li.dropdown > a:active,
.tadl-main-nav .nav > li > a,
.tadl-main-nav .nav > li > a:hover,
.tadl-main-nav .nav > li > a:focus,
.tadl-main-nav .nav > li > a:active,
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus,
.navbar-default .navbar-nav > li > a:active {
    color: #111111 !important;
    background-color: transparent !important;
    font-size: inherit !important;
    font-weight: 700 !important;
    font-family: "Merriweather Sans", "Open Sans", Arial, sans-serif !important;
    line-height: 1.2 !important;
    text-decoration: none !important;
    text-shadow: none !important;
    opacity: 1 !important;
}

.tadl-user-nav > a {
    padding-left: 14px !important;
    padding-right: 8px !important;
}

.navbar .navbar-nav > .active > a,
.navbar-default .navbar-nav > .open > a,
.navbar-default .navbar-nav > .open > a:hover,
.navbar-default .navbar-nav > .open > a:focus,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
    background-color: #eef2f6;
    color: var(--tadl-primary-dark);
}

.tadl-content-shell {
    margin-bottom: 54px;
    max-width: 1600px;
}

#pageArea {
    background: var(--tadl-surface);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: var(--tadl-shadow);
    padding: 34px 36px 42px;
}

.front #pageArea {
    padding: 0 0 42px;
    overflow: hidden;
}

.front .tadl-hero-slider {
    margin-left: -24px;
    margin-right: -24px;
    margin-top: -34px;
    margin-bottom: 28px;
    position: relative;
}

.front .tadl-hero-slides {
    position: relative;
}

.front .tadl-hero-slide {
    display: none;
    position: relative;
}

.front .tadl-hero-slide.is-active {
    display: block;
}

.front .tadl-hero-image {
    height: clamp(320px, 42vw, 560px);
    overflow: hidden;
    background: #d7dee6;
}

.front .tadl-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.front .tadl-hero-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 54px;
    height: 54px;
    border: 0;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.36);
    color: #fff;
    font-size: 40px;
    line-height: 1;
    transition: background 0.2s ease;
}

.front .tadl-hero-control:hover,
.front .tadl-hero-control:focus {
    background: rgba(0, 0, 0, 0.56);
}

.front .tadl-hero-control-prev {
    left: 20px;
}

.front .tadl-hero-control-next {
    right: 20px;
}

.front .tadl-hero-caption {
    position: absolute;
    left: 28px;
    bottom: 20px;
    max-width: min(70%, 720px);
    padding: 10px 14px;
    background: rgba(0, 0, 0, 0.74);
    color: #fff;
    font-size: 24px;
    line-height: 1.4;
    border-radius: 4px;
    text-shadow: none;
}

.tadl-front-copy {
    padding: 38px 38px 10px;
}

.tadl-front-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
    gap: 24px;
    align-items: start;
}

.tadl-panel {
    background: #fff;
    border: 1px solid var(--tadl-border);
    box-shadow: 0 14px 30px rgba(15, 37, 48, 0.08);
    padding: 26px 28px;
    border-radius: 4px;
}

.tadl-eyebrow {
    margin: 0 0 10px;
    color: var(--tadl-green);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
}

.tadl-hero-title {
    margin: 0 0 16px;
    color: #14323d;
}

.tadl-lead {
    margin: 0;
    color: var(--tadl-muted);
    font-size: 18px;
    line-height: 1.72;
}

.tadl-quicklinks {
    display: grid;
    gap: 14px;
}

.tadl-quicklink {
    display: block;
    border: 1px solid var(--tadl-border);
    border-left: 6px solid var(--tadl-green);
    background: #fff;
    color: var(--tadl-primary-dark);
    padding: 16px 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-radius: 4px;
}

.tadl-quicklink:hover,
.tadl-quicklink:focus {
    background: #f4f7fa;
    color: var(--tadl-primary);
}

.tadl-quicklink small {
    display: block;
    margin-top: 6px;
    color: var(--tadl-muted);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: normal;
    text-transform: none;
}

#footer {
    background:
        linear-gradient(rgba(11, 47, 87, 0.42), rgba(73, 104, 142, 0.42)),
        url("../graphics/header-bg.jpg") center center / cover no-repeat;
    color: rgba(255, 255, 255, 0.94);
    margin-top: 48px;
    padding: 44px 0 28px;
    position: static !important;
    bottom: auto !important;
    height: auto !important;
    width: auto;
    border-top: 0;
}

.tadl-footer-shell {
    width: min(1460px, calc(100% - 96px));
    max-width: none !important;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0 !important;
    padding-right: 0 !important;
    background: transparent;
}

.tadl-footer-inner {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.tadl-footer-logo {
    display: inline-block;
    margin-bottom: 16px;
}

.tadl-footer-logo img {
    width: min(220px, 100%);
    height: auto;
}

.tadl-footer-title {
    margin: 0 0 14px;
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

#footer a,
#footer a:hover,
#footer a:focus {
    color: #ffffff;
    font-size: 16px;
    text-decoration: underline;
    text-underline-offset: 0.14em;
}

#footer a:hover,
#footer a:focus {
    color: #ffffff;
    text-decoration-thickness: 2px;
}

#footer .tadl-footer-links a,
#footer .tadl-footer-links a:visited,
#footer .tadl-footer-links a:hover,
#footer .tadl-footer-links a:focus,
#footer .tadl-footer-bottom a,
#footer .tadl-footer-bottom a:visited,
#footer .tadl-footer-bottom a:hover,
#footer .tadl-footer-bottom a:focus,
#footer ul a,
#footer ul a:visited,
#footer ul a:hover,
#footer ul a:focus {
    color: #ffffff !important;
}

.tadl-footer-links,
.tadl-footer-links li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tadl-footer-links li + li {
    margin-top: 10px;
}

.tadl-footer-bottom {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
}

#footer p,
#footer li,
#footer small {
    color: rgba(255, 255, 255, 0.94);
    font-size: 16px;
    line-height: 1.75;
}

.tadl-footer-bottom ul {
    margin-bottom: 0;
}

.detail,
.search,
.browse,
.collections,
.gallery,
.contact,
.about {
    min-height: 420px;
}

@media (max-width: 991px) {
    .tadl-brandband-inner {
        flex-direction: column;
        align-items: center;
        min-height: 0;
        gap: 14px;
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .tadl-branding {
        width: 100%;
        justify-content: center;
        position: relative;
    }

    .tadl-header-search {
        width: min(360px, 100%);
    }

    .tadl-front-grid,
    .tadl-footer-inner {
        grid-template-columns: 1fr;
    }

    .tadl-footer-shell {
        width: calc(100% - 56px);
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .tadl-brandband-inner {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 14px;
        min-height: 0;
        padding-top: 14px;
        padding-bottom: 14px;
    }

    .tadl-branding {
        width: 100%;
        justify-content: center;
    }

    .tadl-header-search {
        width: min(520px, 62vw);
        margin-left: 0;
    }

    .tadl-menu-items {
        gap: 0;
    }

    .tadl-menu-items > li > a {
        padding: 14px 8px;
        font-size: 14px;
        font-weight: 700;
        letter-spacing: 0.02em;
    }
}

@media (max-width: 767px) {
    .tadl-main-nav {
        margin-bottom: 18px;
    }

    .tadl-main-nav .navbar-collapse {
        display: none !important;
        justify-content: flex-start;
        padding-bottom: 10px;
    }

    .tadl-main-nav .navbar-collapse.in,
    .tadl-main-nav .navbar-collapse.collapsing {
        display: block !important;
    }

    .navbar-toggle {
        margin-top: 0;
        margin-bottom: 0;
        background: rgba(255, 255, 255, 0.95);
        border: 0;
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
    }

    .navbar-toggle .icon-bar {
        background: var(--tadl-primary-dark);
    }

    .tadl-logo-link img {
        width: min(290px, 68vw);
    }

    .tadl-tagline {
        font-size: 15px;
        letter-spacing: 0.1em;
    }

    .tadl-brandband-inner {
        gap: 8px;
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .tadl-header-search {
        display: none;
    }

    .tadl-menu-items {
        display: block;
        margin: 0;
        float: none !important;
    }

    .tadl-menu-items > li > a {
        padding: 12px 0;
        font-size: 16px;
    }

    #pageArea {
        padding: 22px 20px 28px;
    }

    .front #pageArea {
        padding-bottom: 28px;
    }

    .front .tadl-hero-slider {
        margin-left: -20px;
        margin-right: -20px;
        margin-top: -22px;
    }

    .tadl-front-copy {
        padding: 28px 20px 0;
    }

    .front .tadl-hero-caption {
        left: 16px;
        right: 16px;
        bottom: 14px;
        max-width: none;
        font-size: 18px;
        line-height: 1.3;
        padding: 10px 12px;
    }

    .tadl-footer-shell {
        width: calc(100% - 40px);
    }
}
