/**
 * Pixy Newspaper 11 Styles
 * Adapted for PHP News Website
 */

/* ============================================================
   CSS VARIABLES
============================================================ */
:root {
    --primary-color: #5186d5;
    --secondary-color: #1e293b;
    --text-color: #334155;
    --text-light: #64748b;
    --bg-color: #ffffff;
    --bg-secondary: #f8fafc;
    --border-color: #e2e8f0;
    --font-family: 'Mukta', sans-serif;
    --radius: 4px;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* ============================================================
   RESET & BASE
============================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--bg-secondary);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

img {
    max-width: 100%;
    height: auto;
}

ul,
ol {
    list-style: none;
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ============================================================
   TOP BAR
============================================================ */
.top-bar {
    background: var(--secondary-color);
    padding: 8px 0;
    font-size: 13px;
}

.top-bar .row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#top-menu .nav1 {
    display: flex;
    gap: 20px;
}

#top-menu .nav1 li a {
    color: rgba(255, 255, 255, 0.7);
}

#top-menu .nav1 li a:hover {
    color: #fff;
}

#top-social .zeicilo {
    display: flex;
    gap: 10px;
}

#top-social .zeicilo li a {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    font-family: 'Font Awesome 6 Brands';
}

#top-social .zeicilo li a.fa-facebook::before {
    content: "\f39e";
}

#top-social .zeicilo li a.fa-x-twitter::before {
    content: "\e61b";
}

#top-social .zeicilo li a.fa-instagram::before {
    content: "\f16d";
}

#top-social .zeicilo li a.fa-youtube::before {
    content: "\f167";
}

#top-social .zeicilo li a.fa-whatsapp::before {
    content: "\f232";
}

#top-social .zeicilo li a.fa-telegram::before {
    content: "\f2c6";
}

.zeicilo.colorful li a.fa-facebook {
    background: #1877f2;
}

.zeicilo.colorful li a.fa-x-twitter {
    background: #000;
}

.zeicilo.colorful li a.fa-instagram {
    background: #e4405f;
}

.zeicilo.colorful li a.fa-youtube {
    background: #ff0000;
}

.zeicilo.colorful li a.fa-whatsapp {
    background: #25d366;
}

.zeicilo.colorful li a.fa-telegram {
    background: #0088cc;
}

/* ============================================================
   HEADER
============================================================ */
#zmiilo {
    background: var(--bg-color);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 999;
}

.zmililo-wrap {
    padding: 15px 0;
}

.header-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 30px;
}

.SuperLogo-img {
    display: flex;
    align-items: center;
}

.SuperLogo-img img {
    max-height: 40px;
}

.SuperLogo-img .blog-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin: 0;
}

#h1-hide {
    display: none;
}

.ijjpiIf #zeivilo {
    display: flex;
    gap: 25px;
}

.ijjpiIf #zeivilo li a {
    color: var(--text-color);
    font-weight: 500;
    font-size: 15px;
}

.ijjpiIf #zeivilo li a:hover {
    color: var(--primary-color);
}

.zjilo {
    display: none;
    width: 30px;
    height: 24px;
    position: relative;
    cursor: pointer;
}

.zjilo::before,
.zjilo::after {
    content: '';
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--secondary-color);
    left: 0;
    transition: var(--transition);
}

.zjilo::before {
    top: 0;
    box-shadow: 0 10px 0 var(--secondary-color);
}

.zjilo::after {
    bottom: 0;
}

/* Search */
.zeixilo {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 50%;
    transition: var(--transition);
}

.zeixilo::before {
    content: "\f002";
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 16px;
    color: var(--text-color);
}

.zeixilo:hover {
    background: var(--bg-secondary);
}

#ijjiIf {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-color);
    box-shadow: var(--shadow);
    padding: 20px;
}

.ijjiIf-container {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    gap: 10px;
}

.search-input {
    flex: 1;
    padding: 12px 20px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 16px;
    outline: none;
}

.ijjiIf-close {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border-radius: var(--radius);
    cursor: pointer;
}

.ijjiIf-close::before {
    content: "\f00d";
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}

/* ============================================================
   BREAKING NEWS TICKER
============================================================ */
.brRkLii {
    background: var(--secondary-color);
    padding: 10px 0;
}

.brRlLii {
    display: flex;
    align-items: center;
}

.hot-news-wrap {
    display: flex;
    align-items: center;
    width: 100%;
}

