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


/* =========================================================
   ROYAL ENGINEERS — COLOUR SYSTEM
========================================================= */

:root {

    /* PRIMARY COLOURS */
    --navy: #080D18;
    --navy2: #111827;

    /* ROYAL ENGINEERS BURGUNDY / RED */
    --burgundy: #650D16;
    --burgundy2: #8E111B;
    --red: #A71930;

    /* GOLD */
    --gold: #C89B3C;
    --gold2: #E0B95A;
    --gold-light: #F1D48A;

    /* LIGHT BACKGROUNDS */
    --cream: #F3E7CE;
    --paper: #FBF8F1;

    /* TEXT */
    --ink: #1C1A18;
    --muted: #6F6A63;

    /* BORDERS */
    --line: rgba(101, 13, 22, .15);

}


/* =========================================================
   RESET
========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body,
button,
input,
select,
textarea {

    margin: 0;

    background: var(--paper);
    color: var(--ink);

    font-family: 'DM Sans', Arial, sans-serif;

    line-height: 1.65;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1180px, 92%);
    margin: auto;
}


/* =========================================================
   TOPBAR
========================================================= */

.topbar {

    background:
        linear-gradient(
            135deg,
            #3F080F,
            var(--burgundy),
            #21050A
        );

    color: #E9D8B2;

    font: 13px 'DM Sans', Arial, sans-serif;

    letter-spacing: 1.5px;

    padding: 10px 0;

    border-bottom: 1px solid rgba(224, 185, 90, .25);
}

.topbar .container {

    display: flex;

    justify-content: space-between;

    gap: 20px;
}

.topbar span {

    display: flex;

    align-items: center;

    gap: 8px;
}

.topbar i {

    color: var(--gold2);

    font-size: 12px;
}

.topbar a {

    color: inherit;

    transition: color .25s ease;
}

.topbar a:hover {

    color: var(--gold-light);
}


/* =========================================================
   NAVIGATION
========================================================= */

.nav {

    position: sticky;

    top: 0;

    z-index: 20;

    background: rgba(251, 248, 241, .96);

    backdrop-filter: blur(14px);

    border-bottom: 1px solid var(--line);
}

.nav-inner {

    min-height: 84px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;
}

.brand {

    display: flex;

    align-items: center;

    gap: 12px;

    font: 700 36px / 1.05 'DM Sans', Arial, sans-serif;

    letter-spacing: 1px;

    color: var(--burgundy);
}

.brand img {

    width: 120px;

    height: 120px;

    object-fit: cover;

    border-radius: 50%;

    border: 2px solid var(--gold);
}

.navlinks {

    display: flex;

    align-items: center;

    gap: 25px;

    font-size: 14px;

    font-weight: 600;
}

.navlinks a {

    padding: 31px 0;

    position: relative;

    transition: color .25s ease;
}

.navlinks a.active,
.navlinks a:hover {

    color: var(--burgundy2);
}

.navlinks a.active:after {

    content: "";

    position: absolute;

    left: 0;

    right: 0;

    bottom: 20px;

    height: 3px;

    background: var(--gold);
}

.menu {

    display: none;

    border: 0;

    background: none;

    font-size: 28px;

    color: var(--burgundy);
}


/* =========================================================
   TYPOGRAPHY
========================================================= */

h1,
h2,
h3,
h4,
h5,
h6 {

    font-family: 'DM Sans', Arial, sans-serif;

    line-height: 1.1;

    margin: 0 0 18px;

    font-weight: 700;

    color: var(--burgundy);
}

h1 {

    font-size: clamp(3.3rem, 8vw, 7.5rem);

    letter-spacing: -.04em;
}

h2 {

    font-size: clamp(2.3rem, 4.6vw, 4.5rem);

    letter-spacing: -.03em;
}

h3 {

    font-size: 1.7rem;
}

p {

    color: var(--muted);

    font-size: 1.02rem;
}


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

.hero {

    min-height: calc(100vh - 125px);

    display: flex;

    align-items: center;

    background:

        linear-gradient(
            115deg,
            rgba(8, 13, 24, .98),
            rgba(101, 13, 22, .90)
        ),

        url('assets/hero-engineering.jpg') center / cover;

    position: relative;

    overflow: hidden;
}

