body {margin:0; font-family: Arial, sans-serif; background:#f7f7f7;}
.header {display:flex; justify-content:space-between; align-items:center; padding:10px 20px; background:#222; color:#fff;}
.header .logo img {height:40px;}
.top-menu ul {list-style:none; display:flex; margin:0; padding:0;}
.top-menu li {margin-left:20px;}
.top-menu a {color:#fff; text-decoration:none;}

.cats-popup {display:none; position:absolute; top:60px; left:0; right:0; background:#fff; padding:20px; box-shadow:0 4px 12px rgba(0,0,0,.2);}
.cats-popup.show {display:block;}
.cats-grid {display:grid; grid-template-columns:repeat(auto-fit,minmax(120px,1fr)); gap:10px;}
.cats-grid a {background:#eee; padding:10px; text-align:center; border-radius:6px; text-decoration:none; color:#333;}

.content {display:flex; max-width:900px; margin:20px auto;}
.sidebar {width:200px; background:#fff; padding:15px; border-radius:8px; box-shadow:0 2px 5px rgba(0,0,0,.1);}
.main-section {flex:1; margin-left:20px;}
.search-box {margin-bottom:20px;}

.tabs {background:#fff; padding:15px; border-radius:8px;}
.tab-links {list-style:none; display:flex; margin:0; padding:0; border-bottom:1px solid #ddd;}
.tab-links li {margin-right:10px;}
.tab-links a {padding:8px 12px; display:block; text-decoration:none; background:#eee; border-radius:5px 5px 0 0; color:#333;}
.tab-links .active a {background:#fff; border-bottom:2px solid #fff;}
.tab-content .tab {display:none;}
.tab-content .tab.active {display:block;}
.news-list {list-style:none; padding:0;}
.news-list li {padding:10px; border-bottom:1px solid #ddd;}

.shortstory {
    display: flex;
    background: #fff;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.08);
    overflow: hidden;
}

.shortstory-thumb {
    width: 200px;
    flex-shrink: 0;
}
.shortstory-thumb img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    display: block;
}

.shortstory-content {
    padding: 15px;
    flex: 1;
}
.shortstory-title {
    margin: 0 0 10px;
    font-size: 18px;
}
.shortstory-title a {
    text-decoration: none;
    color: #222;
}
.shortstory-meta {
    font-size: 12px;
    color: #777;
    margin-bottom: 10px;
}
.shortstory-text {
    font-size: 14px;
    line-height: 1.5;
    color: #444;
}
.shortstory-more {
    margin-top: 10px;
}
.shortstory-more .readmore {
    background: #0077cc;
    color: #fff;
    padding: 6px 12px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 13px;
}
.shortstory-more .readmore:hover {
    background: #005fa3;
}

.fullstory {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,.08);
    margin-bottom: 20px;
}
.fullstory-title {
    font-size: 24px;
    margin-bottom: 10px;
    color: #222;
}
.fullstory-meta {
    font-size: 13px;
    color: #777;
    margin-bottom: 15px;
}
.fullstory-thumb img {
    max-width: 100%;
    border-radius: 8px;
    margin-bottom: 15px;
}
.fullstory-text {
    font-size: 15px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 20px;
}
.fullstory-tags {
    margin-bottom: 20px;
    font-size: 13px;
    color: #555;
}
.fullstory-share {
    margin-bottom: 20px;
}
.fullstory-share a {
    color: #0077cc;
    text-decoration: none;
    margin: 0 5px;
}
.fullstory-share a:hover {
    text-decoration: underline;
}
.fullstory-comments {
    margin-top: 30px;
}
.fullstory-comments h3 {
    font-size: 18px;
    margin-bottom: 15px;
}

/* Sütun daxilində tam en */
.search-column {
  display: flex;
  width: 100%;              /* yerləşdiyi sütunun tam eni */
  max-width: 650px;         /* sənin sağ sütun ölçünə uyğun */
  margin: 0 auto 20px auto; /* mərkəzləşdir və aşağı boşluq */
  gap: 8px;
}

.search-column .form-control {
  flex: 1 1 auto;           /* input bütün eni tutur */
  min-width: 0;
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 15px;
}

.search-column .btn {
  flex: 0 0 auto;
  border-radius: 6px;
  padding: 0 18px;
  font-weight: 600;
  display: flex;
  align-items: center;
}

/* Mobil üçün */
@media (max-width: 720px) {
  .search-column {
    flex-direction: column;
    max-width: 100%;        /* mobil ekranlarda tam en */
  }
  .search-column .btn {
    width: 100%;
    justify-content: center;
    padding: 10px;
  }
}
.search-form-section {
    max-width: 900px;          /* səhifə mərkəzi eni */
    margin: 20px auto;
    padding: 10px;
}

.search-form {
    display: flex;
    width: 100%;
    gap: 8px;
}

.search-form .form-control {
    flex: 1 1 auto;
    min-width: 0;
    border-radius: 6px;
    padding: 12px 14px;
    font-size: 15px;
    border: 1px solid #28a745;   /* yaşıl çərçivə */
}

.search-form .btn {
    flex: 0 0 auto;
    border-radius: 6px;
    padding: 0 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    background: #28a745;color: #fff; border: none;
    cursor: pointer;transition: background 0.3s;
}

.search-form .btn:hover {background: #218838;}

/* Mobil uyğunluq */
@media (max-width: 720px) {
    .search-form {
        flex-direction: column;
    }
    .search-form .btn {
        width: 100%;
        justify-content: center;
        padding: 12px;
    }
}
.page-navigation {display: flex;justify-content: center;margin: 20px 0;
}

.page-navigation .pagination { display: flex;gap: 6px; list-style: none;padding: 0;margin: 0;
}

.page-navigation .pagination li {display: inline-block;
}

.page-navigation .pagination a,
.page-navigation .pagination span {
    display: block;
    padding: 8px 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.page-navigation .pagination a:hover {background: #28a745;color: #fff;border-color: #28a745;}
.page-navigation .pagination .active span {background: #28a745;color: #fff;border-color: #28a745;font-weight: bold;}
.footer {display:grid; grid-template-columns:repeat(4,1fr); background:#222; color:#fff; padding:20px; margin-top:20px;}
.footer-col {padding:10px;}
.footer-col h4 {margin-bottom:10px;}
.footer-col a {color:#ddd; text-decoration:none; display:block; margin-bottom:5px;}