.news-label {
    background: #ef4444;
    color: #fff;
    padding: 5px 15px;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    border-radius: var(--radius);
    white-space: nowrap;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

.news-items {
    flex: 1;
    position: relative;
    margin: 0 15px;
    height: 24px;
    overflow: hidden;
}

.news-items .itaiIf {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    transition: opacity 0.5s;
}

.news-items .itaiIf.active {
    opacity: 1;
}

.news-items .itaiIf a {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
}

.buttons-fix {
    display: flex;
    gap: 5px;
}

.buttons-fix a {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
}

.buttons-fix a:hover {
    background: rgba(255, 255, 255, 0.2);
}

.buttons-fix .prev::before,
.buttons-fix .next::before {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 12px;
    color: #fff;
}

.buttons-fix .prev::before {
    content: "\f053";
}

.buttons-fix .next::before {
    content: "\f054";
}

/* ============================================================
   LAYOUT
============================================================ */
#center-container {
    padding: 30px 0;
}

.outer-container {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 30px;
}

#feed-view {
    min-width: 0;
}

#sidebar-wrapper {
    min-width: 0;
}

/* ============================================================
   FEATURED SECTION
============================================================ */
.featured-uimode {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 200px);
    gap: 15px;
    margin-bottom: 30px;
}

.featured-uimode .liVbazfc {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
}

.featured-uimode .liVbazfc.item0 {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}

.featured-uimode .liVbazfc.item3 {
    grid-column: 3 / 4;
    grid-row: 1 / 3;
}

.featured-uimode .post-filter-link {
    display: block;
    height: 100%;
}

.featured-uimode .snip-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.featured-uimode .liVbazfc:hover .snip-thumbnail {
    transform: scale(1.05);
}

.featured-uimode .post-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: #fff;
}

.featured-uimode .post-tag {
    display: inline-block;
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: var(--radius);
    margin-bottom: 8px;
}

.featured-uimode .post-title {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
}

.featured-uimode .item0 .post-title,
.featured-uimode .item3 .post-title {
    font-size: 1.2rem;
}

.featured-uimode .post-meta {
    font-size: 12px;
    opacity: 0.8;
    margin-top: 5px;
}

/* ============================================================
   CATEGORY SECTION
============================================================ */
.widget-title {
    margin-bottom: 20px;
    position: relative;
}

.widget-title .title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--secondary-color);
    padding-bottom: 10px;
    border-bottom: 3px solid var(--primary-color);
    display: inline-block;
}

.widget-title .title a {
    color: inherit;
}

.pixy-main-wrapper {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

.pixy-main-wrapper .liVbzfc {
    background: var(--bg-color);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.pixy-main-wrapper .liVbzfc.item0 {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
}

.pixy-main-wrapper .post-filter-link {
    position: relative;
    overflow: hidden;
}

.pixy-main-wrapper .post-img-link {
    display: block;
}

.pixy-main-wrapper .snip-thumbnail {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.5s;
}

.pixy-main-wrapper .item0 .snip-thumbnail {
    height: 100%;
    min-height: 350px;
}

.pixy-main-wrapper .liVbzfc:hover .snip-thumbnail {
    transform: scale(1.05);
}

.pixy-main-wrapper .post-body-inner {
    padding: 15px;
}

.pixy-main-wrapper .post-title {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 8px;
}

.pixy-main-wrapper .post-title a {
    color: var(--text-color);
}

.pixy-main-wrapper .post-title a:hover {
    color: var(--primary-color);
}

.pixy-main-wrapper .post-meta {
    font-size: 12px;
    color: var(--text-light);
}

/* ============================================================
   GRID POSTS
============================================================ */
.grid-posts {
    margin-bottom: 30px;
}

.grid-posts .blog-posts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.grid-posts .blog-post {
    background: var(--bg-color);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.grid-posts .blog-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.grid-posts .post-filter-link {
    position: relative;
    overflow: hidden;
}

.grid-posts .post-img-link {
    display: block;
}

.grid-posts .snip-thumbnail {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.5s;
}

.grid-posts .blog-post:hover .snip-thumbnail {
    transform: scale(1.05);
}

.grid-posts .post-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: var(--radius);
    color: #fff;
}

.grid-posts .post-tag a {
    color: #fff;
}

.grid-posts .post-body-inner {
    padding: 15px;
}

.grid-posts .post-title {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 10px;
}

.grid-posts .post-title a {
    color: var(--text-color);
}

.grid-posts .post-title a:hover {
    color: var(--primary-color);
}

.grid-posts .post-snippet {
    font-size: 14px;
    color: var(--text-light);
    margin: 0 0 10px;
    line-height: 1.5;
}

.grid-posts .post-meta {
    font-size: 12px;
    color: var(--text-light);
    display: flex;
    gap: 15px;
}

/* ============================================================
   SINGLE POST
============================================================ */
.item-post-wrap {
    background: var(--bg-color);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 30px;
}

.breadcrumbs {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 20px;
}

.breadcrumbs a {
    color: var(--text-light);
}

.breadcrumbs a:hover {
    color: var(--primary-color);
}

.breadcrumbs i {
    margin: 0 8px;
    font-size: 10px;
}

.post-header {
    margin-bottom: 20px;
}

.post-header .post-meta-top {
    margin-bottom: 10px;
}

.post-header .post-tag {
    display: inline-block;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: var(--radius);
    color: #fff;
}

.post-header .post-title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 15px;
}

.post-header .post-meta {
    font-size: 14px;
    color: var(--text-light);
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.post-header .post-meta i {
    margin-right: 5px;
}

/* Author Avatar with Verified Badge */
.post-author-box {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.post-author-box .author-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-color);
}

.post-author-box .author-name-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
    color: var(--text-color);
}