.hero:after {

    content: "";

    position: absolute;

    inset: 0;

    background:

        radial-gradient(
            circle at 80% 40%,
            rgba(224, 185, 90, .20),
            transparent 35%
        );
}

.hero-content {

    position: relative;

    z-index: 1;

    color: #fff;

    max-width: 900px;

    padding: 100px 0;
}

.hero h1 {

    color: #fff;
}

.hero h1 span {

    display: block;

    color: var(--gold2);
}

.hero p {

    color: #E2D9C9;

    max-width: 700px;

    font-size: 1.2rem;
}


/* =========================================================
   LABELS
========================================================= */

.kicker,
.eyebrow,
.tag,
.year {

    font: 700 11px 'DM Sans', Arial, sans-serif;

    letter-spacing: 1.8px;

    text-transform: uppercase;

    color: var(--gold);
}

.kicker {

    margin-bottom: 25px;
}


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

.actions {

    display: flex;

    gap: 14px;

    flex-wrap: wrap;

    margin-top: 30px;
}

.btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 14px 22px;

    border: 1px solid var(--gold);

    font-weight: 700;

    letter-spacing: .3px;

    transition: .25s;
}

.btn-primary {

    background: var(--gold);

    color: var(--navy);

    border-color: var(--gold);
}

.btn-primary:hover {

    background: var(--gold-light);

    border-color: var(--gold-light);

    transform: translateY(-2px);
}

.btn-outline {

    color: #fff;

    border-color: rgba(224, 185, 90, .65);
}

.btn-outline:hover {

    background: var(--gold);

    color: var(--navy);

    border-color: var(--gold);
}


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

.section {

    padding: 110px 0;
}

.cream {

    background:

        linear-gradient(
            135deg,
            #F3E7CE,
            #EDE0C5
        );
}

.dark {

    background:

        linear-gradient(
            135deg,
            #080D18 0%,
            #1A0A10 55%,
            #650D16 100%
        );

    color: #fff;
}

.dark p {

    color: #D0C6B8;
}

.dark h2,
.dark h3 {

    color: #fff;
}


/* =========================================================
   GRIDS
========================================================= */

.grid-2 {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 70px;

    align-items: center;
}

.grid-3 {

    display: grid;

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

    gap: 24px;
}

.grid-4 {

    display: grid;

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

    gap: 16px;
}


/* =========================================================
   SECTION HEAD
========================================================= */

.section-head {

    display: flex;

    justify-content: space-between;

    align-items: end;

    gap: 50px;

    margin-bottom: 55px;
}

.section-head > p {

    max-width: 460px;
}


/* =========================================================
   QUOTE
========================================================= */

.quote {

    font-family: 'DM Sans', Arial, sans-serif;

    font-size: 1.45rem;

    font-weight: 500;

    line-height: 1.45;

    color: var(--burgundy);

    border-left: 3px solid var(--gold);

    padding-left: 25px;
}


/* =========================================================
   VISUAL CARD
========================================================= */

.visual-card {

    position: relative;

    min-height: 420px;

    overflow: hidden;

    background: var(--burgundy);
}

.visual-card img {

    width: 100%;

    height: 100%;

    min-height: 420px;

    object-fit: cover;
}

.overlay {

    position: absolute;

    left: 25px;

    right: 25px;

    bottom: 25px;

    background:

        linear-gradient(
            135deg,
            rgba(8, 13, 24, .95),
            rgba(101, 13, 22, .92)
        );

    padding: 25px;

    color: #fff;

    border-left: 3px solid var(--gold);
}

.overlay h3 {

    margin-bottom: 6px;

    color: #fff;
}

.overlay p {

    margin: 0;

    color: #E2D9C9;
}


/* =========================================================
   STATISTICS
========================================================= */

.stat-strip {

    display: grid;

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

    border-top: 1px solid rgba(224, 185, 90, .35);

    border-bottom: 1px solid rgba(224, 185, 90, .35);
}

