/* ===== Ana Renkler ===== */
:root {
    /* Kırmızı Tonları */
    --primary-red: #dc3545;
    --hover-red: #c82333;
    --dark-red: #b02a37;
    --light-red: #e85563;

    /* Siyah & Gri Tonları */
    --black: #1a1a1a;
    --text-dark: #2c2c2c;
    --dark-gray: #2c2c2c;
    --light-gray: #f8f9fa;
    --medium-gray: #6c757d;

    /* Beyaz & Arka Plan */
    --white: #ffffff;
    --bg-light: #f8f9fa;

    /* Kenarlıklar */
    --border-color: #dee2e6;
    --border-light: #e9ecef;

    /* Diğer Renkler */
    --success: #28a745;
    --warning: #ffc107;
    --info: #17a2b8;
    --danger: #dc3545;
}

/* ===== Genel Stiller ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--black);
    background-color: var(--light-gray);
    line-height: 1.6;
    font-weight: 400;
    letter-spacing: -0.01em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-red);
}

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

/* ===== Top Bar ===== */
.top-bar {
    background-color: var(--black);
    color: var(--white);
    padding: 8px 0;
    font-size: 14px;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-bar-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
}

.social-icon {
    color: var(--white);
    font-size: 14px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    color: var(--primary-red);
    transform: translateY(-2px);
}

/* ===== Header ===== */
.main-header {
    background-color: var(--white);
    border-bottom: 3px solid var(--primary-red);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.logo {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.logo a {
    display: inline-block;
    transition: all 0.3s ease;
}

.logo a:hover {
    transform: scale(1.05);
}

.logo-image {
    max-width: 100%;
    height: auto;
    max-height: 100px;
    width: auto;
    display: block;
}

.logo h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 36px;
    font-weight: 900;
    color: var(--primary-red);
    margin: 0;
    line-height: 1;
    letter-spacing: -1.5px;
}

.logo .tagline {
    font-size: 12px;
    color: var(--dark-gray);
    margin: 5px 0 0 0;
    font-weight: 500;
    letter-spacing: 0.5px;
    font-family: 'Inter', sans-serif;
}

.header-search .form-control {
    border: 2px solid var(--border-color);
    padding: 10px 15px;
    border-radius: 25px 0 0 25px;
}

.header-search .btn {
    border-radius: 0 25px 25px 0;
    padding: 10px 20px;
}

/* ===== Navigation ===== */
.main-nav {
    background: linear-gradient(135deg, var(--black) 0%, var(--dark-gray) 100%);
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    z-index: 1000;
}

.main-nav .nav-link {
    color: var(--white) !important;
    font-weight: 500;
    padding: 15px 18px !important;
    transition: all 0.3s ease;
    position: relative;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.2px;
}

.main-nav .nav-link:hover,
.main-nav .nav-link.active {
    background-color: var(--primary-red);
}

.main-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background-color: var(--primary-red);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.main-nav .nav-link:hover::after {
    width: 80%;
}

.weather-widget {
    color: var(--white);
    font-size: 14px;
    padding: 10px 15px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 20px;
}

.weather-widget i {
    color: var(--primary-red);
    margin-right: 5px;
}

/* ===== Breaking News ===== */
.breaking-news {
    background-color: var(--primary-red);
    color: var(--white);
    padding: 10px 0;
    overflow: hidden;
}

.breaking-news-inner {
    display: flex;
    align-items: center;
}

.breaking-label {
    background-color: var(--black);
    padding: 8px 20px;
    font-weight: 700;
    font-size: 14px;
    margin-right: 15px;
    white-space: nowrap;
    border-radius: 3px;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.5px;
}

.breaking-label i {
    margin-right: 5px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.breaking-news-content {
    flex: 1;
}

/* ===== Main Content ===== */
.main-content {
    padding: 30px 0;
}

/* ===== Main Headline Carousel (EnsonHaber Style) ===== */
.main-headline-wrapper {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.main-carousel {
    position: relative;
}

.main-carousel .carousel-inner {
    border-radius: 8px 8px 0 0;
}

.main-carousel .carousel-item {
    height: 500px;
    position: relative;
}

.main-carousel .news-card {
    height: 100%;
    margin: 0;
    box-shadow: none;
    border-radius: 0;
}

.main-carousel .news-image {
    height: 100%;
    position: relative;
}

.main-carousel .news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Overlay Gradient */
.overlay-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70%;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.6) 50%, transparent 100%);
    z-index: 1;
}

/* News Info on Image */
.news-info-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    z-index: 2;
    color: var(--white);
}

