/* Blog Redesign CSS */

:root {
    --dyno-orange: #f25a1b;
    --dyno-dark: #1a1a2e;
    --dyno-bg-light: #f8f9fa;
    --dyno-text-gray: #6c757d;
}

.blog-hero {
    padding: 40px 0;
}

.blog-hero__card {
    position: relative;
    border-radius: 40px;
    overflow: hidden;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding: 60px;
    color: #fff;
}

.blog-hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 1;
}

.blog-hero__content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.blog-hero__category {
    background: var(--dyno-orange);
    color: white;
    padding: 6px 16px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 20px;
}

.blog-hero__title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 30px;
    color: #fff;
}

.blog-hero__meta {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.blog-hero__author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.blog-hero__author-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.blog-hero__author-info {
    display: flex;
    flex-direction: column;
}

.blog-hero__author-name {
    font-weight: 700;
    font-size: 16px;
}

.blog-hero__author-role {
    font-size: 12px;
    opacity: 0.8;
}

.blog-hero__stats {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 14px;
    font-weight: 500;
}

.blog-hero__stats span {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Page Content Redesign */
.blog-details {
    padding-top: 20px !important;
}

.drop-cap::first-letter {
    font-size: 4rem;
    font-weight: 700;
    float: left;
    margin-right: 12px;
    line-height: 1;
    color: var(--dyno-orange);
    margin-top: 5px;
}

.blog-details__content h2,
.blog-details__content h3,
.blog-details__content h4 {
    position: relative;
    padding-left: 20px;
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 700;
}

.blog-details__content h2::before,
.blog-details__content h3::before,
.blog-details__content h4::before {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    bottom: 5px;
    width: 4px;
    background-color: var(--dyno-orange);
    border-radius: 2px;
}

/* Info Box / Highlight Box (Biliyor muydunuz?) */
.info-box {
    background-color: #fff6f2;
    border: 1px solid #ffe4d6;
    border-left: 6px solid var(--dyno-orange);
    border-radius: 16px;
    padding: 35px;
    margin: 45px 0;
    display: flex;
    gap: 25px;
    position: relative;
    overflow: hidden;
}

.info-box__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--dyno-orange);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 15px rgba(242, 90, 27, 0.3);
}

.info-box__content {
    flex-grow: 1;
}

.info-box__content h4 {
    margin: 0 0 12px 0 !important;
    padding: 0 !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    color: var(--dyno-dark);
}

.info-box__content h4::before {
    display: none !important;
}

.info-box__content p {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
    color: #4a4a4a;
}

/* Image with Caption */
.content-image-box {
    margin: 50px 0;
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

.content-image-box img {
    width: 100%;
    display: block;
    transition: transform 0.5s;
}

.content-image-box:hover img {
    transform: scale(1.02);
}

.content-image-box .caption {
    padding: 20px;
    text-align: center;
    font-style: italic;
    font-size: 14px;
    color: var(--dyno-text-gray);
    background: #fcfcfc;
    border-top: 1px solid #f0f0f0;
}

/* Blog Sidebar Container (Unique naming to avoid global conflicts) */
.blog-sidebar-container {
    position: relative;
    display: block;
    height: auto !important;
    overflow: visible !important;
}

.blog-sidebar-content {
    height: auto !important;
    overflow: visible !important;
    padding: 0 !important;
}

.blog-sidebar-widget {
    background: #fff;
    border-radius: 32px;
    padding: 40px;
    margin-bottom: 70px !important;
    /* Increased to 70px for clear separation */
    border: 1px solid #f0f0f0;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.03);
    position: relative;
    display: block;
    height: auto !important;
    overflow: visible !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.blog-sidebar-widget:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.06);
}

.blog-sidebar-widget__title {
    font-size: 20px !important;
    font-weight: 800;
    color: var(--dyno-dark);
    margin-bottom: 40px !important;
    /* Increased gap to 40px for more breathing room */
    padding-bottom: 15px;
    border-bottom: 2px solid #f8f9fa;
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}

.blog-sidebar-widget__title::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--dyno-orange);
}

.sidebar__search {
    background: #f1f4f8;
    border-radius: 12px;
    padding: 5px 15px;
    display: flex;
    align-items: center;
    margin-top: 5px;
}

.sidebar__search input {
    background: transparent;
    border: none;
    padding: 12px 5px;
    width: 100%;
    font-size: 14px;
    color: var(--dyno-dark);
}

.sidebar__search input::placeholder {
    color: #a0a0a0;
}

