/*
Theme Name: Dentisteam Blog
Theme URI: https://dentisteam.id
Author: Dentisteam Dental Clinic
Author URI: https://dentisteam.id
Description: Custom blog theme for Dentisteam Dental Clinic matching the main website design.
Version: 1.0.0
License: Private
Text Domain: dentisteam-blog
*/

/* ===== FONT FACE ===== */
@font-face { font-family: 'Gordita'; src: url('https://dentisteam.id/assets/fonts/gordita-font/Gordita-Light.otf') format('opentype'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Gordita'; src: url('https://dentisteam.id/assets/fonts/gordita-font/Gordita-Regular.otf') format('opentype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Gordita'; src: url('https://dentisteam.id/assets/fonts/gordita-font/Gordita-Medium.otf') format('opentype'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Gordita'; src: url('https://dentisteam.id/assets/fonts/gordita-font/Gordita-Bold.otf') format('opentype'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Gordita'; src: url('https://dentisteam.id/assets/fonts/gordita-font/Gordita-Black.otf') format('opentype'); font-weight: 900; font-style: normal; font-display: swap; }

/* ===== CSS VARIABLES ===== */
:root {
    --teal: #5b7e85;
    --teal-dark: #4a6a70;
    --teal-light: #7a9da4;
    --teal-pale: #e8f1f3;
    --purple: #ab76a2;
    --purple-dark: #8f5f87;
    --purple-light: #c49abb;
    --cream: #f7f3ec;
    --cream-dark: #ebe5da;
    --white: #ffffff;
    --black: #1a1a1a;
    --gray-100: #f8f8f8;
    --gray-200: #e8e8e8;
    --gray-300: #d0d0d0;
    --gray-500: #888888;
    --gray-700: #555555;
    --gray-800: #333333;
    --wa-green: #25D366;
    --star-gold: #FFB800;

    --font-family: 'Gordita', 'Segoe UI', sans-serif;
    --max-width: 1280px;
    --nav-height: 80px;
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-family);
    font-weight: 400;
    color: var(--gray-800);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    transition: var(--transition);
    background: rgba(247, 243, 236, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.navbar.scrolled {
    background: rgba(247, 243, 236, 0.95);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

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

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

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

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 14px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-800);
    border-radius: 8px;
    transition: var(--transition);
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: var(--teal);
    background: rgba(91, 126, 133, 0.08);
}

.nav-link.active {
    color: var(--teal);
    font-weight: 700;
}

.nav-link .arrow {
    font-size: 0.65rem;
    transition: transform 0.2s ease;
}

.nav-item:hover .arrow { transform: rotate(180deg); }

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 8px;
    min-width: 260px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: var(--transition);
    z-index: 100;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 10px 14px;
    font-size: 0.875rem;
    color: var(--gray-700);
    border-radius: 8px;
    transition: var(--transition);
}

.dropdown-menu a:hover {
    background: var(--cream);
    color: var(--teal);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gray-800);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===== BLOG HERO ===== */
.blog-hero {
    padding-top: calc(var(--nav-height) + 64px);
    padding-bottom: 64px;
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 60%, #3d5a60 100%);
    position: relative;
    overflow: hidden;
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.blog-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 350px;
    height: 350px;
    background: rgba(171, 118, 162, 0.15);
    border-radius: 50%;
}

.blog-hero-inner {
    position: relative;
    z-index: 1;
    text-align: center;
}

.blog-hero-label {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.9);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.blog-hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 16px;
}

.blog-hero p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.8);
    font-weight: 300;
    max-width: 520px;
    margin: 0 auto 32px;
}

/* ===== SEARCH BAR ===== */
.blog-search-form {
    max-width: 480px;
    margin: 0 auto;
    display: flex;
    background: var(--white);
    border-radius: 50px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    overflow: hidden;
}

.blog-search-form input {
    flex: 1;
    border: none;
    padding: 14px 20px;
    font-family: var(--font-family);
    font-size: 0.9rem;
    color: var(--gray-800);
    outline: none;
    background: transparent;
}

.blog-search-form button {
    background: var(--teal);
    border: none;
    padding: 14px 20px;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
}

.blog-search-form button:hover {
    background: var(--teal-dark);
}

/* ===== CATEGORY FILTER ===== */
.blog-filter {
    padding: 32px 0 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
}

.blog-filter-inner {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding-bottom: 0;
}

.filter-btn {
    padding: 8px 20px;
    border-radius: 50px;
    font-family: var(--font-family);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    border: 2px solid var(--gray-200);
    background: transparent;
    color: var(--gray-700);
    transition: var(--transition);
    white-space: nowrap;
}

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--teal);
    background: var(--teal);
    color: var(--white);
}

