/**
 * Main Stylesheet for Easify Blog Theme
 * Matches the original Nuxt design
 */

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
    width: 100%;
    max-width: 100%;
}

body {
    font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-display: swap;
    color: #52525B;
    background-color: #ffffff;
    line-height: 1.6;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
}

/* Container */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .container {
        padding: 0 4rem;
    }
}

/* Main Container */
.main-container {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 300;
    line-height: 1.2;
    color: #000;
}

.text-secondary {
    color: #C41E3A;
}

/* Background Colors */
.bg-\[#F8F3F0\] {
    background-color: #F8F3F0;
}

.bg-\[#E4E4E7\] {
    background-color: #E4E4E7;
}

.bg-\[#315F98\] {
    background-color: #315F98;
}

/* Safer (non-bracket) background helpers for WordPress templates */
.bg-easify-beige {
    background-color: #F8F3F0;
}

.bg-easify-gray {
    background-color: #E4E4E7;
}

.bg-easify-blue {
    background-color: #315F98;
}

/* Text Colors */
.text-\[#71717A\] {
    color: #71717A;
}

.text-\[#52525B\] {
    color: #52525B;
}

/* Safer (non-bracket) text helpers */
.text-easify-muted {
    color: #71717A;
}

.text-easify-body {
    color: #52525B;
}

/* Grid Layout */
.grid {
    display: grid;
}

