/* ============================================
   Custom CSS - Central Info
   Ovde dodajemo nove stilove bez diranja template-a
   ============================================ */

/* ── Topbar ── */
.jl_top_date_time {
    color: rgba(255,255,255,0.82) !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
}

/* Topbar background — brand navy instead of pure black */
.jl_header_magazine_style.two_header_top_style.jl_cus_top_share .header_top_bar_wrapper {
    background: #172554 !important;
    border-bottom: 1px solid rgba(255,255,255,0.07) !important;
}

/* "Pratite nas" label */
.jl_header_magazine_style.jl_cus_top_share.header_layout_style3_custom .jl_hfollow {
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    color: rgba(255,255,255,0.5) !important;
}

/* Social icons in topbar — cleaner */
.header_layout_style3_custom .header_top_bar_wrapper .social_icon_header_top li a {
    color: rgba(255,255,255,0.75) !important;
    transition: color 0.2s !important;
}
.header_layout_style3_custom .header_top_bar_wrapper .social_icon_header_top li a:hover {
    color: #fff !important;
    opacity: 1 !important;
}
.header_layout_style3_custom .header_top_bar_wrapper .social_icon_header_top li a i {
    font-size: 13px !important;
}

/* ── Nav bar — Glass blur effect ── */
.jl_header_magazine_style.header_layout_style3_custom .menu_wrapper {
    border-top: none !important;
    border-bottom: 1px solid rgba(23,37,84,0.10) !important;
    box-shadow: 0 1px 20px rgba(15,23,42,0.06) !important;
    background: rgba(255,255,255,0.88) !important;
    backdrop-filter: blur(16px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(16px) saturate(180%) !important;
}

/* Dark mode glass nav */
.options_dark_skin .jl_header_magazine_style.header_layout_style3_custom .menu_wrapper {
    background: rgba(15,23,42,0.88) !important;
    backdrop-filter: blur(16px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(16px) saturate(180%) !important;
    border-bottom: 1px solid rgba(147,197,253,0.12) !important;
    box-shadow: 0 1px 20px rgba(0,0,0,0.3) !important;
}

/* Sticky — stronger shadow + maintain glass */
.jl_menu_sticky.jl_on_sticky,
.jl_menu_sticky.jl_sticky {
    box-shadow: 0 4px 28px rgba(15,23,42,0.10) !important;
    background: rgba(255,255,255,0.92) !important;
    backdrop-filter: blur(20px) saturate(200%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(200%) !important;
}
.options_dark_skin .jl_menu_sticky.jl_on_sticky,
.options_dark_skin .jl_menu_sticky.jl_sticky {
    background: rgba(15,23,42,0.92) !important;
    backdrop-filter: blur(20px) saturate(200%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(200%) !important;
    box-shadow: 0 4px 28px rgba(0,0,0,0.4) !important;
}

/* Menu items — refined typography */
#mainmenu > li > a {
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
}

/* Active / hover — navy underline indicator */
#mainmenu > li > a:hover,
#mainmenu > li.current-menu-item > a,
#mainmenu > li.current-menu-parent > a,
#mainmenu > li.current-menu-ancestor > a {
    color: #172554 !important;
}
.options_dark_skin #mainmenu > li > a:hover,
.options_dark_skin #mainmenu > li.current-menu-item > a,
.options_dark_skin #mainmenu > li.current-menu-parent > a,
.options_dark_skin #mainmenu > li.current-menu-ancestor > a {
    color: #93c5fd !important;
}

/* ── Logo size ── */
.jl_header_magazine_style.header_layout_style3_custom .logo_small_wrapper_table {
    height: 80px;
}
.jl_header_magazine_style.header_layout_style3_custom .logo_small_wrapper_table .logo_small_wrapper a img {
    max-height: 44px !important;
}

/* ── Hide author name everywhere ── */
.jl_author_img_w {
    display: none !important;
}

/* ── Card text-box better padding ── */
.jl_grid_w .text-box {
    padding: 15px 16px 18px;
}

.jl_grid_w .text-box h3 {
    margin-bottom: 8px;
    line-height: 1.4;
}

.jl_grid_w .text-box .jl_post_meta {
    margin-bottom: 8px;
}

.jl_grid_w .text-box p {
    margin: 8px 0 0;
    line-height: 1.5;
}

/* Hero overlay text better spacing */
.jl_m_center_w .text-box {
    padding: 20px 25px;
}

/* Side posts content spacing */
.jl_m_right_content {
    padding: 2px 0;
}

/* Section 3 main text spacing */
.jl_mg_main_w .text-box {
    padding: 15px 5px;
}

/* Section 3 small posts content */
.jl_mg_content {
    padding: 10px 5px;
}

/* Post single: featured image above title spacing */
.jl_single_style2 > .jl_fe_img {
    margin-bottom: 20px;
}

.jl_single_style2 .single_post_entry_content {
    padding: 0 0 10px;
}

/* ── Post Gallery Grid (below content) ── */
.post-gallery-section {
    margin: 30px 0;
    padding: 25px 0;
    border-top: 1px solid #eee;
}

.post-gallery-section h4 {
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 600;
}

.post-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.post-gallery-grid a {
    display: block;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.post-gallery-grid a img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.post-gallery-grid a:hover img {
    transform: scale(1.05);
    opacity: 0.9;
}

@media (max-width: 767px) {
    .post-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .post-gallery-grid a img {
        height: 140px;
    }
}

/* ── Contact Page Redesign ── */
.contact-page-seamless .single_section_content.box {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.contact-page-seamless .jl_single_style2 {
    margin-bottom: 25px;
}

.contact-page-wrapper {
    padding: 10px 0 60px;
}

.contact-info-card-inner {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 40px;
    height: 100%;
    border: 1px solid #eef0f3;
    display: flex;
    flex-direction: column;
}

.options_dark_skin .contact-info-card-inner {
	background: #1e1e1e;
	border-color: #2a2a2a;
}

.contact-info-card-inner h3 {
    font-size: 24px;
    font-weight: 700;
}

.contact-page-content {
	line-height: 1.7;
	font-size: 15px;
}

.options_dark_skin .contact-page-content.text-muted {
	color: #adb5bd !important;
}

.contact-methods {
	margin-top: 20px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.contact-info-item .ci-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 12px;
    background: #eef2fa;
    color: #4361ee;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-right: 18px;
    transition: all 0.3s ease;
}

.options_dark_skin .contact-info-item .ci-icon {
	background: #2b3145;
	color: #7289da;
}

.contact-info-item:hover .ci-icon {
	background: #4361ee;
	color: #fff;
	transform: translateY(-2px);
}

.contact-info-item .ci-text h5 {
    font-size: 13px;
    font-weight: 600;
    margin: 0 0 4px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #888;
}

.options_dark_skin .contact-info-item .ci-text h5 {
	color: #aaa;
}

.contact-info-item .ci-text p {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
}

.contact-info-item .ci-text a {
    color: #222;
    text-decoration: none;
    transition: color 0.2s;
}

.options_dark_skin .contact-info-item .ci-text a {
	color: #e0e0e0;
}

.contact-info-item .ci-text a:hover {
    color: #4361ee;
}

.contact-social-links {
    border-top: 1px solid #eef0f3;
}

.options_dark_skin .contact-social-links {
	border-top-color: #2a2a2a;
}

.contact-social-links h5 {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #555;
}

.options_dark_skin .contact-social-links h5 {
	color: #aaa;
}

.social-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #444;
    font-size: 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.options_dark_skin .social-icon {
	background: #2a2a2a;
	color: #ddd;
	box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.social-icon:hover {
    transform: translateY(-4px);
    color: #fff;
}

.social-icon.facebook:hover { background: #3b5998; color: #fff; }
.social-icon.twitter:hover { background: #1da1f2; color: #fff; }
.social-icon.instagram:hover { background: #e1306c; color: #fff; }
.social-icon.youtube:hover { background: #ff0000; color: #fff; }
.social-icon.linkedin:hover { background: #0077b5; color: #fff; }

.contact-form-card-inner {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.04);
    height: 100%;
}

.options_dark_skin .contact-form-card-inner {
	background: #1a1a1a;
	box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.contact-form-card-inner h3 {
	font-size: 26px;
	font-weight: 700;
}

.contact-form-card-inner .form-group label {
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: #555;
	margin-bottom: 8px;
}

.options_dark_skin .contact-form-card-inner .form-group label {
	color: #bbb;
}

.contact-form-card-inner .form-control {
	border: 2px solid #f0f2f5;
	background: #fcfcfd;
	border-radius: 8px;
	padding: 12px 18px;
	font-size: 15px;
	color: #333;
	transition: all 0.3s ease;
	height: auto;
}

.options_dark_skin .contact-form-card-inner .form-control {
	border-color: #2a2a2a;
	background: #222;
	color: #ddd;
}

.contact-form-card-inner .form-control:focus {
	border-color: #4361ee;
	background: #fff;
	box-shadow: 0 0 0 4px rgba(67, 97, 238, 0.1);
	outline: none;
}

.options_dark_skin .contact-form-card-inner .form-control:focus {
	background: #1e1e1e;
	box-shadow: 0 0 0 4px rgba(67, 97, 238, 0.2);
}

.contact-form-card-inner textarea.form-control {
	resize: vertical;
	min-height: 120px;
}

.contact-form-card-inner .btn-primary {
	background: #4361ee;
	border: none;
	transition: all 0.3s ease;
}

.contact-form-card-inner .btn-primary:hover {
	background: #3651d4;
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(67, 97, 238, 0.25) !important;
}

/* ── Overrides for mobile ── */
@media (max-width: 767px) {
    .contact-info-card-inner, .contact-form-card-inner {
        padding: 30px 20px;
    }
}

.contact-alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 500;
}

.contact-alert-success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.contact-alert-error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

@media (max-width: 991px) {
    .contact-info-card,
    .contact-form-card {
        margin-bottom: 25px;
    }
}

/* ============================================
   Uniform Image Sizes — All grids
   ============================================ */

/* Grid card images (3-col, 2-col, 4-col) */
.jl_grid_w .jl_img_box img,
.ci-grid-img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
}

/* 2-col grids get taller images */
.g_2col .jl_grid_w .jl_img_box img {
    height: 230px;
}

/* 4-col grids get shorter images */
.g_4col .jl_grid_w .jl_img_box img {
    height: 165px;
}

/* Section 3 main image (Najčitanije) */
.jl_mg_main .jl_img_box img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
}

/* Section 3 small images */
.jl_mg_sm .jl_f_img img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    display: block;
}

/* Section 7 list-style thumbnails */
.jl_m_right.jl_sm_list .jl_m_right_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Side posts small thumbnails (hero sections) */
.jl_m_right .jl_m_right_img img {
    width: 120px;
    height: 85px;
    object-fit: cover;
    display: block;
}

/* Post single featured image */
.jl_fe_img img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    display: block;
}

/* Slider images */
.jl_full_feature .jl_f_img_bg,
.jl_m_center_w .jl_f_img_bg {
    background-size: cover;
    background-position: center center;
}

/* ============================================
   Responsive Images — Mobile/Tablet
   ============================================ */

@media (max-width: 991px) {
    .jl_grid_w .jl_img_box img,
    .ci-grid-img {
        height: 200px;
    }
    .g_2col .jl_grid_w .jl_img_box img {
        height: 220px;
    }
    .jl_mg_main .jl_img_box img {
        height: 280px;
    }
    .jl_mg_sm .jl_f_img img {
        height: 150px;
    }
    .jl_fe_img img {
        max-height: 400px;
    }
}

@media (max-width: 767px) {
    .jl_grid_w .jl_img_box img,
    .ci-grid-img {
        height: 180px;
    }
    .g_2col .jl_grid_w .jl_img_box img,
    .g_4col .jl_grid_w .jl_img_box img {
        height: 180px;
    }
    .jl_mg_main .jl_img_box img {
        height: 220px;
    }
    .jl_mg_sm .jl_f_img img {
        height: 140px;
    }
    .jl_fe_img img {
        max-height: 280px;
        border-radius: 6px;
    }
    .jl_m_right .jl_m_right_img img {
        width: 90px;
        height: 65px;
    }
}

@media (max-width: 480px) {
    .jl_grid_w .jl_img_box img,
    .ci-grid-img {
        height: 160px;
    }
    .jl_mg_main .jl_img_box img {
        height: 180px;
    }
    .jl_fe_img img {
        max-height: 220px;
    }
}

/* ============================================
   Search Page Styles
   ============================================ */

.search-results-header {
    padding: 15px 0 5px;
}

.search-results-header h1 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
}

.search-results-header h1 span {
    color: #555;
}

.search-results-count {
    color: #888;
    font-size: 14px;
    margin: 0 0 10px;
}

.search-page-form {
    margin-bottom: 30px;
}

.search-input-wrap {
    display: flex;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.search-input-wrap:focus-within {
    border-color: #333;
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.06);
}

.search-input-wrap input[type="search"] {
    flex: 1;
    border: none;
    outline: none;
    padding: 14px 18px;
    font-size: 16px;
    font-family: inherit;
    background: #fafafa;
}

.search-input-wrap button {
    border: none;
    background: #222;
    color: #fff;
    padding: 14px 22px;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.search-input-wrap button:hover {
    background: #000;
}

.search-empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.search-empty-state i {
    font-size: 48px;
    display: block;
    margin-bottom: 15px;
    opacity: 0.4;
}

.search-empty-state p {
    font-size: 16px;
    margin: 0 0 5px;
}

.search-empty-state span {
    font-size: 14px;
    color: #bbb;
}

/* ============================================
   Animations — Fade-in on scroll + hover
   ============================================ */

/* Fade-in animation keyframes */
@keyframes ci-fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes ci-fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Grid items animate on load */
.jl-grid-cols,
.jl_mg_sm,
.jl_m_right,
.jl_mg_main {
    animation: ci-fadeInUp 0.5s ease both;
}

/* Stagger animations for grid items */
.jl-grid-cols:nth-child(1) { animation-delay: 0.05s; }
.jl-grid-cols:nth-child(2) { animation-delay: 0.1s; }
.jl-grid-cols:nth-child(3) { animation-delay: 0.15s; }
.jl-grid-cols:nth-child(4) { animation-delay: 0.2s; }
.jl-grid-cols:nth-child(5) { animation-delay: 0.25s; }
.jl-grid-cols:nth-child(6) { animation-delay: 0.3s; }
.jl_m_right:nth-child(2) { animation-delay: 0.1s; }
.jl_m_right:nth-child(3) { animation-delay: 0.15s; }
.jl_m_right:nth-child(4) { animation-delay: 0.2s; }
.jl_m_right:nth-child(5) { animation-delay: 0.25s; }

/* Card hover lift effect */
.jl_grid_w {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.jl_grid_w:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Image zoom on hover */
.jl_img_box {
    overflow: hidden;
}

.jl_img_box img {
    transition: transform 0.4s ease;
}

.jl_img_box:hover img {
    transform: scale(1.05);
}

/* Featured image hover */
.jl_fe_img {
    overflow: hidden;
}

.jl_fe_img img {
    transition: transform 0.4s ease;
}

.jl_fe_img:hover img {
    transform: scale(1.02);
}

/* Section titles animation */
.jl_sec_title {
    animation: ci-fadeIn 0.6s ease both;
}

/* Hero center image subtle zoom */
.jl_m_center_w {
    overflow: hidden;
}

.jl_m_center_w .jl_f_img_bg {
    transition: transform 8s ease;
}

.jl_m_center_w:hover .jl_f_img_bg {
    transform: scale(1.05);
}

/* Side post hover */
.jl_m_right_w {
    transition: transform 0.2s ease;
}

.jl_m_right_w:hover {
    transform: translateX(4px);
}

/* Section 3 small post hover */
.jl_mg_sm_w {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.jl_mg_sm_w:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

/* ── Category pills — primary color ── */
.jl_f_cat a {
    background: #172554 !important;
    border-radius: 999px !important;
    padding: 3px 10px !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    color: #fff !important;
    transition: background 0.2s ease;
}

.jl_f_cat a:hover {
    background: #1e3a8a !important;
    color: #fff !important;
    text-decoration: none !important;
}

/* Category badge pop-in */
.jl_f_cat {
    transition: transform 0.2s ease;
}

.jl_img_box:hover .jl_f_cat,
.jl_f_img:hover .jl_f_cat {
    transform: scale(1.05);
}

/* Smooth link color transitions */
.text-box h3 a,
.jl_m_right_content h3 a,
.jl_m_right_content h2 a,
.entry-title a {
    transition: color 0.2s ease;
}

/* Post navigation arrows */
.postnav_left,
.postnav_right {
    transition: background 0.3s ease, transform 0.2s ease;
}

.postnav_left:hover,
.postnav_right:hover {
    transform: translateY(-2px);
}

/* Pagination hover */
.jl_page_nav a.page-numbers {
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.jl_page_nav a.page-numbers:hover {
    transform: translateY(-2px);
}

/* Slider smooth appearance */
.jl_slide_wrap_f,
.jl_slide_wrap_s {
    animation: ci-fadeIn 0.8s ease both;
}

/* Button hover effects */
.submit,
.search-submit,
.form-submit input {
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.submit:hover,
.search-submit:hover,
.form-submit input:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================
   Featured Category Blocks (interleaved)
   ============================================ */

.ci-featured-cat-section {
    padding: 35px 0;
    margin: 10px 0;
    border-radius: 12px;
}

.ci-featured-cat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}

.ci-featured-cat-title {
    font-size: 22px;
    font-weight: 700;
    margin: 0;
    color: #222;
}

.ci-featured-cat-link {
    font-size: 14px;
    font-weight: 600;
    color: #555;
    text-decoration: none;
    transition: color 0.2s ease;
}

.ci-featured-cat-link:hover {
    color: #000;
}

.ci-featured-cat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.ci-featured-cat-item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ci-featured-cat-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.ci-featured-cat-img {
    overflow: hidden;
}

.ci-featured-cat-img img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.ci-featured-cat-item:hover .ci-featured-cat-img img {
    transform: scale(1.05);
}

.ci-featured-cat-info {
    padding: 14px 16px 16px;
}

.ci-featured-cat-info h4 {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 6px;
}

.ci-featured-cat-info h4 a {
    color: #222;
    text-decoration: none;
    transition: color 0.2s ease;
}

.ci-featured-cat-info h4 a:hover {
    color: #555;
}

.ci-featured-cat-info .jl_post_meta {
    font-size: 12px;
}

/* ── Grid section spacing ── */
.home_grid_section {
    padding: 5px 0;
}

.home_grid_section:first-of-type {
    padding-top: 30px;
}

/* Consistent spacing between infinite-scroll sections */
.ci-featured-cat-section + .home_grid_section {
    padding-top: 28px;
}

.home_grid_section + .ci-featured-cat-section {
    margin-top: 18px;
}

/* ── Ad Banner (after first row) ── */
.ci-ad-banner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.ci-ad-item {
    aspect-ratio: 1 / 1;
    border-radius: 10px;
    overflow: hidden;
}

.ci-ad-image {
    display: block;
    background: #e5e7eb;
    transition: opacity 0.3s ease;
}

.ci-ad-image:hover {
    opacity: 0.9;
}

.ci-ad-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ci-ad-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    text-align: center;
}

.ci-ad-placeholder h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 8px;
}

.ci-ad-placeholder p {
    font-size: 14px;
    margin: 0;
}

.options_dark_skin .ci-ad-placeholder {
    background-color: #1a2436 !important;
    border: 1px solid rgba(148, 163, 184, 0.12);
}

.options_dark_skin .ci-ad-placeholder h3 {
    color: #e5eefc;
}

.options_dark_skin .ci-ad-placeholder p {
    color: #94a3b8;
}

.ci-ad-blue {
    background-color: #DBEAFE;
}

.ci-ad-blue h3 {
    color: #1e3a5f;
}

.ci-ad-blue p {
    color: #1d4ed8;
}

.ci-ad-green {
    background-color: #DCFCE7;
}

.ci-ad-green h3 {
    color: #14532d;
}

.ci-ad-green p {
    color: #15803d;
}

/* ── Responsive: featured category blocks ── */
@media (max-width: 991px) {
    .ci-featured-cat-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ci-featured-cat-img img {
        height: 140px;
    }
}

@media (max-width: 480px) {
    .ci-featured-cat-grid {
        grid-template-columns: 1fr;
    }

    .ci-featured-cat-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .ci-featured-cat-section {
        padding: 25px 0;
        margin: 5px 0;
    }
}

@media (max-width: 991px) {
    .ci-ad-banner {
        grid-template-columns: repeat(2, 1fr);
    }

    .ci-ad-green {
        display: none;
    }
}

@media (max-width: 480px) {
    .ci-ad-banner {
        grid-template-columns: 1fr;
    }
}

/* ── Side Banners (left & right sticky) ── */
/*
 * Na ultra-širokim ekranima (Widescreen): max-width onemogućava preraspodelu slike, 
 * ali se kontejner pozicionira tačno uz ivicu main-containera ostavljajući ostatak levo i desno praznim.
 * Na laptopovima (Desktop <= 1440px): sužavamo .container kako bismo pustili prostor za puniji baner sa strane.
 */
.ci-side-banner {
    position: fixed;
    top: 0;
    height: 100vh;
    z-index: 99999;
    overflow-y: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    pointer-events: none;
    scrollbar-width: none; /* Firefox */
}

.ci-side-banner::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.ci-side-banner > * {
    pointer-events: auto;
}

.ci-side-banner-left {
    left: 0; /* Prilepljuje se na ivicu ekrana odozgo do dole */
    right: auto;
    width: calc((100vw - 1170px) / 2);
    max-width: 380px; /* Limitira mega izduživanje na ultrawide rezoluciji */
}

.ci-side-banner-right {
    right: 0; /* Prilepljuje se na ivicu ekrana odozgo do dole */
    left: auto;
    width: calc((100vw - 1170px) / 2);
    max-width: 380px;
}

.ci-side-banner .ci-ad-item {
    width: 100%;
    max-width: 100%;
    height: 100vh; /* Reklama ispunjava ceo ekran / portret visinu izjedna! */
    aspect-ratio: auto;
    border-radius: 0;
    overflow: hidden;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
}

.ci-side-banner .ci-ad-image {
    width: 100%;
    height: 100%;
    display: block;
}

.ci-side-banner .ci-ad-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;            /* Seče samo po margini umesto da izobliči portret / zadržava pro in screen */
    object-position: top center;  /* Prikazuje vrh po automatizmu najbolje */
    display: block;
}

.ci-side-banner .ci-ad-placeholder {
    width: 100%;
    max-width: 100%;
    min-height: 100vh;
    border-radius: 0;
    margin-bottom: 0;
}

.ci-ad-custom {
    width: 100%;
}

/* Laptop ekrani & Srednji Desktopi (1200px do 1440px)
   Sužavamo marginu čitanja (container) da bismo gurnuli dovoljno prostora za reklamne portrete */
@media (max-width: 1440px) and (min-width: 1200px) {
    .container {
        max-width: 1040px !important;
    }
    .ci-side-banner-left {
        left: 0;
        right: auto;
        width: calc((100vw - 1040px) / 2);
    }
    .ci-side-banner-right {
        right: 0;
        left: auto;
        width: calc((100vw - 1040px) / 2);
    }
}

/* Sakrivamo reklame ako uređaj nema dovoljno prostora za oba (Tableti/Telefoni) */
@media (max-width: 1199px) {
    .ci-side-banner {
        display: none;
    }
}

/* ============================================
   Modern UI Refresh - cards and content display
   ============================================ */

.jl_en_day_night {
    --ci-page-bg: #f5f7fb;
    --ci-surface: rgba(255, 255, 255, 0.92);
    --ci-surface-strong: #ffffff;
    --ci-surface-soft: #f8fafc;
    --ci-border: rgba(15, 23, 42, 0.08);
    --ci-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
    --ci-shadow-hover: 0 24px 60px rgba(15, 23, 42, 0.12);
    --ci-text: #14213d;
    --ci-muted: #64748b;
    --ci-accent: #172554;
    --ci-accent-soft: rgba(23, 37, 84, 0.12);
    --ci-overlay: linear-gradient(180deg, rgba(15, 23, 42, 0.04) 0%, rgba(15, 23, 42, 0.72) 100%);
}

.options_dark_skin.jl_en_day_night {
    --ci-page-bg: #0f172a;
    --ci-surface: rgba(15, 23, 42, 0.86);
    --ci-surface-strong: #162033;
    --ci-surface-soft: #1d2940;
    --ci-border: rgba(148, 163, 184, 0.14);
    --ci-shadow: 0 18px 50px rgba(2, 6, 23, 0.32);
    --ci-shadow-hover: 0 24px 60px rgba(2, 6, 23, 0.44);
    --ci-text: #e5eefc;
    --ci-muted: #94a3b8;
    --ci-accent: #93c5fd;
    --ci-accent-soft: rgba(147, 197, 253, 0.12);
    --ci-overlay: linear-gradient(180deg, rgba(15, 23, 42, 0.06) 8%, rgba(2, 6, 23, 0.82) 100%);
}

.jl_en_day_night {
    background:
        radial-gradient(circle at top left, rgba(23, 37, 84, 0.07), transparent 26%),
        radial-gradient(circle at top right, rgba(59, 130, 246, 0.06), transparent 22%),
        var(--ci-page-bg);
    color: var(--ci-text);
}

.jl_en_day_night a,
.jl_en_day_night h1,
.jl_en_day_night h2,
.jl_en_day_night h3,
.jl_en_day_night h4,
.jl_en_day_night h5,
.jl_en_day_night h6 {
    color: var(--ci-text);
}

.jl_home_bw {
    padding-top: 14px;
}

.home_section1,
.home_grid_section {
    position: relative;
}

.jl_f_cat a,
.post-category-color-text {
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.14);
}

.jl_post_meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.jl_post_meta span,
.jl_post_meta span a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--ci-muted);
}

.jl_post_meta span:before {
    display: none;
}

.jl_post_meta i {
    color: var(--ci-accent);
}

.jl_mix_post .jl_m_center {
    margin-bottom: 0;
}

.jl_m_center .jl_m_center_w {
    height: 500px;
    border-radius: 20px;
    box-shadow: var(--ci-shadow);
    border: 1px solid var(--ci-border);
    overflow: hidden;
    transform: translateZ(0);
}

.jl_m_center .jl_f_img_link {
    background: linear-gradient(to bottom, rgba(0,0,0,0.01) 25%, rgba(5,10,25,0.86) 100%);
}

.jl_m_center_w .jl_f_img_bg {
    transform: scale(1.01);
}

.jl_m_center .text-box {
    padding: 24px 28px 28px;
}

.jl_m_center .text-box h3 {
    font-size: 24px;
    line-height: 1.3;
    max-width: 100%;
    letter-spacing: -0.01em;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.jl_m_center .text-box p,
.jl_m_center .text-box .jl_post_meta,
.jl_m_center .text-box .jl_post_meta span,
.jl_m_center .text-box .jl_post_meta span a {
    color: rgba(255, 255, 255, 0.88) !important;
}

.jl_m_center .text-box .jl_post_meta i {
    color: #ffffff;
}

.jl_mix_post .jl_m_right {
    margin-bottom: 10px;
}

/* Hero section — grid layout so 4 side cards match hero height */
.home_section1 .jl_mix_post {
    display: grid !important;
    grid-template-columns: 63% 37%;
    grid-template-rows: repeat(4, 1fr);
    gap: 0;
    margin: 0 -20px;
    float: none !important;
    overflow: visible;
}

.home_section1 .jl_mix_post .jl_m_center {
    grid-column: 1;
    grid-row: 1 / span 4;
    float: none !important;
    width: auto !important;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
}

.home_section1 .jl_mix_post .jl_m_center .jl_m_center_w {
    flex: 1;
}

.home_section1 .jl_mix_post .jl_m_right {
    grid-column: 2;
    float: none !important;
    width: auto !important;
    padding: 5px 20px;
    margin-bottom: 0 !important;
    display: flex;
    flex-direction: column;
}

.home_section1 .jl_mix_post .jl_m_right:first-of-type {
    padding-top: 0;
}

.home_section1 .jl_mix_post .jl_m_right:last-child {
    padding-bottom: 0;
}

.home_section1 .jl_mix_post .jl_m_right .jl_m_right_w {
    flex: 1;
}

.jl_m_right .jl_m_right_w {
    min-height: unset;
    padding: 10px 12px;
    border-radius: 14px;
    background: var(--ci-surface);
    border: 1px solid var(--ci-border);
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
    backdrop-filter: blur(10px);
    align-items: flex-start;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.jl_m_right .jl_m_right_w:hover {
    box-shadow: 0 6px 22px rgba(15, 23, 42, 0.11);
    transform: translateY(-1px);
    border-color: rgba(23, 37, 84, 0.22);
}

.jl_m_right .jl_m_right_img {
    flex: 0 0 78px !important;
    width: 78px !important;
    overflow: hidden;
    border-radius: 10px;
    align-self: center;
}

.jl_m_right .jl_m_right_img img {
    width: 78px !important;
    height: 78px !important;
    object-fit: cover;
    display: block;
}

.jl_m_right .jl_m_right_content {
    margin-left: 12px;
    flex: 1;
    min-width: 0;
}

.jl_m_right .jl_m_right_content h3,
.jl_m_right .jl_m_right_content h2 {
    font-size: 13px !important;
    font-weight: 700;
    line-height: 1.4;
    margin: 2px 0 0;
    display: block;
    overflow: visible;
}

.jl_m_right .jl_m_right_content h3 a,
.jl_m_right .jl_m_right_content h2 a {
    color: var(--ci-text);
}

.jl_m_right .jl_m_right_content .jl_post_meta {
    margin-top: 10px;
}

.jl_m_right .jl_m_right_content .jl_post_meta span {
    font-size: 11px !important;
}

.jl_grid_wrap_f .jl-col3 .jl-grid-cols,
.ci-featured-cat-grid,
.ci-ad-banner {
    margin-bottom: 0;
}

.jl_grid_w {
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    overflow: hidden;
    background: var(--ci-surface);
    border: 1px solid var(--ci-border);
    box-shadow: 0 2px 14px rgba(15, 23, 42, 0.07);
    backdrop-filter: blur(14px);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
    height: 100%;
}

.jl_grid_w:hover {
    box-shadow: 0 10px 36px rgba(15, 23, 42, 0.13);
    transform: translateY(-3px);
}

.jl_grid_w .text-box {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 15px 16px 16px;
    background: var(--ci-surface);
}

.jl_grid_w .text-box h3 a,
.jl_grid_w .text-box h2 a {
    color: var(--ci-text);
}

.jl_grid_w .jl_post_meta {
    margin-top: auto;
    padding-top: 10px;
}

/* ── Responsive — Modern UI ── */
@media (max-width: 991px) {
    .jl_m_center .jl_m_center_w {
        height: 420px;
    }
    .jl_m_center .text-box h3 {
        font-size: 28px;
    }
}

@media (max-width: 767px) {
    /* Hero — stack vertically on mobile */
    .home_section1 .jl_mix_post {
        display: flex !important;
        flex-direction: column !important;
        margin: 0 !important;
        gap: 12px;
    }

    .home_section1 .jl_mix_post .jl_m_center {
        grid-column: unset;
        grid-row: unset;
        padding: 0 !important;
        width: 100% !important;
        display: block !important;
    }

    .home_section1 .jl_mix_post .jl_m_center .jl_m_center_w {
        flex: none !important;
        height: 260px !important;
        border-radius: 18px;
    }

    .jl_m_center .text-box h3 {
        font-size: 19px;
    }

    .jl_m_center .text-box {
        padding: 16px 18px 18px;
    }

    /* Side posts — horizontal list on mobile */
    .home_section1 .jl_mix_post .jl_m_right {
        grid-column: unset;
        width: 100% !important;
        padding: 0 !important;
    }

    .home_section1 .jl_mix_post .jl_m_right .jl_m_right_w {
        display: flex !important;
        flex-direction: row !important;
        align-items: center;
        padding: 10px 12px;
        gap: 10px;
        border-radius: 14px;
    }

    .home_section1 .jl_mix_post .jl_m_right .jl_m_right_img {
        flex: 0 0 68px !important;
        width: 68px !important;
    }

    .home_section1 .jl_mix_post .jl_m_right .jl_m_right_img img {
        width: 68px !important;
        height: 68px !important;
    }

    .home_section1 .jl_mix_post .jl_m_right .jl_m_right_content {
        margin-left: 0;
        flex: 1;
        min-width: 0;
    }

    .home_section1 .jl_mix_post .jl_m_right .jl_m_right_content h3 {
        font-size: 13px !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }

    .jl_m_right .jl_m_right_w {
        border-radius: 16px;
    }
    .jl_grid_w {
        border-radius: 18px;
    }
}

/* ============================================
   Footer refinement — dark editorial layout
   ============================================ */

/* New footer layout */
footer#footer-container.ci-footer-shell {
    background: #172553;
    color: #f8fafc;
    position: relative;
    overflow: hidden;
}

footer#footer-container.ci-footer-shell .ci-footer-main {
    background: transparent;
    padding: 56px 0 34px;
}

footer#footer-container.ci-footer-shell .ci-footer-grid {
    display: flex;
    flex-wrap: wrap;
    row-gap: 32px;
}

