/*
Theme Name: Turkiye IFSA AMP
Theme URI: https://turkiyeifsa.com
Author: Turkiye IFSA
Author URI: https://turkiyeifsa.com
Description: Fully mobile-optimized AMP-ready WordPress theme
Version: 1.0.109
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: turkiyeifsa-amp
Tags: amp, mobile-first, responsive, lightweight
*/

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #e0e0e0;
    background: #0f1419;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Header */
.site-header {
    background: #1a1a2e;
    color: #fff;
    padding: 1.5rem 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
    text-align: center;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.header-topbar {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.site-branding {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    min-width: 0;
}

.site-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-logo-link {
    display: inline-block;
    line-height: 0;
}

.custom-logo {
    max-height: 58px;
    max-width: 150px;
    width: auto;
    height: auto;
    display: block;
}

.site-branding-text {
    text-align: left;
}

.site-title {
    font-size: 2rem;
    margin: 0;
    background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: bold;
}

.site-title--logo {
    background: none;
    -webkit-text-fill-color: initial;
    text-align: center;
}

.site-title--logo .custom-logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.site-title a {
    color: inherit;
    text-decoration: none;
}

.site-description {
    margin: 0.5rem 0 0 0;
    font-size: 0.875rem;
    color: #999;
}

/* Navigation */
.main-navigation {
    margin-top: 0;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.15rem;
}

.main-navigation::-webkit-scrollbar {
    display: none;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    flex-wrap: nowrap;
    gap: 0.65rem;
    justify-content: flex-start;
    align-items: center;
    width: max-content;
    min-width: 100%;
    margin: 0;
    padding: 0 0.1rem;
}

.main-navigation li {
    flex: 0 0 auto;
}

.main-navigation a {
    color: #fff;
    text-decoration: none;
    padding: 0.75rem 1.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border-radius: 999px;
    font-size: 0.95rem;
    white-space: nowrap;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
}

.main-navigation a:hover {
    background: rgba(255,107,107,0.2);
    color: #ff6b6b;
}

.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a {
    background: linear-gradient(135deg, rgba(255,107,107,0.22), rgba(29,161,242,0.18));
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1);
}

.header-discovery-trigger {
    width: 52px;
    height: 52px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 16px;
    background: rgba(255,255,255,0.055);
    color: #e5edf7;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    cursor: pointer;
    box-shadow: 0 14px 28px rgba(0,0,0,0.2);
}

.header-discovery-trigger svg {
    width: 28px;
    height: 28px;
    display: block;
}

.header-search-card {
    width: 100%;
    max-width: 980px;
    padding: 1rem;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(11,16,29,0.92), rgba(19,28,41,0.94));
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 22px 44px rgba(0,0,0,0.28);
}

.search-panel {
    width: 100%;
}

.search-panel__copy {
    margin-bottom: 0.85rem;
}

.search-panel__title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.25rem;
}

.search-panel__description {
    color: #9fb0c6;
    font-size: 0.92rem;
}

.site-search-form {
    width: 100%;
}

.site-search-form__inner {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    width: 100%;
    padding: 0.4rem 0.4rem 0.4rem 0.85rem;
    border-radius: 999px;
    background: rgba(7,11,18,0.88);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.03);
}

.site-search-form__leading-icon {
    width: 22px;
    height: 22px;
    color: #93a6bf;
    flex-shrink: 0;
}

.site-search-form__leading-icon svg,
.site-search-form__submit svg {
    width: 100%;
    height: 100%;
    display: block;
}

.site-search-form__input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #fff;
    font-size: 1rem;
    line-height: 1.3;
    padding-left: 0;
}

.site-search-form__input::placeholder {
    color: #7f8ca1;
}

.site-search-form__submit {
    width: 62px;
    height: 52px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff6b6b, #ff8d6b);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 14px 24px rgba(255,107,107,0.24);
}

.site-search-form__submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 28px rgba(255,107,107,0.3);
}

