/* Core imports and resets */
@import url("../fonts.css");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --orange: #f76900;
    --light-orange: #f57e29;
    --dark-orange: #cd3e00;
    --dark-gray: #404040;
    --white: #ffffff;
    --dark-blue: #000e54;
    --transparent-bg: rgba(255, 255, 255, 0.5);
}

body {
    font-family: "ShermanSans", Verdana, sans-serif;
    color: var(--dark-blue);
    font-size: 18px;
    line-height: 1.4;
    background-color: var(--white);
}

h1 span, .title-panel h1 {
    font-family: "SyracuseBlockCndVF", "OswaldVF", sans-serif;
    font-size: 11rem;
    color: var(--orange);
    font-weight: bold;
}

/* Helper Styles */
.helper {
    position: absolute;
    bottom: 40px;
    right: 30px;
    /*left: 75vw;*/
    display: flex;
    gap: 10px;
    z-index: 4;
    font-family: "Sherman Sans", sans-serif;
    /*position: fixed;*/
    padding: 1rem;
    /*background: var(--orange);*/
    background-color: rgba(255, 255, 255, 0.7);
    color: var(--dark-gray);
    width: 350px;
    max-width: 35vw;
    height: 150px;
    flex-direction: column;
    align-items: center;
}

.helper__image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.helper__icon {
    width: 45px;
    height: 45px;
    margin-left: 0;
    animation: bounce-down 1.5s infinite;
    stroke: #fff;
}

@keyframes bounce-right {
    0% { transform: translateX(0); opacity: 1; }
    50% { transform: translateX(5px); opacity: 1; }
    100% { transform: translateX(10px); opacity: 0; }
}

@keyframes bounce-down {
    0% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(5px); opacity: 1; }
    100% { transform: translateY(10px); opacity: 0; }
}

.button {
    margin: 24px;
    background-color: #f76900;
    font-weight: bold;
    border: none;
    color: white !important;
    padding: 12px 24px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    cursor: pointer;
    z-index: 100;
}
.button:hover {
    background-color: #000e54;
}

/* Card Styles */
.card {
    font-family: "ShermanSans", Verdana, sans-serif;
    position: fixed;
    top: 200px;
    width: 600px;
    max-width: 35%;
    max-height: 300px;
    /*background-color: var(--transparent-bg);*/
    z-index: 9999;
}

.card-body {
    color: #fff;
    padding: 1rem;
}

.card-body p, .final-content-left p {
    font-size: 1.5rem;
    line-height: 1.5;
}

.card-body p {
    max-width: 25vw;
}

.para-slug {
    color: #fff;
    text-decoration: none;
    /*white-space: nowrap;*/
}

/*.para-slug:hover {*/
/*    color: var(--orange);*/
/*}*/

.panel-button {
    margin: 15px 0px;
    background-color: #fff;
    font-weight: bold;
    border: 1px solid var(--orange);
    color: var(--orange);
    padding: 6px 12px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    cursor: pointer;
    z-index: 100;
}
.panel-button:hover {
    /*background: var(--orange);*/
    color: var(--dark-blue);
    border: 1px solid #ffffff;
}

.alt-panel-button {
    margin: 15px 5px;
    background-color: var(--orange);
    font-weight: bold;
    border: 1px solid #fff;
    color: #ffffff;
    padding: 6px 12px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    cursor: pointer;
    z-index: 100;
}
.alt-panel-button:hover {
    /*background: var(--orange);*/
    color: var(--dark-gray);
    border: 1px solid var(--orange);
}

.right-chevrons {
    top: -20px;
    stroke: var(--orange);
    line-height: 1rem;
    width: 45px;
    height: 45px;
    margin-left: 0;
    animation: bounce-right 1.5s infinite;
    vertical-align: middle;
    display: inline;
}
.right-chevrons:hover {
    stroke:  #fff;
    animation: bounce-right 1.5s infinite;
}

.highlighted-text {
    color: var(--orange);
    font-size: 5.5rem;
}

