/**
 * Speaker show page – relayout: hero full-width, section cards, sticky sidebar.
 * No inline styles in blade.
 */

/* ---- Page ---- */
.speaker-show-page {
    padding-bottom: 5rem;
}

/* ---- 1. HERO – Full-width ---- */
.speaker-hero {
    background: linear-gradient(145deg, #7B0000 0%, #a30000 50%, #CC0000 100%);
    color: #fff;
    padding: 3rem 0;
    margin-bottom: 2.5rem;
}

.speaker-hero-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}

.speaker-hero-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
    align-items: center;
}

.speaker-hero-media {
    display: flex;
    justify-content: center;
}

.speaker-hero-photo-frame {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid rgba(255,255,255,0.25);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.speaker-hero-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.speaker-hero-body {
    max-width: 560px;
}

.speaker-hero-name {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 0.35rem 0;
    line-height: 1.25;
    color: #fff;
}

.speaker-hero-positioning {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.85);
    font-weight: 500;
    margin: 0 0 1.25rem 0;
}

.speaker-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.hero-badge {
    display: inline-block;
    padding: 0.4rem 0.85rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: #fff;
    background: rgba(255,255,255,0.15);
    border-radius: 999px;
}

.hero-badge-accent {
    background: linear-gradient(120deg, #ee8425, #f9488b);
    color: #fff;
}

.speaker-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.speaker-hero-actions .reservasi-btn,
.speaker-hero-actions .primary-btn,
.speaker-cta-buttons .reservasi-btn,
.speaker-cta-buttons .primary-btn,
.sidebar-cta-card .reservasi-btn,
.sidebar-cta-card .primary-btn,
.speaker-sticky-cta .reservasi-btn,
.speaker-sticky-cta .primary-btn {
    padding: 0.65rem 1.35rem !important;
    font-size: inherit !important;
    font-weight: 600;
    text-transform: none !important;
}

/* Override booking button di hero agar kontras di atas background merah */
.speaker-hero .speaker-hero-actions .reservasi-btn,
.speaker-hero .speaker-hero-actions .primary-btn {
    background: #fff !important;
    background-image: none !important;
    color: #CC0000 !important;
    box-shadow: 0 4px 14px rgba(0,0,0,0.2) !important;
}

.speaker-hero .speaker-hero-actions .reservasi-btn:hover,
.speaker-hero .speaker-hero-actions .primary-btn:hover {
    background: #f5f5f5 !important;
    background-image: none !important;
    color: #a30000 !important;
    box-shadow: 0 6px 20px rgba(0,0,0,0.25) !important;
}

.btn-outline-speaker {
    display: inline-block;
    padding: 0.65rem 1.35rem;
    border: 2px solid #171822;
    color: #171822;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.btn-outline-speaker:hover {
    background: #171822;
    color: #fff;
}

.speaker-hero .btn-outline-speaker {
    border-color: rgba(255,255,255,0.7);
    color: #fff;
}

.speaker-hero .btn-outline-speaker:hover {
    background: #fff;
    color: #CC0000;
    border-color: #fff;
}

.speaker-hero-social {
    display: flex;
    gap: 0.5rem;
}

.speaker-hero-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    color: #fff;
    transition: background 0.2s, color 0.2s;
}

.speaker-hero-social a:hover {
    background: linear-gradient(120deg, #ee8425, #f9488b);
    color: #fff;
}

/* ---- Body container & layout ---- */
.speaker-body-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}

.speaker-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2.5rem;
    align-items: start;
}

.speaker-main {
    min-width: 0;
}

/* ---- Section blocks (cards) ---- */
.speaker-block {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 14px;
    padding: 1.75rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.speaker-block-title {
    font-size: 1.22rem;
    font-weight: 700;
    color: #171822;
    margin: 0 0 1rem 0;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid #ee8425;
    display: inline-block;
}

/* Tentang */
.speaker-about-content {
    font-size: 1.22rem;
    line-height: 1.75;
    color: #4a4b5c;
}

.speaker-about-content p {
    margin-bottom: 1rem;
}

.speaker-about-content p:last-child {
    margin-bottom: 0;
}

/* Topik Seminar – grid */
.topic-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
}

