/* YouTomb: ScottSavino.com YouTube Narration Management — Frontend Styles */

/* ── Listing Page ── */
.ytss-listing-wrap {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
}

.ytss-card {
    background-color: rgba(160, 12, 34, 0.4);
    border-radius: 25px;
    padding: 30px;
    margin: 0 auto 10px;
    text-align: center;
}

.ytss-card-title {
    font-family: 'Gabby', 'Gabriele Bad', serif;
    font-size: 22pt;
    font-weight: 300;
    color: #fff;
    margin: 0 0 20px;
    line-height: 1.3;
}

.ytss-embed-wrap {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 20px;
}

.ytss-embed-wrap iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 18px;
}

.ytss-card-channel {
    font-family: 'Gabby', 'Gabriele Bad', serif;
    font-size: 15pt;
    font-weight: 600;
    margin-bottom: 4px;
}

.ytss-card-channel a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.2s;
}
.ytss-card-channel a:hover {
    color: #fff;
    text-decoration: underline;
}

.ytss-card-narrator {
    font-family: 'Gabby', 'Gabriele Bad', serif;
    font-size: 14pt;
    font-weight: 300;
    color: #bbb;
    margin-bottom: 8px;
}

.ytss-card-timestamp {
    font-size: 11pt;
    color: #999;
    margin-bottom: 8px;
    font-style: italic;
}

.ytss-card-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 18px;
    flex-wrap: wrap;
}

/* ── Buttons ── */
.ytss-btn {
    display: inline-block;
    padding: 9px 22px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: background 0.2s, color 0.2s;
    cursor: pointer;
}

.ytss-btn-channel {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
}
.ytss-btn-channel:hover {
    background: rgba(255,255,255,0.28);
    color: #fff;
}

.ytss-btn-story {
    background: rgba(160, 12, 34, 0.7);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
}
.ytss-btn-story:hover {
    background: rgba(160, 12, 34, 0.95);
    color: #fff;
}

/* ── Divider ── */
.ytss-divider {
    text-align: center;
    margin: 6px 0;
}
.ytss-divider img {
    max-width: 60px;
    opacity: 0.5;
}

/* ── Pagination ── */
.ytss-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    padding: 20px 0;
}

.ytss-page-btn {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(160, 12, 34, 0.5);
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition: background 0.2s;
}
.ytss-page-btn:hover {
    background: rgba(160, 12, 34, 0.85);
    color: #fff;
}

.ytss-page-info {
    font-family: 'Gabby', serif;
    color: #aaa;
    font-size: 13pt;
}

/* ── Single Video Page ── */
.ytss-single-wrap {
    max-width: 900px;
    margin: 20px auto;
    padding: 0 20px;
}

.ytss-breadcrumb {
    margin-bottom: 20px;
}

.ytss-breadcrumb a {
    font-size: 13px;
    color: #888;
    text-decoration: none;
    transition: color 0.2s;
}
.ytss-breadcrumb a:hover {
    color: #ccc;
}

.ytss-single-card {
    background-color: rgba(160, 12, 34, 0.4);
    border-radius: 25px;
    padding: 36px 40px;
    text-align: center;
}

.ytss-single-channel {
    font-family: 'Gabby', 'Gabriele Bad', serif;
    font-size: 18pt;
    font-weight: 600;
    margin-bottom: 6px;
}

.ytss-single-channel a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.2s;
}
.ytss-single-channel a:hover {
    color: #fff;
    text-decoration: underline;
}

.ytss-single-narrator {
    font-family: 'Gabby', 'Gabriele Bad', serif;
    font-size: 15pt;
    font-weight: 300;
    color: #bbb;
    margin-bottom: 24px;
}

.ytss-single-embed {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 28px;
}

.ytss-single-embed iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 18px;
}

.ytss-single-buttons {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* ── Mobile ── */
@media (max-width: 768px) {
    .ytss-card,
    .ytss-single-card {
        padding: 18px 14px;
        border-radius: 18px;
    }

    .ytss-card-title {
        font-size: 16pt;
    }

    .ytss-single-channel {
        font-size: 14pt;
    }

    .ytss-single-narrator {
        font-size: 12pt;
    }

    .ytss-single-wrap {
        padding: 0 10px;
    }
}
