/* ------------------------------
   General
------------------------------ */
@import url('https://fonts.googleapis.com/css2?family=Satisfy&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Courgette&display=swap');


* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Playfair Display", serif;
    background: #B9DEE6;
    color: #1B172E;
}

p {
    line-height: 1.3;
    margin: 0 0 8px;
}

/* ------------------------------
   Navigation
------------------------------ */

.navbar {
    height: 90px;
    padding: 20px 90px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: #B9DEE6;
    border-top: 7px double #22165f;
    border-bottom: 7px double #22165f;

    position: relative;

    transition:
        height 0.4s ease,
        padding 0.4s ease,
        opacity 0.4s ease;
}

.logo img {
    height: 70px;
    width: 100px;
    object-fit: contain;
    display: block;

    transition:
        height 0.4s ease,
        width 0.4s ease;
}

nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 60px;
    flex-shrink: 0;
}

nav a {
    text-decoration: none;
    color: #1B172E;
    font-family: Bodoni 72, sans-serif;
    font-size: 25px;

    transition:
        font-size 0.4s ease,
        color 0.2s ease;
}

nav a:hover {
    color: #C43744;
    text-decoration: underline;
    text-decoration-color: #C43744;
    text-decoration-thickness: 2px;
    text-underline-offset: 6px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 60px;
}

.nav-links > a,
.nav-links > .dropdown > a {
    text-decoration: none;
    color: #1B172E;
    font-family: "Bodoni 72", sans-serif;
    font-size: 25px;
    white-space: nowrap;

    transition:
        font-size 0.4s ease,
        color 0.2s ease;
}

.nav-links > a:hover,
.nav-links > .dropdown > a:hover {
    color: #C43744;
    text-decoration: underline;
    text-decoration-color: #C43744;
    text-decoration-thickness: 2px;
    text-underline-offset: 6px;
}

.navbar .nav-links {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 650px;
}
/* =========================
   INSTAGRAM NAV ICON
========================= */

.nav-instagram {
    margin-left: 70px;

    color: #231081;

    font-size: 24px;

    text-decoration: none;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.nav-instagram:hover {
    color: #C43744;
    transform: translateY(-2px);
}

/* ------------------------------
   Shrinking navbar
------------------------------ */
.navbar.scrolled .nav-links {
    width: 450px;
    height:50px;
}

.navbar.scrolled .nav-links a {
    font-size: 20px;
}

/* ------------------------------
   Hide navbar
------------------------------ */

.navbar.hidden {
    opacity: 0;
    transform: translateY(-100%);
    pointer-events: none;
}


/* Resources Dropdown */

.dropdown {
    position: relative;
}

/* Hide the dropdown by default */
.dropdown-menu {
    display: none;

    position: absolute;
    top: 100%;
    left: 0;

    width: max-content;
    min-width: 0;

    background-color: #B9DEE6;
    
    border: 0.3px dotted #252525;
    padding: 2px 0;

    z-index: 1000;
}

/* Style links inside dropdown */

.dropdown-menu a {
    display: block;
    padding: 12px 18px;
    white-space: nowrap;

    color: #252525;
    background-color: transparent;

    text-decoration: none;
    font-size:18px;
}
/* SHOW DROPDOWN WHEN HOVERING */
.dropdown:hover .dropdown-menu {
    display: block;
}

/* DROPDOWN HOVER */
.dropdown-menu a:hover {
    background-color: #DCF5FA;
    color: #C43744;
}

/* HERO */

.hero {
    position: relative;
    width: 100%;
    min-height: 550px;
    display: flex;
    overflow: hidden;
    background: #B9DEE6;
}

.hero-text {
    position: relative;

    width: 40%;
    flex: 0 0 40%;
    max-width: 40%;

    min-height: 550px;
    box-sizing: border-box;

    padding: 50px 45px 60px 6%;

    display: flex;
    flex-direction: column;
    justify-content: center;

    background: hsl(220, 44%, 87%, 0.8);
    background-image: url("images/bryn_mawr_tango_twinkle_prominent.gif");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    

    z-index: 2;
    overflow: hidden;
}
    
.hero-text p {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 100%;
    box-sizing: border-box;

    font-size: clamp(24px, 2.5vw, 36px);
    line-height: 1.2;

    text-align: left;
    white-space: normal;

    margin: 30px 0 40px;
}



.hero-image {
    position: relative;

    width: 60%;
    flex: 0 0 60%;
    max-width: 60%;

    min-height: 550px;

    overflow: hidden;
    z-index: 1;
}

.hero-background {
    position: absolute;

    top: 0;
    right: 0;
    bottom: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
/* =========================
   HERO SCROLL ARROW
========================= */

.hero-scroll-arrow {
    position: absolute;

    left: 50%;

    bottom: 30px;

    transform: translateX(-50%);

    z-index: 10;
}

.hero-scroll-arrow a {
    position: relative;

    display: flex;

    flex-direction: column;

    align-items: center;

    color: #22165f;

    text-decoration: none;
}


/* Large arrow */

.hero-scroll-arrow .arrow {
    display: block;

    font-family: Georgia, serif;
    text-shadow: 2px 2px 5px #2095AD;

    font-size: 60px;

    font-weight: 400;

    line-height: 0.8;

    transition:
        color 0.2s ease,
        transform 0.3s ease;
}


/* Tooltip */

.scroll-tooltip {
    position: absolute;

    bottom: 65px;

    left: 50%;

    transform:
        translateX(-50%)
        translateY(5px);

    background: #22165f;

    color: white;

    padding: 8px 14px;

    border-radius: 6px;

    font-family: "Bodoni 72", Georgia, serif;

    font-size: 14px;

    font-weight: 500;

    white-space: nowrap;

    opacity: 0;

    visibility: hidden;

    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}


/* Tooltip triangle */

.scroll-tooltip::after {
    content: "";

    position: absolute;

    top: 100%;

    left: 50%;

    transform: translateX(-50%);

    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #22165f;
}


/* Hover */

.hero-scroll-arrow a:hover .arrow {
    color: #C43744;

    transform: translateY(8px);
}

.hero-scroll-arrow a:hover .scroll-tooltip {
    opacity: 1;

    visibility: visible;

    transform:
        translateX(-50%)
        translateY(0);
}

/*Photo Strip Section*/

.photo-strip-section {
    padding: 2px 0;
    background: #B9DEE6;
    overflow: hidden;
    border-top: 5px double #231081;
    border-bottom: 5px double #231081;
}

.photo-strip-section h2 {
    text-align: center;
    color: #231081;
    margin-bottom: 35px;
}

.photo-strip {
    width: 100%;
    overflow: hidden;
    background: #000000;
    padding: 25px 0;
}

.photo-track {
    display: flex;
    gap: 20px;
    width: max-content;

    animation: scroll-photos 90s linear infinite;
}

/* Pause the photo strip when hovering */
.photo-track:hover {
    animation-play-state: paused;
}

.photo-track img {
    width: 280px;
    height: 200px;

    object-fit: cover;
    border-radius: 8px;

    flex-shrink: 0;
    display: block;
}

.photo-track video {
    width: 280px;
    height: 200px;
    object-fit: cover;
    flex-shrink: 0;
    display: block;
}

@keyframes scroll-photos {

    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }

}

/* Small uppercase labels */

.eyebrow {
    font-family: Bodoni 72, sans-serif;
    font-size: 20px;
    letter-spacing: 3px;
    font-weight: bold;
}


/* Main heading */

.hero h1 {
    color: #231081;
    font-family: "Bodoni 72", Georgia, serif;
    font-size: 82px;
    font-weight: 800;
    letter-spacing: 2px;

    width: 100%;
    max-width: 100%;
    box-sizing: border-box;

    white-space: normal;
    overflow-wrap: break-word;

    text-shadow:
        2px 3px 4px rgba(196, 55, 68, 0.45);
}


/* Hero description */

.hero-text p {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 100%;
    box-sizing: border-box;

    font-family: 'Satisfy', cursive;
    font-size: clamp(32px, 3.5vw, 50px);
    line-height: 1.2;

    text-align: left;
    white-space: normal;
    overflow-wrap: break-word;

    margin: 30px 0 40px;
}
.hero-dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);

    display: flex;
    gap: 9px;

    z-index: 3;
}

.hero-dots button {
    width: 8px;
    height: 8px;

    padding: 0;
    border: 1px solid #22165f;
    border-radius: 50%;

    background: transparent;
    cursor: pointer;

    transition: all 0.2s ease;
}

.hero-dots button:hover {
    transform: scale(1.3);
}

.hero-dots button.active {
    background: #C43744;
}

/* ------------------------------
   Buttons
------------------------------ */


.hero-buttons {
    margin-top: 30px;
    display: flex;
    gap: 30px;
}

.button {
    display: inline-block;
    align-items:center;
    justify-content: center;

    padding: 18px 30px;
    background: #2095AD;
    border: 5px double #4B0054;
    color: #f9caa9;
    text-decoration: none;
    font-family: "Bodoni 72", serif;
    font-size: 20px;
    line-height: 1.1;
    max-height: fit-content;
    width:180px;
    box-sizing: border-box;
    text-align: left;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease,
        color 0.25s ease;
}