/* Video Section */
.video-wrapper {
    position: absolute;
    width: 140%;
    height: 130%;
    top: -20%;
    left: -20%;
}

.modal-video-wrapper {
    position: absolute;
    width: 140%;
    height: 130%;
    top: -10%;
    left: -20%;
}

.controls {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    z-index: 4;
}

.control-btn {
    width: 40px;
    height: 40px;
    background: var(--orange);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s;
}

.control-btn a {
    color: #fff;
}

.control-btn:hover {
    opacity: 0.8;
}

/* Tooltip */
.control-btn[data-tooltip] {
    position: relative;
}

.control-btn[data-tooltip]:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    top: 45px;
    /*right: 20%;*/
    transform: translateX(-150px);
    padding: 5px 10px;
    background-color: var(--dark-blue);
    color: #fff;
    font-family: "ShermanSans", Verdana, sans-serif;
    font-size: 14px;
    border-radius: 4px;
    white-space: nowrap;
    z-index: 5;
    opacity: 1;
    transition: opacity 0.2s ease;
}

.control-btn[data-tooltip]::after {
    opacity: 0; /* Hidden by default */
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    margin: auto;
    padding: 25px;
    display: block;
    width: 80%;
    max-width: 700px;
    background-color: #fff;
}

.modal-content p {
    font-size: 1.5rem;
    line-height: 1.5;
}

#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    padding: 10px 0;
    height: 150px;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    cursor: pointer;
}

.pull-quote {
    font-family: "Sherman Sans", sans-serif;
    font-size: 1.25rem;
    font-style: italic;
    color: #333;
    border-left: 4px solid #ec5532;
    padding-left: 16px;
    margin: 24px 0;
    line-height: 1.5;
}
.pull-quote::before {
    content: "“";
    font-family: "Sherman Sans", sans-serif;
    font-size: 4rem;
    font-style: italic;
    color: #ec5532;
    float: left;
    line-height: 1;
    margin-right: 8px;
}

/* Grid Layout */
.grid-container {
    height: 100vh;
    width: 100vw;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
}

.grid-span-cols {
    grid-column: 1 / 3;
}

.grid-span-rows {
    grid-column: 2 / 3;
    grid-row: 2 / 4;
}

.video-thumbnail-text {
    display: block;
    margin-top: 10px;
    font-family: "ShermanSans", Verdana, sans-serif;
    font-size: 1.2rem;
    font-weight: 500;
}

/* Hover Effects */
.video-thumbnail-link:hover .video-thumbnail-img {
    transform: scale(1.05); /* Slight zoom on hover */
    border-color: var(--dark-blue); /* Darkens border */
}

.video-thumbnail-link:hover .video-thumbnail-text {
    color: var(--orange); /* Matches your highlighted text */
}

/* Letter Thumbnail Styles */
.letter-thumbnail-container {
    width: 100%;
    max-width: 300px; /* Matches video thumbnail */
    margin: 20px auto; /* Centers with spacing */
    text-align: center;
}

.letter-thumbnail-link {
    display: inline-block;
    cursor: pointer; /* Indicates clickability */
    text-decoration: none;
    color: var(--dark-blue);
    transition: color 0.3s ease;
}

