.diagonal-banner {
    position: relative;
    height: 420px;
    width: 100%;
    overflow: hidden;
    border-bottom: 8px solid var(--primary-color);
}
.banner-left {
    position: absolute;
    left: 0;
    top: 0;
    width: 62%;
    height: 100%;
    background-color: var(--accent-color);
    z-index: 1;
}
.banner-right {
    position: absolute;
    right: 0;
    top: 0;
    width: 55%;
    height: 101%;
    z-index: 2;

    clip-path: polygon(
        12% 0%,
        100% 0%,
        100% 100%,
        0% 100%
    );

    overflow: hidden; /* pseudo-element taşmasın */
}

.banner-right img {
    width: 100%;
    height: 100%;

    /* Resmi bozmadan alanı doldur */
    object-fit: cover;

    /* Odak noktasını ortala */
    object-position: center;

    display: block;
}
.banner-content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    align-items: center;
}
@media (max-width: 991px) {

    .banner-left {
        display: none;
    }

    .banner-right {
        width: 100%;
        clip-path: none;
    }
}
.banner-right::before {
    content: "";
    position: absolute;
    inset: 0;

    /* BORDER RENGİ */
    background-color: var(--primary-color); /* veya sarı / siyah / kurumsal renk */

    /* BORDER KALINLIĞI = bu scale ile kontrol edilir */
    transform: scale(1.04);

    /* AYNI KESİM */
    clip-path: polygon(
        12% 0%,
        100% 0%,
        100% 100%,
        0% 100%
    );

    z-index: -1;
}
.page-header-box h1 {
    display: inline-block;
    font-size: 80px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.02em;
    margin-bottom: 10px;
    cursor: none;
    text-shadow:
        -2px -2px 0 var(--accent-color),
         2px -2px 0 var(--accent-color),
        -2px  2px 0 var(--accent-color),
         2px  2px 0 var(--accent-color);
}

/* Post Meta Info Styling */
.post-meta-info {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px 0;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 30px;
}

.post-meta-info .meta-item {
    display: flex;
    align-items: center;
}

.post-meta-info .meta-item span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666;
}

.post-meta-info .meta-item i {
    color: #999;
}

.post-meta-info .meta-item a {
    color: #333;
    font-weight: 600;
}

.post-meta-info .meta-item a:hover {
    color: var(--primary-color);
}

/* Post Image */
.post-image {
    margin-bottom: 40px;
    border-radius: 10px;
    overflow: hidden;
}

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

/* Post Navigation */
.post-navigation {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid #e5e5e5;
}

.post-navigation .nav-previous a,
.post-navigation .nav-next a {
    display: block;
    padding: 15px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.post-navigation .nav-previous a:hover,
.post-navigation .nav-next a:hover {
    border-color: var(--primary-color);
    background: #f8f9ff;
}

.post-navigation span {
    display: block;
    font-size: 12px;
    color: #999;
    margin-bottom: 5px;
}

.post-navigation h6 {
    margin: 0;
    font-size: 14px;
    color: #333;
}

/* Related Posts */
.related-posts {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 2px solid #e5e5e5;
}

.related-posts h3 {
    margin-bottom: 30px;
    font-size: 24px;
}

.related-post-item {
    margin-bottom: 20px;
}

.related-post-image {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
}

.related-post-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-post-item:hover .related-post-image img {
    transform: scale(1.05);
}

.related-post-content h6 a {
    color: #333;
    font-size: 16px;
    line-height: 1.4;
}

.related-post-content h6 a:hover {
    color: var(--primary-color);
}

/* Sidebar Widgets */
.sidebar-wrapper {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
}

/* Widget Title - Dekoratif Yapı (Sarı + Mavi) */
.sidebar-widget .widget-title {
    position: relative;
    margin-bottom: 30px;
    padding: 0;
}

.sidebar-widget .widget-title .section-title-left,
.sidebar-widget .widget-title .section-title-right {
    position: absolute;
    width: 60px;
    height: 60px;
    z-index: 1;
}

.sidebar-widget .widget-title .section-title-left {
    top: 0;
    left: 0;
    background-color: var(--accent-color);
    clip-path: polygon(0 0, 88% 0%, 0% 88%);
}

.sidebar-widget .widget-title .section-title-left::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: var(--accent-color);
    transform: scale(1.04);
    clip-path: polygon(0 0, 100% 0%, 0% 100%);
    z-index: -1;
}

