/*
Theme Name: MyNewTheme (Ontario Clone)
Author: Antigravity
Version: 5.0.0
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* ===================== CSS VARIABLES ===================== */
:root {
    --primary: #e84565;
    --primary-dark: #c93050;
    --bg-body: #f5f5f5;
    --bg-white: #ffffff;
    --text-dark: #1a1a1a;
    --text-muted: #777777;
    --border: #eeeeee;
    --radius: 16px;
    --radius-sm: 10px;
    --radius-pill: 50px;
    --shadow-soft: 0 4px 24px rgba(0, 0, 0, 0.07);
    --transition: all 0.3s ease;
}

/* ===================== RESET & BASE ===================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: #fdfdfd;
    color: var(--text-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Header Actions Styling */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-trigger {
    color: var(--text-dark);
    font-size: 16px;
    transition: color 0.3s ease;
}

.search-trigger:hover {
    color: var(--primary);
}

.theme-switcher {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.05);
    padding: 3px;
    border-radius: 100px;
}

.theme-switcher i {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 11px;
}

.theme-switcher .fa-sun {
    background: #fff;
    color: #f39c12;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.btn-buy-now {
    background: #1a1a1a !important;
    color: #fff !important;
    padding: 10px 24px !important;
    border-radius: 100px !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    transition: all 0.3s ease !important;
}

.btn-buy-now:hover {
    background: var(--primary) !important;
    transform: translateY(-2px);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary);
}

ul {
    list-style: none;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

button {
    cursor: pointer;
    font-family: inherit;
}

.container {
    max-width: 1350px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* ===================== HEADER ===================== */
.site-header {
    position: fixed;
    top: 20px;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 24px;
    transition: var(--transition);
}

/* Header Overlay - used on Home and Single posts for a dynamic look */
.header-overlay .header-inner {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.header-overlay .logo,
.header-overlay .nav-menu a,
.header-overlay .icon-btn {
    color: #ffffff;
}

.header-overlay .logo-icon {
    background: #ffffff;
}

.header-overlay .logo-icon svg {
    fill: var(--primary);
}

.header-inner {
    max-width: 1350px;
    margin: 0 auto;
    height: 64px;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--radius-pill);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 28px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 18px;
    letter-spacing: 0.5px;
}

.logo .custom-logo {
    max-height: 48px;
    width: auto;
    display: block;
}

.logo-icon {
    width: 34px;
    height: 34px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.logo-icon svg {
    width: 18px;
    height: 18px;
    fill: white;
}

.nav-menu ul {
    display: flex;
    gap: 28px;
    align-items: center;
}

.nav-menu a {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-menu a.active,
.nav-menu a:hover {
    color: var(--text-dark);
}

.nav-menu .nav-arrow {
    font-size: 9px;
    opacity: 0.6;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.icon-btn {
    background: none;
    border: none;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    border-radius: 50%;
    transition: var(--transition);
}

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

.icon-btn svg {
    width: 18px;
    height: 18px;
}

.btn-buynow {
    background: var(--text-dark);
    color: white;
    padding: 9px 22px;
    border-radius: var(--radius-pill);
    font-size: 13px;
    font-weight: 700;
    border: none;
    transition: var(--transition);
}

.btn-buynow:hover {
    background: var(--primary);
    color: white;
}

/* ===================== HERO ===================== */
.hero-section {
    position: relative;
    width: 100%;
    height: 750px;
    background: #000;
    overflow: hidden;
}

.hero-slides-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding: 100px 0 48px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 10;
}

.hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 60%),
        linear-gradient(to right, rgba(0, 0, 0, 0.6) 0%, transparent 70%);
    z-index: 0;
}

.hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1350px;
    margin: 0 auto;
    padding: 0 24px;
}

.hero-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.hero-tag {
    padding: 5px 14px;
    border-radius: var(--radius-pill);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    color: white;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-tag.tag-dark {
    background: rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.15);
}

.hero-h1 {
    font-size: 40px;
    font-weight: 800;
    color: white;
    line-height: 1.15;
    letter-spacing: -1px;
    max-width: 460px;
    margin-bottom: 16px;
}

.hero-meta {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 14px;
}

.hero-meta a {
    color: #ffb3b3;
}

.hero-desc {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    max-width: 420px;
    margin-bottom: 28px;
    line-height: 1.65;
}

.hero-arrows {
    display: flex;
    gap: 12px;
}

.arrow-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.arrow-btn:hover {
    background: white;
    color: var(--text-dark);
}

.arrow-btn svg {
    width: 16px;
    height: 16px;
}

/* ===================== TICKER ===================== */
.ticker-wrap {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
    overflow: hidden;
    white-space: nowrap;
}

.ticker-inner {
    display: inline-flex;
    animation: ticker-scroll 40s linear infinite;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-right: 56px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

.ticker-badge {
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.6px;
}

.badge-ai {
    background: #fde8f0;
    color: #e84565;
}

.badge-business {
    background: #f0f0f0;
    color: #555;
}

.badge-crypto {
    background: #e8f8f0;
    color: #20a060;
}

.badge-digital {
    background: #eeebff;
    color: #7c5cbf;
}

@keyframes ticker-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ===================== CATEGORIES ===================== */
.categories-section {
    background: var(--bg-white);
    padding: 64px 0 48px;
}

.section-heading {
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 32px;
    color: var(--text-dark);
}

.cat-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.cat-block {
    height: 120px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
    transition: var(--transition);
}

.cat-block:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-soft);
}

