/*
Theme Name: Tavoporno 2026
Description: tavoporno.com theme: the site's layout and design on the Videozoom 4.2.2 framework. Responsive, no jQuery.
Template: videozoom
Version: 1.0.0
Author: tavoporno.com
Text Domain: tavoporno
*/

/* ---------------------------------------------------------------------------
   Base
   ------------------------------------------------------------------------ */

:root {
    --bg: #0a0a0a;
    --panel: #1f1f1f;
    --card: #2a2a2a;
    --card-hover: #111;
    --line: #333;
    --text: #9a9a9a;
    --text-strong: #fff;
    --muted: #777;
    --accent: #cb1819;
    --accent-dark: #990000;
    --cat: #7ccfcb;
    --radius: 4px;
    --gap: 12px;
    --wrap: 1100px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    min-height: 100vh; display: flex; flex-direction: column;
    background: var(--bg);
    color: var(--text);
    font: 14px/1.5 "Open Sans", Arial, sans-serif;
}

img { max-width: 100%; height: auto; border: 0; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { color: var(--text-strong); font-weight: 600; line-height: 1.25; margin: 0 0 .6em; }

.screen-reader-text {
    position: absolute !important; width: 1px; height: 1px; overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 1000; padding: 8px 12px; background: #000; color: #fff; }
.skip-link:focus { left: 8px; top: 8px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 10px; }

/* ---------------------------------------------------------------------------
   Header
   ------------------------------------------------------------------------ */

.header-bar {
    display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px;
    padding-top: 10px; padding-bottom: 10px;
}

.site-logo { flex: 0 1 auto; line-height: 0; }
.site-logo img { width: 200px; height: auto; display: block; }
.site-logo__text { color: #fff; font-size: 28px; font-weight: 700; line-height: 1.2; }

.site-nav { order: 3; flex: 1 1 100%; min-width: 0; }
.site-nav__menu {
    list-style: none; margin: 0; padding: 0 0 2px;
    display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none;
}
.site-nav__menu::-webkit-scrollbar { display: none; }
.site-nav__menu li { flex: 0 0 auto; }
.site-nav__menu a {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 7px 12px; border-radius: var(--radius);
    background: linear-gradient(#3a3a3a, #2a2a2a); border: 1px solid #222;
    color: #fff; font-weight: 600; font-size: 13px; white-space: nowrap;
}
.site-nav__menu a:hover { background: #222; color: var(--accent); text-decoration: none; }
.site-nav__menu .menu-item-2992 > a { color: #d35400; }
.site-nav__menu .menu-item-6714 > a { color: #27ae60; }
.site-nav__menu .menu-item-6748 > a { color: #f1c40f; }

/* icons (CSS masks, no icon font) */
.icon-camera, .icon-twitter, .icon-rss, .icon-facebook, .icon-youtube {
    display: inline-block; width: 18px; height: 18px; background: currentColor;
    -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat;
}
.icon-camera { width: 15px; height: 15px; --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 6h12a2 2 0 0 1 2 2v2.5l4-2.5v8l-4-2.5V16a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2z'/%3E%3C/svg%3E"); }
.icon-twitter { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17.8 3h3.1l-6.8 7.7 8 10.3h-6.3l-4.9-6.4L5.3 21H2.2l7.3-8.3L1.8 3h6.4l4.4 5.9L17.8 3zm-1.1 16.2h1.7L7.4 4.7H5.6l11.1 14.5z'/%3E%3C/svg%3E"); }
.icon-rss { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 4a16 16 0 0 1 16 16h-3A13 13 0 0 0 4 7V4zm0 6a10 10 0 0 1 10 10h-3a7 7 0 0 0-7-7v-3zm2 6a2 2 0 1 1 0 4 2 2 0 0 1 0-4z'/%3E%3C/svg%3E"); }
.icon-facebook { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 8h3V4h-3a4 4 0 0 0-4 4v2H7v4h3v8h4v-8h3l1-4h-4V8z'/%3E%3C/svg%3E"); }
.icon-youtube { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M23 7.5a3 3 0 0 0-2.1-2.1C19 5 12 5 12 5s-7 0-8.9.4A3 3 0 0 0 1 7.5 31 31 0 0 0 1 12a31 31 0 0 0 .1 4.5 3 3 0 0 0 2 2.1C5 19 12 19 12 19s7 0 8.9-.4a3 3 0 0 0 2.1-2.1A31 31 0 0 0 23 12a31 31 0 0 0 0-4.5zM10 15V9l5.2 3L10 15z'/%3E%3C/svg%3E"); }

@media (min-width: 900px) {
    .header-bar { flex-wrap: nowrap; padding-top: 14px; padding-bottom: 14px; }
    .site-logo img { width: 249px; }
    .site-nav { order: 0; flex: 0 1 auto; }
    .site-nav__menu { overflow: visible; flex-wrap: wrap; }
}

/* ---------------------------------------------------------------------------
   Ads
   ------------------------------------------------------------------------ */

.ad-top { text-align: center; margin-bottom: 12px; line-height: 0; overflow: hidden; }
.ad-top .ad-slot { display: inline-block; width: 728px; min-height: 90px; vertical-align: top; }

.ad-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin: 18px 0; }
.ad-300x250 { width: 300px; min-height: 250px; max-width: 100%; line-height: 0; }
.ad-slot ins { display: block; }
.widget_custom_html .custom-html-widget { text-align: center; line-height: 0; }

/* ---------------------------------------------------------------------------
   Layout
   ------------------------------------------------------------------------ */

.site-main { padding-bottom: 24px; flex: 1 0 auto; }
.site-header, .ad-top, .site-footer { flex: 0 0 auto; }
#wpadminbar ~ * { flex-shrink: 0; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 1000px) {
    .layout--sidebar { grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; align-items: start; }
}
.content { min-width: 0; container-type: inline-size; }

/* ---------------------------------------------------------------------------
   Listings and video cards
   ------------------------------------------------------------------------ */

.listing-header {
    background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 10px 12px; margin-bottom: 10px;
}
.listing-title, .section-title { font-size: 20px; font-weight: 400; margin: 0; }
.listing-header { background: linear-gradient(#333, #222); }
.section-title { padding: 14px 2px 10px; }

.video-grid {
    list-style: none; margin: 0; padding: 0;
    display: grid; gap: 8px; grid-template-columns: repeat(2, minmax(0, 1fr));
}
@container (min-width: 560px) { .video-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; } }
@container (min-width: 900px) { .video-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* card as on the old theme: inset thumbnail, title, date + categories on one line, duration left / views right */
.video-card {
    background: #2f2f2f; border-radius: var(--radius); overflow: hidden; padding: 4px;
    display: flex; flex-direction: column; transition: background-color .15s;
}
.video-card:hover { background: var(--card-hover); }

.video-card__thumb { display: block; aspect-ratio: 228 / 160; background: #111; border-radius: 3px; overflow: hidden; }
.video-card__img { display: block; width: 100%; height: 100%; object-fit: cover; }
.video-card__img--empty { background: #111; }

.video-card__body { padding: 6px 2px 0; display: flex; flex-direction: column; gap: 4px; flex: 1 1 auto; }
.video-card__title {
    font-size: 14px; font-weight: 600; line-height: 1.35; min-height: 2.7em;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.video-card__title a { color: #fff; }
.video-card__meta { font-size: 11px; color: var(--muted); line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.video-card__date { margin-right: 4px; }
.video-card__cat { color: var(--cat); margin-right: 4px; }
.video-card__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 4px; }
.video-card__duration, .video-card__views {
    padding: 3px 5px 2px; border-radius: 3px; background: #222;
    color: #aaa; font-size: 12px; font-weight: 600; line-height: 1.4; white-space: nowrap;
}
.video-card__views { margin-left: auto; }
.video-card__views img { width: 10px; height: 10px; vertical-align: -1px; }

@media (min-width: 640px) {
    .video-card__title { font-size: 15px; }
}

.empty-note { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }

/* pagination */
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 18px 0 6px; }
.pagination .page-numbers {
    display: inline-block; min-width: 38px; padding: 8px 10px; text-align: center;
    background: #2e2e2e; border-radius: var(--radius); color: #fff; font-weight: 600;
}
.pagination .page-numbers.current { background: var(--accent); }
.pagination .page-numbers.dots { background: none; min-width: 0; }
.pagination a.page-numbers:hover { background: #111; text-decoration: none; }

/* ---------------------------------------------------------------------------
   Video page
   ------------------------------------------------------------------------ */

.video-post, .page-article {
    background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px;
}
.video-post__title, .page-article__title { font-size: 22px; font-weight: 700; margin: 2px 0 10px; }
@media (min-width: 640px) { .video-post__title, .page-article__title { font-size: 28px; } }

.video-post__player { margin: 0 -10px; }
@media (min-width: 640px) { .video-post__player { margin: 0; } }
.video-post__player iframe { display: block; }

.lts-video-description { color: #bbb; font-size: 14px; line-height: 1.6; margin: 12px 0 0; }

.video-meta {
    display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px;
    margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px;
}
@container (min-width: 620px) { .video-meta { grid-template-columns: 1fr 1.6fr; } }
.video-meta strong { color: #ddd; font-weight: 600; }
.video-meta__info > div { margin-bottom: 2px; }
.video-meta__info a { color: var(--accent); }
.video-meta__info img { width: 10px; height: 10px; }

.tag-list { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 5px; }
.tag-list a, .entry .tag-list a {
    display: inline-block; padding: 3px 8px; border-radius: 3px;
    background: #2e2e2e; border: 1px solid var(--line); color: #fff; font-size: 12px !important; line-height: 1.5;
}
.tag-list a:hover { background: #111; text-decoration: none; }


.related-videos { margin-top: 4px; }

/* comments */
.comments { margin-top: 10px; }
.comment-list, .comment-list .children { list-style: none; margin: 0; padding: 0; }
.comment-list .children { padding-left: 24px; }
.comment-list .comment-body {
    background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 10px 12px; margin-bottom: 8px;
}
.comment-list .avatar { float: left; margin: 0 10px 4px 0; border-radius: 50%; }
.comment-list .fn { color: #fff; font-style: normal; font-weight: 600; }
.comment-list .says { display: none; }
.comment-list .comment-metadata, .comment-list .comment-metadata a { color: var(--muted); font-size: 12px; }
.comment-list .comment-content { clear: both; color: #ccc; }
.comment-list .comment-content p { margin: 6px 0 0; }
.comment-list .reply { display: none; }

/* ---------------------------------------------------------------------------
   Sidebar and widgets
   ------------------------------------------------------------------------ */

.sidebar { min-width: 0; }
.sidebar .widget, .home-widgets .widget {
    background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 10px; margin-bottom: 14px;
}
.widget-title { font-size: 18px; margin: 0 0 10px; }
.sidebar .widget_custom_html { background: none; border: 0; padding: 0; }
.sidebar .widget_custom_html:has(.ad-desktop-only) { display: none; }
.ad-desktop-only { margin: 0 auto; }
@media (min-width: 1000px) { .sidebar .widget_custom_html:has(.ad-desktop-only) { display: block; } }

.feature-posts-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
@media (min-width: 640px) and (max-width: 999px) { .feature-posts-list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.feature-posts-list a { display: block; aspect-ratio: 13 / 10; border: 1px solid var(--line); border-radius: 3px; overflow: hidden; background: #111; }
.feature-posts-list img { display: block; width: 100%; height: 100%; object-fit: cover; }
.feature-posts-list a:hover { border-color: var(--accent); }

.widget ul { margin: 0; padding-left: 18px; }
.widget_categories ul { list-style: none; padding: 0; }
.widget_categories li { padding: 4px 0; border-bottom: 1px solid #2a2a2a; }
.widget_categories a { color: #ddd; }

/* ---------------------------------------------------------------------------
   Page content (incl. category / tag / most-viewed pages from mu-plugin tavoporno-pages.php)
   ------------------------------------------------------------------------ */

.entry { color: #bbb; font-size: 14px; line-height: 1.65; }
.entry a { color: var(--accent); }
.entry h2 { font-size: 20px; margin-top: 1.2em; }

/* boxes as on the old theme: 4 per row (3 / 2 on smaller screens), last row centred, pictures uncropped */
.entry .categories ul {
    list-style: none; margin: 0; padding: 0;
    display: flex; flex-wrap: wrap; justify-content: center; gap: 4px;
}
.entry .categories li {
    flex: 0 0 calc(50% - 2px); min-width: 0;
    border: 1px solid var(--line); border-radius: 3px; background: var(--panel);
    padding: 4px 4px 10px !important; text-align: center;
    color: #bbb; font-size: 13px; line-height: 1.45;
}
@container (min-width: 560px) { .entry .categories li { flex-basis: calc(33.333% - 3px); } }
@container (min-width: 860px) { .entry .categories li { flex-basis: calc(25% - 3px); } }
.entry .categories li:hover { background: var(--card-hover); }
.entry .categories li a { color: var(--accent); }
.entry .categories li a:hover { text-decoration: none; }
.entry .categories li > a:first-child { display: block; }
.entry .categories li > a:first-child img { display: block; margin: 0 auto; max-width: 100%; height: auto; }
.entry .categories li img[src*="views.png"] { width: 10px; height: 10px; vertical-align: -1px; }
.entry iframe { max-width: 100%; }
.entry .categories h4 { margin: 0; padding: 10px 4px 0; color: #fff; font-size: 14px; font-weight: 400; }

.entry .ctc-tag-cloud { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; }
.entry .ctc-tag-cloud li { margin: 0; line-height: 1.3; }

.pill-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.pill-list li a { display: inline-block; padding: 5px 10px; background: #2e2e2e; border-radius: 3px; color: #fff; }

/* ---------------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------------ */

.site-footer { background: rgba(0, 0, 0, .35); border-top: 1px solid #262626; margin-top: 10px; }
.footer-widgets { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; padding-top: 18px; padding-bottom: 6px; }
.footer-widgets .widget-title { font-size: 14px; color: #aaa; text-transform: uppercase; letter-spacing: .03em; }
.social-list { list-style: none; margin: 0; padding: 0 !important; display: flex; flex-wrap: wrap; gap: 8px; }
.social-list a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: var(--radius); background: #2e2e2e; color: #fff; font-size: 13px; }
.social-list a:hover { background: #111; text-decoration: none; }
.footer-bottom { padding-top: 12px; padding-bottom: 16px; }
.footer-bottom p { margin: 0; font-size: 11px; text-transform: uppercase; color: #555; }