footer#footer-container.ci-footer-shell .ci-footer-card {
    min-height: 100%;
    padding: 6px 8px;
    position: relative;
}

footer#footer-container.ci-footer-shell .ci-footer-card:before {
    content: "";
    position: absolute;
    top: -8px;
    left: 8px;
    right: 8px;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0));
}

footer#footer-container.ci-footer-shell .ci-footer-brand-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

footer#footer-container.ci-footer-shell .ci-footer-logo-badge {
    width: 60px;
    height: 60px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 16px 34px rgba(2, 6, 23, 0.26);
    border: 3px solid rgba(255, 255, 255, 0.2);
}

footer#footer-container.ci-footer-shell .ci-footer-logo {
    width: 42px;
    height: 42px;
    object-fit: contain;
    display: block;
}

footer#footer-container.ci-footer-shell .ci-footer-heading {
    margin: 0 0 18px;
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #ffffff !important;
    text-transform: none !important;
}

footer#footer-container.ci-footer-shell .ci-footer-brand-title {
    margin-bottom: 0;
    line-height: 1.05;
}

footer#footer-container.ci-footer-shell .ci-footer-brand-title span {
    color: rgba(255, 255, 255, 0.58);
}

footer#footer-container.ci-footer-shell .ci-footer-description {
    color: rgba(226, 232, 240, 0.82);
    font-size: 14px;
    line-height: 1.78;
    margin: 0;
    max-width: 300px;
}