/* ===== BLOG SECTION ===== */
.blog-section {
    padding: 64px 0 80px;
    background: var(--cream);
}

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

/* ===== POST CARD ===== */
.post-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.post-card-image {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--cream-dark);
}

.post-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.post-card:hover .post-card-image img {
    transform: scale(1.04);
}

.post-card-image .no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--teal-pale), var(--cream-dark));
    color: var(--teal-light);
    font-size: 2.5rem;
}

.post-card-category {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--teal);
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 12px;
    border-radius: 50px;
}

.post-card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.post-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.78rem;
    color: var(--gray-500);
    font-weight: 500;
}

.post-card-meta i {
    color: var(--teal-light);
}

.post-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--gray-800);
    line-height: 1.4;
    margin-bottom: 10px;
    transition: color 0.2s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-card:hover .post-card-title {
    color: var(--teal);
}

.post-card-excerpt {
    font-size: 0.875rem;
    color: var(--gray-700);
    font-weight: 300;
    line-height: 1.7;
    flex: 1;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--gray-200);
}

.post-card-author {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--gray-500);
    font-weight: 500;
}

.post-card-author img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}

.post-card-read {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--teal);
    transition: var(--transition);
}

.post-card-read:hover {
    color: var(--teal-dark);
    gap: 10px;
}

/* ===== FEATURED POST ===== */
.featured-post {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 48px;
    transition: var(--transition);
}

.featured-post:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 60px rgba(0,0,0,0.14);
}

.featured-post-image {
    aspect-ratio: unset;
    min-height: 320px;
    overflow: hidden;
    background: var(--cream-dark);
    position: relative;
}

.featured-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-post:hover .featured-post-image img {
    transform: scale(1.04);
}

.featured-post-image .no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--teal), var(--teal-dark));
    color: rgba(255,255,255,0.4);
    font-size: 4rem;
}

.featured-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--purple);
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 5px 14px;
    border-radius: 50px;
}

.featured-post-body {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-category {
    display: inline-block;
    background: var(--teal-pale);
    color: var(--teal);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 14px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.featured-post-body h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--gray-800);
    line-height: 1.35;
    margin-bottom: 14px;
    transition: color 0.2s;
}

.featured-post:hover .featured-post-body h2 {
    color: var(--teal);
}

.featured-post-body .excerpt {
    font-size: 0.9rem;
    color: var(--gray-700);
    font-weight: 300;
    line-height: 1.75;
    margin-bottom: 24px;
}

.featured-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-bottom: 24px;
}

.featured-meta i { color: var(--teal-light); }

/* ===== BUTTONS ===== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--teal);
    color: var(--white);
    padding: 12px 28px;
    border-radius: 50px;
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(91, 126, 133, 0.3);
}

.btn-primary:hover {
    background: var(--teal-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(91, 126, 133, 0.4);
    color: var(--white);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--teal);
    padding: 10px 24px;
    border-radius: 50px;
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 0.9rem;
    border: 2px solid var(--teal);
    cursor: pointer;
    transition: var(--transition);
}

.btn-outline:hover {
    background: var(--teal);
    color: var(--white);
    transform: translateY(-2px);
}

/* ===== PAGINATION ===== */
.blog-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.blog-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-700);
    border: 2px solid var(--gray-200);
    transition: var(--transition);
    background: var(--white);
}

.blog-pagination .page-numbers:hover,
.blog-pagination .page-numbers.current {
    background: var(--teal);
    border-color: var(--teal);
    color: var(--white);
}

.blog-pagination .page-numbers.dots {
    border: none;
    background: transparent;
    pointer-events: none;
}

/* ===== NO POSTS ===== */
.no-posts {
    text-align: center;
    padding: 80px 20px;
    color: var(--gray-500);
}

.no-posts i {
    font-size: 3rem;
    color: var(--gray-300);
    margin-bottom: 16px;
    display: block;
}

.no-posts h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 8px;
}

/* ===== SINGLE POST ===== */
.single-hero {
    padding-top: var(--nav-height);
    background: var(--teal);
    position: relative;
    overflow: hidden;
    min-height: 460px;
    display: flex;
    align-items: flex-end;
}

.single-hero-image {
    position: absolute;
    inset: 0;
}

.single-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
}

.single-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(74,106,112,0.95) 0%, rgba(74,106,112,0.5) 60%, transparent 100%);
}

.single-hero-content {
    position: relative;
    z-index: 2;
    padding: 48px 0;
    width: 100%;
}

.single-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.single-breadcrumb a {
    color: rgba(255,255,255,0.7);
    transition: color 0.2s;
}

.single-breadcrumb a:hover { color: var(--white); }
.single-breadcrumb i { font-size: 0.65rem; }

