/* ==========================================================
   DAYO OPPORTUNITIES PAGE
========================================================== */

:root {
    --dayo-blue: #87CEEB;
    --dayo-green: #1B5E20;
    --dayo-dark: #07120d;
    --dayo-black: #000000;
    --dayo-white: #ffffff;
    --dayo-grey: #a9a9a9;
    --dayo-light: #f4f7f5;
    --dayo-border: rgba(27, 94, 32, 0.13);
}


/* ==========================================================
   GLOBAL
========================================================== */

.opContainer {
    width: min(1180px, 92%);
    margin: 0 auto;
}


/* ==========================================================
   HERO
========================================================== */

.opHero {
    position: relative;
    min-height: 540px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--dayo-black);
}


.opHeroImg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    animation: opHeroZoom 16s ease-in-out infinite alternate;
}


@keyframes opHeroZoom {

    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.06);
    }

}


.opHeroOverlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.88) 0%,
            rgba(0, 0, 0, 0.68) 45%,
            rgba(0, 0, 0, 0.30) 100%
        );
}


.opHeroContent {
    position: relative;
    z-index: 2;

    width: min(1180px, 92%);
    margin: 0 auto;

    padding: 80px 0;
}


.opHeroContent > span {
    display: inline-block;

    color: var(--dayo-blue);

    font-family: "Manrope", sans-serif;
    font-size: 0.82rem;
    font-weight: 800;

    letter-spacing: 0.18em;
    text-transform: uppercase;

    margin-bottom: 20px;

    position: relative;
    padding-left: 48px;
}


.opHeroContent > span::before {
    content: "";

    position: absolute;

    left: 0;
    top: 50%;

    width: 34px;
    height: 2px;

    background: var(--dayo-blue);

    transform: translateY(-50%);
}


.opHeroContent h1 {
    margin: 0 0 24px;

    max-width: 900px;

    color: var(--dayo-white);

    font-family: "Space Grotesk", sans-serif;

    font-size: clamp(3rem, 7vw, 6.2rem);

    line-height: 0.95;

    font-weight: 700;

    letter-spacing: -0.05em;

    text-transform: uppercase;
}


.opHeroContent p {
    max-width: 690px;

    margin: 0;

    padding-left: 22px;

    border-left: 3px solid var(--dayo-blue);

    color: rgba(255, 255, 255, 0.82);

    font-family: "Manrope", sans-serif;

    font-size: 1.05rem;
    line-height: 1.8;
}


/* ==========================================================
   INTRO
========================================================== */

.opIntro {
    padding: 100px 0;

    background: var(--dayo-white);
}


.opIntroGrid {
    display: grid;

    grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.7fr);

    gap: 80px;

    align-items: center;
}


.opSectionLabel {
    display: inline-block;

    color: var(--dayo-green);

    font-family: "Manrope", sans-serif;

    font-size: 0.75rem;
    font-weight: 800;

    letter-spacing: 0.16em;

    margin-bottom: 15px;
}


.opIntroText h2,
.opSectionHeading h2 {
    margin: 0 0 22px;

    color: var(--dayo-black);

    font-family: "Space Grotesk", sans-serif;

    font-size: clamp(2rem, 4vw, 3.2rem);

    line-height: 1.05;

    letter-spacing: -0.04em;
}


.opIntroText p {
    max-width: 760px;

    margin: 0 0 15px;

    color: #555;

    font-family: "Manrope", sans-serif;

    font-size: 1rem;

    line-height: 1.8;
}


.opIntroStats {
    display: grid;

    grid-template-columns: 1fr 1fr;

    border: 1px solid var(--dayo-border);

    background: #f8faf9;
}


.opStat {
    padding: 38px 25px;

    text-align: center;
}


.opStat + .opStat {
    border-left: 1px solid var(--dayo-border);
}


.opStat strong {
    display: block;

    color: var(--dayo-green);

    font-family: "Space Grotesk", sans-serif;

    font-size: 3rem;

    line-height: 1;

    margin-bottom: 10px;
}


.opStat span {
    color: #666;

    font-family: "Manrope", sans-serif;

    font-size: 0.75rem;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 0.05em;
}


/* ==========================================================
   OPPORTUNITIES SECTION
========================================================== */

.opportunitiesSection {
    padding: 100px 0;

    background: var(--dayo-light);
}


.opSectionHeading {
    display: flex;

    justify-content: space-between;

    align-items: flex-end;

    gap: 30px;

    margin-bottom: 45px;
}


.opSectionHeading h2 {
    margin-bottom: 0;
}


.opLiveIndicator {
    display: flex;

    align-items: center;

    gap: 9px;

    padding: 10px 16px;

    background: var(--dayo-white);

    border: 1px solid var(--dayo-border);

    color: #555;

    font-family: "Manrope", sans-serif;

    font-size: 0.75rem;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 0.04em;
}


.opLiveIndicator span {
    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: var(--dayo-green);

    animation: livePulse 1.8s infinite;
}