footer#footer-container.ci-footer-shell .ci-footer-links,
footer#footer-container.ci-footer-shell .ci-footer-contact {
    list-style: none;
    margin: 0;
    padding: 0;
}

footer#footer-container.ci-footer-shell .ci-footer-links li,
footer#footer-container.ci-footer-shell .ci-footer-contact li {
    margin-bottom: 14px;
}

footer#footer-container.ci-footer-shell .ci-footer-links li:last-child,
footer#footer-container.ci-footer-shell .ci-footer-contact li:last-child {
    margin-bottom: 0;
}

footer#footer-container.ci-footer-shell .ci-footer-links a,
footer#footer-container.ci-footer-shell .ci-footer-links span,
footer#footer-container.ci-footer-shell .ci-footer-contact a,
footer#footer-container.ci-footer-shell .ci-footer-contact span {
    color: rgba(226, 232, 240, 0.78) !important;
    font-size: 14px;
    line-height: 1.6;
    transition: color 0.2s ease, transform 0.2s ease;
}

footer#footer-container.ci-footer-shell .ci-footer-links a:hover,
footer#footer-container.ci-footer-shell .ci-footer-contact a:hover {
    color: #ffffff !important;
    text-decoration: none;
    transform: translateX(2px);
}

footer#footer-container.ci-footer-shell .ci-footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 0;
}

