/* ============================================
   YDWEB CMS THEME — ydweb-cms
   Birebir YDWEB CMS tasarımı
   ============================================ */

/* === . DEĞİŞKENLER === */
:root {
    --color-white: #fff;
    --color-white-rgb: 255, 255, 255;
    --color-black: #000;
    --color-black-rgb: 0, 0, 0;
    --color-border: #e5e5e5;
    --color-border-rgb: 229, 229, 229;
    --color-cat-normal: #7a7e83;
    --color-meta-normal: #a5a6aa;
    --color-gray: #f7f7f7;
    --color-body: #6c6f72;
    --color-body-bg: #fff;
    --border-radius-xs: 4px;
    --border-radius-sm: 6px;
    --border-radius-md: 10px;
    --border-radius-lg: 15px;
    --border-radius-xl: 20px;

    --color-fb: #1559c2;
    --color-tw: #1ea9e9;
    --color-in: #3f729b;
    --color-pn: #3b5998;
    --color-wh: #43ce13;
    --color-yu: #ed1d25;
    --color-dr: #f65e97;
    --color-dw: #ff6b10;

    --cat-technology: #2962ff;
    --cat-fashion: #ff6b6b;
    --cat-lifestyle: #f59e0b;
    --cat-food: #10b981;
    --cat-travel: #8b5cf6;
    --cat-sports: #ef4444;
    --cat-music: #ec4899;
    --cat-world: #06b6d4;
    --cat-politics: #f97316;
    --cat-gaming: #6366f1;
    --cat-health: #14b8a6;
    --cat-animal: #84cc16;

    --yd-accent: var(--color-primary);
    --yd-border: var(--color-border);
    --yd-bg-card: var(--color-white);
    --yd-bg-surface: var(--color-gray);
    --yd-text-primary: var(--color-black);
    --yd-text-secondary: var(--color-body);
    --yd-text-muted: var(--color-meta-normal);
    --yd-font: var(--font-body);
}

:root[data-theme="dark"] {
    --color-white: #000;
    --color-white-rgb: 0, 0, 0;
    --color-black: #fff;
    --color-black-rgb: 255, 255, 255;
    --color-body: #d7d7d7;
    --color-body-bg: #101213;
    --color-border: #222121;
    --color-gray: #171818;
}

/* === . TEMEL === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    width: 100%;
    height: 100%;
    text-rendering: optimizeLegibility;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.5;
    color: var(--color-body);
    background-color: var(--color-body-bg);
}

main {
    position: relative;
    transition: all 0.3s ease;
    z-index: 2;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--color-black);
    font-family: var(--font-title);
    line-height: 1.4;
    font-weight: 700;
    margin: 0;
}

h1 {
    font-size: 2.281rem;
    line-height: 1.333;
}

h2 {
    font-size: 1.802rem;
}

h3 {
    font-size: 1.424rem;
}

h4 {
    font-size: 1.266rem;
}

h5 {
    font-size: 1.125rem;
}

h6 {
    font-size: 1rem;
}

ul,
li {
    padding: 0;
    margin: 0;
    list-style: none;
}

a:link,
a:visited,
a:focus {
    text-decoration: none;
    outline: 0;
}

a {
    color: var(--color-primary);
    display: inline-block;
    transition: all 0.3s ease;
}

a:hover {
    text-decoration: none;
    color: var(--color-primary);
}

img {
    max-width: 100%;
    height: auto;
}

input,
textarea,
select,
:focus {
    outline: 0;
    box-shadow: none;
}

.konteynir {
    max-width: 1440px;

    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.main-row-wrapper {
    position: relative;
    width: 100%;
}

.main-row-content {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.layout-column {
    position: relative;
    width: 100%;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
}

.flex-break {
    width: 100% !important;
    flex-basis: 100% !important;
    height: 0 !important;
}

.yd-sticky-block {
    position: -webkit-sticky;
    position: sticky;
    top: 100px;
    z-index: 90;
    align-self: flex-start;

}

.section-padding {
    padding-top: 80px;
    padding-bottom: 80px;
}

.yd-section {
    position: relative;
    padding: 50px 0;
}

.yd-icerik-sidebar {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 30px;
}

.yd-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.yd-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.yd-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.yd-grid-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

/* === 4. SECTION TITLE — YDWEB CMS dot+line style === */
.yd-section-title {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 40px;
    margin-top: -3px;
}

