/* Knockout Sports Styling for Sunset Digitizing */

#main-content {
    background-color: #fff;
    overflow: hidden;
    position: relative;
    font-family: 'Montserrat', 'Open Sans', sans-serif;
    color: #444;
}

#main-content * {
    box-sizing: border-box;
}

/* Divi Sections */
.et_pb_section {
    position: relative;
    width: 100%;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 50px 0;
}

.et_pb_fullwidth_section {
    padding: 0 !important;
}

/* Fullwidth Header (Hero Banner) */
.et_pb_fullwidth_header {
    position: relative;
    background-position: center;
    background-size: cover;
    padding: 85px 20px;
    text-align: center;
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.et_pb_fullwidth_header:before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

.et_pb_fullwidth_header_container {
    position: relative;
    z-index: 2;
    max-width: 1140px;
    margin: 0 auto;
    width: 100%;
}

.et_pb_module_header {
    font-size: 42px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0,0,0,0.7);
    line-height: 1.2 !important;
}

/* Rows & Grid */
.et_pb_row {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    padding: 20px 0;
}

.et_pb_column {
    padding: 12px 15px;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.et_pb_column_4_4 {
    width: 100%;
    flex: 0 0 100%;
}

.et_pb_column_1_2 {
    width: 50%;
    flex: 0 0 50%;
}

.et_pb_column_1_3 {
    width: 33.333333%;
    flex: 0 0 33.333333%;
}

.et_pb_column_1_4 {
    width: 25%;
    flex: 0 0 25%;
}

/* Gutters 1 (Tight Grid for Product Showcases) */
.et_pb_gutters1 .et_pb_column {
    padding: 8px !important;
}

/* Images & Product Showcases */
.et_pb_image {
    text-align: center;
    margin-bottom: 15px;
    width: 100%;
}

.et_pb_image_wrap {
    display: inline-block;
    max-width: 100%;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.et_pb_image_wrap:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.et_pb_image img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* Typography */
.et_pb_text {
    width: 100%;
    margin-bottom: 15px;
}

.et_pb_text_inner h2 {
    font-size: 30px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
    line-height: 1.3;
}

.et_pb_text_inner h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 14px;
    line-height: 1.35;
}

.et_pb_text_inner h4 {
    font-size: 20px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 12px;
}

.et_pb_text_inner p {
    font-size: 15.5px;
    line-height: 1.75;
    color: #475569;
    margin-bottom: 12px;
}

.et_pb_text_inner ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 18px;
}

.et_pb_text_inner ul li {
    font-size: 15px;
    line-height: 1.7;
    color: #334155;
    margin-bottom: 10px;
    position: relative;
    padding-left: 26px;
}

.et_pb_text_inner ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #16a34a;
    font-weight: 800;
    font-size: 16px;
}

.et_pb_text_inner strong {
    color: #0f172a;
    font-weight: 700;
}

/* Category Title Bars */
.et_pb_text_inner p:only-child strong:first-child,
.et_pb_module.et_pb_text_align_center .et_pb_text_inner > p:first-child {
    font-size: 26px;
    font-weight: 800;
    color: #0f172a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

/* Process Banner (Section with lime/green/blue accent) */
.et_pb_section_2.et_pb_with_background,
.et_pb_section[style*="background-color: #7CDA24"],
.et_pb_section[style*="background-color:#7CDA24"] {
    background-color: #7CDA24 !important;
    padding: 30px 0 !important;
}

.et_pb_section_2 img,
img[alt*="process" i],
img[alt*="sublimation process" i] {
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* FAQ Accordion / Toggle Modules */
.et_pb_toggle {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 14px;
    padding: 16px 22px;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
    transition: all 0.25s ease;
    width: 100%;
}

.et_pb_toggle:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.et_pb_toggle_title {
    font-size: 17px !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.et_pb_toggle_title:after {
    content: "+";
    font-size: 22px;
    font-weight: 700;
    color: #FF6E07;
    margin-left: 15px;
    transition: transform 0.2s ease;
}

.et_pb_toggle_open .et_pb_toggle_title:after {
    content: "−";
    color: #ef4444;
}

.et_pb_toggle_content {
    display: none;
    padding-top: 14px;
    color: #475569;
    font-size: 15px;
    line-height: 1.7;
    border-top: 1px solid #f1f5f9;
    margin-top: 12px;
}

.et_pb_toggle_open .et_pb_toggle_content {
    display: block;
}

/* Call-to-action buttons in text */
.et_pb_text_inner a[href*="contact"],
.et_pb_text_inner a[href*="quote"],
.et_pb_button {
    display: inline-block;
    background: #ea580c;
    color: #ffffff !important;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 30px;
    text-decoration: none;
    margin-top: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(234, 88, 12, 0.3);
}

.et_pb_text_inner a[href*="contact"]:hover,
.et_pb_text_inner a[href*="quote"]:hover,
.et_pb_button:hover {
    background: #c2410c;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(234, 88, 12, 0.45);
    color: #ffffff !important;
}

/* Tables (Size charts) */
.et_pb_text_inner table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.et_pb_text_inner th,
.et_pb_text_inner td {
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    text-align: left;
    font-size: 14px;
}

.et_pb_text_inner th {
    background: #0f172a;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.et_pb_text_inner tr:nth-child(even) td {
    background: #f8fafc;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .et_pb_row {
        width: 95%;
    }
    .et_pb_column_1_2,
    .et_pb_column_1_3,
    .et_pb_column_1_4 {
        width: 50% !important;
        flex: 0 0 50% !important;
    }
    .et_pb_module_header {
        font-size: 32px !important;
    }
}

@media (max-width: 576px) {
    .et_pb_column_1_2,
    .et_pb_column_1_3,
    .et_pb_column_1_4 {
        width: 100% !important;
        flex: 0 0 100% !important;
    }
    .et_pb_module_header {
        font-size: 24px !important;
    }
    .et_pb_text_inner h2 {
        font-size: 24px !important;
    }
}

/* ========================================================
   GLOBAL UNIFIED SQUARE CARDS FOR ALL GALLERIES & SPORTS
   (Seamless, Borderless, Pure Transparent Integration)
   ======================================================== */
.portfolio-list__single,
.patch-type-section .portfolio-list__single {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    height: auto !important;
    max-height: none !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), filter 0.3s ease !important;
    padding: 6px !important;
    margin-top: 0.25rem !important;
    margin-bottom: 0.25rem !important;
}

.portfolio-list__single:hover,
.patch-type-section .portfolio-list__single:hover {
    transform: translateY(-4px) scale(1.04) !important;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.15)) !important;
}