.button:first-child {
    background: #2095AD;
    border: 5px double #4B0054;
    max-width: fit-content;
}

.button:last-child {
    background: transparent;
    color: #4B0054;
    border: 5px double #4B0054;
}

/* About Us */
.button:first-child:hover {
    background: #4B0054;
    transform: translateY(-4px);
    box-shadow: 0 8px 18px rgba(87, 59, 226, 0.262);
}

/* Join Us */
.button:last-child:hover {
    background: #4B0054;
    color: #f9caa9;
    border-color: #4B0054;
    transform: translateY(-4px);
    box-shadow: 0 8px 18px rgba(87, 59, 226, 0.262);
}

.button::after 
{ content: "→"; 
    display: inline-block; 

    margin-left: 12px; 
    font-size:16px;
    line-height: 1;

    opacity: 0; 
    transform: scale(0); 

    transition: opacity 0.15s ease, 
    transform 0.2s ease; 
}

.button:hover::after {
    opacity: 1;
    transform: scale(1.1);
}

/* =========================
   Reusable SITE BUTTON
========================= */

.site-button {
    display: inline-block;

    color: #C43744;

    font-family: "Bodoni 72", Georgia, serif;
    font-size: 16px;

    background: transparent;

    border: 5px double #231081;

    padding: 10px;

    text-decoration: none;

    transition:
        color 0.2s ease,
        background 0.2s ease;
}


/* Hover */

.site-button:hover {
    color: #231081;
    background: #9be3f2;
}


/* Arrow is completely hidden */

.site-button::after {
    content: " →";

    display: inline-block;

    opacity: 0;

    width: 0;

    transform: scale(0);

    transition:
        opacity 0.2s ease,
        transform 0.2s ease,
        width 0.2s ease;
}


/* Arrow pops out */

.site-button:hover::after {
    opacity: 1;

    width: auto;

    transform: scale(1);
}


/* ------------------------------
   Intro
------------------------------ */

.intro {
    max-width: 850px;
    margin: auto;

    padding: 50px 30px;

    text-align: center;
}

.intro h2,
.club-intro h2 {
    font-size: 45px;
    font-family: 'Satisfy', cursive;
    color: #22165f;
    font-weight: normal;
}

.intro p:not(.eyebrow),
.club-intro p:not(.eyebrow) {
    font-family: Bodoni 72, sans-serif;
    color: #22165f;
    line-height: 1.7;
    font-size: 22px;
}


/* Links */

.text-link {
    display: inline-block;

    margin-top: 15px;
    border:double 2px #22165f;
    background:#a7d0f6;
    padding:5px;

    color: #252525;

    font-family: Bodoni 72, sans-serif;
    font-size:20px;
    font-weight: bold;

    text-decoration: none;
}

.text-link:hover {
    text-decoration: underline;
    background: #e7b7eb;
    border: 0.3px dotted #4f78a0;
    padding:5px;
    border-color: #49147a;
    color: #1B172E;
}

/* ------------------------------
   Club Introduction
------------------------------ */

.club-intro {
    padding: 100px 10%;

    background: #ced8ec;
    border-bottom: 3px dotted #252525;
}

.club-intro > div {
    max-width: 750px;
}

/* =========================
   COMMUNITY FAQ
========================= */

.community-faq {
    width: 100%;
    max-width: 950px;
    margin: 45px 0 40px;
}


/* =========================
   FAQ ITEM
========================= */

.faq-item {
    margin-bottom: 12px;
    border: 2px solid #231081;
    border-radius: 8px;
    overflow: hidden;
    background: #B9DEE6;
}


/* =========================
   QUESTION BUTTON
========================= */

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 22px;
    border: none;
    background: #B9DEE6;
    color: #231081;
    font-family: "Bodoni 72", Georgia, serif;
    font-size: 22px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.faq-question:hover {
    background: #a7d0f6;
    color: #C43744;
}


/* =========================
   PLUS / MINUS
========================= */

.faq-icon {
    flex-shrink: 0;
    margin-left: 20px;
    color: #C43744;
    font-family: Georgia, serif;
    font-size: 28px;
    font-weight: 400;
    transition: transform 0.25s ease;
}


/* =========================
   FAQ ANSWER
========================= */

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 22px;
    color: #231081;
    font-family: "Bodoni 72", Georgia, serif;
    font-size: 18px;
    line-height: 1.5;
    transition: max-height 0.4s ease, padding 0.4s ease;
}


/* =========================
   OPEN FAQ
========================= */

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 15px 22px 20px;
}


/* =========================
   PARAGRAPHS
========================= */

.faq-answer p {
    margin: 0 0 15px;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}


/* =========================
   OPEN ICON
========================= */

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}
/* =========================
   About Us Page
   ========================= */

.page {
    max-width: 1300px;
    margin: 0 auto;
    padding: 60px 20px;
    margin-bottom:10px;
}

.page h1 {
    font-size: 64px;
    font-family: 'Satisfy', cursive;
}

.page h2 {
    font-size: 45px;
    font-family: 'Satisfy', cursive;
}
.page h3 {
    font-size: 20px;
    font-family: 'Courgette', cursive;
    margin-top:2px;
    color: #C43744;
}

.page h4{
    font-size:30px;
    font-family: 'Satisfy', cursive;
    margin:none;
    margin: 0 0 2px;
}

.page p {
    font-size: 20px;
    line-height: 1.3;
    color: #231081;
    font-family: "Bodoni 72", Georgia, serif;
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    width: min(1200px, 92%);
    margin: 40px auto 0;
    
}

.team-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    
    box-sizing: border-box;
    width: 100%;
    min-width: 0;

    padding: 0 20px 30px;
}


/* ------------------------------
   Team Photo
------------------------------ */

.team-card img {
    width: 100%;
    max-width: 250px;
    height: 250px;

    object-fit: cover;

    border-radius: 10px;

    display: block;

    margin-bottom: 15px;
}

/* ------------------------------
   Jules Photo Slideshow
------------------------------ */

.team-photo.slideshow {
    width: 250px;
    height: 250px;

    position: relative;
    overflow: hidden;

    border-radius: 18px;

    margin: 0 auto 15px;

    flex-shrink: 0;
}

.team-photo.slideshow img {
    position: absolute;

    top: 0;
    left: 0;

    width: 250px !important;
    height: 250px !important;

    max-width: none !important;

    object-fit: cover;

    border-radius: 10px;

    margin: 0;

    opacity: 0;
    transition: opacity 0.8s ease;
}

.team-photo.slideshow img:first-child {
    opacity: 1;
}



/* ------------------------------
   Scrollable Bio
------------------------------ */

.bio-scroll {
    width: 100%;
    height: 250px;

    overflow-y: auto;

    box-sizing: border-box;
    padding: 0 15px;

    color: #231081;
    font-family: "Bodoni 72", Georgia, serif;
    font-size: 18px;
    line-height: 1.3;

    text-align: left;
}

/* Make the scroll area expand with it */
.bio-container:hover .bio-scroll {
    height: 300px;
}

/* Make the basic info smaller when hovering */
.bio-container:hover .bio-scroll h5 {
    font-size: 13px;
    margin: 2px 0;
    transition: font-size 0.25s ease, margin 0.25s ease;
}

.bio-container:hover .bio-scroll .about-label {
    margin-top: 10px;
    margin-bottom: 3px;
}


/* =========================
   SUBTLE SCROLLBAR
========================= */

.bio-scroll::-webkit-scrollbar {
    width: 6px;
}

.bio-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.bio-scroll::-webkit-scrollbar-thumb {
    background: rgba(35, 16, 129, 0.25);

    border-radius: 10px;
}

.bio-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(35, 16, 129, 0.45);
}


/* ------------------------------
   Bio Headings
------------------------------ */

.bio-scroll h5 {
    color: #231081;
    font-family: "Bodoni 72", Georgia, serif;
    font-size: 18px;
    font-weight: 400;
    text-align: center;

    margin: 4px 0;

    transition: font-size 0.25s ease, margin 0.25s ease;
}

.bio-scroll h5 strong {
    font-weight: 600;
    font-family: 'Courgette', cursive;
}


/* Make basic info smaller when hovering */
.bio-container:hover .bio-scroll h5:not(.about-label) {
    font-size: 14px;
    margin: 2px 0;
}


/* About Me */
.bio-scroll .about-label {
    font-family: 'Courgette', cursive;
    font-size: 20px;

    margin-top: 12px;
    margin-bottom: 4px;
}


/* ------------------------------
   Fixed Scroll Hint
------------------------------ */

.bio-expand-button {
    height: 35px;
    background-color: #a3d2f1;
    margin: 0 auto;
    width:fit-content;
    padding:0 18px;
    border: dotted #1B172E 2px;

    display: flex;
    align-items: center;
    justify-content: center;

    color:#231081 ;

    font-family: "Bodoni 72", Georgia, serif;
    font-size: 13px;

    border-top: 1px solid #231081;

    margin-top: 2px;
}