.letter-thumbnail-img {
    width: 100%;
    height: auto;
    border: 2px solid var(--orange); /* Matches video thumbnail */
    border-radius: 8px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.letter-thumbnail-text {
    display: block;
    margin-top: 10px;
    font-family: "ShermanSans", Verdana, sans-serif;
    font-size: 1.2rem;
    font-weight: 500;
}

/* Hover Effects */
.letter-thumbnail-link:hover .letter-thumbnail-img {
    transform: scale(1.05); /* Slight zoom on hover */
    border-color: var(--dark-blue);
}

.letter-thumbnail-link:hover .letter-thumbnail-text {
    color: var(--orange);
}

/* Grateful Nav */
.anchor-nav {
    font-family: "ShermanSans", Verdana, sans-serif;
    position: absolute;
    top: 25px;
    right: 20px;
    border-radius: 0.4rem;
    padding: 5px 10px;
    display: flex;
    align-items: center;
    z-index: 50;
    overflow-x: auto;
    white-space: nowrap;
}

.anchor {
    font-size: 1rem;
    text-decoration: underline;
    padding: 8px 16px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.anchor:hover,
.anchor:focus {
    text-decoration: none;
    text-decoration-color: var(--dark-orange);
}

/* Sticky Nav */
.sticky-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px; /* Fixed height to contain links */
    background-color: rgba(0, 14, 84, 1);
    padding: 0; /* Remove vertical padding, rely on height */
    z-index: 200;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2);
    overflow-y: hidden; /* Hide vertical scrollbar */
    display: flex; /* Ensure flex context */
    align-items: center; /* Center links vertically */
}

.sticky-nav-list {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0 10px; /* Horizontal padding only */
    overflow-x: auto; /* Keep horizontal scrolling */
    overflow-y: hidden; /* Explicitly hide vertical overflow */
    white-space: nowrap;
    width: 100%; /* Ensure it fills nav */
}

.sticky-nav-link {
    font-family: "ShermanSans", Verdana, sans-serif;
    font-size: 1rem;
    text-decoration: none;
    color: #fff;
    padding: 8px 16px; /* Keep padding, fits within 40px height */
    transition: background-color 0.3s ease, color 0.3s ease;
}

.sticky-nav-link:hover,
.sticky-nav-link:focus {
    text-decoration: underline;
    text-decoration-color: var(--dark-orange);
}

.sticky-nav-link.active {
    text-decoration: underline;
    text-decoration-color: var(--dark-orange);
    font-weight: bold;
}

/* From DMC */
.mt-24 {
    margin-top: 24px;
}
.h-40 {
    height: 40%;
}
.w-100 {
    width: 100% !important;
}
.justify-content-center {
    -webkit-box-pack: center !important;
    -ms-flex-pack: center !important;
    justify-content: center !important;
}
/* Horizontal Scroll */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.laurel-container {
    margin-top: 20%;
    display: flex;
    justify-content: center;
    /*margin-bottom: 1rem;*/
    /*padding: 2rem;*/
}
.laurel {
    min-width: 200px;
    width: 300px;
}
.laurel-container-outro {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
    padding: 2rem;
}
.laurel-outro {
    min-width: 200px;
    width: 300px;
    margin-right: 32px;
}
.site-header-brand {
    min-width: 200px;
    width: 300px;
    margin-right: 32px;
}
.site-header-logo-link {
    width: 100%;
    height: 100%;
    display: flex
;
    align-items: center;
}
img {
    opacity: 1;
    transition: opacity .4s;
}
.skip-hidden-link {
    position: absolute;
    color: #fff;
    text-align: center;
    left: 50%;
    z-index: 2;
    padding: 0 .5rem .25rem;
    background-color: #cd3e00;
    text-decoration: none;
    border-radius: 3px;
    border: 0;
    overflow: hidden;
    transform: translateY(-100%);
    transition: transform .3s;
    top: -200%;
}
.site-header-content {
    display: flex;
    padding: 2.5rem;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
}
.main-header-content {
    justify-content: center; !important;
    display: flex;
    flex-direction: row;
}
.vertical-section {
    max-width: 1200px;
    height: 100vh;
    display: flex;
}

