/**
 * Rehab Essentials — Blog Content Styles
 * Version: 1.0
 * Author: Swift Growth Marketing (swiftgrowth.marketing)
 *
 * INSTALLATION:
 *   WordPress: Appearance > Additional CSS (paste entire file)
 *   Elementor: Elementor > Settings > Custom CSS (paste entire file)
 *   OR: Upload as a stylesheet and enqueue via functions.php
 *
 * USAGE:
 *   Wrap your Elementor Text Editor or Custom HTML widget content
 *   in a <div class="re-content"> to activate all content styles.
 *   Use individual component classes anywhere on the page.
 *
 * POST TYPES SUPPORTED:
 *   Article, News, White Paper, Download, Webinar, Video, Event
 * ============================================================ */


/* ============================================================
   CSS VARIABLES — Brand Design Tokens
   ============================================================ */
:root {
    --re-dark-blue:    #154B75;
    --re-light-blue:   #4698CB;
    --re-cyan:         #0FFCBE;
    --re-gray-light:   #E0E3E2;
    --re-teal-soft:    #C1E0EA;
    --re-text:         #363A42;
    --re-text-muted:   #6B7280;
    --re-white:        #ffffff;
    --re-border:       #D1D5DB;
    --re-shadow:       0 4px 20px rgba(21, 75, 117, 0.08);
    --re-radius:       4px;
    --re-font:         'Roboto', Arial, sans-serif;
}


/* ============================================================
   BASE CONTENT WRAPPER
   ============================================================ */
.re-content {
    font-family: var(--re-font);
    font-size: 16px;
    line-height: 1.8;
    color: var(--re-text);
}

.re-content > * + * {
    margin-top: 1.5rem;
}


/* ============================================================
   HEADINGS
   ============================================================ */
.re-content h2 {
    font-family: var(--re-font);
    font-size: 28px;
    font-weight: 700;
    color: var(--re-dark-blue);
    line-height: 1.3;
    margin-top: 3rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--re-cyan);
    display: inline-block;
}

.re-content h3 {
    font-family: var(--re-font);
    font-size: 22px;
    font-weight: 700;
    color: var(--re-dark-blue);
    line-height: 1.4;
    margin-top: 2.5rem;
    margin-bottom: 0.75rem;
}

.re-content h4 {
    font-family: var(--re-font);
    font-size: 18px;
    font-weight: 600;
    color: var(--re-text);
    line-height: 1.4;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
}

/* First heading after intro shouldn't have large top margin */
.re-content p + h2,
.re-content p + h3 {
    margin-top: 2.5rem;
}


/* ============================================================
   PARAGRAPHS & INLINE
   ============================================================ */
.re-content p {
    margin-bottom: 1.25rem;
    font-size: 16px;
    line-height: 1.8;
}

.re-content strong {
    font-weight: 700;
    color: var(--re-text);
}

.re-content em {
    font-style: italic;
}

.re-content a {
    color: var(--re-light-blue);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s;
}

.re-content a:hover {
    color: var(--re-dark-blue);
}


/* ============================================================
   UNORDERED LISTS
   ============================================================ */
.re-content ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}

.re-content ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.6rem;
    font-size: 16px;
    line-height: 1.7;
}

.re-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 8px;
    height: 8px;
    background-color: var(--re-cyan);
    border-radius: 50%;
    flex-shrink: 0;
}

/* Nested lists */
.re-content ul ul {
    margin-top: 0.4rem;
    margin-bottom: 0;
}

.re-content ul ul li::before {
    background-color: var(--re-light-blue);
    width: 6px;
    height: 6px;
}


/* ============================================================
   ORDERED LISTS
   ============================================================ */
.re-content ol {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
    counter-reset: re-list;
}

.re-content ol li {
    position: relative;
    padding-left: 2.25rem;
    margin-bottom: 0.75rem;
    font-size: 16px;
    line-height: 1.7;
    counter-increment: re-list;
}

.re-content ol li::before {
    content: counter(re-list);
    position: absolute;
    left: 0;
    top: 0.1em;
    width: 1.5rem;
    height: 1.5rem;
    background-color: var(--re-dark-blue);
    color: var(--re-white);
    font-size: 11px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}


/* ============================================================
   BLOCKQUOTE / PULL QUOTE
   ============================================================ */

