/* --- General Styles --- */
body {
    background-color: #f0f2f5;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #1c1e21;
}

a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    color: #e60000; /* Milliyet red color for hover */
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    padding: 0;
    font-weight: 700;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

/* --- Homepage Container --- */
.homepage {
    max-width: 1240px;
    margin: 20px auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* --- Hero Section --- */
.hero-section .hero-main-container {
    background:#cd1714;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

.hero-main .hero-image {
    position: relative;
    overflow: hidden;
    height: 100%;
}

.hero-main .hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.hero-main a:hover .hero-image img {
    transform: scale(1.03);
}

.hero-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgb(255 255 255 / 90%) 0%, rgba(0, 0, 0, 0) 100%);
    color: #fff;
}

.hero-text .hero-category {
    background-color: #e60000;
    color: #fff;
    padding: 4px 8px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 3px;
    text-transform: uppercase;
}

.hero-text h1 {
    font-size: 2.2rem;
    margin-top: 10px;
    line-height: 1.2;
}

.hero-side {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.hero-side-item {
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.hero-side-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.hero-side-item h3 {
    padding: 10px 15px;
    font-size: 1.1rem;
    line-height: 1.4;
}


.manset-card {
    background: #BCBCBD;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}


/* --- Category Blocks --- */
.category-blocks {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.category-card {
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.category-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #e60000;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.category-title h2 {
    font-size: 1.8rem;
    color: #333;
}

.category-title a {
    font-size: 0.9rem;
    font-weight: 600;
    color: #555;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 20px;
}

.category-feature {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
}

.category-feature img {
    width: 100%;
    height: 360px;
    margin-bottom: 15px;
}

.category-feature h3 {
    font-size: 1.6rem;
    line-height: 1.3;
    margin-bottom: 10px;
}

.category-feature p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}

.category-item {
    display: flex;
    flex-direction: column;
}

.category-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    margin-bottom: 10px;
}

.category-item h4 {
    font-size: 1rem;
    line-height: 1.4;
    font-weight: 600;
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    .hero-section .hero-main-container {
        grid-template-columns: 1fr;
    }
    .hero-text h1 {
        font-size: 1.8rem;
    }
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .category-feature {
        grid-column: 1 / 3; /* Feature takes full width */
        grid-row: 1 / 2;
    }
}

@media (max-width: 600px) {
    .homepage {
        padding: 0 10px;
    }
    .hero-side {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .hero-side-item {
        width: calc(50% - 8px);
    }
    .category-grid {
        grid-template-columns: 1fr;
    }
    .category-feature {
        grid-column: 1 / 2;
    }
    .category-title h2 {
        font-size: 1.5rem;
    }
}
/* --- Footer Styles --- */
.site-footer {
    background-color: #222;
    color: #a9a9a9; /* Tam ağ rəng gözü yora bilər, bir az solğun rəng daha yaxşıdır */
    padding: 40px 0;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1.6;
}

.site-footer .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Footer-da vidcet sahəsi üçün stillər (Bonus) */
.site-footer .footer-widgets {
	margin-bottom: 30px;
	padding-bottom: 30px;
	border-bottom: 1px solid #444;
}

.site-footer .site-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Mobil cihazlar üçün */
    gap: 15px;
    text-align: center;
}

@media (max-width: 768px) {
    .site-footer .site-info {
        flex-direction: column; /* Kiçik ekranlarda alt-alta düzülüş */
    }
}

.site-footer .copyright {
    flex: 1;
    text-align: left;
}

.site-footer .contact-info {
    flex: 1;
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}

@media (max-width: 768px) {
    .site-footer .copyright,
    .site-footer .contact-info {
        text-align: center;
        align-items: center;
    }
}


.site-footer a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-footer a:hover {
    color: #0073aa; /* WordPress-in standart mavi rəngi */
}
/* --- Səhifə Düzülüşü (Mobil-first) --- */
.homepage {
    display: flex;
    flex-direction: column;
}

/* Ən yuxarıda karusel görünür (mobil üçün standart) */
.latest-posts-carousel { order: 1; }
.hero-section { order: 2; }
.category-blocks { order: 3; }

/* Geniş ekranlarda Manşet yuxarı qalxır */
@media (min-width: 992px) {
    .hero-section { order: 1; }
    .latest-posts-carousel { order: 2; }
    .category-blocks { order: 3; }
}


/* --- Son Əlavələr Karuseli Stili --- */
.latest-posts-carousel {
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    position: relative; /* Naviqasiya oxları üçün */
}

.latest-posts-carousel .swiper-slide {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
}

.latest-posts-carousel .swiper-slide img {
    width: 100%;
    height: 250px; /* Bütün şəkillərin hündürlüyünü eyni edir */
    object-fit: cover;
    transition: transform 0.3s ease;
}

.latest-posts-carousel .swiper-slide:hover img {
    transform: scale(1.05);
}

.latest-posts-carousel .slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 100%);
}

.latest-posts-carousel .slide-caption h4 {
    color: #fff;
    font-size: 1rem;
    line-height: 1.3;
    margin: 0;
}

/* --- Karusel Naviqasiya Oxları Stili --- */
.latest-posts-carousel .swiper-button-next,
.latest-posts-carousel .swiper-button-prev {
    color: #fff;
    background-color: rgba(0, 0, 0, 0.4);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.latest-posts-carousel .swiper-button-next:hover,
.latest-posts-carousel .swiper-button-prev:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.latest-posts-carousel .swiper-button-next::after,
.latest-posts-carousel .swiper-button-prev::after {
    font-size: 20px;
    font-weight: bold;
}

.burcler-section {
  margin-top: 40px;
}

.burcler-slider {
  padding: 10px 0;
  overflow: hidden;
}

.burcler-slider .swiper-wrapper {
  display: flex;
  align-items: center;
}

.burcler-slider .swiper-slide {
  width: auto !important;
  flex-shrink: 0;
  margin-right: 12px;
}

.burc-icon-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px;
  background: #fff;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  width: 75px;
  transition: 0.3s;
}

.burc-icon-box:hover {
  background-color: #f0e4ff;
}

.burc-icon {
  font-size: 40px;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #6e00ff;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.burc-name {
  font-size: 14px;
  font-weight: bold;
  color: #333;
  text-align: center;
}

