/*
Theme Name: Fishcare Victoria Community
Theme URI: https://fishcare.org.au/
Description: A friendly, grassroots Fishcare Victoria child theme for Twenty Twenty-Five. Native WordPress blocks, no page-builder plugins required.
Author: Fishcare Victoria
Template: twentytwentyfive
Version: 1.3.0
Text Domain: fishcare-victoria
*/

/* ==================================================
   FISHCARE FONTS
   ================================================== */

@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400;500;600;700&family=DM+Sans:wght@400;500;600;700;800;900&display=swap');


/* ==================================================
   GLOBAL
   ================================================== */

:root {
    --fc-blue: #1486c8;
    --fc-navy: #273772;
    --fc-teal: #0b98c8;
    --fc-cream: #f7f4ec;
    --fc-mist: #edf8fc;
    --fc-ink: #17314b;
    --fc-radius: 22px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', Arial, sans-serif;
    color: var(--fc-ink);
    background: var(--fc-cream);
}


/* ==================================================
   HEADINGS
   ================================================== */

h1,
h2,
.fc-section-title,
.fc-page-hero h1 {
    font-family: 'Caveat', cursive !important;
    color: var(--fc-navy);
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.02;
}

h3,
h4 {
    font-family: 'DM Sans', Arial, sans-serif;
    color: var(--fc-navy);
    letter-spacing: -0.02em;
}


/* Optional Caveat heading class */

.fc-brush,
.fc-brush h1,
.fc-brush h2,
.fc-brush h3,
h1.fc-brush,
h2.fc-brush,
h3.fc-brush,
.wp-block-heading.fc-brush {
    font-family: 'Caveat', cursive !important;
    font-weight: 700 !important;
    line-height: 1.02 !important;
    letter-spacing: 0 !important;
}

.fc-brush em {
    color: var(--fc-blue);
    font-style: normal;
}


/* ==================================================
   HEADER & NAVIGATION
   ================================================== */

.fc-header {
    background: #fff;
    border-bottom: 1px solid #dbeaf1;
    position: sticky;
    top: 0;
    z-index: 99;
}

.fc-header .wp-block-group {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
}

.fc-logo img {
    width: 205px;
    height: auto;
}

.fc-nav a {
    font-weight: 700;
    color: var(--fc-navy);
    text-decoration: none;
}

.fc-nav a:hover {
    color: var(--fc-blue);
}


/* ==================================================
   STANDARD WORDPRESS BUTTONS
   ================================================== */

.wp-block-button__link,
.fc-button {
    border-radius: 999px !important;
    font-weight: 800 !important;
    padding: .8rem 1.3rem !important;
    transition: .2s ease;
}


/* ==================================================
   FISHCARE BUTTON STYLES
   ================================================== */

/*
 * Add one of these classes to the individual
 * WordPress Button block:
 *
 * fc-button-blue
 * fc-button-navy
 */

.fc-button-blue .wp-block-button__link,
.fc-button-navy .wp-block-button__link {
    font-family: 'Caveat', cursive !important;
    font-size: 1.45rem !important;
    font-weight: 700 !important;
    line-height: 1 !important;

    color: #ffffff !important;
    text-decoration: none !important;

    border: none !important;
    border-radius: 999px !important;

    padding: 16px 42px !important;
    min-width: 260px;

    text-align: center;

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


/* BLUE BUTTON
   e.g. Find an Event */

.fc-button-blue .wp-block-button__link {
    background: var(--fc-blue) !important;
    color: #ffffff !important;
    box-shadow: none;
}


/* Blue inverted hover */

.fc-button-blue .wp-block-button__link:hover,
.fc-button-blue .wp-block-button__link:focus {
    background: #ffffff !important;
    color: var(--fc-blue) !important;

    box-shadow:
        inset 0 0 0 3px var(--fc-blue);

    transform: translateY(-2px);
}


/* NAVY BUTTON
   e.g. Become a Volunteer */

.fc-button-navy .wp-block-button__link {
    background: var(--fc-navy) !important;
    color: #ffffff !important;

    box-shadow:
        0 7px 10px rgba(0, 0, 0, .22);
}


/* Navy inverted hover */

.fc-button-navy .wp-block-button__link:hover,
.fc-button-navy .wp-block-button__link:focus {
    background: #ffffff !important;
    color: var(--fc-navy) !important;

    box-shadow:
        inset 0 0 0 3px var(--fc-navy),
        0 10px 16px rgba(0, 0, 0, .18);

    transform: translateY(-3px);
}


/* Button pressed effect */

.fc-button-blue .wp-block-button__link:active,
.fc-button-navy .wp-block-button__link:active {
    transform: translateY(1px);
}


/* ==================================================
   HOME HERO
   ================================================== */

.fc-hero {
    min-height: 680px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
}

.fc-hero-copy {
    max-width: 620px;
}

.fc-hero h1 {
    font-family: 'Caveat', cursive !important;
    font-size: clamp(3.1rem, 6.2vw, 6.3rem);
    font-weight: 700;
    margin: 0 0 1rem;
}

.fc-hero p {
    font-size: 1.2rem;
    max-width: 530px;
}


/* ==================================================
   SECTIONS
   ================================================== */

.fc-section {
    padding: 72px 24px;
}

.fc-section-title {
    font-family: 'Caveat', cursive !important;
    font-size: clamp(2.8rem, 5vw, 4.8rem);
    font-weight: 700;
    margin: 0 0 28px;
}


/* ==================================================
   GENERAL CARDS
   ================================================== */

.fc-card {
    background: #fff;
    border-radius: var(--fc-radius);
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(26, 67, 99, .08);
    height: 100%;
}

.fc-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.fc-card-body {
    padding: 22px;
}

.fc-card h3 {
    margin: .1rem 0 .5rem;
    font-size: 1.5rem;
}


/* ==================================================
   PILLARS
   ================================================== */

.fc-pillars {
    background: #fff;
}

.fc-pillar {
    padding: 22px;
    border-right: 1px solid #dbeaf1;
}

.fc-pillar:last-child {
    border-right: 0;
}

.fc-pillar h3 {
    font-family: 'Caveat', cursive !important;
    font-size: 2.3rem;
    font-weight: 700;
    margin: 0;
}


/* ==================================================
   IMPACT
   ================================================== */

.fc-impact {
    background: var(--fc-navy);
    color: #fff;
    border-radius: 30px;
    padding: 44px;
}

.fc-impact h2,
.fc-impact h3 {
    color: #fff;
}

.fc-impact h2 {
    font-family: 'Caveat', cursive !important;
}

.fc-number {
    font-size: 3rem;
    font-weight: 900;
}


/* ==================================================
   PLACE / IMAGE CARDS
   ================================================== */

.fc-place {
    position: relative;
    min-height: 360px;
    border-radius: 24px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.fc-place:after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        0deg,
        rgba(8, 28, 55, .88),
        rgba(8, 28, 55, .05) 65%
    );
}