footer#footer-container.ci-footer-shell .ci-footer-contact li i {
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    line-height: 1.4;
    margin-top: 3px;
    flex-shrink: 0;
    width: 18px;
    text-align: center;
}

footer#footer-container.ci-footer-shell .ci-footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

footer#footer-container.ci-footer-shell .ci-footer-social {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

footer#footer-container.ci-footer-shell .ci-footer-social:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: rgba(255, 255, 255, 0.26);
    box-shadow: 0 10px 24px rgba(6, 10, 24, 0.2);
    transform: translateY(-3px);
    text-decoration: none;
}

footer#footer-container.ci-footer-shell .ci-footer-social i {
    font-size: 16px;
}

footer#footer-container.ci-footer-shell .ci-footer-bottom-wrap {
    background: rgba(8, 14, 31, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer#footer-container.ci-footer-shell .ci-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 22px 0;
}

footer#footer-container.ci-footer-shell .ci-footer-bottom p,
footer#footer-container.ci-footer-shell .ci-footer-bottom a {
    margin: 0;
    color: rgba(226, 232, 240, 0.76) !important;
    font-size: 13px;
    line-height: 1.5;
}

footer#footer-container.ci-footer-shell .ci-footer-bottom a:hover {
    color: #ffffff !important;
    text-decoration: none;
}