@keyframes livePulse {

    0% {
        box-shadow: 0 0 0 0 rgba(27, 94, 32, 0.4);
    }

    70% {
        box-shadow: 0 0 0 8px rgba(27, 94, 32, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(27, 94, 32, 0);
    }

}


/* ==========================================================
   OPPORTUNITY CARD
========================================================== */

.opportunitiesList {
    display: flex;

    flex-direction: column;

    gap: 20px;
}


.opportunityCard {
    position: relative;

    display: grid;

    grid-template-columns: 75px minmax(0, 1fr);

    overflow: hidden;

    background: var(--dayo-white);

    border: 1px solid rgba(0, 0, 0, 0.07);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}


.opportunityCard:hover {
    transform: translateY(-4px);

    border-color: rgba(27, 94, 32, 0.25);

    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
}


.opportunityNumber {
    display: flex;

    justify-content: center;

    align-items: flex-start;

    padding-top: 38px;

    background: var(--dayo-green);

    color: rgba(255, 255, 255, 0.7);

    font-family: "Space Grotesk", sans-serif;

    font-size: 1rem;

    font-weight: 700;

    letter-spacing: 0.05em;
}


.opportunityMain {
    padding: 32px 38px 34px;
}


.opportunityTop {
    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 20px;

    margin-bottom: 18px;
}


.opportunityType {
    color: var(--dayo-green);

    font-family: "Manrope", sans-serif;

    font-size: 0.72rem;

    font-weight: 800;

    letter-spacing: 0.08em;

    text-transform: uppercase;
}


.opportunityType i {
    margin-right: 6px;
}


.opportunityStatus {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    padding: 7px 11px;

    font-family: "Manrope", sans-serif;

    font-size: 0.66rem;

    font-weight: 800;

    letter-spacing: 0.05em;

    white-space: nowrap;
}


.opportunityStatus span {
    width: 7px;
    height: 7px;

    border-radius: 50%;
}


.opportunityStatus.open {
    color: var(--dayo-green);

    background: rgba(27, 94, 32, 0.08);
}


.opportunityStatus.open span {
    background: var(--dayo-green);
}


.opportunityStatus.today {
    color: #8a5b00;

    background: rgba(255, 193, 7, 0.13);
}


.opportunityStatus.today span {
    background: #d79b00;
}


.opportunityStatus.closed {
    color: #777;

    background: rgba(0, 0, 0, 0.06);
}


.opportunityStatus.closed span {
    background: #999;
}


.opportunityCard h3 {
    max-width: 850px;

    margin: 0 0 10px;

    color: var(--dayo-black);

    font-family: "Space Grotesk", sans-serif;

    font-size: clamp(1.35rem, 2.5vw, 2rem);

    line-height: 1.2;

    letter-spacing: -0.025em;
}


.opportunityOrganization {
    display: flex;

    align-items: center;

    gap: 8px;

    margin-bottom: 18px;

    color: #666;

    font-family: "Manrope", sans-serif;

    font-size: 0.85rem;

    font-weight: 600;
}


.opportunityOrganization i {
    color: var(--dayo-blue);
}


.opportunityDescription {
    max-width: 850px;

    margin: 0 0 24px;

    color: #555;

    font-family: "Manrope", sans-serif;

    font-size: 0.92rem;

    line-height: 1.75;
}


/* ==========================================================
   META
========================================================== */

.opportunityMeta {
    display: flex;

    flex-wrap: wrap;

    gap: 12px;

    margin-bottom: 24px;
}


.opportunityMeta > div {
    display: flex;

    align-items: center;

    gap: 8px;

    padding: 9px 12px;

    background: #f7f8f8;

    color: #666;

    font-family: "Manrope", sans-serif;

    font-size: 0.75rem;
}


.opportunityMeta i {
    color: var(--dayo-green);
}


.opportunityMeta strong {
    color: #333;
}


/* ==========================================================
   REQUIREMENTS
========================================================== */

.opportunityRequirements {
    margin-bottom: 24px;

    border-top: 1px solid rgba(0, 0, 0, 0.07);
}


.requirementsToggle {
    width: 100%;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 17px 0;

    border: 0;

    background: transparent;

    cursor: pointer;

    color: #333;

    font-family: "Manrope", sans-serif;

    font-size: 0.8rem;

    font-weight: 800;

    text-align: left;
}


.requirementsToggle > span {
    display: flex;

    align-items: center;

    gap: 9px;
}


.requirementsToggle > span i {
    color: var(--dayo-green);
}


.requirementsToggle > i {
    transition: transform 0.3s ease;
}


.requirementsToggle.active > i {
    transform: rotate(180deg);
}


.requirementsContent {
    display: grid;

    grid-template-rows: 0fr;

    opacity: 0;

    transition:
        grid-template-rows 0.35s ease,
        opacity 0.25s ease;
}


.requirementsContent.active {
    grid-template-rows: 1fr;

    opacity: 1;
}


.requirementsContent > ul {
    min-height: 0;

    overflow: hidden;

    margin: 0;

    padding: 0;

    list-style: none;
}


.requirementsContent.active > ul {
    padding-bottom: 15px;
}


.requirementsContent li {
    display: flex;

    gap: 10px;

    margin-bottom: 9px;

    color: #666;

    font-family: "Manrope", sans-serif;

    font-size: 0.82rem;

    line-height: 1.5;
}


.requirementsContent li i {
    margin-top: 4px;

    color: var(--dayo-green);

    font-size: 0.65rem;
}


/* ==========================================================
   BOTTOM
========================================================== */

.opportunityBottom {
    display: flex;

    justify-content: flex-end;

    align-items: center;
}


.opportunityButton {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    min-height: 44px;

    padding: 12px 20px;

    background: var(--dayo-green);

    color: var(--dayo-white);

    text-decoration: none;

    font-family: "Manrope", sans-serif;

    font-size: 0.75rem;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 0.04em;

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}


.opportunityButton:hover {
    background: #124516;

    transform: translateY(-2px);
}


.closedButton {
    background: #dfe2e0;

    color: #777;

    cursor: not-allowed;
}


.closedButton:hover {
    background: #dfe2e0;

    color: #777;

    transform: none;
}


/* ==========================================================
   CLOSED CARD
========================================================== */

.opportunityCard.closed {
    opacity: 0.78;
}


.opportunityCard.closed .opportunityNumber {
    background: #555;
}


.opportunityCard.closed h3 {
    color: #555;
}


/* ==========================================================
   EMPTY STATE
========================================================== */

.noOpportunities {
    padding: 80px 30px;

    background: var(--dayo-white);

    text-align: center;

    border: 1px solid var(--dayo-border);
}


.noOpportunities > i {
    margin-bottom: 20px;

    color: var(--dayo-green);

    font-size: 2.5rem;
}


.noOpportunities h3 {
    margin: 0 0 10px;

    font-family: "Space Grotesk", sans-serif;

    font-size: 1.5rem;
}


.noOpportunities p {
    margin: 0;

    color: #777;

    font-family: "Manrope", sans-serif;
}


/* ==========================================================
   DISCLAIMER
========================================================== */

.opDisclaimer {
    padding: 70px 0;

    background: var(--dayo-white);
}


.opDisclaimerBox {
    display: flex;

    align-items: flex-start;

    gap: 20px;

    padding: 30px;

    background: #f5f8f6;

    border-left: 4px solid var(--dayo-green);
}


.opDisclaimerIcon {
    flex-shrink: 0;

    color: var(--dayo-green);

    font-size: 1.5rem;
}


.opDisclaimerBox h3 {
    margin: 0 0 8px;

    color: var(--dayo-black);

    font-family: "Space Grotesk", sans-serif;

    font-size: 1.15rem;
}


.opDisclaimerBox p {
    margin: 0;

    color: #666;

    font-family: "Manrope", sans-serif;

    font-size: 0.85rem;

    line-height: 1.7;
}


/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width: 900px) {

    .opHero {
        min-height: 470px;
    }


    .opIntroGrid {
        grid-template-columns: 1fr;

        gap: 45px;
    }


    .opSectionHeading {
        align-items: flex-start;

        flex-direction: column;
    }

}


