/* === Anigdha Italy — Components (FAQ, Courses, CF7 Forms) === */

/* ═══════════════════════════════════════
   CONTACT CTA — CF7 Form (Homepage)
   ═══════════════════════════════════════ */
.contact-cta-form {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 32px 28px;
    box-shadow: 0 16px 40px rgba(0,0,0,0.18);
}

.contact-cta-form .wpcf7 form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-cta-form .wpcf7 input[type="text"],
.contact-cta-form .wpcf7 input[type="email"],
.contact-cta-form .wpcf7 input[type="tel"],
.contact-cta-form .wpcf7 input[type="number"],
.contact-cta-form .wpcf7 textarea,
.contact-cta-form .wpcf7 select {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #EDEFF1;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    color: #16181A;
    background: #F9FAFB;
    outline: none;
    transition: border-color .2s;
    box-sizing: border-box;
}

.contact-cta-form .wpcf7 input:focus,
.contact-cta-form .wpcf7 textarea:focus,
.contact-cta-form .wpcf7 select:focus {
    border-color: #C82935;
}

.contact-cta-form .wpcf7 input[type="submit"] {
    width: 100%;
    padding: 15px;
    background: #C82935;
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s;
}

.contact-cta-form .wpcf7 input[type="submit"]:hover {
    background: #16181A;
}

/* ═══════════════════════════════════════
   HERO — CF7 Form
   ═══════════════════════════════════════ */