.news-info-overlay .category {
    background-color: var(--primary-red);
    color: var(--white);
    padding: 6px 15px;
    border-radius: 3px;
    font-weight: 600;
    font-size: 13px;
    display: inline-block;
    margin-bottom: 15px;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-title-overlay {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
    line-height: 1.3;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    letter-spacing: -0.5px;
}

.news-excerpt-overlay {
    color: rgba(255,255,255,0.95);
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

/* Custom Carousel Controls */
.custom-carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: rgba(255,255,255,0.9);
    border: none;
    border-radius: 50%;
    color: var(--black);
    font-size: 20px;
    z-index: 10;
    transition: all 0.3s ease;
    opacity: 0;
}

.main-carousel:hover .custom-carousel-control {
    opacity: 1;
}

.custom-carousel-control:hover {
    background-color: var(--primary-red);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.carousel-control-prev.custom-carousel-control {
    left: 20px;
}

.carousel-control-next.custom-carousel-control {
    right: 20px;
}

/* Thumbnail Navigation (EnsonHaber Style) */
.carousel-thumbnails {
    display: flex;
    background-color: #f8f9fa;
    border-top: 1px solid var(--border-color);
}

.thumbnail-item {
    flex: 1;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    border-right: 1px solid var(--border-color);
    background-color: var(--white);
}

.thumbnail-item:last-child {
    border-right: none;
}

.thumbnail-item:hover {
    background-color: #f8f9fa;
}

.thumbnail-item.active {
    background-color: var(--light-gray);
}

.thumbnail-number {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 30px;
    height: 30px;
    background-color: var(--primary-red);
    color: var(--white);
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    z-index: 2;
    transition: all 0.3s ease;
}

.thumbnail-item:hover .thumbnail-number {
    transform: scale(1.1);
}

.thumbnail-content {
    display: flex;
    align-items: center;
    padding: 15px;
    gap: 12px;
    min-height: 100px;
}

.thumbnail-content img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
    flex-shrink: 0;
}

.thumbnail-text {
    flex: 1;
}

.thumb-category {
    font-size: 11px;
    color: var(--primary-red);
    font-weight: 600;
    text-transform: uppercase;
    display: block;
    margin-bottom: 5px;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.5px;
}

.thumb-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--black);
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
    letter-spacing: -0.2px;
}

/* Progress Bar */
.thumbnail-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background-color: #e9ecef;
}

.thumbnail-progress .progress-bar {
    height: 100%;
    background-color: var(--primary-red);
    width: 0;
    transition: width 0.1s linear;
}

.thumbnail-item.active .thumbnail-progress .progress-bar {
    animation: progressAnimation 5s linear;
}

@keyframes progressAnimation {
    from {
        width: 0%;
    }
    to {
        width: 100%;
    }
}



/* ===== News Cards ===== */
.news-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    transform: translateY(-5px);
}

.news-card .news-image {
    position: relative;
    overflow: hidden;
}

.news-card .news-image img {
    width: 100%;
    transition: transform 0.3s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 3px;
    color: var(--white);
}

.badge-urgent {
    background-color: var(--primary-red);
    animation: pulse 2s infinite;
}

.badge-new {
    background-color: #28a745;
}

.badge-hot {
    background-color: #ffc107;
    color: var(--black);
}

.news-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
    font-size: 13px;
}

.news-meta .category {
    background-color: var(--primary-red);
    color: var(--white);
    padding: 4px 10px;
    border-radius: 3px;
    font-weight: 600;
    font-size: 12px;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-meta .date {
    color: #6c757d;
}

.news-meta .date i {
    margin-right: 5px;
}

.news-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 12px;
    line-height: 1.4;
    letter-spacing: -0.5px;
}

.big-card .news-title {
    font-size: 28px;
}

.medium-card .news-title {
    font-size: 18px;
}

.small-card .news-content h5 {
    font-size: 14px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 8px;
    line-height: 1.4;
    font-family: 'Poppins', sans-serif;
    letter-spacing: -0.2px;
}

.news-excerpt {
    color: #495057;
    margin-bottom: 15px;
    line-height: 1.7;
    flex: 1;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

.read-more {
    color: var(--primary-red);
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-block;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.2px;
}

.read-more:hover {
    gap: 8px;
}

.read-more i {
    margin-left: 5px;
    transition: margin-left 0.3s ease;
}

.read-more:hover i {
    margin-left: 10px;
}

/* ===== Small Cards ===== */
.small-card {
    margin-bottom: 15px;
}

.small-card .news-content {
    padding: 12px;
}

.category-sm {
    background-color: var(--primary-red);
    color: var(--white);
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 8px;
}

.date-sm {
    font-size: 11px;
    color: #6c757d;
    display: block;
}

/* ===== Section Headers ===== */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--primary-red);
}

.section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--black);
    margin: 0;
    letter-spacing: -0.5px;
}

.section-title i {
    color: var(--primary-red);
    margin-right: 10px;
}

.see-all {
    color: var(--primary-red);
    font-weight: 600;
    font-size: 14px;
}

/* ===== Sidebar Widgets ===== */
.sidebar-widget {
    background-color: var(--white);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.widget-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-red);
    letter-spacing: -0.3px;
}

.widget-title i {
    color: var(--primary-red);
    margin-right: 8px;
}