.cat-pink {
    background: #fdf0f5;
}

.cat-green {
    background: #f0fbf5;
}

.cat-purple {
    background: #f3f0fb;
}

.cat-rose {
    background: #fff0f3;
}

.cat-blue {
    background: #f0f5fb;
}

.cat-warm {
    background: #fdf5ee;
}

/* ===================== FRESH OFF THE PRESS ===================== */
.fresh-section {
    background: var(--bg-white);
    padding: 0 0 64px;
}

.fresh-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.fresh-card {
    border-radius: var(--radius);
    overflow: hidden;
    background: #f0f0f0;
    transition: var(--transition);
    display: block;
}

.fresh-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.fresh-img-wrap {
    position: relative;
    height: 260px;
    overflow: hidden;
}

.fresh-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.fresh-card:hover .fresh-img-wrap img {
    transform: scale(1.04);
}

.badge-recent {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--text-dark);
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.6px;
}

.badge-readtime {
    position: absolute;
    bottom: 14px;
    right: 14px;
    background: rgba(0, 0, 0, 0.65);
    color: white;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    font-size: 10px;
    font-weight: 700;
    backdrop-filter: blur(6px);
}

.fresh-card-body {
    padding: 16px 18px 20px;
}

.fresh-card-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
    line-height: 1.4;
}

.fresh-card-meta {
    font-size: 12px;
    color: var(--text-muted);
}

/* ===================== MAIN CONTENT SECTION ===================== */
.main-section {
    background: var(--bg-white);
    padding: 64px 0;
}

.main-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 48px;
}

.section-heading-sm {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 32px;
}

/* --- Blog List --- */
.blog-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.blog-item {
    display: flex;
    gap: 28px;
    align-items: flex-start;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border);
}

.blog-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.blog-img-wrap {
    position: relative;
    width: 280px;
    height: 210px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    background: #eee;
}

.blog-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-time-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.65);
    color: white;
    padding: 3px 9px;
    border-radius: var(--radius-pill);
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
    backdrop-filter: blur(4px);
}

.blog-content {
    flex: 1;
}

.blog-title {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1.3;
    letter-spacing: -0.3px;
}

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

.blog-meta {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
    font-weight: 500;
}

.blog-meta a {
    color: var(--primary);
    font-weight: 600;
}