.post-author-box .verified-badge {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    vertical-align: middle;
    margin-left: 2px;
    display: inline-block;
}

.post-cover {
    margin-bottom: 25px;
}

.post-cover img {
    width: 100%;
    border-radius: var(--radius);
}

.post-body {
    font-size: 17px;
    line-height: 1.8;
}

.post-body h2,
.post-body h3 {
    margin: 25px 0 15px;
    font-weight: 600;
}

.post-body p {
    margin-bottom: 20px;
}

.post-body img {
    border-radius: var(--radius);
    margin: 20px 0;
}

.post-body ul,
.post-body ol {
    margin: 0 0 20px 25px;
}

.post-body ul li,
.post-body ol li {
    margin-bottom: 8px;
}

.post-body ul {
    list-style: disc;
}

.post-body ol {
    list-style: decimal;
}

/* Share Box */
.share-box {
    margin: 30px 0;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: var(--radius);
    text-align: center;
}

.share-title {
    font-weight: 600;
    margin-bottom: 15px;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.share-buttons a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    font-size: 16px;
}

.share-buttons .facebook {
    background: #1877f2;
}

.share-buttons .whatsapp {
    background: #25d366;
}

.share-buttons .twitter {
    background: #000;
}

.share-buttons .telegram {
    background: #0088cc;
}

/* Author Box */
.author-profile {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: var(--radius);
    margin: 30px 0;
}

.author-image img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info .author-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 5px;
}

.author-info p {
    color: var(--text-light);
    margin: 0;
}

/* Related Posts */
.related-posts {
    margin: 30px 0;
}

.related-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--primary-color);
    display: inline-block;
}

.related-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.related-item {
    background: var(--bg-secondary);
    border-radius: var(--radius);
    overflow: hidden;
}

.related-thumb img {
    width: 100%;
    border-radius: 4px;
    object-fit: cover;
}

.related-text {
    padding: 12px;
}

.related-header {
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0 0 5px;
    line-height: 1.3;
}

.related-header a {
    color: var(--text-color);
}

.related-date {
    font-size: 11px;
    color: var(--text-light);
}

/* Comments */
.comments-area {
    margin-top: 30px;
}

.comments-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.comment-form-box {
    background: var(--bg-secondary);
    padding: 20px;
    border-radius: var(--radius);
}

.comment-form-box h4 {
    margin-bottom: 15px;
}

/* ============================================================
   SIDEBAR - Pixy Style
============================================================ */
#sidebar-wrapper .widget {
    background: #fff;
    border-radius: 4px;
    box-shadow: -1px 7px 10px 0 rgba(124, 124, 124, 0.06);
    margin-bottom: 25px;
    overflow: hidden;
}

#sidebar-wrapper .widget-title {
    padding: 15px 18px;
    margin: 0;
    border-bottom: 1px solid rgba(100, 100, 100, 0.1);
}

#sidebar-wrapper .widget-title .title {
    padding: 0;
    border: none;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    color: #333;
}

#sidebar-wrapper .widget-content {
    padding: 18px;
}

/* Social Widget - Colorful Grid */
.socialFilter {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.socialFilter li {
    list-style: none;
}

.socialFilter li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 45px;
    border-radius: 4px;
    font-size: 18px;
    color: #fff;
    transition: all 0.3s ease;
    text-decoration: none;
}

.socialFilter li a:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

/* Social colors */
.socialFilter .fa-facebook {
    background: #3b5998;
}

.socialFilter .fa-whatsapp {
    background: #25D366;
}

.socialFilter .fa-x-twitter {
    background: #000;
}

.socialFilter .fa-twitter {
    background: #1DA1F2;
}

.socialFilter .fa-instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.socialFilter .fa-youtube {
    background: #FF0000;
}

.socialFilter .fa-telegram {
    background: #0088cc;
}

.socialFilter .fa-pinterest {
    background: #E60023;
}

.socialFilter .fa-linkedin {
    background: #0077B5;
}

/* Popular Posts Widget - Big + Small Style */
.popular-posts {
    counter-reset: popular-counter;
}