@media (max-width: 767px) {
    .main-navigation {
        padding-bottom: 0.25rem;
    }

    .header-search-card {
        padding: 0.9rem;
        border-radius: 20px;
    }

    .search-panel__copy {
        text-align: left;
    }

    .site-search-form__inner {
        gap: 0.65rem;
        padding-left: 0.85rem;
    }

    .site-search-form__submit {
        width: 54px;
        height: 48px;
    }

}

/* Content */
.site-content {
    padding: 2rem 1rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Video Grid */
.video-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

/* Home & archive: list view (single column) */
body.home .video-grid,
body.archive .video-grid,
body.category .video-grid {
    grid-template-columns: 1fr !important;
}

.content-intro {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1.25rem 1.35rem;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(18,25,38,0.96), rgba(12,18,29,0.96));
    border: 1px solid rgba(255,255,255,0.06);
}

.content-intro__eyebrow {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #ff9c7c;
    margin-bottom: 0.4rem;
}

.content-intro__title {
    font-size: 1.7rem;
    line-height: 1.15;
    color: #fff;
    margin-bottom: 0.35rem;
}

.content-intro__description {
    max-width: 720px;
    color: #9fb0c6;
}

.content-intro__meta {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.7rem 0.95rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    color: #dbe7f5;
    font-weight: 700;
}

.feed-toolbar {
    margin-bottom: 1.5rem;
}

.feed-toolbar__title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.9rem;
}

.subcategory-strip {
    margin-bottom: 1.75rem;
}

.subcategory-strip__title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.95rem;
}

.subcategory-strip__list {
    display: flex;
    flex-wrap: nowrap;
    gap: 1rem;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.35rem;
}

.subcategory-strip__list::-webkit-scrollbar {
    display: none;
}

.subcategory-card {
    flex: 0 0 auto;
    width: 110px;
    text-decoration: none;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
}

.subcategory-card__media {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, #12233d, #293345);
    border: 3px solid rgba(255,255,255,0.1);
    box-shadow: 0 14px 24px rgba(0,0,0,0.22);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.subcategory-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.subcategory-card__fallback {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
}

.subcategory-card__name {
    font-size: 0.9rem;
    line-height: 1.3;
    text-align: center;
    color: #dbe7f5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.feed-filter {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.75rem;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.2rem;
}

.feed-filter::-webkit-scrollbar {
    display: none;
}

.feed-filter__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-height: 48px;
    padding: 0.8rem 1.2rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    color: #dbe7f5;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.feed-filter__link:hover,
.feed-filter__link.is-active {
    background: linear-gradient(135deg, rgba(255,107,107,0.22), rgba(29,161,242,0.18));
    border-color: rgba(255,255,255,0.14);
    color: #fff;
}

.home-discovery-launch {
    margin: 0 0 1.5rem;
}

.home-discovery-menu-item {
    flex: 0 0 auto;
}

.home-discovery-toggle {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.home-discovery-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 46px;
    padding: 0.78rem 1rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    color: #dbe7f5;
    font-family: inherit;
    font-size: 0.98rem;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0 10px 26px rgba(0,0,0,0.18);
}

.home-discovery-trigger:hover {
    background: rgba(255,255,255,0.07);
    border-color: rgba(255,255,255,0.15);
    color: #fff;
}

.home-discovery-trigger__icon {
    width: 22px;
    height: 22px;
    display: inline-flex;
}

.home-discovery-trigger__icon svg,
.home-discovery-modal__close svg {
    width: 100%;
    height: 100%;
    display: block;
}

.home-discovery-modal {
    display: none;
    position: fixed !important;
    inset: 0 !important;
    z-index: 99999 !important;
    width: 100vw !important;
    height: 100vh;
    height: 100dvh;
    max-width: none !important;
    max-height: none !important;
    overflow-x: hidden;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    background: rgba(0,0,0,0.58);
    padding: 0;
    box-sizing: border-box;
    transform: none !important;
    contain: none !important;
}

.home-discovery-toggle:checked ~ .home-discovery-modal {
    display: block;
}

.home-discovery-modal__backdrop {
    position: fixed;
    inset: 0;
    cursor: default;
}

.home-discovery-modal__panel {
    position: relative;
    z-index: 1;
    width: min(78vw, 560px);
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0 0 0 auto;
    padding: max(1rem, env(safe-area-inset-top)) 1rem 2rem;
    background: #222;
    border-left: 1px solid rgba(255,255,255,0.08);
    box-shadow: -22px 0 44px rgba(0,0,0,0.38);
    box-sizing: border-box;
}

.home-discovery-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.55rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.home-discovery-modal__title {
    margin: 0;
    color: #fff;
    font-size: 2rem;
    line-height: 1.1;
    font-weight: 900;
}

.home-discovery-modal__close {
    width: 52px;
    height: 52px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex: 0 0 auto;
    box-shadow: 0 14px 28px rgba(0,0,0,0.22);
}

.home-discovery {
    margin: 0;
}

.home-discovery__groups {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.home-discovery-modal .home-discovery__groups {
    grid-template-columns: 1fr;
    gap: 1rem;
}

.home-discovery__group {
    min-width: 0;
}

.home-discovery-modal .home-discovery__group {
    padding: 0.6rem 0.9rem;
    border-radius: 18px;
    background: rgba(10,10,12,0.58);
}

.home-discovery__group-title {
    font-size: 1.1rem;
    color: #9fb0c6;
    font-weight: 800;
    margin-bottom: 0.95rem;
}

.home-discovery__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.home-discovery-modal .home-discovery__links {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0;
}

.home-discovery__link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 46px;
    max-width: 100%;
    padding: 0.72rem 1rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.035);
    border: 1px solid rgba(255,255,255,0.075);
    color: #dbe7f5;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.home-discovery-modal .home-discovery__link {
    width: 100%;
    justify-content: space-between;
    min-height: 52px;
    padding: 0.8rem 0.1rem;
    border: 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    border-radius: 0;
    background: transparent;
    box-sizing: border-box;
}