.blog-excerpt {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-tag {
    display: inline-block;
    padding: 5px 14px;
    background: #f0f0f0;
    border-radius: var(--radius-pill);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.8px;
    color: var(--text-muted);
    text-transform: uppercase;
}

/* --- Pagination (WordPress paginate_links) --- */
.pagination {
    margin-top: 40px;
}

.pagination .page-numbers {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pagination .page-numbers li a,
.pagination .page-numbers li span {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-muted);
    transition: var(--transition);
    text-decoration: none;
}

.pagination .page-numbers li span.current {
    background: var(--primary);
    color: white;
}

.pagination .page-numbers li a:hover {
    background: #f0f0f0;
    color: var(--text-dark);
}

.pagination .page-numbers li a.prev,
.pagination .page-numbers li a.next {
    font-size: 18px;
    color: var(--text-muted);
}

/* ===================== ABOUT PAGE ===================== */
.about-hero {
    padding: 180px 0 80px;
    background: var(--bg-white);
}

.about-breadcrumb {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

.about-breadcrumb a:hover {
    color: var(--primary);
}

.about-title {
    font-size: 56px;
    font-weight: 900;
    text-align: center;
    line-height: 1.1;
    margin-bottom: 60px;
}

.about-title .accent {
    color: var(--primary);
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 30px;
    margin-bottom: 100px;
}

.story-left {
    height: 600px;
    border-radius: 30px;
    overflow: hidden;
}

.story-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-right {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.story-box {
    height: 285px;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    background: #eee;
}

.story-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-box.box-red {
    background: var(--primary);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    color: white;
}

.stat-num {
    font-size: 80px;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 18px;
    font-weight: 700;
    opacity: 0.9;
}

.stat-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    color: white;
}

.intro-section {
    padding-bottom: 100px;
}

.intro-large-text {
    font-size: 26px;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 60px;
    color: #333;
}

.intro-flex-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: flex-start;
}

.intro-p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-muted);
}

.btn-about {
    display: inline-flex;
    align-items: center;
    padding: 16px 36px;
    background: #f0f0f0;
    color: var(--text-dark);
    font-weight: 700;
    border-radius: var(--radius-pill);
    font-size: 14px;
    margin-top: 30px;
}

.btn-about:hover {
    background: var(--primary);
    color: white;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 24px;
    margin-bottom: 100px;
}

.service-card {
    border-radius: 20px;
    overflow: hidden;
}

.service-card.img-card {
    height: 380px;
}

.service-card.img-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card.text-card {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.service-card.card-red {
    background: var(--primary);
    color: white;
}

.service-card.card-dark {
    background: #2D3748;
    color: white;
}

.service-card.card-light {
    background: #f7f7f7;
    color: var(--text-dark);
}

.service-icon {
    font-size: 32px;
    margin-bottom: 40px;
}

.service-card h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 20px;
}

.service-list {
    margin-top: 20px;
}

.service-list li {
    font-size: 15px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.service-list li::before {
    content: '-';
}

/* Quote Section */
.quote-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
    margin-bottom: 120px;
}

.quote-img {
    height: 600px;
    border-radius: 30px;
    overflow: hidden;
}

.quote-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quote-content {
    padding-right: 50px;
}

.quote-icon {
    font-size: 100px;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 30px;
    font-family: serif;
    opacity: 0.8;
}

.quote-text {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 40px;
}

.quote-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
}

.author-info h4 {
    font-size: 18px;
    font-weight: 800;
}

.author-info p {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 600;
}

/* Team Section */
.team-section {
    margin-bottom: 120px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.team-member {
    text-align: left;
}

.member-img {
    height: 400px;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 20px;
    background: #eee;
}

.member-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-name {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 4px;
}

.member-role {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 600;
}

/* CTA Footer */
.about-cta {
    position: relative;
    height: 500px;
    border-radius: 30px;
    overflow: hidden;
    margin-bottom: 80px;
}

.cta-bg {
    position: absolute;
    inset: 0;
}

.cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.cta-badge {
    padding: 6px 18px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.cta-h2 {
    font-size: 72px;
    font-weight: 900;
    margin-bottom: 36px;
    letter-spacing: -2px;
}

.btn-cta {
    padding: 18px 45px;
    background: var(--primary);
    color: white;
    font-weight: 800;
    font-size: 16px;
    border-radius: var(--radius-pill);
}

.btn-cta:hover {
    background: white;
    color: var(--text-dark);
}

/* Responsive */
@media (max-width: 1024px) {

    .story-grid,
    .intro-flex-columns,
    .quote-section {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-title {
        font-size: 40px;
    }
}

@media (max-width: 768px) {

    .services-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }

    .cta-h2 {
        font-size: 48px;
    }
}

/* ===================== SIDEBAR ===================== */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.widget-label {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.2px;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 14px;
}

/* Featured post card */
.widget-featured {
    position: relative;
    height: 260px;
    border-radius: var(--radius);
    overflow: hidden;
    background: #ddd;
}

.widget-featured img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feat-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.1) 55%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
}