/* Standard blockquote — left border accent */
.re-content blockquote {
    border-left: 4px solid var(--re-cyan);
    background-color: #f0f8ff;
    padding: 1.25rem 1.5rem;
    margin: 2rem 0;
    color: var(--re-text);
    font-size: 17px;
    font-style: normal;
    border-radius: 0 var(--re-radius) var(--re-radius) 0;
}

.re-content blockquote p {
    margin-bottom: 0;
}

.re-content blockquote cite,
.re-content blockquote footer {
    display: block;
    margin-top: 0.75rem;
    font-size: 13px;
    font-weight: 600;
    color: var(--re-text-muted);
    font-style: normal;
}

/* Pull Quote — for emphasizing a key statement */
.re-pull-quote {
    border: none !important;
    background: none !important;
    padding: 2rem 0 !important;
    text-align: center;
    border-top: 3px solid var(--re-cyan) !important;
    border-bottom: 3px solid var(--re-cyan) !important;
    margin: 2.5rem 0 !important;
    font-size: 22px !important;
    font-weight: 300 !important;
    color: var(--re-dark-blue) !important;
    line-height: 1.5 !important;
    font-style: italic !important;
}


/* ============================================================
   TABLES
   ============================================================ */
.re-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-size: 15px;
    box-shadow: var(--re-shadow);
    border-radius: var(--re-radius);
    overflow: hidden;
}

.re-content table thead th {
    background-color: var(--re-dark-blue);
    color: var(--re-white);
    padding: 14px 18px;
    text-align: left;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.re-content table tbody tr:nth-child(even) {
    background-color: #f7fbfe;
}

.re-content table tbody tr:hover {
    background-color: var(--re-teal-soft);
    transition: background-color 0.15s;
}

.re-content table td {
    padding: 13px 18px;
    border-bottom: 1px solid var(--re-border);
    vertical-align: top;
    line-height: 1.5;
}

.re-content table td strong {
    color: var(--re-dark-blue);
}

/* Responsive table wrapper */
.re-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 2rem 0;
    border-radius: var(--re-radius);
}

.re-table-wrap table {
    margin: 0;
    min-width: 500px;
}


/* ============================================================
   CALLOUT / HIGHLIGHT BOXES
   ============================================================ */

/* Base callout */
.re-callout {
    padding: 1.5rem 1.75rem;
    border-radius: var(--re-radius);
    margin: 2rem 0;
    border-left: 5px solid;
    font-size: 15px;
    line-height: 1.7;
}

.re-callout p:last-child {
    margin-bottom: 0;
}

.re-callout-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.5rem;
    display: block;
}

/* Info — blue */
.re-callout--info {
    background-color: #EBF5FF;
    border-left-color: var(--re-light-blue);
    color: var(--re-text);
}

.re-callout--info .re-callout-title {
    color: var(--re-dark-blue);
}

/* Tip — cyan/teal */
.re-callout--tip {
    background-color: #E6FDF8;
    border-left-color: var(--re-cyan);
    color: var(--re-text);
}

.re-callout--tip .re-callout-title {
    color: #0a7c60;
}

/* Warning / Note — amber */
.re-callout--note {
    background-color: #FFFBEB;
    border-left-color: #F59E0B;
    color: var(--re-text);
}

.re-callout--note .re-callout-title {
    color: #92400E;
}

/* Definition Box — dark blue, inverted */
.re-callout--definition {
    background-color: var(--re-dark-blue);
    border-left-color: var(--re-cyan);
    color: var(--re-white);
    position: relative;
    overflow: hidden;
}

.re-callout--definition .re-callout-title {
    color: var(--re-cyan);
}

.re-callout--definition p {
    color: #c8dff0;
    margin-bottom: 0;
}

/* Stat / Data highlight */
.re-callout--stat {
    background-color: var(--re-gray-light);
    border-left-color: var(--re-dark-blue);
    text-align: left;
}

.re-callout--stat .re-stat-number {
    font-size: 42px;
    font-weight: 700;
    color: var(--re-dark-blue);
    line-height: 1;
    display: block;
    margin-bottom: 0.25rem;
}

.re-callout--stat .re-stat-label {
    font-size: 14px;
    color: var(--re-text-muted);
    font-weight: 600;
}


/* ============================================================
   TABLE OF CONTENTS
   ============================================================ */
