/*
Theme Name: Flammus
Author: Marketingova agentura UNIQINO
Author URI: https://uniqino.sk/
Text Domain: flammus
Version:1.0
*/

@import "css/style.css";

/* Google Font Inter for UI elements */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

/* FONTS */

/* caladea-regular - latin_latin-ext */
@font-face {
    font-display: swap;
    font-family: 'Caladea';
    font-style: normal;
    font-weight: 400;
    src: url('/wp-content/themes/flammus/fonts/caladea-v7-latin_latin-ext-regular.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* caladea-italic - latin_latin-ext */
@font-face {
    font-display: swap;
    font-family: 'Caladea';
    font-style: italic;
    font-weight: 400;
    src: url('/wp-content/themes/flammus/fonts/caladea-v7-latin_latin-ext-italic.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* caladea-700 - latin_latin-ext */
@font-face {
    font-display: swap;
    font-family: 'Caladea';
    font-style: normal;
    font-weight: 700;
    src: url('/wp-content/themes/flammus/fonts/caladea-v7-latin_latin-ext-700.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* caladea-700italic - latin_latin-ext */
@font-face {
    font-display: swap;
    font-family: 'Caladea';
    font-style: italic;
    font-weight: 700;
    src: url('/wp-content/themes/flammus/fonts/caladea-v7-latin_latin-ext-700italic.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}



/* HOOKS */
body {
    background: #fff;
}

.dz-bnr-inr-entry h3 {
    margin-bottom: 10px;
    font-weight: 700;
    color: #fff;
    font-size: 150px;
    line-height: 1;
}

.side-contact-info a {
    color: #323232;
}

.side-contact-info a:hover {
    color: var(--primary);
}

.dz-bnr-inr .dz-bnr-inr-entry,
.dz-bnr-inr {
    height: 500px;
}

.dz-page-text.deactive {
    max-width: 100%;
}

.site-footer.inactive {
    margin-top: 4rem;
    padding-top: 4rem;
    background-image: none;
}

/* RANKMATH BREAD */

.rank-math-breadcrumb a,
.rank-math-breadcrumb {
    color: #fff;
    font-size: 18px;
}

.dz-meta .rank-math-breadcrumb a,
.dz-meta .rank-math-breadcrumb {
    color: var(--title);
    font-size: 16px;
}

.dz-meta .rank-math-breadcrumb .separator {
    font-size: 18px;
    margin: 0 0.4rem;
    font-weight: normal;
}

.dz-meta .rank-math-breadcrumb p a:last-child {
    color: var(--primary);
}

.rank-math-breadcrumb .separator {
    font-size: 26px;
    margin: 0 0.8rem;
    font-weight: bold;
}

.contact-area.no-map {
    margin-top: 0;
}

.extra-blog {
    margin-top: 2rem;
}

.blog-single.style-1 {
    margin-bottom: 2rem;
}

.price-prod strong {
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 700;
}

.corner-media img {
    height: auto;
}

.map-iframe iframe {
    width: 100%;
}

.dz-form p {
    width: 100%;
}

.extra-icon-box {
    min-width: 250px;
}

.lang_selector {
    margin-left: 2rem;
}

.lang_selector a {
    display: inline-block;
    margin: 0.5rem;
    color: var(--title);
    text-transform: uppercase;
}

.lang_selector a:hover,
.lang_selector a.active {
    color: var(--primary);
}

.lang_selector a.active {
    display: none;
}

.swiper-pagination {
    position: relative !important;
}

.header-nav .nav>li .mega-menu,
.header-nav .nav>li .sub-menu {
    width: 340px;
}

.btn:disabled {
    background-color: #EEEEEE;
    border-color: #EEEEEE;
    color: #000;
}

.comment-form .wpcf7-acceptanc input,
.wpcf7-acceptance input {
    width: 1.5rem !important;
    height: 1.5rem !important;
    margin-right: 1rem !important;
}

.comment-form .wpcf7-acceptance label {
    display: inline-block !important;
}

.header-nav .nav>li>a {
    text-transform: none;
}

.content-inner.pt60 {
    padding-top: 60px;
}

.blog-cat {
    margin-bottom: 30px;
    padding: 0;
    list-style: none;
    float: left;
    width: 100%;
}

.blog-cat li {
    display: inline-block;
    float: left;
    margin-right: 1rem;
}

.blog-cat li a {
    color: var(--title);
    transition: none;
}

.blog-cat li a:hover {
    color: var(--primary);
    text-decoration: underline;
}

/* produkt inner */

.prod a {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--title);
}

.prod a:hover h4 {
    text-decoration: underline;
}

.prod a .prod-img {
    min-height: 280px;
    border-radius: 10px;
    background-size: cover;
    position: relative;
}

.prod a .prod-img .prod-price {
    position: absolute;
    right: 0;
    top: 80px;
    display: inline-block;
    background: var(--primary);
    color: #fff;
    padding: 0.5rem 1rem;
}

.prod a .prod-desc {
    margin-top: 1rem;
}

.prod a .prod-desc h4 {
    color: var(--primary);
}

/* FOOTER BLOG SLIDER */

.footer-blog-slider-section {
    background: #fff;
}

.footer-blog-slider-section .section-head-bx {
    margin-bottom: 2rem;
}

.footer-blog-swiper {
    padding-bottom: 70px;
}

.footer-blog-swiper .swiper-slide {
    height: auto;
}

.footer-blog-swiper .dz-card {
    height: 100%;
    margin-bottom: 0;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.footer-blog-swiper .dz-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.footer-blog-swiper .dz-media {
    overflow: hidden;
    position: relative;
}

.footer-blog-swiper .dz-media img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.footer-blog-swiper .dz-card:hover .dz-media img {
    transform: scale(1.05);
}

/* Category badge on footer slider images */
.footer-blog-swiper .category-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    z-index: 2;
    transition: background 0.3s ease;
}

.footer-blog-swiper .category-badge:hover {
    background: var(--primary);
    color: #fff;
}

.footer-blog-swiper .dz-info {
    padding: 20px;
}

/* Footer slider meta - stacked date, author, reading time */
.footer-blog-swiper .dz-meta {
    margin-bottom: 10px;
}

.footer-blog-swiper .dz-meta ul {
    display: flex;
    align-items: center;
    gap: 15px;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.footer-blog-swiper .post-date-stacked {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #888;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
}

.footer-blog-swiper .post-date-stacked i {
    color: #aaa;
    font-size: 0.9rem;
}

.footer-blog-swiper .post-date-stacked .date-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.footer-blog-swiper .post-date-stacked .date-day {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--title);
}

.footer-blog-swiper .post-date-stacked .date-month {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #888;
}

.footer-blog-swiper .post-author,
.footer-blog-swiper .post-reading-time {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #888;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
}

.footer-blog-swiper .post-author i,
.footer-blog-swiper .post-reading-time i {
    color: #aaa;
    font-size: 0.85rem;
}

.footer-blog-swiper .dz-title {
    font-size: 18px;
    line-height: 1.4;
    margin-bottom: 10px;
}

.footer-blog-swiper .dz-title a {
    color: var(--title);
}

.footer-blog-swiper .dz-title a:hover {
    color: var(--primary);
}

.footer-blog-swiper .dz-post-text {
    margin-bottom: 15px;
}

.footer-blog-swiper .dz-post-text p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Footer slider read more button */
.footer-blog-swiper .read-more-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: #fff;
    padding: 10px 20px;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-blog-swiper .read-more-link:hover {
    background: var(--title);
    color: #fff;
}

.footer-blog-swiper .read-more-link i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.footer-blog-swiper .read-more-link:hover i {
    transform: translateX(3px);
}

.footer-blog-pagination {
    bottom: 0 !important;
    padding-top: 20px;
}

.footer-blog-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #ccc;
    opacity: 1;
}

.footer-blog-pagination .swiper-pagination-bullet-active {
    background: var(--primary);
}

@media (max-width: 767px) {
    .footer-blog-slider-section {
        padding: 40px 0 60px;
    }

    .footer-blog-swiper .dz-media img {
        height: 220px;
    }

    .footer-blog-swiper .dz-info {
        padding: 15px;
    }

    .footer-blog-swiper .dz-title {
        font-size: 16px;
    }
}

/* ============================================
   READING PROGRESS BAR
   ============================================ */

.reading-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(0, 0, 0, 0.1);
    z-index: 99999;
}

.reading-progress-bar {
    height: 100%;
    width: 0%;
    background: var(--primary);
    transition: width 0.1s ease-out;
}

/* ============================================
   SINGLE BLOG POST - HERO SECTION
   ============================================ */

.blog-hero {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto 3rem;
}

.blog-hero-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.blog-hero-separator {
    color: #999;
    font-size: 0.9rem;
}

.blog-hero-category {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    padding: 0.35rem 1rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: capitalize;
    text-decoration: none;
    transition: background 0.3s ease;
}

.blog-hero-category:hover {
    background: var(--primary-dark, #333);
    color: #fff;
}

.blog-hero-date,
.blog-hero-readtime,
.blog-hero-author {
    color: #666;
    font-size: 0.95rem;
}

.blog-hero-title {
    font-family: 'Caladea', Georgia, serif;
    font-style: italic;
    font-size: 3rem;
    font-weight: 400;
    line-height: 1.2;
    color: var(--title);
    margin-bottom: 1.25rem;
}

.blog-hero-excerpt {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 2rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.blog-hero-image {
    margin-top: 2rem;
    border-radius: 12px;
    overflow: hidden;
    max-width: none;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100vw;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.blog-hero-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

@media (max-width: 991px) {
    .blog-hero-title {
        font-size: 2.25rem;
    }

    .blog-hero-excerpt {
        font-size: 1rem;
    }

    .blog-hero-image {
        max-width: 100%;
    }
}

@media (max-width: 575px) {
    .blog-hero {
        margin-bottom: 2rem;
    }

    .blog-hero-meta {
        gap: 0.4rem;
    }

    .blog-hero-title {
        font-size: 1.75rem;
    }

    .blog-hero-excerpt {
        font-size: 0.95rem;
    }

    .blog-hero-date,
    .blog-hero-readtime,
    .blog-hero-author {
        font-size: 0.85rem;
    }
}

/* ============================================
   SINGLE BLOG - AUTHOR BOX
   ============================================ */

.author-box.blog-author {
    padding: 30px;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    box-shadow: none;
}

.author-box.blog-author .author-profile-info {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.author-box.blog-author .author-profile-pic {
    width: 80px;
    height: 80px;
    min-width: 80px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.author-box.blog-author .author-profile-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.author-box.blog-author .author-profile-content {
    flex: 1;
    padding-left: 0;
}

.author-box.blog-author .author-name-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.author-box.blog-author .author-name-row h6 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--title);
}

.author-box.blog-author .author-badge {
    display: inline-block;
    background: #1a1f2e;
    color: #fff;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.author-box.blog-author .author-profile-content p {
    margin-bottom: 15px;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
}

.author-box.blog-author .author-social-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.author-box.blog-author .author-social-links li {
    margin: 0;
    padding: 0;
    float: none;
}

.author-box.blog-author .author-social-links li a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #666;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.3s ease;
    background: none;
    width: auto;
    height: auto;
    line-height: normal;
}

.author-box.blog-author .author-social-links li a:hover {
    color: var(--primary);
}

.author-box.blog-author .author-social-links li a i {
    font-size: 1rem;
}

@media (max-width: 575px) {
    .author-box.blog-author {
        padding: 20px;
    }

    .author-box.blog-author .author-profile-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .author-box.blog-author .author-name-row {
        justify-content: center;
    }

    .author-box.blog-author .author-social-links {
        justify-content: center;
    }
}

/* ============================================
   SIDEBAR - CATEGORIES STYLE
   ============================================ */

.sidebar-section-title {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 0;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
}

.ext-sidebar-menu.style-categories {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
}

.ext-sidebar-menu.style-categories ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ext-sidebar-menu.style-categories ul li {
    border-bottom: 1px solid #f0f0f0;
}

.ext-sidebar-menu.style-categories ul li:last-child {
    border-bottom: none;
}

.ext-sidebar-menu.style-categories ul li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    font-size: 1rem;
    font-weight: 500;
    color: var(--title);
    text-decoration: none;
    transition: color 0.3s ease;
}

.ext-sidebar-menu.style-categories ul li a:after {
    content: none;
}

.ext-sidebar-menu.style-categories ul li a i {
    color: #ccc;
    font-size: 0.75rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.ext-sidebar-menu.style-categories ul li a:hover {
    color: var(--primary);
    transform: none;
}

.ext-sidebar-menu.style-categories ul li a:hover i {
    color: var(--primary);
    transform: translateX(3px);
}

/* ============================================
   SIDEBAR - DARK CTA BOX
   ============================================ */

.cta-side.dark {
    background: #1a1f2e;
    color: #fff;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
}

.cta-side.dark .cta-side-icon {
    margin-bottom: 20px;
}

.cta-side.dark .cta-side-icon i {
    font-size: 2rem;
    color: #fff;
    opacity: 0.9;
}

.cta-side.dark h4 {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.cta-side.dark p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.cta-side.dark .btn-white {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #fff;
    color: #1a1f2e;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
}

.cta-side.dark .btn-white:hover {
    background: #f5f5f5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.cta-side.dark .btn-white i {
    font-size: 0.85rem;
    transition: transform 0.3s ease;
}

.cta-side.dark .btn-white:hover i {
    transform: translateX(3px);
}

@media (max-width: 991px) {
    .cta-side.dark {
        padding: 25px;
    }

    .cta-side.dark h4 {
        font-size: 1.1rem;
    }
}

/* ============================================
   BLOG ARCHIVE - GRID LAYOUT
   ============================================ */

.blog-archive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.blog-archive-grid .card-container {
    display: flex;
}

.blog-archive-grid .card-container .dz-card {
    width: 100%;
    display: flex;
    flex-direction: column;
}

/* Featured first post - spans 2 columns, 1 row (smaller) */
.blog-archive-grid .card-featured {
    grid-column: span 2;
    grid-row: span 1;
}

.blog-archive-grid .card-featured .dz-card {
    display: flex;
    flex-direction: row;
    height: 100%;
}

.blog-archive-grid .card-featured .dz-media {
    flex: 0 0 55%;
    max-width: 55%;
    min-height: 280px;
}

.blog-archive-grid .card-featured .dz-media img {
    height: 100%;
    object-fit: cover;
    border-radius: 12px 0 0 12px;
}

.blog-archive-grid .card-featured .dz-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-archive-grid .card-featured .dz-title {
    font-size: 1.25rem;
}

.blog-archive-grid .card-featured .dz-post-text p {
    -webkit-line-clamp: 4;
}

/* Tablet - 2 columns */
@media (max-width: 1199px) {
    .blog-archive-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .blog-archive-grid .card-featured {
        grid-column: span 2;
        grid-row: span 1;
    }

    .blog-archive-grid .card-featured .dz-media {
        min-height: 250px;
    }
}

/* Mobile - 1 column, featured post looks like regular post */
@media (max-width: 767px) {
    .blog-archive-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .blog-archive-grid .card-featured {
        grid-column: span 1;
        grid-row: span 1;
    }

    /* Reset featured card to normal vertical layout on mobile */
    .blog-archive-grid .card-featured .dz-card {
        flex-direction: column;
    }

    .blog-archive-grid .card-featured .dz-media {
        flex: none;
        max-width: 100%;
        min-height: auto;
    }

    .blog-archive-grid .card-featured .dz-media img {
        height: 180px;
        border-radius: 12px 12px 0 0;
    }

    .blog-archive-grid .card-featured .dz-title {
        font-size: 1.1rem;
    }
}

/* ============================================
   BLOG ARCHIVE - CARD STYLES
   ============================================ */

.blog-archive-grid .dz-card.blog-grid.style-1 {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    background: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 0;
}

.blog-archive-grid .dz-card.blog-grid.style-1:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.blog-archive-grid .dz-media {
    position: relative;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}

.blog-archive-grid .dz-media img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

@media (max-width: 767px) {
    .blog-archive-grid .dz-media img {
        height: 220px;
    }
}

.blog-archive-grid .dz-card:hover .dz-media img {
    transform: scale(1.05);
}

/* Category Badge */
.blog-archive-grid .category-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    z-index: 2;
    transition: background 0.3s ease;
}

.blog-archive-grid .category-badge:hover {
    background: var(--primary);
    color: #fff;
}

/* Card Info */
.blog-archive-grid .dz-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-archive-grid .dz-meta {
    margin-bottom: 10px;
}

.blog-archive-grid .dz-meta ul {
    display: flex;
    align-items: center;
    gap: 15px;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

/* Stacked date format */
.blog-archive-grid .post-date-stacked {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #888;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
}

.blog-archive-grid .post-date-stacked i {
    color: #aaa;
    font-size: 0.9rem;
}

.blog-archive-grid .post-date-stacked .date-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.blog-archive-grid .post-date-stacked .date-day {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--title);
}

.blog-archive-grid .post-date-stacked .date-month {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #888;
}

/* Author and reading time meta */
.blog-archive-grid .post-author,
.blog-archive-grid .post-reading-time {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #888;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
}

.blog-archive-grid .post-author i,
.blog-archive-grid .post-reading-time i {
    color: #aaa;
    font-size: 0.85rem;
}

/* Legacy inline date style (fallback) */
.blog-archive-grid .post-date-inline {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #888;
    font-size: 0.9rem;
}

.blog-archive-grid .post-date-inline i {
    color: #aaa;
    font-size: 0.85rem;
}

.blog-archive-grid .dz-title {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 10px;
}

.blog-archive-grid .dz-title a {
    color: var(--title);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-archive-grid .dz-title a:hover {
    color: var(--primary);
}

.blog-archive-grid .dz-post-text {
    flex: 1;
    margin-bottom: 15px;
}

.blog-archive-grid .dz-post-text p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #666;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Read More Button - matching homepage slider style */
.blog-archive-grid .read-more {
    margin-top: auto;
}

.blog-archive-grid .read-more-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: #fff;
    padding: 10px 20px;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-archive-grid .read-more-link:hover {
    background: var(--title);
    color: #fff;
}

.blog-archive-grid .read-more-link i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.blog-archive-grid .read-more-link:hover i {
    transform: translateX(3px);
}

/* ============================================
   BLOG ARCHIVE - FILTER BUTTONS
   ============================================ */

.blog-archive-filter {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    clear: both;
}

.blog-archive-filter .filter-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-archive-filter .filter-list {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-archive-filter .filter-btn {
    display: inline-block;
    padding: 8px 18px;
    border: 1px solid #ddd;
    border-radius: 25px;
    background: #fff;
    color: var(--title);
    font-size: 0.9rem;
    font-weight: 400;
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-archive-filter .filter-btn:hover,
.blog-archive-filter .filter-btn.active {
    border-color: var(--primary);
    background: var(--primary);
    color: #fff;
}

/* ============================================
   BLOG ARCHIVE - ROUNDED PAGINATION
   ============================================ */

.blog-archive-pagination {
    display: flex;
    justify-content: center;
    margin-top: 50px;
    margin-bottom: 30px;
    overflow: visible;
}

.pagination-rounded {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
    overflow: visible;
}

.pagination-rounded .page-item {
    margin: 0;
    overflow: visible;
}

.pagination-rounded .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #e0e0e0;
    background: #fff;
    color: var(--title);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    overflow: visible;
}

.pagination-rounded .page-link:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Active page styling - with primary background */
.pagination-rounded .page-item.active .page-link,
.pagination-rounded .page-link.active,
.pagination-rounded .page-item .page-link.active {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #fff !important;
    border-radius: 50% !important;
}

.pagination-rounded .page-link i {
    font-size: 1rem;
}

/* Prev/Next arrow buttons */
.pagination-rounded .page-item:first-child .page-link,
.pagination-rounded .page-item:last-child .page-link {
    border-color: #e0e0e0;
    background: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
}

.pagination-rounded .page-item:first-child .page-link:hover,
.pagination-rounded .page-item:last-child .page-link:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: #fff;
}

@media (max-width: 575px) {
    .pagination-rounded .page-link {
        width: 38px;
        height: 38px;
        font-size: 0.9rem;
    }

    .pagination-rounded .page-item:first-child .page-link,
    .pagination-rounded .page-item:last-child .page-link {
        width: 38px;
        height: 38px;
    }

    .pagination-rounded {
        gap: 6px;
    }
}

/* ============================================
   GLOBAL BORDER RADIUS UPDATES
   ============================================ */

/* Buttons */
.btn {
    border-radius: 8px;
}

.btn-rounded {
    border-radius: 25px;
}

/* Cards */
.dz-card {
    border-radius: 12px;
}

.dz-card .dz-media {
    border-radius: 12px 12px 0 0;
}

.dz-card .dz-media img {
    border-radius: 12px 12px 0 0;
}

/* Form inputs */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="search"],
textarea,
select {
    border-radius: 8px;
}

/* Generic boxes and containers */
.widget {
    border-radius: 12px;
}

.box,
.card {
    border-radius: 12px;
}

/* ============================================
   READING TIME STYLES
   ============================================ */

.post-reading-time {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #888;
    font-size: 0.85rem;
}

.post-reading-time i {
    color: #aaa;
    font-size: 0.8rem;
}

/* Hide old blog-cat styles when using new filter */
.blog-cat {
    display: none;
}