.yd-section-title h2 {
    font-family: var(--font-title);
    font-size: 1.802rem;
    font-weight: 700;
    color: var(--color-black);
    white-space: nowrap;
    padding-bottom: 0;
    position: relative;
    margin: 0;
}

.yd-section-title h2::after {
    display: none;
}

.yd-section-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background-color: var(--color-primary);
    display: inline-block;
    flex-shrink: 0;
}

.yd-section-line {
    border: 1px solid var(--color-border);
    border-width: 1px 0;
    flex-grow: 1;
    height: 4px;
}

/* === 5. HEADER — YDWEB CMS style === */

.yd-ust-bar {
    background: #0a0a0b;
    border-bottom: 2px solid var(--color-primary);
    height: 44px;
    display: flex;
    align-items: center;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
}

.yd-ust-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.yd-ust-bar-left {
    display: flex;
    gap: 20px;
    align-items: center;
}

.yd-ust-bar-left span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--color-body);
}

.yd-ust-bar-left i {
    color: var(--color-primary);
    font-size: 12px;
}

.yd-ust-bar-right {
    display: flex;
    gap: 10px;
}

.yd-ust-bar-right a {
    color: var(--color-body);
    font-size: 13px;
    transition: color 0.3s;
}

.yd-ust-bar-right a:hover {
    color: var(--color-primary);
}

.yd-ticker-wrap {
    background: var(--color-white);
    color: var(--color-black);
    padding: 12px 0;
    overflow: hidden;
}

.yd-ticker-inner {
    display: flex;
    align-items: center;
    gap: 20px;
}

.yd-ticker-label {
    background: var(--color-primary);
    color: #fff;
    padding: 5px 16px;
    font-family: var(--font-title);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
    border-radius: var(--border-radius-xs);
    display: flex;
    align-items: center;
    gap: 6px;
}

.yd-ticker-label i {
    font-size: 11px;
}

.yd-ticker-track {
    flex: 1;
    overflow: hidden;
    position: relative;
    height: 24px;
}

.yd-ticker-content {
    display: flex;
    gap: 40px;
    animation: ticker-scroll 30s linear infinite;
    position: absolute;
    white-space: nowrap;
}

.yd-ticker-item {
    color: rgba(var(--color-white-rgb), 0.8);
    font-size: 14px;
    font-weight: 400;
    transition: color 0.3s;
    white-space: nowrap;
}

.yd-ticker-item:hover {
    color: var(--color-primary);
}

@keyframes ticker-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.yd-ust-kisim {
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.yd-ust-kisim.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.yd-ust-kisim-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    gap: 30px;
}

.yd-logo img {
    max-height: 40px;
}

.yd-logo span {
    font-family: var(--font-title);
    font-size: 28px;
    font-weight: 800;
    color: var(--color-black);
}

.yd-menu {
    display: flex;
    gap: 0;
}

.yd-menu>li {
    position: relative;
}

.yd-menu>li>a {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 28px 18px;
    font-family: var(--font-title);
    font-size: 15px;
    font-weight: 600;
    color: var(--color-black);
    transition: color 0.3s;
}

.yd-menu>li>a:hover,
.yd-menu>li:hover>a {
    color: var(--color-primary);
}

.yd-menu>li>a .chevron {
    font-size: 9px;
    transition: transform 0.3s;
}

.yd-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 999;
    padding: 10px 0;
}

.yd-menu>li:hover .yd-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.yd-dropdown a {
    display: block;
    padding: 8px 24px;
    font-size: 14px;
    color: var(--color-body);
    font-weight: 500;
    transition: all 0.3s;
}

.yd-dropdown a:hover {
    color: var(--color-primary);
    background: var(--color-gray);
    padding-left: 28px;
}

.yd-ust-kisim-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.yd-ust-kisim-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-border);
    background: transparent;
    color: var(--color-black);
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: var(--border-radius-xs);
}

.yd-ust-kisim-btn:hover {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

.yd-mobile-toggle {
    display: none;
}

/* === 6. SEARCH OVERLAY === */
.yd-arama-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.yd-arama-overlay.open {
    opacity: 1;
    visibility: visible;
}

.yd-arama-close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    border-radius: var(--border-radius-xs);
    display: flex;
    align-items: center;
    justify-content: center;
}

