/* =============================================
   TodayPress V2 - Musavat.com inspired design
   ============================================= */

/* ---------- 1. BASE ---------- */
* { box-sizing: border-box; }

a:focus, a:active,
button:focus, button:active,
div:focus, li:focus,
input:focus, select:focus, textarea:focus,
.navbar-toggle:focus {
    outline: none !important;
    box-shadow: none !important;
}

html { margin: 0; padding: 0; }

body.v2-body {
    background: #F4F4F4;
    font-family: Arial, sans-serif;
    color: #444;
    margin: 0;
    padding: 0;
    padding-top: 50px;
    overflow-x: hidden;
}

a { color: #02203a; text-decoration: none; }
a:hover { color: #0088cc; text-decoration: none; }
img { max-width: 100%; }

/* ---------- 2. TOP NAVBAR (blue gradient, fixed) ---------- */
.v2-top-navbar {
    background: linear-gradient(90deg, #0088cc 0%, #006a9e 100%) !important;
    border: none !important;
    border-radius: 0 !important;
    margin-bottom: 0 !important;
    min-height: 50px;
    z-index: 1050;
}

.v2-top-navbar .navbar-nav > li > a {
    color: #fff !important;
    font-family: Arial, sans-serif;
    font-size: 13px;
    font-weight: bold;
    padding: 15px 12px;
    text-transform: uppercase;
}

.v2-top-navbar .navbar-nav > li > a:hover,
.v2-top-navbar .navbar-nav > li > a:focus {
    background: rgba(255,255,255,0.15) !important;
    color: #fff !important;
}

.v2-top-navbar .navbar-toggle {
    border-color: rgba(255,255,255,0.5);
}
.v2-top-navbar .navbar-toggle .icon-bar { background: #fff; }

.v2-top-navbar .v2-social-nav > li { display: inline-block; }
.v2-top-navbar .v2-social-nav > li > a {
    padding: 15px 6px;
    color: #fff !important;
    font-size: 16px;
}
.v2-top-navbar .v2-social-nav > li > a:hover { opacity: 0.8; }

.v2-top-navbar .v2-lang-nav > li > a {
    color: #fff !important;
    font-size: 12px;
    font-weight: bold;
    padding: 15px 8px;
}

/* ---------- 3. SLOGAN / LOGO ---------- */
.v2-slogan {
    background: #fff;
    padding: 12px 0 10px;
    border-bottom: 1px solid #e4e4e4;
}

.v2-slogan .v2-logo {
    display: inline-block;
    text-decoration: none;
}

.v2-slogan .v2-logo img {
    height: 70px;
    display: block;
}

.v2-slogan .v2-logo p {
    font-size: 12px;
    color: #848484;
    margin: 2px 0 0;
    text-align: center;
}

/* ---------- 4. MAIN CATEGORY MENU (sticky) ---------- */
.v2-menu-main {
    background: #fff;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    position: sticky;
    top: 50px;
    z-index: 999;
}

.v2-menu-main .container {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    padding: 0;
}

.v2-cat-pills {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.v2-cat-pills::-webkit-scrollbar { display: none; }

.v2-cat-pills > li > a {
    display: block;
    padding: 10px 12px;
    font-size: 13px;
    font-weight: bold;
    color: #02203a;
    white-space: nowrap;
    text-transform: uppercase;
    border-bottom: 3px solid transparent;
    transition: border-color 0.2s, color 0.2s;
}

.v2-cat-pills > li > a:hover,
.v2-cat-pills > li.active > a {
    color: #0088cc !important;
    border-bottom-color: #0088cc;
    background: rgba(0, 136, 204, 0.06);
}

.v2-menu-search {
    margin-left: auto;
    flex-shrink: 0;
    padding: 6px 8px;
}

.v2-menu-search .input-group { width: 180px; }
.v2-menu-search .form-control {
    height: 32px;
    font-size: 13px;
    border-radius: 4px 0 0 4px;
}
.v2-menu-search .btn {
    height: 32px;
    padding: 0 10px;
    border-radius: 0 4px 4px 0;
}

/* ---------- 5. MAIN CONTENT WRAPPER ---------- */
.v2-main-content {
    padding-top: 10px;
}


/* ---------- 6. TOP SWIPER (large images, full width) ---------- */
.v2-swiper-top-wrap {
    margin-bottom: 10px;
}

.swiperTop {
    width: 100%;
    border-radius: 4px;
    overflow: hidden;
}

.swiperTop .swiper-slide a { display: block; }

.swiperTop .swiper-slide img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    object-position: top;
    display: block;
}

.swiperTop .swiper-pagination-bullet { background: #fff; opacity: 0.7; }
.swiperTop .swiper-pagination-bullet-active { opacity: 1; background: #0088cc; }

/* ---------- 7. SMALL SWIPER (thumbnail cards with overlay) ---------- */
.v2-swiper-small-wrap {
    margin-bottom: 10px;
}

.swiperSmall { width: 100%; }

.swiperSmall .swiper-slide {
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    background: #000;
}

.swiperSmall .swiper-slide a { display: block; position: relative; }

.swiperSmall .swiper-slide img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    object-position: top;
    display: block;
    transition: opacity 0.3s;
}

.swiperSmall .swiper-slide a:hover img { opacity: 0.8; }

.swiperSmall .news-background {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 65%;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
    pointer-events: none;
}

.swiperSmall .news-title {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 6px 8px;
    pointer-events: none;
}

.swiperSmall .news-title p {
    font-size: 12px;
    line-height: 1.3;
    color: #fff;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ---------- 8. MAIN CAROUSEL + RIGHT PANEL ---------- */
.v2-main-row {
    margin-bottom: 10px;
}

.v2-carousel-wrap { padding-right: 5px; }
.v2-right-panel { padding-left: 5px; }

/* ---------- Video thumbnail & modal ---------- */
.v2-video-thumb {
    display: block;
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
    background: #000;
}
.v2-video-thumb img {
    width: 100%;
    display: block;
    height: 168px;
    object-fit: cover;
    transition: opacity 0.3s;
}
.v2-video-thumb:hover img { opacity: 0.75; }

.v2-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
}
.v2-play-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(0,0,0,0.55);
    border: 2px solid rgba(255,255,255,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    transition: background 0.2s, transform 0.2s;
    flex-shrink: 0;
}
.v2-video-thumb:hover .v2-play-btn {
    background: #ff0000;
    border-color: #ff0000;
    transform: scale(1.08);
}
.v2-play-label {
    font-size: 11px;
    color: #fff;
    text-align: center;
    line-height: 1.3;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Modal */
.v2-video-modal .modal-dialog { margin-top: 60px; }
.v2-video-modal .modal-content {
    border: none;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}
.v2-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #111;
    padding: 10px 16px;
}
.v2-modal-title {
    color: #fff;
    font-size: 13px;
    font-family: Arial, sans-serif;
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: calc(100% - 40px);
}
.v2-modal-close {
    background: none;
    border: none;
    color: #aaa;
    font-size: 18px;
    cursor: pointer;
    padding: 0 4px;
    line-height: 1;
    flex-shrink: 0;
    transition: color 0.15s;
}
.v2-modal-close:hover { color: #fff; }
.v2-modal-body { padding: 0; background: #000; }
.v2-video-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}
.v2-video-embed iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    display: block;
}

/* Bootstrap carousel — crossfade (no slide gap) */
.carousel-main-slider {
    overflow: hidden;
    border-radius: 4px;
}

.carousel-main-slider .carousel-inner {
    overflow: hidden;
    border-radius: 4px;
    height: 380px;
    background: #000;
}

/* crossfade: bütün item-lər absolute, opacity ilə keçid */
.carousel-main-slider .carousel-inner > .item {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 380px;
    display: block !important;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    z-index: 1;
}

.carousel-main-slider .carousel-inner > .active {
    opacity: 1;
    z-index: 2;
}

.carousel-main-slider .carousel-inner > .active.left,
.carousel-main-slider .carousel-inner > .active.right {
    opacity: 0;
    z-index: 2;
    left: 0;
    transform: none;
}

.carousel-main-slider .carousel-inner > .next,
.carousel-main-slider .carousel-inner > .prev {
    opacity: 0;
    z-index: 1;
    left: 0;
    transform: none;
}

.carousel-main-slider .carousel-inner > .next.left,
.carousel-main-slider .carousel-inner > .prev.right {
    opacity: 1;
    z-index: 3;
}

.carousel-main-slider .item img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    object-position: top;
    display: block;
}

.carousel-main-slider .carousel-caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, transparent 100%);
    padding: 40px 15px 50px;
    text-align: left;
}

.carousel-main-slider .carousel-caption h3 {
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    margin: 0;
    line-height: 1.4;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.6);
    font-family: Arial, sans-serif;
}

/* numbered indicators */
.carousel-main-slider .carousel-indicators {
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    margin: 0;
    padding: 0;
    text-align: center;
}

.carousel-main-slider .carousel-indicators li {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255,255,255,0.35);
    border: none;
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    text-indent: 0;
    margin: 0 2px;
    cursor: pointer;
    transition: background 0.2s;
}