.re-toc {
    background-color: var(--re-gray-light);
    border: 1px solid var(--re-border);
    border-top: 4px solid var(--re-dark-blue);
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    border-radius: var(--re-radius);
}

.re-toc-title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--re-text-muted);
    margin-bottom: 1rem;
    display: block;
}

.re-toc ol {
    counter-reset: toc-list;
    margin-bottom: 0;
}

.re-toc ol li {
    counter-increment: toc-list;
    padding-left: 1.75rem;
    margin-bottom: 0.4rem;
    font-size: 15px;
}

.re-toc ol li::before {
    content: counter(toc-list);
    background-color: var(--re-light-blue);
    width: 1.25rem;
    height: 1.25rem;
    font-size: 10px;
}

.re-toc ol li a {
    color: var(--re-dark-blue);
    font-weight: 600;
    text-decoration: none;
}

.re-toc ol li a:hover {
    color: var(--re-light-blue);
    text-decoration: underline;
}


/* ============================================================
   NUMBERED STEPS / PROCESS LIST
   Useful for how-to sections and procedures
   ============================================================ */
.re-steps {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    counter-reset: re-steps;
}

.re-steps li {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 2rem;
    align-items: flex-start;
    padding-left: 0 !important;
}

.re-steps li::before {
    display: none !important;
}

.re-step-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background-color: var(--re-dark-blue);
    color: var(--re-white);
    border-radius: 50%;
    font-weight: 700;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.re-step-content h4 {
    margin-top: 0;
    margin-bottom: 0.25rem;
    color: var(--re-dark-blue);
}

.re-step-content p {
    margin-bottom: 0;
    color: var(--re-text-muted);
    font-size: 15px;
}


/* ============================================================
   CHECKLIST
   ============================================================ */
.re-checklist {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.re-checklist li {
    padding-left: 2rem !important;
    margin-bottom: 0.5rem;
    position: relative;
}

.re-checklist li::before {
    content: '✓' !important;
    position: absolute;
    left: 0;
    top: 0;
    width: auto !important;
    height: auto !important;
    background: none !important;
    border-radius: 0 !important;
    color: var(--re-cyan);
    font-weight: 700;
    font-size: 16px;
}


/* ============================================================
   BUTTONS
   ============================================================ */
.re-btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--re-radius);
    font-family: var(--re-font);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    letter-spacing: 0.02em;
    line-height: 1.4;
}

/* Primary — Dark Blue fill */
.re-btn--primary {
    background-color: var(--re-dark-blue);
    color: var(--re-white) !important;
    border-color: var(--re-dark-blue);
}

.re-btn--primary:hover {
    background-color: #0d3456;
    border-color: #0d3456;
    color: var(--re-white) !important;
    text-decoration: none;
}

/* Secondary — Light Blue fill */
.re-btn--secondary {
    background-color: var(--re-light-blue);
    color: var(--re-white) !important;
    border-color: var(--re-light-blue);
}

.re-btn--secondary:hover {
    background-color: #2f78ab;
    border-color: #2f78ab;
    color: var(--re-white) !important;
    text-decoration: none;
}

/* Accent — Cyan fill (use sparingly) */
.re-btn--accent {
    background-color: var(--re-cyan);
    color: var(--re-dark-blue) !important;
    border-color: var(--re-cyan);
}

.re-btn--accent:hover {
    background-color: #00d4a0;
    border-color: #00d4a0;
    text-decoration: none;
}

/* Outline — transparent with dark blue border */
.re-btn--outline {
    background-color: transparent;
    color: var(--re-dark-blue) !important;
    border-color: var(--re-dark-blue);
}

.re-btn--outline:hover {
    background-color: var(--re-dark-blue);
    color: var(--re-white) !important;
    text-decoration: none;
}

/* Large modifier */
.re-btn--lg {
    padding: 16px 40px;
    font-size: 17px;
}

/* Full width modifier */
.re-btn--full {
    width: 100%;
    text-align: center;
    display: block;
}

/* Download button — with icon */
.re-btn--download::before {
    content: '↓  ';
    font-weight: 900;
}


/* ============================================================
   CATEGORY BADGE / TAG LABELS
   ============================================================ */
.re-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 2px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-right: 6px;
    margin-bottom: 6px;
}

.re-badge--blue {
    background-color: var(--re-dark-blue);
    color: var(--re-white);
}

