/* ================================================================
   Hot Topic Seminars – Single Session Page Styles
   ================================================================ */

   :root {
    --hts-primary:      #e05c2c;
    --hts-primary-dark: #c04a1e;
    --hts-text:         #1a1a2e;
    --hts-text-muted:   #6b7280;
    --hts-border:       #e5e7eb;
    --hts-bg-light:     #f9fafb;
    --hts-radius:       8px;
    --hts-transition:   .22s ease;
}

/* ── Wrapper ── */
.hts-single-wrap {
    font-family: inherit;
    color: var(--hts-text);
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px 60px;
}

/* ================================================================
   HERO
   ================================================================ */
.hts-single-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #2d2d4e 60%, #3a2a1e 100%);
    border-radius: 0 0 20px 20px;
    margin: 0 -24px 48px;
    padding: 56px 48px 52px;
    position: relative;
    overflow: hidden;
}

/* Subtle geometric accent */
.hts-single-hero::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 320px; height: 320px;
    border-radius: 50%;
    background: rgba(224, 92, 44, 0.12);
    pointer-events: none;
}

.hts-single-hero::after {
    content: '';
    position: absolute;
    bottom: -80px; left: 10%;
    width: 200px; height: 200px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    pointer-events: none;
}

.hts-single-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

/* Meta row: day + time */
.hts-single-hero__meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.hts-single-day-badge {
    display: inline-block;
    background: var(--hts-primary);
    color: #fff;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 20px;
}

.hts-single-time {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.7);
    font-size: .9rem;
    font-weight: 500;
}

.hts-single-time svg {
    flex-shrink: 0;
    opacity: .8;
}

/* Title */
.hts-single-title {
    color: #fff;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 800;
    line-height: 1.25;
    margin: 0 0 20px;
    letter-spacing: -.01em;
}

/* Category badges */
.hts-single-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hts-single-cat-badge {
    display: inline-block;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.25);
    color: rgba(255,255,255,0.9);
    border-radius: 20px;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .05em;
    padding: 4px 12px;
    text-transform: uppercase;
    backdrop-filter: blur(4px);
}

/* ================================================================
   BODY LAYOUT
   ================================================================ */
.hts-single-body {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 40px;
    align-items: start;
}

/* ================================================================
   MAIN COLUMN
   ================================================================ */
.hts-single-main {
    min-width: 0;
}

/* Description */
.hts-single-description {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--hts-text);
    margin-bottom: 36px;
}

.hts-single-description p:last-child { margin-bottom: 0; }

.hts-single-description h2,
.hts-single-description h3 {
    font-weight: 700;
    color: var(--hts-text);
    margin-top: 1.5em;
}

/* Share bar */
.hts-single-share {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    background: var(--hts-bg-light);
    border: 1px solid var(--hts-border);
    border-radius: var(--hts-radius);
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hts-single-share__label {
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--hts-text-muted);
    white-space: nowrap;
}

.hts-single-share__icons {
    display: flex;
    gap: 8px;
}

/* Reuse existing share button classes from hts-styles.css */
.hts-share__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 6px;
    color: #fff;
    text-decoration: none;
    transition: opacity .2s ease, transform .2s ease;
}

.hts-share__btn:hover {
    opacity: .85;
    transform: translateY(-2px);
    color: #fff;
    text-decoration: none;
}

.hts-share__btn svg { display: block; }
.hts-share__btn--fb    { background: #1877f2; }
.hts-share__btn--x     { background: #000; }
.hts-share__btn--li    { background: #0a66c2; }
.hts-share__btn--email { background: #16a34a; }

/* Form section */
.hts-single-form {
    background: #fff;
    border: 1px solid var(--hts-border);
    border-radius: var(--hts-radius);
    padding: 32px;
    box-shadow: 0 2px 12px rgba(0,0,0,.05);
}

.hts-single-form__heading {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--hts-text);
    margin: 0 0 24px;
    padding-bottom: 16px;
    border-bottom: 3px solid var(--hts-primary);
    display: inline-block;
}

/* ================================================================
   SIDEBAR
   ================================================================ */
.hts-single-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 32px;
}

/* Card base */
.hts-single-card {
    background: #fff;
    border: 1px solid var(--hts-border);
    border-radius: var(--hts-radius);
    padding: 20px;
    box-shadow: 0 1px 6px rgba(0,0,0,.05);
}

.hts-single-card__label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--hts-text-muted);
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--hts-border);
}

/* Sponsor */
.hts-single-sponsor img {
    max-width: 100%;
    max-height: 70px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

/* Speakers */
.hts-single-speaker {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid var(--hts-border);
}

.hts-single-speaker:first-of-type { padding-top: 0; }
.hts-single-speaker:last-of-type  { border-bottom: none; padding-bottom: 0; }

.hts-single-speaker__photo {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid var(--hts-border);
}

.hts-single-speaker__avatar-placeholder {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--hts-bg-light);
    border: 2px solid var(--hts-border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--hts-text-muted);
}

.hts-single-speaker__info { min-width: 0; }

.hts-single-speaker__name {
    font-weight: 700;
    font-size: .95rem;
    color: var(--hts-primary);
    margin: 0 0 3px;
    line-height: 1.3;
}

.hts-single-speaker__role {
    font-size: .8rem;
    color: var(--hts-text-muted);
    margin: 0;
    line-height: 1.4;
}

/* Back link */
.hts-single-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .85rem;
    font-weight: 600;
    color: var(--hts-text-muted);
    text-decoration: none;
    padding: 10px 14px;
    border: 1.5px solid var(--hts-border);
    border-radius: var(--hts-radius);
    transition: color var(--hts-transition), border-color var(--hts-transition);
}

.hts-single-back:hover {
    color: var(--hts-primary);
    border-color: var(--hts-primary);
    text-decoration: none;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media ( max-width: 768px ) {
    .hts-single-hero {
        padding: 36px 24px 32px;
        margin: 0 -24px 32px;
        border-radius: 0;
    }

    .hts-single-body {
        grid-template-columns: 1fr;
    }

    .hts-single-sidebar {
        position: static;
        /* Reorder: sidebar goes above form on mobile */
        order: -1;
    }

    .hts-single-form {
        padding: 20px;
    }
}

@media ( max-width: 480px ) {
    .hts-single-wrap {
        padding: 0 16px 40px;
    }

    .hts-single-title {
        font-size: 1.4rem;
    }
}