.carousel-main-slider .carousel-indicators li.active {
    background: #0088cc;
}

.carousel-main-slider .carousel-control {
    background: none !important;
    width: 40px;
    opacity: 1;
}

.carousel-main-slider .carousel-control .glyphicon {
    font-size: 22px;
    top: 50%;
    margin-top: -11px;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
}

/* Right panel */
.v2-right-panel iframe {
    width: 100%;
    border-radius: 4px;
    margin-bottom: 6px;
    display: block;
}

.v2-live-banner img {
    width: 100%;
    border-radius: 4px;
    margin-bottom: 6px;
}

/* ---------- 9. SON DƏQİQƏ LENT ---------- */
.v2-lent-wrap {
    display: flex;
    align-items: stretch;
    background: #1a1a2e;
    border-radius: 4px;
    margin-bottom: 15px;
    overflow: hidden;
    min-height: 46px;
}

.v2-lent-label {
    background: transparent;
    color: #fff;
    font-size: 13px;
    font-weight: bold;
    padding: 10px 16px;
    white-space: nowrap;
    flex-shrink: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-right: 2px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    line-height: 1.2;
}

.lentSwiper {
    flex: 1;
    overflow: hidden;
    background: #1a1a2e;
}

.lentSwiper .swiper-slide {
    display: flex;
    align-items: center;
    padding: 8px 20px 8px 15px;
    border-right: 1px solid rgba(255,255,255,0.1);
}