#logo {
    float: left;
}
#logo-img {
    max-width: 400px;
}
.video-container {
    width: 99vw;
    /*height: 100vh;*/
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 0;
    overflow: hidden;
}
iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.video-overlay {
    display: block;
    height: 150%;
    background: linear-gradient(-180deg, transparent 22% 35%, rgba(255, 255, 255, .5019607843) 45%, rgba(255, 255, 255, .8) 52%, #FFF 59.79%);
    position: absolute;
    width: 150%;
    top: 0;
    left: 0;
    bottom: -300px;
    z-index: 1;
}
/*.card-overlay {*/
/*    display: block;*/
/*    height: 100%;*/
/*    background-color: rgba(0, 14, 84, 0.6);*/
/*    position: absolute;*/
/*    width: 150%;*/
/*    top: 0;*/
/*    left: 0;*/
/*    bottom: -100px;*/
/*    z-index: 1;*/
/*}*/
.card-overlay {
    display: block;
    height: 100%;
    background: linear-gradient(
            to right,
            rgba(0, 14, 84, 1) 0%,   /* Solid dark blue on left edge */
            rgba(0, 14, 84, 0.5) 20%,     /* Fades to transparent */
            rgba(0, 14, 84, 0.25) 20%,     /* Fades to transparent */
            rgba(0, 14, 84, 0) 20%,     /* Stays transparent in center */
            rgba(0, 14, 84, 0) 20%,     /* Fades to transparent */
            rgba(0, 14, 84, 0.25) 20%,     /* Stays transparent in center */
            rgba(0, 14, 84, 0.5) 20%,     /* Stays transparent in center */
            rgba(0, 14, 84, 1) 100%   /* Solid dark blue on right edge */
    );
    position: absolute;
    width: 150%;
    top: 0;
    left: 0;
    bottom: -100px;
    z-index: 1;
}
.intro-overlay {
    display: block;
    height: 100%;
    background-color: rgba(205, 62, 0, 0.6);
    position: absolute;
    width: 150%;
    top: 0;
    left: 0;
    bottom: -100px;
    z-index: 1;
}
.fg-overlay {
    display: block;
    height: 25%;
    /*background: linear-gradient(22deg, #FFF 20.21%, rgba(255, 255, 255, .8) 28%, rgba(255, 255, 255, .5019607843) 35%, transparent 65% 48%);*/
    position: absolute;
    width: 100%;
    top: 75%;
    left: 0;
    bottom: 0;
    z-index: 100;
}

.Title_module_title__c87a7c0c {
    visibility: hidden;
}
body {
    background-color: var(--white);
    color: #fff;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 300;
}
h2 {
    color: white;
    font-size: 2em;
    margin: 0;
}
.panel {
    width: 100vw;
    height: 100vh;
}
.half-panel {
    width: 50vw;
    height: 100vh;
}

.forever-panel {
    width: 100vw;
    height: 100vh;
}

.outro-panel {
    background-color: #222;
    /*width: 400px;*/
}

.box {
    width: 100px;
    height: 80px;
    text-align: center;
    line-height: 80px;
    background-color: white;
    border-radius: 8px;
    color: #222;
    font-weight: 700;
    margin-left: 20px;
    will-change: transform;
}
.box.active {
    background-color: orange;
    border: 2px solid white;
}
.description,
.final {
    background-color: #0d2c6c;
    display: flex;
    justify-content: center;
    align-items: center;
    /*padding: 10px;*/
    min-height: 100vh;
}

.container {
    /*background-color: #0d2c6c;*/
    /*width: 800vw;*/
    /*height: 100%;*/
    display: flex;
    flex-wrap: nowrap;
}

.hz-container {
    width: 1000vw;
    height: 100vh;
    background-color: rgba(0, 14, 84, 1);
    /*background: linear-gradient(rgba(0, 14, 84, 0.5), rgba(0, 14, 84, 1)), url('../../images/jma-campus-drone-shot-winter.width-800.format-webp.webp');*/
    /*background: linear-gradient(rgba(0, 14, 84, 0.5), rgba(0, 14, 84, 1)), url('../../images/horiz-scroll/JMH_Drone_0312 (1).jpg');*/
    /*background: linear-gradient(rgba(0, 14, 84, 0.5), rgba(0, 14, 84, 1)), url('../../images/horiz-scroll/DJI_0532.jpg');*/
    background-size: contain;
    background-repeat: repeat-x;
    will-change: transform;
}

.flair {
    width: 25px;
    height: 25px;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
}
.forever {
    font-family: "Sherman Sans", sans-serif;
    text-transform: uppercase;
    font-size: 2.5rem;
    /*color: var(--dark-blue);*/
    color: white;
    font-weight: 800;
}

.grateful {
    font-family: SyracuseBlockCndVF, OswaldVF, sans-serif;
    font-size: 175px;
    line-height: 150px;
    color: var(--orange);
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    font-weight: 500;
    opacity: 0;
}

.changed {
    font-family: SyracuseBlockCndVF, OswaldVF, sans-serif;
    color: var(--orange);
    font-weight: 500;
    opacity: 0;
}

img.dome {
    width: 70vw;
    height: 70vh;
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

.card-hz {
    position: absolute;
    height: 100%;
            width: 100%;
    z-index: -1;
    overflow: hidden;
}

.fg-mark-container {
    position: absolute;
    right: 0;
    display: flex;
    justify-content: center;
    width: 200px;
    padding: 2rem;
    /*position: relative;*/
}
img.hz-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
img.fg-mark-init {
    width: 50%;
    height: 50%;
    object-fit: cover;
}
img.fg-mark-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.down-arrow {
    width: 50px;
    height: 50px;
    color: var(--orange);
}

/* DMC: The sticky nav css */
.final-nav #selected {
    font-weight: 800;
    color: #d74100;
}
.final-nav nav a#selected {
    text-decoration: none;
}
.final-nav nav {
    gap: 32px;
    font-size: 1.2rem;
}
.final-nav nav a {
    text-decoration: none;
    font-weight: 600;
    color: #000e54;
}
.final-nav nav a:hover {
    color: #d74100;
    text-decoration: 1px solid #d74100 underline;
}
.final-nav {
    background: white;
    position: sticky;
    top: 0;
}