.fc-place-copy {
    position: absolute;
    z-index: 2;
    left: 24px;
    right: 24px;
    bottom: 22px;
    color: #fff;
}

.fc-place-copy h3 {
    color: #fff;
    font-size: 1.7rem;
    margin: 0;
}

.fc-place-copy p {
    margin: .35rem 0 0;
}

.fc-doodle {
    border-top: 5px solid var(--fc-blue);
    border-radius: 60% 30%;
    width: 110px;
    margin: 8px 0 24px;
}


/* ==================================================
   PAGE HERO
   ================================================== */

.fc-page-hero {
    min-height: 430px;
    display: flex;
    align-items: flex-end;
    background-size: cover;
    background-position: center;
    border-radius: 0 0 34px 34px;
    overflow: hidden;
    position: relative;
}

.fc-page-hero:after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        0deg,
        rgba(17, 41, 74, .82),
        rgba(17, 41, 74, .05) 70%
    );
}

.fc-page-hero .wp-block-group {
    position: relative;
    z-index: 2;
    padding-bottom: 48px;
}

.fc-page-hero h1 {
    color: #fff;
    font-family: 'Caveat', cursive !important;
    font-size: clamp(3rem, 5vw, 5rem);
    font-weight: 700;
    margin: 0;
}


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

.fc-content {
    max-width: 1180px;
    margin: auto;
    padding: 60px 24px;
}

.fc-note {
    background: var(--fc-mist);
    border-left: 5px solid var(--fc-blue);
    padding: 22px;
    border-radius: 0 16px 16px 0;
}


/* ==================================================
   FOOTER
   ================================================== */

.fc-footer {
    background: var(--fc-navy);
    color: #fff;
    padding: 60px 24px;
}

.fc-footer h2,
.fc-footer h3,
.fc-footer a {
    color: #fff;
}

.fc-footer h2 {
    font-family: 'Caveat', cursive !important;
}

.fc-footer a {
    text-decoration: none;
}


/* ==================================================
   FUNDING & CHARITY RECOGNITION
   ================================================== */

.fc-footer-support {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin: 34px auto 30px;
    align-items: stretch;
}

.fc-support-item {
    display: flex;
    align-items: center;
    gap: 24px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 20px;
    padding: 22px 24px;
}

.fc-support-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    background: #fff;
    border-radius: 14px;
    padding: 10px;
}

.fc-support-item img {
    display: block;
    object-fit: contain;
    height: auto;
}

.fc-rfl-support img {
    width: 210px;
    max-height: 92px;
}

.fc-charity-support img {
    width: 118px;
    max-height: 118px;
}

.fc-support-item p {
    margin: 0;
    line-height: 1.5;
    color: #fff;
}

.fc-support-item strong {
    font-size: 1.05rem;
}

.fc-footer-separator {
    border-color: rgba(255, 255, 255, .22) !important;
}


/* ==================================================
   EVENTBRITE - EVENTS GRID
   ================================================== */

.fishcare-events-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;

    width: calc(100% - 48px);
    max-width: 1400px;

    margin: 35px auto;
}


/* ==================================================
   EVENTBRITE - EVENT CARD
   ================================================== */

