/* GLOBAL RESET & STYLES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
}

body {
    background-color: #f4f6f9;
    color: #222;
}

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

/* TOP BAR */
.top-bar {
    background: #fff;
    border-bottom: 1px solid #eef0f3;
    font-size: 13px;
    color: #666;
}

.top-bar-container {
    max-width: 1340px; /* Bütün sayt üzr&#601; enlilik art&#305;r&#305;ld&#305; */
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    padding: 8px 20px;
}

.top-links a {
    margin-left: 15px;
}
.top-links a:hover { color: #c00; }

/* HEADER */
header {
    background: #fff;
    border-bottom: 4px solid #c00;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

.header-container {
    max-width: 1340px; /* &#304;deal vizual x&#601;tt üçün yenil&#601;ndi */
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo h1 {
    font-size: 26px;
    font-weight: 900;
    letter-spacing: 1px;
    color: #111;
}

.logo span {
    color: #c00;
    font-size: 13px;
    font-weight: 700;
    display: block;
    margin-top: -6px;
    letter-spacing: 3px;
}

.desktop-menu a {
    font-weight: 700;
    font-size: 14px;
    margin: 0 12px;
    color: #333;
}

.desktop-menu a:hover, .desktop-menu a.active {
    color: #c00;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-box input {
    padding: 6px 30px 6px 12px;
    border: 1px solid #ddd;
    border-radius: 20px;
    outline: none;
    font-size: 13px;
    width: 150px;
    transition: width 0.3s;
}

.search-box input:focus { width: 200px; border-color: #c00; }

.search-box i {
    position: absolute;
    right: 10px;
    color: #777;
    cursor: pointer;
}

.social-icons a {
    color: #555;
    margin-left: 5px;
}
.social-icons a:hover { color: #c00; }

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
}

/* MOB&#304;L SIDEBAR (Yandan Menyu) */

/* Qara &#351;&#601;ffaf fon (Overlay) */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9998; /* Menyunun alt&#305;nda qal&#305;r */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.sidebar-overlay.active,
.sidebar-overlay.open {
    opacity: 1;
    visibility: visible;
    display: block;
}

/* Yandan aç&#305;lan mobil menyu */
.mobile-sidebar {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100vh;
    background-color: #ffffff;
    z-index: 9999; /* Qara fondan mütl&#601;q yuxar&#305;da olmal&#305;d&#305;r */
    display: flex;
    flex-direction: column;
    padding: 15px;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    transition: left 0.3s ease;
}

/* Menyu aç&#305;ld&#305;qda (h&#601;m active, h&#601;m open d&#601;st&#601;kl&#601;nir) */
.mobile-sidebar.active,
.mobile-sidebar.open {
    left: 0;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.close-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

/* Daxili Skroll Hiss&#601;si */
.mobile-nav {
    flex: 1;
    overflow-y: auto; 
    -webkit-overflow-scrolling: touch;
    padding-bottom: 30px; 
}

.mobile-nav a {
    display: block;
    padding: 12px 10px;
    font-weight: 700;
    color: #333;
    text-decoration: none;
    border-radius: 6px;
    margin-bottom: 5px;
}

.mobile-nav a:hover, 
.mobile-nav a.active { 
    background: #fff1f1; 
    color: #c00; 
}

/* TICKER (QAÇAN X&#399;B&#399;R LENT&#304;) */
.ticker-wrapper {
    display: flex;
    background: #111;
    color: #fff;
    overflow: hidden;
    height: 42px;
    align-items: center;
    max-width: 1340px; /* Slider x&#601;tti il&#601; tam b&#601;rab&#601;rl&#601;&#351;dirildi */
    margin: 15px auto 0 auto;
    border-radius: 6px;
}

.ticker-title {
    background: #c00;
    padding: 0 20px;
    font-weight: 700;
    height: 100%;
    display: flex;
    align-items: center;
    z-index: 5;
    font-size: 13px;
    letter-spacing: 1px;
}

.ticker-content {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    cursor: pointer;
}

.ticker-text {
    display: inline-block;
    padding-left: 100%;
    animation: tickerLoop 30s linear infinite;
}

.ticker-text a {
    color: #fff;
    margin-right: 40px;
    font-size: 14px;
    font-weight: 500;
}
.ticker-text a:hover { color: #ff9999; }

@keyframes tickerLoop {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-100%, 0, 0); }
}

/* MAIN LAYOUT (UPPER SECTION) */
.main-layout {
    max-width: 1340px; /* Ümumi s&#601;rh&#601;d geni&#351;l&#601;ndirildi */
    margin: 25px auto;
    display: grid;
    grid-template-columns: 2.6fr 1fr; /* Slider daha enli (2.6), yan x&#601;b&#601;rl&#601;r daha y&#305;&#287;cam (1) edildi */
    gap: 25px;
    padding: 0 20px;
}

/* SLIDER */
.slider-container {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 480px; /* Enl&#601;nm&#601;y&#601; uy&#287;un olaraq vizual hündürlük bir az art&#305;r&#305;ld&#305; */
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.slider { width: 100%; height: 100%; position: relative; }

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden; /* Görünm&#601;y&#601;n slayd&#305;n üz&#601;rin&#601; klikl&#601;m&#601;yi v&#601; seçilm&#601;yi tam bloklay&#305;r */
    pointer-events: none; /* Link klikl&#601;rini l&#601;&#287;v edir */
    transition: opacity 0.6s ease-in-out, visibility 0.6s ease-in-out;
}

.slide.active {
    opacity: 1;
    visibility: visible; /* Yaln&#305;z aktiv slayd&#305; görün&#601;n v&#601; klikl&#601;n&#601;n edir */
    pointer-events: auto; /* Aktiv slayd&#305;n linkini klik üçün aç&#305;r */
}
.slide img { width: 100%; height: 100%; object-fit: cover; }

.slide-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    padding: 40px 30px 30px 30px;
    color: #fff;
}

.badge {
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 3px;
    text-transform: uppercase;
    margin-bottom: 12px;
    display: inline-block;
}
.badge.red { background: #c00; }
.badge.blue { background: #0056b3; }

.slide-info h2 { font-size: 26px; margin-bottom: 10px; line-height: 1.3; font-weight: 700; }
.slide-info p { font-size: 14px; opacity: 0.85; line-height: 1.4; }

.slide-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.4);
    color: #fff;
    border: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s;
}
.slide-btn:hover { background: #c00; }
.prev { left: 20px; }
.next { right: 20px; }

.slider-dots { position: absolute; bottom: 30px; right: 30px; display: flex; gap: 6px; }
.dot { width: 8px; height: 8px; background: rgba(255,255,255,0.4); border-radius: 50%; cursor: pointer; transition: all 0.3s; }
.dot.active { background: #c00; width: 22px; border-radius: 10px; }

/* SIDE LIST */
.side-news { display: flex; flex-direction: column; gap: 15px; }

.side-item {
    display: flex;
    background: #fff;
    padding: 12px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
    transition: transform 0.2s, box-shadow 0.2s;
}
.side-item:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,0,0,0.08); }
.side-item img { width: 110px; height: 85px; object-fit: cover; border-radius: 6px; margin-right: 15px; }

.side-item-text { display: flex; flex-direction: column; justify-content: space-between; }
.cat-label { font-size: 11px; font-weight: 700; color: #c00; text-transform: uppercase; }
.side-item-text h4 { font-size: 14px; color: #222; font-weight: 600; line-height: 1.4; }
.time { font-size: 11px; color: #888; }


/* KATEQOR&#304;YALAR (LOWER SECTION - TAM H&#304;ZALANDI) */
.categories-section {
    max-width: 1340px; /* S&#601;hv olan '100px' d&#601;y&#601;ri '1340px' il&#601; &#601;v&#601;z edildi */
    margin: 40px auto;
    padding: 0 20px;
}

.section-title {
    border-bottom: 2px solid #eef0f3;
    margin-bottom: 25px;
    position: relative;
}

.section-title h2 {
    font-size: 20px;
    padding-bottom: 10px;
    display: inline-block;
    border-bottom: 3px solid #c00;
    margin-bottom: -2px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.cat-block {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    border: 1px solid #eef0f3;
}

.cat-block h3 {
    font-size: 18px;
    font-weight: 700;
    border-bottom: 1px solid #f5f5f5;
    padding-bottom: 12px;
    margin-bottom: 18px;
}

.cat-block h3 span {
    border-left: 4px solid #c00;
    padding-left: 12px;
}

/* Ba&#351; X&#601;b&#601;r Dizayn&#305; */
.cat-img-wrapper {
    position: relative;
    width: 100%;
    height: 190px;
    overflow: hidden;
    border-radius: 6px;
    margin-bottom: 12px;
}

.cat-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.cat-main-post:hover .cat-img-wrapper img {
    transform: scale(1.05);
}

.cat-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #c00;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cat-main-post h4 {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    color: #111;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cat-main-post:hover h4 {
    color: #c00;
}

/* Tarix v&#601; Saat (Meta data) */
.cat-meta {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: #888;
    margin-bottom: 15px;
    border-bottom: 1px solid #f5f5f5;
    padding-bottom: 12px;
}

.cat-meta i {
    margin-right: 4px;
}

/* Alt &#350;&#601;killi Kiçik X&#601;b&#601;rl&#601;r */
.cat-sub-posts {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cat-sub-item {
    display: flex;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
    transition: background 0.2s;
}

.cat-sub-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.cat-sub-item img {
    width: 85px;
    height: 65px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 12px;
    flex-shrink: 0;
}

.cat-sub-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.cat-sub-item h5 {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    color: #333;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cat-sub-item:hover h5 {
    color: #c00;
}

.cat-meta-time {
    font-size: 11px;
    color: #999;
}

.cat-meta-time i {
    margin-right: 3px;
}

/* FOOTER */
footer {
    background: #111;
    color: #bbb;
    padding: 50px 0 20px 0;
    margin-top: 50px;
}

.footer-container {
    max-width: 1340px; /* Footer da tam x&#601;tt&#601; g&#601;tirildi */
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 40px;
    padding: 0 20px;
}

.footer-about h2 { color: #fff; margin-bottom: 15px; font-size: 22px; }
.footer-about p { font-size: 14px; line-height: 1.6; }

.footer-links h4, .footer-subscribe h4 { color: #fff; margin-bottom: 15px; font-size: 16px; }
.footer-links ul { list-style: none; }
.footer-links ul li { margin-bottom: 10px; font-size: 14px; }
.footer-links ul li a:hover { color: #fff; }

.footer-subscribe p { font-size: 14px; margin-bottom: 15px; }
.sub-box { display: flex; }
.sub-box input {
    padding: 10px;
    border: none;
    border-radius: 4px 0 0 4px;
    outline: none;
    flex: 1;
}
.sub-box button {
    background: #c00;
    color: #fff;
    border: none;
    padding: 0 20px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-weight: 600;
}

.footer-bottom {
    max-width: 1340px;
    margin: 30px auto 0 auto;
    padding: 20px;
    border-top: 1px solid #222;
    text-align: center;
    font-size: 13px;
}

/* RESPONSIVE DESIGN (MOB&#304;L VE PLAN&#350;ET OPT&#304;M&#304;ZAS&#304;YASI) */
@media (max-width: 992px) {
    .main-layout { grid-template-columns: 1fr; }
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-container { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 768px) {
    .desktop-menu, .top-bar, .search-box, .header-right .social-icons { display: none; }
    .menu-toggle { display: block; }
    
    .main-layout { grid-template-columns: 1fr; margin: 15px auto; }
    .categories-grid { grid-template-columns: 1fr; }
    
    .slider-container { height: 280px; }
    .slide-info h2 { font-size: 18px; }
    .slide-info p { display: none; }
    .ticker-wrapper { margin: 10px 10px 0 10px; }
}

/* DESKTOP DROPDOWN */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown > a i {
    font-size: 11px;
    margin-left: 3px;
    transition: transform 0.2s;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    min-width: 180px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-top: 3px solid #c00;
    border-radius: 0 0 6px 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 10px 0;
    z-index: 1000;
}

.dropdown-menu a {
    color: #333 !important;
    display: block;
    padding: 10px 20px !important;
    margin: 0 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    border-bottom: 1px solid #f5f5f5;
}

.dropdown-menu a:last-child {
    border-bottom: none;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown:hover > a {
    color: #c00;
}

.dropdown:hover > a i {
    transform: rotate(180deg);
}

/* MOB&#304;L DROPDOWN */
.mobile-dropdown {
    width: 100%;
}

.mobile-dropdown-btn {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 12px 10px;
    font-size: 14px;
    font-weight: 700;
    color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    border-radius: 6px;
}

.mobile-dropdown-btn:hover {
    background: #fff1f1;
    color: #c00;
}

.mobile-dropdown-btn i {
    font-size: 12px;
    transition: transform 0.3s;
}

.mobile-dropdown-container {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: #f9f9f9;
    border-radius: 6px;
    padding-left: 15px;
}

.mobile-dropdown-container a {
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #555 !important;
    padding: 10px !important;
    border-bottom: 1px solid #eee;
}

.mobile-dropdown.active .mobile-dropdown-btn i {
    transform: rotate(180deg);
    color: #c00;
}

.mobile-dropdown.active .mobile-dropdown-btn {
    color: #c00;
    background: #fff1f1;
}

/* ARTICLE PAGE DESIGN */
.article-layout {
    grid-template-columns: 2.6fr 1fr; /* Mövcud ana s&#601;hif&#601; düz&#601;ni il&#601; tam eyni x&#601;tt */
    gap: 30px;
}

.article-container {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    border: 1px solid #eef0f3;
}

/* Meta M&#601;lumatlar */
.article-meta-top {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.article-cat {
    background: #c00;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.meta-item {
    font-size: 13px;
    color: #777;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Ba&#351;l&#305;q v&#601; &#350;&#601;kill&#601;r */
.article-title {
    font-size: 32px;
    font-weight: 800;
    color: #111;
    line-height: 1.3;
    margin-bottom: 25px;
}

.article-main-img {
    width: 100%;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 25px;
}

.article-main-img img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* X&#601;b&#601;r M&#601;tni */
.article-content {
    font-size: 17px;
    line-height: 1.75;
    color: #333;
}

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

.article-content strong {
    color: #111;
}

/* M&#601;tn daxili &#351;&#601;kil */
.article-body-img {
    margin: 30px 0;
    width: 100%;
}

.article-body-img img {
    width: 100%;
    border-radius: 6px;
    height: auto;
}

.article-body-img figcaption {
    font-size: 13px;
    color: #666;
    text-align: center;
    margin-top: 8px;
    font-style: italic;
}

/* Payla&#351;&#305;m Düym&#601;l&#601;ri */
.share-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 35px 0;
    padding: 20px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.share-buttons span {
    font-weight: 700;
    font-size: 14px;
    color: #222;
    margin-right: 10px;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 4px;
    color: #fff !important;
    font-size: 13px;
    font-weight: 600;
}

.share-btn.fb { background: #3b5998; }
.share-btn.tw { background: #1da1f2; }
.share-btn.wp { background: #25d366; }
.share-btn.tg { background: #0088cc; }
.share-btn:hover { opacity: 0.9; }

/* Dig&#601;r X&#601;b&#601;rl&#601;r Bölm&#601;si */
.related-news-section {
    margin-top: 40px;
}

.related-title {
    font-size: 20px;
    font-weight: 800;
    color: #111;
    border-left: 4px solid #c00;
    padding-left: 12px;
    margin-bottom: 20px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.related-item {
    display: block;
}

.related-item img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 10px;
    transition: transform 0.2s;
}

.related-item:hover img {
    transform: translateY(-3px);
}

.related-item h4 {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    color: #222;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-item:hover h4 { color: #c00; }

.related-time {
    font-size: 11px;
    color: #999;
}

/* SA&#286; T&#399;R&#399;F: SAD&#399; X&#399;B&#399;R LENT&#304; (TIMELINE) */
.sidebar-news-timeline {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #eef0f3;
    align-self: start;
}

.timeline-header {
    border-bottom: 2px solid #eef0f3;
    padding-bottom: 12px;
    margin-bottom: 20px;
}

.timeline-header h3 {
    font-size: 18px;
    font-weight: 800;
    color: #111;
    display: flex;
    align-items: center;
    gap: 8px;
}

.timeline-header h3 i {
    color: #c00;
}

.timeline-list {
    position: relative;
    padding-left: 15px;
    border-left: 2px solid #eef0f3;
}

.timeline-item {
    display: block;
    position: relative;
    margin-bottom: 20px;
}

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

.timeline-dot {
    position: absolute;
    left: -20px;
    top: 5px;
    width: 8px;
    height: 8px;
    background: #ddd;
    border-radius: 50%;
    transition: background 0.2s;
}

.timeline-item:hover .timeline-dot {
    background: #c00;
    box-shadow: 0 0 0 3px rgba(204, 0, 0, 0.2);
}

.timeline-info h4 {
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.4;
    color: #333;
    margin-bottom: 4px;
}

.timeline-item:hover h4 {
    color: #c00;
}

.timeline-time {
    font-size: 11px;
    color: #999;
    font-weight: 500;
}

/* RESPONSIVE AYARLARI (X&#399;B&#399;R S&#399;H&#304;F&#399;S&#304; ÜÇÜN) */
@media (max-width: 992px) {
    .article-layout {
        grid-template-columns: 1fr; /* Plan&#351;et v&#601; mobild&#601; sa&#287; panel a&#351;a&#287;&#305; dü&#351;ür */
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .article-container {
        padding: 15px; /* Mobild&#601; daxili s&#305;xl&#305;q azal&#305;r */
    }
    .article-title {
        font-size: 24px; /* Mobild&#601; ba&#351;l&#305;q kiçilir */
        margin-bottom: 15px;
    }
    .article-content {
        font-size: 15.5px; /* M&#601;tn oxunu&#351;u rahatla&#351;&#305;r */
    }
    .related-grid {
        grid-template-columns: 1fr; /* Ox&#351;ar x&#601;b&#601;rl&#601;r alt-alta düzülür */
        gap: 15px;
    }
    .related-item img {
        height: 180px;
    }
}

/* 4-LÜ X&#399;B&#399;R CARD SECT&#304;ON */
.latest-cards-section {
    max-width: 1340px; /* Bütün saytla tam eyni x&#601;tt v&#601; nizam */
    margin: 40px auto;
    padding: 0 20px;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Masaüstünd&#601; tam 4 sütun */
    gap: 20px;
}

.news-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    border: 1px solid #eef0f3;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card-img-holder {
    position: relative;
    width: 100%;
    height: 175px;
    overflow: hidden;
}

.card-img-holder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-card:hover .card-img-holder img {
    transform: scale(1.06);
}

.card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #c00;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.card-body {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-meta {
    font-size: 11px;
    color: #888;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.card-body h3 {
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
}

.card-body h3 a {
    color: #222;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Maksimum 3 s&#601;tir, art&#305;q qalan&#305; avtomatik üç nöqt&#601; (...) olur */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card:hover h3 a {
    color: #c00;
}

/* RESPONSIVE OPT&#304;M&#304;ZAS&#304;YASI */
@media (max-width: 1200px) {
    .cards-grid {
        grid-template-columns: repeat(3, 1fr); /* Kiçik monitorlar üçün 3 sütun */
    }
}

@media (max-width: 768px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr); /* Plan&#351;etl&#601;r v&#601; böyük telefonlar üçün 2 sütun */
        gap: 15px;
    }
    .card-img-holder {
        height: 140px;
    }
}

@media (max-width: 480px) {
    .cards-grid {
        grid-template-columns: 1fr; /* Mobil telefonlar üçün tam alt-alta 1 sütun */
    }
    .card-img-holder {
        height: 180px;
    }
}

 @media (max-width: 768px) {
       .logo img{ max-width: 100%;
    margin: 0 auto;
           display: block;}}
        .logo img{ max-width: 100%;
    margin: 0 auto;
           display: block;}
        .logo {width:175px;}
        
        .dropdown-menu a:hover {
            background-color:#f5f4f4;
        }

/* Mobil Menyu &#304;çi Axtar&#305;&#351; Bloku */
.mobile-search-box {
    padding: 12px 15px;
    background-color: transparent;
}

.mobile-search-box form {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}

.mobile-search-box input#story {
    width: 100%;
    height: 38px;
    padding: 0 40px 0 12px;
    font-size: 14px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    outline: none;
    background-color: #fff;
    color: #333;
    box-sizing: border-box;
}

.mobile-search-box input#story:focus {
    border-color: #007bff;
}

/* Axtar&#305;&#351; Düym&#601;si v&#601; &#304;konu */
.mobile-search-box .search-submit-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    width: 32px;
    height: 32px;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-search-box .search-submit-btn:hover {
    color: #007bff;
}