/* Affiliate dashboard only: hide the generic theme page title, not card headings. */
body.cijlex-affiliate-panel-page main.page-main > article > h1.section-title {
    display: none !important;
}

body.cijlex-affiliate-panel-page main.page-main {
    width: min(96%, 1480px) !important;
    max-width: 1480px !important;
    box-sizing: border-box;
}

body.cijlex-affiliate-panel-page .cijlex-aff-wrap.cijlex-dashboard {
    width: 100%;
    max-width: 1400px !important;
    box-sizing: border-box;
    padding-top: 24px;
}

body.cijlex-affiliate-panel-page .cijlex-course-cover {
    width: 100%;
    flex-shrink: 0;
}

body.cijlex-affiliate-panel-page .cijlex-course-cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cijlex-dashboard .cijlex-payout-explainer {
    padding: 22px 30px;
    background: #fff9e9;
    border-left: 5px solid #d4a443;
    color: #092647;
    line-height: 1.55;
}

.cijlex-dashboard .cijlex-payout-explainer strong { font-size: 1.12rem; }
.cijlex-dashboard .cijlex-payout-explainer p { margin: 7px 0; }
.cijlex-dashboard .cijlex-payout-explainer .cijlex-payout-ready { color: #087747; font-weight: 700; }
.cijlex-dashboard .cijlex-payout-explainer .cijlex-collect-disabled { display: inline-block; margin-top: 8px; }

@media (max-width: 680px) {
    body.cijlex-affiliate-panel-page main.page-main { width: 100% !important; }
    body.cijlex-affiliate-panel-page .cijlex-aff-wrap.cijlex-dashboard { padding: 14px 12px; }
}
