:root {
    --hd-primary: #dc2626;
    --hd-dark: #0f172a;
    --hd-text: #334155;
    --hd-muted: #64748b;
    --hd-bg: #f8fafc;
    --hd-card-bg: #ffffff;
    --hd-border: #e2e8f0;
}

body {
    background-color: var(--hd-bg);
}

.content-wrapper.hd-page-container {
    margin-top: 0 !important;
    padding-top: 40px !important;
    padding-bottom: 80px !important;
    background-color: var(--hd-bg) !important;
    position: relative;
}

.hd-article-card {
    background: var(--hd-card-bg);
    border: 1px solid var(--hd-border);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 30px rgba(15, 23, 42, 0.03);
    margin-bottom: 40px;
}

.hd-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    padding: 0;
    margin: 0 0 20px 0;
    list-style: none;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
}
.hd-breadcrumb li {
    display: flex;
    align-items: center;
    color: var(--hd-muted);
}
.hd-breadcrumb li a {
    color: var(--hd-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}
.hd-breadcrumb li a:hover {
    color: var(--hd-primary);
}
.hd-breadcrumb li.hd-bc-active {
    color: var(--hd-primary);
    font-weight: 600;
}
.hd-breadcrumb li:not(:last-child)::after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-top: 2px solid #94a3b8;
    border-right: 2px solid #94a3b8;
    transform: rotate(45deg);
    margin-left: 12px;
    margin-right: 8px;
}

.hd-main-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(26px, 4vw, 38px);
    font-weight: 800;
    color: var(--hd-dark);
    line-height: 1.25;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.hd-spot-content {
    font-family: 'Inter', sans-serif;
    font-size: clamp(17px, 2.5vw, 20px);
    line-height: 1.65;
    color: #334155;
    font-weight: 600;
    margin-bottom: 25px;
    padding-left: 15px;
    border-left: 4px solid var(--hd-primary);
}

.hd-post-img-wrap {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.hd-post-img-wrap img {
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: cover;
    display: block;
}

.hd-action-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    background: #f1f5f9;
    border-radius: 12px;
    border: 1px solid var(--hd-border);
    padding: 12px 20px;
    margin-bottom: 30px;
}

.hd-meta-box {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.hd-meta-box li {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--hd-text);
    display: flex;
    align-items: center;
    gap: 8px;
}
.hd-meta-box li i {
    color: var(--hd-primary);
    font-size: 16px;
}

.hd-tools-box {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.hd-font-resizer {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid var(--hd-border);
    border-radius: 8px;
    padding: 2px;
}
.hd-font-resizer button {
    border: none;
    background: transparent;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--hd-text);
    cursor: pointer;
    transition: all 0.2s;
    border-radius: 6px;
}
.hd-font-resizer button:hover {
    background: var(--hd-bg);
    color: var(--hd-primary);
}

.hd-share-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
}
.hd-share-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    transition: transform 0.2s;
}
.hd-share-btn:hover {
    transform: translateY(-2px);
    color: #ffffff;
}
.hd-share-tw { background-color: #1da1f2; }
.hd-share-fb { background-color: #1877f2; }
.hd-share-wp { background-color: #25d366; }
.hd-share-tg { background-color: #0088cc; }

.hd-content-with-toolbar {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}



.hd-post-content {
    font-family: 'Inter', sans-serif;
    font-size: 17.5px;
    line-height: 1.85;
    color: var(--hd-dark);
    transition: font-size 0.2s ease;
}
.hd-post-content p {
    margin-bottom: 24px;
}
.hd-post-content strong {
    color: #000000;
    font-weight: 700;
}

.hd-section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--hd-dark);
    margin-top: 40px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.hd-section-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 22px;
    background: var(--hd-primary);
    border-radius: 2px;
}

.hd-gallery-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hd-gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.1);
}
.hd-gallery-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.hd-sidebar-widget {
    background: var(--hd-card-bg);
    border: 1px solid var(--hd-border);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 30px rgba(15, 23, 42, 0.03);
    position: sticky;
    top: 20px;
}
.hd-sidebar-title {
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--hd-dark);
    margin-bottom: 25px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--hd-border);
    position: relative;
}
.hd-sidebar-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--hd-primary);
}

.hd-pp-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px dashed var(--hd-border);
}
.hd-pp-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}
.hd-pp-img {
    flex: 0 0 90px;
    width: 90px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
}
.hd-pp-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hd-pp-info {
    flex: 1;
}
.hd-pp-info span {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: var(--hd-muted);
    display: block;
    margin-bottom: 5px;
}
.hd-pp-info h6 {
    margin: 0;
    line-height: 1.4;
}
.hd-pp-info h6 a {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--hd-dark);
    text-decoration: none;
    transition: color 0.2s ease;
}
.hd-pp-info h6 a:hover {
    color: var(--hd-primary);
}

