/* ASTRO Widget Badge */
.astro-widget-badge, .astro-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #000000;
    color: #ffffff;
    font-size: 12px;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 3px;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    letter-spacing: 1px;
}

/* Blog Listeleme Widget Stilleri */

/* Grid Görünümü */
.astro-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 20px;
    grid-auto-rows: 1fr;
}

/* Kart Stili */
.astro-blog-card {
    background-color: #ffffff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

/* Görsel Stili */
.astro-blog-image {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 oranı (9/16 = 0.5625 = 56.25%) */
}

.astro-blog-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    transition: transform 0.3s ease;
    object-fit: cover;
    object-position: center;
}

.astro-blog-card:hover .astro-blog-image img {
    transform: scale(1.05);
}

/* İçerik Alanı */
.astro-blog-content {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* Başlık */
.astro-blog-title {
    margin: 10px 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
}

.astro-blog-title a {
    color: #333333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.astro-blog-title a:hover {
    color: #0073aa;
}

/* Özet */
.astro-blog-excerpt {
    margin-bottom: 15px;
    color: #777777;
    font-size: 14px;
    line-height: 1.6;
}

/* Meta Bilgileri */
.astro-blog-meta, .astro-blog-meta-footer {
    font-size: 12px;
    color: #888888;
    margin-bottom: 10px;
}

.astro-blog-meta-footer {
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.astro-blog-date, .astro-blog-author, .astro-blog-categories, .astro-blog-comments {
    margin-right: 10px;
}

.astro-blog-categories a {
    color: #0073aa;
    text-decoration: none;
}

.astro-blog-categories a:hover {
    text-decoration: underline;
}

/* Buton Kapsayıcı */
.astro-blog-button-wrapper {
    margin-top: 15px;
    text-align: left; /* Varsayılan sol hizalama */
}

/* Devamını Oku Butonu */
.astro-blog-read-more {
    display: inline-block;
    padding: 8px 15px;
    background-color: #0073aa;
    color: #ffffff;
    text-decoration: none;
    border-radius: 3px;
    font-size: 14px;
    transition: all 0.3s ease;
    text-align: center;
}

/* Tam genişlik buton */
.astro-blog-button-width-full .astro-blog-read-more {
    display: block;
    width: 100%;
}

.astro-blog-read-more:hover {
    background-color: #005a87;
}

/* Responsive Düzenlemeler */
@media (max-width: 1024px) {
    .astro-blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* Slider Görünümü */
.astro-blog-slider {
    position: relative;
    padding-bottom: 40px;
}

.astro-blog-slider .swiper-pagination {
    bottom: 0;
}

.astro-blog-slider .swiper-button-next,
.astro-blog-slider .swiper-button-prev {
    color: #0073aa;
}

.astro-blog-slider .swiper-button-next:after,
.astro-blog-slider .swiper-button-prev:after {
    font-size: 20px;
} 

/* Hero Banner Widget Stilleri */
.astro-hero-banner {
    position: relative;
    width: 100%;
    height: 60vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

.astro-hero-banner .astro-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #000000;
    color: #ffffff;
    font-size: 12px;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 3px;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    letter-spacing: 1px;
}

.astro-hero-banner-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.astro-hero-banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.astro-hero-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.astro-hero-banner-content {
    position: relative;
    z-index: 3;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    box-sizing: border-box;
    text-align: center;
    max-width: 100%;
}

.astro-hero-banner-inner-content {
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    align-items: inherit;
    justify-content: inherit;
}

.astro-hero-banner-title {
    color: #ffffff;
    font-size: 48px;
    font-weight: bold;
    text-align: center;
    margin: 0;
    padding: 10px 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    width: 100%;
    max-width: 1000px;
    line-height: 1.2;
}

/* Yeni eklenen açıklama stili */
.astro-hero-banner-description {
    color: #ffffff;
    font-size: 18px;
    line-height: 1.6;
    margin-top: 20px;
    margin-bottom: 0;
    width: 100%;
    max-width: 800px;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Yeni eklenen buton stili */
.astro-hero-banner-button {
    display: inline-block;
    margin-top: 30px;
    padding: 12px 24px;
    background-color: #0073aa;
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border: none;
    cursor: pointer;
}

.astro-hero-banner-button:hover {
    background-color: #005a87;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Responsive Düzenlemeler */
@media (max-width: 1200px) {
    .astro-hero-banner-title {
        font-size: 36px;
    }
    
    .astro-hero-banner-description {
        font-size: 16px;
    }
}

@media (max-width: 1024px) {
    .astro-hero-banner-title {
        font-size: 32px;
        max-width: 90%;
    }
    
    .astro-hero-banner-description {
        max-width: 90%;
    }
}

@media (max-width: 767px) {
    .astro-hero-banner {
        height: 50vh;
    }
    
    .astro-hero-banner-content {
        padding: 20px;
    }
    
    .astro-hero-banner-title {
        font-size: 24px;
        width: 100%;
        padding: 10px;
    }
    
    .astro-hero-banner-description {
        font-size: 14px;
        width: 100%;
    }
    
    .astro-hero-banner-button {
        padding: 10px 20px;
        font-size: 14px;
        margin-top: 20px;
    }
}