.feat-overlay h3 {
    color: white;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
    line-height: 1.35;
}

.feat-overlay h3 a {
    color: white;
}

.feat-meta {
    color: rgba(255, 255, 255, 0.75);
    font-size: 12px;
    font-weight: 600;
}

.feat-dots {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 5px;
}

.feat-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
}

.feat-dot.active {
    background: white;
}

/* Related articles */
.related-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.related-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.related-thumb {
    width: 64px;
    height: 56px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.related-text .rt-title {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.related-text .rt-title a:hover {
    color: var(--primary);
}

.related-text .rt-date {
    font-size: 12px;
    color: var(--primary);
    font-weight: 600;
}

/* Widget container */
.widget-box {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
}

/* Popular tags */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pop-tag {
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.6px;
    color: var(--text-dark);
    background: #f5f5f5;
    border: 1px solid var(--border);
    transition: var(--transition);
    text-transform: uppercase;
}

.pop-tag:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* ===================== NEWSLETTER ===================== */
.newsletter-section {
    background: #f0f0f0;
    padding: 56px 0;
    margin-top: 8px;
}

.newsletter-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.nl-heading {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 6px;
}

.nl-sub {
    font-size: 14px;
    color: var(--text-muted);
}

.nl-sub span {
    color: var(--primary);
    font-weight: 600;
}

.nl-form {
    display: flex;
    gap: 0;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-pill);
    overflow: hidden;
    background: white;
    min-width: 340px;
}

.nl-input {
    flex: 1;
    padding: 13px 20px;
    border: none;
    outline: none;
    font-family: inherit;
    font-size: 14px;
    background: transparent;
    color: var(--text-dark);
}

.nl-btn {
    background: var(--primary);
    color: white;
    padding: 13px 24px;
    border: none;
    font-size: 13px;
    font-weight: 700;
    border-radius: 0 var(--radius-pill) var(--radius-pill) 0;
    transition: var(--transition);
    white-space: nowrap;
}

.nl-btn:hover {
    background: var(--primary-dark);
}

/* ===================== FOOTER ===================== */
.site-footer {
    background: #f5f5f5;
    padding: 64px 0 0;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 48px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 16px;
}

.footer-logo .custom-logo {
    max-height: 40px;
    width: auto;
    display: block;
}

.footer-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 280px;
    margin-bottom: 20px;
}

.footer-desc a {
    color: var(--primary);
    font-weight: 600;
}

.social-row {
    display: flex;
    gap: 10px;
}

.soc-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #e8e8e8;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    font-size: 13px;
    font-weight: 700;
    transition: var(--transition);
}

.soc-icon:hover {
    background: var(--primary);
    color: white;
}

.soc-icon svg {
    width: 15px;
    height: 15px;
}

.footer-col-title {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
}

.footer-links a:hover {
    color: var(--primary);
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-list li {
    font-size: 14px;
    color: var(--text-dark);
    line-height: 1.5;
}

.contact-list a {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
}

/* ===================== SCROLL TO TOP ===================== */
.scroll-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: white;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    font-size: 16px;
    transition: var(--transition);
    z-index: 900;
}

.scroll-top:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
    .cat-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .main-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hero-h1 {
        font-size: 34px;
    }

    .fresh-grid {
        grid-template-columns: 1fr;
    }

    .blog-item {
        flex-direction: column;
    }

    .blog-img-wrap {
        width: 100%;
        height: 220px;
    }

    .nav-menu,
    .header-actions .btn-buynow {
        display: none;
    }

    .newsletter-grid {
        flex-direction: column;
        text-align: center;
    }

    .nl-form {
        min-width: unset;
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .cat-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===================== CONTACT PAGE ===================== */
.contact-page-wrapper {
    padding: 100px 0;
    background: var(--bg-white);
}

.contact-hero-title {
    font-size: 56px;
    font-weight: 900;
    text-align: center;
    margin-bottom: 40px;
}

.contact-hero-img {
    height: 600px;
    border-radius: 30px;
    overflow: hidden;
    margin-bottom: 80px;
}

.contact-hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-bottom: 100px;
}

