/* ================================================================
   Hot Topic Seminars – Front-end Styles
   ================================================================ */

/* ── CSS custom properties (easy theming) ── */
.hts-wrapper {
    --hts-primary:       #e05c2c;   /* accent / active colour  */
    --hts-primary-dark:  #c04a1e;
    --hts-text:          #1a1a2e;
    --hts-text-muted:    #6b7280;
    --hts-border:        #e5e7eb;
    --hts-bg-light:      #f9fafb;
    --hts-radius:        6px;
    --hts-shadow:        0 1px 4px rgba(0,0,0,.08);
    --hts-transition:    .22s ease;
    font-family: inherit;
    color: var(--hts-text);
    max-width: 900px;
    margin: 0 auto;
}

/* ================================================================
   TABS
   ================================================================ */
.hts-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--hts-border);
    margin-bottom: 0;
}

.hts-tab {
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--hts-text-muted);
    cursor: pointer;
    transition: color var(--hts-transition), border-color var(--hts-transition);
    outline: none;
}

.hts-tab:hover {
    color: var(--hts-primary);
}

.hts-tab--active {
    color: var(--hts-primary);
    border-bottom-color: var(--hts-primary);
}

/* ================================================================
   DAY PANELS
   ================================================================ */
.hts-day-panel {
    display: none;
    padding-top: 12px;
}

.hts-day-panel--active {
    display: block;
}

.hts-no-sessions {
    color: var(--hts-text-muted);
    padding: 24px 0;
    text-align: center;
}

/* ================================================================
   CATEGORY FILTERS
   ================================================================ */
.hts-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 16px 0 12px;
}

.hts-filter-btn {
    background: #fff;
    border: 1.5px solid var(--hts-border);
    border-radius: 20px;
    padding: 6px 16px;
    font-size: .85rem;
    font-weight: 600;
    color: var(--hts-text-muted);
    cursor: pointer;
    transition: background var(--hts-transition), border-color var(--hts-transition), color var(--hts-transition);
    outline: none;
    white-space: nowrap;
}

.hts-filter-btn:hover {
    border-color: var(--hts-primary);
    color: var(--hts-primary);
}

.hts-filter-btn--active {
    background: var(--hts-primary);
    border-color: var(--hts-primary);
    color: #fff;
}

.hts-filter-btn--active:hover {
    background: var(--hts-primary-dark);
    border-color: var(--hts-primary-dark);
    color: #fff;
}

/* Hidden accordion item when filtered out */
.hts-accordion__item--hidden {
    display: none;
}

/* ================================================================
   CATEGORY BADGES (in accordion header)
   ================================================================ */
.hts-accordion__cats {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    flex-shrink: 0;
}

.hts-cat-badge {
    display: inline-block;
    background: #fff3ee;
    border: 1px solid #f5c9b3;
    color: var(--hts-primary);
    border-radius: 12px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .04em;
    padding: 2px 10px;
    text-transform: uppercase;
    white-space: nowrap;
}

.hts-accordion {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--hts-border);
    border-radius: var(--hts-radius);
    overflow: hidden;
}

.hts-accordion__item {
    border-bottom: 1px solid var(--hts-border);
}

.hts-accordion__item:last-child {
    border-bottom: none;
}

/* Trigger / header button */
.hts-accordion__trigger {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border: none;
    padding: 18px 20px;
    text-align: left;
    cursor: pointer;
    transition: background var(--hts-transition);
    outline: none;
}

.hts-accordion__trigger:hover,
.hts-accordion__trigger[aria-expanded="true"] {
    background: var(--hts-bg-light);
}

.hts-accordion__time {
    flex-shrink: 0;
    font-size: .8rem;
    font-weight: 600;
    color: var(--hts-text-muted);
    min-width: 100px;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.hts-accordion__title {
    flex: 1;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--hts-text);
    line-height: 1.35;
}

.hts-accordion__chevron {
    flex-shrink: 0;
    color: var(--hts-text-muted);
    display: flex;
    align-items: center;
    transition: transform var(--hts-transition);
}