.re-badge--light-blue {
    background-color: var(--re-teal-soft);
    color: var(--re-dark-blue);
}

.re-badge--cyan {
    background-color: var(--re-cyan);
    color: var(--re-dark-blue);
}

.re-badge--gray {
    background-color: var(--re-gray-light);
    color: var(--re-text);
}


/* ============================================================
   POST META (Author, Date, Read Time)
   ============================================================ */
.re-post-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    font-size: 13px;
    color: var(--re-text-muted);
    margin: 0.75rem 0 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--re-border);
}

.re-post-meta-item {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.re-post-meta-item strong {
    color: var(--re-text);
    font-weight: 600;
}

.re-post-meta-divider {
    color: var(--re-border);
}


/* ============================================================
   AUTHOR BIO BOX
   ============================================================ */
.re-author-box {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 1.75rem;
    background-color: #f7fbfe;
    border: 1px solid var(--re-border);
    border-top: 4px solid var(--re-light-blue);
    border-radius: var(--re-radius);
    margin: 3rem 0;
}

.re-author-avatar {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--re-teal-soft);
}

.re-author-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--re-dark-blue);
    margin-bottom: 0.25rem;
}

.re-author-title {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--re-text-muted);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.re-author-bio {
    font-size: 14px;
    color: var(--re-text-muted);
    line-height: 1.6;
    margin: 0;
}


/* ============================================================
   POST-TYPE SPECIFIC: NEWS
   ============================================================ */

/* Press release header bar */
.re-news-label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--re-dark-blue);
    background-color: var(--re-teal-soft);
    padding: 5px 12px;
    border-radius: 2px;
    margin-bottom: 0.75rem;
}

/* For Release line (press release convention) */
.re-news-for-release {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--re-text-muted);
    border-top: 1px solid var(--re-border);
    border-bottom: 1px solid var(--re-border);
    padding: 8px 0;
    margin: 1.5rem 0;
}

/* Contact info block for press releases */
.re-news-contact {
    background-color: var(--re-gray-light);
    padding: 1.25rem 1.5rem;
    font-size: 14px;
    margin-top: 2.5rem;
    border-radius: var(--re-radius);
}

.re-news-contact-title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--re-text-muted);
    margin-bottom: 0.5rem;
    display: block;
}


/* ============================================================
   POST-TYPE SPECIFIC: DOWNLOAD / WHITE PAPER
   ============================================================ */
.re-download-card {
    background: linear-gradient(135deg, var(--re-dark-blue), #1e6299);
    color: var(--re-white);
    padding: 2.5rem;
    border-radius: var(--re-radius);
    margin: 2.5rem 0;
    position: relative;
    overflow: hidden;
}

.re-download-card::after {
    content: '';
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 120px;
    height: 120px;
    background-color: rgba(15, 252, 190, 0.12);
    border-radius: 50%;
}

.re-download-card-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--re-cyan);
    margin-bottom: 0.5rem;
    display: block;
}

.re-download-card h3 {
    color: var(--re-white);
    margin: 0 0 0.75rem;
    font-size: 22px;
}

.re-download-card p {
    color: #c8dff0;
    font-size: 15px;
    margin-bottom: 1.5rem;
}

.re-download-card .re-btn--accent {
    position: relative;
    z-index: 1;
}

/* Inline document preview thumbnail */
.re-doc-preview {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    padding: 1.25rem;
    border: 1px solid var(--re-border);
    border-radius: var(--re-radius);
    background-color: #f7fbfe;
    margin: 1.5rem 0;
    text-decoration: none !important;
    color: var(--re-text) !important;
    transition: box-shadow 0.2s;
}

.re-doc-preview:hover {
    box-shadow: var(--re-shadow);
}

.re-doc-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background-color: var(--re-dark-blue);
    border-radius: var(--re-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--re-white);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.re-doc-info-title {
    font-weight: 700;
    color: var(--re-dark-blue);
    font-size: 15px;
    display: block;
    margin-bottom: 0.2rem;
}

.re-doc-info-meta {
    font-size: 12px;
    color: var(--re-text-muted);
}


/* ============================================================
   POST-TYPE SPECIFIC: WEBINAR
   ============================================================ */
.re-webinar-header {
    background: linear-gradient(135deg, var(--re-dark-blue), #1a6aaa);
    color: var(--re-white);
    padding: 2.5rem;
    border-radius: var(--re-radius);
    margin-bottom: 2rem;
}

.re-webinar-header-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--re-cyan);
    margin-bottom: 0.5rem;
    display: block;
}