.fishcare-event-card {
    position: relative;
    display: flex;
    flex-direction: column;

    min-width: 0;
    min-height: 100%;

    background: #ffffff;
    border-radius: 22px;
    overflow: hidden;

    border: 1px solid rgba(39, 55, 114, .10);
    box-shadow: 0 8px 28px rgba(0, 45, 70, .10);

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.fishcare-event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 36px rgba(0, 45, 70, .16);
}


/* ==================================================
   EVENTBRITE - EVENT IMAGE
   ================================================== */

.fishcare-event-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: var(--fc-mist);
}

.fishcare-event-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.fishcare-event-card:hover .fishcare-event-image img {
    transform: scale(1.035);
}


/* ==================================================
   EVENTBRITE - DATE
   ================================================== */

.fishcare-event-date {
    background: var(--fc-teal);
    color: #ffffff;

    padding: 16px 24px;

    display: flex;
    align-items: baseline;
    gap: 9px;
}

.fishcare-event-day {
    font-size: 2.25rem;
    line-height: 1;
    font-weight: 800;
}

.fishcare-event-month {
    font-size: 1rem;
    line-height: 1;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 1.5px;
}


/* ==================================================
   EVENTBRITE - CONTENT
   ================================================== */

.fishcare-event-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 27px;
}

.fishcare-event-free {
    display: inline-block;
    align-self: flex-start;

    color: #087f92;
    background: #e7f7f6;

    padding: 6px 12px;
    border-radius: 999px;

    font-size: .72rem;
    font-weight: 800;
    letter-spacing: 1px;

    margin-bottom: 14px;
}

.fishcare-event-content h3 {
    font-family: 'DM Sans', Arial, sans-serif !important;
    color: var(--fc-navy);

    font-size: 1.45rem;
    line-height: 1.25;
    font-weight: 800;

    margin: 0 0 18px;
}

.fishcare-event-time {
    color: #174c62;
    line-height: 1.6;
    margin: 0 0 10px;
}

.fishcare-event-venue {
    color: #55747f;
    margin: 0 0 17px;
    font-weight: 600;
}

.fishcare-event-summary {
    color: #4f6067;
    font-size: .96rem;
    line-height: 1.6;
    margin: 0 0 24px;
}


/* ==================================================
   EVENTBRITE - REGISTER BUTTON
   ================================================== */

.fishcare-event-button {
    display: inline-block;
    align-self: flex-start;

    margin-top: auto;
    padding: 12px 23px;

    background: var(--fc-navy);
    color: #ffffff !important;

    text-decoration: none !important;
    border-radius: 999px;

    font-size: .92rem;
    font-weight: 700;

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


/* Eventbrite button also inverts on hover */

.fishcare-event-button:hover,
.fishcare-event-button:focus {
    background: #ffffff !important;
    color: var(--fc-navy) !important;

    box-shadow:
        inset 0 0 0 3px var(--fc-navy);

    transform: translateY(-2px);
}


/* ==================================================
   EVENTBRITE - HOMEPAGE WIDE SECTION
   ================================================== */

.fc-home-events {
    width: 100%;
    max-width: 1450px !important;

    margin-left: auto !important;
    margin-right: auto !important;

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

.fc-home-events .fishcare-events-grid {
    width: 100%;
    max-width: 1400px;
}


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

@media (max-width: 950px) {

    .fishcare-events-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 900px;
    }

    .fc-footer-support {
        grid-template-columns: 1fr;
    }

    .fc-support-item {
        align-items: flex-start;
    }

    .fc-rfl-support img {
        width: 180px;
    }

}


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

@media (max-width: 800px) {

    .fc-hero {
        min-height: 600px;
        background-position: 63% center;
        position: relative;
    }

    .fc-hero:before {
        content: '';
        position: absolute;
        inset: 0;

        background: linear-gradient(
            90deg,
            rgba(255,255,255,.96) 0%,
            rgba(255,255,255,.8) 52%,
            rgba(255,255,255,.1) 100%
        );
    }

    .fc-hero > .wp-block-group {
        position: relative;
        z-index: 2;
    }

    .fc-pillar {
        border-right: 0;
        border-bottom: 1px solid #dbeaf1;
    }

    .fc-card img {
        height: 200px;
    }

    .fc-place {
        min-height: 300px;
    }

}


@media (max-width: 650px) {

    .fishcare-events-grid {
        grid-template-columns: 1fr;
        width: calc(100% - 30px);
        gap: 20px;
    }

    .fishcare-event-card {
        border-radius: 18px;
    }

    .fishcare-event-image {
        height: 210px;
    }

    .fishcare-event-content {
        padding: 22px;
    }

    .fishcare-event-content h3 {
        font-size: 1.3rem;
    }

    .fc-home-events {
        padding-left: 0;
        padding-right: 0;
    }

    .fc-button-blue .wp-block-button__link,
    .fc-button-navy .wp-block-button__link {
        min-width: 220px;
        font-size: 1.3rem !important;
        padding: 14px 32px !important;
    }

}


@media (max-width: 560px) {

    .fc-support-item {
        flex-direction: column;
    }

    .fc-support-item a {
        align-self: flex-start;
    }

    .fc-rfl-support img {
        width: 190px;
    }

    .fc-charity-support img {
        width: 110px;
    }

}