/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */

/* Only targets custom accordion containers */
body .custom-scf-accordion-wrap {
    border-top: 1px solid #d4d4d4;
    max-width: 100%;
    clear: both; /* Prevents floating layout issues */
}

body .scf-accordion-item {
    border-bottom: 1px solid #d4d4d4;
    list-style: none; /* Ensures no bullet points if theme defaults change */
}

body .scf-accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    cursor: pointer;
    background: transparent; /* Prevents theme-default background colors */
}

/* Specific to your centered Category page version */
body .center-my-accordion .scf-accordion-header {
    justify-content: center;
}

body .center-my-accordion .scf-title {
    margin-right: 12px;
}

/* Ensure images/heavy content inside the content area don't break layout */
body .scf-content-inner img {
    max-width: 100%;
    height: auto;
}

/* This ONLY targets the text inside custom accordions */
body .custom-scf-accordion-wrap .scf-content-inner {
    padding-bottom: 40px; /* This creates the space you highlighted */
    padding-top: 10px;
    color: #54595f;
    line-height: 1.7;
    font-size: 16px;
}

/* Safety: Ensure it doesn't add accidental margins to the last paragraph */
body .scf-content-inner p:last-child {
    margin-bottom: 0;
}

/*table css */

/* Table Container */
body .scf-table-container {
    margin: 30px 0;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

/* Base Table */
/* Container that allows side-scrolling on mobile */
body .scf-table-wrapper {
    width: 100%;
    overflow-x: auto;
    margin: 30px 0;
    -webkit-overflow-scrolling: touch; /* Smooth scroll on iPhone */
    border: 1px solid #e0e0e0;
}

body .custom-scf-table {
    width: 100%;
    min-width: 600px; /* Ensures columns don't 'squish' too small */
    border-collapse: collapse;
}

body .custom-scf-table th {
    background-color: #002b49; /* MEC Blue */
    color: #ffffff;
    padding: 15px;
    text-align: left;
    font-weight: 700;
}

body .custom-scf-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
    color: #444;
}

/* Zebra stripes for large tables */
body .custom-scf-table tr:nth-child(even) {
    background-color: #fcfcfc;
}