/* ===== Popular News ===== */
.popular-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.popular-item:last-child {
    border-bottom: none;
}

.popular-item:hover {
    background-color: var(--light-gray);
    padding-left: 10px;
}

.popular-number {
    min-width: 35px;
    height: 35px;
    background-color: var(--primary-red);
    color: var(--white);
    font-weight: 700;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
}

.popular-content h6 {
    font-size: 14px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 8px;
    line-height: 1.4;
    font-family: 'Poppins', sans-serif;
    letter-spacing: -0.2px;
}

/* ===== Weather Widget ===== */
.weather-box {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 50%, var(--black) 100%);
    border-radius: 8px;
    color: var(--white);
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
    position: relative;
    overflow: hidden;
}

.weather-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: weatherPulse 3s ease-in-out infinite;
}

@keyframes weatherPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.weather-box > * {
    position: relative;
    z-index: 1;
}

.weather-city {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.weather-temp {
    font-size: 48px;
    font-weight: 700;
    margin: 15px 0;
}

.weather-desc {
    font-size: 16px;
    margin-bottom: 20px;
}

.weather-details {
    display: flex;
    justify-content: space-around;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.3);
}

.weather-detail-item {
    font-size: 13px;
}

.weather-detail-item i {
    margin-right: 5px;
}

/* ===== Prayer Times ===== */
.prayer-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 15px;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.prayer-item:last-child {
    border-bottom: none;
}

.prayer-item:hover {
    background-color: var(--light-gray);
}

.prayer-item.active {
    background-color: var(--primary-red);
    color: var(--white);
    font-weight: 600;
}

.prayer-name {
    font-weight: 500;
}

.prayer-time {
    font-weight: 600;
}

/* ===== Pharmacy Widget ===== */
.pharmacy-widget {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 50%, var(--black) 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
    position: relative;
    overflow: hidden;
}

.pharmacy-widget::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
}

.pharmacy-widget > * {
    position: relative;
    z-index: 1;
}

.pharmacy-widget .widget-title {
    color: var(--white);
    border-bottom: 2px solid rgba(255,255,255,0.3);
}

.pharmacy-widget .widget-title i {
    color: var(--white);
}

.pharmacy-info {
    color: var(--white);
}

.pharmacy-date {
    background-color: rgba(0,0,0,0.2);
    padding: 10px 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
}

.pharmacy-date i {
    font-size: 16px;
}

.pharmacy-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 20px;
    color: var(--black);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.pharmacy-name {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--light-gray);
}

.pharmacy-name i {
    font-size: 24px;
    color: var(--primary-red);
}

.pharmacy-name h5 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--black);
    font-family: 'Poppins', sans-serif;
}

.pharmacy-details {
    margin-bottom: 15px;
}

.pharmacy-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.5;
}

.pharmacy-detail-item:last-child {
    margin-bottom: 0;
}

.pharmacy-detail-item i {
    color: var(--primary-red);
    width: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}

.pharmacy-detail-item a {
    color: var(--primary-red);
    font-weight: 600;
    transition: all 0.3s ease;
}

.pharmacy-detail-item a:hover {
    color: var(--dark-red);
    text-decoration: underline;
}

.pharmacy-map-btn {
    display: block;
    width: 100%;
    background-color: var(--primary-red);
    color: var(--white);
    text-align: center;
    padding: 12px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    margin-top: 15px;
}