.yd-arama-box {
    width: 100%;
    max-width: 600px;
    padding: 0 20px;
}

.yd-arama-box input {
    width: 100%;
    padding: 18px 24px;
    font-size: 18px;
    font-family: var(--font-body);
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    outline: none;
}

.yd-arama-box input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* === . MOBIL MENU === */
.yd-mobil-perde {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s;
}

.yd-mobil-perde.active {
    opacity: 1;
    visibility: visible;
}

.yd-mobil-panel {
    position: fixed;
    top: 0;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    padding: 20px;
    border-right: 1px solid var(--color-border);
    transform: translateX(-101%);
}

.yd-mobil-panel.active {
    transform: translateX(0);
}

.yd-mobile-close {
    width: 36px;
    height: 36px;
    border: 1px solid var(--color-border);
    background: transparent;
    color: var(--color-black);
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border-radius: var(--border-radius-xs);
}

.yd-mobil-menu li {
    border-bottom: 1px solid var(--color-border);
}

.yd-mobil-menu li a {
    display: block;
    padding: 12px 0;
    font-family: var(--font-title);
    font-size: 15px;
    font-weight: 600;
    color: var(--color-black);
}

.yd-mobil-menu li a:hover {
    color: var(--color-primary);
}

.yd-mobile-sub {
    display: none;
    padding-left: 16px;
}

.yd-mobile-sub.open {
    display: block;
}

.yd-mobile-sub a {
    font-size: 14px;
    font-weight: 500;
    padding: 8px 0;
}

/* === . IC SAYFA BASLIK === */
.yd-page-hero {
    background: var(--color-gray);
    padding: 40px 0;
    border-bottom: 1px solid var(--color-border);
}

.yd-page-hero h1 {
    font-family: var(--font-title);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-black);
    margin-top: 10px;
}

.yd-gezinti-yolu {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.yd-gezinti-yolu a {
    color: var(--color-body);
    font-weight: 500;
}

.yd-gezinti-yolu a:hover {
    color: var(--color-primary);
}

.yd-gezinti-yolu i {
    font-size: 10px;
    color: var(--color-meta-normal);
}

.yd-gezinti-yolu span {
    color: var(--color-primary);
    font-weight: 600;
}

/* === 9. CATEGORY BADGES === */
.yd-badge {
    display: inline-block;
    font-family: var(--font-title);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: var(--border-radius-xs);
    color: #fff;
    background: var(--color-cat-normal);
    letter-spacing: 0.3px;
}

.cat-technology {
    background: var(--cat-technology);
}

.cat-fashion {
    background: var(--cat-fashion);
}

.cat-yasam,
.cat-lifestyle {
    background: var(--cat-lifestyle);
}

.cat-yemek,
.cat-food {
    background: var(--cat-food);
}

.cat-seyahat,
.cat-travel {
    background: var(--cat-travel);
}

.cat-spor,
.cat-sports {
    background: var(--cat-sports);
}

.cat-muzik,
.cat-music {
    background: var(--cat-music);
}

.cat-dunya,
.cat-world {
    background: var(--cat-world);
}

.cat-politika,
.cat-politics {
    background: var(--cat-politics);
}

.cat-oyun,
.cat-gaming {
    background: var(--cat-gaming);
}

.cat-saglik,
.cat-health {
    background: var(--cat-health);
}

.cat-default {
    background: var(--color-cat-normal);
}

/* === 10. META INFO === */
.yd-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.yd-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: rgba(var(--color-white-rgb), 0.7);
}

.yd-meta span i {
    font-size: 12px;
}

.yd-meta.dark-meta span {
    color: var(--color-meta-normal);
}

/* === 11. OVERLAY CARD (Hero/Banner) === */
.yd-perde-card {
    position: relative;
    overflow: hidden;
    display: block;
    border-radius: var(--border-radius-sm);
}

.yd-perde-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.85) 100%);
    z-index: 1;
    transition: all 0.3s;
}

.yd-perde-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.yd-perde-card:hover img {
    transform: scale(1.05);
}

.yd-kart-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    z-index: 2;
    color: #fff;
}