.contact-info-block {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.info-label {
    font-size: 11px;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
}

.contact-socials {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.contact-socials a {
    font-size: 20px;
    color: var(--text-dark);
    transition: var(--transition);
}

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

.contact-form-card {
    background: #f7f7f7;
    border-radius: 30px;
    padding: 60px;
}

.contact-form-card h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 40px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-input,
.form-textarea {
    padding: 18px 24px;
    border: none;
    border-radius: var(--radius-pill);
    background: white;
    font-family: inherit;
    font-size: 15px;
    color: var(--text-dark);
    outline: none;
}

.form-textarea {
    border-radius: 20px;
    height: 150px;
    resize: none;
}

.btn-submit {
    padding: 16px 36px;
    background: var(--primary);
    color: white;
    font-weight: 700;
    border-radius: var(--radius-pill);
    border: none;
    cursor: pointer;
    align-self: flex-start;
    margin-top: 10px;
}

.btn-submit:hover {
    background: var(--primary-dark);
}

.latest-posts-section {
    padding-top: 80px;
    border-top: 1px solid var(--border);
}

.latest-posts-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 40px;
}

/* Responsive */
@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .contact-form-card {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-hero-title {
        font-size: 40px;
    }

    .contact-hero-img {
        height: 400px;
    }
}

/* ===================== SINGLE POST REDESIGN ===================== */
/* ===================== INTRO SECTION SPLIT LAYOUT ===================== */
.container-narrow-intro {
    max-width: 1400px;
}

.intro-grid-ont {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 80px;
    align-items: center;
    padding: 100px 0 120px;
}

.intro-left-ont {
    display: flex;
    flex-direction: column;
}

.single-title-ont {
    font-size: 38px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    color: var(--text-dark);
    letter-spacing: -1.5px;
}

.single-meta-ont {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.meta-cats-ont {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.post-cat-badge-ont {
    display: inline-block;
    padding: 10px 24px;
    background: #f5f5f5;
    color: var(--text-muted);
    border-radius: var(--radius-pill);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: var(--transition);
}

.post-cat-badge-ont:hover {
    background: var(--primary);
    color: #fff;
}

.single-featured-image-ont img {
    width: 100%;
    height: auto;
    border-radius: 40px;
    display: block;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.08);
}

@media (max-width: 1200px) {
    .intro-grid-ont {
        gap: 40px;
    }

    .single-title-ont {
        font-size: 44px;
    }
}

@media (max-width: 1024px) {
    .intro-grid-ont {
        grid-template-columns: 1fr;
        padding: 40px 0 60px;
    }
}


/* Single Grid Layout */
.single-post-layout {
    background: #fcfcfc;
}

.single-grid {
    display: grid;
    grid-template-columns: 120px 1fr 380px;
    gap: 60px;
    align-items: start;
    margin-top: -40px;
    margin-bottom: 120px;
    position: relative;
    z-index: 2;
}

/* Left Share Column */
.share-column {
    position: relative;
    height: 100%;
}

.sticky-share-bar {
    position: sticky;
    top: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.read-time-circle {
    width: 80px;
    height: 80px;
    border: 1px solid #f0f0f0;
    background: #fff;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.02);
}

.rt-num {
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
}

.rt-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.1;
    margin-top: 4px;
}

.share-links {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.share-links a {
    font-size: 18px;
    color: var(--text-muted);
    transition: var(--transition);
}

.share-links a:hover {
    color: var(--primary);
    transform: translateY(-3px);
}

/* Content Column */
.content-column {
    background: #fff;
    border-radius: 32px;
    padding: 80px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.02);
}

.single-content-body {
    font-size: 18px;
    line-height: 1.9;
    color: #333;
}

.single-content-body p {
    margin-bottom: 32px;
}

.single-content-body blockquote {
    background: #fdf5f2;
    padding: 60px;
    border-radius: 32px;
    margin: 60px 0;
    position: relative;
}

.single-content-body blockquote p {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.4;
    letter-spacing: -0.5px;
}

.post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding: 60px 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    margin: 80px 0;
}

.nav-label {
    display: block;
    font-size: 12px;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 12px;
}

.nav-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-dark);
}

/* Author Box Ontario */
.post-author-box-ont {
    background: #fcfcfc;
    border: 1px solid #f0f0f0;
    border-radius: 40px;
    padding: 60px;
    display: flex;
    gap: 40px;
    margin-bottom: 100px;
}

.author-avatar-ont img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
}

