/**
 * About K4 Template Styles
 * Author: Steve Austen
 * Company: The PCGP
 */

/* Push content below the fixed header (33px top bar + 80px main header) */
.about-k4-template {
    margin-top: 113px;
}

/* Account for WordPress admin bar when logged in */
.admin-bar .about-k4-template {
    margin-top: 145px; /* 113px header + 32px admin bar */
}

/* WordPress admin bar changes at 782px and below to 46px height */
@media screen and (max-width: 782px) {
    .admin-bar .about-k4-template {
        margin-top: 159px; /* 113px header + 46px admin bar */
    }
}

.about-k4-section {
    padding: 60px 0;
    background: #fff;
}

.about-k4-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.about-k4-video-col {
    flex: 1;
    min-width: 300px;
}

.about-k4-content-col {
    flex: 1;
    min-width: 300px;
}

/* Video Wrapper for responsive 16:9 */
.about-k4-video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 ratio */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.about-k4-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.about-k4-sub-header {
    color: #f3af2e;
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-size: 20px;
    margin-bottom: 10px;
    display: block;
}

.about-k4-main-title {
    font-family: "Poppins", sans-serif;
    font-weight: 800;
    font-size: 36px;
    color: #231f20;
    margin: 0 0 25px 0;
    line-height: 1.2;
    text-transform: uppercase;
}

.about-k4-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-k4-bullets li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 15px;
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #444;
}

.about-k4-bullets li::before {
    content: "\2713"; /* Checkmark */
    position: absolute;
    left: 0;
    top: 0;
    width: 24px;
    height: 24px;
    background: #fff;
    border: 2px solid #f3af2e;
    border-radius: 4px;
    color: #f3af2e;
    font-size: 14px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Page Editor Content */
.about-k4-editor-content {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

/* Responsive */
@media (max-width: 991px) {
    .about-k4-row {
        flex-direction: column; /* This puts video first on mobile */
    }
    
    .about-k4-video-col {
        order: 2; /* Move video underneath content on mobile */
    }
    
    .about-k4-content-col {
        order: 1;
    }

    .about-k4-main-title {
        font-size: 28px;
    }
}