/* Footer area background */
footer.jl_footer_act .footer-columns {
    background: radial-gradient(ellipse at 60% 0%, #1e293b 0%, #0f172a 70%);
    padding-bottom: 24px;
}

/* Section titles in footer */
footer.jl_footer_act .footer-columns .widget-title .jl_title_c {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: #f8fafc !important;
    border-bottom: 1px solid rgba(148, 163, 184, 0.18) !important;
    padding-bottom: 10px;
    margin-bottom: 16px;
}

/* About text color */
footer.jl_footer_act .footer-columns .jellywp_about_us_widget p {
    color: rgba(203, 213, 225, 0.8);
    font-size: 14px;
    line-height: 1.7;
}

/* Social icon pills */
footer.jl_footer_act .footer-columns .social-icons-list-widget li a {
    background: rgba(30, 41, 59, 0.72) !important;
    border: 1px solid rgba(148, 163, 184, 0.15);
    color: #cbd5e1 !important;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

footer.jl_footer_act .footer-columns .social-icons-list-widget li a:hover {
    background: rgba(147, 197, 253, 0.18) !important;
    border-color: rgba(147, 197, 253, 0.4) !important;
    color: #93c5fd !important;
}

/* ── More From Us — post cards ── */
.enable_footer_columns_dark .bt_post_widget .jl_m_right {
    margin-bottom: 12px;
}

.enable_footer_columns_dark .bt_post_widget .jl_m_right:last-child {
    margin-bottom: 0;
}

.enable_footer_columns_dark .bt_post_widget .jl_m_right_w {
    background: rgba(30, 41, 59, 0.72) !important;
    border: 1px solid rgba(148, 163, 184, 0.12) !important;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(2, 6, 23, 0.28);
    backdrop-filter: blur(12px);
    padding: 12px;
    align-items: flex-start !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.enable_footer_columns_dark .bt_post_widget .jl_m_right:last-child .jl_m_right_w {
    padding: 12px !important;
}

.enable_footer_columns_dark .bt_post_widget .jl_m_right_w:hover {
    border-color: rgba(147, 197, 253, 0.35) !important;
    box-shadow: 0 12px 40px rgba(2, 6, 23, 0.4);
    transform: translateY(-2px);
}

.enable_footer_columns_dark .bt_post_widget .jl_m_right_img {
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}

.enable_footer_columns_dark .bt_post_widget .jl_m_right_content h2,
.enable_footer_columns_dark .bt_post_widget .jl_m_right_content h3 {
    display: block !important;
    overflow: visible !important;
    margin: 0 0 6px;
}

.enable_footer_columns_dark .bt_post_widget .jl_m_right_content h2 a,
.enable_footer_columns_dark .bt_post_widget .jl_m_right_content h3 a {
    color: #e2e8f0 !important;
    font-size: 13px;
    line-height: 1.45;
    display: block !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    max-height: none !important;
}

.enable_footer_columns_dark .bt_post_widget .jl_m_right_content h2 a:hover,
.enable_footer_columns_dark .bt_post_widget .jl_m_right_content h3 a:hover {
    color: #93c5fd !important;
    text-decoration: none;
}

/* ── Categories widget ── */
.enable_footer_columns_dark .jl_cat_img_w .jl_cat_img_c {
    background: rgba(30, 41, 59, 0.72) !important;
    border: 1px solid rgba(148, 163, 184, 0.12) !important;
    border-radius: 18px;
    height: 88px;
    box-shadow: 0 4px 20px rgba(2, 6, 23, 0.24);
    backdrop-filter: blur(10px);
    transition: border-color 0.2s ease, transform 0.2s ease;
    overflow: hidden;
}

.enable_footer_columns_dark .jl_cat_img_w .jl_cat_img_c:hover {
    border-color: rgba(147, 197, 253, 0.35) !important;
    transform: translateY(-2px);
}

.enable_footer_columns_dark .jl_cat_img_w .jl_cm_overlay .jl_cm_name {
    font-size: 13px;
    font-weight: 700;
    color: #f1f5f9 !important;
}

.enable_footer_columns_dark .jl_cat_img_w .jl_cm_overlay .jl_cm_count {
    font-size: 11px;
    color: #94a3b8 !important;
    font-weight: 500;
}

.enable_footer_columns_dark .jl_cat_img_w .category_image_bg_image {
    opacity: 0.8;
    border: 2px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 16px rgba(0, 0, 0, 0.4);
}

/* ── Footer bottom bar ── */
footer.jl_footer_act #footer-bottom-bar {
    border-top: 1px solid rgba(148, 163, 184, 0.14);
}

footer.jl_footer_act #footer-bottom-bar,
footer.jl_footer_act #footer-bottom-bar a {
    color: rgba(226, 232, 240, 0.7);
}

footer.jl_footer_act #footer-bottom-bar a:hover {
    color: #93c5fd;
    text-decoration: none;
}

