/* ============================================
   StrangerCam Omegle Brand Widget — Styles
   Extends the shared .scw-* base from brand-page.css
   ============================================ */

/* ── Root wrapper ── */

.scw-omegle-page {
    font-family: var(--scw-font);
    color: var(--scw-black);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: 'cv11', 'ss01';
    overflow-x: hidden;
}

.scw-omegle-page *, .scw-omegle-page *::before, .scw-omegle-page *::after {
    box-sizing: border-box;
}

/* ============================================
   HERO — shutdown badge (red variant)
   ============================================ */

.scw-hero__badge--shutdown {
    background: rgba(220, 38, 38, 0.1);
    color: var(--scw-red);
    border-color: rgba(220, 38, 38, 0.18);
}

/* ── Author Byline (E-E-A-T) ── */

.scw-hero__byline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 8px;
    font-size: 13px;
    color: var(--scw-gray-500);
}

.scw-hero__author {
    font-weight: 600;
    color: var(--scw-gray-400);
}

.scw-hero__date {
    position: relative;
    padding-left: 16px;
}

.scw-hero__date::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--scw-gray-500);
}

@media (max-width: 480px) {
    .scw-hero__byline {
        flex-direction: column;
        gap: 4px;
    }
    .scw-hero__date {
        padding-left: 0;
    }
    .scw-hero__date::before {
        display: none;
    }
}

/* ============================================
   ALTERNATIVES — detailed cards
   ============================================ */

.scw-alt-intro {
    font-size: 16px;
    line-height: 1.75;
    color: var(--scw-gray-700);
    margin: -20px 0 40px;
    text-align: center;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.scw-alt-details {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.scw-alt-detail {
    background: var(--scw-white);
    border: 1px solid var(--scw-gray-200);
    border-left: 4px solid var(--scw-yellow);
    border-radius: var(--scw-radius);
    padding: 28px 28px 24px;
    transition: all 0.25s var(--scw-ease);
}

.scw-alt-detail:hover {
    border-left-color: var(--scw-yellow-hover);
    box-shadow: var(--scw-shadow-md);
    transform: translateX(4px);
}

.scw-alt-detail__header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 14px;
}

.scw-alt-detail__rank {
    width: 36px;
    height: 36px;
    min-width: 36px;
    background: var(--scw-yellow);
    color: var(--scw-black);
    font-size: 14px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.scw-alt-detail:first-child .scw-alt-detail__rank {
    background: var(--scw-black);
    color: var(--scw-yellow);
    box-shadow: 0 0 0 3px var(--scw-yellow);
}

.scw-alt-detail__name {
    font-size: 18px;
    font-weight: 700;
    color: var(--scw-black);
    margin: 0;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.scw-alt-detail__highlight {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--scw-yellow-hover);
    background: var(--scw-yellow-light);
    padding: 2px 10px;
    border-radius: 100px;
    margin-top: 2px;
}

.scw-alt-detail:first-child .scw-alt-detail__highlight {
    color: var(--scw-white);
    background: var(--scw-black);
}

.scw-alt-detail__desc {
    font-size: 14px;
    line-height: 1.75;
    color: var(--scw-gray-700);
    margin: 0 0 14px;
}

.scw-alt-detail__link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 600;
    color: var(--scw-yellow-hover);
    text-decoration: none;
    transition: gap var(--scw-duration) var(--scw-ease);
}

.scw-alt-detail__link:hover {
    gap: 8px;
    color: var(--scw-yellow-hover);
}

/* ============================================
   TIMELINE — vertical step-style layout
   ============================================ */

.scw-timeline {
    position: relative;
}

.scw-timeline::before {
    content: '';
    position: absolute;
    left: 27px;
    top: 22px;
    bottom: 22px;
    width: 2px;
    background: linear-gradient(to bottom, var(--scw-yellow), var(--scw-gray-200));
}

.scw-timeline__event {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 32px;
    position: relative;
}

.scw-timeline__event:last-child {
    margin-bottom: 0;
}

.scw-timeline__marker {
    position: relative;
    z-index: 1;
}

.scw-timeline__year {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    min-width: 56px;
    background: var(--scw-yellow);
    color: var(--scw-black);
    font-size: 14px;
    font-weight: 800;
    border-radius: 50%;
    letter-spacing: -0.02em;
}

.scw-timeline__event:first-child .scw-timeline__year {
    background: var(--scw-black);
    color: var(--scw-yellow);
    box-shadow: 0 0 0 3px var(--scw-yellow);
}

.scw-timeline__event:last-child .scw-timeline__year {
    background: var(--scw-red, #dc2626);
    color: var(--scw-white);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.2);
}

.scw-timeline__content {
    padding-top: 14px;
    flex: 1;
}

.scw-timeline__title {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 4px;
    color: var(--scw-black);
    line-height: 1.3;
}

.scw-timeline__desc {
    font-size: 15px;
    color: var(--scw-gray-700);
    margin: 0;
    line-height: 1.7;
}

/* ============================================
   BUYER'S GUIDE — criteria cards
   ============================================ */

.scw-guide-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.scw-guide-card {
    background: var(--scw-white);
    border: 1px solid var(--scw-gray-200);
    border-top: 3px solid var(--scw-yellow);
    border-radius: var(--scw-radius);
    padding: 28px 24px 24px;
    transition: all 0.25s var(--scw-ease);
}

.scw-guide-card:hover {
    border-top-color: var(--scw-yellow-hover);
    box-shadow: var(--scw-shadow-md);
    transform: translateY(-2px);
}

.scw-guide-card__icon {
    display: block;
    font-size: 28px;
    margin-bottom: 14px;
    line-height: 1;
}

.scw-guide-card__title {
    font-size: 15px;
    font-weight: 700;
    color: var(--scw-black);
    margin: 0 0 8px;
    line-height: 1.3;
}

.scw-guide-card__desc {
    font-size: 14px;
    line-height: 1.7;
    color: var(--scw-gray-700);
    margin: 0;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1023px) {
    .scw-guide-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
    .scw-alt-detail { padding: 22px 20px 18px; }
    .scw-alt-detail__name { font-size: 16px; }
    .scw-alt-detail__desc { font-size: 13px; }
    .scw-alt-detail__rank { width: 32px; height: 32px; min-width: 32px; font-size: 13px; }
    .scw-alt-intro { font-size: 15px; margin-bottom: 32px; }
    .scw-guide-grid { grid-template-columns: 1fr; }
    .scw-guide-card { padding: 22px 20px 20px; }
    .scw-timeline__year { width: 48px; height: 48px; min-width: 48px; font-size: 13px; }
    .scw-timeline::before { left: 23px; }
    .scw-timeline__event { gap: 18px; margin-bottom: 28px; }
    .scw-timeline__desc { font-size: 14px; }
}

@media (max-width: 480px) {
    .scw-alt-detail { padding: 18px 16px 16px; }
    .scw-alt-detail__header { gap: 12px; }
    .scw-timeline__year { width: 42px; height: 42px; min-width: 42px; font-size: 12px; }
    .scw-timeline::before { left: 20px; }
    .scw-timeline__event { gap: 14px; }
    .scw-timeline__content { padding-top: 8px; }
}

/* ── Elementor Editor Overrides ── */

.elementor-editor-active .scw-omegle-page {
    min-height: 200px;
}

.elementor-editor-active .scw-omegle-page .scw-faq-item__a {
    max-height: none !important;
}