.topic-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1.25rem;
    border: 1px solid #eee;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.topic-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    border-color: #dee2e6;
}

.topic-card-title {
    font-size: 1.22rem;
    font-weight: 600;
    color: #171822;
    margin: 0 0 0.4rem 0;
}

.topic-card-desc {
    font-size: 0.85rem;
    color: #272727;
    line-height: 1.5;
    margin: 0;
}

/* Kenapa + Testimoni – two columns */
.speaker-block-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.speaker-block-why,
.speaker-block-testimonials {
    margin-bottom: 0;
}

.why-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.why-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
    color: #4a4b5c;
    line-height: 1.5;
}

.why-list li::before {
    content: "\f00c";
    font-family: "FontAwesome";
    position: absolute;
    left: 0;
    color: #ee8425;
    font-size: 0.85rem;
}

.testimonials-placeholder {
    font-size: 0.9rem;
    color: #272727;
    font-style: italic;
    margin: 0;
}

/* Paket Program */
.package-list {
    display: flex;
    flex-direction: column;
}

.package-link {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 1.25rem;
    align-items: start;
    padding: 1.25rem 0;
    text-decoration: none;
    color: inherit;
    border-radius: 10px;
    transition: background 0.2s;
}

.package-link:hover {
    background: #f8f9fa;
}

.package-divider {
    margin: 0;
    border: 0;
    border-top: 1px solid #e9ecef;
}

.package-poster {
    position: relative;
    width: 110px;
    height: 140px;
    border-radius: 10px;
    overflow: hidden;
    background: #f1f3f5;
    flex-shrink: 0;
}

.package-poster-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.package-poster.has-poster .package-poster-img {
    display: block;
}

.package-poster.has-poster .package-poster-placeholder {
    display: none;
}

.package-poster.no-poster .package-poster-img {
    display: none;
}

.package-poster-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: #888;
    padding: 0.5rem;
    text-align: center;
}

.package-info {
    min-width: 0;
}

.package-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #171822;
    margin: 0 0 0.3rem 0;
}

.package-meta {
    font-size: 0.82rem;
    color: #272727;
    margin: 0 0 0.5rem 0;
}

.dot-sep {
    font-size: 0.35rem;
    vertical-align: middle;
    margin: 0 0.3rem;
}

.package-description {
    font-size: 0.9rem;
    color: #4a4b5c;
    line-height: 1.5;
    margin: 0;
}

.package-more {
    margin-top: 1.25rem;
    text-align: center;
}

.no-packages {
    color: #272727;
    margin: 0;
}

/* CTA block – dark */
.speaker-block.speaker-cta-block {
    background: linear-gradient(135deg, #171822 0%, #2d2e3d 100%);
    border: none;
    color: #fff;
    text-align: center;
    padding: 2rem;
}

.speaker-cta-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.4rem 0;
}

.speaker-cta-lead {
    font-size: 0.95rem;
    opacity: 0.9;
    margin: 0 0 1.25rem 0;
}

.speaker-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.btn-outline-light {
    border-color: #fff;
    color: #fff;
}

.btn-outline-light:hover {
    background: #fff;
    color: #171822;
}

/* ---- Sidebar – sticky ---- */
.speaker-sidebar {
    position: sticky;
    top: 1.5rem;
}

.sidebar-inner {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.sidebar-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 14px;
    padding: 1.25rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.sidebar-cta-card .sidebar-card-title {
    margin-top: 0;
}

.sidebar-card-title {
    font-size: 1.22rem;
    font-weight: 700;
    color: #171822;
    margin: 0 0 0.75rem 0;
}

.sidebar-cta-card .btn {
    display: block;
}

.mt-2 {
    margin-top: 0.5rem;
}

/* Rekomendasi Lainnya – card grid */
.sidebar-recommendations .sidebar-card-title {
    margin-bottom: 1rem;
}

.recommendations-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.recommendation-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem 0.75rem;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
    position: relative;
}

.recommendation-card:hover {
    border-color: #dee2e6;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.recommendation-card-photo-wrap {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 0.5rem;
    flex-shrink: 0;
}