/* ── Responsive ── */
@media (max-width: 991px) {
    .enable_footer_columns_dark .bt_post_widget .jl_m_right_w {
        border-radius: 16px;
    }
    .enable_footer_columns_dark .jl_cat_img_w .jl_cat_img_c {
        height: 72px;
        border-radius: 14px;
    }
}

@media (max-width: 767px) {
    footer#footer-container.ci-footer-shell .ci-footer-main {
        padding: 42px 0 22px;
    }
    footer#footer-container.ci-footer-shell .ci-footer-card {
        padding: 4px 0;
    }
    footer#footer-container.ci-footer-shell .ci-footer-brand-head {
        gap: 12px;
        margin-bottom: 14px;
    }
    footer#footer-container.ci-footer-shell .ci-footer-logo-badge {
        width: 50px;
        height: 50px;
    }
    footer#footer-container.ci-footer-shell .ci-footer-logo {
        width: 36px;
        height: 36px;
    }
    footer#footer-container.ci-footer-shell .ci-footer-heading {
        font-size: 18px;
        margin-bottom: 14px;
    }
    footer#footer-container.ci-footer-shell .ci-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    footer.jl_footer_act .footer-columns .widget-title .jl_title_c {
        font-size: 18px;
    }
    .enable_footer_columns_dark .bt_post_widget .jl_m_right_w {
        border-radius: 14px;
    }
    .enable_footer_columns_dark .jl_cat_img_w .jl_cat_img_c {
        height: 64px;
        border-radius: 12px;
    }
}
.jl_grid_w {
    display: flex;
    flex-direction: column;
    height: 100%;
    margin-bottom: 26px;
    border-radius: 16px;
    background: var(--ci-surface);
    border: 1px solid var(--ci-border);
    box-shadow: 0 2px 14px rgba(15, 23, 42, 0.07);
    overflow: hidden;
    backdrop-filter: blur(14px);
}

.jl_grid_w:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 36px rgba(15, 23, 42, 0.13);
}

.jl_grid_w .jl_img_box {
    margin-bottom: 0;
    position: relative;
    background: var(--ci-surface-soft);
    overflow: hidden;
}

.jl_grid_w .jl_img_box:after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 50px;
    background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.10) 100%);
    pointer-events: none;
}

.jl_grid_w .text-box {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 14px 16px 16px;
}

.jl_grid_w .text-box .jl_f_cat {
    margin-bottom: 8px;
}

.jl_grid_w .text-box h3 {
    margin-bottom: 0;
    flex: 1;
}

.jl_grid_w .text-box h3 a {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.48;
    letter-spacing: 0em;
    color: var(--ci-text);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.jl_grid_w .text-box p {
    margin-top: 9px;
    font-size: 13px;
    color: var(--ci-muted);
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.jl_grid_w .jl_post_meta {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid var(--ci-border);
}

.ci-featured-cat-section {
    margin: 20px 0;
    padding: 32px 0;
    border: 1px solid var(--ci-border);
    border-radius: 28px;
    box-shadow: var(--ci-shadow);
    backdrop-filter: blur(10px);
}

.ci-featured-cat-header {
    margin-bottom: 26px;
}

.ci-featured-cat-title {
    font-size: 26px;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--ci-text);
}

.ci-featured-cat-link {
    padding: 10px 14px;
    border-radius: 999px;
    background: var(--ci-surface);
    border: 1px solid var(--ci-border);
    color: var(--ci-text);
}

.ci-featured-cat-item {
    border-radius: 22px;
    border: 1px solid var(--ci-border);
    box-shadow: var(--ci-shadow);
    background: var(--ci-surface-strong);
}

.ci-featured-cat-item:hover {
    box-shadow: var(--ci-shadow-hover);
}

.ci-featured-cat-info {
    padding: 16px 18px 20px;
}

.ci-featured-cat-info .jl_post_meta {
    display: block;
    margin-top: 10px;
    padding-bottom: 20px;
    font-size: 11px;
}

.ci-featured-cat-info h4 {
    font-size: 15px;
    line-height: 1.35;
    letter-spacing: -0.01em;
}

.ci-featured-cat-excerpt {
    font-size: 13px;
    line-height: 1.5;
    color: var(--ci-muted);
    margin: 6px 0 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Dark theme — featured category sections */
.options_dark_skin .ci-featured-cat-section {
    background: #1a2436 !important;
    border-color: rgba(148, 163, 184, 0.12);
}

.options_dark_skin .ci-featured-cat-title {
    color: #e5eefc;
}

.options_dark_skin .ci-featured-cat-info h4 a {
    color: #e5eefc;
}

.options_dark_skin .ci-featured-cat-excerpt {
    color: #94a3b8;
}

.options_dark_skin .ci-featured-cat-item {
    background: #162033;
    border-color: rgba(148, 163, 184, 0.10);
}

.search-input-wrap,
.contact-info-card,
.contact-form-card,
.single_section_content.box {
    border-radius: 24px;
    border-color: var(--ci-border);
    box-shadow: var(--ci-shadow);
}

.single_section_content.box,
.contact-form-card,
.contact-info-card {
    background: var(--ci-surface);
}

.search-input-wrap input[type="search"] {
    background: transparent;
    color: var(--ci-text);
}

.search-results-header h1,
.contact-form-card h3,
.contact-info-card h3 {
    color: var(--ci-text);
    letter-spacing: -0.02em;
}

.options_dark_skin .jl_f_cat a,
.options_dark_skin .post-category-color-text {
    box-shadow: 0 12px 24px rgba(2, 6, 23, 0.24);
}

.options_dark_skin .ci-featured-cat-link:hover,
.options_dark_skin .jl_grid_w .text-box h3 a:hover,
.options_dark_skin .jl_m_right .jl_m_right_content h3 a:hover,
.options_dark_skin .jl_m_right .jl_m_right_content h2 a:hover,
.options_dark_skin .ci-featured-cat-info h4 a:hover {
    color: var(--ci-accent);
}

.options_dark_skin .search-input-wrap button,
.options_dark_skin .contact-form-card .btn-send {
    background: #172554;
}

.options_dark_skin .search-input-wrap button:hover,
.options_dark_skin .contact-form-card .btn-send:hover {
    background: #1e3a8a;
}

@media (max-width: 991px) {
    .jl_m_center .jl_m_center_w {
        height: 400px;
        border-radius: 18px;
    }

    .jl_m_center .text-box {
        padding: 20px 22px;
    }

    .jl_m_center .text-box h3 {
        font-size: 20px;
        max-width: 100%;
    }

    .jl_grid_w .text-box h3 a {
        font-size: 14px;
    }
}

@media (max-width: 767px) {
    .jl_home_bw {
        padding-top: 8px;
    }

    .jl_m_center .jl_m_center_w {
        height: 300px;
        border-radius: 14px;
    }

    .jl_m_center .text-box {
        padding: 16px 18px;
    }

    .jl_m_center .text-box h3 {
        font-size: 17px;
    }

    .jl_m_right .jl_m_right_w,
    .jl_grid_w,
    .ci-featured-cat-item,
    .single_section_content.box,
    .contact-form-card,
    .contact-info-card {
        border-radius: 18px;
    }

    .jl_grid_w .text-box {
        padding: 13px 14px 15px;
    }

    .jl_grid_w .text-box h3 a {
        font-size: 14px;
    }

    .ci-featured-cat-section {
        border-radius: 22px;
    }
}

/* ============================================
   Single Post & Page — Layout & Typography
   ============================================ */

/* Box card — smaller radius, cleaner look */
.single_section_content.box {
    border-radius: 18px !important;
    overflow: hidden;
}

/* Featured image fills card top flush, rounded top corners */
.single_section_content.box .jl_fe_img,
.single_section_content.box .jl_fe_img img {
    border-radius: 18px 18px 0 0;
    overflow: hidden;
    margin-bottom: 0;
}

.single_section_content.box .jl_fe_img img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    display: block;
}

/* Padding for all inner content areas — horizontal breathing room */
.single_section_content.box .single_post_entry_content,
.single_section_content.box .post_content_w,
.single_section_content.box .post-gallery-section,
.single_section_content.box .single_tag_share,
.single_section_content.box .postnav_w,
.single_section_content.box .comments_template,
.single_section_content.box .comment-respond {
    padding-left: 36px;
    padding-right: 36px;
}

/* Title area — top padding after image */
.single_section_content.box .single_post_entry_content {
    padding-top: 28px;
    padding-bottom: 4px;
}

/* Category pill in post title area */
.single_section_content.box .meta-category-small {
    display: block;
    margin-bottom: 14px;
}

/* Main headline */
.single_post_title_main {
    font-size: 30px !important;
    line-height: 1.28 !important;
    letter-spacing: -0.02em;
    margin-bottom: 14px !important;
    color: var(--ci-text);
}

/* Subtitle / excerpt */
.post_subtitle_text {
    font-size: 16px;
    line-height: 1.7;
    color: var(--ci-muted);
    margin-bottom: 14px;
    font-weight: 400;
}

/* Meta row in post header */
.jl_top_single_title .jl_post_meta {
    margin-bottom: 0;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--ci-border);
}