.pharmacy-map-btn:hover {
    background-color: var(--dark-red);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.pharmacy-map-btn i {
    margin-right: 8px;
}

.pharmacy-emergency {
    background-color: rgba(0,0,0,0.2);
    padding: 12px 15px;
    border-radius: 5px;
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
}

.pharmacy-emergency i {
    font-size: 16px;
    flex-shrink: 0;
}

.pharmacy-emergency p {
    margin: 0;
    line-height: 1.4;
}

/* ===== Ad Spaces ===== */
.ad-section {
    text-align: center;
}

.ad-space {
    background-color: var(--light-gray);
    border: 2px dashed var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-weight: 600;
    margin: 0 auto;
}

.ad-728x90 {
    width: 100%;
    max-width: 728px;
    height: 90px;
}

.ad-970x90 {
    width: 100%;
    max-width: 970px;
    height: 90px;
}

.ad-300x250 {
    width: 100%;
    max-width: 300px;
    height: 250px;
}

.ad-300x600 {
    width: 100%;
    max-width: 300px;
    height: 600px;
}

/* ===== News Detail Page ===== */

/* Breadcrumb */
.breadcrumb {
    background-color: var(--white);
    padding: 15px 20px;
    border-radius: 5px;
    font-size: 14px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.breadcrumb-item a {
    color: var(--primary-red);
    font-weight: 500;
}

.breadcrumb-item.active {
    color: #6c757d;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: #6c757d;
}

/* News Detail Card */
.news-detail-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

.news-detail-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.category-badge {
    background-color: var(--primary-red);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.category-badge i {
    margin-right: 5px;
}

.news-detail-date {
    color: #6c757d;
    font-size: 14px;
    font-weight: 500;
}

.news-detail-date i {
    margin-right: 5px;
    color: var(--primary-red);
}

.news-detail-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 42px;
    font-weight: 700;
    color: var(--black);
    line-height: 1.3;
    margin-bottom: 25px;
    letter-spacing: -1px;
}

.news-detail-spot {
    font-size: 18px;
    line-height: 1.8;
    color: #495057;
    margin-bottom: 30px;
    padding: 20px;
    background-color: #f8f9fa;
    border-left: 4px solid var(--primary-red);
    font-family: 'Inter', sans-serif;
    font-weight: 500;
}

/* Author Info */
.author-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.author-avatar {
    font-size: 50px;
    color: var(--primary-red);
}

.author-details {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 700;
    font-size: 16px;
    color: var(--black);
    font-family: 'Poppins', sans-serif;
}

.author-title {
    font-size: 13px;
    color: #6c757d;
}

/* Social Share */
.social-share {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.share-label {
    font-weight: 600;
    font-size: 14px;
    color: var(--black);
    font-family: 'Poppins', sans-serif;
}

.share-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
    transition: all 0.3s ease;
    font-size: 16px;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    color: var(--white);
}

.share-btn.facebook {
    background-color: #1877f2;
}

.share-btn.twitter {
    background-color: #1da1f2;
}

.share-btn.whatsapp {
    background-color: #25d366;
}

.share-btn.linkedin {
    background-color: #0077b5;
}

.share-btn.copy {
    background-color: #6c757d;
}

.social-share.bottom-share {
    flex-wrap: wrap;
    margin-top: 30px;
}

.social-share.bottom-share .share-btn {
    width: auto;
    padding: 10px 20px;
    border-radius: 5px;
    gap: 8px;
}

/* News Detail Image */
.news-detail-image {
    margin: 30px 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

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

.image-caption {
    background-color: #f8f9fa;
    padding: 12px 20px;
    font-size: 13px;
    color: #6c757d;
    font-style: italic;
}

.image-caption i {
    color: var(--primary-red);
    margin-right: 8px;
}

/* News Content */
.news-detail-content {
    font-size: 17px;
    line-height: 1.9;
    color: #333;
    font-family: 'Inter', sans-serif;
}

.news-detail-content p {
    margin-bottom: 20px;
}

.news-detail-content h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--black);
    margin-top: 40px;
    margin-bottom: 20px;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

.news-detail-content h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--black);
    margin-top: 35px;
    margin-bottom: 18px;
    line-height: 1.3;
}

.news-detail-content ul,
.news-detail-content ol {
    margin-bottom: 25px;
    padding-left: 25px;
}

.news-detail-content li {
    margin-bottom: 10px;
    line-height: 1.8;
}

.news-quote {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    color: var(--white);
    padding: 30px;
    border-radius: 8px;
    margin: 35px 0;
    position: relative;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

.news-quote i {
    font-size: 40px;
    opacity: 0.3;
    position: absolute;
    top: 20px;
    left: 20px;
}

.news-quote p {
    font-size: 20px;
    line-height: 1.7;
    margin: 0 0 15px 0;
    padding-left: 50px;
    font-weight: 500;
    font-style: italic;
}

.news-quote footer {
    text-align: right;
    font-size: 15px;
    font-weight: 600;
    opacity: 0.9;
    font-family: 'Poppins', sans-serif;
}

/* News Tags */
.news-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    margin-top: 30px;
}

.tags-label {
    font-weight: 600;
    font-size: 14px;
    color: var(--black);
    font-family: 'Poppins', sans-serif;
}

.tags-label i {
    color: var(--primary-red);
    margin-right: 5px;
}