.yd-kart-overlay .yd-badge {
    margin-bottom: 10px;
}

.yd-kart-overlay h3 {
    font-family: var(--font-title);
    font-size: 1.424rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.35;
    margin-bottom: 0;
}

.yd-kart-overlay h3 a {
    color: #fff;
}

.yd-kart-overlay h3 a:hover {
    color: var(--color-primary);
}

/* === 12. STANDARD CARD (Post card) === */
.yd-kart {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    transition: all 0.3s ease;
}

.yd-kart:hover {
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.yd-kart-img {
    position: relative;
    overflow: hidden;
    display: block;
}

.yd-kart-img .yd-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
}

.yd-kart-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.yd-kart:hover .yd-kart-img img {
    transform: scale(1.05);
}

.yd-kart-body {
    padding: 18px;
}

.yd-kart-body h3,
.yd-kart-body h4 {
    font-family: var(--font-title);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-black);
    line-height: 1.4;
    margin-bottom: 8px;
}

.yd-kart-body h3 a,
.yd-kart-body h4 a {
    color: var(--color-black);
}

.yd-kart-body h3 a:hover,
.yd-kart-body h4 a:hover {
    color: var(--color-primary);
}

/* === 13. HORIZONTAL CARD (hcard) === */
.yd-hcard {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--color-border);
    align-items: flex-start;
}

.yd-hcard:last-child {
    border-bottom: none;
}

.yd-hcard-img {
    width: 100px;
    height: 80px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: var(--border-radius-xs);
    display: block;
}

.yd-hcard-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.yd-hcard:hover .yd-hcard-img img {
    transform: scale(1.05);
}

.yd-hcard-body {
    flex: 1;
    min-width: 0;
}

.yd-hcard-body h4 {
    font-family: var(--font-title);
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-black);
    line-height: 1.4;
    margin: 0;
}

.yd-hcard-body h4 a {
    color: var(--color-black);
}

.yd-hcard-body h4 a:hover {
    color: var(--color-primary);
}

/* === 14. WIDE HORIZONTAL CARD (wcard) === */
.yd-wcard {
    display: flex;
    gap: 24px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    transition: all 0.3s;
}

.yd-wcard:hover {
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.06);
}

.yd-wcard-img {
    width: 280px;
    flex-shrink: 0;
    overflow: hidden;
    display: block;
}

.yd-wcard-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.yd-wcard:hover .yd-wcard-img img {
    transform: scale(1.05);
}

.yd-wcard-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
}

.yd-wcard-body .yd-badge {
    margin-bottom: 10px;
}

.yd-wcard-body h3 {
    font-family: var(--font-title);
    font-size: 1.266rem;
    font-weight: 700;
    color: var(--color-black);
    line-height: 1.4;
    margin-bottom: 8px;
}

.yd-wcard-body h3 a {
    color: var(--color-black);
}

.yd-wcard-body h3 a:hover {
    color: var(--color-primary);
}

.yd-wcard-body p {
    font-size: 14px;
    color: var(--color-body);
    line-height: 1.6;
    margin-bottom: 12px;
}

.yd-read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-title);
    font-size: 13px;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.yd-read-more:hover {
    gap: 10px;
}

/* === 15. TABS — YDWEB CMS style === */
.yd-tabs {
    display: flex;
    gap: 5px;
    margin-bottom: 24px;
    border-bottom: 2px solid var(--color-border);
    padding-bottom: 0;
}

.yd-tab-btn {
    font-family: var(--font-title);
    font-size: 14px;
    font-weight: 700;
    color: var(--color-body);
    padding: 12px 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    bottom: -2px;
    border-bottom: 2px solid transparent;
}

.yd-tab-btn:hover {
    color: var(--color-primary);
}

.yd-tab-btn.active {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
}

.yd-tab-panel {
    display: none;
}

.yd-tab-panel.active {
    display: block;
}

/* === 16. SOCIAL STATS BAR === */
.yd-sosyal-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.yd-sosyal-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    color: #fff;
    text-align: center;
    border-radius: var(--border-radius-sm);
    transition: all 0.3s;
}

.yd-sosyal-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    color: #fff;
}

.yd-sosyal-box i {
    font-size: 24px;
    margin-bottom: 8px;
}