.author-label-ont {
    font-size: 12px;
    font-weight: 800;
    color: var(--text-muted);
    letter-spacing: 1.2px;
    margin-bottom: 16px;
    display: block;
}

.author-name-ont {
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 16px;
}

.author-desc-ont {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.7;
}

.author-socials-ont {
    display: flex;
    gap: 20px;
}

/* Right Sidebar Column */
.sidebar-column .widget {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 32px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.01);
}

.widget-title {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    margin-bottom: 32px;
    position: relative;
    padding-bottom: 12px;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
}

.author-card {
    text-align: center;
}

.author-card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 24px;
}

.author-card h5 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 6px;
}

.author-role {
    font-size: 13px;
    color: var(--text-muted);
    display: block;
    margin-bottom: 24px;
}

.widget-socials {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 24px;
}

/* Read Next Section */
.read-next-section {
    padding: 80px 0;
    background: #fff;
    border-top: 1px solid var(--border);
}

.read-next-title {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 48px;
}

.read-next-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.read-next-card {
    display: flex;
    flex-direction: column;
}

.rn-card-title {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 12px;
    line-height: 1.3;
}

.rn-card-meta {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.rn-card-excerpt {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Responsive Single Post */
@media (max-width: 1200px) {
    .single-grid {
        grid-template-columns: 80px 1fr;
    }

    .sidebar-column {
        display: none;
    }
}

@media (max-width: 900px) {
    .single-grid {
        grid-template-columns: 1fr;
    }

    .share-column {
        display: none;
    }

    .single-title {
        font-size: 36px;
    }

    .read-next-grid {
        grid-template-columns: 1fr;
    }
}

/* ===================== PREMIUM COMMENT FORM ===================== */
/* ===================== PREMIUM COMMENT FORM ===================== */
.comments-wrapper-ont {
    margin-top: 100px;
    padding-top: 80px;
    border-top: 1px solid #f2f2f2;
    clear: both;
}

.comments-wrapper-ont #respond {
    background: #fff !important;
    border: 1px solid #f0f0f0 !important;
    border-radius: 40px !important;
    padding: 50px !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.02) !important;
    margin-bottom: 40px;
}

.comment-reply-title {
    font-size: 26px !important;
    font-weight: 900 !important;
    margin-bottom: 30px !important;
    color: var(--text-dark) !important;
    letter-spacing: -1px !important;
    display: flex;
    flex-direction: column;
}

.comment-reply-title::before {
    content: "JOIN THE CONVERSATION";
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--primary);
    margin-bottom: 8px;
}

.comments-wrapper-ont .logged-in-as,
.comments-wrapper-ont .comment-notes {
    font-size: 14px !important;
    color: var(--text-muted) !important;
    margin-bottom: 30px !important;
    line-height: 1.5 !important;
    border: none !important;
    background: none !important;
    padding: 0 !important;
}

.comments-wrapper-ont #commentform {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px !important;
}

.comment-form-comment {
    grid-column: 1 / -1 !important;
    margin-bottom: 5px !important;
}

.comment-form-author,
.comment-form-email,
.comment-form-url {
    grid-column: span 1 !important;
}

.comments-wrapper-ont label {
    display: block !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    margin-bottom: 10px !important;
    color: var(--text-muted) !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

.comments-wrapper-ont input[type="text"],
.comments-wrapper-ont input[type="email"],
.comments-wrapper-ont input[type="url"],
.comments-wrapper-ont textarea {
    width: 100% !important;
    background: #fdfdfd !important;
    border: 1px solid #eeeeee !important;
    border-radius: 12px !important;
    padding: 16px 20px !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 15px !important;
    color: var(--text-dark) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: none !important;
}

.comments-wrapper-ont textarea {
    min-height: 120px !important;
}

.comments-wrapper-ont input:focus,
.comments-wrapper-ont textarea:focus {
    outline: none !important;
    border-color: var(--primary) !important;
    background: #fff !important;
    box-shadow: 0 10px 30px rgba(232, 69, 101, 0.08) !important;
}

.form-submit {
    grid-column: 1 / -1 !important;
    margin-top: 24px !important;
}

.comments-wrapper-ont #submit {
    background: var(--primary) !important;
    color: #fff !important;
    border: none !important;
    border-radius: var(--radius-pill) !important;
    padding: 16px 40px !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.2px !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
}

