.terrariet-grid-bc6126f7 {
    display: grid;
    /* Base grid is 6 columns to allow 50% (3 cols), 33% (2 cols), 66% (4 cols), 100% (6 cols) */
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    width: 100%;
}

.terrariet-box-bc6126f7 {
    position: relative;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    background-color: #a4d4a8; /* Placeholder color representing the green background from image */
    transition: transform 0.3s ease;
}

.terrariet-box-bc6126f7:hover {
    transform: translateY(-2px);
}

.terrariet-link-overlay-bc6126f7 {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 10;
}

/* ========================================================
   RESPONSIVE GRID CLASSES (Mobile First / CSS overriding)
   Using a 6-column grid system
   100% = 6 cols | 66% = 4 cols | 50% = 3 cols | 33% = 2 cols
======================================================== */

/* Desktop classes (Default) */
.desk-t-w-33  { grid-column: span 2; }
.desk-t-w-50  { grid-column: span 3; }
.desk-t-w-66  { grid-column: span 4; }
.desk-t-w-100 { grid-column: span 6; }

/* Tablet Overrides */
@media (max-width: 1024px) {
    .tab-t-w-33  { grid-column: span 2; }
    .tab-t-w-50  { grid-column: span 3; }
    .tab-t-w-66  { grid-column: span 4; }
    .tab-t-w-100 { grid-column: span 6; }
}

/* Mobile Overrides */
@media (max-width: 767px) {
    /* If no mobile class is set, default to 100% on mobile */
    .terrariet-box-bc6126f7 {
        grid-column: span 6;
    }
    
    .mob-t-w-33  { grid-column: span 2; }
    .mob-t-w-50  { grid-column: span 3; }
    .mob-t-w-66  { grid-column: span 4; }
    .mob-t-w-100 { grid-column: span 6; }
}

/* ======================================================== */

.terrariet-box-1-bc6126f7 {
    min-height: 400px;
    background-size: cover;
    background-position: center;
    color: #fff;
    overflow: hidden; /* Ensures background image stays inside border-radius */
}
.terrariet-box-1-bc6126f7::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.2);
    z-index: 1;
}
.terrariet-box-1-bc6126f7 .t-top-left,
.terrariet-box-1-bc6126f7 .t-center,
.terrariet-box-1-bc6126f7 .t-bottom-left {
    position: relative;
    z-index: 2;
}

.terrariet-box-1-bc6126f7 .t-top-left {
    position: absolute;
    top: 30px;
    left: 30px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
    display: block;
}

.terrariet-box-1-bc6126f7 .t-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    font-weight: bold;
    font-size: 42px;
    line-height: 1.1;
    color: #ffcc00;
    text-transform: uppercase;
    width: 90%;
}
.terrariet-box-1-bc6126f7 .t-bottom-left {
    position: absolute;
    bottom: 30px;
    left: 30px;
    text-decoration: underline;
    font-size: 14px;
}

.terrariet-card-bc6126f7 {
    background-color: #a4d4a8; /* Similar green styling */
}

/* Image wrapper specifically for rounded corners on the image itself */
.terrariet-image-wrapper-bc6126f7 {
    width: 100%;
}

.terrariet-card-image-bc6126f7 {
    width: 100%;
    aspect-ratio: 1.66; /* e.g. 500x300 constraint */
    object-fit: cover;
    display: block; /* Removes bottom spacing below image */
}
.terrariet-card-content-bc6126f7 {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.terrariet-card-content-bc6126f7 .t1 {
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 5px;
}
.terrariet-card-content-bc6126f7 .t2 {
    font-size: 24px;
    font-weight: bold;
    color: #114a1a;
    line-height: 1.2;
    margin-bottom: 15px;
}
.terrariet-card-content-bc6126f7 .t3 {
    font-size: 14px;
    color: #fff;
    text-decoration: underline;
    margin-top: auto;
}

.terrariet-box-3-bc6126f7 {
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
    background-color: #a4d4a8;
}
.terrariet-box-3-bc6126f7 .cta-text {
    font-size: 36px;
    font-weight: bold;
    color: #fff;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 20px;
}
.terrariet-btn-bc6126f7 {
    display: inline-block;
    padding: 12px 30px;
    background: #ffcc00;
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    z-index: 11;
    position: relative;
    text-transform: uppercase;
}

@media (max-width: 767px) {
    .terrariet-box-1-bc6126f7 {
        min-height: 300px;
    }
}