/* First post - Big Thumbnail */
.popular-posts .popular-post-big {
    display: block;
    padding-bottom: 15px;
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(100, 100, 100, 0.08);
}

.popular-posts .post-image-big {
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-radius: 4px;
    margin-bottom: 10px;
}

.popular-posts .post-image-big img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 0.3s ease;
}

.popular-posts .popular-post-big:hover .post-image-big img {
    filter: brightness(0.9);
}

.popular-posts .popular-post-big .post-title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Rest posts - Small Thumbnails */
.popular-posts .popular-post-small {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(100, 100, 100, 0.08);
    position: relative;
}

.popular-posts .popular-post-small:last-child {
    padding-bottom: 0;
    border: none;
}

.popular-posts .post-image {
    position: relative;
    width: 75px;
    height: 60px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 4px;
}

.popular-posts .post-image::before {
    counter-increment: popular-counter;
    content: counter(popular-counter);
    position: absolute;
    top: 0;
    left: 0;
    width: 18px;
    height: 18px;
    background: var(--primary-color, #e71d36);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 0 4px 0;
    z-index: 1;
}

.popular-posts .post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 0.3s ease;
}

.popular-posts .popular-post-small:hover .post-image img {
    filter: brightness(0.9);
}

.popular-posts .post-body-inner {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.popular-posts .popular-post-small .post-title {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.popular-posts .post-title a {
    color: #333;
    text-decoration: none;
}

.popular-posts .post-title a:hover {
    color: var(--primary-color, #5186d5);
}

.popular-posts .post-meta {
    display: flex;
    gap: 10px;
    font-size: 11px;
    color: #aaa;
}

.popular-posts .post-meta i {
    margin-right: 3px;
}

/* Labels Widget - Tag Cloud */
.cloud-label ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.cloud-label li {
    list-style: none;
}

.cloud-label .label-name {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #f5f5f5;
    border-radius: 20px;
    font-size: 12px;
    color: #555;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cloud-label .label-name:hover {
    background: var(--primary-color, #5186d5);
    color: #fff;
}

.cloud-label .label-count {
    font-size: 10px;
    background: rgba(0, 0, 0, 0.08);
    padding: 2px 6px;
    border-radius: 10px;
}

.cloud-label .label-name:hover .label-count {
    background: rgba(255, 255, 255, 0.2);
}

/* Newsletter Widget */
.email-widget p {
    margin: 0 0 15px;
    font-size: 14px;
    color: var(--text-light);
}

.email-form {
    display: flex;
    gap: 10px;
}

.email-form input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-family: inherit;
}

.email-form button {
    padding: 10px 15px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    font-family: inherit;
    transition: var(--transition);
}

.email-form button:hover {
    opacity: 0.9;
}

/* ============================================================
   FOOTER
============================================================ */
#llmflii {
    background: var(--secondary-color);
    color: rgba(255, 255, 255, 0.7);
    padding: 50px 0 30px;
}

#llmflii .container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
}

#llmflii .widget-title .title {
    color: #fff;
    font-size: 1rem;
    border-color: var(--primary-color);
}

.about-content .footer-logo {
    margin: 15px 0;
}

.footer-site-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

.about-content .image-caption {
    font-size: 14px;
    display: block;
    margin-bottom: 15px;
}

#llmflii .zeicilo {
    display: flex;
    gap: 10px;
}

#llmflii .zeicilo li a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 14px;
}

.FooterChecksService ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.FooterChecksService ul li a {
    color: rgba(255, 255, 255, 0.7);
}

.FooterChecksService ul li a:hover {
    color: #fff;
}

#footer-container {
    background: #0f172a;
    padding: 20px 0;
}

#footer-container .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-checks-menu ul {
    display: flex;
    gap: 25px;
}

.footer-checks-menu ul li a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.footer-checks-menu ul li a:hover {
    color: #fff;
}

.copyright-text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

/* ============================================================
   MOBILE MENU
============================================================ */
#menu-space {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100vh;
    background: var(--bg-color);
    z-index: 9999;
    transition: left 0.3s;
    overflow-y: auto;
}

body.zsililo #menu-space {
    left: 0;
}

.area-runs {
    padding: 15px;
    background: var(--secondary-color);
}

.hide-zeipilo {
    display: block;
    width: 30px;
    height: 30px;
    cursor: pointer;
    position: relative;
}

.hide-zeipilo::before,
.hide-zeipilo::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background: #fff;
    top: 50%;
    left: 0;
}

.hide-zeipilo::before {
    transform: rotate(45deg);
}

.hide-zeipilo::after {
    transform: rotate(-45deg);
}

#zeipilo ul {
    padding: 15px;
}

#zeipilo ul li a {
    display: block;
    padding: 12px 15px;
    color: var(--text-color);
    border-bottom: 1px solid var(--border-color);
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    display: none;
}