.stat {

    padding: 35px 20px;

    border-right: 1px solid rgba(224, 185, 90, .25);
}

.stat:last-child {

    border: 0;
}

.stat strong {

    display: block;

    font-family: 'DM Sans', Arial, sans-serif;

    font-size: clamp(3rem, 6vw, 5.5rem);

    font-weight: 700;

    color: var(--gold2);
}

.stat span {

    color: #D0C6B8;
}


/* =========================================================
   CYCLE
========================================================= */

.cycle {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 70px;

    align-items: center;
}

.cycle-art {

    background:

        radial-gradient(
            circle,
            #650D16,
            #080D18
        );

    padding: 30px;

    border: 1px solid rgba(224, 185, 90, .35);
}

.cycle-list {

    display: grid;

    gap: 0;
}

.cycle-item {

    display: grid;

    grid-template-columns: 55px 1fr;

    gap: 18px;

    padding: 20px 0;

    border-bottom: 1px solid var(--line);
}

.cycle-item .n,
.num {

    font: 700 13px 'DM Sans', Arial, sans-serif;

    color: var(--gold);
}

.cycle-item h4 {

    font-size: 1.35rem;

    margin-bottom: 5px;
}

.cycle-item p {

    margin: 0;
}


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

.page-hero {

    background:

        linear-gradient(
            135deg,
            #080D18,
            #650D16
        );

    color: #fff;

    padding: 110px 0;

    border-bottom: 3px solid var(--gold);
}

.page-hero h1 {

    color: #fff;

    max-width: 900px;
}

.page-hero p {

    color: #E2D9C9;

    max-width: 650px;

    font-size: 1.2rem;
}


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

.page-hero-small {

    padding: 65px 0 70px;
}

.page-hero-small h1 {

    font-size: clamp(2.8rem, 5vw, 2.5rem);

    margin-bottom: 20px;
}

.page-hero-small p {

    max-width: 620px;

    font-size: 1.05rem;
}


/* =========================================================
   BREADCRUMB
========================================================= */

.breadcrumb {

    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 28px;

    font-size: 13px;

    color: #B9AFA1;
}

.breadcrumb a {

    color: var(--gold2);

    transition: color .25s ease;
}

.breadcrumb a:hover {

    color: #fff;
}

.breadcrumb span:nth-child(2) {

    color: rgba(224, 185, 90, .4);
}

.breadcrumb span:last-child {

    color: #E2D9C9;
}


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

.team-card,
.feature-card,
.portfolio-card,
.contact-box {

    border: 1px solid var(--line);

    background: #fff;

    padding: 25px;
}

.team-card {

    transition: .25s;
}

.team-card:hover {

    transform: translateY(-5px);

    box-shadow:

        0 15px 40px rgba(101, 13, 22, .15);
}

.avatar {

    width: 60px;

    height: 60px;

    border-radius: 50%;

    display: grid;

    place-items: center;

    background: var(--burgundy);

    color: var(--gold2);

    font: 700 16px 'DM Sans', Arial, sans-serif;

    margin-bottom: 20px;
}

.team-card h3 {

    font-size: 1.2rem;

    margin-bottom: 6px;
}

.team-card p {

    font-size: .85rem;

    margin: 0;
}

.feature-card {

    transition: all .3s ease;
}

.feature-card:hover {

    transform: translateY(-5px);

    border-color: var(--gold);
}

.feature-card .num {

    font-size: 1.4rem;

    margin-bottom: 35px;
}

.feature-card h3 {

    margin-bottom: 8px;
}

.feature-card p {

    margin: 0;
}


/* =========================================================
   PORTFOLIO
========================================================= */

.portfolio-card {

    padding: 0;

    overflow: hidden;
}

.portfolio-card > img {

    height: 230px;

    width: 100%;

    object-fit: cover;

    background: var(--burgundy);
}

.portfolio-card .content {

    padding: 25px;
}

.portfolio-card h2 {

    font-size: 2rem;
}

.portfolio-card .tag:last-child {

    display: inline-block;

    margin-top: 15px;
}


/* =========================================================
   CONTACT
========================================================= */

