/* wlu-home css style*/

/*GLOBAL TAGS*/

:root {
    /* Laurier colors */
    --laurier-purple: #330072;
    --laurier-gold: #f2a900;
    --laurier-mauve: #924da7;
    --white: #fff;
    --black: #000;
    --drak-gray: #222;
    --medium-gray: #555;
    --light-gray: #f7f7f7;

    /* Borders */
    --border-light: #dedede;
    /* semi-transparent border */
    --border-muted: #eee;
    /* subtle dividers */
    --border-strong: #ccc;
    /* stronger contrast dividers */
    /* Border radius scale */
    --border-radius-xs: 2px;
    --border-radius-sm: 3px;
    --border-radius-md: 5px;
    --border-radius-lg: 8px;
    --hover-transition: all 150ms cubic-bezier(0.33, 1, 0.68, 1);    /* button hover transition */
}

body{
    font-family: "Tahoma", sans-serif;
}

div {
	display: block;
}

* {
	box-sizing: border-box;
}

h1, .h1 {
	font-size:3.0em;
}

h2, .h2 {
	font-size: 1.8rem;
}

h3, .h3 {
	font-size: 1.5rem;
}

h4, .h4 {
	font-size: 1.2em;
	margin-top: 10px;
	margin-bottom: 10px;
}

h5 {
	font-size: 1.16rem;
}

h6 {
	font-size: 1.08rem;
}

a {
	color:var(--laurier-purple);
	/* text-decoration: none; */
}

a:hover,
a:focus {
	color:var(--laurier-purple);
	text-decoration: underline;
}

/* #skip_links */

#skip_links, #skip_links .col-md-12 {
	height: 10px;
	padding:0;
	background: var(--white);
}

.skip_links--link:focus {
	background:var(--laurier-purple);
	color:var(--white);
	width:100%;
	display:block;
	padding:10px 40px;
	font-size:1.4em;
	text-transform: uppercase;
	font-weight:700;
}

img {
    max-width: 100%;
    height: auto
}

.block-heading>h2 {
    font-size: 1.8rem;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.block-heading>h3 {
    font-size: 1.5rem;
    margin-top: 1.2rem;
    margin-bottom: 1.2rem;
}

/***** site-header *****/

header>* {
    max-width: 100% !important;
}

/* remove border-bottom and margin-bottom */
header {
    border-bottom: none;
    margin-bottom: 0px;
}

.header-top-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

/* branding */
.top-navbar-container .navbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.top-navbar-links .btn-action {
	background-color: var(--white);
	color: var(--laurier-purple);
	border-radius: var(--border-radius-md);
	border: 1px solid var(--laurier-purple);
	display: inline-block;
	line-height: 1.4;
	margin: 15px 0 15px 0;
	padding: .75em 1.5em;
	text-decoration: none;
}

.top-navbar-links .btn-action:hover {
	background-color: var(--laurier-purple);
	color: var(--white);
	transition: var(--hover-transition);
}

@media (max-width: 767px) {
	.top-navbar-container .navbar {
		flex-direction: column;
		text-align: center;
	}

	.top-navbar {
		margin-left: 20%;
	}

	.top-navbar-links {
		margin-top: 0.5rem;
	}
}

/***** banner *****/

.home-banner {
    position: relative;
    height: 350px;
    display: grid;
    place-items: center;
    background-size: cover;
    background-position: center;
    color: var(--white);
}

.home-banner .banner-holder {
    height: inherit;
    position: relative;

}

.banner-container {
    margin-top: 7.2em;
}

.banner-overlay {
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    /* semi-transparent layer for contrast */
    pointer-events: none;
    /* optional glass effect on supporting browsers */
    backdrop-filter: blur(4px) saturate(110%);
}

.banner-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 1.0em 5.5em;
}

h1.banner-title,
.banner-institution {
    color: var(--white);
    line-height: 1.05;
    text-align: center;
}

h1.banner-title {
    font-weight: 700;
    letter-spacing: -0.01em;
    /* responsive size: min 1.6rem, preferred 6vw, max 3.6rem */
    font-size: clamp(1.5rem, 6vw, 3.0rem);
	text-shadow: 1px 1px var(--drak-gray);
    /* improves readability over busy images */
    word-break: keep-all;
}

.banner-institution {
    font-size: clamp(1rem, 6vw, 1.5rem);
}

.home-banner .banner-caption {
    width: 100%;
    text-align: right;
    margin-top: 0.25rem;
    font-size: 0.9rem;
    color: var(--drak-gray);
    padding-right: 1rem;
}

/** Media Queries for header and banner **/
@media (max-width: 768px) {

    .banner-caption {
        display: none;
    }

    .banner-institution {
        font-size: 0.85em;
    }
}

/*****  content *****/

.main-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* home-info section */

.home-info {
    float: left;
    margin-bottom: 1.75em;
    padding-right: 2em;
}

.home-info-heading {
    font-size: 1.5em;
}

.home-info ul {
    list-style: none;
    padding: 0;
    margin: 0.75em;
}

.home-info li {
    padding: 0;
    margin-bottom: 0.75em;
}

.home-info li a:hover {
    text-underline-offset: 6px;
}

/* details style */