.tag-item {
    background-color: var(--white);
    color: var(--black);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.tag-item:hover {
    background-color: var(--primary-red);
    color: var(--white);
    border-color: var(--primary-red);
}

/* Related News */
.related-news {
    padding: 30px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.related-news .section-title {
    margin-bottom: 25px;
}

.related-news-title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 8px;
    font-family: 'Poppins', sans-serif;
}

/* Comments Section */
.comments-section {
    background-color: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.comments-section .section-title {
    margin-bottom: 30px;
}

.comment-form {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.comment-form h5 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--black);
}

.comment-form .form-control {
    border: 2px solid var(--border-color);
    border-radius: 5px;
    padding: 12px 15px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.comment-form .form-control:focus {
    border-color: var(--primary-red);
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.1);
}

.comment-form .btn-primary {
    background-color: var(--primary-red);
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

.comment-form .btn-primary:hover {
    background-color: var(--dark-red);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.comments-list {
    margin-top: 30px;
}

.comment-item {
    display: flex;
    gap: 15px;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

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

.comment-item:hover {
    background-color: #f8f9fa;
}

.comment-avatar {
    font-size: 50px;
    color: #6c757d;
    flex-shrink: 0;
}

.comment-content {
    flex: 1;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.comment-author {
    font-weight: 700;
    font-size: 15px;
    color: var(--black);
    margin: 0;
    font-family: 'Poppins', sans-serif;
}

.comment-date {
    font-size: 12px;
    color: #6c757d;
}

.comment-date i {
    margin-right: 5px;
}

.comment-text {
    font-size: 15px;
    line-height: 1.7;
    color: #495057;
    margin: 0;
}

/* Latest News Sidebar */
.latest-news-sidebar {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.latest-news-item {
    display: flex;
    gap: 12px;
    padding: 15px;
    background-color: var(--white);
    border-radius: 5px;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.latest-news-item:hover {
    background-color: #f8f9fa;
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.latest-news-image {
    flex-shrink: 0;
}

.latest-news-image img {
    width: 100px;
    height: 70px;
    object-fit: cover;
    border-radius: 5px;
}

.latest-news-content h6 {
    font-size: 14px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 5px;
    line-height: 1.4;
    font-family: 'Poppins', sans-serif;
}

/* ===== News List Page ===== */

/* Page Title */
.page-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 10px;
    letter-spacing: -1px;
}

.page-title i {
    color: var(--primary-red);
    margin-right: 10px;
}

.page-subtitle {
    color: #6c757d;
    font-size: 14px;
    margin: 0;
}

/* News Filters */
.news-filters {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-label {
    font-weight: 600;
    font-size: 14px;
    color: var(--black);
    margin: 0;
    font-family: 'Poppins', sans-serif;
}

.filter-select {
    border: 2px solid var(--border-color);
    border-radius: 5px;
    padding: 8px 15px;
    font-size: 14px;
    font-weight: 500;
    min-width: 180px;
    transition: all 0.3s ease;
}

.filter-select:focus {
    border-color: var(--primary-red);
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.1);
}

/* Category Filter Bar */
.category-filter-bar {
    background-color: var(--white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.category-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.category-pill {
    padding: 10px 20px;
    background-color: #f8f9fa;
    color: var(--black);
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    font-family: 'Poppins', sans-serif;
}

.category-pill i {
    margin-right: 8px;
}

.category-pill:hover {
    background-color: var(--white);
    border-color: var(--primary-red);
    color: var(--primary-red);
    transform: translateY(-2px);
}

.category-pill.active {
    background-color: var(--primary-red);
    color: var(--white);
    border-color: var(--primary-red);
}

/* News List Grid */
.news-list-grid {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.news-list-item {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.news-list-item:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    transform: translateY(-3px);
}

.news-list-image {
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 200px;
}

.news-list-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-list-item:hover .news-list-image img {
    transform: scale(1.1);
}

.news-list-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-list-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
    letter-spacing: -0.3px;
}

.news-list-title a {
    color: var(--black);
    transition: color 0.3s ease;
}

.news-list-title a:hover {
    color: var(--primary-red);
}

.news-list-excerpt {
    color: #495057;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 15px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-list-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.news-stats {
    display: flex;
    gap: 20px;
    color: #6c757d;
    font-size: 13px;
}

.news-stats span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.news-stats i {
    color: var(--primary-red);
}

.read-more-link {
    color: var(--primary-red);
    font-weight: 600;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

.read-more-link:hover {
    gap: 8px;
}

.read-more-link i {
    margin-left: 5px;
    transition: margin-left 0.3s ease;
}

.read-more-link:hover i {
    margin-left: 10px;
}

/* Pagination */
.custom-pagination {
    display: flex;
    gap: 8px;
}

.custom-pagination .page-item {
    margin: 0;
}

.custom-pagination .page-link {
    border: 2px solid var(--border-color);
    color: var(--black);
    padding: 10px 16px;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.custom-pagination .page-link:hover {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
    color: var(--white);
}

.custom-pagination .page-item.active .page-link {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
    color: var(--white);
}

.custom-pagination .page-item.disabled .page-link {
    background-color: #f8f9fa;
    border-color: var(--border-color);
    color: #6c757d;
    cursor: not-allowed;
}

/* Sidebar Search */
.sidebar-search .input-group {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-radius: 5px;
    overflow: hidden;
}

.sidebar-search .form-control {
    border: 2px solid var(--border-color);
    padding: 12px 15px;
    border-right: none;
    border-radius: 5px 0 0 5px;
}

.sidebar-search .form-control:focus {
    border-color: var(--primary-red);
    box-shadow: none;
}

.sidebar-search .btn {
    border-radius: 0 5px 5px 0;
    padding: 12px 20px;
}

/* Category List */
.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    border-bottom: 1px solid var(--border-color);
}

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

.category-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    color: var(--black);
    font-weight: 500;
    transition: all 0.3s ease;
}

.category-list a:hover {
    background-color: #f8f9fa;
    color: var(--primary-red);
    padding-left: 20px;
}

.category-list i {
    margin-right: 10px;
    color: var(--primary-red);
    width: 20px;
}

.category-count {
    background-color: var(--primary-red);
    color: var(--white);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

/* ===== Footer ===== */
.main-footer {
    background-color: var(--dark-gray);
    color: var(--white);
    margin-top: 50px;
}

.footer-widgets {
    padding: 50px 0 30px;
}

.footer-widget h4 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
    position: relative;
    padding-bottom: 12px;
    letter-spacing: -0.3px;
}

.footer-widget h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-red);
}

.footer-logo h5 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 24px;
    font-weight: 900;
    color: var(--primary-red);
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.footer-widget p {
    color: #ced4da;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background-color: var(--primary-red);
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #ced4da;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 8px;
}

.footer-links i {
    color: var(--primary-red);
    margin-right: 8px;
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    color: #ced4da;
}

.footer-contact i {
    color: var(--primary-red);
    width: 20px;
    margin-top: 3px;
}

.footer-bottom {
    background-color: var(--black);
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.copyright {
    margin: 0;
    color: #ced4da;
}

.footer-bottom-links {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
}

.footer-bottom-links a {
    color: #ced4da;
}

.footer-bottom-links span {
    color: #6c757d;
}

/* ===== Back to Top Button ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-red);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--dark-red);
    transform: translateY(-5px);
}

/* ===== Responsive ===== */
@media (max-width: 991px) {
    .logo-image {
        max-height: 60px;
    }

    .logo h1 {
        font-size: 28px;
    }

    .main-nav .nav-link {
        padding: 12px 15px !important;
    }

    .big-card .news-title {
        font-size: 24px;
    }

    .section-title {
        font-size: 20px;
    }

    .ad-728x90,
    .ad-970x90 {
        height: auto;
        min-height: 90px;
    }

    .main-carousel .carousel-item {
        height: 400px;
    }

    .news-title-overlay {
        font-size: 24px;
    }

    .news-excerpt-overlay {
        font-size: 14px;
    }

    .custom-carousel-control {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .thumbnail-content {
        padding: 10px;
        min-height: 80px;
    }

    .thumbnail-content img {
        width: 60px;
        height: 45px;
    }

    .thumb-title {
        font-size: 12px;
    }
}

@media (max-width: 767px) {
    .logo-image {
        max-height: 50px;
    }

    .logo h1 {
        font-size: 24px;
    }

    .logo .tagline {
        font-size: 11px;
    }

    .top-bar-left,
    .top-bar-right {
        justify-content: center;
        margin-bottom: 5px;
    }

    .breaking-news-inner {
        flex-direction: column;
        gap: 10px;
    }

    .breaking-label {
        margin-right: 0;
    }

    .big-card .news-title {
        font-size: 20px;
    }

    .medium-card .news-title {
        font-size: 16px;
    }

    .footer-bottom-links {
        justify-content: center;
        margin-top: 10px;
    }

    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }

    .main-carousel .carousel-item {
        height: 350px;
    }

    .news-title-overlay {
        font-size: 20px;
    }

    .news-info-overlay {
        padding: 20px;
    }

    .news-excerpt-overlay {
        display: none;
    }

    .carousel-thumbnails {
        flex-direction: column;
    }

    .thumbnail-item {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }

    .thumbnail-item:last-child {
        border-bottom: none;
    }

    .thumbnail-number {
        width: 25px;
        height: 25px;
        font-size: 12px;
    }

    /* News Detail Responsive */
    .news-detail-card {
        padding: 25px 20px;
    }

    .news-detail-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .news-detail-title {
        font-size: 28px;
    }

    .news-detail-spot {
        font-size: 16px;
    }

    .social-share {
        flex-wrap: wrap;
    }

    .news-detail-content {
        font-size: 16px;
    }

    .news-detail-content h2 {
        font-size: 24px;
    }

    .news-detail-content h3 {
        font-size: 20px;
    }

    .news-quote p {
        font-size: 17px;
        padding-left: 0;
    }

    .news-quote i {
        display: none;
    }

    .comments-section {
        padding: 20px;
    }

    .comment-form {
        padding: 20px;
    }

    .related-news {
        padding: 20px;
    }

    /* News List Responsive */
    .page-title {
        font-size: 28px;
    }

    .news-filters {
        justify-content: flex-start;
        margin-top: 15px;
    }

    .category-pills {
        justify-content: flex-start;
    }

    .category-pill {
        font-size: 13px;
        padding: 8px 15px;
    }

    .news-list-item .row {
        flex-direction: column;
    }

    .news-list-image {
        min-height: 200px;
    }

    .news-list-content {
        padding: 20px;
    }

    .news-list-title {
        font-size: 18px;
    }

    .news-list-excerpt {
        font-size: 14px;
    }

    .custom-pagination {
        flex-wrap: wrap;
        justify-content: center;
    }

    .custom-pagination .page-link {
        padding: 8px 12px;
        font-size: 14px;
    }
}

@media (max-width: 575px) {
    .main-content {
        padding: 15px 0;
    }

    .news-content {
        padding: 15px;
    }

    .sidebar-widget {
        padding: 15px;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .main-carousel .carousel-item {
        height: 300px;
    }

    .news-title-overlay {
        font-size: 18px;
    }

    .custom-carousel-control {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .carousel-control-prev.custom-carousel-control {
        left: 10px;
    }

    .carousel-control-next.custom-carousel-control {
        right: 10px;
    }

    .thumbnail-content {
        padding: 8px;
    }

    .thumbnail-content img {
        width: 50px;
        height: 40px;
    }

    .thumb-title {
        font-size: 11px;
        -webkit-line-clamp: 2;
    }

    .pharmacy-card {
        padding: 15px;
    }

    .pharmacy-name h5 {
        font-size: 16px;
    }

    .pharmacy-detail-item {
        font-size: 13px;
    }

    .pharmacy-map-btn {
        padding: 10px;
        font-size: 13px;
    }
}

/* ===============================================
   ARAMA SAYFASI STYLES
   =============================================== */

/* Arama Sayfası Header */
.search-page-header {
    background: linear-gradient(135deg, #ff4f4f 0%, var(--primary-red) 100%);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.search-page-title {
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 0;
    text-align: center;
}

.search-page-title i {
    margin-right: 10px;
    opacity: 0.9;
}

/* Arama Formu */
.search-form-main .input-group {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    border-radius: 50px;
    overflow: hidden;
}

.search-form-main .form-control {
    border: none;
    padding: 18px 25px;
    font-size: 16px;
    background: #fff;
}

.search-form-main .form-control:focus {
    box-shadow: none;
    background: #fff;
}

.search-form-main .btn {
    padding: 18px 35px;
    border: none;
    background: #2c3e50;
    color: #fff;
    font-weight: 600;
    transition: all 0.3s ease;
}

.search-form-main .btn:hover {
    background: #1a252f;
    transform: translateX(3px);
}

/* Arama Sonuçları Özeti */
.search-summary {
    background: #f8f9fa;
    padding: 15px 20px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-red);
}

.search-summary p {
    margin: 0;
    font-size: 15px;
}

/* Arama Bölümleri */
.search-section {
    margin-bottom: 40px;
}

.search-section .section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e9ecef;
}

.search-section .section-title {
    font-size: 22px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
}

.search-section .section-title i {
    margin-right: 10px;
    color: var(--primary-red);
}

.search-section .badge {
    font-size: 14px;
    padding: 8px 15px;
}

/* Yatay Haber Kartı */
.horizontal-card {
    transition: all 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e9ecef;
}

.horizontal-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.horizontal-card .news-image {
    height: 200px;
    overflow: hidden;
}

.horizontal-card .news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.horizontal-card:hover .news-image img {
    transform: scale(1.05);
}

.horizontal-card .news-content {
    padding: 20px;
}

.horizontal-card .news-title {
    font-size: 18px;
    margin: 10px 0;
}

.horizontal-card .news-title a {
    color: #2c3e50;
}

.horizontal-card .news-title a:hover {
    color: var(--primary-red);
}

.horizontal-card .news-excerpt {
    color: #6c757d;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Kategori Sonuç Kartı */
.category-result-card {
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
}

.category-result-card .card {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.category-result-card:hover .card {
    border-color: var(--primary-red);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.2);
    transform: translateY(-3px);
}

.category-result-card .card-title {
    color: #2c3e50;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.category-result-card .card-title i {
    margin-right: 8px;
}

.category-result-card:hover .card-title {
    color: var(--primary-red);
}

/* Sonuç Bulunamadı */
.no-results {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 60px 20px !important;
}

.no-results-icon {
    opacity: 0.3;
}

.no-results h3 {
    color: #2c3e50;
    font-weight: 700;
}

.search-suggestions {
    max-width: 500px;
    margin: 0 auto;
    text-align: left;
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.search-suggestions h5 {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 15px;
}

.search-suggestions ul li {
    padding: 8px 0;
    color: #6c757d;
}

.search-suggestions ul li i {
    margin-right: 10px;
}

/* Boş Arama Durumu */
.empty-search {
    background: #f8f9fa;
    border-radius: 12px;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.empty-search-icon {
    opacity: 0.2;
}

.empty-search h3 {
    color: #2c3e50;
    font-weight: 700;
}

/* Kategori Etiketleri */
.category-tag {
    display: inline-block;
    padding: 8px 16px;
    background: #f8f9fa;
    color: #495057;
    border-radius: 20px;
    margin: 5px;
    font-size: 14px;
    text-decoration: none;
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
}

.category-tag:hover {
    background: var(--primary-red);
    color: #fff;
    border-color: var(--primary-red);
    transform: translateY(-2px);
}

/* Sidebar News Item */
.sidebar-news-item {
    display: flex;
    gap: 12px;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.sidebar-news-item:last-child {
    border-bottom: none;
}

.sidebar-news-item:hover {
    background-color: var(--light-gray);
    padding-left: 10px;
}

.sidebar-news-image {
    flex-shrink: 0;
}

.sidebar-news-image img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
}

.sidebar-news-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.sidebar-news-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 5px;
    line-height: 1.4;
    font-family: 'Poppins', sans-serif;
}

.sidebar-news-title a {
    color: var(--black);
    transition: color 0.3s ease;
}

.sidebar-news-title a:hover {
    color: var(--primary-red);
}

.sidebar-news-date {
    font-size: 12px;
    color: #6c757d;
}

.sidebar-news-date i {
    margin-right: 5px;
    color: var(--primary-red);
}

/* Responsive - Arama Sayfası */

/* ============================================
   404 ERROR PAGE STYLES
   ============================================ */

.error-page-content {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    min-height: 70vh;
}

.error-404-wrapper {
    padding: 40px 0;
}

.error-404-content {
    padding: 40px 20px;
}

/* 404 Numarası */
.error-404-number h1 {
    font-size: 180px;
    font-weight: 900;
    color: var(--primary-red);
    line-height: 1;
    margin: 0;
    text-shadow: 0 10px 30px rgba(220, 53, 69, 0.2);
    background: linear-gradient(135deg, var(--primary-red) 0%, #ff6b6b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: pulse404 2s ease-in-out infinite;
}

@keyframes pulse404 {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Hata Mesajı */
.error-404-message {
    margin: 30px 0;
}

.error-404-message h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-family: 'Poppins', sans-serif;
}

.error-404-message .error-description {
    font-size: 18px;
    color: #6c757d;
    line-height: 1.8;
    margin-bottom: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Butonlar */
.error-404-actions {
    margin: 40px 0;
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-404-home,
.btn-404-news {
    padding: 15px 35px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-404-home {
    background: var(--primary-red);
    color: #fff;
}

.btn-404-home:hover {
    background: var(--hover-red);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.3);
}

.btn-404-news {
    background: #fff;
    color: var(--primary-red);
    border: 2px solid var(--primary-red);
}

.btn-404-news:hover {
    background: var(--primary-red);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.3);
}

/* Arama Kutusu */
.error-404-search {
    margin: 50px 0;
    padding: 40px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.error-404-search h5 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
}

.search-form-404 {
    margin-top: 20px;
}

.search-input-group {
    display: flex;
    gap: 10px;
}

.search-input-404 {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.search-input-404:focus {
    border-color: var(--primary-red);
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.15);
}

.btn-search-404 {
    padding: 15px 30px;
    background: var(--primary-red);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-search-404:hover {
    background: var(--hover-red);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

.btn-search-404 i {
    margin-right: 8px;
}

/* Popüler Haberler Bölümü */
.error-404-popular-news {
    margin-top: 60px;
    padding: 50px 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
}

.section-header-404 {
    text-align: center;
    margin-bottom: 40px;
}

.section-header-404 h3 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-family: 'Poppins', sans-serif;
}

.section-header-404 h3 i {
    color: var(--primary-red);
    margin-right: 10px;
    animation: flameFlicker 2s ease-in-out infinite;
}

@keyframes flameFlicker {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

.section-header-404 p {
    font-size: 16px;
    color: #6c757d;
    margin-bottom: 0;
}

.error-page-news-card {
    transition: all 0.3s ease;
}

.error-page-news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

/* Responsive - 404 Sayfası */
@media (max-width: 991px) {
    .error-404-number h1 {
        font-size: 140px;
    }

    .error-404-message h2 {
        font-size: 30px;
    }

    .error-404-message .error-description {
        font-size: 16px;
    }
}

@media (max-width: 767px) {
    .error-page-content {
        padding: 40px 0;
    }

    .error-404-number h1 {
        font-size: 100px;
    }

    .error-404-message h2 {
        font-size: 24px;
    }

    .error-404-message .error-description {
        font-size: 15px;
    }

    .error-404-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-404-home,
    .btn-404-news {
        padding: 12px 25px;
        font-size: 15px;
        justify-content: center;
    }

    .error-404-search {
        padding: 25px 20px;
        margin: 30px 15px;
    }

    .error-404-search h5 {
        font-size: 18px;
    }

    .search-input-group {
        flex-direction: column;
    }

    .search-input-404,
    .btn-search-404 {
        width: 100%;
        padding: 12px 18px;
        font-size: 15px;
    }

    .error-404-popular-news {
        margin-top: 40px;
        padding: 30px 15px;
    }

    .section-header-404 h3 {
        font-size: 24px;
    }

    .section-header-404 p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .error-404-number h1 {
        font-size: 80px;
    }

    .error-404-message h2 {
        font-size: 20px;
    }
}