body.zsililo .overlay {
    display: block;
}

/* ============================================================
   BACK TO TOP
============================================================ */
.xiilv {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    font-size: 0;
    z-index: 99;
}

.xiilv::before {
    content: "\f077";
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 16px;
}

/* ============================================================
   STICKY MOBILE MENU
============================================================ */
.section-sticky {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-color);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

.mobileMenu {
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
}

.mobileMenu li {
    text-align: center;
}

.mobileMenu li a,
.mobileMenu li label {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    color: var(--text-color);
    font-size: 20px;
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1024px) {
    .outer-container {
        grid-template-columns: 1fr;
    }

    #sidebar-wrapper {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .featured-uimode {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 200px);
    }

    .featured-uimode .item0 {
        grid-column: 1 / 2;
        grid-row: 1 / 3;
    }

    .featured-uimode .item3 {
        grid-column: 2 / 3;
        grid-row: 1 / 3;
    }

    .pixy-main-wrapper {
        grid-template-columns: repeat(3, 1fr);
    }

    .pixy-main-wrapper .item0 {
        grid-column: 1 / 2;
        grid-row: 1 / 2;
    }
}

@media (max-width: 768px) {
    .ijjpiIf {
        display: none;
    }

    .zjilo {
        display: block;
    }

    .top-bar .row {
        flex-direction: column;
        gap: 10px;
    }

    #sidebar-wrapper {
        grid-template-columns: 1fr;
    }

    .featured-uimode {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .featured-uimode .liVbazfc {
        grid-column: auto !important;
        grid-row: auto !important;
        height: 200px;
    }

    .pixy-main-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }

    .pixy-main-wrapper .item0 {
        grid-column: 1 / 3;
    }

    .grid-posts .blog-posts {
        grid-template-columns: repeat(2, 1fr);
    }

    .related-content {
        grid-template-columns: repeat(2, 1fr);
    }

    #llmflii .container {
        grid-template-columns: 1fr;
    }

    #footer-container .container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .section-sticky {
        display: block;
    }
}

@media (max-width: 480px) {
    .grid-posts .blog-posts {
        grid-template-columns: 1fr;
    }

    .pixy-main-wrapper {
        grid-template-columns: 1fr;
    }

    .pixy-main-wrapper .item0 {
        grid-column: auto;
    }

    .related-content {
        grid-template-columns: 1fr;
    }

    .post-header .post-title {
        font-size: 1.5rem;
    }

    .item-post-wrap {
        padding: 20px;
    }
}

/* ============================================================
   HERO SECTION - Pixy Newspaper 11 Style (Exact Match)
============================================================ */
.hero-wrapper {
    background: #f0fdff;
    padding: 17px 0;
    margin: 0;
}

.hero-section {
    background: #fff;
    border-radius: 4px;
    padding: 15px;
    box-shadow: -1px 7px 10px 0 rgba(124, 124, 124, 0.06);
}

/* 9-Column CSS Grid Layout */
.hero-grid {
    display: grid;
    grid-template-columns: repeat(9, minmax(0, 1fr));
    grid-row-gap: 10px;
    grid-column-gap: 10px;
}

/* Item Positioning */
.hero-item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.hero-item.item0 {
    grid-column: 1 / 4;
    grid-row: 1 / 4;
}

.hero-item.item1 {
    grid-column: 4 / 7;
    grid-row: 1 / 2;
}

.hero-item.item2 {
    grid-column: 4 / 7;
    grid-row: 2 / 3;
}

.hero-item.item3 {
    grid-column: 4 / 7;
    grid-row: 3 / 4;
}

.hero-item.item4 {
    grid-column: 7 / 10;
    grid-row: 1 / 4;
}

/* Big Items (item0 and item4) */
.hero-item.item0 .hero-thumb,
.hero-item.item4 .hero-thumb {
    width: 100%;
    height: 220px;
    display: block;
    overflow: hidden;
    border-radius: 4px;
}

.hero-item.item0 .hero-thumb img,
.hero-item.item4 .hero-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 0.3s ease;
}

.hero-item.item0:hover .hero-thumb img,
.hero-item.item4:hover .hero-thumb img {
    filter: brightness(0.9);
}

.hero-item.item0 .hero-meta-box,
.hero-item.item4 .hero-meta-box {
    float: left;
    width: 100%;
    padding: 10px 0 0;
}

/* Small Items (item1, item2, item3) - Horizontal Layout */
.hero-item.item1,
.hero-item.item2,
.hero-item.item3 {
    display: flex;
    align-items: flex-start;
}