/* ------------------------------
   View More Button
------------------------------ */

.bio-expand-text {
    display: block;
    margin: 8px auto 0;

    text-align: center;

    color: #C43744;
    font-family: "Bodoni 72", Georgia, serif;
    font-size: 13px;

    cursor: pointer;

    transition: color 0.2s ease, transform 0.2s ease;
}

.bio-expand-text:hover {
    color: #231081;
    transform: translateY(-2px);
}

/* ========================s=
   Past Events Page
   ========================= */
.past-events-button {
    display: inline-block;
    padding: 16px 30px;
    background-color: #4B0054;
    color: #f9caa9;
    text-decoration: none;
    font-family: "Bodoni 72", serif;
    font-size: 20px;
    transition: background-color 0.2s ease;
}

.past-events-button:hover {
     background-color: #2095AD;
    color:#4B0054;
}

/* =========================
   Slideshow Gallery in Past Events Page
   ========================= */

.slideshow {
    position: relative;
    max-width: 900px;
    height: 500px;
    margin: 0 auto;
    overflow: hidden;
    background: #B9DEE6;
}

.slide-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

.slide-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    width: 50px;
    height: 50px;

    border: none;
    background: hsla(190, 69%, 40%, 0.75);
    color: white;

    font-size: 35px;
    cursor: pointer;
    z-index: 2;

    transition: background-color 0.2s ease;
}

.slide-button:hover {
    background: #C43744;
}

.slide-button.prev {
    left: 15px;
}

.slide-button.next {
    right: 15px;
}

/* =========================================================
   RESOURCES PAGE
========================================================= */

.resources-page {
    width: 100%;
    min-height: 100vh;

    box-sizing: border-box;

    padding: 55px 4% 80px;

    background-color: #B9DEE6;

    /* Prominent animated sparkle background */
    background-image: url("images/bryn_mawr_tango_twinkle_prominent.gif");
    background-repeat: repeat;
    background-size: 650px auto;
    background-position: center;

    overflow-x: hidden;
}


/* =========================================================
   RESOURCES HEADER
========================================================= */

.resources-header {

    width: 100%;
    max-width: 1000px;

    margin: 0 auto 45px;

    text-align: center;
}


.resources-header h1 {

    margin: 0;

    color: #231081;

    font-family: "Bodoni 72", Georgia, serif;

    font-size: clamp(55px, 6vw, 85px);

    font-weight: 800;

    line-height: 0.95;

    letter-spacing: 1px;

    text-shadow:
        2px 3px 4px rgba(196, 55, 68, 0.35);
}


.resources-header h1::after {

    content: "";

    display: block;

    width: 395px;
    max-width: 75%;

    height: 2px;

    margin: 28px auto 18px;

    background: #C43744;
}


.resources-header p {

    margin: 0 auto;

    color: #22165f;

    font-family: "Satisfy", cursive;

    font-size: clamp(24px, 2.5vw, 32px);

    line-height: 1.2;

    text-align: center;
}


/* =========================================================
   RESOURCE GRID
========================================================= */

.resources-grid {

    width: 100%;
    max-width: 1450px;

    margin: 0 auto;

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 24px;

    align-items: stretch;
}


/* =========================================================
   RESOURCE CARD
========================================================= */

