/*
Theme Name: Portal SamuderaKepri TV
Theme URI: https://www.samuderakepri.co.id
Author: Tim Redaksi Samudera Kepri
Author URI: https://www.samuderakepri.co.id
Description: Tema khusus Portal Berita dan Streaming Video SamuderaKepri TV dengan integrasi YouTube.
Version: 1.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: samuderakepritv
*/

/* Reset & Basic */
*,*::before,*::after{box-sizing:border-box}
body{margin:0;padding:0;font-family:Roboto,Arial,sans-serif;background-color:#0f0f0f;color:#f1f1f1;line-height:1.6}
a{color:#7dd3fc;text-decoration:none;transition:color .2s ease}
a:hover{color:#bae6fd;text-decoration:underline}
img{max-width:100%;height:auto;display:block}

/* Skip Link */
.stv-skip-link{position:absolute;top:-100px;left:0;background:#38bdf8;color:#0f0f0f;padding:10px 20px;border-radius:0 0 8px 0;font-weight:bold;z-index:9999;text-decoration:none}
.stv-skip-link:focus{top:0;color:#0f0f0f}

/* Header */
.stv-site-header{background-color:#0f0f0f;border-bottom:1px solid #3f3f3f;padding:12px 20px;position:sticky;top:0;z-index:100}
.stv-site-header .stv-header-inner{max-width:1280px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:15px}
.stv-site-header .stv-logo-area{display:flex;align-items:center;gap:12px}
.stv-site-header .stv-logo-circle{width:48px;height:48px;background:#ff0000;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:20px;font-weight:bold;color:#fff;flex-shrink:0}
.stv-site-header .stv-site-title{margin:0;font-size:1.3em;color:#fff}
.stv-site-header .stv-site-desc{margin:2px 0 0;color:#c0c0c0;font-size:.8em}
.stv-nav-menu ul{list-style:none;margin:0;padding:0;display:flex;gap:20px;flex-wrap:wrap}
.stv-nav-menu ul li a{color:#f1f1f1;font-size:.95em;font-weight:500;padding:8px 0;border-bottom:2px solid transparent;transition:border-color .2s ease}
.stv-nav-menu ul li a:hover,.stv-nav-menu ul li a:focus{border-color:#ff0000;color:#fff;text-decoration:none}
.stv-subscribe-btn{background:#c00000;color:#fff;padding:8px 18px;border-radius:18px;font-weight:bold;font-size:.9em;display:inline-block;border:2px solid transparent;cursor:pointer;transition:background .2s ease;text-decoration:none}
.stv-subscribe-btn:hover,.stv-subscribe-btn:focus{background:#a00000;color:#fff;text-decoration:none;border-color:#ff4444}

/* Layout */
.stv-container{max-width:1280px;margin:0 auto;padding:20px}
.stv-section-title{font-size:1.2em;color:#fff;margin-bottom:20px;border-left:4px solid #ff0000;padding-left:10px}

/* Featured */
.stv-featured{margin-bottom:40px}
.stv-featured-thumbnail{position:relative;width:100%;padding-bottom:56.25%;border-radius:12px;overflow:hidden;background:#000;box-shadow:0 4px 20px rgba(0,0,0,.5)}
.stv-featured-thumbnail img{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover}
.stv-featured-title{margin-top:20px;font-size:1.4em;color:#fff;line-height:1.4}
.stv-featured-title a{color:#fff}
.stv-featured-title a:hover{color:#bae6fd;text-decoration:underline}
.stv-featured-excerpt{color:#d4d4d4;font-size:.95em;line-height:1.6;background:#272727;padding:15px;border-radius:8px;margin-top:10px}
.stv-featured-excerpt a{color:#7dd3fc;margin-left:5px;text-decoration:underline;font-weight:600}
.stv-featured-excerpt a:hover{color:#bae6fd}

/* Grid Video */
.stv-video-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:20px;width:100%}
.stv-video-card{display:flex;flex-direction:column;background:#181818;border-radius:12px;overflow:hidden;border:1px solid #272727;transition:border-color .2s ease,transform .2s ease}
.stv-video-card:hover{border-color:#3f3f3f;transform:translateY(-2px)}
.stv-video-thumb{position:relative;width:100%;padding-bottom:56.25%;background:#000}
.stv-video-thumb img{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover}
.stv-video-info{padding:12px;display:flex;flex-direction:column;gap:6px}
.stv-video-title{margin:0;font-size:.95em;line-height:1.4}
.stv-video-title a{color:#fff;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.stv-video-title a:hover{color:#bae6fd;text-decoration:underline}
.stv-video-meta{margin:0;color:#c0c0c0;font-size:.8em}

/* Banner */
.stv-banner{background:#0f172a;color:#fff;padding:40px 20px;border-radius:8px;margin-bottom:30px;text-align:center}
.stv-banner h1{margin:0 0 10px;font-size:2.2em;color:#38bdf8}
.stv-banner p{font-size:1.1em;color:#cbd5e1;max-width:800px;margin:0 auto}
.stv-banner .stv-banner-btn{background:#ef4444;color:#fff;padding:8px 16px;border-radius:4px;font-weight:bold;display:inline-block;margin-top:15px;border:2px solid transparent}
.stv-banner .stv-banner-btn:hover,.stv-banner .stv-banner-btn:focus{background:#dc2626;color:#fff;text-decoration:none;border-color:#fca5a5}

/* Embed */
.stv-embed-container{position:relative;padding-bottom:56.25%;height:0;overflow:hidden;border-radius:8px;background:#000}
.stv-embed-container iframe{position:absolute;top:0;left:0;width:100%;height:100%;border:0}
.stv-embed-title{margin-top:15px;font-size:1.3em;color:#f1f1f1}
.stv-embed-desc{color:#c0c0c0;line-height:1.6}
.stv-embed-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:20px}
.stv-embed-card{background:#181818;border:1px solid #272727;border-radius:8px;overflow:hidden}
.stv-embed-card-body{padding:15px}
.stv-embed-card-body h4{margin:0 0 10px;font-size:1.1em}
.stv-embed-card-body h4 a{color:#f1f1f1}
.stv-embed-card-body h4 a:hover{color:#bae6fd;text-decoration:underline}
.stv-embed-card-body p{font-size:.9em;color:#c0c0c0;margin:0}

/* Single */
.stv-single-layout{max-width:900px;margin:0 auto;padding:30px 20px;min-height:80vh}
.stv-single-title{font-size:1.8em;color:#fff;line-height:1.4;margin:0 0 10px}
.stv-single-meta{color:#c0c0c0;font-size:.9em;display:flex;gap:15px;align-items:center;margin-bottom:20px}
.stv-single-thumb{margin-bottom:25px;border-radius:12px;overflow:hidden;background:#000}
.stv-single-thumb img{width:100%;height:auto}
.stv-post-content{font-size:1.05em;line-height:1.8;color:#e2e8f0;background:#1f1f1f;padding:25px;border-radius:12px;margin-bottom:30px}
.stv-post-content p{margin-bottom:1em}
.stv-post-content a{color:#7dd3fc;text-decoration:underline}
.stv-post-content a:hover{color:#bae6fd}
.stv-post-nav{margin-bottom:30px;border-top:1px solid #3f3f3f;border-bottom:1px solid #3f3f3f;padding:15px 0;display:flex;justify-content:space-between;color:#7dd3fc;font-weight:bold}
.stv-post-nav a{color:#7dd3fc;text-decoration:none}
.stv-post-nav a:hover{color:#bae6fd;text-decoration:underline}
.stv-comments-section{background:#1f1f1f;padding:25px;border-radius:12px;margin-top:20px}

/* Footer */
.stv-site-footer{text-align:center;padding:20px;color:#94a3b8;font-size:.9em;border-top:1px solid #272727;background:#0f0f0f}
.stv-site-footer a{color:#7dd3fc}
.stv-site-footer a:hover{color:#bae6fd;text-decoration:underline}

/* Archive */
.stv-archive-list{display:flex;flex-direction:column;gap:20px}
.stv-archive-item{display:flex;gap:20px;background:#181818;border-radius:12px;overflow:hidden;border:1px solid #272727}
.stv-archive-item-thumb{flex-shrink:0;width:200px;position:relative;padding-bottom:112px;background:#000}
.stv-archive-item-thumb img{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover}
.stv-archive-item-body{padding:15px 20px;flex:1}
.stv-archive-item-body h2{margin:0 0 8px;font-size:1.2em}
.stv-archive-item-body h2 a{color:#fff}
.stv-archive-item-body h2 a:hover{color:#bae6fd;text-decoration:underline}
.stv-archive-item-body .stv-archive-meta{color:#c0c0c0;font-size:.85em;margin-bottom:8px}
.stv-archive-item-body p{color:#d4d4d4;font-size:.95em;margin:0}
.stv-no-content{color:#c0c0c0;padding:20px;text-align:center}

/* Pagination */
.stv-pagination{margin-top:30px;display:flex;justify-content:space-between;color:#7dd3fc;font-weight:bold}
.stv-pagination a{color:#7dd3fc;text-decoration:none}
.stv-pagination a:hover{color:#bae6fd;text-decoration:underline}

/* Focus Visible */
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid #7dd3fc;outline-offset:2px}

/* Responsif */
@media(max-width:768px){.stv-site-header .stv-header-inner{flex-direction:column;align-items:flex-start}.stv-nav-menu ul{gap:12px}.stv-video-grid{grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:12px}.stv-archive-item{flex-direction:column}.stv-archive-item-thumb{width:100%;padding-bottom:56.25%}.stv-banner h1{font-size:1.6em}.stv-banner p{font-size:1em}.stv-featured-title{font-size:1.1em}.stv-single-title{font-size:1.4em}}
@media(max-width:480px){.stv-video-grid{grid-template-columns:1fr 1fr;gap:10px}.stv-video-info{padding:8px}.stv-video-title{font-size:.85em}}

/* Reduced Motion */
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