.yd-sosyal-count {
    font-family: var(--font-title);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 2px;
}

.yd-sosyal-label {
    font-size: 13px;
    opacity: 0.9;
}

/* === 17. HOT CATEGORIES GRID === */
.yd-hotcat-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.yd-hotcat-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-sm);
    display: block;
    aspect-ratio: 1;
}

.yd-hotcat-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.yd-hotcat-item:hover img {
    transform: scale(1.1);
}

.yd-hotcat-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.8));
    z-index: 1;
}

.yd-hotcat-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    z-index: 2;
    color: #fff;
    text-align: center;
}

.yd-hotcat-info h4 {
    font-family: var(--font-title);
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2px;
}

.yd-hotcat-info span {
    font-size: 13px;
    opacity: 0.8;
}

/* === 18. NEWSLETTER === */
.yd-newsletter {
    background: var(--color-primary);
    padding: 40px;
    border-radius: var(--border-radius-sm);
    text-align: center;
    color: #fff;
}

.yd-newsletter h3 {
    font-family: var(--font-title);
    font-size: 1.424rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.yd-newsletter p {
    font-size: 15px;
    opacity: 0.9;
    margin-bottom: 20px;
    color: #fff;
}

.yd-newsletter-form {
    display: flex;
    max-width: 480px;
    margin: 0 auto;
    gap: 0;
}

.yd-newsletter-form input {
    flex: 1;
    padding: 14px 20px;
    font-size: 15px;
    font-family: var(--font-body);
    border: none;
    border-radius: var(--border-radius-xl) 0 0 var(--border-radius-xl);
    outline: none;
}

.yd-newsletter-form button {
    padding: 14px 28px;
    font-family: var(--font-title);
    font-size: 14px;
    font-weight: 700;
    color: var(--color-primary);
    background: var(--color-black);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 0 var(--border-radius-xl) var(--border-radius-xl) 0;
    text-transform: uppercase;
}

.yd-newsletter-form button:hover {
    opacity: 0.9;
}

/* === 19. SIDEBAR === */
.yd-yan_menu-title {
    font-family: var(--font-title);
    font-size: 1.266rem;
    font-weight: 700;
    color: var(--color-black);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--color-border);
    position: relative;
}

.yd-yan_menu-title::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--color-primary);
}

/* === 20. PAGINATION === */
.yd-pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 40px;
}

.yd-pagination a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-title);
    font-size: 14px;
    font-weight: 700;
    color: var(--color-body);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-xs);
    transition: all 0.3s;
}

.yd-pagination a.active,
.yd-pagination a:hover {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

/* === 21. BUTTONS === */
.yd-buton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-title);
    font-size: 14px;
    font-weight: 700;
    padding: 12px 28px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: var(--border-radius-xs);
    text-transform: uppercase;
}

.yd-buton-accent {
    background: var(--color-primary);
    color: #fff;
}

.yd-buton-accent:hover {
    opacity: 0.9;
    color: #fff;
}

.yd-buton-outline {
    background: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-body);
}

.yd-buton-outline:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

/* === 22. AUTHOR CARD === */
.yd-yazar-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-sm);
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s;
}

.yd-yazar-card:hover {
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
}

.yd-yazar-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 16px;
    border: 3px solid var(--color-border);
}

.yd-yazar-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.yd-yazar-card h4 {
    font-family: var(--font-title);
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.yd-yazar-card h4 a {
    color: var(--color-black);
}

.yd-yazar-card h4 a:hover {
    color: var(--color-primary);
}

.yd-yazar-title {
    font-size: 13px;
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 10px;
}

.yd-yazar-bio {
    font-size: 14px;
    color: var(--color-body);
    line-height: 1.6;
    margin-bottom: 16px;
}

.yd-yazar-socials {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
}

.yd-yazar-socials a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: var(--color-body);
    transition: all 0.3s;
}

.yd-yazar-socials a:hover {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

.yd-yazar-count {
    font-size: 14px;
    color: var(--color-meta-normal);
}

.yd-yazar-count span {
    font-weight: 700;
    color: var(--color-primary);
}

/* === 23. PROSE (article content) === */
.yd-prose {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-body);
}

.yd-prose p {
    margin-bottom: 1.2em;
}

.yd-prose h2 {
    font-size: 1.6rem;
    margin: 1.5em 0 0.6em;
}

