/*
 * Custom CSS overrides loaded after assets/css/style.css.
 */

/* Aspect Ratio Overrides */
.ratio-4x5 {
    --bs-aspect-ratio: 125%;
}

.breadcrumb li:not(:last-child)::after {
    padding-left: 0.25rem;
}

[data-component="card-listing"] .card--post .card__content > p {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card--author.card--no-link:hover .card__heading,
.card--author.card--no-link:focus-within .card__heading {
    text-decoration: none;
}

.editorial figure:first-child {
    margin-top: 0;
}

.gallery-item__media.video + .gallery-item__detail{
    top: 0;
    bottom: auto;
}

.gallery-item__detail{
    min-height: auto;
}


.tabs-content__pane {
    display: none;
}
.tabs-content__pane.is-first{
	display: block;
}
.tabs-content__pane.is-active{
    display: block;
}
/* -------------------------------------------------------
/* Reset HubSpot's wrapper chrome */
.gt-hs-form,
.gt-hs-form .hs-form-field {
    font-family: inherit;
    font-size: 1rem;
    color: inherit;
}

.gt-hs-form .hs-form-field {
    margin-bottom: 2rem;
    position: relative;
}

/* Two-column layout on larger screens */
.gt-hs-form fieldset.form-columns-2 {
    display: flex;
    gap: 1.5rem;
}
.gt-hs-form fieldset.form-columns-2 .hs-form-field {
    flex: 1 1 0;
}
@media (max-width: 767px) {
    .gt-hs-form fieldset.form-columns-2 {
        flex-direction: column;
    }
}

/* Labels & legends */
.gt-hs-form label,
.gt-hs-form legend {
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.gt-hs-form label input[type=checkbox] {
    margin-right: 0.5em;
}

/* Required asterisk */
.gt-hs-form label .hs-form-required {
    color: inherit;
}

/* Text inputs, selects, textareas */
.gt-hs-form input[type="text"],
.gt-hs-form input[type="email"],
.gt-hs-form input[type="tel"],
.gt-hs-form input[type="url"],
.gt-hs-form input[type="number"],
.gt-hs-form input[type="date"],
.gt-hs-form textarea,
.gt-hs-form select {
    background-color: var(--white);
    border: 1px solid var(--dark-blue);
    border-radius: 1.875rem;
    color: inherit;
    font-family: inherit;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.5;
    padding: 1rem;
    width: 100%;
    transition: background-color 0.3s ease;
    box-sizing: border-box;
}

.gt-hs-form input[type="text"]:focus,
.gt-hs-form input[type="email"]:focus,
.gt-hs-form input[type="tel"]:focus,
.gt-hs-form input[type="url"]:focus,
.gt-hs-form input[type="number"]:focus,
.gt-hs-form input[type="date"]:focus,
.gt-hs-form textarea:focus,
.gt-hs-form select:focus {
    background-color: var(--off-white);
    outline: 1px solid var(--dark-blue);
}

.gt-hs-form input::placeholder,
.gt-hs-form textarea::placeholder {
    color: currentColor;
}

/* Textarea sizing */
.gt-hs-form textarea {
    min-height: 7rem;
}
@media (min-width: 1200px) {
    .gt-hs-form textarea {
        min-height: 18rem;
    }
}

/* Select dropdown */
.gt-hs-form select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='11' fill='none' viewBox='0 0 15 11'%3E%3Cpath fill='%23140d28' d='M6.657 9.207a1 1 0 0 0 1.414 0l6.364-6.364A1 1 0 1 0 13.02 1.43L7.364 7.086 1.707 1.429A1 1 0 1 0 .293 2.843zm.707-.707h1zh-1z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 1rem;
    background-position: right 1rem center;
    cursor: pointer;
    padding: 0.875rem 2.5rem 0.875rem 1rem;
    transition: background-color 0.3s ease;
}
.gt-hs-form select:hover {
    background-color: var(--orange);
}
.gt-hs-form select:focus {
    background-color: var(--dark-blue);
    color: var(--white);
}
.gt-hs-form select:focus-visible {
    background-color: var(--white);
    outline: 2px solid var(--dark-blue);
}

/* Checkboxes & radios */
.gt-hs-form .hs-form-booleancheckbox-display,
.gt-hs-form .hs-form-radio-display {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.gt-hs-form input[type="checkbox"],
.gt-hs-form input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    background-color: var(--white);
    border: 1px solid var(--dark-blue);
    border-radius: 0.5rem;
    cursor: pointer;
    flex-shrink: 0;
    height: 1.875rem;
    margin: 0;
    width: 1.875rem;
    transition: background-color 0.3s ease;
}
.gt-hs-form input[type="radio"] {
    border-radius: 50%;
}
.gt-hs-form input[type="checkbox"]:hover,
.gt-hs-form input[type="radio"]:hover {
    background-color: var(--orange);
}
.gt-hs-form input[type="checkbox"]:checked,
.gt-hs-form input[type="radio"]:checked {
    background-color: var(--dark-blue);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' fill='none' viewBox='0 0 28 28'%3E%3Crect width='28' height='28' fill='%23140d28' rx='8'/%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m8 14 4 4 8-8'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
.gt-hs-form input[type="checkbox"]:focus-visible,
.gt-hs-form input[type="radio"]:focus-visible {
    outline: 2px solid var(--dark-blue);
    outline-offset: 2px;
}

.gt-hs-form .hs-form-booleancheckbox-display > span,
.gt-hs-form .hs-form-radio-display > span {
    font-weight: 600;
}

.gt-hs-form .inputs-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.gt-hs-form .hs-submit {
    margin-top: 1rem;
}

.gt-hs-form .hs-button {
    appearance: none;
    -webkit-appearance: none;
    background-color: var(--dark-blue);
    border: 0;
    border-radius: 2.5rem;
    color: var(--white);
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
    min-height: 3.25rem;
    padding: 0.5625rem 2rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}
@media (min-width: 992px) {
    .gt-hs-form .hs-button {
        min-height: 3.75rem;
        padding: 0.875rem 2.5rem;
    }
}
.gt-hs-form .hs-button:hover {
    background-color: var(--orange);
}
.gt-hs-form .hs-button:active {
    background-color: var(--dark-blue);
    box-shadow: none;
}
.gt-hs-form .hs-button:focus-visible {
    box-shadow: 0 0 0 4px var(--dark-blue);
    outline: none;
}

/* Validation errors */
.gt-hs-form .hs-error-msgs {
    list-style: none;
    margin: 0.5rem 0 0;
    padding: 0;
}
.gt-hs-form .hs-error-msgs .hs-error-msg {
    color: #c00;
    font-size: 0.875rem;
}

.gt-hs-form .legal-consent-container {
    font-size: 0.875rem;
    margin-bottom: 2rem;
}
.gt-hs-form .legal-consent-container p {
    margin: 0 0 0.5rem;
}

.gt-hs-form .submitted-message {
    font-size: 1.125rem;
    font-weight: 600;
}