.hd-comments-wrapper {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--hd-border);
}
.hd-comment-item {
    display: flex;
    gap: 16px;
    background: #f8fafc;
    border: 1px solid var(--hd-border);
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 16px;
    transition: transform 0.2s;
}
.hd-comment-item:hover {
    transform: translateY(-2px);
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}
.hd-comment-avatar {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #e2e8f0;
    color: var(--hd-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 600;
}
.hd-comment-meta h5 {
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--hd-dark);
    margin: 0 0 2px 0;
}
.hd-comment-meta span {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    color: var(--hd-muted);
}
.hd-comment-text {
    font-family: 'Inter', sans-serif;
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--hd-text);
    margin-top: 8px;
}
.hd-comment-form-box {
    background: #f1f5f9;
    border-radius: 14px;
    padding: 24px;
    margin-top: 40px;
    border: 1px solid var(--hd-border);
}
.hd-comment-form-box .form-control {
    background: #ffffff;
    border: 1px solid var(--hd-border);
    border-radius: 10px;
    padding: 12px 16px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: var(--hd-dark);
    box-shadow: none;
    transition: all 0.2s;
}
.hd-comment-form-box .form-control:focus {
    border-color: var(--hd-primary);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}
.hd-comment-submit-btn {
    background: var(--hd-primary);
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    border: none;
    padding: 12px 28px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.hd-comment-submit-btn:hover {
    background: #b91c1c;
    transform: translateY(-1px);
}

.hd-flyout-recommendation {
    position: fixed;
    bottom: 24px;
    left: -400px;
    width: 360px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.08);
    padding: 16px;
    z-index: 9999;
    display: flex;
    gap: 12px;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.hd-flyout-recommendation.hd-show {
    transform: translateX(424px);
}
.hd-flyout-close {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 24px;
    height: 24px;
    background: var(--hd-dark);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    border: 2px solid #fff;
    transition: all 0.2s;
}
.hd-flyout-close:hover {
    background: var(--hd-primary);
    transform: scale(1.1);
}
.hd-flyout-img {
    flex: 0 0 100px;
    width: 100px;
    height: 75px;
    border-radius: 8px;
    overflow: hidden;
}
.hd-flyout-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hd-flyout-info {
    flex: 1;
}
.hd-flyout-badge {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: var(--hd-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 4px;
}
.hd-flyout-title {
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--hd-dark);
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-decoration: none;
}
.hd-flyout-title:hover {
    color: var(--hd-primary);
}


/* Ana taşıyıcının sınırlarını belirle (Yüksekliği doldurması için bottom eklendi) */
.hd-page-container .container {
    position: relative;
}

/* Sol Kule Reklam Sütunu */
.hd-side-ad-left {
    position: absolute;
    top: 0;
    bottom: 0;
    left: -175px; /* Container'ın tam dış sol sınırına yasla */
    width: 160px;
    z-index: 10;
}

/* Sağ Kule Reklam Sütunu */
.hd-side-ad-right {
    position: absolute;
    top: 0;
    bottom: 0;
    right: -175px; /* Container'ın tam dış sağ sınırına yasla */
    width: 160px;
    z-index: 10;
}

/* Her iki sütunun içindeki asıl reklam alanını sticky yapıyoruz */
.hd-side-ad-left > div,
.hd-side-ad-right > div {
    position: sticky;
    top: 90px; /* Sayfa kayarken siyah menünün altında kalacağı milimetrik boşluk */
}

/* Ekran küçükse reklamlar içeriğe girmesin diye gizle (Mobil Koruması) */
@media (max-width: 1560px) {
    .hd-side-ad-left, 
    .hd-side-ad-right {
        display: none !important;
    }
}

/* Ekran küçükse reklamlar içeriğe girmesin diye gizle */
@media (max-width: 1560px) {
    .hd-side-ad-left, 
    .hd-side-ad-right {
        display: none !important;
    }
}



@media (max-width: 480px) {
    .hd-flyout-recommendation { width: calc(100% - 32px); bottom: 16px; }
    .hd-flyout-recommendation.hd-show { transform: translateX(416px); }
    .hd-comment-item { flex-direction: column; gap: 10px; }
}
@media (max-width: 991px) {
    .hd-action-bar { flex-direction: column; align-items: flex-start; gap: 20px; }
    .hd-tools-box { width: 100%; justify-content: space-between; }
}
@media (max-width: 768px) {
    .content-wrapper.hd-page-container { padding-top: 20px !important; padding-bottom: 40px !important; }
    .hd-article-card { padding: 16px; border-radius: 12px; }
    .hd-meta-box { gap: 12px; }
}