.resource-card {

    position: relative;

    display: flex;
    flex-direction: column;

    background: #F8F1E5;

    border-radius: 22px;

    overflow: hidden;

    cursor: pointer;

    box-shadow:
        0 8px 20px rgba(35, 16, 129, 0.12);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


.resource-card:hover {

    transform: translateY(-7px);

    box-shadow:
        0 16px 32px rgba(35, 16, 129, 0.2);
}


/* =========================================================
   CARD IMAGE
========================================================= */

.resource-image {

    width: 100%;

    height: 235px;

    overflow: hidden;

    background: #2095AD;

    flex-shrink: 0;
}


.resource-image img {

    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: center;

    transition:
        transform 0.5s ease;
}


.resource-card:hover .resource-image img {

    transform: scale(1.05);
}


/* =========================================================
   NUMBER CIRCLE
========================================================= */

.resource-number {

    position: absolute;

    top: 205px;
    left: 50%;

    transform: translateX(-50%);

    width: 58px;
    height: 58px;

    display: flex;

    align-items: center;
    justify-content: center;

    box-sizing: border-box;

    background: #DDEFF3;

    border-radius: 50%;

    color: #231081;

    font-family: "Bodoni 72", Georgia, serif;

    font-size: 20px;

    font-weight: 700;

    z-index: 5;

    box-shadow:
        0 2px 5px rgba(35, 16, 129, 0.08);
}


/* =========================================================
   CARD CONTENT
========================================================= */

.resource-card-content {

    min-height: 275px;

    padding: 45px 24px 25px;

    box-sizing: border-box;

    display: flex;

    flex-direction: column;

    align-items: center;

    text-align: center;

    background: #F8F1E5;
}


.resource-card-content h2 {

    margin: 0;

    color: #231081;

    font-family: 'Courgette', cursive;

    font-size: clamp(25px, 2vw, 31px);

    font-weight: 700;

    line-height: 1.05;

    text-align: center;
}


.resource-card-content h3 {

    margin: 10px 0 15px;

    color: #22165f;

    font-family: "Bodoni 72", Georgia, serif;

    font-size: 14px;

    font-weight: 500;

    letter-spacing: 1.5px;

    line-height: 1.2;

    text-align: center;
}


.resource-small-divider {

    width: 65px;

    height: 2px;

    margin: 0 auto 18px;

    background: #C43744;

    flex-shrink: 0;
}


.resource-card-content p {

    width: 100%;
    max-width: 260px;

    margin: 0 auto;

    color: #22165f;

    font-family: Arial, sans-serif;

    font-size: 15px;

    line-height: 1.5;

    text-align: center;
}


/* =========================================================
   CLICK TO EXPLORE
========================================================= */

.resource-explore {

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 14px;

    margin-top: auto;

    padding-top: 22px;

    color: #9E202B;

    font-family: "Bodoni 72", Georgia, serif;

    font-size: 17px;

    font-weight: 700;

    white-space: nowrap;
}


.resource-explore span {

    display: inline-block;

    font-size: 30px;

    line-height: 1;

    transition:
        transform 0.25s ease;
}


.resource-card:hover .resource-explore span {

    transform: translateX(7px);
}


/* =========================================================
   BOTTOM DECORATION
========================================================= */

.resources-bottom {

    width: 100%;
    max-width: 1050px;

    margin: 35px auto 0;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 25px;

    text-align: center;
}


.resources-bottom::before,
.resources-bottom::after {

    content: "";

    flex: 1;

    max-width: 230px;

    border-top: 4px dotted #231081;
}


.resources-bottom p {

    margin: 0;

    color: #22165f;

    font-family: "Satisfy", cursive;

    font-size: 22px;

    line-height: 1.2;

    white-space: nowrap;
}


/* =========================================================
   RESOURCE MODAL — OVERLAY
========================================================= */

.resource-modal {

    position: fixed;

    inset: 0;

    z-index: 9999;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 25px;

    box-sizing: border-box;

    background: rgba(74, 170, 186, 0.48);

    backdrop-filter: blur(3px);

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease;
}


/* OPEN */

.resource-modal.active {

    opacity: 1;

    visibility: visible;

    pointer-events: auto;
}


/* =========================================================
   MODAL BOX
========================================================= */

.modal-content {
    position: relative;

    width: min(700px, 90vw);
    max-height: 700px;

    box-sizing: border-box;
    padding: 45px 50px;

    overflow-y: auto;

    /* Your actual sparkle GIF */
    background-color: #B9DEE6;
    background-image: url("images/bryn_mawr_tango_twinkle_prominent.gif");
    background-repeat: repeat;
    background-size: 650px auto;
    background-position: center;

    /* Border */
    border: 8px double #231081;
    border-radius: 6px;

    box-shadow:
        0 20px 50px rgba(35, 16, 129, 0.35);

    transform: translateY(20px);

    transition:
        transform 0.25s ease;

    text-align: center;
}


/* POPUP ANIMATION */

.resource-modal.active .modal-content {

    transform: translateY(0);
}


/* =========================================================
   MODAL SCROLLBAR
========================================================= */

.modal-content::-webkit-scrollbar {

    width: 10px;
}


.modal-content::-webkit-scrollbar-track {

    background: hsla(190, 69%, 40%, 0.08);
}


.modal-content::-webkit-scrollbar-thumb {

    background: #231081;

    border-radius: 5px;
}


.modal-content::-webkit-scrollbar-thumb:hover {

    background: #C43744;
}


/* =========================================================
   MODAL TITLE
========================================================= */

.modal-content h2 {

    margin: 0 0 20px;

    color: #231081;

    font-family: 'Courgette', cursive;

    font-size: 42px;

    line-height: 1.05;

    text-align: center;
}


.modal-content h3 {

    margin: 0 0 25px;

    color: #C43744;

    font-family: "Bodoni 72", Georgia, serif;

    font-size: 14px;

    letter-spacing: 1.5px;

    text-align: center;
}


/* =========================================================
   MODAL TEXT
========================================================= */

.modal-content p {

    color: #22165f;

    font-family: "Bodoni 72", Georgia, serif;

    font-size: 22px;

    line-height: 1.6;

    font-weight: 200;

    text-align: left;

    margin: 20px 0;
}


/* =========================================================
   MODAL LINKS
========================================================= */

.modal-content a {

    display: block;

    color: #9E202B;

    font-family: "Bodoni 72", Georgia, serif;

    font-size: 19px;

    font-weight: 600;

    text-decoration: none;

    margin: 14px 0;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}


.modal-content a:hover {

    color: #231081;

    transform: translateX(5px);
}


/* =========================================================
   MODAL CLOSE BUTTON
========================================================= */

.modal-close {

    position: absolute;

    top: 12px;
    right: 18px;

    width: 38px;
    height: 38px;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 0;

    border: none;

    background: transparent;

    color: #231081;

    font-family: Georgia, serif;

    font-size: 30px;

    line-height: 1;

    cursor: pointer;

    z-index: 10;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}


.modal-close:hover {

    color: #C43744;

    transform: rotate(90deg);
}


/* =========================================================
   PREVENT BACKGROUND SCROLL
========================================================= */

body.modal-open {

    overflow: hidden;
}


/* =========================================================
   RESPONSIVE — TABLET
========================================================= */

@media (max-width: 1100px) {

    .resources-page {

        padding-left: 3%;
        padding-right: 3%;

    }

    .resources-grid {

        grid-template-columns: repeat(2, 1fr);

        gap: 25px;

    }

    .resource-image {

        height: 260px;

    }

    .resource-number {

        top: 230px;

    }

}


/* =========================================================
   RESPONSIVE — PHONE
========================================================= */

@media (max-width: 650px) {

    .resources-page {

        padding: 40px 20px 60px;

    }

    .resources-header {

        margin-bottom: 35px;

    }

    .resources-header h1 {

        font-size: 58px;

    }

    .resources-header h1::after {

        width: 220px;

        margin-top: 22px;

        margin-bottom: 15px;

    }

    .resources-header p {

        font-size: 24px;

    }

    .resources-grid {

        grid-template-columns: 1fr;

        gap: 25px;

    }

    .resource-image {

        height: 250px;

    }

    .resource-number {

        top: 220px;

    }

    .resource-card-content {

        min-height: 260px;

        padding-left: 30px;

        padding-right: 30px;

    }

    .resource-card-content h2 {

        font-size: 30px;

    }

    .resources-bottom {

        gap: 10px;

    }

    .resources-bottom::before,
    .resources-bottom::after {

        display: none;

    }

    .resources-bottom p {

        white-space: normal;

        font-size: 21px;

    }

    .resource-modal {

        padding: 15px;

    }

    .modal-content {

        width: 95vw;

        max-height: 85vh;

        padding: 40px 25px 30px;

    }

    .modal-content h2 {

        font-size: 32px;

    }

}


.resource-modal-close:hover {
    color: #C43744;

    transform: rotate(90deg);
}


/* =========================================================
   RESPONSIVE — TABLET
========================================================= */

@media (max-width: 1100px) {

    .resources-page {
        padding-left: 3%;
        padding-right: 3%;
    }

    .resources-grid {
        grid-template-columns: repeat(2, 1fr);

        gap: 25px;
    }

    .resource-image {
        height: 260px;
    }

    .resource-number {
        top: 230px;
    }

}


/* =========================================================
   RESPONSIVE — PHONE
========================================================= */

@media (max-width: 650px) {

    .resources-page {
        padding: 40px 20px 60px;
    }


    .resources-header {
        margin-bottom: 35px;
    }


    .resources-header h1 {
        font-size: 58px;
    }


    .resources-header h1::after {
        width: 220px;

        margin-top: 22px;
        margin-bottom: 15px;
    }


    .resources-header p {
        font-size: 24px;
    }


    .resources-grid {
        grid-template-columns: 1fr;

        gap: 25px;
    }


    .resource-image {
        height: 250px;
    }


    .resource-number {
        top: 220px;
    }


    .resource-card-content {
        min-height: 260px;

        padding-left: 30px;
        padding-right: 30px;
    }


    .resource-card-content h2 {
        font-size: 30px;
    }


    .resources-bottom {
        gap: 10px;
    }


    .resources-bottom::before,
    .resources-bottom::after {
        display: none;
    }


    .resources-bottom p {
        white-space: normal;

        font-size: 21px;
    }


    .resource-modal {
        padding: 15px;
    }


    .resource-modal-content {
        padding: 40px 25px 30px;
    }


    .resource-modal-content h2 {
        font-size: 32px;
    }

}


/* =========================================================
   CODE OF CONDUCT PAGE
========================================================= */

.conduct-page {
    width: min(1100px, 90%);
    margin: 60px auto 80px;

    color: #22165f;
    font-family: "Bodoni 72", Georgia, serif;
}


/* =========================================================
   INTRODUCTION
========================================================= */

.conduct-intro {
    background: #bee1ed;

    border: 2px solid #22165f;

    padding: 35px 50px 40px;

    text-align: center;

    box-sizing: border-box;
}


.conduct-intro h1 {
    margin: 0 0 35px;

    color: #123f69;

    font-family: "Bodoni 72", Georgia, serif;

    font-size: clamp(38px, 5vw, 58px);

    line-height: 1.05;

    font-weight: 700;
}


.conduct-intro p {
    margin: 0 auto;

    max-width: 1000px;

    color: #123f69;

    font-size: clamp(20px, 2.2vw, 27px);

    line-height: 1.65;

    font-weight: 600;
}


/* =========================================================
   DO'S / DON'TS BOXES
========================================================= */

.conduct-box {
    display: grid;

    grid-template-columns: 30% 70%;

    border-left: 2px solid #22165f;
    border-right: 2px solid #22165f;
    border: 2px solid #22165f;

    box-sizing: border-box;
}


/* =========================================================
   LEFT TITLE COLUMN
========================================================= */

.conduct-title {
    display: flex;

    justify-content: center;
    align-items: flex-start;

    padding: 22px 20px;

    border-right: 2px solid #22165f;

    box-sizing: border-box;
}


.conduct-title h2 {
    margin: 0;

    color: #123f69;

    font-family: "Bodoni 72", Georgia, serif;

    font-size: clamp(36px, 4vw, 48px);

    line-height: 1;

    font-weight: 700;
}


/* =========================================================
   LIST AREA
========================================================= */

.conduct-list {
    padding: 15px 35px 20px;

    box-sizing: border-box;
}


.conduct-item {
    display: grid;

    grid-template-columns: 30px 1fr;

    align-items: start;

    column-gap: 10px;

    margin-bottom: 4px;
}


.conduct-item:last-child {
    margin-bottom: 0;
}


.conduct-item .arrow {
    color: #123f69;

    font-size: 27px;

    font-weight: 700;

    line-height: 1.25;
}


.conduct-item p {
    margin: 0;

    color: #123f69;

    font-family: "Bodoni 72", Georgia, serif;

    font-size: clamp(18px, 2vw, 25px);

    line-height: 1.2;

    font-weight: 500;
}


.conduct-item strong {
    font-weight: 800;
}


/* =========================================================
   DO'S COLORS
========================================================= */

.conduct-dos {
    background: #8fd4a7c8;
}


/* =========================================================
   DON'TS COLORS
========================================================= */

.conduct-donts {
    background: #f2cccc;
}


/* =========================================================
   SPACING BETWEEN SECTIONS
========================================================= */

.conduct-intro {
    margin-bottom: 65px;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 750px) {

    .conduct-page {
        width: 92%;

        margin: 35px auto 55px;
    }


    .conduct-intro {
        padding: 28px 22px 30px;

        margin-bottom: 35px;
    }


    .conduct-intro h1 {
        font-size: 36px;

        margin-bottom: 22px;
    }


    .conduct-intro p {
        font-size: 18px;

        line-height: 1.45;
    }


    .conduct-box {
        grid-template-columns: 1fr;
    }


    .conduct-title {
        padding: 20px;

        border-right: none;

        border-bottom: 2px solid #22165f;

        justify-content: flex-start;
    }


    .conduct-title h2 {
        font-size: 34px;
    }


    .conduct-list {
        padding: 20px;
    }


    .conduct-item {
        grid-template-columns: 25px 1fr;

        column-gap: 8px;

        margin-bottom: 10px;
    }


    .conduct-item .arrow {
        font-size: 21px;
    }


    .conduct-item p {
        font-size: 18px;

        line-height: 1.35;
    }

}
/* =========================================================
   Events Page
========================================================= */


.calendar-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px auto 60px;
    padding: 0 20px;
    box-sizing: border-box;
}