.video-header {
    font-family: "SyracuseBlockCndVF", "OswaldVF", sans-serif;
    position: absolute;
    top: 50px;
    max-width: 33%;
    height: 80px;
    padding: 1.25rem;
    will-change: transform;
    /*background-color: rgba(255, 255, 255, 0.7);*/
    z-index: 2;
}
.video-header-img {
    width: 100%;
    height: auto;
}
.video-header p {
    font-family: "ShermanSans", Verdana, sans-serif;
    font-size: 1.5rem;
    margin: 20px 30px;
    color: #fff;
}

.video-header h1 {
    color: var(--orange);
    font-size: 3.5rem;
    line-height: 3rem;
    margin-bottom: 0.5rem;
}
.video-header h2.forever {
    margin: 20px 30px;
}

/* Footer */
.site-footer {
    /*height: 20vh;*/
    width: 100%;
    flex-shrink: 0;
    /*padding: 30px 20px;*/
    color: #ccc;
    background-color: #fff;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /*padding: 20px;*/
    /*max-width: 1200px; !* Optional: sets maximum width *!*/
    margin: 0 auto; /* Centers the container */
}

.footer-container > div {
    flex: 1;
    text-align: center;
    font-size: .75rem;
    /*position: relative;*/
    /*right: 0;*/
    /*object-fit: contain;*/
    /*display: flex;*/
    /*justify-content: center;*/
    /*width: 200px;*/
    /*padding: 2rem;*/
}

.footer-container img {
    max-width: 400px;
    height: auto; /* Maintains aspect ratio */
    margin: auto;
    /*display: block; !* Removes any bottom spacing *!*/
}

.site-footer p {
    margin: 0;
    font-family: "ShermanSans", Verdana, sans-serif;
    color: var(--dark-blue);
    font-size: .75rem;
}

.site-footer a {
    color: var(--dark-blue);
    text-decoration: underline;
}

.site-footer a:hover {
    color: var(--orange);
}

.fg-mark-container {
    display: flex;
    justify-content: flex-end; /* Align image to the right */
}

.fg-mark-container img {
    max-height: 60px; /* Limit image height */
    width: auto;
}

/* Final Panel Styles */
.final.panel {
    width: 100vw;
    height: 100vh;
    position: relative;
    display: flex; /* Use flex to stack sections vertically */
    flex-direction: column;
}