.comments-wrapper-ont #submit:hover {
    background: var(--text-dark) !important;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(232, 69, 101, 0.2) !important;
}

/* Comment List Styling */
.comment-list {
    list-style: none;
    padding: 0;
    margin: 0 0 60px;
}

.comment-list .comment {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #f2f2f2;
}

.comment-body {
    position: relative;
    padding-left: 80px;
}

.comment-author img {
    position: absolute;
    left: 0;
    top: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.comment-author .fn {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-dark);
}

.comment-meta {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.comment-content {
    font-size: 16px;
    line-height: 1.7;
    color: #444;
}

.reply {
    margin-top: 12px;
}

.comment-reply-link {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
}

@media (max-width: 900px) {
    .comments-wrapper-ont #respond {
        padding: 50px 30px !important;
    }

    .comments-wrapper-ont #commentform {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .comment-reply-title {
        font-size: 24px !important;
    }
}

/* ===================== BLOG PAGE REDESIGN ===================== */
.blog-intro-section {
    padding: 100px 0 60px;
    background: #fff;
    text-align: center;
}

.blog-page-title {
    font-size: 56px;
    font-weight: 900;
    letter-spacing: -2px;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.blog-page-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.blog-main-container {
    padding-bottom: 100px;
}

.blog-layout-grid {
    display: grid;
    grid-template-columns: 8fr 4fr;
    gap: 60px;
}

.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.blog-card-ont {
    background: #fff;
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.blog-card-thumb {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 24px;
    aspect-ratio: 4 / 3;
}

.blog-card-thumb .thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.blog-card-ont:hover .thumb-img {
    transform: scale(1.08);
}

.blog-card-tags {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 2;
}

.blog-cat-badge {
    background: #fff;
    color: var(--text-dark);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.blog-card-readtime {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 2;
}

.readtime-text {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
}

.blog-card-body {
    padding: 0 5px;
}

.blog-card-title {
    font-size: 24px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.blog-card-title a {
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.blog-card-ont:hover .blog-card-title a {
    color: var(--primary);
}

.blog-card-meta {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.blog-card-excerpt {
    font-size: 15px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-clamp: 3;
    overflow: hidden;
}

/* Pagination Styling */
.blog-pagination {
    margin-top: 80px;
}

.blog-pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.blog-pagination .page-numbers {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f8f8f8;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 15px;
    transition: all 0.3s ease;
}

.blog-pagination .page-numbers.current,
.blog-pagination .page-numbers:hover {
    background: var(--text-dark);
    color: #fff;
}

.blog-pagination .prev,
.blog-pagination .next {
    width: auto;
    padding: 0 25px;
    border-radius: 30px;
}

@media (max-width: 1100px) {
    .blog-layout-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

@media (max-width: 768px) {
    .blog-posts-grid {
        grid-template-columns: 1fr;
    }

    .blog-page-title {
        font-size: 40px;
    }
}

/* ===================== BLOG NEWSLETTER & SIDEBAR ===================== */
.blog-newsletter-section {
    padding: 80px 0;
    background: #fdfdfd;
    border-top: 1px solid #f2f2f2;
}

.newsletter-wrap-ont {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 60px 80px;
    border-radius: 40px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.02);
}

.newsletter-info h3 {
    font-size: 32px;
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.newsletter-info p {
    font-size: 16px;
    color: var(--text-muted);
    margin: 0;
}

.newsletter-form-ont form {
    display: flex;
    gap: 15px;
    min-width: 450px;
}

.newsletter-form-ont input {
    flex: 1;
    background: #f9f9f9;
    border: 1px solid #eeeeee;
    border-radius: 100px;
    padding: 18px 30px;
    font-size: 15px;
    outline: none;
    transition: all 0.3s ease;
}

.newsletter-form-ont input:focus {
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 10px 25px rgba(232, 69, 101, 0.05);
}

.newsletter-form-ont button {
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 100px;
    padding: 0 40px;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form-ont button:hover {
    background: var(--text-dark);
    transform: translateY(-3px);
}

/* Refined Blog Sidebar */
.blog-sidebar-column .widget {
    background: #fff;
    border-radius: 32px;
    padding: 40px;
    border: 1px solid #f0f0f0;
    margin-bottom: 40px;
}

.blog-sidebar-column .widget-title {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    margin-bottom: 30px;
    border: none;
    padding: 0;
}

/* Author Widget Refinement */
.author-card {
    text-align: center;
}

.author-card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 24px;
    border: 4px solid #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.author-card h5 {
    font-size: 22px;
    font-weight: 900;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.author-role {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    display: block;
    margin-bottom: 20px;
}

.widget-socials {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 24px;
}

.widget-socials a {
    font-size: 16px;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.widget-socials a:hover {
    color: var(--primary);
}

/* Standard List Widgets */
.widget-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget-list li {
    padding: 12px 0;
    border-bottom: 1px solid #f9f9f9;
}

.widget-list li:last-child {
    border: none;
}

.widget-list a {
    color: var(--text-dark);
    font-weight: 600;
    display: flex;
    justify-content: space-between;
}

/* Pagination Refinement */
.blog-pagination .page-numbers {
    background: #fff;
    border: 1px solid #eee;
}

.blog-pagination .page-numbers.current {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #fff !important;
}

@media (max-width: 991px) {
    .newsletter-wrap-ont {
        flex-direction: column;
        text-align: center;
        padding: 40px;
    }

    .newsletter-info {
        margin-bottom: 30px;
    }

    .newsletter-form-ont form {
        min-width: 100%;
        flex-direction: column;
    }
}

/* ===================== CONTACT PAGE STYLING ===================== */
.contact-page-ont {
    padding: 120px 0 100px;
    background: linear-gradient(180deg, #fdfdfd 0%, #f7f7f7 100%);
}

.contact-header {
    margin-bottom: 80px;
}

.contact-header h1 {
    font-size: 64px;
    font-weight: 900;
    letter-spacing: -3px;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #1a1a1a, #666);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: flex-start;
}

.contact-info-card {
    background: #fff;
    padding: 60px;
    border-radius: 40px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.03);
    position: sticky;
    top: 120px;
    transition: transform 0.4s ease;
}

.contact-info-card:hover {
    transform: translateY(-10px);
}

.contact-info-card h3 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 40px;
    letter-spacing: -1px;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 35px;
}

.info-item i {
    width: 54px;
    height: 54px;
    background: #fdfdfd;
    border: 1px solid #eee;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 20px;
    flex-shrink: 0;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.02);
}

.info-item .label {
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 6px;
    letter-spacing: 1px;
}

.info-item .val {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-dark);
}

.contact-socials {
    display: flex;
    gap: 12px;
    margin-top: 40px;
}

.contact-socials a {
    width: 48px;
    height: 48px;
    background: #1a1a1a;
    color: #fff;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.contact-socials a:hover {
    background: var(--primary);
    transform: rotate(10deg) scale(1.1);
}

.contact-form-card {
    background: #fff;
    padding: 70px;
    border-radius: 40px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.contact-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(232, 69, 101, 0.05) 0%, transparent 70%);
}

.contact-form-card .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.contact-form-card .form-group {
    margin-bottom: 30px;
}

.contact-form-card label {
    display: block;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 12px;
    color: var(--text-dark);
    letter-spacing: 1px;
}

.contact-form-card input,
.contact-form-card textarea {
    width: 100%;
    background: #fcfcfc;
    border: 2px solid #f0f0f0;
    border-radius: 16px;
    padding: 20px;
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
    font-family: inherit;
}

.contact-form-card input:focus,
.contact-form-card textarea:focus {
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 10px 30px rgba(232, 69, 101, 0.08);
}

.contact-form-card button {
    background: #1a1a1a;
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 22px 40px;
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    width: 100%;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.contact-form-card button:hover {
    background: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 25px 50px rgba(232, 69, 101, 0.2);
}

.success-msg-ont {
    background: #e8f8f0;
    color: #2ecc71;
    padding: 24px;
    border-radius: 20px;
    border-left: 8px solid #2ecc71;
    font-size: 18px;
    font-weight: 600;
    animation: fadeInSlide 0.6s cubic-bezier(0.23, 1, 0.32, 1) forwards;
    margin-top: 30px;
}

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 991px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-info-card {
        position: static;
        padding: 40px;
    }

    .contact-form-card {
        padding: 40px;
    }

    .contact-form-card .form-row {
        grid-template-columns: 1fr;
    }
}