body.astroid-framework,
body.astroid-framework * {
    letter-spacing: normal !important;
}


/* Header block spacing */
.astroid-header-section header .header-block-item {
    margin-left: 25px;
}


/* =========================================================
   CUSTOM HERO SECTION
   ========================================================= */

.pmc-hero {
    min-height: 560px;
    display: flex;
    align-items: center;
    background:
        linear-gradient(90deg,
            rgba(255, 255, 255, 0.96) 0%,
            rgba(255, 255, 255, 0.88) 35%,
            rgba(255, 255, 255, 0.05) 75%),
        url('/images/pmc-hero.jpg') center center / cover no-repeat;
    padding: 60px 7%;
}

.pmc-hero-content {
    max-width: 600px;
}

.pmc-hero-intro {
    color: #16836d;
    font-weight: 600;
    letter-spacing: 2px;
    font-size: 14px;
}

.pmc-hero h1 {
    color: #124d59;
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.08;
    margin: 15px 0 25px;
}

.pmc-hero-description {
    color: #315968;
    font-size: 18px;
    line-height: 1.6;
}

.pmc-hero-buttons {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: 30px;
}

.pmc-button, .pmc-join-button {
    display: inline-block;
    background: #16836d;
    color: #ffffff !important;
    padding: 16px 30px;
    border-radius: 35px;
    text-decoration: none;
    font-weight: 600;
}

.pmc-button:hover, .pmc-join-button:hover {
    background: #126b59;
    color: #ffffff;
}

.pmc-link {
    color: #16836d;
    text-decoration: none;
    font-weight: 600;
}

.pmc-link:hover {
    text-decoration: underline;
}

/* Hero responsive styling */
@media (max-width: 767px) {
    .pmc-hero {
        min-height: 520px;
        padding: 45px 7%;
        background-position: 65% center;
    }

    .pmc-hero-buttons {
        flex-wrap: wrap;
        gap: 16px;
    }
}

/*margin at bootm of module position*/
#mod-custom319 {
	margin-bottom: 3rem;
}


/* =========================================================
   PMC ACTIVITIES SECTION
   ========================================================= */

.pmc-activities {
    padding: 45px 0% 55px;
    background: #F9F6FA;
}

.pmc-activities-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
}

.pmc-activities-heading h2 {
    color: #164b42;
    font-size: clamp(24px, 3vw, 32px);
    margin: 0;
    font-weight: 700;
}

.pmc-activities-heading a {
    color: #287b68;
    font-size: 14px;
    text-decoration: none;
}

.pmc-activities-heading a:hover {
    text-decoration: underline;
}


/* Activities grid */
.pmc-activity-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5625rem;
}


/* Individual activity cards */
.pmc-activity-card {
    min-height: 255px;
    border-radius: 9px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: flex-end;
    background-size: cover;
    background-position: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.25s ease;
}

.pmc-activity-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.85),
            rgba(0, 0, 0, 0.05) 75%);
}

.pmc-activity-content {
    position: relative;
    z-index: 1;
    color: #ffffff;
    padding: 20px;
}

.pmc-activity-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    font-size: 22px;
    margin-bottom: 8px;
}

.pmc-activity-content h3 {
    color: #ffffff;
    font-size: 19px;
    margin: 0 0 7px;
}

.pmc-activity-content p {
    color: #ffffff;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

.pmc-activity-card:hover {
    transform: translateY(-4px);
}

/* Activity card icons */
.pmc-activity-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
    color: #ffffff;
    font-size: 21px;
    margin-bottom: 12px;
}

.pmc-activity-icon i {
    color: #ffffff !important;
    line-height: 1;
}


/* =========================================================
   ACTIVITY PHOTOGRAPHS
   ========================================================= */

.pmc-climbing {
    background-image: url('/images/layout_images/joinus.jpg?1793271244');
}