/* Grid Container */
.grid-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

/* Header */
.main-header-content.grid-span-cols {
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
}

/* Final Nav (inside header) */
.final-nav {
    width: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.final-nav img {
    margin-top: 10px;
    height: 54px;
    width: auto;
}

.final-nav nav {
    display: flex;
    margin: 10px 0; /* Reduced from my-24 (24px) */
}

.final-nav a {
    font-family: "ShermanSans", Verdana, sans-serif;
    font-size: 1.2rem;
    color: var(--dark-blue);
    text-decoration: none;
    padding: 4px 12px;
}

/* Skip to Content (keep minimal impact) */
.skip-to-content {
    position: absolute;
    top: 0;
    left: 0;
}

/* Final Content */
.final-content.grid-span-cols {
    flex: 1;
    display: flex;
    /*background-image: url('../../images/campus-drone-colors.jpg');*/
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.final-content-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-end;
    width: 100%;
    /*height: 90vh;*/
    background-color: rgba(0, 14, 84, 1);
    gap: 20px; /* Space between rows */
    padding: 0;
}

.final-content-left {
    padding: 3rem;
    text-align: left;
    align-self: flex-start;
    /*align-self: auto;*/
    width: 50%;
}

.final-content-left h3 {
    margin-bottom: 1rem;
}

.final-content-left p {
    font-size: clamp(.5rem, 1.5vw + 1rem, 1rem);
   /*font-size: 1.2rem;*/
}

.letter-button {
    /*background-color: #f76900;*/
    /*background-color: #fff;*/
    /*color: var(--dark-blue);*/
    /*border: 1px solid var(--dark-blue);*/
    background-color: var(--dark-blue);
    color: #fff;
    border: 1px solid #fff;
    font-weight: bold;
    /*color: white !important;*/
    padding: 12px 24px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    cursor: pointer;
    z-index: 100;
    margin-top: 25px !important;
    margin-left: 0;
    width: 78%;
}

.letter-button:hover {
    color: #000e54;
    background-color: #fff;
    /*border: 1px solid var(--dark-orange);*/
}

.letter-button:active {
    /*border: 1px dashed var(--dark-orange);*/
}

.final-content-right {
    margin-right: 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, 1fr);
    gap: 12px;
    padding: 1.5rem;
    text-align: left;
    align-self: flex-end;
    width: 50%;
}

.final-content-box {
    height: 20vh;
    width: 20vw;
    /*display: flex;*/
    flex-direction: column;
    justify-content: left;
    align-items: flex-start;
    background-color: #f0f0f0;
    border: 2px solid #ccc;
    font-family: "ShermanSans", Verdana, sans-serif;
    font-size: 1.15rem;
    color: var(--dark-blue);
    /*padding: 7px;*/
    text-align: center;
    position: relative;
    overflow: hidden;
}
.final-content-box-title {
    /*display: block;*/
    height: 24%;
    /*background: linear-gradient(-180deg, transparent 22% 35%, rgba(255, 255, 255, .5019607843) 45%, rgba(255, 255, 255, .8) 52%, #FFF 59.79%);*/
    background-color: #f0f0f0;
    position: fixed;
    width: 100%;
    bottom: 0;
    left: 0;
    z-index: 4;
    backface-visibility: hidden;
}
.final-content-box img {
    /*position: absolute;*/
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.5;
    object-position: center;
}

.final-content-box a {
    color: var(--dark-blue);
    text-align: left;
    text-decoration: none;
}

.final-content-box-title h2 {
    font-family: SyracuseBlockCndVF, OswaldVF, sans-serif;
    position: fixed;
    bottom: 0;
    left: 5px;
    /*z-index: 2;*/
    font-size: 2rem;
    line-height: 2.5rem;
    color: var(--orange);
    -webkit-backface-visibility:  hidden;
    backface-visibility: hidden;
}