.portfolio-list__single img,
.portfolio-list__single > img,
.patch-type-section .portfolio-list__single img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
    display: block !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* Sports Pages (Divi / Knockout Sports modules) */
.et_pb_module.et_pb_image,
.et_pb_image {
    width: 100% !important;
    margin-bottom: 20px !important;
    text-align: center !important;
}

/* Feature/Hero Middle Profile Image in Sports Pages (Between Text) */
.et_pb_row_1 .et_pb_image,
.et_pb_row_1 .et_pb_module.et_pb_image,
.et_pb_row_1 .et_pb_image_0 {
    margin: 15px auto !important;
    text-align: center !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
}

.et_pb_row_1 .et_pb_image_wrap,
.et_pb_row_1 .et_pb_image_0 .et_pb_image_wrap {
    aspect-ratio: auto !important;
    width: auto !important;
    max-width: 280px !important;
    height: auto !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 auto !important;
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
}

.et_pb_row_1 .et_pb_image img,
.et_pb_row_1 .et_pb_image_wrap img {
    max-height: 320px !important;
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    margin: 0 auto !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.12)) !important;
}

/* Standard Sports Gallery Grid Items */
.et_pb_image_wrap {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    height: auto !important;
    max-height: none !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 6px !important;
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), filter 0.3s ease !important;
}

.et_pb_image_wrap:hover {
    transform: translateY(-4px) scale(1.04) !important;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.15)) !important;
}

.et_pb_image_wrap a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    background: transparent !important;
    border: none !important;
}

.et_pb_image img,
.et_pb_image_wrap img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
    display: block !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* ========================================================
   SPORTS GROUP PHOTOS (Widescreen natural team photos & tight spacing)
   ======================================================== */
.et_pb_section_5 .et_pb_row,
.et_pb_section_4 .et_pb_row {
    margin-top: 10px !important;
    margin-bottom: 10px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.et_pb_section_5 .et_pb_module.et_pb_image,
.et_pb_section_4 .et_pb_module.et_pb_image,
.et_pb_row_16 .et_pb_module.et_pb_image,
.et_pb_row_17 .et_pb_module.et_pb_image {
    margin-bottom: 15px !important;
}

/* Group photo image wrappers: widescreen ratio for team photos */
.et_pb_section_5 .et_pb_image_wrap,
.et_pb_row_16 .et_pb_image_wrap,
.et_pb_row_17 .et_pb_image_wrap {
    aspect-ratio: 16 / 10 !important;
    max-height: 260px !important;
    padding: 2px !important;
    border-radius: 8px !important;
}

.et_pb_section_5 .et_pb_image img,
.et_pb_section_5 .et_pb_image_wrap img,
.et_pb_row_16 .et_pb_image_wrap img,
.et_pb_row_17 .et_pb_image_wrap img {
    object-fit: cover !important;
    border-radius: 6px !important;
}

@media (max-width: 767px) {
    .et_pb_row_1 .et_pb_image_wrap {
        max-width: 220px !important;
    }
    .et_pb_row_1 .et_pb_image img,
    .et_pb_row_1 .et_pb_image_wrap img {
        max-height: 240px !important;
    }
    .portfolio-list__single,
    .patch-type-section .portfolio-list__single,
    .et_pb_image_wrap {
        padding: 4px !important;
    }
    .et_pb_section_5 .et_pb_image_wrap,
    .et_pb_row_16 .et_pb_image_wrap,
    .et_pb_row_17 .et_pb_image_wrap {
        aspect-ratio: 16 / 10 !important;
        max-height: 200px !important;
    }
}