.yd-prose h3 {
    font-size: 1.3rem;
    margin: 1.3em 0 0.5em;
}

.yd-prose img {
    max-width: 100%;
    height: auto;
    margin: 1.5em 0;
    border-radius: var(--border-radius-sm);
}

.yd-prose blockquote {
    border-left: 4px solid var(--color-primary);
    padding: 16px 24px;
    margin: 1.5em 0;
    background: var(--color-gray);
    font-style: italic;
    border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
}

.yd-prose ul,
.yd-prose ol {
    padding-left: 1.5em;
    margin-bottom: 1.2em;
}

.yd-prose li {
    margin-bottom: 0.5em;
}

/* === . ALT KISIM === */
.yd-alt-kisim {
    background: var(--color-black);
    color: rgba(var(--color-white-rgb), 0.7);
    padding: 60px 0 0;
}

.yd-alt-kisim-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.yd-alt-kisim h4 {
    font-family: var(--font-title);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 20px;
}

.yd-alt-kisim p {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(var(--color-white-rgb), 0.6);
    margin-bottom: 16px;
}

.yd-alt-kisim-logo {
    margin-bottom: 16px;
}

.yd-alt-kisim-logo img {
    max-height: 36px;
}

.yd-alt-kisim-socials {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

.yd-alt-kisim-socials a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(var(--color-white-rgb), 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: rgba(var(--color-white-rgb), 0.6);
    transition: all 0.3s;
}

.yd-alt-kisim-socials a:hover {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

.yd-alt-kisim-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    margin-bottom: 14px;
    color: rgba(var(--color-white-rgb), 0.6);
}

.yd-alt-kisim-contact li i {
    color: var(--color-primary);
    margin-top: 4px;
    font-size: 14px;
}

.yd-alt-kisim-contact a {
    color: rgba(var(--color-white-rgb), 0.6);
}

.yd-alt-kisim-contact a:hover {
    color: var(--color-primary);
}

.yd-alt-kisim-cats li {
    margin-bottom: 0;
}

.yd-alt-kisim-cats a {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 15px;
    color: rgba(var(--color-white-rgb), 0.6);
    border-bottom: 1px solid rgba(var(--color-white-rgb), 0.1);
    transition: all 0.3s;
}

.yd-alt-kisim-cats a:hover {
    color: var(--color-primary);
    padding-left: 4px;
}

.yd-alt-kisim-cats a span:last-child {
    font-size: 13px;
}

.yd-alt-kisim-bottom {
    border-top: 1px solid rgba(var(--color-white-rgb), 0.1);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: rgba(var(--color-white-rgb), 0.5);
}

.yd-alt-kisim-bottom a {
    color: var(--color-primary);
}

/* === 25. BACK TO TOP === */
#back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 40px;
    height: 40px;
    font-size: 1rem;
    background: var(--color-primary);
    color: #fff;
    display: none;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    z-index: 99;
    border-radius: var(--border-radius-xs);
    transition: all 0.3s;
}

#back-to-top:hover {
    background: #0034c2;
}

#back-to-top.show {
    display: flex;
}

/* === 26. WHATSAPP FLOAT === */
.yd-whatsapp-float {
    position: fixed;
    right: 30px;
    bottom: 80px;
    width: 50px;
    height: 50px;
    background: var(--color-wh);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    z-index: 98;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
}

.yd-whatsapp-float:hover {
    transform: scale(1.1);
    color: #fff;
}

/* === 27. THEME TOGGLE ICONS === */
[data-theme="light"] .yd-ikon-sun {
    display: none !important;
}

[data-theme="light"] .yd-ikon-moon {
    display: inline !important;
}

[data-theme="dark"] .yd-ikon-sun {
    display: inline !important;
}

[data-theme="dark"] .yd-ikon-moon {
    display: none !important;
}

