@import url("/components/base/base.css");

/* =========================================
   Isotope
   ========================================= */
.isotope-filters {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 0.5rem;
    margin: 1rem !important;
    overflow-x: visible !important;
}
.isotope-item {
    height: auto !important;
}

.isotope-line .isotope-filter {
    font-size: 1.2rem;
    color: #082567;
}

/* =========================================
   Formatting
   ========================================= */

hr {
    border: 0;
    height: 1px;
    background-color: #bfbfbf; /* mid grey */
    margin: 2rem 0;
}

blockquote {
    position: relative;
    font-style: normal;
    color: #333; /* text color */
    padding: 2rem 1.5rem 2rem 1.5rem; /* space for quote mark */
}

blockquote::before {
    content: "\201C"; /* left double quote */
    position: absolute;
    top: 0;
    left: 0;
    font-size: 25rem; /* large size */
    color: aliceblue;
    line-height: 1;
    z-index: -1; /* behind the text */
    font-family: serif; /* optional */
}

blockquote p {
    position: relative;
    z-index: 1; /* text appears above quote mark */
}

/* =========================================
   Footer Nav
   ========================================= */

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

figcaption {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

blockquote {
    margin: 1rem 1rem 1rem 1rem !important;
    color: #191970 !important;
    font-weight: 400;
}

.blockquote {
    font-size: calc(1.28125rem + 0.375vw) !important;
}

small,
.small {
    font-size: 85%;
}

a,
a:hover {
    color: #1a73e8;
}

figure {
    margin-left: auto !important;
    margin-right: auto !important;
}

.center-image {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.faq-wrap {
    padding-left: 2rem;
    padding-right: 2rem;
}

.details-summary-wrap {
    padding-left: 2rem;
    padding-right: 2rem;
}

/* Remove default arrow */
summary {
    list-style: none;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    display: flex;
    justify-content: center; /* centers the text */
    align-items: center;
    position: relative;
    margin-bottom: 1.5625rem;
}

/* Optional: prevent default marker in Safari/Chrome */
summary::-webkit-details-marker {
    display: none;
}

/* Arrow positioned relative to the text span */
.summary-text::before {
    content: "";
    display: inline-block;
    vertical-align: middle;
    margin-right: 0.4rem; /* space between arrow and text */
    width: 1rem;
    height: 1rem;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24"><path d="M6 9l6 6 6-6" fill="none" stroke="currentColor" stroke-width="2"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    transition: transform 0.3s;
}

/* Rotate arrow when details is open */
details[open] .summary-text::before {
    transform: rotate(180deg);
}

.ratio-5-4 {
    aspect-ratio: 5 / 4;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.crop-desktop img {
    width: 100%;
    height: 500px; /* Desktop crop height */
    object-fit: cover; /* This does the cropping */
    object-position: center; /* Adjust if needed */
}

/* Mobile = natural height */
@media (max-width: 768px) {
    .crop-desktop img {
        height: auto;
        object-fit: contain;
    }
}

.hero-slideshow {
    width: 100%;
    max-width: 1000px;
    aspect-ratio: 5 / 4;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    background: #fff;
}

.hero-slideshow img,
.hero-slideshow figure,
.carousel-item img {
    margin: 0;
    padding: 0;
    border: 0;
    display: block;
}

.hero-slideshow {
    background: #000;
    overflow: hidden;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.hero-slideshow .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    object-fit: cover;

    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slideshow .slide.active {
    opacity: 1;
}

/* ==============================
   SLIDER / IMAGE FOCUS EDGE FIX
============================== */

.hero-slideshow img,
.hero-slideshow figure {
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.hero-slideshow .slide:first-child {
    opacity: 1;
}

.navbar-logo {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 0 !important;
    line-height: 0 !important;
}

.category-links {
    display: block !important;
    max-width: 780px !important;
    margin: 0.75em auto 0.75em !important;
    text-align: center !important;
    font-size: 0.75rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    color: #666 !important;
    font-weight: 500 !important;
    line-height: 1.35em !important;
}

.category-links a {
    text-decoration: none !important;
    display: inline !important;
    color: #666 !important;
}

.category-links a:hover {
    color: #999 !important;
}

.category-links a + a::before {
    content: " | " !important;
}

.entry-taxonomies {
    display: block;
    line-height: 1.2em !important;
}

.categories-featured {
    display: flex; /* Or display: grid; */
}

@media (min-width: 1200px) {
    h1,
    .h1 {
        font-size: 2.25rem;
    }
}

h1,
.h1,
.h1 {
    font-size: 2rem;
    line-height: 1.2;
}

@media (min-width: 1200px) {
    h1,
    .h1,
    .h1 {
        font-size: 2.25rem;
        line-height: 1.2;
    }
}

h2.ls01,
.ls01.h2,
.h2.ls01 {
    letter-spacing: 0.1em;
}

h2.lh140,
.lh140.h2,
.h2.lh140 {
    line-height: 1.45;
}

h2,
.h2,
.h2 {
    font-size: 1.375rem;
    line-height: 1.6;
    letter-spacing: 0.2em;
}
@media (min-width: 1200px) {
    h2,
    .h2 {
        font-size: 1.5rem;
        letter-spacing: 0.22em;
    }
}

@media (min-width: 1200px) {
    h3,
    .h3 {
        font-size: 1.65rem;
    }
}

h3,
.h3,
.h3 {
    font-size: 1.4rem;
    line-height: 1.25;
}

@media (min-width: 1200px) {
    h3,
    .h3,
    .h3 {
        font-size: 1.65rem;
        line-height: 1.6;
    }
}

h4,
.h4,
.h4 {
    font-size: 1.375rem;
    line-height: 1.6;
    letter-spacing: 0.2em;
}

h4.ls01,
.ls01.h4,
.h4.ls01 {
    letter-spacing: 0.1em;
}

h4.lh140,
.lh140.h4,
.h4.lh140 {
    line-height: 1.45;
}

@media (min-width: 1200px) {
    h4,
    .h4,
    .h4 {
        font-size: 1.5rem;
        letter-spacing: 0.3em;
    }
}

b,
strong {
    font-weight: 500 !important;
}

@media (min-width: 1200px) {
    body {
        font-weight: 300 !important;
    }
}

.summary-image {
    margin-left: auto !important;
    margin-right: auto !important;
    justify-self: center !important;
}