.contact-box {

    background: var(--cream);

    padding: 35px;

    border-top: 4px solid var(--burgundy);
}

.form-grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 18px;
}

.form-grid .full {

    grid-column: 1 / -1;
}

label {

    display: block;

    font: 700 11px 'DM Sans', Arial, sans-serif;

    text-transform: uppercase;

    letter-spacing: 1px;

    margin-bottom: 7px;

    color: var(--burgundy);
}

input,
select,
textarea {

    width: 100%;

    padding: 14px;

    border: 1px solid rgba(101, 13, 22, .25);

    background: #fff;

    font: inherit;
}

input:focus,
select:focus,
textarea:focus {

    outline: none;

    border-color: var(--gold);

    box-shadow: 0 0 0 3px rgba(200, 155, 60, .15);
}

textarea {

    min-height: 150px;

    resize: vertical;
}


/* =========================================================
   CONTACT DETAILS
========================================================= */

.contact-intro {

    max-width: 600px;
}

.contact-intro > p {

    max-width: 560px;

    margin-bottom: 35px;
}

.contact-details {

    margin-top: 35px;

    border-top: 1px solid var(--line);
}

.contact-detail {

    display: flex;

    align-items: flex-start;

    gap: 20px;

    padding: 24px 0;

    border-bottom: 1px solid var(--line);

    transition: all .3s ease;
}

.contact-detail-icon {

    width: 48px;

    height: 48px;

    flex-shrink: 0;

    display: grid;

    place-items: center;

    border: 1px solid var(--gold);

    color: var(--gold);

    font-size: 17px;

    transition: all .3s ease;
}

.contact-detail:hover .contact-detail-icon {

    background: var(--gold);

    color: var(--navy);

    transform: translateY(-3px);
}

.contact-detail-content {

    flex: 1;
}

.contact-label {

    display: block;

    margin-bottom: 5px;

    font: 700 10px 'DM Sans', Arial, sans-serif;

    letter-spacing: 1.5px;

    text-transform: uppercase;

    color: var(--gold2);
}

.contact-detail h3 {

    margin: 0 0 5px;

    font-size: 1.25rem;

    color: var(--burgundy);
}

.contact-detail p {

    margin: 0;

    font-size: .95rem;

    line-height: 1.6;
}


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

.site-footer {

    background:

        linear-gradient(
            135deg,
            #05070D 0%,
            #080D18 45%,
            #650D16 100%
        );

    color: #D0C6B8;

    padding: 80px 0 0;

    position: relative;

    overflow: hidden;
}

.site-footer::before {

    content: "";

    position: absolute;

    width: 500px;

    height: 500px;

    top: -280px;

    right: -180px;

    border-radius: 50%;

    border: 1px solid rgba(224, 185, 90, .15);

    box-shadow:

        0 0 0 50px rgba(224, 185, 90, .04),

        0 0 0 100px rgba(224, 185, 90, .02);

    pointer-events: none;
}

.footer-top {

    display: grid;

    grid-template-columns: 2fr 1fr 1.2fr 1.5fr;

    gap: 60px;

    position: relative;

    z-index: 1;
}

.footer-brand {

    max-width: 390px;
}

.footer-logo {

    display: flex;

    align-items: center;

    gap: 14px;

    margin-bottom: 22px;
}

.footer-logo img {

    width: 62px;

    height: 62px;

    object-fit: cover;

    border-radius: 50%;

    border: 1px solid var(--gold);
}

.footer-logo h3 {

    color: #fff;

    margin: 0 0 5px;

    font-family: 'DM Sans', Arial, sans-serif;

    font-size: 16px;

    letter-spacing: 1.5px;
}

.footer-logo span {

    color: var(--gold2);

    font: 10px 'DM Sans', Arial, sans-serif;

    letter-spacing: 1.5px;
}

.footer-brand p {

    color: #AFA79C;

    line-height: 1.8;

    margin-bottom: 25px;
}

.footer-cta {

    display: inline-flex !important;

    align-items: center;

    gap: 12px;

    padding: 13px 18px;

    border: 1px solid rgba(224, 185, 90, .55);

    color: var(--gold2) !important;

    font-weight: 700;

    transition: all .3s ease;
}

