:root {
    --ng-gold: #c5a059;
    --ng-black: #1a1a1a;
    --ng-gray: #f9f9f9;
    --ng-white: #ffffff;
    --ng-font-serif: "Georgia", "Times New Roman", serif;
    --ng-font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* --- MODERN GRID (Restored Featured Image) --- */
.ng-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin: 40px 0;
    font-family: var(--ng-font-sans);
}
.ng-card {
    background: var(--ng-white); border-radius: 12px; overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05); transition: transform 0.3s ease; text-decoration: none !important;
    display: flex; flex-direction: column; border: 1px solid rgba(0,0,0,0.03);
}
.ng-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.ng-card-image { height: 220px; background-size: cover; background-position: center; position: relative; background-color: #eee; }
.ng-card-price {
    position: absolute; top: 15px; right: 15px; background: var(--ng-white); color: var(--ng-black);
    padding: 6px 14px; border-radius: 30px; font-weight: 700; font-size: 0.9rem; box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.ng-card-body { padding: 25px; display: flex; flex-direction: column; flex-grow: 1; }
.ng-card-title { margin: 0 0 10px 0; font-size: 1.25rem; color: var(--ng-black); font-weight: 700; line-height: 1.3; }
.ng-card-excerpt { color: #666; font-size: 0.95rem; line-height: 1.5; margin-bottom: 20px; flex-grow: 1; }
.ng-card-btn { margin-top: auto; color: var(--ng-gold); font-weight: 600; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; }

/* --- SINGLE COURSE WIZARD --- */
.ng-single-layout {
    display: grid; grid-template-columns: 1.5fr 1fr; gap: 60px;
    margin: 60px auto; max-width: 1200px; font-family: var(--ng-font-sans);
}
@media(max-width: 900px) { .ng-single-layout { grid-template-columns: 1fr; } }

.ng-editorial-col { color: #333; }
.ng-main-title { font-family: var(--ng-font-serif); font-size: 3rem; line-height: 1.1; margin-bottom: 20px; color: var(--ng-black); }
.ng-badge { display: inline-block; background: var(--ng-black); color: #fff; font-size: 11px; text-transform: uppercase; letter-spacing: 1px; padding: 6px 14px; border-radius: 20px; margin-right: 8px; margin-bottom: 20px; }

/* --- NEW: MINI CARDS FOR DESCRIPTION --- */
.ng-desc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}
.ng-desc-intro { font-size: 1.1rem; line-height: 1.6; margin-bottom: 30px; color: #555; }
.ng-desc-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    transition: transform 0.2s;
}
.ng-desc-card:hover { transform: translateY(-3px); }
.ng-desc-header h4 {
    margin: 0 0 15px 0;
    font-size: 1.1rem;
    color: var(--ng-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}
.ng-desc-body { font-size: 0.95rem; color: #666; line-height: 1.6; }
.ng-desc-body p:last-child { margin-bottom: 0; }

/* WIZARD */
.ng-wizard-col { position: relative; }
.ng-wizard-card { background: #fff; border: 1px solid #eee; padding: 30px; border-radius: 12px; box-shadow: 0 20px 50px rgba(0,0,0,0.05); position: sticky; top: 40px; }
.ng-wizard-header { border-bottom: 1px solid #eee; padding-bottom: 15px; margin-bottom: 20px; display: flex; justify-content: space-between; align-items: center; }
.ng-step-indicator { font-size: 0.8rem; color: #888; text-transform: uppercase; letter-spacing: 1px; }
.ng-field { margin-bottom: 20px; }
.ng-field label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 8px; color: var(--ng-black); }
.ng-field input, .ng-field select { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 6px; font-size: 1rem; }
.ng-radios label { display: flex; justify-content: space-between; align-items: center; padding: 15px; border: 1px solid #eee; margin-bottom: 10px; border-radius: 6px; cursor: pointer; transition: 0.2s; }
.ng-radios label:hover { border-color: var(--ng-gold); background: var(--ng-gray); }
.ng-radios input { width: auto; margin-right: 10px; accent-color: var(--ng-gold); }
.ng-btn-group { display: flex; gap: 10px; margin-top: 20px; }
.ng-btn { flex: 1; padding: 14px; background: var(--ng-black); color: #fff; border: none; font-size: 1rem; font-weight: 600; border-radius: 6px; cursor: pointer; }
.ng-btn:hover { background: var(--ng-gold); }
.ng-btn-text { background: none; border: none; color: #888; font-weight: 600; cursor: pointer; padding: 0 15px; }
.ng-summary-box { background: var(--ng-gray); padding: 20px; border-radius: 8px; margin-bottom: 20px; font-size: 0.95rem; }
.ng-summary-box p { margin: 10px 0; border-bottom: 1px solid #eee; padding-bottom: 10px; display: flex; justify-content: space-between; }

/* SUCCESS */
.ng-success-container { display: flex; justify-content: center; align-items: center; min-height: 60vh; font-family: var(--ng-font-sans); }
.ng-success-card { background: #fff; padding: 60px 40px; max-width: 600px; text-align: center; border-radius: 16px; box-shadow: 0 30px 60px rgba(0,0,0,0.08); border: 1px solid #f0f0f0; }
.ng-icon-circle { width: 80px; height: 80px; background: #e6f4ea; color: #1e8e3e; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 30px; }
.ng-icon-circle .dashicons { font-size: 40px; width: 40px; height: 40px; }
.ng-success-card h1 { font-family: var(--ng-font-serif); color: var(--ng-black); margin-bottom: 20px; font-size: 2.5rem; }
.ng-details { background: var(--ng-gray); padding: 20px; border-radius: 8px; margin: 30px 0; }
.ng-btn-home { display: inline-block; background: var(--ng-black); color: #fff; padding: 15px 30px; text-decoration: none; border-radius: 8px; font-weight: 600; transition: background 0.3s; }
.ng-btn-home:hover { background: var(--ng-gold); }

/* HIDE THEME IMAGE ON SINGLE */
body.single-ng_course .post-thumbnail,
body.single-ng_course .wp-post-image,
body.single-ng_course .entry-header img,
body.single-ng_course .page-header-image-single,
body.single-ng_course .featured-image { display: none !important; }