.home-discovery-modal .home-discovery__link:last-child {
    border-bottom: 0;
}

.home-discovery__link:hover {
    background: rgba(255,255,255,0.07);
    border-color: rgba(255,255,255,0.16);
    color: #fff;
}

.home-discovery__link-text {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-discovery__link-count {
    color: #7f8ca1;
    font-size: 0.86rem;
    line-height: 1;
}

.results-section + .results-section {
    margin-top: 2.5rem;
}

.section-heading {
    margin-bottom: 1rem;
}

.section-heading__title {
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 0.35rem;
}

.section-heading__description {
    color: #97a9bf;
}

.empty-state {
    margin-top: 1rem;
    padding: 2rem 1.35rem;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(18,25,38,0.96), rgba(12,18,29,0.96));
    border: 1px solid rgba(255,255,255,0.06);
}

.empty-state h2 {
    color: #fff;
    font-size: 1.35rem;
    margin-bottom: 0.45rem;
}

.empty-state p {
    color: #9fb0c6;
}

@media (min-width: 768px) {
    .video-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .home-discovery__groups {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 1024px) {
    .video-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1400px) {
    .video-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

.video-card {
    background: #1a1a2e;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.video-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(255,107,107,0.2);
}

.video-card a {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.video-thumbnail {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    overflow: hidden;
    background: #000;
    flex-shrink: 0;
    aspect-ratio: 16 / 9;
}

.video-thumbnail img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
}

.video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255,107,107,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
}

.video-info {
    padding: 1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.video-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    background: #0b2239;
    padding: 0.6rem 0.75rem;
    border-radius: 0.5rem;
    margin-bottom: 0.65rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    overflow-wrap: anywhere;
    text-overflow: ellipsis;
}

.video-model {
    margin-top: 0.5rem;
    margin-bottom: 0.25rem;
}

.model-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.2s;
}

.model-link:hover {
    color: #1da1f2;
}

.model-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, #1da1f2, #0b2239);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
    flex-shrink: 0;
    border: 2px solid #0e1624;
    box-shadow: 0 6px 18px rgba(0,0,0,0.35), 0 0 0 1px rgba(29,161,242,0.25);
}

.model-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.08);
    transform-origin: center;
    display: block;
}

.model-name {
    font-weight: 700;
}