.sidebar__search input:focus {
    outline: none;
}

.sidebar__search button {
    background: transparent;
    border: none;
    color: #a0a0a0;
    font-size: 18px;
}

.newsletter-box {
    background: linear-gradient(145deg, #1a1a2e 0%, #0d0d1a 100%);
    color: white;
    border-radius: 32px;
    padding: 50px 40px;
    /* More padding for a premium feel */
    margin-bottom: 70px !important;
    /* Matched 70px */
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.newsletter-box h3 {
    color: white;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 12px;
}

.newsletter-box p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.newsletter-box .form-group {
    position: relative;
    margin-bottom: 15px;
}

.newsletter-box input {
    width: 100%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px;
    color: white;
    font-size: 14px;
    transition: all 0.3s;
}

.newsletter-box input:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--dyno-orange);
    outline: none;
}

.newsletter-box .thm-btn {
    width: 100%;
    background: var(--dyno-orange);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 15px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.newsletter-box .thm-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(242, 90, 27, 0.4);
}

.trend-posts__item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.trend-posts__img {
    width: 80px;
    height: 60px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}

.trend-posts__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.trend-posts__content h4 {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 5px;
}

.trend-posts__content h4 a {
    color: var(--dyno-dark);
}

.trend-posts__date {
    font-size: 12px;
    color: var(--dyno-text-gray);
}

.categories-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.category-tag {
    background: #f8f9fa;
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--dyno-dark);
    transition: all 0.3s;
}

.category-tag:hover {
    background: var(--dyno-orange);
    color: white;
}

/* Share Section */
.share-section {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start !important;
    gap: 10px !important;
    /* Reduced gap - bitişik olması için */
    padding: 40px 0;
    border-top: 1px solid #f0f0f0;
    margin-top: 60px;
    width: 100%;
}

.share-title {
    font-weight: 800;
    font-size: 18px;
    color: var(--dyno-dark);
    margin: 0;
    white-space: nowrap;
    margin-right: 5px;
    /* Extra small nudge */
}

.share-buttons {
    display: flex;
    flex-direction: row;
    justify-content: flex-start !important;
    gap: 8px;
    /* Closer icons */
    margin: 0;
}

.share-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f7fa;
    color: var(--dyno-dark);
    font-size: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
}

.share-btn:hover {
    background: #fff;
    color: var(--dyno-orange);
    border-color: var(--dyno-orange);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(242, 90, 27, 0.1);
}

.share-btn i {
    transition: transform 0.3s;
}

.share-btn:hover i {
    transform: scale(1.1);
}

@media (max-width: 991px) {
    .blog-hero__title {
        font-size: 36px;
    }

    .blog-hero__card {
        padding: 30px;
        min-height: 400px;
    }
}

/* Blog Listing Page Redesign - ISOLATED */
.blog-list-page {
    padding-bottom: 80px;
    background-color: #fafbfc;
}

.blog-list-hero {
    position: relative;
    border-radius: 40px;
    overflow: hidden;
    padding: 120px 60px;
    text-align: center;
    color: white;
    background-size: cover;
    background-position: center;
    margin: 30px 0 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.blog-list-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

.blog-list-hero__content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    width: 100%;
}

.blog-list-hero__title {
    font-size: 72px;
    font-weight: 800;
    margin-bottom: 15px;
    color: #fff !important;
    letter-spacing: -1px;
}

.blog-list-hero__text {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 45px;
    line-height: 1.6;
}

.blog-search-container {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(229, 230, 235, 0.3);
    border-radius: 100px;
    padding: 10px 10px 10px 30px;
    display: flex;
    align-items: center;
    max-width: 650px;
    margin: 0 auto;
    width: 100%;
}

.blog-search-container input {
    background: transparent;
    border: none;
    color: white;
    flex: 1;
    padding: 12px 10px;
    font-size: 16px;
}

.blog-search-container input::placeholder {
    color: rgba(255, 255, 255, 0.8);
}

.blog-search-container input:focus {
    outline: none;
}

.blog-search-container i {
    color: white;
    font-size: 18px;
    margin-right: 15px;
    opacity: 0.9;
}

.blog-search-container .btn-search {
    background: var(--dyno-orange);
    color: white;
    border: none;
    padding: 12px 35px;
    border-radius: 100px;
    font-weight: 700;
    transition: all 0.3s ease;
    cursor: pointer;
}

.blog-search-container .btn-search:hover {
    background: #fff;
    color: var(--dyno-orange);
}