/* === 28. REVEAL ANIMATION === */
.yd-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.yd-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1200px) {
    .yd-grid-4 {
        grid-template-columns: repeat(3, 1fr);
    }

    .yd-grid-5 {
        grid-template-columns: repeat(3, 1fr);
    }

    .yd-sosyal-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .yd-hotcat-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
    .yd-icerik-sidebar {
        grid-template-columns: 1fr;
    }

    .yd-grid-2 {
        grid-template-columns: 1fr;
    }

    .yd-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .yd-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .yd-alt-kisim-grid {
        grid-template-columns: 1fr 1fr;
    }

    .yd-menu {
        display: none;
    }

    .yd-mobile-toggle {
        display: flex;
    }

    .yd-ust-kisim-inner {
        height: 65px;
    }

    h1 {
        font-size: 2rem;
    }

    .yd-section {
        padding: 40px 0;
    }

    .yd-wcard {
        flex-direction: column;
    }

    .yd-wcard-img {
        width: 100%;
        height: 200px;
    }
}

@media (max-width: 767px) {
    .yd-grid-3 {
        grid-template-columns: 1fr;
    }

    .yd-grid-4 {
        grid-template-columns: 1fr;
    }

    .yd-grid-5 {
        grid-template-columns: repeat(2, 1fr);
    }

    .yd-sosyal-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .yd-hotcat-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .yd-alt-kisim-grid {
        grid-template-columns: 1fr;
    }

    .yd-alt-kisim-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .yd-ust-bar-left {
        display: none;
    }

    .yd-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .yd-tab-btn {
        white-space: nowrap;
        padding: 10px 16px;
        font-size: 13px;
    }

    .yd-newsletter {
        padding: 30px 20px;
    }

    .yd-newsletter-form {
        flex-direction: column;
        gap: 10px;
    }

    .yd-newsletter-form input,
    .yd-newsletter-form button {
        border-radius: var(--border-radius-xl);
    }

    .section-padding {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    h1 {
        font-size: 1.6rem;
    }
}

/* === FOOTER — YDWEB CMS Premium Style === */
.yd-alt-kisim {
    background-color: var(--color-dark-bg);
    color: #aeafb1;
    font-size: 15px;
}

.yd-alt-kisim-newsletter {
    background-color: var(--color-dark-bg_2);
    padding: 40px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.yd-newsletter-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.yd-newsletter-info h3 {
    color: #fff;
    font-family: var(--font-title);
    font-size: 24px;
    margin-bottom: 5px;
}

.yd-newsletter-form {
    display: flex;
    gap: 15px;
    flex: 0 1 500px;
}

.yd-newsletter-input {
    position: relative;
    flex: 1;
}

.yd-newsletter-input i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
}

.yd-newsletter-input input {
    width: 100%;
    height: 50px;
    padding: 0 20px 0 45px;
    background: var(--color-dark-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-xs);
    color: #fff;
    outline: none;
}

.yd-alt-kisim-main {
    padding: 80px 0;
}

.yd-alt-kisim-grid {
    display: grid;
    grid-template-columns: 1.2fr 1.2fr 1fr 1.2fr;
    gap: 40px;
}

.yd-alt-kisim-col p {
    line-height: 1.6;
    margin: 20px 0;
}

.yd-alt-kisim-title {
    color: #fff;
    font-family: var(--font-title);
    font-size: 20px;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.yd-alt-kisim-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: var(--color-primary);
}

.yd-alt-kisim-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.yd-alt-kisim-links li {
    margin-bottom: 12px;
}

.yd-alt-kisim-links a {
    color: #aeafb1;
    transition: all 0.3s;
    display: inline-block;
}

.yd-alt-kisim-links a:hover {
    color: var(--color-primary);
    transform: translateX(5px);
}

.cats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 20px;
}

.yd-alt-kisim-socials {
    display: flex;
    gap: 10px;
}

.yd-alt-kisim-socials a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.yd-alt-kisim-socials a:hover {
    background: var(--color-primary);
    transform: translateY(-3px);
}

.yd-alt-kisim-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.yd-gallery-item {
    position: relative;
    border-radius: var(--border-radius-xs);
    overflow: hidden;
    aspect-ratio: 1/1;
}

.yd-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.yd-gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(41, 98, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    opacity: 0;
    transition: all 0.3s;
}

.yd-gallery-item:hover .yd-gallery-overlay {
    opacity: 1;
}