.footer-cta:hover {

    background: var(--gold);

    color: var(--navy) !important;
}

.footer-column h4 {

    color: var(--gold2);

    font: 700 12px 'DM Sans', Arial, sans-serif;

    letter-spacing: 1.8px;

    text-transform: uppercase;

    margin-bottom: 24px;
}

.footer-column > a {

    display: flex;

    align-items: center;

    gap: 10px;

    color: #C0B8AE;

    font-size: .92rem;

    margin: 13px 0;

    transition: all .25s ease;
}

.footer-column > a:hover {

    color: var(--gold2);

    transform: translateX(4px);
}

.footer-column > a i {

    width: 16px;

    color: var(--gold);

    font-size: 12px;
}

.footer-contact .contact-item {

    display: flex;

    align-items: flex-start;

    gap: 13px;

    margin-bottom: 18px;
}

.contact-icon {

    min-width: 34px;

    height: 34px;

    display: grid;

    place-items: center;

    border: 1px solid rgba(224, 185, 90, .4);

    color: var(--gold2);

    font-size: 13px;

    transition: all .3s ease;
}

.contact-item:hover .contact-icon {

    background: var(--gold);

    color: var(--navy);
}

.footer-contact .contact-item span:last-child {

    line-height: 1.6;
}

.footer-bottom {

    margin-top: 65px;

    padding: 22px 0;

    border-top: 1px solid rgba(255, 255, 255, .12);

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 25px;

    color: #8D8780;

    font: 14px 'DM Sans', Arial, sans-serif;

    letter-spacing: .3px;
}

.footer-bottom strong {

    color: #C8BFAF;
}

.footer-bottom a {

    color: var(--gold2);

    transition: color .25s ease;
}

.footer-bottom a:hover {

    color: #fff;
}


/* =========================================================
   REVEAL ANIMATION
========================================================= */

.reveal{
    opacity:1 !important;
    transform:none !important;
    visibility:visible !important;
}

.reveal.visible {

    opacity: 1;

    transform: none;
}


/* =========================================================
   CHARITY / WELFARE
========================================================= */

.charity-manifest {

    padding: 0;
}

.manifest-row {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 25px;

    padding: 18px 22px;

    border-bottom: 1px solid var(--line);
}

.manifest-row:last-child {

    border-bottom: 0;
}

.manifest-row span {

    font-size: .85rem;

    color: var(--muted);
}

.manifest-row strong {

    color: var(--burgundy);

    font-size: .9rem;

    text-align: right;
}

.charity-steps {

    display: grid;

    gap: 0;
}

.charity-step {

    display: grid;

    grid-template-columns: 75px 1fr;

    gap: 25px;

    padding: 28px 0;

    border-bottom: 1px solid rgba(255,255,255,.15);
}

.charity-step:first-child {

    border-top: 1px solid rgba(255,255,255,.15);
}

.step-number {

    font: 700 15px 'DM Sans', Arial, sans-serif;

    color: var(--gold2);
}

.charity-step h3 {

    color: #fff;

    margin-bottom: 8px;
}

.charity-step p {

    margin: 0;

    max-width: 700px;
}

.charity-note,
.welfare-note {

    margin-top: 35px;

    padding: 18px 22px;

    border-left: 3px solid var(--gold);

    background: var(--cream);

    color: var(--muted);

    font-size: .9rem;

    line-height: 1.7;
}

.charity-standard {

    max-width: 850px;
}

.charity-standard p {

    font-size: 1.2rem;

    color: #D0C6B8;
}

.charity-cta {

    text-align: center;

    max-width: 800px;
}

.charity-cta p {

    max-width: 650px;

    margin: 0 auto;
}

.charity-cta .actions {

    justify-content: center;
}

.btn-outline-dark {

    color: var(--burgundy);

    border-color: var(--gold);
}

.btn-outline-dark:hover {

    background: var(--burgundy);

    color: #fff;

    border-color: var(--burgundy);
}


/* =========================================================
   WELFARE
========================================================= */