/* Share bar — horizontal strip below tags */
.ci-share-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px 36px;
    border-top: 1px solid var(--ci-border);
    border-bottom: 1px solid var(--ci-border);
    margin: 4px 0 0;
    clear: both;
}

.ci-share-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.ci-share-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ci-muted);
}

.ci-share-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 8px;
}

.ci-share-links li a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none !important;
    transition: opacity 0.18s, transform 0.15s;
    color: #fff !important;
    line-height: 1;
    border: none !important;
    box-shadow: none !important;
}

.ci-share-links li a:hover {
    opacity: 0.88;
    transform: translateY(-1px);
    color: #fff !important;
}

.ci-share-links li a i {
    font-size: 14px;
}

.ci-share-fb,
.ci-share-fb:hover  { background: #1877f2 !important; }
.ci-share-tw,
.ci-share-tw:hover  { background: #14171a !important; }
.ci-share-li,
.ci-share-li:hover  { background: #0a66c2 !important; }

.ci-view-count {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ci-muted);
}

.ci-view-count i {
    font-size: 16px;
}

/* Dark mode share bar */
.options_dark_skin .ci-share-bar {
    border-color: rgba(255,255,255,0.08);
}

/* Share icons sidebar (hide old template sidebar) */
.post_content_w .post_sw {
    display: none;
}

/* Content body — readable line length */
.post_content_w .post_content {
    padding: 28px 0 24px !important;
    max-width: 100%;
}

.post_content_w .post_content p {
    font-size: 16px;
    line-height: 1.82;
    margin-bottom: 20px;
}

/* Strip WYSIWYG inline background/color in dark mode */
.options_dark_skin .post_content span,
.options_dark_skin .post_content p span {
    background-color: transparent !important;
    color: #e2e8f0 !important;
}

/* Post navigation (prev/next) */
.postnav_w {
    padding-top: 28px;
    padding-bottom: 28px;
    border-top: 1px solid var(--ci-border);
}

/* Comment section */
.single_section_content.box .comment-respond {
    padding-bottom: 36px;
}

/* ── Section titles (Najnovije / Slične vesti) ── */
.jl_post_related_cat,
.jl_post_latest_section {
    margin-top: 0;
    padding: 40px 0 20px;
}

.jl_post_related_cat + .jl_post_latest_section {
    padding-top: 10px;
}

.jl_post_related_cat .jl_sec_title,
.jl_post_latest_section .jl_sec_title {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 28px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--ci-border);
}

.jl_post_related_cat .jl_title_c,
.jl_post_latest_section .jl_title_c {
    font-size: 20px !important;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--ci-text) !important;
    margin-bottom: 0 !important;
    position: relative;
    padding-left: 14px;
}

/* Accent bar on the left of section title */
.jl_post_related_cat .jl_title_c::before,
.jl_post_latest_section .jl_title_c::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 80%;
    background: #172554;
    border-radius: 4px;
}

/* Section subtitle (p below title) */
.jl_post_related_cat .jl_sec_title p,
.jl_post_latest_section .jl_sec_title p {
    font-size: 13px;
    color: var(--ci-muted);
    margin: 0;
    line-height: 1.4;
}

/* ── Responsive ── */
@media (max-width: 767px) {
    .single_section_content.box .single_post_entry_content,
    .single_section_content.box .post_content_w,
    .single_section_content.box .post-gallery-section,
    .single_section_content.box .single_tag_share,
    .single_section_content.box .postnav_w,
    .single_section_content.box .comments_template,
    .single_section_content.box .comment-respond {
        padding-left: 18px;
        padding-right: 18px;
    }

    .single_post_title_main {
        font-size: 22px !important;
    }

    .single_section_content.box .jl_fe_img img {
        max-height: 260px;
    }
}

/* ── Najnovije vesti – slider ── */
.jl_post_latest_section .jl_grid_wrap_f {
    position: relative;
    padding: 0 52px;
}

.jl_post_latest_section .jl-slider-prev,
.jl_post_latest_section .jl-slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 42px;
    height: 42px;
    line-height: 42px;
    font-size: 15px;
    text-align: center;
    background: #172554;
    color: #fff;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
    box-shadow: 0 3px 10px rgba(0,0,0,0.22);
    border: 2px solid rgba(255,255,255,0.15);
}

.jl_post_latest_section .jl-slider-prev {
    left: 4px;
}

.jl_post_latest_section .jl-slider-next {
    right: 4px;
}

.jl_post_latest_section .jl-slider-prev:hover,
.jl_post_latest_section .jl-slider-next:hover {
    background: #1e3a8a;
    box-shadow: 0 4px 16px rgba(23,37,84,0.35);
    transform: translateY(-50%) scale(1.09);
}

/* Na mobilnim – sakrijemo strelice, korisnik swipe-uje prstom */
@media (max-width: 767px) {
    .jl_post_latest_section .jl_grid_wrap_f {
        padding: 0;
    }
    .jl_post_latest_section .jl-slider-prev,
    .jl_post_latest_section .jl-slider-next {
        display: none;
    }
}