.lentSwiper .v2-lent-time {
    font-size: 12px;
    color: #6fc3f7;
    font-weight: bold;
    margin-right: 10px;
    flex-shrink: 0;
}

.lentSwiper .swiper-slide p {
    margin: 0;
    font-size: 17px;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lentSwiper .swiper-slide p a {
    color: #e8e8e8;
    font-weight: bold;
}
.lentSwiper .swiper-slide p a:hover { color: #fff; }

/* ---------- 10. SECTION HEADERS ---------- */
.v2-box-header {
    font-size: 18px;
    font-weight: bold;
    color: #02203a;
    /* border-bottom: 2px solid #0088cc; */
    padding-bottom: 11px;
    margin: 0 0 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 10px 0 rgb(0 0 0 / 10%);
    padding: 16px;
}

.v2-box-header .v2-see-all {
    font-size: 16px !important;
    float: right;
    border: 1px solid #2871cb;
    padding: 6px 16px 6px 16px;
    line-height: 24px;
    border-radius: 4px;
    color: #2870ca !important;
    text-decoration: none !important;
    transition: all .4s;
    margin-top: -6px;
}
.v2-box-header .v2-see-all:hover {     
    background-color: #2870ca;
    color: #fff !important; 
}

.v2-box-header-center {
    text-align: center;
    justify-content: center;
    font-size: 16px;
}

/* ---------- 11. NEWS CARDS (block-item) ---------- */
.v2-block-item {
    margin-bottom: 20px;
}

.v2-block-item .v2-block-link {
    display: block;
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.v2-block-item .v2-block-link:hover {
    box-shadow: 0 12px 17px rgba(0,0,0,0.12);
}

/* image wrapper with date overlay — qlobal */
.v2-img-wrap {
    position: relative;
    overflow: hidden;
}

.v2-block-item img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    display: block;
    transition: opacity 0.2s;
}

.v2-block-item .v2-block-link:hover img { opacity: 0.92; }

/* date badge — bütün .v2-img-wrap içlərində işləyir */
.v2-img-date {
    position: absolute;
    bottom: 6px;
    right: 8px;
    background: rgba(0,0,0,0.55);
    color: #fff;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: Arial, sans-serif;
    white-space: nowrap;
}

.v2-block-item .v2-card-body {
    padding: 10px 10px 12px;
}

.v2-block-item strong {
    font-size: 17px;
    color: #02203a;
    line-height: 1.35;
    display: block;
    word-break: break-word;
    font-family: Arial, sans-serif;
}

.v2-block-item .v2-card-date {
    font-size: 12px;
    color: #848484;
    display: block;
    margin-top: 5px;
}

/* title colors */
.title-red { color: #cc0000; }
.title-black { color: #02203a; font-weight: bold; }

/* ---------- 12. SEÇİLMİŞLƏR (horizontal swiper) ---------- */
.v2-selected-wrap {
    background: #fff;
    border: 1px solid #e4e4e4;
    border-radius: 4px;
    padding: 0 0 16px;
    margin-bottom: 20px;
    position: relative;
}

.mySwiper { overflow: hidden; padding: 0 16px; }

/* Bütün slide-lar eyni hündürlükdə olsun */
.mySwiper .swiper-wrapper { align-items: stretch; }

.mySwiper .swiper-slide {
    padding: 5px;
    height: auto;
    display: flex;
}

.mySwiper .v2-block-link {
    display: flex;
    flex-direction: column;
    flex: 1;
    border: 1px solid #e4e4e4;
    border-radius: 4px;
    overflow: hidden;
    transition: box-shadow 0.2s;
}
.mySwiper .v2-block-link:hover { box-shadow: 0 2px 8px rgba(0,0,0,0.1); }

.mySwiper .v2-img-wrap {
    flex-shrink: 0;
}

.mySwiper img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: top;
    display: block;
    transition: opacity 0.2s;
}

.mySwiper .v2-block-link:hover img { opacity: 0.92; }

.mySwiper .v2-slide-body {
    padding: 10px 8px 8px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.mySwiper .v2-slide-body p {
    flex: 1;
    font-size: 17px;
    color: #02203a;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* swiper nav buttons — başlıqda sağda */
.v2-swiper-nav-btns {
    display: flex;
    gap: 4px;
    flex-shrink: 0;
}
.v2-swiper-btn {
    width: 32px;
    height: 32px;
    background: #fff;
    color: #0088cc;
    border: 1px solid #0088cc;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    transition: background 0.2s, color 0.2s;
}
.v2-swiper-btn:hover {
    background: #0088cc;
    color: #fff;
}

/* ---------- 13. RIGHT SIDEBAR ---------- */
.v2-right-side { padding-left: 10px; }

.v2-sidebar-banner {
    width: 100%;
    margin-bottom: 10px;
    border-radius: 4px;
    overflow: hidden;
}
.v2-sidebar-banner img { width: 100%; }

.v2-news-lent {
    background: #fff;
    border: 1px solid #e4e4e4;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 15px;
}

.v2-news-lent-header {
    display: block;
    background: #175C8A;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    padding: 10px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-decoration: none;
}
.v2-news-lent-header:hover { background: #0f4266; color: #fff; text-decoration: none; }

.v2-editors-more-btn {
    display: inline-block;
    border: 1px solid #2871cb;
    padding: 8px 28px;
    border-radius: 4px;
    color: #2870ca;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    transition: all .3s;
}
.v2-editors-more-btn:hover { background: #2870ca; color: #fff; text-decoration: none; }

.v2-news-lent .v2-lent-item {
    display: block;
    padding: 10px 12px;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.15s;
}
.v2-news-lent .v2-lent-item:last-child { border-bottom: none; }
.v2-news-lent .v2-lent-item:hover { background: #f7f7f7; }

.v2-news-lent .v2-lent-item strong,
.v2-news-lent .v2-lent-item .v2-lent-item-title {
    font-size: 17px;
    color: #02203a;
    line-height: 1.4;
    display: block;
    word-break: break-word;
}

.v2-news-lent .v2-lent-item:hover strong,
.v2-news-lent .v2-lent-item:hover .v2-lent-item-title { color: #0088cc; }

.v2-news-lent .v2-lent-time {
    font-size: 11px;
    color: #0088cc;
    display: block;
    margin-top: 3px;
    font-weight: 600;
}

/* ---------- 14. ÇOX OXUNANLAR (most read) ---------- */
.v2-most-read-wrap {
    background: #fff;
    border: 1px solid #e4e4e4;
    border-radius: 4px;
    padding: 0 0 20px;
    margin-bottom: 20px;
}

.v2-most-read-cols { display: flex; gap: 0; padding: 0 16px; }

.v2-most-read-col {
    flex: 1;
    padding: 0 15px;
    border-right: 1px solid #e4e4e4;
}
.v2-most-read-col:last-child { border-right: none; }
.v2-most-read-col:first-child { padding-left: 0; }

.v2-most-read-col h4 {
    font-size: 14px;
    font-weight: bold;
    color: #848484;
    text-transform: uppercase;
    margin: 0 0 12px;
    letter-spacing: 0.5px;
}

.v2-most-read-col p {
    font-size: 17px;
}

.v2-most-read-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.v2-most-read-col ul li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    gap: 8px;
}

.v2-most-read-col ul li b.v2-index {
    background: #0088cc;
    color: #fff;
    min-width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 1px;
}

.v2-most-read-col ul li a {
    font-size: 13px;
    color: #02203a;
    line-height: 1.35;
}
.v2-most-read-col ul li a:hover { color: #0088cc; }

/* ---------- 15. VİDEO BÖLMƏ ---------- */
.videoSwiper {
    overflow: hidden;
}

.v2-rec-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e00;
    vertical-align: middle;
    margin-right: 7px;
    margin-left: 0;
    position: relative;
    top: -1px;
    animation: recPulse 1.4s ease-in-out infinite;
}

@keyframes recPulse {
    0%   { box-shadow: 0 0 0 0 rgba(220, 0, 0, 0.75); opacity: 1; }
    60%  { box-shadow: 0 0 0 9px rgba(220, 0, 0, 0);  opacity: 0.85; }
    100% { box-shadow: 0 0 0 0 rgba(220, 0, 0, 0);    opacity: 1; }
}

.v2-vcard {
    display: block;
    cursor: pointer;
    text-decoration: none;
}

.v2-vcard-img {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    background: #000;
}

.v2-vcard-img img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    transition: opacity 0.3s;
}

.v2-vcard:hover .v2-vcard-img img { opacity: 0.7; }

.v2-vcard-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.v2-vcard-play {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    border: 2px solid rgba(255,255,255,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    transition: background 0.2s, transform 0.2s;
}

.v2-vcard:hover .v2-vcard-play {
    background: #cc0000;
    border-color: #cc0000;
    transform: scale(1.1);
}

.v2-vcard-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 36px 10px 10px;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 100%);
    font-size: 13px;
    color: #fff;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    z-index: 4;
}

/* ---------- 16. FOOTER ---------- */
.v2-footer {
    background: #fff;
    color: #555;
    padding: 32px 0 0;
    margin-top: 36px;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.07);
}

.v2-footer h4 {
    color: #02203a;
    font-size: 13px;
    font-weight: bold;
    margin: 0 0 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid #0088cc;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    display: inline-block;
}

.v2-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.v2-footer ul li {
    margin-bottom: 8px;
    font-size: 13px;
    color: #555;
}

.v2-footer ul li a {
    color: #555;
    transition: color 0.2s;
}
.v2-footer ul li a:hover { color: #0088cc; }

/* Footer brand */
.v2-footer-brand img {
    height: 38px;
    margin-bottom: 10px;
    display: block;
}
.v2-footer-slogan {
    font-size: 13px;
    font-weight: bold;
    color: #02203a;
    margin: 0 0 6px;
}
.v2-footer-copy-note {
    font-size: 13px;
    color: #888;
    line-height: 1.5;
    margin: 0;
}

/* Social icons */
.v2-footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.v2-footer-socials a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f0f4f8;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #444;
    font-size: 15px;
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
}
.v2-footer-socials a:hover {
    background: #0088cc;
    color: #fff;
}

/* Contact card */
.v2-contact-card {
    background: #1c2b3a;
    border-radius: 8px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.v2-contact-row {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fff;
    transition: color 0.2s;
}
.v2-contact-row:hover { color: #0088cc; }
.v2-contact-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #0088cc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #fff;
    flex-shrink: 0;
}
.v2-contact-val {
    font-size: 13px;
    line-height: 1.3;
}

/* Footer bottom bar */
.v2-footer-bottom {
    background: #1c2b3a;
    padding: 12px 0;
    margin-top: 28px;
}

.v2-footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.v2-footer-bottom p {
    color: #aab;
    font-size: 12px;
    margin: 0;
}

.v2-footer-bottom a { color: #5bc8f5; }
.v2-footer-bottom a:hover { color: #fff; }

/* ---------- 17. BÜTÜN XƏBƏRLƏR SƏHİFƏSİ ---------- */
.v2-an-grid {
    display: flex;
    flex-wrap: wrap;
}

.v2-an-item {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    padding-left: 8px;
    padding-right: 8px;
}

.v2-an-card {
    display: flex;
    flex-direction: column;
    flex: 1;
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.07);
    transition: box-shadow 0.2s;
    text-decoration: none;
}

.v2-an-card:hover {
    box-shadow: 0 3px 12px rgba(0,0,0,0.13);
}

.v2-an-img {
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.v2-an-img img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.v2-an-card:hover .v2-an-img img {
    transform: scale(1.03);
}

.v2-an-body {
    padding: 10px 10px 12px;
    flex-shrink: 0;
    display: flex;
    align-items: flex-start;
}

.v2-an-body strong {
    font-size: 17px;
    color: #02203a;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 4.35em;
    word-break: break-word;
}

.v2-an-card:hover .v2-an-body strong { color: #0088cc; }

/* Loader (3 pulsing dots) */
.v2-an-loader {
    display: none;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 24px 0;
}

.v2-an-loader span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #0088cc;
    animation: anPulse 1.2s ease-in-out infinite;
}

.v2-an-loader span:nth-child(2) { animation-delay: 0.2s; }
.v2-an-loader span:nth-child(3) { animation-delay: 0.4s; }

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

.v2-an-end {
    text-align: center;
    color: #aaa;
    font-size: 13px;
    padding: 20px 0 30px;
}

/* ---------- 19. KATEQORİYA SƏHİFƏSİ ---------- */
.v2-cat-title {
    font-size: 20px;
    font-weight: bold;
    color: #02203a;
    margin: 16px 0 18px;
    padding-bottom: 10px;
    border-bottom: 3px solid #0088cc;
    display: inline-block;
}

.v2-no-news {
    color: #888;
    font-size: 14px;
    padding: 20px 0;
}

/* Pagination */
.v2-pagination {
    display: flex;
    justify-content: center;
    margin: 28px 0 10px;
}

.v2-pag-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 5px;
    flex-wrap: wrap;
    justify-content: center;
}

.v2-pag-item a,
.v2-pag-item span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #444;
    font-size: 13px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    background: #fff;
}

.v2-pag-item a:hover {
    background: #0088cc;
    color: #fff;
    border-color: #0088cc;
}

.v2-pag-item.active span {
    background: #0088cc;
    color: #fff;
    border-color: #0088cc;
    font-weight: bold;
}

.v2-pag-item.disabled span {
    color: #bbb;
    background: #f8f8f8;
    cursor: default;
}

/* Sidebar date */
.v2-lent-today {
    background: #fff;
    color: #cc0000;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    padding: 6px 0 8px;
    letter-spacing: 0.3px;
    border-bottom: 1px solid #eee;
}

/* Sidebar — Bütün Xəbərlər düyməsi */
.v2-lent-all-btn {
    display: block;
    text-align: center;
    background: #02203a;
    color: #fff;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 0.5px;
    padding: 10px 0;
    margin-top: 4px;
    text-decoration: none;
    border-radius: 0 0 4px 4px;
    transition: background 0.2s;
}
.v2-lent-all-btn:hover { background: #0088cc; color: #fff; text-decoration: none; }

/* ---------- 18. HAQQIMIZDA / ƏLAQƏ SƏHIFƏLƏRI ---------- */
.v2-page-title {
    font-size: 22px;
    font-weight: bold;
    color: #02203a;
    margin: 0 0 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #0088cc;
    display: inline-block;
}

/* About */
.v2-about-body {
    font-size: 15px;
    line-height: 1.8;
    color: #444;
}
.v2-about-sidebar {
    background: #fff;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    text-align: center;
}
.v2-about-sidebar img {
    max-width: 180px;
    margin-bottom: 14px;
}
.v2-about-slogan {
    font-weight: bold;
    color: #02203a;
    margin: 0 0 8px;
    font-size: 14px;
}
.v2-about-note {
    font-size: 12px;
    color: #888;
    line-height: 1.5;
    margin: 0;
}

/* Contact info boxes */
.v2-cbox {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    height: 100%;
    transition: box-shadow 0.2s;
}
.v2-cbox:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.12); }
.v2-cbox-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #0088cc;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 12px;
}
.v2-cbox h4 {
    font-size: 14px;
    font-weight: bold;
    color: #02203a;
    margin: 0 0 8px;
}
.v2-cbox p {
    font-size: 13px;
    color: #555;
    margin: 0 0 4px;
}
.v2-cbox p a { color: #0088cc; }
.v2-cbox p a:hover { color: #005fa3; }

/* Contact form */
.v2-contact-form-wrap {
    background: #fff;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}
.v2-contact-form-wrap h3 {
    font-size: 16px;
    font-weight: bold;
    color: #02203a;
    margin: 0 0 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e8e8e8;
}
.v2-input {
    border: 1px solid #ddd !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    color: #444 !important;
    box-shadow: none !important;
    transition: border-color 0.2s !important;
}
.v2-input:focus {
    border-color: #0088cc !important;
    outline: none !important;
}
.v2-submit-btn {
    width: 100%;
    padding: 11px;
    background: #0088cc;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
}
.v2-submit-btn:hover { background: #006da3; }
.v2-field-error {
    color: #cc0000;
    font-size: 12px;
    margin-top: 3px;
    display: block;
}

/* ---------- 16. UTILITIES ---------- */
.br-4 { border-radius: 4px; }
.px-0 { padding-left: 0 !important; padding-right: 0 !important; }
.c-primary { color: #0088cc; }

/* scroll to top */
.v2-scroll-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #0088cc;
    color: #fff;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    text-decoration: none;
}
.v2-scroll-top:hover { background: #006a9e; color: #fff; }
.v2-scroll-top.show { display: flex; }

.v2-scroll-top i{
    padding: 11px;
}

/* ---------- 16b. EQUAL HEIGHT NEWS CARDS ---------- */
.v2-news-row {
    display: flex;
    flex-wrap: wrap;
}

.v2-news-row > .v2-block-item {
    display: flex;
    flex-direction: column;
}

.v2-news-row .v2-block-link {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.v2-news-row .v2-img-wrap {
    flex-shrink: 0;
}

.v2-news-row .v2-card-body {
    flex: 1;
    min-height: 68px;
}

/* ---------- 16c. CAROUSEL FA ICONS ---------- */
.carousel-main-slider .carousel-control {
    display: flex;
    align-items: center;
    justify-content: center;
}

.v2-carousel-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 26px;
    color: #fff !important;
    text-shadow: 1px 1px 6px rgba(0,0,0,0.8);
    z-index: 10;
}

.carousel-main-slider .left.carousel-control .v2-carousel-icon { left: 8px; }
.carousel-main-slider .right.carousel-control .v2-carousel-icon { right: 8px; }

/* Responsive CSS ayrı fayllardadır: style-mobile.css / style-tablet.css */

/* ============================================================
   17. SINGLE NEWS PAGE
   ============================================================ */

.v2-single-wrap {
    padding: 0 0 40px;
}

.title-highlight {
    color: #d90000;
}

.v2-single-title {
    font-size: 26px;
    font-weight: bold;
    color: #1b2f5e;
    line-height: 1.5;
    margin: 20px 0 18px;
    font-family: Arial, sans-serif;
    border-left: 4px solid #0088cc;
    padding-left: 14px;
}

.v2-single-img-wrap {
    width: 100%;
    margin-bottom: 0;
}

.v2-single-img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    object-position: top;
    border-radius: 4px 4px 0 0;
    display: block;
}

/* ---- Share + Meta bar ---- */
.v2-single-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 14px;
    border-bottom: 1px solid #e8e8e8;
    border-top: 1px solid #e8e8e8;
    background: #f9f9f9;
    margin-bottom: 24px;
    border-radius: 0 0 4px 4px;
}

.v2-share-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.v2-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: #fff;
    font-size: 14px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: opacity 0.2s;
}
.v2-share-btn:hover { opacity: 0.82; color: #fff; text-decoration: none; }

.v2-share-fb { background: #1877f2; }
.v2-share-tw { background: #1da1f2; }
.v2-share-wa { background: #25d366; }
.v2-share-tg { background: #229ed9; }
.v2-share-link { background: #607d8b; }

.v2-single-info {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.v2-info-item {
    color: #666;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 4px;
}
.v2-info-item i { color: #0088cc; }

.v2-info-cat {
    background: #0088cc;
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    padding: 3px 10px;
    border-radius: 3px;
    text-decoration: none;
    font-family: Arial, sans-serif;
}
.v2-info-cat:hover { background: #006aaa; color: #fff; text-decoration: none; }

.v2-fs-wrap {
    display: flex;
    gap: 4px;
}

.v2-fs-btn {
    background: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 3px;
    padding: 3px 8px;
    font-size: 13px;
    cursor: pointer;
    font-family: Arial, sans-serif;
    color: #333;
    transition: background 0.15s;
}
.v2-fs-btn:hover { background: #e0e0e0; }

/* ---- Body text ---- */
.v2-single-body {
    font-size: 17px;
    line-height: 1.85;
    color: #1a1a1a;
    font-family: Arial, sans-serif;
    text-align: justify;
    margin-bottom: 32px;
    overflow: hidden;
}
/* CMS-dən gələn float şəkilləri düzəlt */
.v2-single-body img {
    max-width: 100% !important;
    height: auto !important;
    float: none !important;
    display: block !important;
    margin: 16px auto !important;
    border-radius: 4px;
}
/* Cədvəl içindəki kiçik şəkillər (ikonlar) inline qalsın */
.v2-single-body table img {
    display: inline !important;
    margin: 0 4px !important;
    vertical-align: middle !important;
    border-radius: 2px;
}
.v2-single-body p   { margin-bottom: 16px; }
.v2-single-body a   { color: #0088cc; }
.v2-single-body h2,
.v2-single-body h3,
.v2-single-body h4  { font-weight: bold; margin: 20px 0 10px; color: #1b2f5e; }

/* Redaktordan gələn inline width/font-family override-ları sıfırla */
.v2-single-body p,
.v2-single-body span,
.v2-single-body div,
.v2-single-body td {
    width: auto !important;
    max-width: 100% !important;
    font-family: Arial, sans-serif !important;
}
/* Cədvəl stilləri */
.v2-single-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 15px;
    overflow-x: auto;
    display: block;
}
.v2-single-body table th,
.v2-single-body table td {
    border: 1px solid #ddd;
    padding: 8px 12px;
    text-align: left;
}
.v2-single-body table th {
    background: #f0f4fa;
    font-weight: bold;
    color: #02203a;
}
.v2-single-body table tr:nth-child(even) td {
    background: #fafafa;
}

/* ---- Tags ---- */
.v2-tags-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 20px 0 24px;
    padding-top: 16px;
    border-top: 1px solid #eee;
}
.v2-tags-label {
    color: #999;
    font-size: 14px;
}
.v2-tag {
    display: inline-block;
    background: #f0f4fa;
    color: #2870ca;
    border: 1px solid #d0dff5;
    border-radius: 3px;
    padding: 4px 10px;
    font-size: 12px;
    font-family: Arial, sans-serif;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    line-height: 1.5;
}
.v2-tag:hover {
    background: #2870ca;
    color: #fff;
    border-color: #2870ca;
    text-decoration: none;
}

/* ---- Photos section ---- */
.v2-single-photos {
    margin-bottom: 28px;
}

.v2-photos-row {
    margin-top: 10px;
}

.v2-photo-col {
    margin-bottom: 12px;
}

.v2-photo-thumb {
    overflow: hidden;
    border-radius: 4px;
    cursor: pointer;
}

.v2-thumb-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
    transition: transform 0.25s ease;
}
.v2-photo-thumb:hover .v2-thumb-img { transform: scale(1.04); }

/* ---- Related news ---- */
.v2-single-related {
    margin-top: 20px;
    border-top: 2px solid #eee;
    padding-top: 20px;
}

/* ---- Sticky sidebar on single page ---- */
.v2-single-sidebar-sticky {
    position: sticky;
    top: 80px;
}

/* ---- Photo modal ---- */
.v2-photo-modal .modal-dialog {
    max-width: 90%;
    margin: 30px auto;
}

.v2-photo-modal .modal-content {
    background: #111;
    border: none;
    border-radius: 6px;
    padding: 40px 10px 20px;
    position: relative;
}

.v2-photo-modal-close {
    position: absolute;
    top: 8px;
    right: 12px;
    background: none;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    opacity: 0.8;
    line-height: 1;
}
.v2-photo-modal-close:hover { opacity: 1; }

.v2-photo-swiper {
    width: 100%;
}

.v2-photo-swiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

.v2-photo-swiper .swiper-slide img {
    max-width: 100%;
    max-height: 78vh;
    object-fit: contain;
    border-radius: 4px;
}

.v2-photo-swiper .swiper-button-next,
.v2-photo-swiper .swiper-button-prev {
    color: #fff;
}

.v2-photo-swiper .swiper-pagination-bullet-active {
    background: #0088cc;
}