/* Temporary placeholder until a hill-walking photo is available */
.pmc-walking {
    background-image: linear-gradient(135deg,
            #78917b,
            #344f43);
}

.pmc-mountaineering {
    background-image: url('/images/layout_images/miage.jpg?1793271244');
}

.pmc-meets {
    background-image: url('/images/layout_images/deniolen_hut.jpg?1793271244');
}


/* =========================================================
   ACTIVITIES RESPONSIVE STYLING
   ========================================================= */

/* Tablet */
@media (max-width: 900px) {
    .pmc-activity-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Mobile */
@media (max-width: 550px) {
    .pmc-activities {
        padding: 35px 5%;
    }

    .pmc-activities-heading {
        align-items: flex-start;
        gap: 10px;
        flex-direction: column;
    }

    .pmc-activity-grid {
        grid-template-columns: 1fr;
    }

    .pmc-activity-card {
        min-height: 230px;
    }
}

/*==========================================================
WELCOME SECTION BUTTON
============================================================*/
/* Welcome section button */
.pmc-welcome-button {
    display: inline-block;
    background: #16836D;
    color: #ffffff !important;
    padding: 13px 26px;
    border-radius: 30px;
    text-decoration: none !important;
    font-weight: 600;
    transition: background 0.25s ease;
}

.pmc-welcome-button:hover {
    background: #126B59;
    color: #ffffff !important;
}

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

.pmc-footer {
    background: #e8efe7;
    color: #526b59;
    padding: 55px 6% 20px;
    width: 100%;
    box-sizing: border-box;
}

.pmc-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.pmc-footer-brand {
    margin-bottom: 35px;
}

.pmc-footer-brand h3 {
    color: #315b40;
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 6px;
}

.pmc-footer-brand p {
    margin: 0;
    color: #526b59;
}

.pmc-footer-columns {
    display: grid;
    grid-template-columns: 1fr 1fr 1.5fr;
    gap:225px;
    padding-bottom: 35px;
}

.pmc-footer h4 {
    color: #315b40;
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 15px;
}

.pmc-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pmc-footer li {
    margin: 0 0 9px;
}

.pmc-footer a {
    color: #526b59;
    text-decoration: none;
}

.pmc-footer a:hover {
    color: #315b40;
    text-decoration: underline;
}

.pmc-footer-join p {
    max-width: 360px;
    margin: 0 0 20px;
}

.pmc-footer .pmc-footer-button {
    display: inline-block;
    background: #16836D;
    color: #fff !important;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
}

.pmc-footer .pmc-footer-button:hover {
    background: #126B59;
    color: #fff !important;
}

.pmc-footer-bottom {
    border-top: 1px solid #c8d7c8;
    padding-top: 18px;
    display: flex;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
    font-size: 13px;
}

.pmc-footer-bottom p {
    margin: 0;
}

@media (max-width: 767px) {
    .pmc-footer {
        padding: 40px 6% 20px;
    }

    .pmc-footer-columns {
        grid-template-columns: 1fr 1fr;
        gap: 30px 20px;
    }

    .pmc-footer-join {
        grid-column: 1 / -1;
    }

    .pmc-footer-bottom {
        flex-direction: column;
        gap: 8px;
    }
}

/* Make PMC footer background full browser width */
.pmc-footer {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    box-sizing: border-box;
    background: #e8efe7;
}


/* =========================================================
   LOGO
   ========================================================= */

.astroid-logo img {
    max-width: 250px;
    max-height: 150px;
}


/* =========================================================
   GENERAL IMAGE STYLING
   ========================================================= */

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
    border: 0;
}

/* PMC MOBILE HERO */

.pmc-hero-mobile {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: #f9f6fa;
    overflow: hidden;
}

.pmc-hero-mobile-image {
    width: 100%;
    height: 290px;
    background-image: url('/images/pmc-hero.jpg');
    background-size: cover;
    background-position: center 75%;
}

.pmc-hero-mobile-content {
    padding: 32px 24px 38px;
    text-align: left;
}

.pmc-hero-mobile-eyebrow {
    color: #315b40;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    line-height: 1.5;
    margin: 0 0 12px;
}

.pmc-hero-mobile-content h1 {
    color: #315b40;
    font-size: clamp(30px, 8vw, 40px);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: normal;
    margin: 0 0 18px;
}

.pmc-hero-mobile-text {
    color: #526b59;
    font-size: 16px;
    line-height: 1.6;
    margin: 0 0 24px;
    max-width: 420px;
}

.pmc-hero-mobile-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.pmc-mobile-button {
    display: inline-block;
    padding: 12px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    text-align: center;
}

.pmc-mobile-button-primary {
    background: #315b40;
    color: #fff !important;
}

.pmc-mobile-button-primary:hover {
    background: #244832;
    color: #fff !important;
}

.pmc-mobile-button-secondary {
    border: 1px solid #315b40;
    color: #315b40 !important;
    background: transparent;
}

.pmc-mobile-button-secondary:hover {
    background: #e8efe7;
    color: #315b40 !important;
}

@media (max-width: 380px) {
    .pmc-hero-mobile-image {
        height: 230px;
    }

    .pmc-hero-mobile-content {
        padding: 26px 20px 32px;
    }

    .pmc-hero-mobile-buttons {
        flex-direction: column;
        align-items: stretch;
    }
}