.verified-badge {
    width: 20px;
    height: 20px;
    display: inline-block;
    vertical-align: middle;
}

.verified-badge path {
    fill: #1da1f2;
}

.video-cats {
    margin: 0.35rem 0 0.35rem;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    align-content: flex-start;
    gap: 0.35rem;
}

.video-cat-chip {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    flex: 0 0 auto;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: #1f2733;
    color: #cfd8e3;
    font-size: 0.8rem;
    line-height: 1.2;
    text-decoration: none;
    border: 1px solid #2d3b4e;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.video-cat-chip:hover {
    background: #263245;
    color: #fff;
    border-color: #3b4d66;
}

.video-meta {
    font-size: 0.875rem;
    color: #999;
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.view-count {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #999;
}

.view-icon {
    opacity: 0.8;
    vertical-align: middle;
}

/* Gutenberg latest posts tweaks */
.wp-block-latest-posts__list .wp-block-latest-posts__post-title {
    display: block;
    background: #0b2239;
    color: #fff;
    font-weight: 700;
    padding: 0.55rem 0.7rem;
    border-radius: 0.6rem;
    text-decoration: none;
}

/* Force 16:9 aspect ratio on latest posts featured images */
.wp-block-latest-posts__featured-image {
    position: relative !important;
    width: 100% !important;
    height: 0 !important;
    padding-bottom: 56.25% !important;
    overflow: hidden !important;
    background: #000 !important;
    border-radius: 8px !important;
    contain-intrinsic-size: auto !important;
}

.wp-block-latest-posts__featured-image img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    min-width: 100% !important;
    min-height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    contain-intrinsic-size: auto !important;
}

.wp-block-latest-posts__list .video-model {
    margin-top: 0.45rem;
}

.entry-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: #fff;
}

.entry-title a {
    color: #fff;
    text-decoration: none;
}

.entry-title a:hover {
    color: #ff6b6b;
}

.entry-content {
    margin-top: 1rem;
    color: #e0e0e0;
}

.entry-content img,
.entry-content video {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin: 1.5rem 0;
    border-radius: 8px;
}

.video-container iframe,
.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
/* Enforce 16:9 aspect on featured images */
.post-thumbnail {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    background: #000;
}

.post-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* HLS Video Container */
.hls-video-container {
    position: relative;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto 1.5rem;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    padding-top: 56.25%;
}

.hls-video-container .video-js,
.hls-video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
}

/* Single Video Page - Sadece video */
.single-video-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.single-video-page .entry-header {
    margin-bottom: 2rem;
    text-align: center;
}

.single-video-page .entry-title {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 1rem;
}

.single-video-container {
    margin: 0 auto;
}

.single-video-container .hls-video-container {
    margin: 0 auto 1.5rem;
}

.single article {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.single .entry-content {
    margin-top: 1rem;
}

.single .entry-content > *:first-child {
    margin-top: 0;
}

.single .entry-content .hls-video-container {
    margin-top: 0;
}

/* Remove excess padding around non-AMP video embeds on single */
.single .entry-content .video-container {
    margin-top: 0;
    margin-bottom: 1.5rem;
}

/* VideoJS Styling */

/* Ensure all video containers maintain 16:9 aspect */
.entry-content .video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background: #000;
    border-radius: 8px;
    margin: 1.5rem auto;
    max-width: 1280px;
}