.calendar-container iframe {
    display: block;
    width: 100%;
    max-width: 1200px;
    height: 700px;
    border: double 3px #231081;
    box-sizing: border-box;
}
/* =========================================================
   PHILLY TANGO CALENDAR PAGE
========================================================= */

.philly-calendar-container {
    width: 100%;
    min-height: 100vh;
    box-sizing: border-box;

    padding: 65px 6% 90px;

    background-color: #B9DEE6;
    color: #231081;

    text-align: center;
}


/* =========================================================
   MAIN PAGE HEADING
========================================================= */

.philly-calendar-container > h1 {
    margin: 0 0 25px;

    color: #231081;

    font-family: "Satisfy", cursive;
    font-size: clamp(48px, 6vw, 78px);
    font-weight: 400;

    line-height: 1.1;
}


/* =========================================================
   INTRO TEXT
========================================================= */

.philly-calendar-container > p {
    max-width: 900px;

    margin: 0 auto 30px;

    color: #231081;

    font-family: "Bodoni 72", Georgia, serif;
    font-size: clamp(20px, 2vw, 27px);
    line-height: 1.4;

    text-align: center;
}


/* =========================================================
   OPEN PHILLY CALENDAR BUTTON
========================================================= */

.philly-calendar-container .site-button {
    display: inline-block;

    margin: 5px 0 55px;
    padding: 9px 28px;

    color: #C43744;
    background-color: transparent;

    border: double 4px #231081;

    font-family: "Bodoni 72", Georgia, serif;
    font-size: 19px;

    text-decoration: none;

    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

.philly-calendar-container .site-button:hover {
    background-color: #1991AC;
    color: #F8F1E5;

    transform: translateY(-2px);
}




/* =========================================================
   CALENDAR CARD HEADING
========================================================= */

.philly-calendar-container .calendar-card h2 {
    margin: 0 0 15px;

    color: #231081;

    font-family: "Satisfy", cursive;
    font-size: clamp(38px, 4vw, 58px);
    font-weight: 400;

    line-height: 1.1;
}


/* =========================================================
   CALENDAR CARD DESCRIPTION
========================================================= */

.philly-calendar-container .calendar-card > p {
    margin: 0 auto 35px;

    color: #231081;

    font-family: "Bodoni 72", Georgia, serif;
    font-size: clamp(18px, 1.8vw, 23px);
    line-height: 1.4;

    text-align: center;
}


/* =========================================================
   CALENDAR CONTAINER
========================================================= */

.philly-calendar-container .calendar-container {
    width: 100%;

    display: flex;
    justify-content: center;
    align-items: center;

    box-sizing: border-box;

    overflow: hidden;
}


/* =========================================================
   GOOGLE CALENDAR
========================================================= */

.philly-calendar-container .calendar-container iframe {
    display: block;

    width: 100%;
    max-width: 1200px;
    height: 700px;

    border: double 4px #231081;

    background-color: #B9DEE6;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 800px) {

    .philly-calendar-container {
        padding: 45px 5% 60px;
    }

    .philly-calendar-container .calendar-card {
        padding: 30px 15px 35px;
    }

    .philly-calendar-container .calendar-container iframe {
        height: 600px;
    }

}
/* =========================
   NEWS PAGE
========================= */

.news-page {
    max-width: 1150px;
    margin: 0 auto;
    padding: 5px 25px 80px;
}

.news-page h1 {
    color: #231081;
    font-family: 'Satisfy', cursive;
    font-size: 64px;
    text-align: center;
    margin-bottom: 2px;
}

.news-page h2 {
    color: #C43744;
    font-family: 'Courgette', cursive;
    font-size: 20px;
    text-align: center;
    margin-bottom: 15px;
}

.news-page p{
    color: #231081;
    font-family: "Bodoni 72", Georgia, serif;
    font-size: 17px;
    text-align: left;
    padding:10px;
}


/* =========================
   NEWS BOX — TANGO SPARKLES
========================= */
.news-box {
    width: 100%;
    box-sizing: border-box;

    border: 10px double #231081;
    border-radius: 4px;

    background-color: hsla(190, 69%, 40%, 0.06);

    background-image:
        radial-gradient(
            3px 6px at 50% 50%,
            hsla(5, 60%, 55%, 0.55) 0%,
            transparent 70%
        ),
        radial-gradient(
            6px 3px at 50% 50%,
            hsla(5, 60%, 55%, 0.55) 0%,
            transparent 70%
        ),
        radial-gradient(
            3px 6px at 50% 50%,
            hsla(35, 45%, 75%, 0.65) 0%,
            transparent 70%
        ),
        radial-gradient(
            6px 3px at 50% 50%,
            hsla(35, 45%, 75%, 0.65) 0%,
            transparent 70%
        );

    background-position:
        0 0,
        0 0,
        16px 16px,
        16px 16px;

    background-size:
        32px 32px,
        32px 32px,
        32px 32px,
        32px 32px;

    overflow: hidden;
}

/* =========================
   CATEGORY / YEAR TABS
========================= */

.news-main-tabs {
    display: flex;
    align-items: stretch;

    gap: 25px;

    padding: 20px 25px 0;

    overflow-x: auto;
    white-space: nowrap;

    /* Hide scrollbar but keep scrolling */
    scrollbar-width: thin;
}

.news-main-tabs::-webkit-scrollbar {
    height: 5px;
}

.news-main-tabs::-webkit-scrollbar-track {
    background: transparent;
}

.news-main-tabs::-webkit-scrollbar-thumb {
    background: rgba(35, 16, 129, 0.25);
    border-radius: 10px;
}


.main-tab {
    flex: 0 0 auto;

    border: 3px solid #231081;
    border-radius: 22px;

    background: transparent;

    padding: 20px 20px;

    color: #231081;

    font-family: 'Satisfy', cursive;
    font-size: 27px;

    cursor: pointer;

    white-space: nowrap;

    transition:
        color 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.main-tab:hover {
    color: #C43744;
}

.main-tab.active {
    color: #C43744;
    background: #98c3f4;
    border-color: #231081;
}


/* =========================
   MAIN NEWS SECTIONS
========================= */

/*
   These are the big sections:
   2026–27
   2025–26
   Events
   Club News
*/

.news-section {
    display: none;

    /* Space between tabs and first story */
    padding: 18px 0 10px;
}

.news-section.active {
    display: block;
}


/* =========================
   MONTH TABS
========================= */

.news-date-tabs {
    display: flex;

    gap: 12px;

    padding: 8px 25px 0;

    overflow-x: auto;

    white-space: nowrap;

    scrollbar-width: thin;
}

.news-date-tabs::-webkit-scrollbar {
    height: 5px;
}

.news-date-tabs::-webkit-scrollbar-track {
    background: transparent;
}

.news-date-tabs::-webkit-scrollbar-thumb {
    background: rgba(35, 16, 129, 0.25);
    border-radius: 10px;
}


.date-tab {
    flex: 0 0 auto;

    border: 2px solid #231081;
    border-radius: 5px 5px 0 0;

    background: #98c3f4;

    padding: 9px 22px;

    color: #231081;

    font-family: "Bodoni 72", Georgia, serif;
    font-size: 18px;

    cursor: pointer;

    white-space: nowrap;

    transition:
        color 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}

.date-tab:hover {
    color: #C43744;
}

.date-tab.active {
    color: #C43744;

    background: #cec9f8;

    border-color: #231081;
}


/* =========================
   MONTH NEWS SECTIONS
========================= */

/*
   THIS IS THE IMPORTANT PART.

   Only the selected month appears.
*/

.month-news {
    display: none;
}

.month-news.active {
    display: block;
}


/* =========================
   NEWS STORIES
========================= */

.news-section .news-story {
    margin-bottom: 25px;
}

.news-story {
    display: flex;

    margin: 0 25px 25px;
    padding: 35px;

    background: rgba(167, 208, 246, 0.7);

    border: 3px double #231081;
    border-radius: 18px;

    gap: 50px;

    align-items: flex-start;

    box-sizing: border-box;

    /* Fixed height */
    height: 450px;

    /* Scroll inside story if needed */
    overflow-y: auto;
}

.news-events-story {
    display: flex;

    margin: 0 25px 25px;
    padding: 35px;

    background: #a7d0f6;

    border: 3px double #231081;
    border-radius: 18px;

    gap: 50px;

    align-items: flex-start;

    box-sizing: border-box;

    /* Fixed height */
    height: 700px;

    /* Scroll inside story if needed */
    overflow-y: auto;
}


/* =========================
   SUBTLE STORY SCROLLBAR
========================= */

.news-story::-webkit-scrollbar {
    width: 6px;
}

.news-story::-webkit-scrollbar-track {
    background: transparent;
}

.news-story::-webkit-scrollbar-thumb {
    background: rgba(35, 16, 129, 0.25);
    border-radius: 10px;
}

.news-story::-webkit-scrollbar-thumb:hover {
    background: rgba(35, 16, 129, 0.45);
}


/* =========================
   STORY TEXT
========================= */

.news-story-text {
    flex: 1;
    min-width: 0;
}


/* =========================
   DATE
========================= */

.news-date {
    color: #C43744;

    background-color: #9edcea;

    font-family: "Bodoni 72", Georgia, serif;

    border: 3px double #231081;

    width: max-content;

    padding: 10px;

    font-size: 22px;

    margin: 0 0 8px;
}


/* =========================
   STORY TITLE
========================= */

.news-story h2 {
    color: #231081;

    font-family: 'Satisfy', cursive;

    font-size: 38px;

    font-weight: 400;

    line-height: 1.1;

    margin: 0 0 20px;

    text-align: left;
}


/* =========================
   STORY DESCRIPTION
========================= */

.news-story p:not(.news-date) {
    color: #231081;

    font-family: "Bodoni 72", Georgia, serif;

    font-size: 19px;

    line-height: 1.5;

    margin: 0 0 25px;
}


/* =========================
   READ MORE
========================= */

.news-read-more {
    color: #C43744;

    font-family: "Bodoni 72", Georgia, serif;

    background: transparent;

    border: 5px double #231081;

    padding: 10px;

    font-size: 16px;

    text-decoration: none;

    transition:
        color 0.2s ease,
        background 0.2s ease;
}

.news-read-more:hover {
    color: #231081;

    background: #9be3f2;
}


/* =========================
   STORY IMAGE
========================= */

.news-story-image {
    flex: 0 0 42%;
}

.news-story-image img {
    display: block;

    width: 100%;

    object-fit: content;

    border-radius: 16px;
}


/* =========================================================
   PHONE
========================================================= */

@media (max-width: 700px) {

    .news-page {
        padding: 30px 15px 60px;
    }

    .news-page h1 {
        font-size: 48px;
    }

    .news-page h2 {
        font-size: 18px;
    }


    /* -------------------------
       Category Tabs
    ------------------------- */

    .news-main-tabs {
        gap: 10px;

        padding: 10px 10px 0;

        overflow-x: auto;

        -webkit-overflow-scrolling: touch;
    }

    .main-tab {
        font-size: 20px;

        padding: 12px 20px;

        border-radius: 15px;
    }


    /* -------------------------
       Month Tabs
    ------------------------- */

    .news-date-tabs {
        gap: 7px;

        padding: 8px 10px 0;

        overflow-x: auto;

        -webkit-overflow-scrolling: touch;
    }

    .date-tab {
        font-size: 16px;

        padding: 8px 15px;
    }


    /* -------------------------
       News Story
    ------------------------- */

    .news-story {
        height: 500px;

        padding: 25px;

        margin: 0 15px 15px;

        flex-direction: column;

        align-items: stretch;

        gap: 25px;
    }


    /* -------------------------
       Story Text
    ------------------------- */

    .news-story-text {
        flex: none;

        width: 100%;
    }

    .news-date {
        font-size: 18px;

        padding: 8px;
    }

    .news-story h2 {
        font-size: 30px;

        margin-bottom: 15px;
    }

    .news-story p:not(.news-date) {
        font-size: 17px;

        line-height: 1.45;
    }


    /* -------------------------
       Story Image
    ------------------------- */

    .news-story-image {
        flex: none;

        width: 100%;
    }

    .news-story-image img {
        width: 100%;

        aspect-ratio: 4 / 3;

        border-radius: 12px;
    }


    /* -------------------------
       Read More
    ------------------------- */

    .news-read-more {
        font-size: 14px;

        padding: 8px;
    }
}


/* =========================================================
   VERY SMALL PHONES
========================================================= */

@media (max-width: 400px) {

    .news-page h1 {
        font-size: 42px;
    }

    .main-tab {
        font-size: 18px;

        padding: 8px 13px;
    }

    .date-tab {
        font-size: 15px;

        padding: 7px 12px;
    }

    .news-story {
        height: 480px;

        padding: 20px;
    }

    .news-story h2 {
        font-size: 27px;
    }

    .news-story p:not(.news-date) {
        font-size: 16px;
    }
}

/* =========================
   BEGINNER'S GUIDE TABS
========================= */

.beginner-guide {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 10px 0 60px;
}

.beginner-tabs {
    width: 100%;
    max-width: 1100px;
}


/* =========================
   TAB BUTTONS
========================= */

.tab-buttons {
    display: flex;
    width: 100%;
    border-bottom: 3px solid #231081;
    margin-bottom: 30px;
    gap: 5px;
}

.tab-button {
    flex: 1;
    padding: 15px 18px;

    border: 2px solid #231081;
    border-bottom: none;
    border-radius: 8px 8px 0 0;

    background: #B9DEE6;
    color: #231081;

    font-family: "Bodoni 72", Georgia, serif;
    font-size: 18px;
    font-weight: 600;

    cursor: pointer;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

.tab-button:hover {
    background: #C43744;
    color: white;
}

.tab-button.active {
    background: #231081;
    color: white;
}


/* =========================
   TAB CONTENT
========================= */

.tab-content {
    display: none;
    animation: tabFadeIn 0.35s ease;
}

.tab-content.active {
    display: block;
}

.youtube-video {
    width: 100%;
    max-width: 850px;
    margin: 30px auto;
    aspect-ratio: 16 / 9;
}

.youtube-video iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
}

@keyframes tabFadeIn {

    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* =========================
   GUIDE CONTENT
========================= */

.guide-content {
    width: 100%;
    max-width: 950px;
    margin: 0 auto;
}

.guide-content h2 {
    margin: 0 0 18px;

    color: #231081;

    font-family: "Bodoni 72", Georgia, serif;
    font-size: 32px;
}

.guide-content > p {
    margin: 0 0 30px;

    color: #231081;

    font-family: "Bodoni 72", Georgia, serif;
    font-size: 18px;
    line-height: 1.6;
}


/* =========================
   GUIDE CARDS
========================= */

.guide-card {
    margin-bottom: 15px;
    padding: 20px 24px;

    border: 2px solid #231081;
    border-radius: 8px;

    background: #B9DEE6;
}

.guide-card h3 {
    margin: 0 0 8px;

    color: #231081;

    font-family: "Bodoni 72", Georgia, serif;
    font-size: 22px;
}

.guide-card p {
    margin: 0;

    color: #231081;

    font-family: "Bodoni 72", Georgia, serif;
    font-size: 17px;
    line-height: 1.55;
}


/* =========================
   TANGO LINGO
========================= */

.lingo-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.lingo-item {
    padding: 20px 24px;

    border: 2px solid #231081;
    border-radius: 8px;

    background: #B9DEE6;
}

.lingo-item h3 {
    margin: 0 0 8px;

    color: #C43744;

    font-family: "Bodoni 72", Georgia, serif;
    font-size: 22px;
}

.lingo-item p {
    margin: 0;

    color: #231081;

    font-family: "Bodoni 72", Georgia, serif;
    font-size: 17px;
    line-height: 1.5;
}


/* =========================
   MOBILE TABS
========================= */

@media (max-width: 800px) {

    .tab-buttons {
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 5px;
    }

    .tab-button {
        flex: 0 0 auto;
        white-space: nowrap;
        font-size: 16px;
        padding: 13px 16px;
    }

    .lingo-list {
        grid-template-columns: 1fr;
    }

}

/* =========================
   TANGO MUSIC PAGE
========================= */

.tango-music {
    width: 90%;
    max-width: 1000px;
    margin: 50px auto;
}

.music-intro {
    max-width: 800px;
    margin: 0 auto 45px;
    text-align: left;
    font-family: 'Courgette', cursive;
    font-size: 20px;
    color: #4B0054;
    line-height:1.0;
}


/* =========================
   MUSIC CARD
========================= */

.music-card {
    margin: 35px 0;
    padding: 28px;
    background: #95d9e9;
    border: 2px solid #231081;
    border-radius: 12px;
}

.music-card h2 {
    margin-top: 0;
    margin-bottom: 20px;
    font-family: 'Courgette', cursive;
    font-size: 28px;
    color: #4B0054;
    
}


/* =========================
   SPOTIFY
========================= */

.spotify-player {
    width: 100%;
    margin-bottom: 20px;
}

.spotify-player iframe {
    display: block;
    width: 100%;
    border: none;
    border-radius: 12px;
}


/* =========================
   SCROLLING DESCRIPTION
========================= */

.music-description {
    max-height: 150px;
    overflow-y: auto;

    padding: 15px 20px;

    background: rgba(255, 255, 255, 0.35);
    border: 1px solid #231081;
    border-radius: 8px; 

    color: #231081;

    font-family: "Bodoni 72", Georgia, serif;
    font-size: 17px;
    line-height: 1.1;
}


/* =========================
   SCROLLBAR
========================= */

.music-description::-webkit-scrollbar {
    width: 8px;
}

.music-description::-webkit-scrollbar-track {
    background: transparent;
}

.music-description::-webkit-scrollbar-thumb {
    background: #231081;
    border-radius: 10px;
}

.music-description::-webkit-scrollbar-thumb:hover {
    background: #C43744;
}

/* --------------------------------
   Mailing List Section
-------------------------------- */

.mailing-section {
    width: 100%;
    padding: 30px 10px; /* was 50px */

    box-sizing: border-box;

    background: hsl(245, 73%, 83% 40%);

    display: flex;
    justify-content: center;
    align-items: center;
}


/* --------------------------------
   Main Card
-------------------------------- */

.mailing-card {
    width: min(1100px, 90%);
    box-sizing: border-box;

    padding: 40px 60px 35px; /* was 65px 75px 55px */

    background: #dcecf2;

    border-radius: 22px;

    border: 3px dotted #22165f;

    box-shadow:
        0 12px 30px rgba(34, 22, 95, 0.15);

    text-align: center;

    position: relative;
}


/* --------------------------------
   "STAY IN THE LOOP"
-------------------------------- */

.mailing-kicker {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;

    margin-bottom: 6px; /* was 12px */

    color: #22165f;

    font-family: "Bodoni 72", Georgia, serif;
    font-size: 18px;
    font-weight: 700;

    letter-spacing: 7px;
}

.mailing-kicker span {
    color: #2095ad;
    font-size: 17px;
}


/* --------------------------------
   Heart decoration
-------------------------------- */

.heart-decoration {
    color: #5d9fbe;

    font-size: 24px; /* was 28px */

    margin-bottom: 4px;

    letter-spacing: 5px;
}


/* --------------------------------
   Heading
-------------------------------- */

.mailing-card h2 {
    margin: 0 0 15px; /* was 25px */

    color: #172052;

    font-family: "Bodoni 72", Georgia, serif;

    font-size: clamp(36px, 4.5vw, 56px); /* slightly smaller */

    font-weight: 600;

    line-height: 1.05;
}


/* --------------------------------
   Description
-------------------------------- */

.mailing-description {
    max-width: 780px;

    margin: 0 auto 25px; /* was 40px */

    color: #25365c;

    font-family: "Bodoni 72", Georgia, serif;

    font-size: 20px; /* was 21px */

    line-height: 1.4; /* was 1.55 */
}


/* --------------------------------
   Input layout
-------------------------------- */

.mailing-fields {
    display: flex;

    justify-content: center;

    gap: 18px; /* was 22px */

    width: 100%;

    margin-bottom: 18px; /* was 25px */
}


/* --------------------------------
   Individual input box
-------------------------------- */

.mailing-field {
    flex: 1;

    max-width: 500px;

    height: 60px; /* was 70px */

    display: flex;

    align-items: center;

    box-sizing: border-box;

    padding: 0 18px;

    background: #ffffff;

    border: 2px solid #72a9c7;

    border-radius: 14px;

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}


/* --------------------------------
   Input icons
-------------------------------- */

.field-icon {
    color: #5d91b1;

    font-size: 24px; /* was 28px */

    margin-right: 12px;

    flex-shrink: 0;
}


/* --------------------------------
   Inputs
-------------------------------- */

.mailing-field input {
    width: 100%;

    border: none;

    outline: none;

    background: transparent;

    color: #22165f;

    font-family: "Bodoni 72", Georgia, serif;

    font-size: 19px; /* was 21px */
}

.mailing-field input::placeholder {
    color: #7b8493;

    opacity: 1;
}


/* --------------------------------
   Submit button
-------------------------------- */

.mailing-submit {
    min-width: 360px; /* was 390px */

    padding: 15px 28px; /* was 19px 32px */

    border: none;

    border-radius: 12px;

    background: #4f78a0;

    color: #ffffff;

    font-family: "Bodoni 72", Georgia, serif;

    font-size: 19px;

    font-weight: 700;

    letter-spacing: 2px;

    cursor: pointer;

    box-shadow:
        0 5px 12px rgba(34, 22, 95, 0.18);

    transition:
        background 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


/* --------------------------------
   Bottom heart divider
-------------------------------- */

.heart-divider {
    margin-top: 18px; /* was 30px */

    color: #5d9fbe;

    font-size: 18px;

    letter-spacing: 3px;
}

/* --------------------------------
   Mailing List Success
-------------------------------- */
.mailing-success {
    display: none;
    margin: 15px 0 0;
    color: #22165f;
    font-family: "Bodoni 72", Georgia, serif;
    font-size: 20px;
    font-weight: 700;
}

.mailing-success.show {
    display: block;
}

/* ------------------------------
   Footer
------------------------------ */

footer {
    padding: 50px 8% 30px;

    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto auto;

    align-items: start;

    background: #B9DEE6;
    color: #1B172E;

    border-top: 3px dotted navy;

    margin-top: 20px;

    font-family: "Bodoni 72", Georgia, serif;
    font-size: 15px;

    box-sizing: border-box;
}


/* ------------------------------
   Footer Text
------------------------------ */

footer p {
    margin: 8px 0;
    font-size: 13px;
}


/* ------------------------------
   Left Footer Section
------------------------------ */

.footer-left {
    grid-column: 1;

    text-align: left;

    justify-self: start;
}


/* ------------------------------
   Navigation Links
------------------------------ */

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 20px;

    white-space: nowrap;
}


/* ------------------------------
   Contact Section
------------------------------ */

.contact-footer {
    grid-column: 3;

    text-align: center;

    display: flex;
    flex-direction: column;
    align-items: flex-end;

    justify-self: end;
}

.contact-footer > p {
    font-size: 30px;
    font-weight: 700;

    color: #C43744;

    margin: 0 0 15px;
}


/* ------------------------------
   Footer Social Icons
------------------------------ */

.social-icons {
    display: flex;

    justify-content: flex-end;
    align-items: center;

    gap: 8px;
}

.social-icon {
    position: relative;

    padding: 5px;

    font-size: 50px;

    text-decoration: none;

    color: #231081;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}


/* Small underline */

.social-icon::after {
    content: "";

    position: absolute;

    bottom: -4px;
    left: 50%;

    width: 0;
    height: 2px;

    background: #C43744;

    transform: translateX(-50%);

    transition: width 0.2s ease;
}


/* Icon hover */

.social-icon:hover {
    color: #C43744;

    transform: scale(1.12);
}


/* Underline hover */

.social-icon:hover::after {
    width: 24px;
}


/* ------------------------------
   Tooltip
------------------------------ */

.social-tooltip {
    position: absolute;

    bottom: 120%;
    left: 50%;

    transform: translateX(-50%);

    background: #231081;
    color: white;

    padding: 8px 12px;

    border-radius: 6px;

    font-size: 10px;
    font-weight: 400;

    white-space: nowrap;

    opacity: 0;
    visibility: hidden;

    transition: opacity 0.2s ease;

    z-index: 10;
}

.social-icon:hover .social-tooltip {
    opacity: 1;
    visibility: visible;
}


/* ------------------------------
   Affiliation Notice
------------------------------ */

.affiliation-footer {
    grid-column: 1 / -1;

    width: 100%;

    margin-top: 40px;

    text-align: center;

    justify-self: center;
}

.affiliation-footer > p {
    max-width: 1100px;

    margin: 0 auto;

    font-size: 15px;
    font-weight: 700;

    line-height: 1.4;

    color: #000000;

    text-align: center;
}


/* ------------------------------
   Mobile Footer
------------------------------ */

@media (max-width: 750px) {

    footer {
        grid-template-columns: 1fr;

        gap: 30px;

        padding: 40px 25px 25px;

        text-align: center;
    }

    .footer-left {
        grid-column: 1;

        justify-self: center;

        text-align: center;
    }

    .contact-footer {
        grid-column: 1;

        justify-self: center;
    }

    .nav-links {
        justify-content: center;

        flex-wrap: wrap;

        gap: 15px;
    }

    .affiliation-footer {
        grid-column: 1;

        margin-top: 10px;
    }

    .affiliation-footer > p {
        font-size: 9px;
    }
}

/* =========================================================
   RESPONSIVE DESIGN — TABLET + MOBILE
   ========================================================= */


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {

    /* ------------------------------
       Navigation
    ------------------------------ */

    .navbar {
        padding: 15px 40px;
    }

    nav {
        gap: 35px;
    }

    nav a {
        font-size: 21px;
    }

    .logo img {
        height: 60px;
        width: 85px;
    }


    /* ------------------------------
       Hero
    ------------------------------ */

    .hero {
        min-height: 600px;
    }

    .hero-text {
        padding: 70px 50px;
        max-width: 600px;
    }

    .hero h1 {
        font-size: 60px;
    }

    .hero-text p {
        font-size: 26px;
    }


    /* ------------------------------
       Hero Buttons
    ------------------------------ */

    .hero-buttons {
        gap: 20px;
    }

    .button {
        width: 165px;
        padding: 16px 20px;
        font-size: 19px;
    }


    /* ------------------------------
       Intro
    ------------------------------ */

    .intro {
        padding: 80px 30px;
    }

    .intro h2,
    .club-intro h2 {
        font-size: 40px;
    }


    /* ------------------------------
       Club Introduction
    ------------------------------ */

    .club-intro {
        padding: 80px 8%;
    }


    /* ------------------------------
       About / General Page
    ------------------------------ */

    .page {
        padding: 50px 30px;
    }

    .page h1 {
        font-size: 55px;
    }

    .page h2 {
        font-size: 40px;
    }


    /* ------------------------------
       Team
    ------------------------------ */

    .team-grid {
        width: 95%;
        gap: 30px;
    }


    /* ------------------------------
       Slideshow
    ------------------------------ */

    .slideshow {
        width: min(500px, 90vw);
        height: min(500px, 90vw);
    }


    /* ------------------------------
       Mailing List
    ------------------------------ */

    .mailing-card {
        padding: 55px 50px 45px;
    }

    .mailing-card h2 {
        font-size: 50px;
    }

    .mailing-description {
        font-size: 20px;
    }

    .mailing-fields {
        gap: 15px;
    }

    .mailing-submit {
        min-width: 340px;
    }
    
.mailing-success {
    display: none;
    margin: 15px 0 0;
    color: #22165f;
    font-family: "Bodoni 72", Georgia, serif;
    font-size: 20px;
    font-weight: 700;
}

.mailing-success.show {
    display: block;
}

    /* ------------------------------
       Footer
    ------------------------------ */

    footer {
        padding: 45px 6%;
    }
.last-updated {
    width: 100%;
    text-align: center;
    margin-top: 12px;

    font-family: "Bodoni 72", Georgia, serif;
    font-size: 10px;
    color: #22165f;
    opacity: 0.7;
}
}


/* =========================================================
   PHONE
   ========================================================= */

@media (max-width: 700px) {

    /* ------------------------------
       General
    ------------------------------ */

    body {
        overflow-x: hidden;
    }


    /* ------------------------------
       Navigation
    ------------------------------ */

    .navbar {
        height: auto;

        padding: 15px 20px;

        flex-direction: column;

        gap: 12px;

        text-align: center;
    }

    .logo img {
        height: 55px;
        width: 80px;
    }

    nav {
        width: 100%;

        gap: 15px;

        flex-wrap: wrap;

        justify-content: center;
    }

    nav a {
        font-size: 18px;
    }


    /* ------------------------------
       Shrinking navbar
       Make the mobile version
       shrink too
    ------------------------------ */

    .navbar.scrolled {
        height: auto;

        padding: 8px 15px;

        gap: 5px;
    }

    .navbar.scrolled .logo img {
        height: 35px;
        width: 55px;
    }

    .navbar.scrolled nav {
        gap: 10px;
    }

    .navbar.scrolled nav a {
        font-size: 15px;
    }


    /* ------------------------------
       Resources Dropdown
    ------------------------------ */

    .dropdown-menu {
        left: 50%;

        transform: translateX(-50%);
    }

    .dropdown-menu a {
        font-size: 16px;
    }


    /* ------------------------------
   Hero
------------------------------ */

.hero {
    min-height: auto;
    display: flex;
    flex-direction: column;
}


/* ------------------------------
   Hero Image
------------------------------ */

.hero-image {
    width: 100%;
    height: 55vw;
    min-height: 300px;
    max-height: 450px;

    order: 1;
}

.hero-background {
    inset: 0;

    background-size: cover;
    background-position: center;
}


/* ------------------------------
   Hero Text
------------------------------ */

.hero-text {
    width: 100%;
    max-width: none;

    box-sizing: border-box;

    padding: 55px 25px 80px;

    text-align: center;

    order: 2;
}

.hero h1 {
    font-size: clamp(48px, 14vw, 70px);
    line-height: 0.95;

    margin-bottom: 25px;
}

.hero-text p {
    font-size: 23px;
    line-height: 1.4;
}


/* ------------------------------
   Hero Buttons
------------------------------ */

.hero-buttons {
    flex-direction: column;

    align-items: center;

    gap: 15px;

    margin-top: 25px;
}

.button {
    width: 210px;

    padding: 16px 20px;

    font-size: 20px;

    text-align: center;
}


/* ------------------------------
   Hero Dots
------------------------------ */

.hero-dots {
    position: static;

    margin-top: 30px;

    display: flex;

    justify-content: center;

    gap: 8px;
}

.hero-dots button {
    width: 9px;
    height: 9px;
}


/* ------------------------------
   Scroll Arrow
------------------------------ */

.hero-scroll-arrow {
    display: none;
}
    /* ------------------------------
       Photo Strip
    ------------------------------ */

    .photo-strip {
        padding: 15px 0;
    }

    .photo-track {
        gap: 12px;

        animation-duration: 60s;
    }

    .photo-track img,
    .photo-track video {
        width: 210px;
        height: 150px;
    }


    /* ------------------------------
       Intro
    ------------------------------ */

    .intro {
        padding: 70px 25px;
    }

    .intro h2,
    .club-intro h2 {
        font-size: 36px;

        line-height: 1.1;
    }

    .intro p:not(.eyebrow),
    .club-intro p:not(.eyebrow) {
        font-size: 18px;

        line-height: 1.6;
    }


    /* ------------------------------
       Club Introduction
    ------------------------------ */

    .club-intro {
        padding: 65px 25px;
    }


    /* ------------------------------
       About / General Page
    ------------------------------ */

    .page {
        width: 100%;

        padding: 45px 22px;
    }

    .page h1 {
        font-size: 48px;

        line-height: 1.05;

        text-align: center;
    }

    .page h2 {
        font-size: 35px;

        line-height: 1.1;
    }

    .page p {
        font-size: 18px;

        line-height: 1.6;
    }


    /* ------------------------------
       Team Grid
    ------------------------------ */

    .team-grid {
        width: 100%;

        grid-template-columns: 1fr;

        gap: 45px;

        margin: 30px auto;
    }

    .team-card {
        max-width: 450px;

        margin: 0 auto;
    }

    .team-info h4 {
        font-size: 28px;
    }


    /* ------------------------------
       Past Events
    ------------------------------ */

    .past-events-button {
        font-size: 18px;

        padding: 14px 24px;
    }


    /* ------------------------------
       Slideshow
    ------------------------------ */

    .slideshow {
        width: 90vw;

        height: 90vw;

        max-width: 500px;
        max-height: 500px;
    }

    .slide-button {
        width: 42px;
        height: 42px;

        font-size: 28px;
    }

    .slide-button.prev {
        left: 8px;
    }

    .slide-button.next {
        right: 8px;
    }

    .slide-video {
    display: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

    /* ------------------------------
       Mailing List
    ------------------------------ */

    .mailing-section {
        padding: 50px 15px;
    }

    .mailing-card {
        width: 100%;

        padding: 45px 22px 40px;

        border-radius: 18px;
    }

    .mailing-kicker {
        font-size: 13px;

        letter-spacing: 4px;

        gap: 10px;
    }

    .heart-decoration {
        font-size: 24px;
    }

    .mailing-card h2 {
        font-size: 38px;

        line-height: 1.05;
    }

    .mailing-description {
        font-size: 18px;

        line-height: 1.5;

        margin-bottom: 30px;
    }

    .mailing-fields {
        flex-direction: column;

        gap: 14px;
    }

    .mailing-field {
        width: 100%;

        max-width: none;

        height: 62px;

        padding: 0 16px;
    }

    .field-icon {
        font-size: 23px;

        margin-right: 10px;
    }

    .mailing-field input {
        font-size: 18px;
    }

    .mailing-submit {
        width: 100%;

        min-width: 0;

        padding: 17px 15px;

        font-size: 16px;

        letter-spacing: 1px;
    }

    .heart-divider {
        font-size: 16px;

        letter-spacing: 1px;
    }


    /* ------------------------------
       Footer
    ------------------------------ */

    footer {
        padding: 40px 25px;

        flex-direction: column;

        align-items: center;

        gap: 30px;

        text-align: center;
    }

    .nav-links {
        flex-wrap: wrap;

        justify-content: center;

        white-space: normal;

        gap: 15px;
    }

    .contact-footer > p {
        font-size: 26px;
    }

    .social-icons {
        justify-content: center;
    }

    .social-icon {
        font-size: 42px;
    }

    .social-tooltip {
        font-size: 10px;
    }

}


/* =========================================================
   VERY SMALL PHONES
   ========================================================= */
@media (max-width: 400px) {

    .navbar {
        padding-left: 12px;
        padding-right: 12px;
    }

    nav {
        gap: 10px;
    }

    nav a {
        font-size: 16px;
    }

    /* Keep hero height flexible */
    .hero {
        min-height: auto;
    }

    .hero-text {
        padding: 45px 18px 65px;
    }

    .hero h1 {
        font-size: 45px;
        line-height: 0.95;
    }

    .hero-text p {
        font-size: 20px;
        line-height: 1.4;
    }

    .button {
        width: 190px;
    }
}