.single-category {
    display: inline-block;
    background: var(--purple);
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 5px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.single-hero h1 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.25;
    margin-bottom: 20px;
    max-width: 750px;
}

.single-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.8);
}

.single-meta i { color: rgba(255,255,255,0.6); }

.single-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ===== SINGLE CONTENT ===== */
.single-content-area {
    padding: 64px 0 80px;
    background: var(--cream);
}

.single-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    align-items: start;
}

.single-article {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow);
}

/* WordPress content styles */
.single-article .entry-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--teal);
    margin: 36px 0 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--cream-dark);
}

.single-article .entry-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gray-800);
    margin: 28px 0 12px;
}

.single-article .entry-content h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-700);
    margin: 20px 0 10px;
}

.single-article .entry-content p {
    font-size: 0.975rem;
    color: var(--gray-700);
    font-weight: 300;
    line-height: 1.85;
    margin-bottom: 20px;
}

.single-article .entry-content ul,
.single-article .entry-content ol {
    padding-left: 24px;
    margin-bottom: 20px;
}

.single-article .entry-content li {
    font-size: 0.95rem;
    color: var(--gray-700);
    font-weight: 300;
    line-height: 1.75;
    margin-bottom: 8px;
}

.single-article .entry-content ul li { list-style: disc; }
.single-article .entry-content ol li { list-style: decimal; }

.single-article .entry-content strong {
    font-weight: 700;
    color: var(--gray-800);
}

.single-article .entry-content a {
    color: var(--teal);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.single-article .entry-content a:hover { color: var(--teal-dark); }

.single-article .entry-content img {
    border-radius: var(--radius);
    margin: 24px 0;
    max-width: 100%;
}

.single-article .entry-content blockquote {
    background: var(--teal-pale);
    border-left: 4px solid var(--teal);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 20px 24px;
    margin: 28px 0;
    font-style: italic;
    color: var(--teal-dark);
    font-size: 1rem;
}

.single-article .entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 0.9rem;
}

.single-article .entry-content th {
    background: var(--teal);
    color: var(--white);
    padding: 12px 16px;
    text-align: left;
    font-weight: 700;
}

.single-article .entry-content td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--gray-200);
    color: var(--gray-700);
}

.single-article .entry-content tr:nth-child(even) td {
    background: var(--cream);
}

/* Post Tags */
.post-tags {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.post-tags-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--gray-700);
}

.post-tag {
    display: inline-block;
    background: var(--cream);
    color: var(--gray-700);
    font-size: 0.78rem;
    font-weight: 500;
    padding: 5px 14px;
    border-radius: 50px;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.post-tag:hover {
    background: var(--teal);
    color: var(--white);
    border-color: var(--teal);
}

/* Post Navigation */
.post-nav {
    margin-top: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.post-nav-item {
    background: var(--cream);
    border-radius: var(--radius);
    padding: 16px 20px;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}

.post-nav-item:hover {
    background: var(--teal-pale);
    border-color: var(--teal-light);
}

.post-nav-item.next { text-align: right; }

.post-nav-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--teal);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.post-nav-item.next .post-nav-label { justify-content: flex-end; }

.post-nav-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-800);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.sidebar-widget {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow);
}

.widget-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--cream-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.widget-title i { color: var(--teal); }

/* Recent posts in sidebar */
.widget-post {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-200);
    transition: var(--transition);
}

.widget-post:last-child { border-bottom: none; padding-bottom: 0; }
.widget-post:first-child { padding-top: 0; }

.widget-post:hover .widget-post-title { color: var(--teal); }

.widget-post-image {
    width: 72px;
    height: 56px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--cream-dark);
}

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

.widget-post-info { flex: 1; min-width: 0; }

.widget-post-title {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--gray-800);
    line-height: 1.4;
    margin-bottom: 4px;
    transition: color 0.2s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.widget-post-date {
    font-size: 0.72rem;
    color: var(--gray-500);
    font-weight: 500;
}

/* Category list in sidebar */
.widget-categories a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 0;
    font-size: 0.875rem;
    color: var(--gray-700);
    border-bottom: 1px solid var(--gray-200);
    transition: var(--transition);
}

.widget-categories a:last-child { border-bottom: none; }
.widget-categories a:hover { color: var(--teal); }

.widget-categories .cat-count {
    background: var(--cream);
    color: var(--gray-500);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 50px;
    min-width: 24px;
    text-align: center;
}

/* CTA Widget */
.widget-cta {
    background: linear-gradient(135deg, var(--teal), var(--teal-dark));
    border-radius: var(--radius-lg);
    padding: 28px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(91, 126, 133, 0.3);
}