.content-box-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.5);
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.content-box-overlay:hover {
    opacity: 1;
}
.content-box-overlay p {
    font-family: "ShermanSans", Verdana, sans-serif;
    font-size: .5rem;
    color: var(--dark-blue);
    margin: 0;
    position: relative;
    z-index: 2;
}
/* Chevron Icon */
.chevron-icon {
    position: relative;
    line-height: unset;
    /*right: 10px;*/
    left: 0;
    top: -3px;
    font-size: 1.5rem;
    color: var(--orange);
    margin-left: 10px;
    opacity: 0; /* Hidden by default */
    transition: opacity 0.3s ease; /* Smooth fade-in */
}

.final-content-box:hover .chevron-icon {
    opacity: 1; /* Visible on hover */
}

.card-body .chevron-icon {
    top: 0;
}
.card-body:hover .chevron-icon {
    opacity: 1; /* Visible on hover */
}

.final-content-box h3 {
    font-family: "ShermanSans", Verdana, sans-serif;
    font-size: 1rem;
    color: var(--dark-blue);
    margin: 0;
    position: relative;
    z-index: 2;
}

.thumbnail-row {
    display: flex; /* Horizontal layout for thumbnail and quote */
    flex-direction: column;
    align-items: center; /* Vertically center contents */
    padding: 1.5rem;
    background-color: #FFFFFF;
    gap: 15px; /* Space between thumbnail and quote */
    width: 50%; /* Set to 50% width */
    max-width: none; /* Remove max-width constraint */
}

.thumbnail-container {
    flex-shrink: 0; /* Prevent thumbnail from shrinking */
    /*background-color: var(--dark-blue);*/
    cursor: pointer;
}

.thumbnail-img {
    width: 150px; /* Fixed width for thumbnails */
    height: auto;
    border: 2px solid var(--orange);
    border-radius: 8px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.thumbnail-container:hover .thumbnail-img {
    transform: scale(1.05);
    border-color: var(--dark-blue);
}

.pull-quote {
    font-family: "ShermanSans", Verdana, sans-serif;
    font-size: 1rem;
    color: var(--dark-blue);
    margin: 0;
    flex: 1; /* Allow quote to take remaining space */
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.letter-content {
    margin: 0 auto;
    padding: 2rem;
    width: 80%;
    max-width: 700px;
    background-color: #fff;
    border: 1px solid #ccc;
    font-family: "ShermanSans", Verdana, sans-serif;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
}

.letter-content p {
    margin: 0 0 1rem 0; /* Space between paragraphs */
}

.letter-content li {
    font-size: 1.5rem;
    margin-left: 2.5rem; /* Indent list items */
}

.letter-thumbnail {
    float: left; /* Float image to the left */
    width: 150px; /* Fixed width */
    height: auto;
    margin: 0 15px 15px 0; /* Space around image: right and bottom */
    border: 1px solid #ccc; /* Subtle border */
}

.letter-content::after {
    content: "";
    display: table;
    clear: both;
}
.signature {
    width: 30%;
}

.video-content {
    margin: 0 auto;
    width: 80%;
    max-width: 800px; /* Larger for video */
    height: 450px; /* Fixed height for 16:9 aspect ratio */
    background-color: #000; /* Black background for video */
}

.video-content iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.flip-card {
    background-color: #FFFFFF;
    perspective: 1000px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
    transform-style: preserve-3d;
    transition: all 1s ease;
}

.flip-card-front{
    position: absolute;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.flip-card-back {
    position: absolute;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.flip-card-back {
    width: 100%;
    height: 100%;
    padding: 10px;
    background-color: #FFFFFF;
    /*font-size: 16px; !important;*/
    transform: rotateY(180deg);
    transition: all 1s ease;
    display: flex;
    align-items: center;
    backface-visibility: hidden;
    z-index: 5;
}

.flip-card-back p {
    font-size: clamp(.5rem, 2vw, .9rem);
    vertical-align: center;
}

.flip-card-back > p > .right-chevrons {
    height: 30px;
}