/* Featured Post */
.featured-post {
    position: relative;
    border-radius: 40px;
    overflow: hidden;
    margin-bottom: 70px;
    min-height: 500px;
    display: flex;
    align-items: flex-end;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.featured-post__img-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.featured-post__overlay {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    width: calc(100% - 80px);
    margin: 40px;
    padding: 50px;
    border-radius: 35px;
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.featured-post__category {
    background: rgba(242, 90, 27, 0.1);
    color: var(--dyno-orange);
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 20px;
}

.featured-post__title {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--dyno-dark);
}

.featured-post__text {
    font-size: 16px;
    line-height: 1.7;
    color: #4a4a4a;
    margin-bottom: 35px;
    max-width: 90%;
}

.featured-post__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.featured-post__author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.featured-post__author-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.featured-post__author-name {
    font-weight: 700;
    font-size: 15px;
    color: var(--dyno-dark);
    display: block;
}

.featured-post__author-meta {
    font-size: 12px;
    color: var(--dyno-text-gray);
}

.featured-post__read-more {
    font-weight: 700;
    color: var(--dyno-orange);
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none !important;
}

.featured-post__read-more i {
    transition: transform 0.3s;
}

.featured-post__read-more:hover i {
    transform: translateX(5px);
}

/* Post Cards Grid */
.blog-card {
    background: #fff;
    border-radius: 35px;
    overflow: hidden;
    margin-bottom: 40px;
    border: 1px solid #f1f2f4;
    height: calc(100% - 40px);
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.blog-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.07);
}

.blog-card__img-container {
    position: relative;
    padding-top: 65%;
    overflow: hidden;
}

.blog-card__img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.blog-card:hover .blog-card__img {
    transform: scale(1.08);
}

.blog-card__badge {
    position: absolute;
    top: 25px;
    left: 25px;
    background: #fff;
    padding: 6px 16px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
    color: var(--dyno-dark);
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.blog-card__content {
    padding: 40px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-card__title {
    font-size: 22px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 15px;
    color: var(--dyno-dark);
}

.blog-card__text {
    font-size: 15px;
    color: #5a5a5a;
    line-height: 1.6;
    margin-bottom: 30px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-clamp: 3;
    overflow: hidden;
}

.blog-card__footer {
    padding-top: 25px;
    margin-top: auto;
    border-top: 1px solid #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.blog-card__date {
    font-size: 13px;
    color: var(--dyno-text-gray);
    font-weight: 600;
}

.blog-card__btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dyno-orange);
    transition: all 0.3s;
}

.blog-card:hover .blog-card__btn {
    background: var(--dyno-orange);
    color: #fff;
    border-color: var(--dyno-orange);
    transform: rotate(-45deg);
}

/* Sidebar Styling */
.sidebar-category-list {
    padding: 0;
    margin: 0;
    list-style: none;
}

.sidebar-category-list li {
    margin-bottom: 12px;
}

.sidebar-category-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
    background: #fcfcfd;
    border-radius: 15px;
    color: #4a4a4a;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
    border: 1px solid transparent;
}

.sidebar-category-list li a:hover {
    background: #fff;
    color: var(--dyno-orange);
    border-color: rgba(242, 90, 27, 0.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.03);
}

.sidebar-category-list .count {
    background: #f0f1f4;
    color: #a0a0a0;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 8px;
}

.popular-post-sidebar {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.popular-post-sidebar__img {
    width: 80px;
    height: 80px;
    border-radius: 18px;
    object-fit: cover;
    flex-shrink: 0;
}

.popular-post-sidebar__title {
    font-size: 15px;
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: 8px;
    color: var(--dyno-dark);
}

.popular-post-sidebar__meta {
    font-size: 11px;
    font-weight: 700;
    color: #a0a0a0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tag-cloud a {
    background: #f3f5f8;
    color: #6a6a6a;
    padding: 10px 20px;
    border-radius: 14px;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s;
}

.tag-cloud a:hover {
    background: var(--dyno-orange);
    color: #fff;
    transform: translateY(-3px);
}

/* Titles */
.section-title-line {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 50px;
}

.section-title-line h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--dyno-dark);
    margin: 0;
}

.line-accent {
    width: 45px;
    height: 5px;
    background: var(--dyno-orange);
    border-radius: 3px;
}

@media (max-width: 991px) {
    .blog-list-hero__title {
        font-size: 48px;
    }

    .featured-post__title {
        font-size: 32px;
    }

    .featured-post__overlay {
        margin: 20px;
        padding: 30px;
        width: calc(100% - 40px);
    }
}