.re-webinar-header h2 {
    color: var(--re-white) !important;
    border-bottom-color: rgba(15, 252, 190, 0.4) !important;
    margin-top: 0;
    font-size: 26px;
}

/* Webinar details grid */
.re-webinar-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0 2rem;
}

.re-webinar-detail-item {
    text-align: center;
    padding: 1rem;
    background-color: rgba(255,255,255,0.1);
    border-radius: var(--re-radius);
}

.re-webinar-detail-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--re-cyan);
    display: block;
    margin-bottom: 0.3rem;
    font-weight: 700;
}

.re-webinar-detail-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--re-white);
}

/* Webinar registration box (standalone, outside the header) */
.re-webinar-register {
    border: 2px solid var(--re-light-blue);
    border-top: 5px solid var(--re-dark-blue);
    padding: 2rem;
    border-radius: var(--re-radius);
    background-color: #f7fbfe;
    text-align: center;
    margin: 2.5rem 0;
}

.re-webinar-register h3 {
    margin-top: 0;
    color: var(--re-dark-blue);
}

.re-webinar-register p {
    color: var(--re-text-muted);
    font-size: 15px;
    margin-bottom: 1.5rem;
}

/* Speaker card */
.re-speaker-card {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    padding: 1.25rem;
    background-color: #f7fbfe;
    border: 1px solid var(--re-border);
    border-radius: var(--re-radius);
    margin-bottom: 1rem;
}

.re-speaker-avatar {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--re-teal-soft);
}

.re-speaker-name {
    font-weight: 700;
    color: var(--re-dark-blue);
    font-size: 16px;
    margin-bottom: 0.15rem;
    display: block;
}

.re-speaker-title {
    font-size: 13px;
    color: var(--re-text-muted);
    font-weight: 600;
    margin-bottom: 0.4rem;
    display: block;
}

.re-speaker-bio {
    font-size: 14px;
    color: var(--re-text);
    margin: 0;
    line-height: 1.5;
}


/* ============================================================
   POST-TYPE SPECIFIC: VIDEO
   ============================================================ */

/* Responsive video embed wrapper */
.re-video-embed {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: var(--re-radius);
    background-color: #000;
    margin: 1.5rem 0;
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.re-video-embed iframe,
.re-video-embed video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.re-video-caption {
    font-size: 13px;
    color: var(--re-text-muted);
    text-align: center;
    margin-top: -0.75rem;
    margin-bottom: 1.5rem;
    font-style: italic;
}

/* Transcript / summary callout */
.re-transcript-note {
    background-color: var(--re-gray-light);
    padding: 1rem 1.5rem;
    border-radius: var(--re-radius);
    font-size: 14px;
    color: var(--re-text-muted);
    margin-top: 0.5rem;
}

.re-transcript-note a {
    color: var(--re-dark-blue);
    font-weight: 600;
}


/* ============================================================
   POST-TYPE SPECIFIC: EVENT
   ============================================================ */
.re-event-header {
    background: linear-gradient(135deg, var(--re-dark-blue), #1e6299);
    color: var(--re-white);
    padding: 2.5rem;
    border-radius: var(--re-radius);
    margin-bottom: 2rem;
}

.re-event-header-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--re-cyan);
    margin-bottom: 0.5rem;
    display: block;
}

.re-event-header h2 {
    color: var(--re-white) !important;
    border-bottom-color: rgba(15, 252, 190, 0.4) !important;
    margin-top: 0;
    font-size: 26px;
}

/* Event details grid */
.re-event-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1px;
    background-color: var(--re-border);
    border: 1px solid var(--re-border);
    border-radius: var(--re-radius);
    overflow: hidden;
    margin: 1.5rem 0;
}

.re-event-detail-item {
    background-color: var(--re-white);
    padding: 1.25rem 1.5rem;
}

.re-event-detail-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--re-text-muted);
    display: block;
    margin-bottom: 0.3rem;
}

.re-event-detail-value {
    font-size: 15px;
    font-weight: 700;
    color: var(--re-dark-blue);
}