.sidebar-widget .widget-title .section-title-right {
    top: 0;
    right: 0;
    background-color: var(--primary-color);
    clip-path: polygon(12% 0%, 100% 0%, 100% 88%);
}

.sidebar-widget .widget-title .section-title-right::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: var(--primary-color);
    transform: scale(1.04);
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%);
    z-index: -1;
}

.sidebar-widget .widget-title .section-title-content {
    position: relative;
    background-color: var(--primary-color);
    padding: 15px 20px;
    text-align: center;
    z-index: 9;
}

.sidebar-widget .widget-title .section-title-content h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--white-color, #ffffff);
    margin: 0;
    z-index: 4;
}

.widget-search input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}

.widget-search button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
}

.search-box {
    position: relative;
}

.widget-recent-posts ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget-recent-posts li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #ddd;
}

.widget-recent-posts li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.widget-recent-posts .post-thumb {
    flex-shrink: 0;
}

.widget-recent-posts .post-thumb img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
}

.widget-recent-posts .post-title a {
    color: #333;
    font-size: 14px;
    line-height: 1.4;
}

.widget-recent-posts .post-title a:hover {
    color: var(--primary-color);
}

.widget-recent-posts .post-date {
    font-size: 12px;
    color: #999;
    display: block;
    margin-top: 5px;
}

.widget-categories ul,
.widget-tags ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget-categories li {
    margin-bottom: 10px;
}

.widget-categories li a {
    color: #333;
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    transition: color 0.3s ease;
}

.widget-categories li a:hover {
    color: var(--primary-color);
}

.widget-categories .count {
    color: #999;
}

.widget-tags .tagcloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.widget-tags .tagcloud a {
    background: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 13px;
    color: #666;
    border: 1px solid #ddd;
    transition: all 0.3s ease;
}

.widget-tags .tagcloud a:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Ana görsel placeholder */
.post-image.no-image,
.post-image-placeholder {
    min-height: 400px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.post-image.no-image::before,
.post-image-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.placeholder-title,
.post-image.no-image::after {
    position: relative;
    z-index: 2;
    color: white;
    font-size: 3rem;
    font-weight: 800;
    text-align: center;
    padding: 40px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    font-family: 'Montserrat', 'Arial Black', sans-serif;
    line-height: 1.2;
    letter-spacing: -1px;
}

.post-image.no-image::after {
    content: attr(data-title);
    display: block;
}

/* Küçük görseller için placeholder */
.gallery-image.no-image-small,
.related-post-image.no-image-small {
    min-height: 200px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.gallery-image.no-image-small::before,
.related-post-image.no-image-small::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.25);
    z-index: 1;
}

.gallery-image.no-image-small::after,
.related-post-image.no-image-small::after {
    content: attr(data-title);
    position: relative;
    z-index: 2;
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    text-align: center;
    padding: 20px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    font-family: 'Montserrat', sans-serif;
    line-height: 1.3;
}

/* Responsive */
@media (max-width: 768px) {
    .post-meta-info {
        flex-direction: column;
        gap: 10px;
    }
    
    .sidebar-wrapper {
        position: relative;
        top: 0;
        margin-top: 40px;
    }
    
    .placeholder-title,
    .post-image.no-image::after {
        font-size: 2rem;
        padding: 20px;
    }
    
    .sidebar-widget .widget-title .section-title-left,
    .sidebar-widget .widget-title .section-title-right {
        width: 40px;
        height: 40px;
    }
}