.yd-alt-kisim-bottom {
    background: var(--color-dark-bg_2);
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.yd-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.yd-bottom-links {
    display: flex;
    gap: 20px;
}

.yd-bottom-links a {
    color: #888;
    font-size: 14px;
}

.yd-bottom-links a:hover {
    color: var(--color-primary);
}

.yd-whatsapp-float {
    position: fixed;
    bottom: 90px;
    right: 24px;
    width: 55px;
    height: 55px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    z-index: 9998;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

@media (max-width: 991px) {
    .yd-newsletter-inner {
        flex-direction: column;
        text-align: center;
    }

    .yd-alt-kisim-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .yd-alt-kisim-grid {
        grid-template-columns: 1fr;
    }

    .yd-bottom-inner {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* === INNER PAGE HERO — YDWEB CMS style === */
.yd-page-hero {
    background-color: var(--color-dark-bg);
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    text-align: center;
    color: #fff;
    margin-bottom: 60px;
}

.yd-ana-blok-content h1 {
    font-family: var(--font-title);
    font-size: 3rem;
    font-weight: 800;
    color: #fff !important;
    text-transform: uppercase;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.yd-gezinti-yolu {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.yd-gezinti-yolu a {
    color: #ccc;
    transition: color 0.3s;
}

.yd-gezinti-yolu a:hover {
    color: var(--color-primary);
}

.yd-gezinti-yolu .sep {
    color: #666;
}

.yd-gezinti-yolu .current {
    color: var(--color-primary);
}

@media (max-width: 768px) {
    .yd-page-hero {
        padding: 60px 0;
    }

    .yd-ana-blok-content h1 {
        font-size: 2rem;
    }
}

/* === SINGLE POST DETAILS === */
.yd-reading-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--color-primary);
    z-index: 99999;
    width: 0%;
    transition: width 0.1s;
}

.yd-post-header-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.yd-post-featured-img {
    margin-bottom: 35px;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
}

.yd-post-featured-img img {
    width: 100%;
    height: auto;
    display: block;
}

.yd-prose {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--color-body);
}

.yd-prose p {
    margin-bottom: 24px;
}

.yd-prose h2,
.yd-prose h3 {
    color: var(--color-black);
    margin: 40px 0 20px;
    font-family: var(--font-title);
}

.yd-prose img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

.yd-post-actions {
    margin: 40px 0;
    padding-top: 30px;
    border-top: 1px solid var(--color-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.yd-like-btn {
    padding: 10px 24px;
    border: 1px solid var(--color-border);
    background: transparent;
    color: var(--color-black);
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    border-radius: var(--border-radius-xs);
}

.yd-like-btn.active {
    border-color: #ff2962;
    color: #ff2962;
}

.yd-like-btn:hover {
    background: #f8f9fa;
}

.yd-share-btns {
    display: flex;
    gap: 10px;
}

.yd-share-btns a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.share-fb {
    background: #3b5998;
}

.share-tw {
    background: #1da1f2;
}

.share-wa {
    background: #25d366;
}

.yd-single-author-box {
    margin: 60px 0;
    padding: 40px;
    background: #f8f9fa;
    border-radius: var(--border-radius-sm);
    display: flex;
    gap: 30px;
    align-items: center;
}

.yd-single-author-box .yd-yazar-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 4px solid #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.yd-yazar-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.yd-yazar-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--color-primary);
    display: block;
    margin-bottom: 5px;
}

.yd-yazar-info h4 {
    font-size: 22px;
    margin-bottom: 5px;
    font-family: var(--font-title);
}

.yd-yazar-tag {
    font-size: 13px;
    color: var(--color-meta-normal);
    display: block;
    margin-bottom: 10px;
}

.yd-buton-text {
    font-weight: 700;
    color: var(--color-black);
    text-decoration: none;
    font-size: 14px;
    margin-top: 10px;
    display: inline-block;
}

.yd-buton-text:hover {
    color: var(--color-primary);
}

.yd-related-posts {
    margin-top: 60px;
}

.yd-simple-card .yd-simple-img {
    aspect-ratio: 16/10;
    display: block;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 15px;
}

.yd-simple-card .yd-simple-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.yd-simple-card:hover img {
    transform: scale(1.1);
}

.yd-simple-body h4 {
    font-size: 18px;
    line-height: 1.4;
    margin-top: 8px;
    font-weight: 700;
}

.yd-cat-link {
    font-size: 12px;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .yd-single-author-box {
        flex-direction: column;
        text-align: center;
    }
}