/* Event register box */
.re-event-register {
    background: linear-gradient(135deg, var(--re-dark-blue), #1a6aaa);
    padding: 2.5rem;
    border-radius: var(--re-radius);
    text-align: center;
    margin: 2.5rem 0;
    color: var(--re-white);
}

.re-event-register h3 {
    color: var(--re-white);
    margin-top: 0;
}

.re-event-register p {
    color: #c8dff0;
    margin-bottom: 1.5rem;
}

/* Agenda / schedule list */
.re-agenda {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    border-left: 3px solid var(--re-light-blue);
}

.re-agenda li {
    position: relative;
    padding: 0.75rem 1rem 0.75rem 1.5rem !important;
    margin-bottom: 0 !important;
    border-bottom: 1px solid var(--re-border);
}

.re-agenda li:last-child {
    border-bottom: none;
}

.re-agenda li::before {
    display: none !important;
}

.re-agenda-time {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--re-light-blue);
    display: block;
    margin-bottom: 0.15rem;
}

.re-agenda-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--re-dark-blue);
    display: block;
}

.re-agenda-desc {
    font-size: 13px;
    color: var(--re-text-muted);
    margin: 0;
    line-height: 1.5;
}


/* ============================================================
   FAQ / ACCORDION
   ============================================================ */
.re-faq {
    margin: 2rem 0;
}

.re-faq-item {
    border-bottom: 1px solid var(--re-border);
    padding-bottom: 1.25rem;
    margin-bottom: 1.25rem;
}

.re-faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.re-faq-question {
    font-size: 17px;
    font-weight: 700;
    color: var(--re-dark-blue);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.re-faq-answer {
    font-size: 15px;
    color: var(--re-text-muted);
    line-height: 1.7;
    margin: 0;
}


/* ============================================================
   CTA BOX — Page/section level calls to action
   ============================================================ */
.re-cta-box {
    text-align: center;
    padding: 3rem 2rem;
    border-top: 1px solid var(--re-border);
    margin-top: 3rem;
}

.re-cta-box h3 {
    font-size: 26px;
    color: var(--re-dark-blue);
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.re-cta-box p {
    color: var(--re-text-muted);
    max-width: 560px;
    margin: 0 auto 1.75rem;
    font-size: 16px;
}

/* Dark CTA box variant */
.re-cta-box--dark {
    background-color: var(--re-dark-blue);
    border-radius: var(--re-radius);
    border-top: none;
    margin-top: 3rem;
}

.re-cta-box--dark h3 {
    color: var(--re-white);
}

.re-cta-box--dark p {
    color: #c8dff0;
}


/* ============================================================
   TWO-COLUMN GRID (for cards, stats, features)
   ============================================================ */
.re-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin: 1.5rem 0;
}

.re-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin: 1.5rem 0;
}

.re-card {
    background-color: #f7fbfe;
    border: 1px solid var(--re-border);
    border-top: 3px solid var(--re-light-blue);
    padding: 1.5rem;
    border-radius: var(--re-radius);
}

.re-card h4 {
    color: var(--re-dark-blue);
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.re-card p {
    font-size: 14px;
    color: var(--re-text-muted);
    margin-bottom: 0;
}

/* Responsive: collapse grids on mobile */
@media (max-width: 768px) {
    .re-grid-2,
    .re-grid-3 {
        grid-template-columns: 1fr;
    }
}


/* ============================================================
   HORIZONTAL RULE
   ============================================================ */
.re-content hr,
.re-divider {
    border: none;
    border-top: 2px solid var(--re-gray-light);
    margin: 3rem 0;
}

.re-divider--cyan {
    border-top-color: var(--re-cyan);
}


/* ============================================================
   RESPONSIVE ADJUSTMENTS
   ============================================================ */
@media (max-width: 768px) {
    .re-content h2 { font-size: 24px; }
    .re-content h3 { font-size: 20px; }
    .re-content h4 { font-size: 16px; }

    .re-author-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .re-download-card,
    .re-webinar-header,
    .re-event-header {
        padding: 1.75rem;
    }

    .re-webinar-details,
    .re-event-details {
        grid-template-columns: 1fr 1fr;
    }

    .re-pull-quote {
        font-size: 18px !important;
    }

    .re-cta-box {
        padding: 2rem 1.25rem;
    }
}

@media (max-width: 480px) {
    .re-webinar-details,
    .re-event-details {
        grid-template-columns: 1fr;
    }

    .re-speaker-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}
