/**
 * ADS Home Page - Section Styles
 * ============================================================================
 * Custom styles for Architecture Design Services home page sections.
 * These extend the MHM Brand Kit base styles.
 *
 * Add this to your child theme's style.css or enqueue separately.
 * ============================================================================
 */

/* ==========================================================================
   HERO ANIMATION
   ========================================================================== */

@keyframes panDiagonalDown {
    0% { background-position: 0% 0%; }
    100% { background-position: 100% 100%; }
}

.mhm-bg-pan-diagonal {
    animation: panDiagonalDown 25s ease-in-out infinite alternate;
}

/* ==========================================================================
   HOW I SUPPORT YOUR PROJECT
   ========================================================================== */

.mhm-support-section {
    background-color: var(--mhm-bg, #F7F5F2);
}

.mhm-support-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--mhm-space-2xl, 3rem);
}

.mhm-support-title {
    font-family: var(--mhm-heading-font, Georgia, serif);
    font-size: 2.25rem;
    font-weight: var(--mhm-heading-weight, 600);
    color: var(--mhm-text, #222222);
    margin-bottom: var(--mhm-space-md, 1rem);
    line-height: 1.2;
}

.mhm-support-intro {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--mhm-muted, #6B7280);
    margin: 0;
}

.mhm-support-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--mhm-space-lg, 1.5rem);
    align-items: stretch;
}