.hero-form-body .wpcf7 form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hero-form-body .wpcf7 label {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #16181A;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.hero-form-body .wpcf7 input[type="text"],
.hero-form-body .wpcf7 input[type="email"],
.hero-form-body .wpcf7 input[type="tel"],
.hero-form-body .wpcf7 input[type="url"],
.hero-form-body .wpcf7 input[type="number"] {
    height: 44px;
    border: 1px solid #EDEFF1;
    border-radius: 6px;
    padding: 0 14px;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    color: #16181A;
    background: #F8F9FA;
    outline: none;
    transition: border-color .2s;
    width: 100%;
    box-sizing: border-box;
}

.hero-form-body .wpcf7 input[type="text"]:focus,
.hero-form-body .wpcf7 input[type="email"]:focus,
.hero-form-body .wpcf7 input[type="tel"]:focus {
    border-color: #C82935;
}

.hero-form-body .wpcf7 select {
    height: 44px;
    border: 1px solid #EDEFF1;
    border-radius: 6px;
    padding: 0 14px;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    color: #16181A;
    background: #F8F9FA;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L1 3h10z' fill='%234A4F55'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    width: 100%;
    box-sizing: border-box;
}

.hero-form-body .wpcf7 textarea {
    border: 1px solid #EDEFF1;
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    color: #16181A;
    background: #F8F9FA;
    outline: none;
    resize: vertical;
    height: 44px;
    transition: border-color .2s;
    width: 100%;
    box-sizing: border-box;
}

.hero-form-body .wpcf7 textarea:focus {
    border-color: #C82935;
}

.hero-form-body .wpcf7 input[type="submit"] {
    height: 46px;
    background: #C82935;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-family: 'Poppins', sans-serif;
    font-size: 14.5px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s;
    width: 100%;
    margin-top: 2px;
}

.hero-form-body .wpcf7 input[type="submit"]:hover {
    background: #16181A;
}

.hero-form-body .wpcf7 .wpcf7-response-output {
    font-size: 13px;
    margin: 8px 0 0;
    padding: 10px;
    border-radius: 4px;
}

.hero-form-body .wpcf7 .wpcf7-not-valid-tip {
    font-size: 12px;
    color: #C82935;
}

/* ═══════════════════════════════════════
   CONTACT PAGE CF7 FORM
   ═══════════════════════════════════════ */

.contact-form-body .wpcf7 form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-form-body .wpcf7 label {
    font-family: 'Poppins', sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    color: #16181A;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-form-body .wpcf7 input[type="text"],
.contact-form-body .wpcf7 input[type="email"],
.contact-form-body .wpcf7 input[type="tel"],
.contact-form-body .wpcf7 input[type="url"],
.contact-form-body .wpcf7 input[type="number"] {
    height: 48px;
    border: 1px solid #EDEFF1;
    border-radius: 8px;
    padding: 0 16px;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    color: #16181A;
    background: #F8F9FA;
    outline: none;
    transition: border-color .2s;
    width: 100%;
    box-sizing: border-box;
}

.contact-form-body .wpcf7 input[type="text"]:focus,
.contact-form-body .wpcf7 input[type="email"]:focus,
.contact-form-body .wpcf7 input[type="tel"]:focus {
    border-color: #C82935;
}

.contact-form-body .wpcf7 select {
    height: 48px;
    border: 1px solid #EDEFF1;
    border-radius: 8px;
    padding: 0 16px;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    color: #16181A;
    background: #F8F9FA;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L1 3h10z' fill='%234A4F55'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    width: 100%;
    box-sizing: border-box;
}

.contact-form-body .wpcf7 textarea {
    border: 1px solid #EDEFF1;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    color: #16181A;
    background: #F8F9FA;
    outline: none;
    resize: vertical;
    height: 120px;
    transition: border-color .2s;
    width: 100%;
    box-sizing: border-box;
}

.contact-form-body .wpcf7 textarea:focus {
    border-color: #C82935;
}

.contact-form-body .wpcf7 input[type="submit"] {
    height: 50px;
    background: #C82935;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s;
    width: 100%;
    margin-top: 4px;
}

.contact-form-body .wpcf7 input[type="submit"]:hover {
    background: #16181A;
}

.contact-form-body .wpcf7 .wpcf7-response-output {
    font-size: 13px;
    margin: 8px 0 0;
    padding: 10px;
    border-radius: 6px;
}

.contact-form-body .wpcf7 .wpcf7-not-valid-tip {
    font-size: 12px;
    color: #C82935;
}

/* FAQ accordion marker */
details summary::-webkit-details-marker {
    display: none;
}

/* ═══════════════════════════════════════
   COURSES ARCHIVE PAGE
   ═══════════════════════════════════════ */

.course-archive-card {
    transition: transform .25s ease;
}

.course-archive-card:hover {
    transform: translateY(-4px);
}

.course-archive-card:hover .course-arrow-btn {
    background: #C82935 !important;
}

.courses-pagination a:hover {
    background: #E8E8E8 !important;
}

/* Page Banner — title alignment handled by .page-banner-title in pages.css */

/* ═══════════════════════════════════════
   CF7 SIDEBAR FORM STYLING
   ═══════════════════════════════════════ */

.course-sidebar .wpcf7 form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.course-sidebar .wpcf7 label {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 13.5px;
    font-weight: 700;
    color: #16181A;
    margin-bottom: 8px;
}

.course-sidebar .wpcf7 input[type="text"],
.course-sidebar .wpcf7 input[type="email"],
.course-sidebar .wpcf7 input[type="tel"],
.course-sidebar .wpcf7 input[type="url"],
.course-sidebar .wpcf7 input[type="number"] {
    width: 100%;
    height: 50px;
    border-radius: 5px;
    border: 1px solid #EDEFF1;
    background: #F8F9FA;
    padding: 0 16px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: #16181A;
    outline: none;
    transition: border-color .2s;
    box-sizing: border-box;
}

.course-sidebar .wpcf7 input[type="text"]:focus,
.course-sidebar .wpcf7 input[type="email"]:focus,
.course-sidebar .wpcf7 input[type="tel"]:focus {
    border-color: #C82935;
}

.course-sidebar .wpcf7 select {
    width: 100%;
    height: 50px;
    border-radius: 5px;
    border: 1px solid #EDEFF1;
    background: #F8F9FA;
    padding: 0 16px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: #16181A;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238A8A8A' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    cursor: pointer;
    box-sizing: border-box;
}

.course-sidebar .wpcf7 textarea {
    width: 100%;
    height: 110px;
    border-radius: 5px;
    border: 1px solid #EDEFF1;
    background: #F8F9FA;
    padding: 14px 16px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: #16181A;
    outline: none;
    resize: vertical;
    transition: border-color .2s;
    box-sizing: border-box;
}

.course-sidebar .wpcf7 textarea:focus {
    border-color: #C82935;
}

.course-sidebar .wpcf7 input[type="submit"] {
    width: 100%;
    height: 52px;
    border-radius: 6px;
    background: #C82935;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: background .2s;
    margin-top: 4px;
}

.course-sidebar .wpcf7 input[type="submit"]:hover {
    background: #16181A;
}

.course-sidebar .wpcf7 .wpcf7-response-output {
    font-size: 13px;
    border-radius: 5px;
    margin: 10px 0 0 !important;
}

.course-sidebar .wpcf7 .wpcf7-not-valid-tip {
    font-size: 12px;
    color: #C82935;
    margin-top: 4px;
}

/* ═══════════════════════════════════════
   BLOG SIDEBAR CF7 FORM (dark background)
   ═══════════════════════════════════════ */

.blog-sidebar-form .wpcf7 form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.blog-sidebar-form .wpcf7 label {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    color: rgba(255,255,255,.75);
    margin-bottom: 8px;
}

.blog-sidebar-form .wpcf7 input[type="text"],
.blog-sidebar-form .wpcf7 input[type="email"],
.blog-sidebar-form .wpcf7 input[type="tel"],
.blog-sidebar-form .wpcf7 input[type="url"],
.blog-sidebar-form .wpcf7 input[type="number"] {
    width: 100%;
    height: 48px;
    border-radius: 5px;
    border: 1px solid rgba(255,255,255,.15);
    background: rgba(255,255,255,.08);
    padding: 0 16px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: #fff;
    outline: none;
    transition: border-color .2s;
    box-sizing: border-box;
}

.blog-sidebar-form .wpcf7 input[type="text"]::placeholder,
.blog-sidebar-form .wpcf7 input[type="email"]::placeholder,
.blog-sidebar-form .wpcf7 input[type="tel"]::placeholder {
    color: rgba(255,255,255,.35);
}

.blog-sidebar-form .wpcf7 input[type="text"]:focus,
.blog-sidebar-form .wpcf7 input[type="email"]:focus,
.blog-sidebar-form .wpcf7 input[type="tel"]:focus {
    border-color: #C82935;
}

.blog-sidebar-form .wpcf7 select {
    width: 100%;
    height: 48px;
    border-radius: 5px;
    border: 1px solid rgba(255,255,255,.15);
    background: rgba(255,255,255,.08);
    padding: 0 16px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: #fff;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(255,255,255,0.5)' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    cursor: pointer;
    box-sizing: border-box;
}

.blog-sidebar-form .wpcf7 textarea {
    width: 100%;
    height: 100px;
    border-radius: 5px;
    border: 1px solid rgba(255,255,255,.15);
    background: rgba(255,255,255,.08);
    padding: 14px 16px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: #fff;
    outline: none;
    resize: vertical;
    transition: border-color .2s;
    box-sizing: border-box;
}

.blog-sidebar-form .wpcf7 textarea::placeholder {
    color: rgba(255,255,255,.35);
}

.blog-sidebar-form .wpcf7 textarea:focus {
    border-color: #C82935;
}

.blog-sidebar-form .wpcf7 input[type="submit"] {
    width: 100%;
    height: 50px;
    border-radius: 6px;
    background: #C82935;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: background .2s;
    margin-top: 4px;
}

.blog-sidebar-form .wpcf7 input[type="submit"]:hover {
    background: #038D44;
    color: #fff;
}

.blog-sidebar-form .wpcf7 .wpcf7-response-output {
    font-size: 13px;
    border-radius: 5px;
    margin: 10px 0 0 !important;
    color: rgba(255,255,255,.7);
}

.blog-sidebar-form .wpcf7 .wpcf7-not-valid-tip {
    font-size: 12px;
    color: #038D44;
    margin-top: 4px;
}

/* ═══════════════════════════════════════
   SINGLE COURSE — Stat Strip
   ═══════════════════════════════════════ */

.course-stat-strip {
    font-family: 'Poppins', sans-serif;
}

/* ═══════════════════════════════════════
   SINGLE COURSE — Body Layout
   ═══════════════════════════════════════ */

.course-body {
    max-width: 1600px;
    margin: 0 auto;
    padding: 40px 40px 100px;
    font-family: 'Poppins', sans-serif;
}

.course-body::after {
    content: '';
    display: table;
    clear: both;
}

.course-sidebar {
    float: right;
    width: 380px;
    margin-left: 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    font-family: 'Poppins', sans-serif;
    align-self: flex-start;
}

.course-article {
    overflow: hidden;
    background: #FFFFFF;
    border: 1px solid #EDEFF1;
    border-radius: 14px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(22,24,26,0.04);
}

/* ═══════════════════════════════════════
   SINGLE COURSE — Sidebar Cards
   ═══════════════════════════════════════ */

.course-sidebar-card {
    background: #fff;
    border: 1px solid #EDEFF1;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(16,27,51,0.06);
}

.course-sidebar-flag {
    height: 4px;
    display: flex;
}

.course-sidebar-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 24px 28px 6px;
}

.course-sidebar-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(200,41,53,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.course-sidebar-card-title {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #16181A;
}

.course-sidebar-card-subtitle {
    margin: 0;
    font-size: 15px;
    color: #7A8189;
    padding: 0 28px;
}

.course-sidebar-form {
    padding: 20px 28px 28px;
}

/* Quick Facts */
.course-quick-facts {
    padding: 12px 28px 28px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.course-qf-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #F2F3F4;
}

.course-qf-row:last-child {
    border-bottom: none;
}

.course-qf-label {
    font-size: 14px;
    font-weight: 500;
    color: #7A8189;
    flex-shrink: 0;
}

.course-qf-value {
    font-size: 14px;
    font-weight: 600;
    color: #16181A;
    margin-left: auto;
    text-align: right;
}

/* Related Courses */
.related-course-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 8px;
    background: #F8F9FA;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #16181A;
    text-decoration: none;
    transition: background .2s, color .2s;
}

.related-course-link:last-child {
    margin-bottom: 0;
}

.related-course-link:hover {
    background: #C82935;
    color: #fff;
}

/* ═══════════════════════════════════════
   Top Universities Sidebar
   ═══════════════════════════════════════ */

.top-universities-list {
    padding: 6px 28px 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.top-uni-item {
    display: block;
    text-decoration: none;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #EDEFF1;
    transition: box-shadow .2s, border-color .2s;
}

.top-uni-item:hover {
    border-color: #C82935;
    box-shadow: 0 4px 16px rgba(200,41,53,0.12);
}

.top-uni-item img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.top-uni-placeholder {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #F3F4F6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #C4C9CF;
    font-size: 32px;
}

.top-uni-name {
    display: block;
    padding: 10px 14px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #16181A;
    text-align: center;
    line-height: 1.4;
}

.top-uni-item:hover .top-uni-name {
    color: #C82935;
}

/* Counsellor card */
.course-sidebar-counsellor {
    background: #16181A;
    border-radius: 16px;
    padding: 32px 28px;
    text-align: center;
}

.course-sidebar-counsellor-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(200,41,53,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.course-sidebar-counsellor-title {
    margin: 0 0 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
}

.course-sidebar-counsellor-text {
    margin: 0 0 22px;
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255,255,255,0.65);
}

.course-sidebar-call {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    gap: 8px;
    margin-bottom: 10px;
    text-decoration: none;
}

.course-sidebar-email {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.18);
    color: rgba(255,255,255,0.7);
    font-size: 15px;
    font-weight: 500;
    gap: 8px;
    text-decoration: none;
    transition: border-color .2s, color .2s;
}

.course-sidebar-email:hover {
    border-color: #C82935;
    color: #fff;
}

/* Course content styling moved to content.css */


/* ═══════════════════════════════════════
   About the Author
   ═══════════════════════════════════════ */

.about-author {
    margin-top: 48px;
    padding: 32px;
    background: #FFFFFF;
    border: 1px solid #EDEFF1;
    border-radius: 14px;
}

.about-author-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.about-author-line {
    height: 2px;
    width: 28px;
    background-color: #C82935;
}

.about-author-eyebrow span {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #C82935;
}

.about-author-body {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.about-author-avatar {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #EDEFF1;
}

.about-author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-author-name {
    margin: 0 0 2px;
    font-family: 'Poppins', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: #16181A;
}

.about-author-designation {
    margin: 0 0 10px;
    font-size: 13px;
    font-weight: 600;
    color: #C82935;
}

.about-author-bio {
    margin: 0;
    font-size: 15px;
    line-height: 1.75;
    color: #4A4F55;
}

@media (max-width: 768px) {
    .about-author {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .about-author {
        padding: 20px;
        margin-top: 32px;
    }

    .about-author-body {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .about-author-avatar {
        width: 60px;
        height: 60px;
    }

    .about-author-name {
        font-size: 16px;
    }

    .about-author-bio {
        font-size: 14px;
    }
}


/* ═══════════════════════════════════════
   COURSES — Responsive
   ═══════════════════════════════════════ */

@media (max-width: 1024px) {
    /* Archive grid — 2 columns */
    .courses-archive-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }

    .course-archive-card {
        height: 340px !important;
    }

    /* Stat strip — wrap 2x2 */
    .course-stat-strip {
        flex-wrap: wrap !important;
    }

    .course-stat-strip > div {
        flex: 1 1 50% !important;
    }
}

@media (max-width: 768px) {
    .courses-archive-grid {
        grid-template-columns: 1fr !important;
    }

    .course-archive-card {
        height: 320px !important;
    }

    /* Single course/university body — stack */
    .course-body {
        display: flex;
        flex-direction: column;
        padding: 48px 20px 64px;
    }

    .course-sidebar {
        float: none;
        width: 100%;
        margin-left: 0;
        order: 2;
        position: static;
    }

    .course-article {
        order: 1;
        margin-bottom: 40px;
        max-width: 100%;
        overflow-x: auto;
        padding: 24px;
    }


    /* Course content responsive moved to content.css */
}

@media (max-width: 480px) {
    .course-archive-card {
        height: 280px !important;
    }

    /* Stat strip — single column */
    .course-stat-strip > div {
        flex: 1 1 100% !important;
    }

    .course-body {
        padding: 36px 16px 48px;
    }

    .course-article {
        padding: 20px;
    }

    /* Course content responsive moved to content.css */
}

/* ═══════════════════════════════════════
   LEAD POPUP — CF7 Form
   ═══════════════════════════════════════ */

#lead-popup-card .wpcf7 form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#lead-popup-card .wpcf7 label {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #16181A;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

#lead-popup-card .wpcf7 input[type="text"],
#lead-popup-card .wpcf7 input[type="email"],
#lead-popup-card .wpcf7 input[type="tel"],
#lead-popup-card .wpcf7 input[type="url"],
#lead-popup-card .wpcf7 input[type="number"] {
    width: 100%;
    height: 44px;
    border: 1px solid #EDEFF1;
    border-radius: 8px;
    padding: 0 14px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: #16181A;
    background: #F8F9FA;
    outline: none;
    transition: border-color .2s;
    box-sizing: border-box;
}

#lead-popup-card .wpcf7 input[type="text"]:focus,
#lead-popup-card .wpcf7 input[type="email"]:focus,
#lead-popup-card .wpcf7 input[type="tel"]:focus {
    border-color: #C82935;
    background: #fff;
}

#lead-popup-card .wpcf7 select {
    width: 100%;
    height: 44px;
    border: 1px solid #EDEFF1;
    border-radius: 8px;
    padding: 0 14px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: #16181A;
    background: #F8F9FA;
    outline: none;
    transition: border-color .2s;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%237A8189' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}

#lead-popup-card .wpcf7 textarea {
    width: 100%;
    border: 1px solid #EDEFF1;
    border-radius: 8px;
    padding: 10px 14px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: #16181A;
    background: #F8F9FA;
    outline: none;
    transition: border-color .2s;
    box-sizing: border-box;
    resize: vertical;
    height: 100px;
}

