/*
Theme Name: Romantic Dark Yellow
Theme URI: https://example.com/
Author: Custom GPT Theme
Description: Dark + yellow video-style theme with sections and ad spots.
Version: 1.0
Text Domain: romantic-dark-yellow
*/

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background-color: #050509;
    color: #f5f5f5;
}

a {
    color: #ffb100;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.site-header {
    background: #070813;
    border-bottom: 1px solid #25263a;
    position: sticky;
    top: 0;
    z-index: 50;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-logo {
    font-weight: 800;
    font-size: 24px;
    letter-spacing: 1px;
    color: #ffb100;
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.main-nav a {
    color: #f5f5f5;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.main-nav a:hover {
    color: #ffb100;
}

.header-search input[type="search"] {
    background: #11131a;
    border-radius: 999px;
    border: 1px solid #25263a;
    padding: 6px 12px;
    color: #f5f5f5;
    min-width: 160px;
}

/* Layout */

.site-main-wrapper {
    max-width: 1200px;
    margin: 24px auto 40px;
    padding: 0 16px;
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(260px, 1fr);
    gap: 24px;
}

@media (max-width: 900px) {
    .site-main-wrapper {
        display: block;
    }
}

/* Hero section */

.hero-section {
    margin-bottom: 24px;
}

.hero-card {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: #11131a;
    min-height: 260px;
    display: flex;
    align-items: flex-end;
}

.hero-thumb {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    opacity: .45;
    filter: blur(3px);
    transform: scale(1.05);
}

.hero-overlay {
    position: relative;
    padding: 32px 24px;
    background: linear-gradient(to top, rgba(5,5,10,0.9), rgba(5,5,10,0.0));
}

.hero-category {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: #ffb100;
    margin-bottom: 4px;
}

.hero-title {
    font-size: 26px;
    margin: 0 0 8px;
}

.hero-meta {
    font-size: 12px;
    color: #c3c3d9;
}

/* Sections */

.section {
    margin-bottom: 24px;
}

.section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.section-title {
    font-size: 18px;
    font-weight: 700;
    border-left: 4px solid #ffb100;
    padding-left: 10px;
}

.section-link {
    font-size: 13px;
    color: #c3c3d9;
}

/* Grid cards */

.card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

@media (max-width: 1100px) {
    .card-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media (max-width: 800px) {
    .card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 500px) {
    .card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.video-card {
    background: #0b0d14;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    border: 1px solid #151626;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.video-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 45px rgba(0,0,0,.55);
    border-color: #ffb100;
}

.video-thumb {
    position: relative;
    padding-top: 56.25%;
    background-position: center;
    background-size: cover;
}

.video-duration {
    position: absolute;
    right: 8px;
    bottom: 8px;
    font-size: 11px;
    background: rgba(0,0,0,.75);
    padding: 2px 6px;
    border-radius: 999px;
}

.video-card-body {
    padding: 8px 10px 10px;
}

.video-title {
    font-size: 14px;
    margin: 0 0 4px;
}

.video-meta {
    font-size: 11px;
    color: #a6a7bf;
}

/* Sidebar */

.site-sidebar {
    background: #070813;
    border-radius: 18px;
    border: 1px solid #25263a;
    padding: 14px;
}

.sidebar-section-title {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 8px;
    color: #ffb100;
}

.ad-box {
    background: #11131a;
    border-radius: 12px;
    border: 1px dashed #3a3c5c;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: #888ab0;
    margin-bottom: 12px;
}

/* Footer */

.site-footer {
    background: #070813;
    border-top: 1px solid #25263a;
    padding: 18px 16px 26px;
    margin-top: 40px;
    color: #a6a7bf;
    font-size: 13px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
}

.footer-links a {
    margin-right: 12px;
    font-size: 12px;
}

/* Single post */

.single-hero {
    max-width: 960px;
    margin: 18px auto 0;
    padding: 0 16px;
}

.single-header {
    margin-bottom: 20px;
}

.single-header h1 {
    font-size: 24px;
    margin-bottom: 8px;
}

.single-meta {
    font-size: 13px;
    color: #a6a7bf;
}

.single-content {
    max-width: 960px;
    margin: 0 auto 40px;
    padding: 0 16px;
}

.single-video-wrapper {
    border-radius: 18px;
    overflow: hidden;
    background: #11131a;
    border: 1px solid #25263a;
    margin-bottom: 18px;
}

.single-video-wrapper iframe,
.single-video-wrapper video {
    width: 100%;
    min-height: 260px;
}

@media (min-width: 900px) {
    .single-video-wrapper iframe,
    .single-video-wrapper video {
        min-height: 420px;
    }
}

/* Basic WP content */

.entry-content p {
    line-height: 1.6;
    margin-bottom: 12px;
}

.entry-content h2,
.entry-content h3 {
    margin-top: 18px;
    margin-bottom: 8px;
}

.widget {
    margin-bottom: 17px;
}

.widget-title {
    font-size: 13px;
    color: #ffb100;
    margin-bottom: 6px;
}
