body, .emuseum-mobile-menu-open .emuseum-nav,
.details-page #cboxLoadedContent, .details-page #cboxLoadingOverlay, .details-page #cboxContent {
    background: rgb(16 14 11);
}
.sr-home-button {
	background: #b2906c;
    color: #fff;
    padding: 10px 15px;
    display: inline-block;
    align-items: center;
    margin: 0 auto;
    transition: background .3s;
}
a.sr-home-button:hover {
    text-decoration: none;
    color: inherit;
    background: #100e0b;
}
.modal,
.emuseum-no-rounded-corners .form-control,
#myModalLabel {
    color: #000;
}
.emuseum-defaultmedia {
    background: #b2906c;
}
.defaultmedia-text,
.emuseum-bigsearch .emuseum-quicksearch input[type="text"],
.details-page #cboxClose:before {
    color: #fff;
}
.homepage-content-block p img {
    width: 360px;
    float: right;
    margin: 0 0 45px 45px;
}
/* temp header */
.homepage-content-block + .homepage-content-block {
    border-top: 3px solid #000;
}
.start-page main#emuseum-main-content > .content-header + .homepage-content-block .col:first-child {
  /* Stack all children on top of each other */
  display: grid;
  position: relative;
  overflow: hidden;
    width: 100%;
    margin-left: -50%;
    left: 50%;
    position: absolute;
    top: 0;
    height: 75dvh;
    padding: 0;
}
.start-page main#emuseum-main-content > .content-header + .homepage-content-block .col + .col {
display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  position: relative;
  overflow: hidden;
    width: 100%;
    margin-left: -50%;
    left: 50%;
    position: absolute;
    top: 30dvh;
    height: 46dvh;
    padding: 0;
    color: #fff;
    background: linear-gradient(to top, rgb(16 14 11) 0%, transparent 100%);
}
.start-page main#emuseum-main-content > .content-header + .homepage-content-block .col + .col h1 {
    text-align: center;
    font-size: 4.5rem;
    text-transform: none;
    font-family: Trajan Pro;
}

.start-page main#emuseum-main-content > .content-header + .homepage-content-block .col + .col h2 {
	font-variant: small-caps;
    font-family: Trajan Pro;
    font-size: 2.5rem;
}

/* All slides occupy the same grid cell */
.start-page main#emuseum-main-content > .content-header + .homepage-content-block .col:first-child p {
  grid-area: 1 / 1;
  margin: 0;
  opacity: 0;
  animation: fadeOnly 21s infinite;
  height: 100%;
}

/* Make images fill the container */
.start-page main#emuseum-main-content > .content-header + .homepage-content-block .col:first-child img {
  display: block;
  width: 100% !important;
  height: 100%;
  object-fit: cover;
}

/* Stagger the start times so only one is visible at a time */
.start-page main#emuseum-main-content > .content-header + .homepage-content-block .col:first-child p:nth-child(1) {
  animation-delay: 0s;
}
.start-page main#emuseum-main-content > .content-header + .homepage-content-block .col:first-child p:nth-child(2) {
  animation-delay: -7s;   /* 12s / 3 slides */
}
.start-page main#emuseum-main-content > .content-header + .homepage-content-block .col:first-child p:nth-child(3) {
  animation-delay: -14s;
}

@keyframes fadeOnly {
  /* Hidden before fade-in */
  0%   { opacity: 0; }
  8%   { opacity: 1; }   /* Fade in */
  33%  { opacity: 1; }   /* Stay fully visible */
  41%  { opacity: 0; }   /* Fade out */
  100% { opacity: 0; }   /* Stay hidden until next cycle */
}


.start-page #emuseum-logo {
    display: none;
}
.start-page .emuseum-header {
    position: relative;
    z-index: 2;
    background: linear-gradient(to bottom, rgb(16 14 11) 0%, transparent 100%);
    padding: 55px 0;
    margin-bottom: 20px;
}

body:not(.emuseum-mobile-menu-open) .emuseum-header #emuseum-menu a {
    font-size: 12px;
}

.start-page .emuseum-header #emuseum-menu a {
    color: #fff;
}