.hts-accordion__trigger[aria-expanded="true"] .hts-accordion__chevron {
    transform: rotate(180deg);
}

/* Body */
.hts-accordion__body {
    overflow: hidden;
}

/* Remove default hidden margin – browsers give [hidden] display:none which we override with animation */
.hts-accordion__body[hidden] {
    display: none;
}

.hts-accordion__body.hts-is-open {
    display: block;
    animation: htsSlideDown .25s ease forwards;
}

@keyframes htsSlideDown {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ================================================================
   SESSION INNER LAYOUT
   ================================================================ */
.hts-session-inner {
    display: flex;
    gap: 32px;
    padding: 24px 20px 28px;
    background: #fff;
    border-top: 1px solid var(--hts-border);
}

/* Sidebar */
.hts-session-sidebar {
    flex-shrink: 0;
    width: 200px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hts-sponsor img {
    max-width: 100%;
    max-height: 60px;
    object-fit: contain;
    border: 1px solid var(--hts-border);
    border-radius: var(--hts-radius);
    padding: 8px;
    background: #fff;
}

.hts-speaker__label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    color: var(--hts-text-muted);
    text-transform: uppercase;
    margin: 0 0 10px;
}

.hts-speaker__photo {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin-bottom: 8px;
    border: 2px solid var(--hts-border);
}

.hts-speaker__name {
    font-weight: 700;
    color: var(--hts-primary);
    margin: 0 0 2px;
    font-size: .95rem;
}

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

/* Main area */
.hts-session-main {
    flex: 1;
    min-width: 0;
}

.hts-session-description {
    font-size: .95rem;
    line-height: 1.7;
    color: var(--hts-text);
    margin-bottom: 24px;
}

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

/* ================================================================
   SHARE
   ================================================================ */
.hts-share {
    border: 1px solid var(--hts-border);
    border-radius: var(--hts-radius);
    padding: 16px 20px;
    margin-bottom: 24px;
}

.hts-share__label {
    text-align: center;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
    color: var(--hts-text-muted);
    text-transform: uppercase;
    margin: 0 0 12px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--hts-primary);
}

.hts-share__icons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.hts-share__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--hts-radius);
    color: #fff;
    text-decoration: none;
    transition: opacity var(--hts-transition), transform var(--hts-transition);
}

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

.hts-share__btn * {
	color: #fff !important;
	fill: #fff !important;
}

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

/* ================================================================
   GRAVITY FORM WRAPPER
   ================================================================ */
.hts-gform {
    background: var(--hts-bg-light);
    border: 1px solid var(--hts-border);
    border-radius: var(--hts-radius);
    padding: 20px;
}

.hts-gform-notice {
    color: var(--hts-text-muted);
    font-style: italic;
    font-size: .9rem;
    margin: 0;
}

/*////////////////////*/
/* HOT TOPIC Updates */
.hts-filters {
	display: none;
}
.hts-share {
	box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 5px 0px, rgba(0, 0, 0, 0.1) 0px 0px 1px 0px;
}
.hts-session-main > h2 {
	font-size: 26px;
	text-decoration: underline;
	text-decoration-color: var(--hts-primary);
	margin-bottom: 1rem;
	margin-top: 2rem;
}
.hts-gform input[type="submit"] {
	background: var(--hts-primary);
	color: white;
	font-size: 16px;
	padding: 12px 24px;
}
.hts-accordion__cats {
	display: none;
}
.hts-accordion__trigger {
	padding: 28px;
}


/* ================================================================
   RESPONSIVE
   ================================================================ */
@media ( max-width: 640px ) {
    .hts-session-inner {
        flex-direction: column;
        gap: 20px;
    }
    .hts-session-sidebar {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 16px;
    }
    .hts-sponsor {
        flex: 1 1 120px;
    }
    .hts-speaker {
        flex: 1 1 160px;
    }
    .hts-tab {
        padding: 10px 16px;
        font-size: .9rem;
    }
    .hts-accordion__trigger {
        flex-wrap: wrap;
        gap: 6px;
    }
    .hts-accordion__time {
        width: 100%;
        min-width: unset;
    }
}