.widget-cta h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.widget-cta p {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.8);
    font-weight: 300;
    margin-bottom: 20px;
    line-height: 1.6;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    color: var(--teal);
    padding: 11px 24px;
    border-radius: 50px;
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 0.875rem;
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.btn-cta:hover {
    background: var(--cream);
    transform: translateY(-2px);
    color: var(--teal-dark);
}

/* ===== RELATED POSTS ===== */
.related-posts {
    padding: 0 0 80px;
    background: var(--cream);
}

.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 32px;
}

.section-title span { color: var(--teal); }

/* ===== ARCHIVE PAGE ===== */
.archive-hero {
    padding-top: calc(var(--nav-height) + 48px);
    padding-bottom: 48px;
    background: var(--cream);
    text-align: center;
    border-bottom: 1px solid var(--gray-200);
}

.archive-label {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--purple);
    margin-bottom: 12px;
}

.archive-hero h1 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--gray-800);
}

.archive-hero h1 span { color: var(--teal); }

.archive-count {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-top: 8px;
}

/* ===== SEARCH PAGE ===== */
.search-hero {
    padding-top: calc(var(--nav-height) + 48px);
    padding-bottom: 48px;
    background: var(--cream);
    text-align: center;
}

.search-hero h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 8px;
}

.search-hero p {
    font-size: 0.9rem;
    color: var(--gray-500);
}

.search-hero .search-keyword {
    color: var(--teal);
    font-weight: 700;
}

/* ===== 404 PAGE ===== */
.not-found {
    padding-top: calc(var(--nav-height) + 80px);
    padding-bottom: 80px;
    text-align: center;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: var(--cream);
}

.not-found-inner { width: 100%; }

.not-found-number {
    font-size: 8rem;
    font-weight: 900;
    color: var(--teal);
    opacity: 0.2;
    line-height: 1;
    margin-bottom: -16px;
}

.not-found h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 12px;
}

.not-found p {
    color: var(--gray-500);
    font-size: 1rem;
    margin-bottom: 32px;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--teal);
    padding: 56px 0 0;
}

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

.footer-logos {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-logos img {
    height: 44px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.footer-contact, .footer-social {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-contact a, .footer-social a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.8);
    font-weight: 300;
    transition: color 0.2s;
}

.footer-contact a:hover, .footer-social a:hover {
    color: var(--white);
}

.footer-contact a i, .footer-social a i {
    width: 18px;
    color: rgba(255,255,255,0.6);
    font-size: 0.95rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.15);
    padding: 20px 0;
    text-align: center;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.5);
    font-weight: 300;
}

/* ===== FLOATING WHATSAPP ===== */
.float-wa {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 58px;
    height: 58px;
    background: var(--wa-green);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
    z-index: 9999;
    transition: var(--transition);
}

.float-wa:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.55);
    color: var(--white);
}

/* ===== ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .featured-post { grid-template-columns: 1fr; }
    .featured-post-image { min-height: 240px; }
    .single-layout { grid-template-columns: 1fr; }
    .sidebar { order: -1; }
    .single-layout .sidebar { order: 2; display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
    :root { --nav-height: 64px; }

    .nav-menu {
        display: none;
        position: fixed;
        inset: var(--nav-height) 0 0 0;
        background: rgba(247, 243, 236, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: flex-start;
        padding: 24px 20px;
        gap: 4px;
        overflow-y: auto;
    }

    .nav-menu.open { display: flex; }

    .nav-item { width: 100%; }
    .nav-link { width: 100%; padding: 12px 16px; font-size: 1rem; }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: transparent;
        padding: 0 0 0 16px;
        display: none;
    }

    .nav-item.open .dropdown-menu { display: block; }

    .hamburger { display: flex; }

    .navbar-logo img { height: 38px; }

    .blog-hero h1 { font-size: 1.9rem; }
    .blog-hero { padding-top: calc(var(--nav-height) + 40px); padding-bottom: 48px; }

    .blog-filter-inner { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 16px; }
    .filter-btn { flex-shrink: 0; }

    .blog-grid { grid-template-columns: 1fr; gap: 20px; }

    .single-hero h1 { font-size: 1.6rem; }
    .single-hero { min-height: 360px; }
    .single-article { padding: 28px 20px; }
    .post-nav { grid-template-columns: 1fr; }
    .post-nav-item.next { text-align: left; }
    .post-nav-item.next .post-nav-label { justify-content: flex-start; }

    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-logos { margin-bottom: 4px; }

    .float-wa { bottom: 20px; right: 20px; width: 52px; height: 52px; font-size: 1.4rem; }
}

@media (max-width: 480px) {
    .blog-hero h1 { font-size: 1.6rem; }
    .single-hero h1 { font-size: 1.4rem; }
    .section-title { font-size: 1.5rem; }
}