.start-page .homepage-content-block + .homepage-content-block {
  position: relative;
  overflow: hidden;
    width: 100vw;
    margin-left: -50vw;
    left: 50%;
}
.start-page .content-header + .homepage-content-block + .homepage-content-block  {
    margin-top: calc(75dvh - 120px - 130px);
}
.homepage-content-block.block-layout-CONTAINED .homepage-block-inner {
    max-width: 1370px;
    margin: 0 auto;
}
.content-header {
    padding-bottom: 30px;
}
body .emuseum-main-wrap p {
    margin: 10px 0;
}
body:not(.start-page) #emuseum-main-content > .content-header {
    padding-top: 30px;
}
.emuseum-nav .active {
	text-decoration: underline;
}
.emuseum-fit-grid .emuseum-img-grid .grid-item img {
	height: 400px;
}
body .emuseum-main-wrap .text-wrap {
    text-align: left;
}
body .emuseum-main-wrap .result-title, body .emuseum-main-wrap .emuseum-highlight-section .highlight-text .highlight-title, body .emuseum-main-wrap .grid-item .texts-wrap>div:first-of-type, body .emuseum-main-wrap .list-item .texts-wrap>div:first-of-type, body .emuseum-main-wrap .modal-dialog .modal-title {
    font-size: 1.2rem;
}
body.news-page #tlistview {
    display: grid;
}
body.news-page #tlistview .item {
	width: 100%;
    max-width: 100%;
}
body.news-page #tlistview .item .text-wrap {
    text-align: left;
}
body.news-page .emuseum-main-wrap .list-item .texts-wrap>div:not(first-of-type),
body.news-page .emuseum-main-wrap .list-item .texts-wrap>div:not(first-of-type) * {
    font-size: unset;
}
body.news-page .emuseum-main-wrap .list-item .texts-wrap>div:not(first-of-type) p {
    margin: 0;
}
body.exhibitions-page.exhibitions-module h2 {
	font-size: 1.4rem;
    color: #757575;
}
.footer-bottom {
  display: flex;
  justify-content: flex-end; /* pushes this block to the right */
  padding: 10px 0;
  font-size: 13px;
}

.footer-bottom-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-follow-label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 11px;
}

.footer-bottom-right a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: inherit;
}

.footer-bottom-right a .icon {
  width: 16px;
  height: 16px;
}

/* optional hover tweak */
.footer-bottom-right a:hover {
  opacity: 0.7;
}

.emuseum-footer a {
    text-decoration: underline;
}

/* Hides H1 only on the Accessibility page */
body.accessibility-page h1 {
  display: none !important;
}
/* HIDE RIGHT COLUMN ON CONTACT PAGE */
.contact-page .col-md-4,
.contact-page .sidebar,
.contact-page .right-column,
.contact-page .detail-sidebar,
.contact-page .col-sidebar {
    display: none !important;
}

/* EXPAND MAIN COLUMN */
.contact-page .col-md-8,
.contact-page .main-content,
.contact-page .col-main {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
}
/* =========================================
   START PAGE HERO – Logo + Inquire 
   ========================================= */

/* Logo: centered, slightly larger, nudged up */
.start-page main#emuseum-main-content
> .content-header + .homepage-content-block h1 {
    margin: 0;
    text-align: center;
}

.start-page main#emuseum-main-content
> .content-header + .homepage-content-block h1 img {
    display: block;
    margin: 0 auto;

    width: min(45%, 760px) !important;
    height: auto;
    max-width: none;

    /* vertical logo nudge (~0.3 cm) */
    /*transform: translateY(-65px);*/
}

/* Inquire button – aligned to red line */
.start-page main#emuseum-main-content
> .content-header + .homepage-content-block a {
    display: inline-block;
    text-align: center;

    padding: 0.45em 1.05em;
    border: 1px solid #b2906c;
    border-radius: 2px;

    background: transparent;
    color: #ffffff;

    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 75%;

    /* vertical alignment (red line) */
    margin-top: clamp(-95px, -12vw, -105px);

    /* 🔴 HORIZONTAL ALIGNMENT */
    margin-left: -20px;

    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

/* Hover / focus */
.start-page main#emuseum-main-content
> .content-header + .homepage-content-block a:hover,
.start-page main#emuseum-main-content
> .content-header + .homepage-content-block a:focus {
    background: #b2906c;
    color: #100e0b;
    border-color: #b2906c;
    outline: none;
}