.hero-item.item1 .hero-thumb,
.hero-item.item2 .hero-thumb,
.hero-item.item3 .hero-thumb {
    width: 100px;
    height: 85px;
    flex-shrink: 0;
    display: block;
    overflow: hidden;
    border-radius: 4px;
    margin-right: 12px;
}

.hero-item.item1 .hero-thumb img,
.hero-item.item2 .hero-thumb img,
.hero-item.item3 .hero-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 0.3s ease;
}

.hero-item.item1:hover .hero-thumb img,
.hero-item.item2:hover .hero-thumb img,
.hero-item.item3:hover .hero-thumb img {
    filter: brightness(0.9);
}

.hero-item.item1 .hero-meta-box,
.hero-item.item2 .hero-meta-box,
.hero-item.item3 .hero-meta-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 5px 10px 5px 0;
}

/* Author Category Badge */
.hero-author-cat {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--primary-color, #5186d5);
    margin-bottom: 5px;
}

.hero-author-cat i {
    font-size: 13px;
}

/* Author Avatar */
.hero-author-img {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(81, 134, 213, 0.3);
}

/* Entry Title */
.hero-entry-title {
    font-size: 16px;
    font-weight: 600;
    color: #333333;
    line-height: 1.4;
    margin: 0 0 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hero-entry-title a {
    color: #333333;
    text-decoration: none;
}

.hero-entry-title a:hover {
    color: var(--primary-color, #5186d5);
}

.hero-item.item0 .hero-entry-title,
.hero-item.item4 .hero-entry-title {
    font-size: 17px;
}

/* Post Meta */
.hero-post-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: #aaaaaa;
}

.hero-post-meta .hero-date {
    display: inline;
}

.hero-post-meta .hero-views {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.hero-post-meta .hero-views i {
    font-size: 13px;
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: repeat(6, 1fr);
    }

    .hero-item.item0 {
        grid-column: 1 / 4;
        grid-row: 1 / 2;
    }

    .hero-item.item4 {
        grid-column: 4 / 7;
        grid-row: 1 / 2;
    }

    .hero-item.item1 {
        grid-column: 1 / 3;
        grid-row: 2 / 3;
    }

    .hero-item.item2 {
        grid-column: 3 / 5;
        grid-row: 2 / 3;
    }

    .hero-item.item3 {
        grid-column: 5 / 7;
        grid-row: 2 / 3;
    }

    .hero-item.item0 .hero-thumb,
    .hero-item.item4 .hero-thumb {
        height: 180px;
    }

    .hero-item.item1,
    .hero-item.item2,
    .hero-item.item3 {
        flex-direction: column;
    }

    .hero-item.item1 .hero-thumb,
    .hero-item.item2 .hero-thumb,
    .hero-item.item3 .hero-thumb {
        width: 100%;
        height: 100px;
        margin: 0 0 8px;
    }

    .hero-item.item1 .hero-meta-box,
    .hero-item.item2 .hero-meta-box,
    .hero-item.item3 .hero-meta-box {
        padding: 0;
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .hero-wrapper {
        padding: 12px 0;
    }

    .hero-section {
        padding: 12px;
    }

    .hero-grid {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .hero-item.item0 .hero-thumb,
    .hero-item.item4 .hero-thumb {
        height: 160px;
    }

    .hero-item.item1,
    .hero-item.item2,
    .hero-item.item3 {
        flex-direction: row;
    }

    .hero-item.item1 .hero-thumb,
    .hero-item.item2 .hero-thumb,
    .hero-item.item3 .hero-thumb {
        width: 90px;
        height: 70px;
        margin: 0 10px 0 0;
    }

    .hero-entry-title {
        font-size: 13px;
    }

    .hero-item.item0 .hero-entry-title,
    .hero-item.item4 .hero-entry-title {
        font-size: 14px;
    }
}

/* ============================================================
   CATEGORY SECTIONS - 5 Layout Types (Cycling)
============================================================ */

/* Common Category Section Styles */
.cat-section {
    margin-bottom: 30px;
    background: #fff;
    border-radius: 4px;
    padding: 15px;
    box-shadow: -1px 7px 10px 0 rgba(124, 124, 124, 0.06);
}

.cat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(100, 100, 100, 0.1);
}

.cat-title {
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    margin: 0;
    padding-left: 12px;
    border-left: 3px solid;
}

.cat-title a {
    text-decoration: none;
    color: inherit;
}

.cat-more {
    font-size: 13px;
    font-weight: 500;
    color: var(--primary-color, #5186d5);
    text-decoration: none;
}

.cat-more:hover {
    opacity: 0.8;
}

/* Common Article Card Styles */
.cat-article {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.cat-article-thumb {
    display: block;
    overflow: hidden;
    border-radius: 4px;
}

.cat-article-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 0.3s ease;
}

.cat-article:hover .cat-article-thumb img {
    filter: brightness(0.9);
}

.cat-article-meta {
    padding: 10px 0 0;
}

.cat-article-category {
    display: inline-block;
    font-size: 11px;
    font-weight: 500;
    color: #fff;
    padding: 2px 8px;
    border-radius: 3px;
    margin-bottom: 6px;
}

.cat-article-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
    margin: 0 0 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cat-article-title a {
    color: #333;
    text-decoration: none;
}

.cat-article-title a:hover {
    color: var(--primary-color, #5186d5);
}

.cat-article-info {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: #aaa;
}

.cat-article-info i {
    margin-right: 3px;
}

/* ============================================================
   LAYOUT 1: Grid Featured (1 Big + 4 Small Grid)
============================================================ */
.cat-layout-1 .cat-content {
    display: flex;
    gap: 15px;
}

.cat-layout-1 .cat-article-big {
    flex: 0 0 50%;
    max-width: 50%;
}

.cat-layout-1 .cat-article-big .cat-article-thumb {
    height: 240px;
}

.cat-layout-1 .cat-article-big .cat-article-title {
    font-size: 19px;
}

/* Right column container for small articles */
.cat-layout-1 .cat-small-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cat-layout-1 .cat-article-small {
    display: flex;
    gap: 10px;
    background: #f9f9f9;
    border-radius: 4px;
    padding: 8px;
}

.cat-layout-1 .cat-article-small .cat-article-thumb {
    flex: 0 0 90px;
    width: 90px;
    height: 70px;
    border-radius: 4px;
    overflow: hidden;
}

.cat-layout-1 .cat-article-small .cat-article-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cat-layout-1 .cat-article-small .cat-article-meta {
    flex: 1;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.cat-layout-1 .cat-article-small .cat-article-title {
    font-size: 15px;
}

/* ============================================================
   LAYOUT 2: List Style (1 Big Top + Horizontal List)
============================================================ */
.cat-layout-2 .cat-article-featured {
    margin-bottom: 15px;
}

.cat-layout-2 .cat-article-featured .cat-article-thumb {
    height: 250px;
}

.cat-layout-2 .cat-article-featured .cat-article-title {
    font-size: 20px;
}

.cat-layout-2 .cat-list-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.cat-layout-2 .cat-article-list .cat-article-thumb {
    height: 100px;
    margin-bottom: 8px;
}

.cat-layout-2 .cat-article-list .cat-article-title {
    font-size: 15px;
}

/* ============================================================
   LAYOUT 3: Three Column Grid
============================================================ */
.cat-layout-3 .cat-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.cat-layout-3 .cat-article .cat-article-thumb {
    height: 140px;
    margin-bottom: 8px;
}

.cat-layout-3 .cat-article:first-child,
.cat-layout-3 .cat-article:nth-child(2),
.cat-layout-3 .cat-article:nth-child(3) {
    background: #f9f9f9;
    padding: 10px;
    border-radius: 4px;
}

.cat-layout-3 .cat-article:first-child .cat-article-title,
.cat-layout-3 .cat-article:nth-child(2) .cat-article-title,
.cat-layout-3 .cat-article:nth-child(3) .cat-article-title {
    font-size: 17px;
}

/* ============================================================
   LAYOUT 4: Side by Side (2 Columns)
============================================================ */
.cat-layout-4 .cat-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.cat-layout-4 .cat-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cat-layout-4 .cat-article-main .cat-article-thumb {
    height: 180px;
    margin-bottom: 10px;
}

.cat-layout-4 .cat-article-main .cat-article-title {
    font-size: 18px;
}

.cat-layout-4 .cat-article-sub {
    display: flex;
    gap: 10px;
    padding: 10px;
    background: #f9f9f9;
    border-radius: 4px;
}

.cat-layout-4 .cat-article-sub .cat-article-thumb {
    width: 80px;
    height: 65px;
    flex-shrink: 0;
}

.cat-layout-4 .cat-article-sub .cat-article-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cat-layout-4 .cat-article-sub .cat-article-meta {
    flex: 1;
    padding: 0;
}

.cat-layout-4 .cat-article-sub .cat-article-title {
    font-size: 15px;
    -webkit-line-clamp: 2;
}

/* ============================================================
   LAYOUT 5: Magazine Stack (Featured + List)
============================================================ */
.cat-layout-5 .cat-content {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 20px;
}

.cat-layout-5 .cat-featured-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 320px;
    position: relative;
    overflow: hidden;
}

.cat-layout-5 .cat-featured-card .cat-featured-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.cat-layout-5 .cat-featured-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    z-index: 1;
}

.cat-layout-5 .cat-featured-card .cat-featured-content {
    position: relative;
    z-index: 2;
}

.cat-layout-5 .cat-featured-card .cat-article-title {
    font-size: 22px;
    color: #fff;
    margin-bottom: 10px;
}

.cat-layout-5 .cat-featured-card .cat-article-title a {
    color: #fff;
}

.cat-layout-5 .cat-featured-card .cat-article-info {
    color: rgba(255, 255, 255, 0.8);
}

.cat-layout-5 .cat-stack-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cat-layout-5 .cat-stack-item {
    display: flex;
    gap: 12px;
    padding: 10px;
    background: #f9f9f9;
    border-radius: 4px;
}

.cat-layout-5 .cat-stack-item .cat-article-thumb {
    width: 90px;
    height: 70px;
    flex-shrink: 0;
}

.cat-layout-5 .cat-stack-item .cat-article-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cat-layout-5 .cat-stack-item .cat-article-meta {
    flex: 1;
    padding: 0;
}

.cat-layout-5 .cat-stack-item .cat-article-title {
    font-size: 15px;
}

/* ============================================================
   CATEGORY LAYOUTS - Responsive
============================================================ */
@media (max-width: 1024px) {

    /* Layout 1: Stack on tablet */
    .cat-layout-1 .cat-content {
        flex-direction: column;
    }

    .cat-layout-1 .cat-article-big {
        flex: 0 0 auto;
        max-width: 100%;
    }

    .cat-layout-1 .cat-small-column {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
    }

    .cat-layout-1 .cat-article-small {
        flex: 0 0 calc(50% - 5px);
    }

    .cat-layout-2 .cat-list-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cat-layout-3 .cat-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .cat-layout-4 .cat-content {
        grid-template-columns: 1fr;
    }

    .cat-layout-5 .cat-content {
        grid-template-columns: 1fr;
    }

    .cat-layout-5 .cat-featured-card {
        min-height: 250px;
    }
}

@media (max-width: 768px) {
    .cat-section {
        padding: 12px;
        margin-bottom: 20px;
    }

    /* Layout 1: Full width on mobile */
    .cat-layout-1 .cat-article-big .cat-article-thumb {
        height: 180px;
    }

    .cat-layout-1 .cat-small-column {
        flex-direction: column;
    }

    .cat-layout-1 .cat-article-small {
        flex: 0 0 100%;
    }

    .cat-layout-2 .cat-article-featured .cat-article-thumb {
        height: 180px;
    }

    .cat-layout-2 .cat-list-grid {
        grid-template-columns: 1fr 1fr;
    }

    .cat-layout-3 .cat-content {
        grid-template-columns: 1fr;
    }

    .cat-layout-5 .cat-stack-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {

    /* Keep cat-title and cat-more side by side */
    .cat-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .cat-layout-2 .cat-list-grid {
        grid-template-columns: 1fr;
    }

    .cat-layout-5 .cat-stack-list {
        grid-template-columns: 1fr;
    }
}

/* Mobile - 16:9 Aspect Ratio for Images */
@media (max-width: 768px) {

    /* Hero section big images - 16:9 */
    .hero-item.item0 .hero-thumb,
    .hero-item.item4 .hero-thumb {
        aspect-ratio: 16/9;
        height: auto;
    }

    /* Category big article images - 16:9 */
    .cat-layout-1 .cat-article-big .cat-article-thumb,
    .cat-layout-2 .cat-article-featured .cat-article-thumb,
    .cat-layout-5 .cat-featured-card {
        aspect-ratio: 16/9;
        height: auto;
        min-height: unset;
    }
}

/* ============================================================
   BACK TO TOP BUTTON (Centered)
============================================================ */
.xiilv {
    position: fixed;
    bottom: 30px;
    left: 80%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: var(--primary-color, #e71d36);
    border-radius: 50%;
    cursor: pointer;
    z-index: 9999;
    display: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.xiilv::before {
    content: '\f077';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #fff;
    font-size: 18px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.xiilv::after {
    display: none !important;
}

.xiilv:hover {
    background: #333;
    transform: translateX(-50%) scale(1.1);
}

/* Footer Social Icons */
.footer-social-icons {
    display: flex;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 15px 0 0;
}

.footer-social-icons li {
    list-style: none;
}

.footer-social-icons li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 16px;
    color: #fff;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-social-icons li a:hover {
    transform: scale(1.1);
    opacity: 0.9;
}

/* Hide sticky bar completely */
.section-sticky {
    display: none !important;
}

/* ============================================================
   AUTHOR PROFILE
============================================================ */
.author-profile {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    margin: 20px 0;
}

.author-image {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.author-info {
    flex: 1;
    min-width: 0;
}

.author-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color, #333);
    margin: 0 0 8px;
}

.author-info p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* Mobile author profile */
@media (max-width: 480px) {
    .author-profile {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .author-image {
        width: 70px;
        height: 70px;
    }
}