#lead-popup-card .wpcf7 textarea:focus {
    border-color: #C82935;
    background: #fff;
}

#lead-popup-card .wpcf7 input[type="submit"] {
    width: 100%;
    height: 46px;
    background: #C82935;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s;
    margin-top: 2px;
}

#lead-popup-card .wpcf7 input[type="submit"]:hover {
    background: #16181A;
}

#lead-popup-card .wpcf7 .wpcf7-response-output {
    font-size: 13px;
    margin: 8px 0 0;
    padding: 10px;
    border-radius: 6px;
}

#lead-popup-card .wpcf7 .wpcf7-not-valid-tip {
    font-size: 12px;
    color: #C82935;
}

#lead-popup-close:hover {
    background: rgba(0,0,0,0.12);
}

@media (max-width: 480px) {
    #lead-popup-card {
        width: 94% !important;
        max-width: 100% !important;
        border-radius: 12px !important;
    }

    #lead-popup-card .wpcf7 input[type="text"],
    #lead-popup-card .wpcf7 input[type="email"],
    #lead-popup-card .wpcf7 input[type="tel"],
    #lead-popup-card .wpcf7 input[type="number"],
    #lead-popup-card .wpcf7 select {
        height: 42px;
        font-size: 13px;
    }

    #lead-popup-card .wpcf7 input[type="submit"] {
        height: 44px;
        font-size: 14px;
    }
}