.mhm-support-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: var(--mhm-space-xl, 2rem);
    background: var(--mhm-card-bg, #ffffff);
    border-radius: var(--mhm-radius-lg, 20px);
    border: 1px solid var(--mhm-border, #E5E7EB);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mhm-support-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.mhm-support-card--featured {
    border: 2px solid var(--mhm-primary, #5A8258);
    box-shadow: 0 8px 30px rgba(90, 130, 88, 0.12);
}

.mhm-support-card--featured .mhm-support-number {
    color: var(--mhm-primary, #5A8258);
}

.mhm-support-number {
    font-family: var(--mhm-heading-font, Georgia, serif);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--mhm-muted, #6B7280);
    letter-spacing: 0.05em;
    margin-bottom: var(--mhm-space-sm, 0.5rem);
}

.mhm-support-card-title {
    font-family: var(--mhm-heading-font, Georgia, serif);
    font-size: 1.375rem;
    font-weight: var(--mhm-heading-weight, 600);
    color: var(--mhm-text, #222222);
    margin-bottom: var(--mhm-space-sm, 0.5rem);
    line-height: 1.3;
}

.mhm-support-card-text {
    font-size: 1rem;
    line-height: var(--mhm-line-height, 1.6);
    color: var(--mhm-muted, #6B7280);
    margin-bottom: var(--mhm-space-lg, 1.5rem);
    flex-grow: 1;
}

.mhm-support-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--mhm-primary, #5A8258);
    text-decoration: none;
    transition: gap 0.2s ease, color 0.2s ease;
}

.mhm-support-link:hover {
    gap: 0.75rem;
    color: var(--mhm-link, #7A6317);
}

.mhm-support-link svg {
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.mhm-support-link:hover svg {
    transform: translateX(2px);
}

/* ==========================================================================
   WHY IT FEELS DIFFERENT
   ========================================================================== */

.mhm-different-section {
    background-color: var(--mhm-card-bg, #ffffff);
}

.mhm-different-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--mhm-space-3xl, 4rem);
    align-items: center;
}

.mhm-different-content {
    max-width: 540px;
}

.mhm-different-title {
    font-family: var(--mhm-heading-font, Georgia, serif);
    font-size: 2.25rem;
    font-weight: var(--mhm-heading-weight, 600);
    color: var(--mhm-text, #222222);
    margin-bottom: var(--mhm-space-md, 1rem);
    line-height: 1.2;
}

.mhm-different-lead {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--mhm-muted, #6B7280);
    margin-bottom: var(--mhm-space-lg, 1.5rem);
}

.mhm-different-questions {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--mhm-space-lg, 1.5rem) 0;
}

.mhm-different-questions li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: var(--mhm-space-sm, 0.5rem);
    font-size: 1rem;
    font-style: italic;
    color: var(--mhm-text, #222222);
    line-height: 1.5;
}

.mhm-different-questions li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 8px;
    height: 8px;
    background-color: var(--mhm-primary, #5A8258);
    border-radius: 50%;
}

.mhm-different-summary {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--mhm-muted, #6B7280);
    margin: 0;
}

.mhm-different-summary strong {
    color: var(--mhm-text, #222222);
}

.mhm-different-image {
    border-radius: var(--mhm-radius-lg, 20px);
    overflow: hidden;
}

.mhm-different-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   THE APPROACH (THREE PILLARS)
   ========================================================================== */

.mhm-approach-section {
    background-color: var(--mhm-bg, #F7F5F2);
}

.mhm-approach-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto var(--mhm-space-2xl, 3rem);
}

.mhm-approach-header .mhm-overline {
    color: var(--mhm-accent, #5A8258);
    margin-bottom: var(--mhm-space-sm, 0.5rem);
}

.mhm-approach-title {
    font-family: var(--mhm-heading-font, Georgia, serif);
    font-size: 2.25rem;
    font-weight: var(--mhm-heading-weight, 600);
    color: var(--mhm-text, #222222);
    margin-bottom: var(--mhm-space-md, 1rem);
    line-height: 1.2;
}

.mhm-approach-intro {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--mhm-muted, #6B7280);
    margin: 0;
}

.mhm-approach-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--mhm-space-xl, 2rem);
    margin-bottom: var(--mhm-space-2xl, 3rem);
}

.mhm-approach-card {
    padding: var(--mhm-space-xl, 2rem);
    background: var(--mhm-card-bg, #ffffff);
    border-radius: var(--mhm-radius-lg, 20px);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mhm-approach-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.mhm-approach-card--featured {
    background: var(--mhm-primary, #5A8258);
    color: #ffffff;
}

.mhm-approach-card--featured .mhm-approach-card-title,
.mhm-approach-card--featured .mhm-approach-card-text,
.mhm-approach-card--featured .mhm-approach-details li {
    color: #ffffff;
}

.mhm-approach-card--featured .mhm-approach-icon {
    color: rgba(255, 255, 255, 0.9);
}

.mhm-approach-card--featured .mhm-approach-details li::before {
    background-color: var(--mhm-accent, #A98B5F);
}

.mhm-approach-icon {
    color: var(--mhm-primary, #5A8258);
    margin-bottom: var(--mhm-space-md, 1rem);
}

.mhm-approach-card-title {
    font-family: var(--mhm-heading-font, Georgia, serif);
    font-size: 1.375rem;
    font-weight: var(--mhm-heading-weight, 600);
    color: var(--mhm-text, #222222);
    margin-bottom: var(--mhm-space-sm, 0.5rem);
}

.mhm-approach-card-text {
    font-size: 1rem;
    line-height: var(--mhm-line-height, 1.6);
    color: var(--mhm-muted, #6B7280);
    margin-bottom: var(--mhm-space-md, 1rem);
}

.mhm-approach-card-text strong {
    color: var(--mhm-text, #222222);
}

.mhm-approach-card--featured .mhm-approach-card-text strong {
    color: #ffffff;
}

.mhm-approach-details {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mhm-approach-details li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: var(--mhm-space-xs, 0.25rem);
    font-size: 0.9375rem;
    line-height: 1.5;
    color: var(--mhm-text, #222222);
}

.mhm-approach-details li:last-child {
    margin-bottom: 0;
}

.mhm-approach-details li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 6px;
    height: 6px;
    background-color: var(--mhm-primary, #5A8258);
    border-radius: 50%;
}

.mhm-approach-footer {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
    padding-top: var(--mhm-space-lg, 1.5rem);
    border-top: 1px solid var(--mhm-border, #E5E7EB);
}

.mhm-approach-footer p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--mhm-muted, #6B7280);
    margin: 0;
    font-style: italic;
}

/* ==========================================================================
   WHAT I DO
   ========================================================================== */

.mhm-whatido-section {
    background-color: var(--mhm-card-bg, #ffffff);
}

.mhm-whatido-layout {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: var(--mhm-space-3xl, 4rem);
    align-items: start;
}

.mhm-whatido-content {
    max-width: 580px;
}

.mhm-whatido-title {
    font-family: var(--mhm-heading-font, Georgia, serif);
    font-size: 2.25rem;
    font-weight: var(--mhm-heading-weight, 600);
    color: var(--mhm-text, #222222);
    margin-bottom: var(--mhm-space-lg, 1.5rem);
    line-height: 1.2;
}

.mhm-whatido-lead {
    font-size: 1.1875rem;
    line-height: 1.7;
    color: var(--mhm-text, #222222);
    margin-bottom: var(--mhm-space-md, 1rem);
}

.mhm-whatido-body {
    font-size: 1rem;
    line-height: var(--mhm-line-height, 1.6);
    color: var(--mhm-muted, #6B7280);
    margin-bottom: var(--mhm-space-md, 1rem);
}

.mhm-whatido-body:last-of-type {
    margin-bottom: var(--mhm-space-lg, 1.5rem);
}

.mhm-whatido-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--mhm-primary, #5A8258);
    text-decoration: none;
    transition: gap 0.2s ease, color 0.2s ease;
}

.mhm-whatido-link:hover {
    gap: 0.75rem;
    color: var(--mhm-link, #7A6317);
}

.mhm-whatido-link svg {
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.mhm-whatido-link:hover svg {
    transform: translateX(2px);
}

.mhm-whatido-sidebar {
    position: sticky;
    top: var(--mhm-space-xl, 2rem);
}

.mhm-whatido-types {
    background: var(--mhm-bg, #F7F5F2);
    border-radius: var(--mhm-radius-lg, 20px);
    padding: var(--mhm-space-xl, 2rem);
}

.mhm-whatido-types-title {
    font-family: var(--mhm-body-font, system-ui, sans-serif);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--mhm-muted, #6B7280);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--mhm-space-md, 1rem);
}

.mhm-whatido-types-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mhm-whatido-types-list li {
    border-bottom: 1px solid var(--mhm-border, #E5E7EB);
}

.mhm-whatido-types-list li:last-child {
    border-bottom: none;
}

.mhm-whatido-types-list a {
    display: block;
    padding: var(--mhm-space-md, 1rem) 0;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.mhm-whatido-types-list a:hover {
    transform: translateX(4px);
}

.mhm-whatido-types-list li:first-child a {
    padding-top: 0;
}

.mhm-whatido-types-list li:last-child a {
    padding-bottom: 0;
}

.mhm-whatido-type-name {
    display: block;
    font-family: var(--mhm-heading-font, Georgia, serif);
    font-size: 1.125rem;
    font-weight: var(--mhm-heading-weight, 600);
    color: var(--mhm-text, #222222);
    margin-bottom: 0.125rem;
    transition: color 0.2s ease;
}

.mhm-whatido-types-list a:hover .mhm-whatido-type-name {
    color: var(--mhm-primary, #5A8258);
}

.mhm-whatido-type-desc {
    display: block;
    font-size: 0.875rem;
    color: var(--mhm-muted, #6B7280);
    line-height: 1.4;
}

/* ==========================================================================
   TESTIMONIAL
   ========================================================================== */

.mhm-testimonial-section {
    background-color: var(--mhm-secondary, #C0D5C5);
}

.mhm-testimonial-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.mhm-testimonial-quote {
    font-family: var(--mhm-heading-font, Georgia, serif);
    font-size: 1.5rem;
    font-weight: 400;
    font-style: italic;
    line-height: 1.6;
    color: var(--mhm-text, #222222);
    margin: 0 0 var(--mhm-space-lg, 1.5rem) 0;
}

.mhm-testimonial-quote::before {
    content: '"';
    display: block;
    font-size: 4rem;
    line-height: 1;
    color: var(--mhm-primary, #5A8258);
    opacity: 0.4;
    margin-bottom: var(--mhm-space-sm, 0.5rem);
}

.mhm-testimonial-author {
    font-size: 1rem;
    color: var(--mhm-text, #222222);
}

.mhm-testimonial-author strong {
    display: block;
    font-weight: 600;
    margin-bottom: 0.125rem;
}

.mhm-testimonial-author span {
    font-size: 0.875rem;
    color: var(--mhm-muted, #6B7280);
}

/* ==========================================================================
   SERVICE DELIVERABLES
   ========================================================================== */

.mhm-services-section {
    background-color: var(--mhm-card-bg, #ffffff);
}

.mhm-services-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--mhm-space-2xl, 3rem);
}

.mhm-services-title {
    font-family: var(--mhm-heading-font, Georgia, serif);
    font-size: 2.25rem;
    font-weight: var(--mhm-heading-weight, 600);
    color: var(--mhm-text, #222222);
    margin-bottom: var(--mhm-space-md, 1rem);
    line-height: 1.2;
}

.mhm-services-intro {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--mhm-muted, #6B7280);
    margin: 0;
}

.mhm-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--mhm-space-lg, 1.5rem);
}

.mhm-service-card {
    background: var(--mhm-bg, #F7F5F2);
    border-radius: var(--mhm-radius-lg, 20px);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mhm-service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.mhm-service-card__image {
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.mhm-service-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.mhm-service-card:hover .mhm-service-card__image img {
    transform: scale(1.05);
}

.mhm-service-card__content {
    padding: var(--mhm-space-lg, 1.5rem);
}

.mhm-service-card__title {
    font-family: var(--mhm-heading-font, Georgia, serif);
    font-size: 1.25rem;
    font-weight: var(--mhm-heading-weight, 600);
    color: var(--mhm-text, #222222);
    margin-bottom: var(--mhm-space-sm, 0.5rem);
    line-height: 1.3;
}

.mhm-service-card__text {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--mhm-muted, #6B7280);
    margin-bottom: var(--mhm-space-md, 1rem);
}

.mhm-service-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--mhm-primary, #5A8258);
    text-decoration: none;
    transition: gap 0.2s ease;
}

.mhm-service-card__link:hover {
    gap: 0.75rem;
}

/* ==========================================================================
   CTA SECTION
   ========================================================================== */

.mhm-cta-section {
    background: linear-gradient(135deg, var(--mhm-primary, #5A8258) 0%, #4a6f48 100%);
    text-align: center;
}

.mhm-cta-container {
    max-width: 600px;
    margin: 0 auto;
}

.mhm-cta-title {
    font-family: var(--mhm-heading-font, Georgia, serif);
    font-size: 2rem;
    font-weight: var(--mhm-heading-weight, 600);
    color: #ffffff;
    margin-bottom: var(--mhm-space-sm, 0.5rem);
    line-height: 1.2;
}

.mhm-cta-text {
    font-size: 1.125rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--mhm-space-lg, 1.5rem);
}

.mhm-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--mhm-space-md, 1rem) var(--mhm-space-xl, 2rem);
    font-family: var(--mhm-body-font, system-ui, sans-serif);
    font-size: 1rem;
    font-weight: 500;
    color: var(--mhm-primary, #5A8258);
    background: #ffffff;
    border: none;
    border-radius: var(--mhm-radius, 12px);
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mhm-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    color: var(--mhm-primary, #5A8258);
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */

.mhm-faq-section {
    background-color: var(--mhm-bg, #F7F5F2);
}

.mhm-faq-title {
    font-family: var(--mhm-heading-font, Georgia, serif);
    font-size: 2.25rem;
    font-weight: var(--mhm-heading-weight, 600);
    color: var(--mhm-text, #222222);
    margin-bottom: var(--mhm-space-2xl, 3rem);
    text-align: center;
}

.mhm-faq-list {
    max-width: 100%;
}

.mhm-faq-item {
    border-bottom: 1px solid var(--mhm-border, #E5E7EB);
}

.mhm-faq-item:first-child {
    border-top: 1px solid var(--mhm-border, #E5E7EB);
}

.mhm-faq-question {
    display: flex;
    align-items: center;
    gap: var(--mhm-space-md, 1rem);
    padding: var(--mhm-space-lg, 1.5rem) 0;
    cursor: pointer;
    list-style: none;
    font-family: var(--mhm-body-font, system-ui, sans-serif);
    font-size: 1.0625rem;
    font-weight: 500;
    color: var(--mhm-text, #222222);
    line-height: 1.4;
    transition: color 0.2s ease;
}

.mhm-faq-question::-webkit-details-marker {
    display: none;
}

.mhm-faq-question::marker {
    display: none;
    content: '';
}

.mhm-faq-question:hover {
    color: var(--mhm-primary, #5A8258);
}

.mhm-faq-icon {
    position: relative;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

.mhm-faq-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--mhm-primary, #5A8258);
    transform: translateY(-50%);
    transition: background-color 0.2s ease;
}

.mhm-faq-icon::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background-color: var(--mhm-primary, #5A8258);
    transform: translateX(-50%);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.mhm-faq-item[open] .mhm-faq-icon::after {
    transform: translateX(-50%) rotate(90deg);
    opacity: 0;
}

.mhm-faq-answer {
    padding: 0 0 var(--mhm-space-lg, 1.5rem) calc(20px + var(--mhm-space-md, 1rem));
    animation: mhm-faq-fade-in 0.3s ease;
}

.mhm-faq-answer p {
    margin: 0;
    font-size: 1rem;
    line-height: var(--mhm-line-height, 1.6);
    color: var(--mhm-muted, #6B7280);
}

@keyframes mhm-faq-fade-in {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   RESPONSIVE - TABLET (max-width: 960px)
   ========================================================================== */

@media screen and (max-width: 960px) {

    .mhm-support-grid {
        grid-template-columns: 1fr;
        gap: var(--mhm-space-md, 1rem);
    }

    .mhm-support-card {
        padding: var(--mhm-space-lg, 1.5rem);
    }

    .mhm-different-layout {
        grid-template-columns: 1fr;
        gap: var(--mhm-space-xl, 2rem);
    }

    .mhm-different-content {
        max-width: 100%;
        order: 2;
    }

    .mhm-different-image {
        order: 1;
    }

    .mhm-approach-grid {
        grid-template-columns: 1fr;
        gap: var(--mhm-space-lg, 1.5rem);
    }

    .mhm-approach-card--featured {
        order: -1;
    }

    .mhm-whatido-layout {
        grid-template-columns: 1fr;
        gap: var(--mhm-space-xl, 2rem);
    }

    .mhm-whatido-content {
        max-width: 100%;
    }

    .mhm-whatido-sidebar {
        position: static;
    }

    .mhm-services-grid {
        grid-template-columns: 1fr;
        gap: var(--mhm-space-md, 1rem);
    }
}

/* ==========================================================================
   RESPONSIVE - MOBILE (max-width: 768px)
   ========================================================================== */

@media screen and (max-width: 768px) {

    .mhm-support-title,
    .mhm-different-title,
    .mhm-approach-title,
    .mhm-whatido-title,
    .mhm-services-title,
    .mhm-faq-title {
        font-size: 1.75rem;
    }

    .mhm-support-intro,
    .mhm-approach-intro,
    .mhm-services-intro {
        font-size: 1rem;
    }

    .mhm-support-card-title,
    .mhm-approach-card-title,
    .mhm-service-card__title {
        font-size: 1.25rem;
    }

    .mhm-support-card-text,
    .mhm-approach-card-text {
        font-size: 0.9375rem;
    }

    .mhm-whatido-lead {
        font-size: 1.0625rem;
    }

    .mhm-whatido-types {
        padding: var(--mhm-space-lg, 1.5rem);
    }

    .mhm-testimonial-quote {
        font-size: 1.25rem;
    }

    .mhm-cta-title {
        font-size: 1.75rem;
    }

    .mhm-cta-text {
        font-size: 1rem;
    }

    .mhm-faq-question {
        font-size: 1rem;
        padding: var(--mhm-space-md, 1rem) 0;
        gap: var(--mhm-space-sm, 0.75rem);
    }

    .mhm-faq-icon {
        width: 16px;
        height: 16px;
    }

    .mhm-faq-answer {
        padding-left: calc(16px + var(--mhm-space-sm, 0.75rem));
        padding-bottom: var(--mhm-space-md, 1rem);
    }

    .mhm-faq-answer p {
        font-size: 0.9375rem;
    }
}

/* ==========================================================================
   ABOUT PAGE STYLES
   ========================================================================== */

/* Hero Section */
.mhm-about-hero {
    background-color: var(--mhm-bg, #F7F5F2);
}

.mhm-about-hero-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--mhm-space-3xl, 4rem);
    align-items: center;
}

.mhm-about-hero-content .mhm-overline {
    color: var(--mhm-accent, #5A8258);
    margin-bottom: var(--mhm-space-sm, 0.5rem);
}

.mhm-about-hero-title {
    font-family: var(--mhm-heading-font, Georgia, serif);
    font-size: 3rem;
    font-weight: var(--mhm-heading-weight, 600);
    color: var(--mhm-text, #222222);
    margin-bottom: var(--mhm-space-lg, 1.5rem);
    line-height: 1.1;
}

.mhm-about-hero-lead {
    font-size: 1.1875rem;
    line-height: 1.7;
    color: var(--mhm-text, #222222);
    margin-bottom: var(--mhm-space-md, 1rem);
}

.mhm-about-hero-text {
    font-size: 1.1rem;
    line-height: var(--mhm-line-height, 1.6);
    color: var(--mhm-muted, #6B7280);
    margin: 0;
}

.mhm-about-hero-image {
    border-radius: var(--mhm-radius-lg, 20px);
    overflow: hidden;
}

.mhm-about-hero-image img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

/* Section Titles */
.mhm-about-section-title {
    font-family: var(--mhm-heading-font, Georgia, serif);
    font-size: 2rem;
    font-weight: var(--mhm-heading-weight, 600);
    color: var(--mhm-text, #222222);
    margin-bottom: var(--mhm-space-lg, 1.5rem);
    line-height: 1.2;
}

/* Prose Styling */
.mhm-about-prose p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--mhm-muted, #6B7280);
    margin-bottom: var(--mhm-space-md, 1rem);
}

.mhm-about-prose p:last-child {
    margin-bottom: 0;
}

/* The Work Section */
.mhm-about-work {
    background-color: var(--mhm-card-bg, #ffffff);
}

/* The Thinking Section */
.mhm-about-thinking {
    background-color: var(--mhm-bg, #F7F5F2);
}

.mhm-about-thinking-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--mhm-space-3xl, 4rem);
    align-items: start;
}

.mhm-about-thinking-lead {
    font-size: 1.1875rem;
    line-height: 1.7;
    color: var(--mhm-text, #222222);
    margin: 0;
}

.mhm-about-thinking-lead strong {
    color: var(--mhm-primary, #5A8258);
}

.mhm-about-thinking-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--mhm-muted, #6B7280);
    margin-bottom: var(--mhm-space-md, 1rem);
}

.mhm-about-thinking-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--mhm-space-lg, 1.5rem);
    margin: var(--mhm-space-xl, 2rem) 0;
}

.mhm-about-pillar {
    padding: var(--mhm-space-lg, 1.5rem);
    background: var(--mhm-card-bg, #ffffff);
    border-radius: var(--mhm-radius-lg, 20px);
}

.mhm-about-pillar h3 {
    font-family: var(--mhm-heading-font, Georgia, serif);
    font-size: 1.125rem;
    font-weight: var(--mhm-heading-weight, 600);
    color: var(--mhm-text, #222222);
    margin-bottom: var(--mhm-space-sm, 0.5rem);
}

.mhm-about-pillar p {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--mhm-muted, #6B7280);
    margin: 0;
}

.mhm-about-thinking-close {
    font-style: italic;
    margin-top: var(--mhm-space-lg, 1.5rem);
}

/* Background Section */
.mhm-about-background {
    background-color: var(--mhm-card-bg, #ffffff);
}

.mhm-about-background-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--mhm-space-3xl, 4rem);
    align-items: start;
}

/* Qualifications Box */
.mhm-about-qualifications {
    background: var(--mhm-bg, #F7F5F2);
    border-radius: var(--mhm-radius-lg, 20px);
    padding: var(--mhm-space-xl, 2rem);
}

.mhm-about-qual-title {
    font-family: var(--mhm-body-font, system-ui, sans-serif);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--mhm-accent, #6B7280);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--mhm-space-md, 1rem);
}

.mhm-about-qual-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mhm-about-qual-list li {
    padding: var(--mhm-space-md, 1rem) 0;
    border-bottom: 1px solid var(--mhm-border, #E5E7EB);
}

.mhm-about-qual-list li:first-child {
    padding-top: 0;
}

.mhm-about-qual-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.mhm-about-qual-name {
    display: block;
    font-family: var(--mhm-heading-font, Georgia, serif);
    font-size: 1.0625rem;
    font-weight: var(--mhm-heading-weight, 600);
    color: var(--mhm-text, #222222);
    margin-bottom: 0.125rem;
}

.mhm-about-qual-note {
    display: block;
    font-size: 0.875rem;
    color: var(--mhm-muted, #6B7280);
}

/* Transparency Section */
.mhm-about-transparency {
    background-color: var(--mhm-bg, #F7F5F2);
}

.mhm-about-transparency-box {
    background: var(--mhm-card-bg, #ffffff);
    border-left: 4px solid var(--mhm-primary, #5A8258);
    border-radius: var(--mhm-radius, 12px);
    padding: var(--mhm-space-xl, 2rem);
}

.mhm-about-transparency-box h3 {
    font-family: var(--mhm-heading-font, Georgia, serif);
    font-size: 1.25rem;
    font-weight: var(--mhm-heading-weight, 600);
    color: var(--mhm-text, #222222);
    margin-bottom: var(--mhm-space-md, 1rem);
}

.mhm-about-transparency-box p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--mhm-muted, #6B7280);
    margin-bottom: var(--mhm-space-md, 1rem);
}

.mhm-about-transparency-box p:last-child {
    margin-bottom: 0;
    font-style: italic;
}

/* How I Work Section */
.mhm-about-howwork {
    background-color: var(--mhm-card-bg, #ffffff);
}

/* ==========================================================================
   ABOUT PAGE RESPONSIVE - TABLET
   ========================================================================== */

@media screen and (max-width: 960px) {

    .mhm-about-hero-layout {
        grid-template-columns: 1fr;
        gap: var(--mhm-space-xl, 2rem);
    }

    .mhm-about-hero-content {
        order: 2;
    }

    .mhm-about-hero-image {
        order: 1;
        max-width: 400px;
        margin: 0 auto;
    }

    .mhm-about-thinking-layout {
        grid-template-columns: 1fr;
        gap: var(--mhm-space-xl, 2rem);
    }

    .mhm-about-thinking-pillars {
        grid-template-columns: 1fr;
    }

    .mhm-about-background-layout {
        grid-template-columns: 1fr;
        gap: var(--mhm-space-xl, 2rem);
    }
}

/* ==========================================================================
   ABOUT PAGE RESPONSIVE - MOBILE
   ========================================================================== */

@media screen and (max-width: 768px) {

    .mhm-about-hero-title {
        font-size: 2.25rem;
    }

    .mhm-about-hero-lead {
        font-size: 1.0625rem;
    }

    .mhm-about-section-title {
        font-size: 1.75rem;
    }

    .mhm-about-prose p {
        font-size: 1rem;
    }

    .mhm-about-thinking-lead {
        font-size: 1.0625rem;
    }

    .mhm-about-pillar {
        padding: var(--mhm-space-md, 1rem);
    }

    .mhm-about-qualifications {
        padding: var(--mhm-space-lg, 1.5rem);
    }

    .mhm-about-transparency-box {
        padding: var(--mhm-space-lg, 1.5rem);
    }
}


/* ==========================================================================
   RESTORATIVE ECOLOGIES - REVISED LAYOUT
   ========================================================================== */

.mhm-ecology-section {
    background-color: var(--mhm-card-bg, #ffffff);
}

.mhm-ecology-layout {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: var(--mhm-space-2xl, 3rem);
    align-items: start;
}

/* Left Column: Introduction */
.mhm-ecology-intro {
    position: sticky;
    top: var(--mhm-space-xl, 2rem);
}

.mhm-ecology-intro-inner {
    background-color: var(--mhm-bg, #F7F5F2);
    border-radius: var(--mhm-radius-lg, 20px);
    padding: var(--mhm-space-xl, 2rem);
}

.mhm-ecology-intro .mhm-about-section-title {
    margin-bottom: var(--mhm-space-md, 1rem);
}

.mhm-ecology-lead {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--mhm-text, #222222);
    margin-bottom: var(--mhm-space-md, 1rem);
}

.mhm-ecology-lead strong {
    color: var(--mhm-primary, #5A8258);
}

.mhm-ecology-subtext {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--mhm-muted, #6B7280);
    margin-bottom: var(--mhm-space-lg, 1.5rem);
}

.mhm-ecology-closing {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--mhm-muted, #6B7280);
    font-style: italic;
    margin: 0;
    padding-top: var(--mhm-space-lg, 1.5rem);
    border-top: 1px solid var(--mhm-border, #E5E7EB);
}

/* Right Column: 2x2 Grid */
.mhm-ecology-pillars {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 1fr; /* Forces equal height rows */
    gap: var(--mhm-space-lg, 1.5rem);
}

/* Individual Cards - Base Styling */
.mhm-ecology-card {
    display: flex;
    flex-direction: column;
    padding: var(--mhm-space-lg, 1.5rem);
    padding-left: calc(var(--mhm-space-lg, 1.5rem) + 4px);
    background: var(--mhm-card-bg, #ffffff);
    border-radius: var(--mhm-radius, 12px);
    border-left: 4px solid var(--mhm-primary, #5A8258);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mhm-ecology-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* Card Border Colours - Each pillar gets a different accent */
.mhm-ecology-card--bioclimatic {
    border-left-color: var(--mhm-primary, #5A8258); /* Green */
}

.mhm-ecology-card--hydro {
    border-left-color: #4A90A4; /* Water blue */
}

.mhm-ecology-card--biophilic {
    border-left-color: var(--mhm-accent, #A98B5F); /* Warm accent */
}

.mhm-ecology-card--behavioural {
    border-left-color: #7A6F8E; /* Soft purple */
}

.mhm-ecology-card h3 {
    font-family: var(--mhm-heading-font, Georgia, serif);
    font-size: 1.125rem;
    font-weight: var(--mhm-heading-weight, 600);
    color: var(--mhm-text, #222222);
    margin-bottom: var(--mhm-space-sm, 0.5rem);
    line-height: 1.3;
}

.mhm-ecology-card p {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--mhm-muted, #6B7280);
    margin: 0;
    flex-grow: 1; /* Allows text to fill available space */
}

/* ==========================================================================
   RESPONSIVE - TABLET
   ========================================================================== */

@media screen and (max-width: 1024px) {
    .mhm-ecology-layout {
        grid-template-columns: 1fr;
        gap: var(--mhm-space-xl, 2rem);
    }

    .mhm-ecology-intro {
        position: static;
    }

    .mhm-ecology-intro-inner {
        max-width: 600px;
    }

    .mhm-ecology-pillars {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==========================================================================
   RESPONSIVE - MOBILE
   ========================================================================== */

@media screen and (max-width: 640px) {
    .mhm-ecology-pillars {
        grid-template-columns: 1fr;
        grid-auto-rows: auto; /* Allow natural height on mobile */
    }

    .mhm-ecology-intro-inner {
        padding: var(--mhm-space-lg, 1.5rem);
    }

    .mhm-ecology-lead {
        font-size: 1.0625rem;
    }

    .mhm-ecology-card {
        padding: var(--mhm-space-md, 1rem);
        padding-left: calc(var(--mhm-space-md, 1rem) + 4px);
    }

    .mhm-ecology-card h3 {
        font-size: 1.0625rem;
    }
}


/* ==========================================================================
   REGISTRATION AND SCOPE SECTION
   ========================================================================== */

.mhm-scope-section {
    background-color: var(--mhm-bg, #F7F5F2);
}

.mhm-scope-box {
    background: var(--mhm-card-bg, #ffffff);
    border-radius: var(--mhm-radius-lg, 20px);
    overflow: hidden;
}

/* Header */
.mhm-scope-header {
    padding: var(--mhm-space-xl, 2rem);
    background: linear-gradient(135deg, var(--mhm-primary, #5A8258) 0%, #4a6f48 100%);
    color: #ffffff;
}

.mhm-scope-header h2 {
    font-family: var(--mhm-heading-font, Georgia, serif);
    font-size: 1.5rem;
    font-weight: var(--mhm-heading-weight, 600);
    color: #ffffff;
    margin-bottom: var(--mhm-space-md, 1rem);
    line-height: 1.3;
}

.mhm-scope-header p {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* Content Area */
.mhm-scope-content {
    padding: var(--mhm-space-xl, 2rem);
}

.mhm-scope-block {
    margin-bottom: var(--mhm-space-xl, 2rem);
}

.mhm-scope-block:last-child {
    margin-bottom: 0;
}

.mhm-scope-block h3 {
    font-family: var(--mhm-heading-font, Georgia, serif);
    font-size: 1.1875rem;
    font-weight: var(--mhm-heading-weight, 600);
    color: var(--mhm-text, #222222);
    margin-bottom: var(--mhm-space-sm, 0.5rem);
    line-height: 1.3;
}

.mhm-scope-block p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--mhm-muted, #6B7280);
    margin-bottom: var(--mhm-space-md, 1rem);
}

.mhm-scope-block p:last-child {
    margin-bottom: 0;
}

.mhm-scope-block strong {
    color: var(--mhm-text, #222222);
}

/* RIBA Stages List */
.mhm-scope-stages {
    list-style: none;
    padding: 0;
    margin: var(--mhm-space-md, 1rem) 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--mhm-space-sm, 0.5rem);
}

.mhm-scope-stages li {
    display: flex;
    flex-direction: column;
    padding: var(--mhm-space-sm, 0.5rem) var(--mhm-space-md, 1rem);
    background: var(--mhm-bg, #F7F5F2);
    border-radius: var(--mhm-radius-sm, 8px);
    border-left: 3px solid var(--mhm-primary, #5A8258);
}

.mhm-scope-stage-num {
    font-family: var(--mhm-heading-font, Georgia, serif);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--mhm-primary, #5A8258);
    margin-bottom: 0.125rem;
}

.mhm-scope-stage-desc {
    font-size: 0.875rem;
    color: var(--mhm-text, #222222);
    line-height: 1.4;
}

.mhm-scope-note {
    font-size: 0.8125rem;
    color: var(--mhm-muted, #6B7280);
    font-style: italic;
}

/* Closing Statement */
.mhm-scope-closing {
    font-style: italic;
    padding-top: var(--mhm-space-md, 1rem);
    border-top: 1px solid var(--mhm-border, #E5E7EB);
    margin-top: var(--mhm-space-md, 1rem);
}

/* ==========================================================================
   RESPONSIVE - TABLET
   ========================================================================== */

@media screen and (max-width: 768px) {
    .mhm-scope-header {
        padding: var(--mhm-space-lg, 1.5rem);
    }

    .mhm-scope-header h2 {
        font-size: 1.375rem;
    }

    .mhm-scope-content {
        padding: var(--mhm-space-lg, 1.5rem);
    }

    .mhm-scope-stages {
        grid-template-columns: 1fr;
    }

    .mhm-scope-block h3 {
        font-size: 1.125rem;
    }
}


@media (max-width: 768px){

    /* Force the wrapper into a 2x2 grid on mobile */
    body .mhm-cta-buttons{
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;

        /* Override your inline column-gap: 100px */
        column-gap: 12px !important;
        row-gap: 12px !important;
        gap: 12px !important;

        justify-content: initial !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
        box-sizing: border-box !important;
        width: 100% !important;
    }

    /* Make every link behave as a tidy button inside the grid */
    body .mhm-cta-buttons > a{
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        height: 44px !important;
        padding: 0 10px !important;

        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
}



/* Base card tweak (optional) */
.mhm-card-elevated {
    background: var(--mhm-card-bg);
}

/* Package-specific overrides */
.package-extensions {
    background: var(--mhm-bg); /* light warm neutral */
}

.package-selfbuild {
    background: var(--mhm-secondary); /* soft sage */
}

.package-change {
    background: color-mix(in srgb, var(--mhm-accent) 15%, var(--mhm-bg) 85%);
    /* or just use var(--mhm-bg) if color-mix is not supported */
}

/* Gradient panel that sits behind the text */
.mhm-gradient-panel{
    position: relative;
    display: inline-block;
    padding: clamp(16px, 2vw, 28px);
    border-radius: 18px;
    overflow: hidden;
    isolation: isolate; /* keeps the pseudo-element behind content */
}

/* Put text above the gradient */
.mhm-gradient-panel > *{
    position: relative;
    z-index: 2;
}

/* The animated gradient layer */
.mhm-gradient-panel::before{
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;

    /* warm cream to pale green */
    background: linear-gradient(
            120deg,
            rgba(252, 246, 232, 0.92),
            rgba(232, 245, 236, 0.92),
            rgba(252, 246, 232, 0.92)
    );

    background-size: 200% 200%;
    transform: translate3d(0,0,0);

    /* gentle idle movement even without scroll */
    animation: mhmGradientDrift 12s ease-in-out infinite;
}

/* Optional: a slight softening so it feels like light, not a block */
.mhm-gradient-panel::after{
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(255,255,255,0.10);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

/* Slow drift */
@keyframes mhmGradientDrift{
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.mhm-bg-transparent {
    background-color: transparent !important;
}

.mhm-bg-soft {
    background-color: rgba(255, 255, 255, 0.25);
}

.mhm-bg-clear {
    background-color: rgba(255, 255, 255, 0.1);
}


/* alignment via auto margins */
margin-left: 0;
margin-right: 0;
}

.mhm-different-image[style*="--align: left"]  { margin-right: auto; }
.mhm-different-image[style*="--align: right"] { margin-left: auto; }
.mhm-different-image[style*="--align: centre"]{
    margin-left: auto;
    margin-right: auto;
}

.mhm-support-price{ margin-bottom: 0px; }


.mhm-support-link{
    margin-top: 0; /* remove any top margin if present */
}

.mhm-support-card-head{
    display: flex;
    align-items: center;                 /* vertical alignment */
    gap: var(--mhm-space-md, 16px);      /* space between icon and title */
    margin-bottom: var(--mhm-space-sm, 12px);
}

.mhm-support-icon{
    width: 56px;
    height: 56px;
    object-fit: contain;
    flex: 0 0 auto;
}

.mhm-support-card-title{
    margin: 0;                           /* remove default heading margins */
}

.mhm-support-icon{ margin-top: -25px; }


/* Gradient panel that sits behind the text */
.mhm-gradient-panel{
    position: relative;
    display: inline-block;
    padding: clamp(16px, 2vw, 28px);
    border-radius: 18px;
    overflow: hidden;
    isolation: isolate; /* keeps the pseudo-element behind content */
}

/* Put text above the gradient */
.mhm-gradient-panel > *{
    position: relative;
    z-index: 2;
}

/* The animated gradient layer */
.mhm-gradient-panel::before{
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;

    /* warm cream to pale green */
    background: linear-gradient(
            120deg,
            rgba(252, 246, 232, 0.92),
            rgba(232, 245, 236, 0.92),
            rgba(252, 246, 232, 0.92)
    );

    background-size: 200% 200%;
    transform: translate3d(0,0,0);

    /* gentle idle movement even without scroll */
    animation: mhmGradientDrift 12s ease-in-out infinite;
}

/* Optional: a slight softening so it feels like light, not a block */
.mhm-gradient-panel::after{
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(255,255,255,0.10);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

/* Slow drift */
@keyframes mhmGradientDrift{
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Subtle drift */
@keyframes mhmPageGradient{
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}



:root{
    --mhm-bg-cream: rgb(251, 242, 228);
    --mhm-bg-green: rgb(226, 244, 232);
    --mhm-bg-blue: rgb(212, 228, 246);
    --mhm-bg-warmgrey: rgb(240, 236, 230);
}
body {
    background-color: var(--mhm-bg, #F7F5F2);
    min-height: 100vh; /* Ensure body fills viewport */
}

html {
    background-color: var(--mhm-bg, #F7F5F2); /* Fallback for overscroll */
}

/* ==========================================================================
   SECTION SPACING CONTROLS
   ========================================================================== */

/* Remove top padding (for sections that follow each other) */
.mhm-section-no-top {
    padding-top: 0 !important;
}

/* Remove bottom padding */
.mhm-section-no-bottom {
    padding-bottom: 0 !important;
}

/* Compact sections (half spacing) */
.mhm-section-compact {
    padding-top: var(--mhm-space-xl);
    padding-bottom: var(--mhm-space-xl);
}

/* Tight sections (minimal spacing) */
.mhm-section-tight {
    padding-top: var(--mhm-space-lg);
    padding-bottom: var(--mhm-space-lg);
}

/* Adjacent sections (remove double padding where sections meet) */
.mhm-section + .mhm-section,
.mhm-section-sm + .mhm-section,
.mhm-section + .mhm-section-sm {
    padding-top: 0;
}
/* ==========================================================================
   SECTION PADDING UTILITIES
   ========================================================================== */

/* Remove top padding */
.mhm-pt-0 { padding-top: 0 !important; }

/* Specific top padding sizes */
.mhm-pt-sm { padding-top: var(--mhm-space-sm) !important; }
.mhm-pt-md { padding-top: var(--mhm-space-md) !important; }
.mhm-pt-lg { padding-top: var(--mhm-space-lg) !important; }
.mhm-pt-xl { padding-top: var(--mhm-space-xl) !important; }
.mhm-pt-2xl { padding-top: var(--mhm-space-2xl) !important; }

/* Remove bottom padding */
.mhm-pb-0 { padding-bottom: 0 !important; }

/* Specific bottom padding sizes */
.mhm-pb-sm { padding-bottom: var(--mhm-space-sm) !important; }
.mhm-pb-md { padding-bottom: var(--mhm-space-md) !important; }
.mhm-pb-lg { padding-bottom: var(--mhm-space-lg) !important; }
.mhm-pb-xl { padding-bottom: var(--mhm-space-xl) !important; }
.mhm-pb-2xl { padding-bottom: var(--mhm-space-2xl) !important; }

/* Base single image (keep existing behavior) */


.section-divider {
    border: none;
    height: 35px;
    margin: 5rem 0;
    background: transparent;
}

.section-divider-md {
    border: none;
    height: 20px;
    margin: 5rem 0;
    background: transparent;
}


/* ==========================================================================
   GRID UTILITIES - Add to your existing grid section
   ========================================================================== */

.mhm-grid-2 { grid-template-columns: repeat(2, 1fr); }
.mhm-grid-3 { grid-template-columns: repeat(3, 1fr); }
.mhm-grid-4 { grid-template-columns: repeat(4, 1fr); }

.mhm-grid-auto {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* Grid column spanning utilities */
.mhm-col-span-2 { grid-column: span 2; }
.mhm-col-span-3 { grid-column: span 3; }
.mhm-col-span-4 { grid-column: span 4; }
.mhm-col-span-full { grid-column: 1 / -1; }

/* ==========================================================================
   MULTI-IMAGE COMPONENT - Add after your existing .mhm-card styles
   ========================================================================== */

/* Base single image
.mhm-different-image {
    position: relative;
    width: var(--w, 100%);
    max-width: 100%;
    padding: var(--pad, 24px);
    text-align: var(--align, center);
    background: var(--panel-bg, #f3efe7);
    border-radius: var(--panel-radius, 26px);
    box-shadow: var(--panel-shadow, 0 18px 30px rgba(0, 0, 0, 0.14));*/
}

/* Base wrapper: NO card styling */
.mhm-different-image{
    position: relative;
    width: var(--w, 100%);
    max-width: 100%;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    text-align: var(--align, center);
}


.mhm-different-image img{
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: var(--ar, auto);
    object-fit: cover;
    object-position: var(--pos, center);
    border-radius: var(--radius, 0px);

    /* Default shadow for every tile */
    box-shadow: var(--shadow, 0 15px 24px rgba(0,0,0,0.4));

    /* Thin border */
    border: 1px solid color-mix(in srgb, var(--mhm-card-1, #6B7280) 100%, transparent);
}



/* Multi-image containers */
.mhm-different-image--2,
.mhm-different-image--3 {
    display: grid;
    gap: var(--gap, 20px);
    width: 100%;
    max-width: 100%;
}

.mhm-different-image--2 {
    grid-template-columns: repeat(2, 1fr);
}

.mhm-different-image--3 {
    grid-template-columns: repeat(3, 1fr);
}

/* ==========================================================================
   RESPONSIVE - Update your existing responsive section
   ========================================================================== */

@media screen and (max-width: 768px) {
    .mhm-grid-2,
    .mhm-grid-3,
    .mhm-grid-4 {
        grid-template-columns: 1fr;
    }

    /* Reset column spans on mobile */
    .mhm-col-span-2,
    .mhm-col-span-3,
    .mhm-col-span-4,
    .mhm-col-span-full {
        grid-column: auto;
    }

    /* Stack multi-image grids on mobile */
    .mhm-different-image--2,
    .mhm-different-image--3 {
        grid-template-columns: 1fr;
    }

    .mhm-display-xl { font-size: 2.5rem; }
    .mhm-display-lg { font-size: 2rem; }
    .mhm-display-md { font-size: 1.75rem; }

    h1, .mhm-h1 { font-size: 2rem; }
    h2, .mhm-h2 { font-size: 1.5rem; }

    .mhm-section {
        padding-top: var(--mhm-space-xl);
        padding-bottom: var(--mhm-space-xl);
    }
}

/* Allow tile shadows to render outside their boxes */
.mhm-different-image,
.mhm-different-image--2,
.mhm-different-image--3{
    overflow: visible !important;
}