.entry-content .video-container iframe,
.entry-content .video-container video,
.entry-content .video-container embed,
.entry-content .video-container object {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Force all videos to live in a 16:9 box and letterbox portrait clips */
.entry-content video {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    background: #000;
    border-radius: 8px;
    display: block;
}

.entry-content .video-container video {
    object-fit: contain;
}

.video-js {
    aspect-ratio: 16 / 9;
    width: 100%;
    max-width: 1280px;
    background: #000;
    border-radius: 8px;
}

.video-js .vjs-tech {
    object-fit: contain;
}

.video-js video::-webkit-media-controls,
.video-js video::-webkit-media-controls-panel,
.video-js video::-webkit-media-controls-enclosure {
    display: none !important;
    -webkit-appearance: none !important;
}

/* Force video elements to show controls */
video {
    max-width: 100%;
    height: auto;
}

video::-webkit-media-controls {
    display: flex !important;
}

video::-webkit-media-controls-panel {
    display: flex !important;
}

.hls-video-container .video-js {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    border-radius: 8px;
}

.video-js .vjs-big-play-button {
    border: none;
    background-color: rgba(255,107,107,0.9);
    font-size: 3em;
    border-radius: 50%;
    width: 2em;
    height: 2em;
    line-height: 2em;
    margin-top: -1em;
    margin-left: -1em;
}

.video-js .vjs-big-play-button:hover {
    background-color: rgba(255,107,107,1);
}

.video-js .vjs-control-bar {
    background-color: rgba(26,26,46,0.8);
}

.video-js .vjs-play-progress,
.video-js .vjs-volume-level {
    background-color: #ff6b6b;
}

.video-js .vjs-slider {
    background-color: rgba(255,255,255,0.3);
}

/* Footer */
.site-footer {
    background: #1a1a2e;
    color: #999;
    padding: 2rem 1rem;
    text-align: center;
    margin-top: 3rem;
    border-top: 1px solid #2a2a3e;
}

/* Pagination */
.pagination,
.nav-links {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.pagination a,
.pagination span,
.nav-links a {
    padding: 0.5rem 1rem;
    background: #1a1a2e;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    border: 1px solid #2a2a3e;
    transition: all 0.3s ease;
}

.pagination a:hover,
.nav-links a:hover {
    background: #ff6b6b;
    border-color: #ff6b6b;
}

.pagination .current {
    background: #ff6b6b;
    border-color: #ff6b6b;
}

article {
    background: #1a1a2e;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    border: 1px solid #2a2a3e;
}

.entry-meta {
    color: #999;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Comments */
.comments-area {
    margin-top: 2.5rem;
    background: #1a1a2e;
    border: 1px solid #2a2a3e;
    border-radius: 8px;
    padding: 1.5rem;
}

.comments-area h3,
.comment-reply-title {
    color: #fff;
    margin-bottom: 1rem;
}

.comment-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.comment-list .comment {
    border-bottom: 1px solid #2a2a3e;
    padding: 1rem 0;
}

.comment-list .comment:last-child {
    border-bottom: none;
}

.comment-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.comment-form label {
    color: #ccc;
    font-size: 0.9rem;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    background: #0f1419;
    border: 1px solid #2a2a3e;
    border-radius: 6px;
    padding: 0.75rem;
    color: #fff;
}

.comment-form textarea {
    min-height: 160px;
}

.comment-form .form-submit input {
    background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
    border: none;
    color: #fff;
    padding: 0.85rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.comment-form .form-submit input:hover {
    opacity: 0.9;
}

.comment-form-cookies-consent {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.comment-form-cookies-consent input {
    width: auto;
}

/* Mobile First - Already optimized */
@media (min-width: 768px) {
    .site-header {
        padding: 2rem;
    }
    
    .header-container {
        gap: 1.5rem;
    }
    
    .site-title {
        font-size: 2.5rem;
    }
    
    .site-content {
        padding: 3rem 2rem;
    }
    
    .video-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .content-intro {
        padding: 1.5rem 1.65rem;
    }
}

@media (min-width: 1024px) {
    .video-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1400px) {
    .video-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* Related Videos Section */
.related-videos-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #2a2a3e;
}

.related-videos-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

.related-videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.related-video-card {
    background: #1a1a2e;
    border-radius: 6px;
    overflow: hidden;
    transition: transform 0.2s ease;
}

.related-video-card:hover {
    transform: translateY(-2px);
}

.related-video-card a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.related-video-card .video-thumbnail {
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    overflow: hidden;
    background: #000;
    position: relative;
}

.related-video-card .video-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.related-video-card .video-title {
    padding: 0.75rem;
    font-size: 0.875rem;
    line-height: 1.3;
    color: #fff;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (min-width: 768px) {
    .related-videos-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1200px) {
    .related-videos-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}