/* ── Ad banner spacer inside archive grid ── */
.ci-ad-spacer {
    float: left;
    width: 100%;
    margin: 28px 0 32px;
    clear: both;
}

/* ═══════════════════════════════════════════════════════════
   NEWS TICKER
   ═══════════════════════════════════════════════════════════ */
.ci-news-ticker-wrap {
    background: var(--ci-surface, #fff);
    border-bottom: 1px solid var(--ci-border, rgba(0,0,0,0.08));
    overflow: hidden;
    position: relative;
}

.ci-news-ticker-inner {
    display: flex;
    align-items: stretch;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.ci-ticker-label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px 10px 0;
    margin-right: 18px;
    border-right: 2px solid var(--ci-border, rgba(0,0,0,0.08));
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 800;
    color: #d63447;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    white-space: nowrap;
}

.ci-ticker-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d63447;
    flex-shrink: 0;
    animation: ci-ticker-pulse 1.6s ease-in-out infinite;
}

@keyframes ci-ticker-pulse {
    0%,100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.4; transform: scale(0.75); }
}

.ci-ticker-content {
    flex: 1;
    overflow: hidden;
    position: relative;
    padding: 10px 0;
    mask-image: linear-gradient(to right, transparent, black 1.5rem, black calc(100% - 1.5rem), transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 1.5rem, black calc(100% - 1.5rem), transparent);
}

.ci-ticker-track {
    display: flex;
    align-items: center;
    gap: 0;
    white-space: nowrap;
    animation: ci-ticker-scroll 35s linear infinite;
    width: max-content;
}

.ci-ticker-track:hover {
    animation-play-state: paused;
}

@keyframes ci-ticker-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.ci-ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #444;
    transition: color 0.2s;
    font-size: 13.5px;
    padding-right: 40px;
}

.ci-ticker-item:hover { color: #000; }

.ci-ticker-cat {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #999;
    flex-shrink: 0;
}

.ci-ticker-sep {
    color: #ccc;
    font-size: 10px;
    flex-shrink: 0;
}

.ci-ticker-title { font-weight: 500; }

/* Dark mode ticker */
.options_dark_skin .ci-news-ticker-wrap {
    background: #0f172a;
    border-bottom-color: rgba(148,163,184,0.12);
}
.options_dark_skin .ci-ticker-item  { color: #94a3b8; }
.options_dark_skin .ci-ticker-item:hover { color: #e2e8f0; }
.options_dark_skin .ci-ticker-cat   { color: #64748b; }

/* ═══════════════════════════════════════════════════════════
   CATEGORY SECTIONS — template-inspired redesign
   (overrides earlier .ci-featured-cat-* rules)
   ═══════════════════════════════════════════════════════════ */
.ci-featured-cat-section {
    padding: 40px 0 !important;
    border-top: 1px solid var(--ci-border, rgba(0,0,0,0.08)) !important;
    background: transparent !important;
    border-radius: 0 !important;
    margin: 0 !important;
}

.ci-featured-cat-section:first-of-type { border-top: none !important; }

.ci-featured-cat-header {
    display: flex !important;
    align-items: baseline !important;
    justify-content: space-between !important;
    margin-bottom: 24px !important;
}

.ci-cat-heading {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ci-cat-bar {
    display: inline-block;
    width: 4px;
    height: 28px;
    border-radius: 3px;
    background: #d63447;
    flex-shrink: 0;
}

.ci-featured-cat-title {
    font-size: 22px !important;
    font-weight: 800 !important;
    margin: 0 !important;
    color: var(--ci-text, #111) !important;
    letter-spacing: -0.3px !important;
}

.ci-featured-cat-title a {
    color: inherit;
    text-decoration: none;
}

.ci-featured-cat-title a:hover { text-decoration: underline; }

.ci-featured-cat-link {
    display: flex !important;
    align-items: center;
    gap: 4px;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #777 !important;
    white-space: nowrap;
}

.ci-featured-cat-link:hover { color: #111 !important; }

/* 2-column: big card + side list */
.ci-featured-cat-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 24px !important;
    align-items: start !important;
}

/* ── Big featured card ── */
.ci-cat-big-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 14px;
    background: var(--ci-surface, #fff);
    border: 1px solid var(--ci-border, rgba(0,0,0,0.08));
    box-shadow: 0 2px 12px rgba(15,23,42,0.06);
    transition: box-shadow 0.25s, transform 0.25s;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.ci-cat-big-card:hover {
    box-shadow: 0 10px 34px rgba(15,23,42,0.12);
    transform: translateY(-3px);
}

.ci-cat-img-wrap {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: #e8edf2;
    flex-shrink: 0;
}

.ci-cat-img-wrap img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.ci-cat-big-card:hover .ci-cat-img-wrap img { transform: scale(1.04); }

.ci-card-body {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.ci-card-cat-label {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #d63447;
    margin-bottom: 7px;
}

.ci-cat-big-card h3 {
    font-size: 18px !important;
    font-weight: 800 !important;
    line-height: 1.35 !important;
    margin: 0 0 8px !important;
    color: var(--ci-text, #111);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ci-cat-big-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.65;
    margin: 0 0 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.ci-card-meta {
    font-size: 12px;
    color: #aaa;
    margin-top: auto;
}

/* ── Side list ── */
.ci-cat-side-list {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--ci-border, rgba(0,0,0,0.08));
    border-radius: 14px;
    overflow: hidden;
    background: var(--ci-surface, #fff);
    box-shadow: 0 2px 12px rgba(15,23,42,0.06);
}

.ci-cat-side-item { border-bottom: 1px solid var(--ci-border, rgba(0,0,0,0.07)); }
.ci-cat-side-item:last-child { border-bottom: none; }

.ci-cat-side-link {
    display: flex;
    gap: 14px;
    padding: 14px 16px;
    text-decoration: none;
    color: inherit;
    transition: background 0.2s;
    align-items: flex-start;
}

.ci-cat-side-link:hover { background: rgba(15,23,42,0.03); }

.ci-cat-side-thumb {
    position: relative;
    aspect-ratio: 4/3;
    width: 106px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 8px;
    background: #e8edf2;
}

.ci-cat-side-thumb img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.ci-cat-side-link:hover .ci-cat-side-thumb img { transform: scale(1.06); }

.ci-cat-side-content { flex: 1; min-width: 0; }

.ci-cat-side-content h4 {
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.45 !important;
    margin: 0 0 5px !important;
    color: var(--ci-text, #111);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Dark mode overrides */
.options_dark_skin .ci-cat-big-card,
.options_dark_skin .ci-cat-side-list {
    background: #162033;
    border-color: rgba(148,163,184,0.10);
}

.options_dark_skin .ci-cat-big-card h3,
.options_dark_skin .ci-cat-side-content h4,
.options_dark_skin .ci-featured-cat-title { color: #e2e8f0 !important; }

.options_dark_skin .ci-cat-big-card p    { color: #94a3b8; }
.options_dark_skin .ci-cat-side-link:hover { background: rgba(255,255,255,0.04); }
.options_dark_skin .ci-featured-cat-link  { color: #64748b !important; }
.options_dark_skin .ci-featured-cat-link:hover { color: #cbd5e1 !important; }
.options_dark_skin .ci-card-meta          { color: #64748b; }

/* ── Mobile: stack to 1 column ── */
@media (max-width: 768px) {
    .ci-featured-cat-grid {
        grid-template-columns: 1fr !important;
    }
    .ci-cat-side-thumb { width: 90px; }
}

@media (max-width: 480px) {
    .ci-ticker-label span:not(.ci-ticker-dot) { display: none; }
}

/* ── Menu item images (show only image, no text) ── */
.navigation_wrapper .jl_main_menu > li > a img.menu-item-img {
    height: 22px;
    width: auto;
    max-width: 110px;
    object-fit: contain;
    display: inline-block;
    vertical-align: middle;
    filter: none;
    transition: opacity .2s;
}
.navigation_wrapper .jl_main_menu > li > a:hover img.menu-item-img {
    opacity: .8;
}
/* Remove the bottom border-menu underline for image-only items */
.navigation_wrapper .jl_main_menu > li > a:has(img.menu-item-img) .border-menu {
    display: none;
}