.recommendation-card-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recommendation-card-body {
    min-width: 0;
}

.recommendation-card-name {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #171822;
    line-height: 1.3;
    margin-bottom: 0.15rem;
}

.recommendation-card-role {
    display: block;
    font-size: 0.7rem;
    color: #272727;
    line-height: 1.3;
}

.recommendation-card-arrow {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 18px;
    height: 18px;
    opacity: 0.4;
    transition: opacity 0.2s;
}

.recommendation-card-arrow::before {
    content: "\f105";
    font-family: "FontAwesome";
    font-size: 0.85rem;
    color: #171822;
}

.recommendation-card:hover .recommendation-card-arrow {
    opacity: 0.8;
}

@media (max-width: 480px) {
    .recommendations-grid {
        grid-template-columns: 1fr;
    }
}

/* ---- Sticky CTA (mobile) ---- */
.speaker-sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.75rem 15px;
    background: #fff;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.25s ease;
}

.speaker-sticky-cta.is-visible {
    transform: translateY(0);
}

.speaker-sticky-cta .container {
    max-width: 1140px;
    margin: 0 auto;
}

@media (min-width: 992px) {
    .speaker-sticky-cta {
        display: none;
    }
}

/* Tablet specific styles */
@media (min-width: 769px) and (max-width: 1023px) {
    /* Header tablet adjustments (inherited from speakers-index.css) */
    
    /* Hero section tablet adjustments */
    .speaker-hero {
        padding: 2.5rem 0;
    }
    
    .speaker-hero-container {
        padding: 0 2rem;
    }
    
    .speaker-hero-grid {
        grid-template-columns: 240px 1fr;
        gap: 2.5rem;
    }
    
    .speaker-hero-photo-frame {
        width: 200px;
        height: 200px;
    }
    
    .speaker-hero-name {
        font-size: 1.8rem;
    }
    
    .speaker-hero-positioning {
        font-size: 1rem;
    }
    
    .speaker-hero-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .speaker-hero-actions .reservasi-btn,
    .speaker-hero-actions .contact-btn {
        width: 100%;
        max-width: 280px;
    }
    
    /* Main content layout tablet adjustments */
    .speaker-layout {
        grid-template-columns: 1fr 280px;
        gap: 2rem;
    }
    
    .speaker-sidebar {
        position: sticky;
        top: 100px;
        height: fit-content;
    }
    
    /* Speaker blocks tablet adjustments */
    .speaker-block {
        padding: 1.5rem;
    }
    
    .speaker-block-row {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    
    /* Topic cards tablet layout */
    .topic-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    /* Package links tablet layout */
    .package-link {
        grid-template-columns: 120px 1fr;
        gap: 1.5rem;
    }
    
    .package-poster {
        width: 120px;
        height: 140px;
    }
    
    /* Testimonials tablet adjustments */
    .testimonial-card {
        padding: 1.5rem;
    }
    
    /* Contact form tablet adjustments */
    .contact-form {
        padding: 1.5rem;
    }
    
    .contact-form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
    .speaker-layout {
        grid-template-columns: 1fr;
    }

    .speaker-sidebar {
        position: static;
    }

    .speaker-block-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .speaker-hero {
        padding: 2rem 0;
    }

    .speaker-hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .speaker-hero-photo-frame {
        width: 160px;
        height: 160px;
        margin: 0 auto;
    }

    .speaker-hero-body {
        max-width: none;
    }

    .speaker-hero-name {
        font-size: 1.5rem;
    }

    .speaker-hero-tagline {
        text-align: center;
    }

    .speaker-hero-badges {
        justify-content: center;
    }

    .speaker-hero-actions {
        justify-content: center;
    }

    .speaker-hero-social {
        justify-content: center;
    }

    .topic-cards {
        grid-template-columns: 1fr;
    }

    .speaker-block {
        padding: 1.25rem;
    }

    .package-link {
        grid-template-columns: 1fr;
    }

    .package-poster {
        width: 100%;
        max-width: 180px;
        height: 220px;
        margin: 0 auto;
    }
}