.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 768px) {
    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Gap Utilities */
.gap-x-\[40px\] {
    column-gap: 40px;
}

.gap-y-8 {
    row-gap: 2rem;
}

.gap-x-3 {
    column-gap: 0.75rem;
}

.gap-y-2\.5 {
    row-gap: 0.625rem;
}

.gap-y-3 {
    row-gap: 0.75rem;
}

.gap-x-\[60px\] {
    column-gap: 60px;
}

/* Flexbox Utilities */
.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-start {
    justify-content: flex-start;
}

.justify-around {
    justify-content: space-around;
}

.w-full {
    width: 100%;
}

.w-screen {
    width: 100%;
    position: relative;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    max-width: 100vw;
    overflow-x: hidden;
}

/* Spacing */
.py-10 {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

.py-5 {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.px-2 {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.px-3 {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

.pt-8 {
    padding-top: 2rem;
}

.pt-\[120px\] {
    padding-top: 120px;
}

.pb-\[160px\] {
    padding-bottom: 160px;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-5 {
    margin-bottom: 1.25rem;
}

.mb-\[100px\] {
    margin-bottom: 100px;
}

.my-4 {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.my-5 {
    margin-top: 1.25rem;
    margin-bottom: 1.25rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* Border & Rounded */
.border {
    border: 1px solid #e5e7eb;
}

.rounded-lg {
    border-radius: 0.5rem;
}

.rounded-xs {
    border-radius: 0.25rem;
}

.rounded-\[23px\] {
    border-radius: 23px;
}

.rounded-full {
    border-radius: 9999px;
}

.border-\[4px\] {
    border-width: 4px;
}

.border-white {
    border-color: #ffffff;
}

/* Overflow */
.overflow-hidden {
    overflow: hidden;
}

/* Object Fit */
.object-cover {
    object-fit: cover;
}

.object-contain {
    object-fit: contain;
}

/* Aspect Ratio */
.aspect-\[3\/2\] {
    aspect-ratio: 3 / 2;
}

.aspect-3\/2 {
    aspect-ratio: 3 / 2;
}

/* Text Sizes */
.text-\[12px\] {
    font-size: 12px;
}

.text-sm {
    font-size: 0.875rem;
}

.text-\[15px\] {
    font-size: 15px;
}

.text-\[16px\] {
    font-size: 16px;
}

.text-\[18px\] {
    font-size: 18px;
}

.text-\[20px\] {
    font-size: 20px;
}

.text-\[24px\] {
    font-size: 24px;
}

.text-\[36px\] {
    font-size: 36px;
}

.text-\[40px\] {
    font-size: 40px;
}

@media (min-width: 768px) {
    .md\:text-\[16px\] {
        font-size: 16px;
    }

    .md\:text-\[18px\] {
        font-size: 18px;
    }

    .md\:text-\[36px\] {
        font-size: 36px;
    }

    .md\:text-\[40px\] {
        font-size: 40px;
    }

    .md\:px-10 {
        padding-left: 2.5rem;
        padding-right: 2.5rem;
    }

    .md\:px-\[13px\] {
        padding-left: 13px;
        padding-right: 13px;
    }

    .md\:px-\[100px\] {
        padding-left: 100px;
        padding-right: 100px;
    }

    .md\:py-\[14px\] {
        padding-top: 14px;
        padding-bottom: 14px;
    }

    .md\:py-\[30px\] {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .md\:py-\[80px\] {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .md\:pt-\[100px\] {
        padding-top: 100px;
    }

    .md\:pb-\[160px\] {
        padding-bottom: 160px;
    }

    .md\:min-h-\[220px\] {
        min-height: 220px;
    }

    .md\:max-w-\[815px\] {
        max-width: 815px;
    }

    .md\:-mt-\[200px\] {
        margin-top: -200px;
    }

    .md\:flex-row {
        flex-direction: row;
    }

    .md\:flex-row-reverse {
        flex-direction: row-reverse;
    }
}

/* Font Weight */
.font-light {
    font-weight: 300;
}

.font-semibold {
    font-weight: 600;
}

/* Transitions */
.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.transition-transform {
    transition-property: transform;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.duration-100 {
    transition-duration: 100ms;
}

.duration-200 {
    transition-duration: 200ms;
}

.ease-in-out {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover Effects */
.group:hover .group-hover\:scale-105 {
    transform: scale(1.05);
}

.group:hover .group-hover\:font-semibold {
    font-weight: 600;
}

.hover\:shadow-lg:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Button Styles */
button {
    cursor: pointer;
    border: none;
    background: none;
}

/* Link Styles */
a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    text-decoration: none;
}

/* Prose Styles (for blog content) */
.prose {
    max-width: 65ch;
    color: #52525B;
}

.prose p {
    margin-top: 1.25em;
    margin-bottom: 1.25em;
    color: #4b5563;
}

.prose a {
    font-weight: 600;
    color: #1e3a8a;
    text-decoration: none;
}

.prose a:hover {
    text-decoration: underline;
}

.prose ul {
    color: #4b5563;
    margin-top: 1.25em;
    margin-bottom: 1.25em;
    padding-left: 1.625em;
}

.prose strong {
    color: #4b5563;
    font-weight: 600;
}

.prose img {
    margin-top: 2em;
    margin-bottom: 2em;
}

/* Four Line Clamp */
.four-line-clamp {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (min-width: 768px) {
    .md\:four-line-clamp {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
}

/* Featured blog summary clamp (match Nuxt featured block feel) */
.featured-summary {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Single post hero summary clamp (prevents huge auto-excerpts) */
.hero-summary {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Pagination Styles */
.pagination-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    max-width: 330px;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .pagination-wrapper {
        max-width: 100%;
    }
}

.pagination-wrapper a,
.pagination-wrapper span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    min-width: 1.75rem;
    height: 1.75rem;
    border-radius: 0.25rem;
    border: 1px solid #e5e7eb;
    background-color: #ffffff;
    color: #000;
    text-decoration: none;
    transition: all 0.2s;
}

@media (min-width: 640px) {
    .pagination-wrapper a,
    .pagination-wrapper span {
        min-width: 2.5rem;
        height: 2.5rem;
    }
}

.pagination-wrapper a:hover {
    background-color: #f3f4f6;
}

.pagination-wrapper .current {
    background-color: #315F98;
    color: #ffffff;
    border-color: #315F98;
}

.pagination-wrapper svg {
    width: 1rem;
    height: 1rem;
}

/* Responsive Utilities */
@media (min-width: 768px) {
    .md\:text-start {
        text-align: left;
    }
}

/* Hidden Utility */
.hidden {
    display: none;
}

/* Text Center */
.text-center {
    text-align: center;
}

/* Col Span Full */
.col-span-full {
    grid-column: 1 / -1;
}

/* Leading */
.leading-7 {
    line-height: 1.75rem;
}

/* Max Width */
.max-w-\[900px\] {
    max-width: 900px;
}

.max-w-\[500px\] {
    max-width: 500px;
}

@media (min-width: 768px) {
    .md\:max-w-full {
        max-width: 100%;
    }
}

/* Relative */
.relative {
    position: relative;
}

/* Cursor */
.cursor-pointer {
    cursor: pointer;
}

/* Site Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 14px 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.site-main {
    min-height: calc(100vh - 200px);
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

#page {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    background: #fff;
    padding: 14px 24px;
    border-radius: 2px;
    border: 1px solid #f1f1f3;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
    position: relative;
}

.logo-img {
    width: 144px;
    height: auto;
}

.header-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.header-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin: 0 auto;
}

.header-actions {
    display: flex;
    gap: 12px;
}

.header-link {
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    color: #111;
    transition: color 0.2s ease;
}

.header-link:hover {
    color: #d11e28;
}

.has-dropdown {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.header-link-button {
    padding: 8px 18px;
    border-radius: 2px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.header-link-login {
    background: #d11e28;
    color: #fff !important;
}

.header-link-trial {
    background: #111;
    color: #fff !important;
}

.header-link-trial:hover {
    background: #000;
    color: #fff !important;
}

.header-link.active,
.header-link.current-state,
.current-state {
    color: #D11E28;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: #111;
    border-radius: 2px;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .header-menu {
        display: none;
        position: absolute;
        top: 90px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 24px;
        border-radius: 2px;
        border: 1px solid #f1f1f3;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
        gap: 24px;
        z-index: 1001;
        animation: fadeIn 0.2s ease-in-out;
    }

    .header-menu.active {
        display: flex;
    }

    .header-links,
    .header-actions {
        flex-direction: column;
        gap: 16px;
        width: 100%;
    }

    .header-link-button {
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
    }
}

@media (min-width: 769px) {
    .mobile-menu-toggle {
        display: none;
    }

    .header-menu {
        display: flex !important;
        position: static;
        flex-direction: row;
        background: transparent;
        box-shadow: none;
        border: none;
        padding: 0;
    }

    .header-links {
        flex-direction: row;
    }

    .header-actions {
        flex-direction: row;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Site Footer */
.site-footer {
    background: #000;
    color: #f8f3f0;
    padding: 60px 0 0 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* Footer App Download Section */
.footer-app-section {
    width: 100%;
}

.footer-app-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 70px;
    padding: 16px;
    position: relative;
}

.footer-app-content::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 140px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%);
    pointer-events: none;
    z-index: 10;
}

@media (max-width: 767px) {
    .footer-app-content {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
        text-align: center;
    }

    .footer-app-content > div:nth-child(2) {
        order: -1;
        width: 100%;
    }
}

.upper-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.upper-content-heading {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.footer-app-image {
    width: 160px;
    height: auto;
}

@media (max-width: 767px) {
    .footer-app-image {
        width: 90px;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .footer-app-image {
        width: 120px;
        padding: 10px;
    }
}

.footer-app-title {
    color: #fff;
    font-size: 26px;
    font-weight: 500;
}

@media (min-width: 768px) {
    .footer-app-title {
        font-size: 32px;
    }
}

.footer-app-description {
    font-size: 14px;
    color: #fff;
}

.footer-app-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.footer-app-store-btn {
    max-width: 150px;
    height: auto;
}

.footer-container {
    background: #0a0a0a;
    margin: 0 80px 40px 80px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 20px;
    width: calc(100% - 160px);
}

@media (max-width: 767px) {
    .footer-container {
        margin: 0 15px 30px 15px;
        width: calc(100% - 30px);
        border-radius: 12px;
    }
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 2rem 0;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.footer-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-left {
        align-items: flex-start;
        text-align: left;
    }
}

.footer-logo {
    display: inline-block;
    margin-bottom: 1.25rem;
}

.logo-white {
    width: 165px;
    height: 45px;
}

.footer-description {
    font-size: 14px;
    line-height: 1.6;
    color: #ffffff;
    max-width: 380px;
    margin-bottom: 1.5rem;
}

.footer-demo-btn {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background-color: #315F98;
    color: #ffffff;
    text-decoration: none;
    border-radius: 0.25rem;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.2s ease;
    margin-bottom: 2.5rem;
}

.footer-demo-btn:hover {
    background-color: #2a4f7f;
    color: #ffffff;
}

.footer-social {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
}

@media (min-width: 768px) {
    .footer-social {
        justify-content: flex-start;
    }
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #18181B;
    border-radius: 4px;
    color: #ffffff;
    transition: background-color 0.2s ease;
}

.social-icon:hover {
    background-color: #2a2a2d;
    color: #ffffff;
}

.footer-right {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-right {
        grid-template-columns: repeat(3, 1fr);
        text-align: left;
    }
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-title {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1.25rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

@media (min-width: 1024px) {
    .footer-links {
        gap: 1.25rem;
    }
}

.footer-links li {
    margin: 0;
}

.footer-links a {
    font-size: 14px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 300;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #C41E3A;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    margin-top: 2rem;
    text-align: center;
}

.footer-privacy {
    font-size: 12px;
    color: #F8F3F0;
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.footer-privacy a {
    color: #F8F3F0;
    text-decoration: underline;
}

.footer-copyright {
    font-size: 12px;
    color: #F8F3F0;
    font-weight: 300;
}

/* Responsive Images */
img {
    max-width: 100%;
    height: auto;
}

/* Smooth Transitions */
.fade-enter-active,
.fade-leave-active {
    transition: opacity 0.1s ease;
}

.fade-enter-from,
.fade-leave-to {
    opacity: 0;
}

/* ================================================
   BLOG LISTING PAGE (index.php)
   ================================================ */

.blog-listing-page {
    background: #FFFFFF;
    min-height: calc(100vh - 200px);
}

.blog-container {
    width: min(90%, 1200px);
    margin: 40px auto;
}

/* Breadcrumb */
.blog-listing-page .breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    font-size: clamp(12px, 2vw, 14px);
    margin-bottom: 16px;
    color: #71717a;
}

.blog-listing-page .breadcrumb-current {
    color: #000;
    font-weight: 600;
}

/* Header Row */
.blog-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.blog-heading {
    font-size: clamp(22px, 3vw, 36px);
    font-weight: 400;
    color: #18181b;
}

.arrow-group {
    display: flex;
    gap: 10px;
    align-items: center;
}

.arrow-btn {
    padding: 4px;
    cursor: pointer;
    border: 1px solid #000;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
}

.arrow-btn .material-icons {
    font-size: 18px;
    color: #18181b;
    display: flex;
    align-items: center;
}

.arrow-btn:hover {
    background: #f0f0f0;
}

/* Hero Slider */
.blog-hero {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    height: clamp(280px, 50vw, 420px);
}

.blog-hero-slider {
    display: flex;
    gap: 32px;
    height: 100%;
    transition: transform 0.5s ease-in-out;
    padding: 0 60px;
}

.blog-hero-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.blog-hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.blog-hero-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.2));
}

.blog-hero-content {
    position: absolute;
    bottom: 50px;
    left: 50px;
    color: #fff;
    max-width: 600px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
}

.blog-hero-content h2 {
    font-size: clamp(18px, 2.5vw, 32px);
    font-weight: 500;
    color: #fff;
}

.blog-hero-dots {
    position: absolute;
    bottom: 20px;
    right: 7%;
    display: flex;
    gap: 8px;
    z-index: 3;
}

.blog-hero-dot {
    width: 8px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: #bbb;
    cursor: pointer;
    border: none;
    padding: 0;
}

.blog-hero-dot.active {
    background: #fff;
}

.hero-read-btn {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 12px 16px;
    font-size: clamp(14px, 1.2vw, 16px);
    background: #d11e28;
    color: #fff;
    text-decoration: none;
    border-radius: 2px;
}

.hero-read-btn .material-icons {
    font-size: 18px;
}

.hero-read-btn:hover {
    background: #b91c1c;
    color: #fff;
}

@media (max-width: 768px) {
    .blog-hero {
        border-radius: 0;
    }

    .blog-hero-slider {
        gap: 0;
        padding: 0;
    }

    .blog-hero-slide img {
        border-radius: 0;
    }

    .blog-hero-content {
        left: 20px;
        bottom: 30px;
        max-width: 90%;
        gap: 14px;
    }
}

/* Top Bar (Tabs + Search) */
.blog-top-bar {
    margin: 30px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.blog-tabs {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.blog-tab {
    font-size: clamp(14px, 1.4vw, 16px);
    cursor: pointer;
    padding-bottom: 5px;
    color: #18181b;
    text-decoration: none;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    font-family: 'Poppins', sans-serif;
    display: inline-block;
}

.blog-tab.active {
    border-bottom: 2px solid #e10600;
    font-weight: 600;
}

.blog-search-box {
    position: relative;
    width: 250px;
    max-width: 100%;
}

.blog-search-box input[type="search"],
.blog-search-box input[type="text"] {
    width: 100%;
    padding: 10px 15px 10px 40px;
    border: 1px solid #E4E4E7;
    border-radius: 2px;
    outline: none;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    background-color: #FAFAFA;
}

.blog-search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: #d11e28;
    pointer-events: none;
}

/* Blog Cards Grid */
.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

@media (min-width: 768px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.blog-card {
    background: #fff;
    border: 1px solid #e4e4e7;
    border-radius: 4px;
    overflow: hidden;
    padding: 12px;
    display: flex;
    flex-direction: column;
}

.blog-card-img {
    width: 100%;
    height: 192px;
    border-radius: 4px;
    overflow: hidden;
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-img img {
    transform: scale(1.05);
}

.blog-card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.blog-card-date {
    font-size: clamp(12px, 1.2vw, 14px);
    color: #71717a;
}

.blog-card h3 {
    font-size: clamp(16px, 1.5vw, 18px);
    font-weight: 500;
    color: #18181b;
    border-bottom: 1px solid #e4e4e7;
    padding-bottom: 40px;
}

.blog-card-footer {
    padding-top: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.blog-read-link {
    font-size: clamp(12px, 1.2vw, 14px);
    font-weight: 500;
    color: #18181b;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
}

.blog-read-text {
    text-decoration: underline;
}

.blog-read-link .material-icons {
    font-size: 18px;
    transition: transform 0.2s;
}

.blog-read-link:hover .material-icons {
    transform: translateX(3px);
}

.blog-read-time {
    font-size: clamp(12px, 1.2vw, 14px);
    color: #71717a;
}

/* Blog Pagination */
.blog-pagination {
    margin-top: 50px;
    padding: 25px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    border-top: 1px solid #e4e4e7;
    flex-wrap: wrap;
}

.blog-page-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    font-size: clamp(14px, 1.5vw, 18px);
    color: #71717a;
    font-weight: 500;
}

.blog-page-nav:hover {
    color: #000;
}

.blog-page-nav.disabled {
    opacity: 0.4;
    pointer-events: none;
}

.blog-page-numbers {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.blog-page-numbers a,
.blog-page-numbers span {
    text-decoration: none;
    font-size: clamp(14px, 1.5vw, 18px);
    color: #71717a;
    padding: 8px 14px;
    transition: color 0.3s;
}

.blog-page-numbers a:hover {
    color: #000;
}

.blog-page-numbers .current {
    background: #000;
    color: #fff;
    border-radius: 2px;
}

/* ================================================
   BLOG DETAIL PAGE (single.php)
   ================================================ */

.blog-detail-page {
    background: #fff;
}

/* Blog Top */
.blog-top-wrapper {
    width: 100%;
    background: #f8f3f0;
    padding: 80px 0;
}

.blog-top-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    flex-wrap: wrap;
}

.blog-detail-left {
    flex: 1;
    min-width: 280px;
}

.blog-detail-breadcrumb {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: clamp(12px, 2vw, 14px);
    margin-bottom: 16px;
    color: #71717a;
}

.blog-detail-breadcrumb a {
    color: #71717a;
    text-decoration: none;
    transition: color 0.3s;
}

.blog-detail-breadcrumb a:hover {
    color: #000;
}

.blog-detail-breadcrumb .separator {
    color: #a1a1aa;
}

.blog-detail-breadcrumb .breadcrumb-current {
    color: #000;
    font-weight: 600;
}

.blog-detail-heading {
    font-size: clamp(22px, 3vw, 36px);
    font-weight: 400;
    line-height: 1.3;
    margin: 0 0 30px;
    color: #18181b;
}

.blog-author-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    font-size: clamp(13px, 2vw, 15px);
    color: #52525b;
}

.blog-author-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.blog-author-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.blog-author-name {
    font-size: 14px;
    font-weight: 500;
    color: #18181b;
}

.blog-author-designation {
    font-size: 12px;
    font-weight: 300;
    color: #52525b;
}

.blog-author-divider {
    width: 1px;
    height: 20px;
    background: #d4d4d8;
    flex-shrink: 0;
}

.blog-share-link {
    color: #000;
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 3px;
    font-size: 14px;
}

.blog-share-link:hover {
    color: #d11e28;
}

.blog-cta-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-free-trial {
    padding: 12px 24px;
    border-radius: 4px;
    cursor: pointer;
    font-size: clamp(13px, 2vw, 15px);
    background: #000;
    color: #fff;
    border: none;
    font-family: 'Poppins', sans-serif;
    transition: opacity 0.3s;
    text-decoration: none;
}

.btn-free-trial:hover {
    opacity: 0.85;
    color: #fff;
}

.btn-book-demo {
    padding: 12px 24px;
    border-radius: 4px;
    cursor: pointer;
    font-size: clamp(13px, 2vw, 15px);
    background: transparent;
    border: 1px solid #000;
    font-family: 'Poppins', sans-serif;
    transition: background 0.3s;
    text-decoration: none;
    color: #000;
}

.btn-book-demo:hover {
    background: #f0f0f0;
}

.blog-detail-right {
    flex: 1;
    min-width: 280px;
    display: flex;
    justify-content: center;
}

.blog-detail-right img {
    width: 100%;
    border-radius: 4px;
    max-height: 400px;
    object-fit: cover;
}

/* Blog Bottom (Sidebar + Content) */
.blog-bottom-container {
    max-width: 1200px;
    margin: 10px auto;
    padding: 0 20px;
    display: flex;
    align-items: flex-start;
    gap: 100px;
}

.blog-topics-sidebar {
    flex: 0 0 240px;
    position: sticky;
    top: 100px;
    margin-top: 60px;
}

.blog-topic-list {
    border-left: 2px solid #f3f4f6;
}

.blog-topic-item {
    display: block;
    padding: 12px 0 12px 20px;
    font-size: 15px;
    color: #71717a;
    text-decoration: none;
    line-height: 1.4;
    transition: color 0.3s;
}

.blog-topic-item.active {
    border-left: 2px solid #e11d48;
    margin-left: -2px;
    color: #000;
    font-weight: 600;
}

.blog-main-content {
    flex: 1;
    padding: 40px 0;
}

/* Blog Content Typography */
.blog-main-content h2 {
    font-size: clamp(20px, 2.5vw, 32px);
    font-weight: 600;
    color: #000;
    margin: 60px 0 20px;
    scroll-margin-top: 120px;
}

.blog-main-content h3 {
    font-size: clamp(18px, 2vw, 24px);
    font-weight: 600;
    color: #000;
    margin: 40px 0 15px;
    scroll-margin-top: 120px;
}

.blog-main-content p,
.blog-main-content li {
    font-size: clamp(14px, 1.5vw, 18px);
    line-height: 1.7;
    color: #3f3f46;
    margin-bottom: 25px;
}

.blog-main-content ul,
.blog-main-content ol {
    padding-left: 1.5em;
    margin-bottom: 25px;
}

.blog-main-content a {
    color: #315f98;
    font-weight: 500;
}

.blog-main-content a:hover {
    text-decoration: underline;
}

.blog-main-content img {
    width: 100%;
    border-radius: 4px;
    margin: 40px 0;
}

.blog-main-content strong {
    color: #18181b;
}

/* Feature Box */
.blog-features-box {
    background: #f8f3f0;
    border-radius: 8px;
    padding: 30px;
    margin: 40px 0;
}

.blog-features-box h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: #18181b;
}

.blog-features-box ul {
    padding-left: 1.2em;
}

.blog-features-box li {
    font-size: 16px;
    line-height: 1.7;
    color: #3f3f46;
    margin-bottom: 12px;
}

/* Related Articles */
.blog-related-section {
    background: #f4f4f5;
    padding: 50px 0;
    margin-top: 50px;
}

.blog-related-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.blog-related-heading {
    font-size: clamp(22px, 2.5vw, 32px);
    font-weight: 400;
    margin-bottom: 30px;
    color: #18181b;
}

.blog-related-grid {
    display: grid;
    gap: 25px;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .blog-related-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.blog-related-card {
    background: #fff;
    border: 1px solid #e4e4e7;
    padding: 12px;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
}

.blog-related-card-img {
    width: 100%;
    height: 192px;
    border-radius: 4px;
    overflow: hidden;
}

.blog-related-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-related-card:hover .blog-related-card-img img {
    transform: scale(1.05);
}

.blog-related-card-content {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.blog-related-card-date {
    font-size: 14px;
    color: #71717a;
}

.blog-related-card h3 {
    font-size: 16px;
    font-weight: 500;
    color: #18181b;
    border-bottom: 1px solid #e4e4e7;
    padding-bottom: 30px;
}

.blog-related-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 8px;
}

/* Responsive for single.php */
@media (max-width: 992px) {
    .blog-top-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .blog-detail-left,
    .blog-detail-right {
        min-width: 100%;
    }

    .blog-bottom-container {
        flex-direction: column;
        gap: 30px;
    }

    .blog-topics-sidebar {
        display: none;
    }
}

@media (max-width: 768px) {
    .blog-top-wrapper {
        padding: 50px 0;
    }

    .blog-cta-buttons .btn-free-trial,
    .blog-cta-buttons .btn-book-demo {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    .blog-author-row {
        gap: 6px;
        font-size: 12px;
    }

    .blog-author-img {
        width: 36px;
        height: 36px;
    }

    .blog-author-divider {
        height: 14px;
    }
}