details {
    margin: 1em 0;
    border: 1px solid var(--border-strong);
    border-radius: 4px;
    overflow: hidden;
}

details>summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--light-gray);
    padding: 10px 16px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: bold;
    list-style: none;
}

details>summary::-webkit-details-marker {
    display: none;
}

details>summary::after {
    content: "";
    display: inline-block;
    width: .8rem;
    height: .8rem;
    margin-left: .5rem;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23333' viewBox='0 0 16 16'%3e%3cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    transition: transform .2s;
}

details[open]>summary::after {
    transform: rotate(180deg);
}

details>div {
    padding: 10px 16px;
}

/* home-feature block */

#home-feature-container {
    width: 100%;
    margin: 0 auto;
}

#home-feature-container a {
    text-decoration: none;
    color: inherit;
    display: block;
}

#home-feature-container a:hover {
    text-decoration: none;
    color: inherit;
}

#home-feature-container .image-wrapper {
    position: relative;
    display: block;
    width: 100%;
}

#home-feature-container .image-wrapper img {
    width: 100%;
    height: 200px;
    display: block;
}

.home-feature-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.home-feature-title h3 {
    color: var(--white);
    font-weight: bold;
    font-size: 1.5em;
}

.feature-caption {
    position: absolute;
    bottom: -1.85em;
    right: 0;
    color: var(--medium-gray);
    font-size: 0.9rem;
}

/** Media Queries for home-info and home-feature **/

/* On small screens: stack and remove padding */
@media (max-width: 768px) {
    .home-info {
        padding-right: 0 !important;
    }

    /* home-feature */
    .image-wrapper {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .image-wrapper img {
        min-height: 200px;
        max-width: 100%;
        height: auto;
        object-fit: cover;
        display: block;
    }

    .home-feature-title {
        text-align: center;
        margin-top: 10px;
    }

    .feature-caption {
        display: none;
    }
}

/*****  list of sites: #exhibitions *****/

/* exhibitions filter */
.filter-btn {
    margin: 5px;
    width: 100px;
    padding: 0.5rem;
    background-color: var(--laurier-purple);
    color: var(--white);
    border-radius: var(--border-radius-sm);
    border: none;
}

.filter-btn:hover {
    color: var(--white);
    background-color: var(--laurier-mauve);
}

.filter-btn.press {
    color: var(--black);
    background-color: var(--laurier-gold);
}

/* exhibit card */
.exhibit-card {
    display: inline-block;
    vertical-align: top;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-light);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08),
                0 2px 6px rgba(0, 0, 0, 0.04);
    margin: .75em;
    padding: 1rem;
    width: calc(25% - 1.5em);
    background-color: var(--white);
    transition:
        background-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
    cursor: pointer; /* optional: for card-like interaction */
}

.exhibit-card a.site-link {
    color: var(--black);
    text-decoration: none !important;
}

.exhibit-card:hover {
    background-color: var(--light-gray);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transform: translateY(-5px);
}

.exhibit-card .exhibit-thumb {
    position: relative;
    align-items: center;
    background-color: var(--white);
    width: 100%;
}

.exhibit-card .exhibit-card-text {
    height: 8.5em;
    padding: 0 0.75em 0 0.75em;
}

.exhibit-card .exhibit-card-text h4 {
    color: var(--black);
    font-size: 1.15em;
}

.exhibit-card .exhibit-card-text p {
    margin-bottom: 0;
    height: 5.2em;
    line-height: 1.6em;
    overflow: hidden;
    position: relative;
    font-size: 0.85rem;
    color: #3D3D3D;
}

/** Media Queries for exhibit-card **/

/* Mobile first (default): 1 per row */
.exhibit-card {
    width: 100%;
}

/* Small tablets (≥768px): 2 per row */
@media (min-width: 768px) {
    .exhibit-card {
        width: calc(50% - 1.5em);
        margin: 0.75em;
    }
}

/* Large tablets and small desktops (≥992px): 3 per row */
@media (min-width: 992px) {
    .exhibit-card {
        width: calc(33.333% - 1.5em);
    }
}

/* Wide screens (≥1200px): 3 per row */
@media (min-width: 1200px) {
    .exhibit-card {
        width: calc(33.333% - 1.5em);
    }
}

/* Extra-large screens (≥1400px): 4 per row */
@media (min-width: 1400px) {
    .exhibit-card {
        width: calc(25% - 1.5em);
    }
}

/*****  footer *****/
footer {
    width: 100%;
    max-width: 100%;
    padding-top: 2em;
    padding-bottom: 3em;
    font-size: 15px;
    line-height: 1.6;
    text-align: center;
    background-color: var(--laurier-purple);
    color: var(--white);
    clear: both;
}

footer ul {
    padding: 0px;
    list-style: none;
}

footer ul li {
    display: inline;
    list-style-type: none;
    margin: 0 0 0 20px;
    position: relative;
}

footer ul li a {
    text-decoration: none;
}

footer ul.copyright {
    font-size: 80%;
}

footer ul.copyright li:nth-child(2) {
    margin: 0 0 0 30px;
}

footer a:hover,
footer a:visited,
footer a:link {
    color: var(--white);
}

footer a:hover {
    text-decoration: underline;
    text-underline-offset: 6px;
}