.about-page {
    width: min(1180px, calc(100% - 32px));
    margin: 34px auto 72px;
    color: #1f2a16;
}

.about-hero {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
    gap: clamp(24px, 5vw, 56px);
    align-items: center;
}

.category-carousel-section{
       width: min(1300px, calc(100% - 32px));
       margin: auto;
}
/* Container Spacing & Background Adjustments */
.category-section {
    background-color: #ffffff; /* Subtle contrast behind white cards */
}



/* White Plain Square Card */
.square-category-card {
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
box-shadow: rgba(17, 17, 26, 0.05) 0px 1px 0px, rgba(17, 17, 26, 0.1) 0px 0px 8px;
    border-radius: 8px; /* Small clean border radius */
    padding: 16px;
    height: 100%;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.square-category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    border-color: #ddd;
    color: inherit;
}

/* Square Container for the Image */
.card-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1; /* Forces 1:1 Square aspect ratio */
    background-color: #f8f9fa;
    border-radius: 6px; /* Slightly smaller radius inside */
    overflow: hidden;
    display: flex;
    
    align-items: center;
    justify-content: center;
    margin-bottom: 16px; /* Space between image and text */
}

/* Image Containment */
.contained-img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Keeps whole image visible without cropping */
  
    transition: transform 0.3s ease;
}


/* Fallback Icon Box */
.category-placeholder {
    font-size: 2.5rem;
    color: #adb5bd;
}

/* Simple Typography & Spacing */
.card-text-wrapper {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: left;
}

.parent-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6c757d;
    font-weight: 500;
}

.category-title {
    font-size: 1.4rem;
    font-weight: 500;
    color: #415014;
    margin: 0;
    line-height: 1.3;
    text-align: center;
}


.square-category-card:hover .shop-link {
    gap: 8px;
}


.about-hero-copy span,
.about-story span,
.about-service-band span {
    display: inline-flex;
    color: #415014;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.about-hero h1 {
    margin: 12px 0 16px;
    color: #1d2116;
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 900;
    line-height: 1.02;
}

.about-hero p,
.about-story-content,
.about-values p,
.about-service-band li {
    color: #4f5f45;
    font-size: 16px;
    line-height: 1.7;
}

.about-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.about-hero-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border-radius: 8px;
    padding: 0 18px;
    font-weight: 900;
    text-decoration: none;
}

.about-hero-actions a:first-child {
    background: #415014;
    color: #ffffff;
}

.about-hero-actions a:last-child {
    border: 1px solid #dfe6c4;
    color: #415014;
    background: #fffbc8;
}

.about-hero-media {
    overflow: hidden;
    border-radius: 8px;
    background: #f7f9ee;
    aspect-ratio: 1.2;
}

.about-hero-media img,
.about-service-band > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-story,
.about-service-band {
    display: grid;
    grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
    gap: clamp(22px, 4vw, 48px);
    align-items: start;
    margin-top: 56px;
    padding-top: 42px;
    border-top: 1px solid #dfe6c4;
}

.about-story h2,
.about-service-band h2 {
    margin: 10px 0 0;
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 900;
    line-height: 1.12;
}

.about-story-content p {
    margin: 0 0 14px;
}

.about-values {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 46px;
}

.about-values article {
    border: 1px solid #dfe6c4;
    border-radius: 8px;
    background: #ffffff;
    padding: 24px;
}

.about-values i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #edf8c8;
    color: #415014;
    font-size: 24px;
}

.about-values h3 {
    margin: 18px 0 8px;
    font-size: 21px;
    font-weight: 900;
}

.about-values p {
    margin: 0;
}

.about-service-band > img {
    min-height: 280px;
    border-radius: 8px;
    background: #f7f9ee;
}

.about-service-band > div:only-child {
    grid-column: 1 / -1;
}

.about-service-band ul {
    display: grid;
    gap: 12px;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}

.about-service-band li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-weight: 800;
}

.about-service-band li i {
    margin-top: 4px;
    color: #027a48;
}

@media (max-width: 900px) {
    .about-hero,
    .about-story,
    .about-service-band,
    .about-values {
        grid-template-columns: 1fr;
    }

    .about-hero-media {
        min-height: 300px;
    }
}

@media (max-width: 640px) {
    .about-page {
        width: min(100% - 18px, 1180px);
        margin-top: 20px;
    }

    .about-hero-actions a {
        width: 100%;
    }

    .about-values article {
        padding: 18px;
    }
}