.welfare-manifest {

    border: 1px solid rgba(224, 185, 90, .25);

    background: rgba(255,255,255,.04);

    padding: 10px 25px;
}

.welfare-step {

    display: grid;

    grid-template-columns: 80px 1fr;

    gap: 25px;

    align-items: start;

    padding: 30px 0;

    border-bottom: 1px solid var(--line);
}

.welfare-step:first-child {

    border-top: 1px solid var(--line);
}

.welfare-step h3 {

    margin-bottom: 8px;
}

.welfare-step p {

    margin: 0;

    max-width: 700px;
}


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

@media (max-width: 900px) {

    .navlinks {

        gap: 15px;
    }

    .grid-4 {

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

    .section-head {

        display: block;
    }

    .section-head > p {

        margin-top: 20px;
    }

    .cycle {

        gap: 35px;
    }

    .footer-top {

        grid-template-columns: 2fr 1fr 1fr;

        gap: 40px;
    }

    .footer-brand {

        grid-column: 1 / -1;

        max-width: 600px;
    }
}


/* =========================================================
   RESPONSIVE — MOBILE
========================================================= */

@media (max-width: 700px) {

    .topbar .container {

        display: block;
    }

    .topbar span {

        display: block;

        margin: 3px 0;
    }

    .nav-inner {

        min-height: 72px;
    }

    .menu {

        display: block;
    }

    .navlinks {

        display: none;

        position: absolute;

        top: 72px;

        left: 0;

        right: 0;

        background: var(--paper);

        padding: 15px 4%;

        border-bottom: 1px solid var(--line);

        flex-direction: column;

        align-items: stretch;

        gap: 0;
    }

    .navlinks.open {

        display: flex;
    }

    .navlinks a {

        padding: 14px 0;
    }

    .navlinks a.active:after {

        bottom: 5px;
    }

    .hero {

        min-height: 650px;
    }

    .hero-content {

        padding: 80px 0;
    }

    .section {

        padding: 75px 0;
    }

    .grid-2,
    .grid-3,
    .cycle {

        grid-template-columns: 1fr;
    }

    .grid-4 {

        grid-template-columns: 1fr 1fr;
    }

    .stat-strip {

        grid-template-columns: 1fr 1fr;
    }

    .stat {

        border-bottom: 1px solid rgba(224, 185, 90, .2);
    }

    .stat:nth-child(2) {

        border-right: 0;
    }

    .footer-top {

        grid-template-columns: 1fr 1fr;

        gap: 40px 25px;
    }

    .footer-brand {

        grid-column: 1 / -1;
    }

    .footer-bottom {

        display: block;

        line-height: 1.8;
    }

    .footer-bottom span {

        display: block;

        margin: 7px 0;
    }

    .form-grid {

        grid-template-columns: 1fr;
    }

    .form-grid .full {

        grid-column: auto;
    }

    .site-footer {

        padding-top: 60px;
    }

    .manifest-row {

        display: block;
    }

    .manifest-row strong {

        display: block;

        margin-top: 5px;

        text-align: left;
    }

    .charity-step,
    .welfare-step {

        grid-template-columns: 50px 1fr;

        gap: 15px;
    }
}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 450px) {

    .grid-4,
    .footer-top {

        grid-template-columns: 1fr;
    }

    .hero h1 {

        font-size: 3.2rem;
    }

    .footer-brand {

        max-width: 100%;
    }
}


.muster-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
}

@media (max-width:992px){
    .muster-grid{
        grid-template-columns:repeat(3,1fr);
    }
}

@media (max-width:768px){
    .muster-grid{
        grid-template-columns:repeat(2,1fr);
        gap:15px;
    }
}

@media (max-width:480px){
    .muster-grid{
        grid-template-columns:1fr;
        gap:15px;
    }

    .muster-card{
        width:100%;
    }

    .muster-photo-wrap{
        aspect-ratio:1/1;
    }

    .muster-photo{
        width:100%;
        height:100%;
        object-fit:cover;
    }

    .muster-info{
        padding:15px;
    }

    .muster-info h3{
        font-size:18px;
    }

    .muster-info p{
        font-size:14px;
    }
}