/* ===== LICENSING PAGE STYLES ===== */
/* Extracted from: programme-licensing.html, programme-licensing-details.html */

/* ===== CRITERIA LIST ===== */
.criteria-list li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 0.875rem 0;
    border-bottom: 1px solid #e8e4de;
}

.criteria-list li:last-child {
    border-bottom: none;
}

.criteria-dot {
    width: 8px;
    height: 8px;
    background: var(--gold-accent);
    border-radius: 50%;
    margin-top: 0.45rem;
    flex-shrink: 0;
}

/* ===== ENHANCED PROCESS DIAGRAM ===== */
.lp-diagram-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 2rem 0;
}

.lp-diagram-wrap svg {
    min-width: 900px;
    width: 100%;
    height: auto;
    display: block;
}

.lp-note {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 2.5rem;
    font-size: 0.875rem;
    color: var(--text-grey);
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    border-left: 3px solid var(--gold-accent);
}

.lp-note-icon {
    width: 20px;
    height: 20px;
    min-width: 20px;
    border-radius: 50%;
    background: var(--gold-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 12px;
}

/* ===== CONTENT BLOCKS ===== */
.content-block {
    background: white;
    border: 2px solid #e8e4de;
    border-radius: 16px;
    padding: 3rem 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.content-block-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 3px solid #f0ece7;
}

.content-block-number {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: linear-gradient(135deg, #d4a843, #c9a84c);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.3rem;
    box-shadow: 0 4px 12px rgba(201, 168, 76, 0.35);
}

.content-block-header h3 {
    color: var(--charcoal);
    font-size: 1.5rem;
    margin: 0;
    font-weight: 700;
}

/* ===== PROGRAMME CARDS WITH ICONS ===== */
.programme-card {
    background: white;
    border: 2px solid #e8e4de;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.programme-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #c41e3a, #d63447);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.programme-card:hover {
    border-color: #c41e3a;
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(196, 30, 58, 0.15);
}

.programme-card:hover::before {
    transform: scaleX(1);
}

.programme-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.25rem;
    background: linear-gradient(135deg, #faf8f5, #f5f1ec);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-accent);
}

.programme-icon svg {
    width: 28px;
    height: 28px;
    stroke: currentColor;
    stroke-width: 2;
}

.programme-card h3 {
    color: var(--charcoal);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.programme-card p {
    color: var(--text-grey);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* ===== REQUIREMENT STEP CARDS ===== */
.requirement-step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding: 1.25rem;
    background: white;
    border-radius: 12px;
    border: 1px solid #e8e4de;
    transition: all 0.3s ease;
}

.requirement-step:hover {
    border-color: #c41e3a;
    box-shadow: 0 4px 16px rgba(196, 30, 58, 0.1);
}

.requirement-number {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: linear-gradient(135deg, #d4a843, #c9a84c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(201, 168, 76, 0.35);
}

/* ===== PROGRAMME LEVEL BADGES ===== */
.programme-level-card {
    background: white;
    border: 2px solid #e8e4de;
    border-radius: 14px;
    padding: 1.75rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.programme-level-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #d4a843, #c9a84c);
}

.programme-level-card:hover {
    border-color: #c41e3a;
    transform: translateX(4px);
    box-shadow: 0 4px 16px rgba(196, 30, 58, 0.1);
}

.programme-level-badge {
    display: inline-block;
    background: linear-gradient(135deg, #d4a843, #c9a84c);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

/* ===== QUALITY ASSURANCE GRID ===== */
.qa-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.qa-card {
    background: white;
    border: 2px solid #e8e4de;
    border-radius: 14px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.qa-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #c41e3a, #d63447);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.qa-card:hover {
    border-color: #c41e3a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(196, 30, 58, 0.12);
}

.qa-card:hover::after {
    transform: scaleX(1);
}

.qa-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #faf8f5, #f5f1ec);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--gold-accent);
}

.qa-icon svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 2;
}

/* ===== BENEFIT LISTS ===== */
.benefit-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 1.5rem 0 0 !important;
}

.benefit-list li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0ece7;
    transition: all 0.3s ease;
    list-style: none !important;
}

.benefit-list li::before {
    display: none !important;
}

.benefit-list li:last-child {
    border-bottom: none;
}

.benefit-list li:hover {
    padding-left: 0.5rem;
    background: rgba(250, 248, 245, 0.5);
}

.benefit-check {
    width: 24px;
    height: 24px;
    min-width: 24px;
    background: linear-gradient(135deg, #d4a843, #c9a84c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.7rem;
    margin-top: 0.1rem;
}

/* ===== PROCESS FLOW DIAGRAM ===== */
.process-diagram-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 2rem 0;
}

.process-diagram-wrap svg {
    min-width: 1400px;
    width: 100%;
    height: auto;
    display: block;
}

.process-note {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 2.5rem;
    font-size: 0.875rem;
    color: var(--text-grey);
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    border-left: 3px solid var(--gold-accent);
}

.process-note-icon {
    width: 20px;
    height: 20px;
    min-width: 20px;
    border-radius: 50%;
    background: var(--gold-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 12px;
}

/* ===== BACK LINK ===== */
.lp-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--crimson);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 3rem;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: white;
    border: 2px solid transparent;
}

.lp-back-link:hover {
    background: rgba(196, 30, 58, 0.05);
    border-color: var(--crimson);
    transform: translateX(-4px);
}

.lp-back-link svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.lp-back-link:hover svg {
    transform: translateX(-4px);
}

/* ===== EXCEPTION CALLOUT ===== */
.exception-box {
    margin-top: 2rem;
    background: linear-gradient(
        to right,
        rgba(201, 168, 76, 0.08),
        white
    );
    border-left: 4px solid var(--gold-accent);
    padding: 1.75rem 2rem;
    border-radius: 0 12px 12px 0;
    box-shadow: 0 2px 12px rgba(201, 168, 76, 0.1);
}

.exception-box strong {
    color: var(--gold-accent);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.05rem;
}

/* ===== THEME B: DARK MODE OVERRIDES =====
   SVG text: CSS fill overrides SVG fill attributes
   ================================================ */
[data-theme="themeB"] .lp-diagram-wrap text { fill: rgba(255, 255, 255, 0.85); }
[data-theme="themeB"] .process-diagram-wrap text { fill: rgba(255, 255, 255, 0.85); }

/* ===== THEME B: DARK MODE OVERRIDES ===== */
[data-theme="themeB"] .content-block {
    background: #141414 !important;
    border-color: rgba(255, 255, 255, 0.07) !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

[data-theme="themeB"] .content-block-header {
    border-bottom-color: rgba(255, 255, 255, 0.07);
}

[data-theme="themeB"] .content-block-header h3 {
    color: #ffffff;
}

[data-theme="themeB"] .lp-note {
    background: #141414 !important;
    color: rgba(255, 255, 255, 0.75) !important;
}

[data-theme="themeB"] .process-note {
    background: #141414 !important;
    color: rgba(255, 255, 255, 0.75) !important;
}

[data-theme="themeB"] .programme-card {
    background: #141414 !important;
    border-color: rgba(255, 255, 255, 0.07) !important;
}

[data-theme="themeB"] .programme-card h3 {
    color: #ffffff;
}

[data-theme="themeB"] .programme-card p {
    color: rgba(255, 255, 255, 0.65);
}

[data-theme="themeB"] .programme-icon {
    background: rgba(255, 255, 255, 0.06);
}

[data-theme="themeB"] .requirement-step {
    background: #1a1a1a !important;
    border-color: rgba(255, 255, 255, 0.07) !important;
}

[data-theme="themeB"] .requirement-step:hover {
    border-color: rgba(196, 30, 58, 0.5);
    box-shadow: 0 4px 16px rgba(196, 30, 58, 0.12);
}

[data-theme="themeB"] .programme-level-card {
    background: #141414 !important;
    border-color: rgba(255, 255, 255, 0.07) !important;
}

[data-theme="themeB"] .programme-level-card:hover {
    border-color: rgba(196, 30, 58, 0.5);
    box-shadow: 0 4px 16px rgba(196, 30, 58, 0.12);
}

[data-theme="themeB"] .qa-card {
    background: #141414 !important;
    border-color: rgba(255, 255, 255, 0.07) !important;
}

[data-theme="themeB"] .qa-card:hover {
    border-color: rgba(196, 30, 58, 0.5);
    box-shadow: 0 6px 20px rgba(196, 30, 58, 0.14);
}

[data-theme="themeB"] .qa-icon {
    background: rgba(255, 255, 255, 0.06);
}

[data-theme="themeB"] .lp-back-link {
    background: #1a1a1a !important;
    color: var(--crimson);
}

[data-theme="themeB"] .lp-back-link:hover {
    background: rgba(196, 30, 58, 0.08);
    border-color: var(--crimson);
}

[data-theme="themeB"] .exception-box {
    background: linear-gradient(to right, rgba(201, 168, 76, 0.12), #1a1a1a) !important;
}

[data-theme="themeB"] .criteria-list li {
    border-bottom-color: rgba(255, 255, 255, 0.07);
}

[data-theme="themeB"] .benefit-list li {
    border-bottom-color: rgba(255, 255, 255, 0.07);
}

[data-theme="themeB"] .benefit-list li:hover {
    background: rgba(255, 255, 255, 0.03);
}

/* ===== GOLD ACCENT: SUB-HEADINGS & CARD TITLES ===== */
/* Override inline style="color: var(--crimson)" on section sub-headings */
.content-block .content-section > h3 {
    color: var(--gold-accent) !important;
}

.qa-card h4 {
    color: var(--gold-accent) !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .qa-grid {
        grid-template-columns: 1fr;
    }

    .content-block {
        padding: 2rem 1.5rem;
    }

    .content-block-header h3 {
        font-size: 1.25rem;
    }

    .programme-card {
        padding: 1.5rem;
    }
}
