/**
 * Silo Divi Modules - Main Styles
 * Using BEM methodology for class naming
 */

/* Text & Image Module
   ========================================================================== */

.sdm-text-image {
    position: relative;
    overflow: hidden;
}
/* Full Width Variant */
.sdm-text-image--fullwidth {
    width: 100vw;
    position: relative;
    /* left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw; */
}

.sdm-text-image--fullwidth .sdm-text-image__wrapper {
    width: 100%;
    background: inherit;
}

.sdm-text-image__container {
    display: flex;
    gap: 60px;
    align-items: center;
    padding: 60px 0;
}

/* Content Area */
.sdm-text-image__content {
    flex: 1;
    width: 50%;
}

.sdm-text-image__heading {
    margin: 0 0 20px;
    font-size: 48px;
    line-height: 1.2;
    font-weight: 700;
    color: #000000;
}

.sdm-text-image__body {
    margin: 0 0 30px;
    font-size: 16px;
    line-height: 1.7;
    color: #000000;
}

.sdm-text-image__body p {
    margin: 0 0 16px;
}

.sdm-text-image__body p:last-child {
    margin-bottom: 0;
}

/* Button */
.sdm-text-image__button-wrapper {
    margin: 30px 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.sdm-text-image__button {
    display: inline-block;
    padding: 14px 32px;
    background-color: #2A7F3E;
    color: #FFFFFF;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
    border: 2px solid #2A7F3E;
}

.sdm-text-image__button:hover {
    background-color: #1F5C2E;
    border-color: #1F5C2E;
    color: #FFFFFF;
}

/* Custom Links */
.sdm-text-image__custom-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sdm-text-image__separator {
    color: #6B7280;
    font-size: 16px;
    font-weight: 400;
    margin: 0;
}

.sdm-text-image__link-separator {
    color: #6B7280;
    font-size: 16px;
    font-weight: 400;
    margin: 0 0.5rem;
}

.sdm-text-image__custom-link {
    color: #789d4a;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.sdm-text-image__custom-link:hover {
    color: #5a7538;
    text-decoration: underline;
}

/* Image Area */
.sdm-text-image__image {
    flex: 1;
    width: 50%;
    position: relative;
}

.sdm-text-image__image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* Image Position Variations */
.sdm-text-image--image-left .sdm-text-image__container {
    flex-direction: row;
}

/* Certifications */
.sdm-text-image__certifications {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #E5E7EB;
}

.sdm-text-image__certifications img {
    height: 50px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.sdm-text-image__certifications img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Responsive Styles - Tablet */
@media (max-width: 980px) {
    .sdm-text-image__container {
        gap: 40px;
        padding: 40px 0;
    }

    .sdm-text-image__heading {
        font-size: 36px;
    }

    .sdm-text-image__content,
    .sdm-text-image__image {
        width: 50%;
    }
}

/* Enhanced Tablet Styles for better readability */
/* @media (max-width: 980px) and (min-width: 768px) {
    .sdm-text-image__container {
        flex-direction: column !important;
        gap: 30px;
        padding: 50px 20px;
    }

    .sdm-text-image__content {
        width: 100%;
    }

    .sdm-text-image__image {
        width: 100%;
    }

    .sdm-text-image__heading {
        font-size: 32px;
    }

    .sdm-text-image__body {
        font-size: 15px;
    }

    .sdm-text-image__button {
        padding: 12px 24px;
    }
} */

/* Responsive Styles - Mobile */
@media (max-width: 979px) {
    .sdm-text-image__container {
        flex-direction: column !important;
        gap: 30px;
        padding: 30px 0;
    }
    
    /* Ensure image always appears first on mobile using flexbox order */
    .sdm-text-image__image {
        order: 1;
        width: 100%;
    }
    
    .sdm-text-image__content {
        order: 2;
        width: 100%;
    }
    
    .sdm-text-image__heading {
        font-size: 28px;
        margin-bottom: 15px;
    }
    
    .sdm-text-image__body {
        font-size: 15px;
        margin-bottom: 20px;
    }
    
    .sdm-text-image__button-wrapper {
        margin: 20px 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .sdm-text-image__custom-links {
        gap: 0.75rem;
        margin-top: 0.5rem;
    }
    
    .sdm-text-image__separator {
        font-size: 14px;
    }
    
    .sdm-text-image__link-separator {
        font-size: 14px;
        margin: 0 0.375rem;
    }
    
    .sdm-text-image__custom-link {
        font-size: 14px;
    }
    
    .sdm-text-image__button {
        display: block;
        text-align: center;
        width: 100%;
    }
    
    .sdm-text-image__certifications {
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 30px;
        padding-top: 20px;
    }
    
    .sdm-text-image__certifications img {
        height: 40px;
    }
}


/* Visual Builder Specific Styles */
.et-fb-modules-list .sdm-text-image {
    background: #F9FAFB;
    padding: 10px;
    border-radius: 4px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sdm-text-image__content > * {
    animation: fadeInUp 0.6s ease-out backwards;
}

.sdm-text-image__heading {
    animation-delay: 0.1s;
}

.sdm-text-image__body {
    animation-delay: 0.2s;
}

.sdm-text-image__button-wrapper {
    animation-delay: 0.3s;
}

.sdm-text-image__certifications {
    animation-delay: 0.4s;
}

/* Accessibility */
.sdm-text-image__button:focus {
    outline: 3px solid #2A7F3E;
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .sdm-text-image__content > * {
        animation: none;
    }
}

/* Print Styles */
@media print {
    .sdm-text-image__container {
        gap: 20px;
        padding: 20px 0;
    }
    
    .sdm-text-image__button {
        border: 1px solid #2A7F3E;
    }
    
    .sdm-text-image__certifications img {
        filter: none;
        opacity: 1;
    }
}

/* Large Text Trust Module
   ========================================================================== */

.sdm-large-text-trust {
    background-color: #f5f5f5;
}

.sdm-large-text-trust__wrapper {
    padding: 80px 0;
}

/* Main Text Styles */
.sdm-large-text-trust__text {
    font-size: clamp(20px, 4vw, 34px);
    line-height: 1.3;
    font-weight: 500;
    /* margin: 0 auto 60px auto; */
    margin: 0 auto;
    max-width: 1100px;
    text-align: center;
    color: #000000;
}

.sdm-large-text-trust__text--normal {
    color: #000000;
}

.sdm-large-text-trust__text--emphasized {
    color: #789d4a!important;
}

/* Trust Points Container */
.sdm-large-text-trust__trust-points {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-top: 60px;
}

/* Trust Item */
.sdm-large-text-trust__trust-item {
    flex: 1;
    text-align: center;
    max-width: 300px;
}

/* Trust Icon */
.sdm-large-text-trust__trust-icon {
    display: block;
    font-size: 48px !important;
    color: #666666;
    margin-bottom: 20px;
    height: 60px;
    line-height: 60px;
}

/* Trust Text */
.sdm-large-text-trust__trust-text {
    font-size: 16px;
    line-height: 1.6;
    color: #000000;
    margin: 0;
}

/* Mobile Responsive Styles */
@media (max-width: 980px) {
    .sdm-large-text-trust__wrapper {
        padding: 60px 0;
    }
    
    .sdm-large-text-trust__text {
        margin-bottom: 50px;
    }
    
    .sdm-large-text-trust__trust-points {
        gap: 30px;
    }
    
    .sdm-large-text-trust__trust-icon {
        font-size: 40px;
        height: 50px;
        line-height: 50px;
    }
}

@media (max-width: 767px) {
    .sdm-large-text-trust__wrapper {
        padding: 40px 0;
    }
    
    .sdm-large-text-trust__text {
        line-height: 1.4;
        margin-bottom: 40px;
    }
    
    .sdm-large-text-trust__trust-points {
        flex-direction: column;
        align-items: center;
        gap: 40px;
        margin-top: 40px;
    }
    
    .sdm-large-text-trust__trust-item {
        max-width: 100%;
    }
    
    .sdm-large-text-trust__trust-icon {
        font-size: 36px;
        height: 45px;
        line-height: 45px;
        margin-bottom: 15px;
    }
    
    .sdm-large-text-trust__trust-text {
        font-size: 15px;
        line-height: 1.6;
    }
}

/* Small Mobile */
@media (max-width: 479px) {
    /* Font size handled by clamp */
}

/* Featured Posts Module
   ========================================================================== */

.sdm-featured-posts {
    padding: 60px 0;
}

.sdm-featured-posts__wrapper {
    position: relative;
}

/* Header */
.sdm-featured-posts__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.sdm-featured-posts__heading {
    font-size: 32px;
    font-weight: 600;
    color: #000000;
    margin: 0;
}

.sdm-featured-posts__all-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #000000;
    text-decoration: none;
    font-size: 16px;
    transition: opacity 0.3s ease;
}

.sdm-featured-posts__all-link:hover {
    opacity: 0.7;
}

.sdm-featured-posts__arrow {
    display: inline-block;
    width: 20px;
    height: 20px;
    vertical-align: middle;
    margin-left: 6px;
    transition: transform 0.3s ease;
}

.sdm-featured-posts__all-link:hover .sdm-featured-posts__arrow {
    transform: translateX(4px);
}

/* Cards Container */
.sdm-featured-posts__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

/* Card */
.sdm-featured-posts__card {
    position: relative;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none !important;
}

/* Card as Link */
a.sdm-featured-posts__card--link {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

a.sdm-featured-posts__card--link:focus {
    outline: 2px solid #0073aa;
    outline-offset: 2px;
}

.sdm-featured-posts__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Card Image */
.sdm-featured-posts__card-image {
    position: relative;
    width: 100%;
    padding-top: 75%; /* 4:3 Aspect Ratio */
    overflow: hidden;
    background: #f0f0f0;
}

.sdm-featured-posts__card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.sdm-featured-posts__card:hover .sdm-featured-posts__card-image img {
    transform: scale(1.05);
}

/* Card Content */
.sdm-featured-posts__card-content {
    padding: 25px;
    position: relative;
}

/* Card Meta */
.sdm-featured-posts__card-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
    font-size: 14px;
    color: #666666;
}

.sdm-featured-posts__card-client,
.sdm-featured-posts__card-category {
    position: relative;
}

.sdm-featured-posts__card-client::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 12px;
    background: #cccccc;
}

/* Card Title */
.sdm-featured-posts__card-title {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
    color: #000000;
    margin: 0 0 12px;
}

/* Card Excerpt */
.sdm-featured-posts__card-excerpt {
    font-size: 15px;
    line-height: 1.6;
    color: #666666;
    margin-bottom: 15px;
}

/* Card Tag */
.sdm-featured-posts__card-tag {
    display: inline-block;
    padding: 6px 14px;
    background: #f5f5f5;
    border-radius: 20px;
    font-size: 13px;
    color: #666666;
    margin-bottom: 20px;
}

/* Card Button */
.sdm-featured-posts__card-button,
span.sdm-featured-posts__card-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #000000;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.sdm-featured-posts__card:hover .sdm-featured-posts__card-button {
    opacity: 0.7;
}


/* Navigation */
.sdm-featured-posts__navigation {
    display: none;
    justify-content: center;
    gap: 20px;
}

.sdm-featured-posts__nav-prev,
.sdm-featured-posts__nav-next {
    width: 48px;
    height: 48px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 20px;
    color: #333333;
}

.sdm-featured-posts__nav-prev:hover,
.sdm-featured-posts__nav-next:hover {
    background: #f5f5f5;
    border-color: #333333;
}

/* Tablet Styles */
@media (max-width: 980px) {
    .sdm-featured-posts__cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* Mobile Styles */
@media (max-width: 767px) {
    .sdm-featured-posts {
        padding: 40px 0;
    }
    
    .sdm-featured-posts__header {
        margin-bottom: 30px;
    }
    
    .sdm-featured-posts__heading {
        font-size: 24px;
    }
    
    .sdm-featured-posts__cards {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        gap: 20px;
        padding-bottom: 20px;
        margin: 0 -20px;
        padding: 0 20px 20px;
        -webkit-overflow-scrolling: touch;
    }
    
    .sdm-featured-posts__cards::-webkit-scrollbar {
        display: none;
    }
    
    .sdm-featured-posts__card {
        flex: 0 0 85%;
        scroll-snap-align: start;
    }
    
    .sdm-featured-posts__navigation {
        display: flex;
        /* position: absolute; */
        top: 10px;
        right: 20px;
        gap: 10px;
    }
    
    .sdm-featured-posts__nav-prev,
    .sdm-featured-posts__nav-next {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .sdm-featured-posts__card-content {
        padding: 20px;
    }
    
    .sdm-featured-posts__card-title {
        font-size: 18px;
    }
    
    .sdm-featured-posts__card-excerpt {
        font-size: 14px;
    }
}

/* Small Mobile */
@media (max-width: 479px) {
    .sdm-featured-posts__card {
        flex: 0 0 90%;
    }
    
    .sdm-featured-posts__heading {
        font-size: 20px;
    }
}

/* Hero Section Module
   ========================================================================== */

.sdm-hero-section {
    position: relative;
    width: 100vw;
    overflow: hidden;
    background-size: cover !important;
    background-position: center;
    background-repeat: no-repeat;
    /* Force high quality rendering */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    -ms-interpolation-mode: nearest-neighbor;
}

/* Container */
.sdm-hero-section__container {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 0 0 80px 0;
    padding-top: 200px;
}

.sdm-hero-section__feefo img {
    max-width: 150px;
}

/* Content */
.sdm-hero-section__content {
    margin: 0;
    width: 100%;
    max-width: 850px;
}

/* Overlay */
.sdm-hero-section__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
}

/* Heading */
.sdm-hero-section__heading {
    font-size: clamp(32px, 5vw, 56px);
    line-height: 1.1;
    font-weight: 700;
    margin: 0 0 20px;
    color: #ffffff;
    letter-spacing: -0.02em;
}

/* Description */
.sdm-hero-section__description {
    font-size: clamp(16px, 1.8vw, 18px);
    line-height: 1.6;
    margin: 0 0 30px;
    color: #ffffff;
    opacity: 1;
    /* max-width: 550px; */
}

.sdm-hero-section__description p {
    margin: 0 0 15px;
}

.sdm-hero-section__description p:last-child {
    margin-bottom: 0;
}

/* Button Wrapper */
.sdm-hero-section__button-wrapper {
    margin-top: 30px;
}

/* Button */
.sdm-hero-section__button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    background-color: #4CAF50;
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    border-radius: 3px;
    transition: all 0.3s ease;
    border: none;
}
/* Parallax Effect */
.sdm-hero-section--parallax {
    background-attachment: fixed !important;
}

/* Alignment Variations */
.sdm-hero-section[data-align="left"] .sdm-hero-section__content {
    text-align: left;
}

.sdm-hero-section[data-align="center"] .sdm-hero-section__content {
    text-align: center;
}

.sdm-hero-section[data-align="right"] .sdm-hero-section__content {
    text-align: right;
}

/* Tablet Styles */
@media (max-width: 980px) {
    .sdm-hero-section {
        min-height: 80vh;
    }
    
    .sdm-hero-section__container {
        padding: 140px 0 60px 0;
    }
    
    .sdm-hero-section__content {
        max-width: 100%;
    }
    
    .sdm-hero-section__heading {
        margin-bottom: 18px;
    }
    
    .sdm-hero-section__description {
        margin-bottom: 25px;
    }
    
    .sdm-hero-section__button-wrapper {
        margin-top: 25px;
    }
}

/* Mobile Styles */
@media (max-width: 767px) {
    .sdm-hero-section {
        min-height: 100vh;
        align-items: center;
    }
    
    .sdm-hero-section__container {
        padding: 135px 0 40px 0;
    }
    
    .sdm-hero-section__content {
        text-align: center;
        max-width: 100%;
    }
    
    .sdm-hero-section__heading {
        margin-bottom: 16px;
        font-size: clamp(28px, 7vw, 42px);
    }
    
    .sdm-hero-section__description {
        margin: 0;
    }
    
    .sdm-hero-section__button-wrapper {
        margin-top: 25px;
    }
    
    .sdm-hero-section__button {
        padding: 14px 28px;
        font-size: 15px;
        width: auto;
        justify-content: center;
    }
    
    /* Disable parallax on mobile for performance */
    .sdm-hero-section--parallax {
        background-attachment: scroll !important;
    }
}

/* Small Mobile */
@media (max-width: 479px) {
    .sdm-hero-section {
        min-height: 90vh;
    }
    
    .sdm-hero-section__container {
        padding: 135px 0 40px 0;
    }
    
    .sdm-hero-section__button {
        padding: 12px 28px;
        font-size: 14px;
    }
}

/* Awards Carousel Module
   ========================================================================== */

.sdm-awards-carousel {
    position: relative;
    padding: 80px 0;
    /* background-color: #c6c6af40; */
}

/* Full Width Variant */
.sdm-awards-carousel--fullwidth {
    width: 100vw;
    position: relative;
    /* left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw; */
}

.sdm-awards-carousel--fullwidth .sdm-awards-carousel__wrapper {
    width: 100%;
    background: inherit;
}

/* Header */
.sdm-awards-carousel__header {
    text-align: center;
    margin-bottom: 60px;
}

.sdm-awards-carousel__heading {
    margin: 0 0 16px;
    font-size: 32px;
    line-height: 1.3;
    font-weight: 700;
    color: #000000;
}

.sdm-awards-carousel__subheading {
    margin: 0;
    font-size: 18px;
    line-height: 1.5;
    color: #666666;
    max-width: 600px;
    margin: 0 auto;
}

/* Carousel Container */
.sdm-awards-carousel__carousel {
    position: relative;
    overflow: hidden;
    max-width: 1200px;
    margin: 0 auto;
}

.sdm-awards-carousel__preview {
    width: 100%;
}

.sdm-awards-carousel__preview-note {
    text-align: center;
    margin-top: 20px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 4px;
    color: #666666;
}

/* Award Items */
.sdm-awards-carousel__item {
    background: transparent;
    border-radius: 0;
    padding: 16px 8px;
    transition: all 0.3s ease;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.sdm-awards-carousel__item:hover {
    transform: none;
}

.sdm-awards-carousel__item-link {
    color: inherit;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.sdm-awards-carousel__item-link:hover {
    color: inherit;
}

.sdm-awards-carousel__item-image {
    margin-bottom: 20px;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sdm-awards-carousel__item-image img {
    max-width: 100%;
    height: auto;
    max-height: 120px;
    object-fit: contain;
    transition: filter 0.3s ease;
}

/* Grayscale effect - only when enabled */
.sdm-awards-carousel--grayscale .sdm-awards-carousel__item-image img {
    filter: grayscale(100%);
}

.sdm-awards-carousel--grayscale .sdm-awards-carousel__item:hover .sdm-awards-carousel__item-image img {
    filter: grayscale(0%);
}

.sdm-awards-carousel__item-content {
    flex-shrink: 0;
}

.sdm-awards-carousel__item-title {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 600;
    color: #333333;
    line-height: 1.4;
}

.sdm-awards-carousel__item-description {
    margin: 0;
    font-size: 14px;
    color: #666666;
    line-height: 1.5;
}

/* Navigation */
.sdm-awards-carousel__navigation-preview {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.sdm-awards-carousel__arrows-preview {
    display: flex;
    gap: 12px;
}

.sdm-awards-carousel__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 50%;
    font-size: 20px;
    color: #666666;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
}

.sdm-awards-carousel__arrow:hover {
    background: #2A7F3E;
    border-color: #2A7F3E;
    color: #ffffff;
}

.sdm-awards-carousel__arrow--prev::before {
    content: '‹';
    margin-right: 2px;
}

.sdm-awards-carousel__arrow--next::before {
    content: '›';
    margin-left: 2px;
}

.sdm-awards-carousel__dots-preview {
    display: flex;
    gap: 8px;
    align-items: center;
}

.sdm-awards-carousel__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cccccc;
    transition: background 0.3s ease;
    cursor: pointer;
    display: block;
}

.sdm-awards-carousel__dot--active {
    background: #2A7F3E;
}

.sdm-awards-carousel__dot:hover {
    background: #2A7F3E;
}

/* Empty State */
.sdm-awards-carousel__empty {
    text-align: center;
    padding: 80px 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 2px dashed #ddd;
}

.sdm-awards-carousel__empty-content p {
    margin: 0 0 8px;
    color: #666666;
    font-size: 16px;
}

.sdm-awards-carousel__empty-content p:last-child {
    margin: 0;
}

/* Responsive Styles */
@media (max-width: 980px) {
    .sdm-awards-carousel {
        padding: 60px 0;
    }
    
    .sdm-awards-carousel__header {
        margin-bottom: 40px;
    }
    
    .sdm-awards-carousel__heading {
        font-size: 28px;
    }
    
    .sdm-awards-carousel__subheading {
        font-size: 16px;
    }
    
    .sdm-awards-carousel__preview {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 16px;
    }
    
    .sdm-awards-carousel__item {
        padding: 12px 6px;
    }
}

@media (max-width: 768px) {
    .sdm-awards-carousel {
        padding: 40px 0;
    }
    
    .sdm-awards-carousel__header {
        margin-bottom: 32px;
    }
    
    .sdm-awards-carousel__heading {
        font-size: 24px;
    }
    
    .sdm-awards-carousel__preview {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px;
    }
    
    .sdm-awards-carousel__item {
        padding: 8px 4px;
    }
    
    .sdm-awards-carousel__item-image img {
        max-height: 60px;
    }
    
    .sdm-awards-carousel__item-title {
        font-size: 14px;
    }
    
    .sdm-awards-carousel__item-description {
        font-size: 13px;
    }
    
    .sdm-awards-carousel__arrow {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}

/* Actual Carousel Styles (for frontend) */
.sdm-awards-carousel .slick-slider {
    position: relative;
}

.sdm-awards-carousel .slick-list {
    overflow: hidden;
    margin: 0 -4px;
}

.sdm-awards-carousel .slick-track {
    display: flex !important;
    align-items: stretch;
}

.sdm-awards-carousel .slick-slide {
    padding: 0 4px;
    height: auto;
}

.sdm-awards-carousel .slick-slide > div {
    height: 100%;
}

.sdm-awards-carousel .slick-arrow {
    display: none !important;
}

.sdm-awards-carousel .slick-dots {
    display: flex !important;
    justify-content: center;
    padding: 0;
    margin: 30px 0 0;
    list-style: none;
    gap: 8px;
}

.sdm-awards-carousel .slick-dots li {
    margin: 0;
    width: 10px;
    height: 10px;
}

.sdm-awards-carousel .slick-dots li button {
    width: 10px;
    height: 10px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #cccccc;
    cursor: pointer;
    transition: background 0.3s ease;
    font-size: 0;
    line-height: 0;
}

.sdm-awards-carousel .slick-dots li button:hover,
.sdm-awards-carousel .slick-dots li.slick-active button {
    background: #2A7F3E;
}

/* End of Awards Carousel Module */

/* Lead Capture Module
   ========================================================================== */

.sdm-lead-capture {
    position: relative;
    overflow: visible;
    background: 
        radial-gradient(circle at 20% 50%, rgba(42, 127, 62, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(42, 127, 62, 0.02) 0%, transparent 50%),
        linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    /* border-radius: 12px; */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* Full Width Variant */
.sdm-lead-capture--fullwidth {
    width: 100vw;
    position: relative;
    /* left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw; */
}

.sdm-lead-capture--fullwidth .sdm-lead-capture__wrapper {
    width: 100%;
    background: inherit;
    overflow: visible;
}

.sdm-lead-capture__container {
    display: flex;
    gap: 60px;
    align-items: start;
    padding: 80px 60px;
}

/* Content Area */
.sdm-lead-capture__content {
    flex: 1;
    width: 50%;
    position: sticky;
    top: 100px;
    align-self: flex-start;
    height: fit-content;
    transition: all 0.3s ease;
    z-index: 10;
}

/* Header Image */
.sdm-lead-capture__header-image {
    margin: 0 0 30px;
    width: 100%;
    height: auto;
}

.sdm-lead-capture__header-image img {
    width: 100%;
    height: 150px; /* Thin/narrow height */
    object-fit: cover;
    border-radius: 8px;
    display: block;
    transition: transform 0.2s ease;
}

.sdm-lead-capture__heading {
    margin: 0 0 20px;
    font-size: 48px;
    line-height: 1.2;
    font-weight: 700;
    color: #000000;
}

.sdm-lead-capture__body {
    margin: 0 0 30px;
    font-size: 16px;
    line-height: 1.7;
    color: #333333;
}

.sdm-lead-capture__body p:last-child {
    margin-bottom: 0;
}

/* Trust Signals */
.sdm-lead-capture__trust-signals {
    list-style: none;
    padding: 0;
    margin: 30px 0 0;
}

.sdm-lead-capture__trust-signal-item {
    display: flex;
    align-items: center;
    margin: 0 0 16px;
    font-size: 18px;
    line-height: 1.5;
    font-weight: 500;
}

.sdm-lead-capture__trust-signal-item:last-child {
    margin-bottom: 0;
}

.sdm-lead-capture__trust-signal-item::before {
    content: '';
    width: 20px;
    height: 20px;
    margin: 0 15px 0 0;
    flex-shrink: 0;
    background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%232A7F3E"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.sdm-lead-capture__trust-signal-text {
    color: #2c3e50;
    font-weight: 500;
}

/* Form Area */
.sdm-lead-capture__form {
    flex: 1;
    width: 50%;
    background: #ffffff;
    padding: 50px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.sdm-lead-capture__form--placeholder {
    text-align: center;
    color: #999;
    font-style: italic;
}

.sdm-lead-capture__form-placeholder p {
    margin: 0 0 10px;
}

.sdm-lead-capture__form-preview {
    text-align: center;
    color: #666;
}

.sdm-lead-capture__form-preview p {
    margin: 0 0 15px;
}

/* Form left positioning */
.sdm-lead-capture--form-left .sdm-lead-capture__container {
    flex-direction: row;
}

/* Responsive Design */
@media (max-width: 980px) {
    .sdm-lead-capture__container {
        flex-direction: column;
        gap: 40px;
        padding: 60px 40px;
    }
    
    .sdm-lead-capture__content,
    .sdm-lead-capture__form {
        width: 100%;
    }
    
    .sdm-lead-capture__content {
        position: static;
        top: auto;
        align-self: auto;
        height: auto;
    }
    
    .sdm-lead-capture__heading {
        font-size: 36px;
    }
    
    .sdm-lead-capture__form {
        padding: 40px;
    }
}

@media (max-width: 767px) {
    .sdm-lead-capture__container {
        gap: 30px;
        padding: 0;
    }
    
    .sdm-lead-capture__header-image {
        max-width: 100%;
        margin-bottom: 20px;
    }
    
    .sdm-lead-capture__header-image img {
        height: 80px; /* Smaller height for mobile */
    }
    
    .sdm-lead-capture__heading {
        font-size: 28px;
        margin-bottom: 15px;
    }
    
    .sdm-lead-capture__body {
        margin-bottom: 20px;
        font-size: 15px;
    }
    
    .sdm-lead-capture__form {
        padding: 30px 15px;
    }
    
    .sdm-lead-capture__trust-signal-item {
        margin-bottom: 12px;
        font-size: 16px;
    }
    
    .sdm-lead-capture__trust-signal-item::before {
        width: 18px;
        height: 18px;
        margin-right: 12px;
    }
}

/* Gravity Forms Integration */
.sdm-lead-capture__form .gform_wrapper {
    margin: 0;
}

.sdm-lead-capture__form .gform_wrapper .gform_title,
.sdm-lead-capture__form .gform_wrapper .gform_description {
    display: none;
}

.sdm-lead-capture__form .gform_wrapper .gfield {
    margin-bottom: 20px;
}

.sdm-lead-capture__form .gform_wrapper .gfield_label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.sdm-lead-capture__form .gform_wrapper input[type="text"],
.sdm-lead-capture__form .gform_wrapper input[type="email"],
.sdm-lead-capture__form .gform_wrapper input[type="tel"],
.sdm-lead-capture__form .gform_wrapper textarea,
.sdm-lead-capture__form .gform_wrapper select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    line-height: 1.4;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.sdm-lead-capture__form .gform_wrapper input[type="text"]:focus,
.sdm-lead-capture__form .gform_wrapper input[type="email"]:focus,
.sdm-lead-capture__form .gform_wrapper input[type="tel"]:focus,
.sdm-lead-capture__form .gform_wrapper textarea:focus,
.sdm-lead-capture__form .gform_wrapper select:focus {
    outline: none;
    border-color: #2A7F3E;
    box-shadow: 0 0 0 3px rgba(42, 127, 62, 0.1);
}

.sdm-lead-capture__form .gform_wrapper .gform_button,
.sdm-lead-capture__form .gform_wrapper input[type="submit"] {
    background: linear-gradient(135deg, #2A7F3E 0%, #236835 100%);
    color: white;
    border: none;
    padding: 18px 30px;
    border-radius: 8px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 4px 15px rgba(42, 127, 62, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sdm-lead-capture__form .gform_wrapper .gform_button:hover,
.sdm-lead-capture__form .gform_wrapper input[type="submit"]:hover {
    background: linear-gradient(135deg, #236835 0%, #1e5d2e 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(42, 127, 62, 0.4);
}

.sdm-lead-capture__form .gform_wrapper .validation_error {
    color: #d63638;
    font-size: 14px;
    margin-top: 5px;
}

/* End of Lead Capture Module */

/* Newsletter Module
   ========================================================================== */

.sdm-newsletter {
    position: relative;
}

.sdm-newsletter__container {
    padding: var(--sd-space-16, 4rem) var(--sd-space-6, 1.5rem);
    text-align: center;
    max-width: 1800px;
    margin: var(--sd-space-6, 1.5rem) auto;
    background-color: #1f391f;
    border-radius: 8px;
    overflow: hidden;
}

.sdm-newsletter__heading {
    color: white;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: var(--sd-font-weight-bold, 700);
    line-height: var(--sd-line-height-tight, 1.25);
    margin: 0 0 var(--sd-space-4, 1rem);
    letter-spacing: -0.02em;
}

.sdm-newsletter__description {
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--sd-font-size-lg, 1.125rem);
    line-height: var(--sd-line-height-normal, 1.5);
    margin: 0 0 var(--sd-space-8, 2rem);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: var(--sd-space-8, 2rem);
}

.sdm-newsletter__form {
    display: flex;
    flex-direction: column;
    gap: var(--sd-space-4, 1rem);
    max-width: 400px;
    margin: 0 auto;
}

.sdm-newsletter__input-wrapper {
    display: flex;
    flex-direction: column;
    gap: var(--sd-space-3, 0.75rem);
    width: 100%;
}

.sdm-newsletter__input {
    width: 100%;
    padding: var(--sd-space-4, 1rem) var(--sd-space-4, 1rem);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--sd-radius-base, 4px);
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: var(--sd-font-size-base, 1rem);
    line-height: var(--sd-line-height-normal, 1.5);
    transition: all var(--sd-transition-fast, 150ms ease-in-out);
    box-sizing: border-box;
}

.sdm-newsletter__input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.sdm-newsletter__input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
    background-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.sdm-newsletter__button {
    /* Uses existing .sd-btn styles from utilities */
    width: 100%;
    background-color: #789d4a;
    color: white;
    border: none;
    padding: var(--sd-space-4, 1rem) var(--sd-space-6, 1.5rem);
    font-size: var(--sd-font-size-base, 1rem);
    font-weight: var(--sd-font-weight-medium, 500);
    border-radius: var(--sd-radius-base, 4px);
    cursor: pointer;
    transition: all var(--sd-transition-fast, 150ms ease-in-out);
    box-sizing: border-box;
}

.sdm-newsletter__button:hover {
    background-color: #6b8a42;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.sdm-newsletter__button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.sdm-newsletter__button:focus {
    outline: 2px solid white;
    outline-offset: 2px;
}

/* Tablet and Desktop Layout */
@media (min-width: 640px) {
    .sdm-newsletter__container {
        padding: var(--sd-space-20, 5rem) var(--sd-space-8, 2rem);
        margin: var(--sd-space-8, 2rem) auto;
    }
    
    .sdm-newsletter__input-wrapper {
        flex-direction: row;
        gap: var(--sd-space-2, 0.5rem);
    }
    
    .sdm-newsletter__input {
        flex: 1;
        border-radius: var(--sd-radius-base, 4px) 0 0 var(--sd-radius-base, 4px);
    }
    
    .sdm-newsletter__button {
        width: auto;
        flex-shrink: 0;
        border-radius: 0 var(--sd-radius-base, 4px) var(--sd-radius-base, 4px) 0;
        padding: var(--sd-space-4, 1rem) var(--sd-space-6, 1.5rem);
    }
}

/* Large Desktop */
@media (min-width: 1024px) {
    .sdm-newsletter__container {
        padding: var(--sd-space-24, 6rem) var(--sd-space-8, 2rem);
    }
}

/* Dark Theme Variant */
.sdm-newsletter--dark .sdm-newsletter__container {
    background-color: var(--sd-color-gray-900, #171717);
}

/* Light Theme Variant */
.sdm-newsletter--light .sdm-newsletter__container {
    background-color: white;
}

.sdm-newsletter--light .sdm-newsletter__heading {
    color: var(--sd-color-text, #171717);
}

.sdm-newsletter--light .sdm-newsletter__description {
    color: var(--sd-color-text-light, #525252);
}

.sdm-newsletter--light .sdm-newsletter__input {
    background-color: white;
    border-color: var(--sd-color-border, #d4d4d4);
    color: var(--sd-color-text, #171717);
}

.sdm-newsletter--light .sdm-newsletter__input::placeholder {
    color: var(--sd-color-text-light, #525252);
}

.sdm-newsletter--light .sdm-newsletter__input:focus {
    border-color: var(--sd-color-primary, #1a4d2e);
    box-shadow: 0 0 0 3px rgba(26, 77, 46, 0.1);
}

/* Success State */
.sdm-newsletter__success {
    padding: var(--sd-space-4, 1rem);
    background-color: rgba(40, 167, 69, 0.1);
    border: 2px solid rgba(40, 167, 69, 0.3);
    border-radius: var(--sd-radius-base, 4px);
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    margin-top: var(--sd-space-4, 1rem);
}

.sdm-newsletter--light .sdm-newsletter__success {
    background-color: rgba(40, 167, 69, 0.1);
    border-color: rgba(40, 167, 69, 0.3);
    color: var(--sd-color-success, #28a745);
}

/* Error State */
.sdm-newsletter__error {
    padding: var(--sd-space-4, 1rem);
    background-color: rgba(220, 53, 69, 0.1);
    border: 2px solid rgba(220, 53, 69, 0.3);
    border-radius: var(--sd-radius-base, 4px);
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    margin-top: var(--sd-space-4, 1rem);
}

.sdm-newsletter--light .sdm-newsletter__error {
    background-color: rgba(220, 53, 69, 0.1);
    border-color: rgba(220, 53, 69, 0.3);
    color: var(--sd-color-error, #dc3545);
}

/* Shortcode Specific Styling */
.sdm-newsletter--shortcode .sdm-newsletter__container {
    padding: var(--sd-space-12, 3rem) var(--sd-space-6, 1.5rem);
    margin: var(--sd-space-8, 2rem) auto;
}

/* Force text styling to override theme styles */
.sdm-newsletter--shortcode .sdm-newsletter__heading {
    color: white !important;
    line-height: var(--sd-line-height-tight, 1.25) !important;
    margin: 0 0 var(--sd-space-4, 1rem) !important;
    letter-spacing: -0.02em !important;
}

.sdm-newsletter--shortcode .sdm-newsletter__description {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: var(--sd-font-size-lg, 1.125rem) !important;
    line-height: var(--sd-line-height-normal, 1.5) !important;
    margin: 0 0 var(--sd-space-8, 2rem) !important;
    max-width: 500px;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: var(--sd-space-8, 2rem) !important;
    font-family: var(--sd-font-family-primary) !important;
}

.sdm-newsletter--shortcode .sdm-newsletter__form {
    max-width: 400px;
}

/* Mobile adjustments for shortcode */
@media (max-width: 640px) {
    .sdm-newsletter--shortcode .sdm-newsletter__container {
        padding: var(--sd-space-8, 2rem) var(--sd-space-4, 1rem);
        margin: var(--sd-space-4, 1rem) auto;
    }
}

/* End of Newsletter Module */

/* ==========================================================================
   TEAM GRID MODULE STYLES
   ========================================================================== */

.sdm-team-grid {
    width: 100%;
}

/* Heading */
.sdm-team-grid__heading {
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 600;
    color: #333;
}

/* Grid Container */
.sdm-team-grid__container {
    display: grid;
    gap: 2.5rem 2rem;
    width: 100%;
}

/* Grid columns based on members per row */
.sdm-team-grid--2-per-row .sdm-team-grid__container {
    grid-template-columns: repeat(2, 1fr);
}

.sdm-team-grid--3-per-row .sdm-team-grid__container {
    grid-template-columns: repeat(3, 1fr);
}

.sdm-team-grid--4-per-row .sdm-team-grid__container {
    grid-template-columns: repeat(4, 1fr);
}

.sdm-team-grid--5-per-row .sdm-team-grid__container {
    grid-template-columns: repeat(5, 1fr);
}

/* Individual Team Member */
.sdm-team-grid__member {
    text-align: center;
    transition: transform 0.3s ease;
}

.sdm-team-grid__member:hover {
    transform: translateY(-5px);
}

/* Photo Container */
.sdm-team-grid__member-photo-container {
    position: relative;
    margin-bottom: 1.5rem;
    display: inline-block;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.sdm-team-grid__member:hover .sdm-team-grid__member-photo-container {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* Member Photo */
.sdm-team-grid__member-photo {
    width: 150px;
    height: 150px;
    object-fit: cover;
    display: block;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.sdm-team-grid__member:hover .sdm-team-grid__member-photo {
    transform: scale(1.05);
}

/* Photo Placeholder */
.sdm-team-grid__member-photo--placeholder {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #789d4a, #63833c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    font-weight: 600;
}

/* Contact Overlay */
.sdm-team-grid__member-contact {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 0.75rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.sdm-team-grid--hover-contact .sdm-team-grid__member:hover .sdm-team-grid__member-contact {
    opacity: 1;
}

/* Dark overlay on hover */
.sdm-team-grid--hover-contact .sdm-team-grid__member-photo-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.sdm-team-grid--hover-contact .sdm-team-grid__member:hover .sdm-team-grid__member-photo-container::after {
    opacity: 1;
}

/* Contact Links */
.sdm-team-grid__contact-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.sdm-team-grid__contact-link:hover {
    background: #789d4a;
    color: white;
    transform: scale(1.1);
}

.sdm-team-grid__contact-email:hover {
    background: #e74c3c;
}

.sdm-team-grid__contact-linkedin:hover {
    background: #0077b5;
}

/* Member Info */
.sdm-team-grid__member-info {
    max-width: 200px;
    margin: 0 auto;
}

.sdm-team-grid__member-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.sdm-team-grid__member-role {
    font-size: 0.9rem;
    color: #789d4a;
    font-weight: 500;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sdm-team-grid__member-bio {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
    opacity: 0.8;
}

/* Empty State */
.sdm-team-grid__empty,
.sdm-team-grid--empty {
    text-align: center;
    padding: 3rem 2rem;
    color: #666;
}

.sdm-team-grid__empty p {
    margin: 0;
    font-style: italic;
}

/* Tablet Responsive */
@media (max-width: 1024px) {
    .sdm-team-grid--4-per-row .sdm-team-grid__container,
    .sdm-team-grid--5-per-row .sdm-team-grid__container {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .sdm-team-grid__container {
        gap: 2rem 1.5rem;
    }
    
    .sdm-team-grid__member-photo,
    .sdm-team-grid__member-photo--placeholder {
        width: 130px;
        height: 130px;
    }
    
    .sdm-team-grid__member-photo--placeholder {
        font-size: 2.5rem;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .sdm-team-grid--3-per-row .sdm-team-grid__container,
    .sdm-team-grid--4-per-row .sdm-team-grid__container,
    .sdm-team-grid--5-per-row .sdm-team-grid__container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .sdm-team-grid__container {
        gap: 1.5rem 1rem;
    }
    
    .sdm-team-grid__member-photo,
    .sdm-team-grid__member-photo--placeholder {
        width: 110px;
        height: 110px;
    }
    
    .sdm-team-grid__member-photo--placeholder {
        font-size: 2rem;
    }
    
    .sdm-team-grid__member-name {
        font-size: 1.1rem;
    }
    
    .sdm-team-grid__member-role {
        font-size: 0.8rem;
    }
    
    .sdm-team-grid__member-bio {
        font-size: 0.85rem;
    }
    
    .sdm-team-grid__contact-link {
        width: 40px;
        height: 40px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .sdm-team-grid--2-per-row .sdm-team-grid__container,
    .sdm-team-grid--3-per-row .sdm-team-grid__container,
    .sdm-team-grid--4-per-row .sdm-team-grid__container,
    .sdm-team-grid--5-per-row .sdm-team-grid__container {
        grid-template-columns: 1fr;
    }
    
    .sdm-team-grid__container {
        gap: 2rem;
    }
    
    .sdm-team-grid__heading {
        margin-bottom: 2rem;
    }
    
    .sdm-team-grid__member-photo,
    .sdm-team-grid__member-photo--placeholder {
        width: 120px;
        height: 120px;
    }
}

/* High-resolution displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .sdm-team-grid__member-photo-container {
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    }
    
    .sdm-team-grid__member:hover .sdm-team-grid__member-photo-container {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
    }
}

/* ==========================================================================
   END TEAM GRID MODULE STYLES
   ========================================================================== */

/* ==========================================================================
   HERO SECTION BREADCRUMBS
   ========================================================================== */

.sdm-hero-section__breadcrumbs,
.sdm-hero-section__breadcrumbs p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.75rem;
    padding-top: 1rem;
}

/* Rank Math breadcrumb adjustments for hero */
.sdm-hero-section__breadcrumbs .rank-math-breadcrumb a {
    color: rgba(255, 255, 255, 0.7) !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.sdm-hero-section__breadcrumbs .rank-math-breadcrumb a:hover {
    color: rgba(255, 255, 255, 1) !important;
}

.sdm-hero-section__breadcrumbs .rank-math-breadcrumb p {
    margin: 0;
}

/* General breadcrumb styling for other breadcrumb plugins */
.sdm-hero-section__breadcrumbs nav,
.sdm-hero-section__breadcrumbs .breadcrumbs {
    font-size: 0.875rem;
    line-height: 1.4;
}

.sdm-hero-section__breadcrumbs a {
    color: rgba(255, 255, 255, 0.7) !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.sdm-hero-section__breadcrumbs a:hover {
    color: rgba(255, 255, 255, 1) !important;
}

.sdm-hero-section__breadcrumbs .separator,
.sdm-hero-section__breadcrumbs .rank-math-breadcrumb > span:not(:last-child)::after {
    color: rgba(255, 255, 255, 0.5);
}

.sdm-hero-section__breadcrumbs .current,
.sdm-hero-section__breadcrumbs .last {
    color: rgba(255, 255, 255, 0.9);
}

/* Mobile breadcrumbs */
@media (max-width: 768px) {
    .sdm-hero-section__breadcrumbs,
    .sdm-hero-section__breadcrumbs p {
        font-size: 0.8125rem;
        margin-bottom: 0.5rem;
        padding-top: 0.5rem;
    }
    
    .sdm-hero-section__breadcrumbs .separator,
    .sdm-hero-section__breadcrumbs .rank-math-breadcrumb > span:not(:last-child)::after {
        margin: 0 0.25rem;
    }
}

/* ==========================================================================
   END HERO SECTION BREADCRUMBS
   ========================================================================== */

/* ==========================================================================
   TEAM TRUST MODULE STYLES
   ========================================================================== */

.sdm-team-trust {
    width: 100%;
}

.sdm-team-trust__heading {
    font-size: 18px;
    font-weight: 500;
    color: #333;
    margin-bottom: 1rem;
}

.sdm-team-trust__avatars {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.sdm-team-trust__avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 10;
    transition: transform 0.2s ease, z-index 0.2s ease;
}

.sdm-team-trust__avatar:not(:first-child) {
    margin-left: -12px;
}

.sdm-team-trust__avatar:nth-child(1) { z-index: 10; }
.sdm-team-trust__avatar:nth-child(2) { z-index: 9; }
.sdm-team-trust__avatar:nth-child(3) { z-index: 8; }
.sdm-team-trust__avatar:nth-child(4) { z-index: 7; }
.sdm-team-trust__avatar:nth-child(5) { z-index: 6; }
.sdm-team-trust__avatar:nth-child(6) { z-index: 5; }
.sdm-team-trust__avatar:nth-child(7) { z-index: 4; }
.sdm-team-trust__avatar:nth-child(8) { z-index: 3; }

.sdm-team-trust__avatar:hover {
    transform: scale(1.1);
    z-index: 20 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

/* Placeholder avatars for preview/fallback */
.sdm-team-trust__avatar--placeholder {
    background: linear-gradient(135deg, #789d4a, #63833c);
    color: white;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sdm-team-trust__counter {
    font-size: 14px;
    font-weight: 500;
    color: #666;
    margin-left: 12px;
    white-space: nowrap;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .sdm-team-trust__heading {
        font-size: 16px;
        margin-bottom: 0.75rem;
    }
    
    .sdm-team-trust__avatar {
        width: 40px;
        height: 40px;
        border-width: 1.5px;
    }
    
    .sdm-team-trust__avatar:not(:first-child) {
        margin-left: -10px;
    }
    
    .sdm-team-trust__avatar--placeholder {
        font-size: 12px;
    }
    
    .sdm-team-trust__counter {
        font-size: 13px;
        margin-left: 8px;
    }
}

/* Very small screens */
@media (max-width: 480px) {
    .sdm-team-trust__avatar {
        width: 36px;
        height: 36px;
    }
    
    .sdm-team-trust__avatar:not(:first-child) {
        margin-left: -8px;
    }
    
    .sdm-team-trust__avatar--placeholder {
        font-size: 11px;
    }
}

/* Empty state */
.sdm-team-trust--empty {
    text-align: center;
    padding: 2rem;
    color: #666;
    font-style: italic;
}

/* Inline Team Trust Shortcode Styles */
.sdm-team-trust-inline {
    display: inline-flex !important;
    align-items: center;
    margin: 0 4px;
    vertical-align: baseline;
}

.sdm-team-trust-inline__avatar {
    transition: transform 0.2s ease !important;
}

.sdm-team-trust-inline__avatar:hover {
    transform: scale(1.15) !important;
    z-index: 50 !important;
}

.sdm-team-trust-inline__counter {
    display: inline !important;
    vertical-align: baseline;
}

/* Ensure inline avatars work in different text contexts */
.et_pb_text .sdm-team-trust-inline,
.sdm-large-text-trust .sdm-team-trust-inline,
.sd-content .sdm-team-trust-inline {
    display: inline-flex !important;
    align-items: center;
    vertical-align: baseline;
}

/* ==========================================================================
   END TEAM TRUST MODULE STYLES
   ========================================================================== */

/* ==========================================================================
   LARGE TEXT TRUST INLINE AVATARS
   ========================================================================== */

.sdm-large-text-trust__avatars {
    display: inline-flex;
    align-items: center;
    margin: 0 8px;
    vertical-align: baseline;
}

.sdm-large-text-trust__avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    display: inline-block;
    position: relative;
    z-index: 10;
    vertical-align: baseline;
    transition: transform 0.2s ease, z-index 0.2s ease;
}

.sdm-large-text-trust__avatar:not(:first-child) {
    margin-left: -8px;
}

.sdm-large-text-trust__avatar:nth-child(1) { z-index: 10; }
.sdm-large-text-trust__avatar:nth-child(2) { z-index: 9; }
.sdm-large-text-trust__avatar:nth-child(3) { z-index: 8; }
.sdm-large-text-trust__avatar:nth-child(4) { z-index: 7; }
.sdm-large-text-trust__avatar:nth-child(5) { z-index: 6; }

.sdm-large-text-trust__avatar:hover {
    transform: scale(1.1);
    z-index: 20 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.sdm-large-text-trust__before-word {
    font-weight: inherit;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .sdm-large-text-trust__avatar {
        width: 28px;
        height: 28px;
        border-width: 1.5px;
        margin: 0 4px;
    }
    
    .sdm-large-text-trust__avatar:not(:first-child) {
        margin-left: -6px;
    }
    
    .sdm-large-text-trust__avatars {
        margin: 0 4px;
    }
}

/* ==========================================================================
   END LARGE TEXT TRUST INLINE AVATARS
   ========================================================================== */