@media (max-width: 700px) {

    .opHero {
        min-height: 500px;
    }


    .opHeroOverlay {
        background:
            linear-gradient(
                90deg,
                rgba(0, 0, 0, 0.86),
                rgba(0, 0, 0, 0.55)
            );
    }


    .opHeroContent h1 {
        font-size: clamp(2.7rem, 13vw, 4.5rem);
    }


    .opHeroContent p {
        font-size: 0.9rem;

        line-height: 1.7;
    }


    .opIntro,
    .opportunitiesSection {
        padding: 70px 0;
    }


    .opportunityCard {
        grid-template-columns: 1fr;
    }


    .opportunityNumber {
        min-height: 40px;

        padding: 10px 18px;

        justify-content: flex-start;

        align-items: center;
    }


    .opportunityMain {
        padding: 25px 22px 27px;
    }


    .opportunityTop {
        align-items: flex-start;

        flex-direction: column;

        gap: 12px;
    }


    .opportunityMeta {
        flex-direction: column;
    }


    .opportunityMeta > div {
        width: 100%;
    }


    .opportunityBottom {
        justify-content: stretch;
    }


    .opportunityButton {
        width: 100%;
    }


    .opDisclaimerBox {
        padding: 23px;

        gap: 14px;
    }

}


@media (max-width: 480px) {

    .opContainer,
    .opHeroContent {
        width: 90%;
    }


    .opIntroStats {
        grid-template-columns: 1fr;
    }


    .opStat + .opStat {
        border-left: 0;

        border-top: 1px solid var(--dayo-border);
    }


    .opHeroContent > span {
        font-size: 0.68rem;

        letter-spacing: 0.12em;
    }


    .opHeroContent h1 {
        margin-bottom: 20px;
    }


    .opportunityCard h3 {
        font-size: 1.35rem;
    }


    .opDisclaimerBox {
        flex-direction: column;
    }

}