/* ============================================
   مجله زیبایی کلینیک الهام فلاحتی
   Blog Premium Design System
   ============================================ */

/* === Page Hero Banner === */
.blog-hero {
    background: linear-gradient(135deg, #19615C 0%, #134a47 40%, #0d3330 100%);
    padding: 90px 0 70px;
    position: relative;
    overflow: hidden;
    margin-top: 80px;
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: -80%;
    left: -25%;
    width: 60%;
    height: 260%;
    background: radial-gradient(ellipse, rgba(185,246,202,0.07) 0%, transparent 65%);
    pointer-events: none;
}

.blog-hero::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -20%;
    width: 55%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(255,255,255,0.04) 0%, transparent 60%);
    pointer-events: none;
}

.blog-hero .container {
    position: relative;
    z-index: 2;
}

/* Floating decorative elements */
.blog-hero-decor {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.blog-hero-decor span {
    position: absolute;
    background: rgba(185,246,202,0.06);
    border-radius: 50%;
}

.blog-hero-decor span:nth-child(1) {
    width: 300px;
    height: 300px;
    top: -80px;
    right: -50px;
}

.blog-hero-decor span:nth-child(2) {
    width: 200px;
    height: 200px;
    bottom: -60px;
    left: 10%;
}

.blog-hero-decor span:nth-child(3) {
    width: 120px;
    height: 120px;
    top: 40%;
    left: 5%;
    background: rgba(255,255,255,0.03);
}

/* Breadcrumb */
.blog-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    flex-wrap: wrap;
}

.blog-breadcrumb li {
    display: flex;
    align-items: center;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.55);
}

.blog-breadcrumb li + li::before {
    content: '\f104';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.6rem;
    margin-left: 8px;
    color: rgba(255,255,255,0.3);
}

.blog-breadcrumb li a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    transition: 0.2s ease;
}

.blog-breadcrumb li a:hover {
    color: #fff;
}

.blog-breadcrumb li.active {
    color: rgba(255,255,255,0.95);
    font-weight: 500;
}

/* Hero Title */
.blog-hero-content h1 {
    color: #fff;
    font-size: 2.3rem;
    font-weight: 800;
    margin-bottom: 14px;
    line-height: 1.4;
}

.blog-hero-content p {
    color: rgba(255,255,255,0.7);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 560px;
}

/* Hero Stats Bar */
.blog-hero-stats {
    display: flex;
    gap: 36px;
    margin-top: 30px;
    padding-top: 26px;
    border-top: 1px solid rgba(255,255,255,0.12);
}

.blog-hero-stat {
    text-align: center;
}

.blog-hero-stat .stat-number {
    display: block;
    font-size: 1.6rem;
    font-weight: 800;
    color: #B9F6CA;
}

.blog-hero-stat .stat-label {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.6);
    margin-top: 2px;
}

/* === Blog Page Body === */
.blog-body {
    background: #f8fafb;
    padding: 60px 0 90px;
    min-height: 60vh;
}

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

/* === Blog Cards Grid === */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

/* === Featured Post (First Card) === */
.blog-card--featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e5e7eb;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.blog-card--featured::before {
    content: '⭐ ویژه';
    position: absolute;
    top: 18px;
    left: 18px;
    background: linear-gradient(135deg, #19615C, #134a47);
    color: #fff;
    padding: 5px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 5;
    letter-spacing: 0.5px;
}

.blog-card--featured:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(25, 97, 92, 0.15);
    border-color: transparent;
}

.blog-card--featured .featured-img {
    position: relative;
    overflow: hidden;
    min-height: 320px;
}

.blog-card--featured .featured-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.blog-card--featured .featured-body {
    padding: 36px 34px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-card--featured .featured-cat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(25, 97, 92, 0.08);
    color: #19615C;
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 14px;
    width: fit-content;
}

.blog-card--featured .featured-body h2 {
    font-size: 1.45rem;
    font-weight: 800;
    line-height: 1.7;
    margin-bottom: 14px;
    color: #1A1A2E;
}

.blog-card--featured .featured-body h2 a {
    color: inherit;
    text-decoration: none;
    transition: 0.2s;
}

.blog-card--featured .featured-body h2 a:hover {
    color: #19615C;
}

.blog-card--featured .featured-excerpt {
    color: #6B7280;
    font-size: 0.92rem;
    line-height: 1.85;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card--featured .featured-meta {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 0.82rem;
    color: #6B7280;
    margin-top: auto;
}

.blog-card--featured .featured-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-card--featured .featured-meta i {
    color: #19615C;
    font-size: 0.75rem;
}

/* === Regular Blog Card === */
.blog-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e5e7eb;
    position: relative;
}

.blog-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #19615C, #B9F6CA);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(25, 97, 92, 0.14);
    border-color: transparent;
}

.blog-card:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Card Thumbnail */
.blog-card__thumb {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.blog-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.blog-card__thumb::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(transparent, rgba(0,0,0,0.08));
    pointer-events: none;
    transition: 0.3s;
}

.blog-card:hover .blog-card__thumb::after {
    opacity: 0;
}

/* Category Badge */
.blog-card__badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(25, 97, 92, 0.92);
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 0.76rem;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(25, 97, 92, 0.3);
}

/* Card Body */
.blog-card__body {
    padding: 22px 24px 26px;
}

.blog-card__meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
    font-size: 0.8rem;
    color: #6B7280;
}

.blog-card__meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-card__meta i {
    color: #19615C;
    font-size: 0.7rem;
}

.blog-card__body h3 {
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.75;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card__body h3 a {
    color: #1A1A2E;
    text-decoration: none;
    transition: 0.2s;
}

.blog-card__body h3 a:hover {
    color: #19615C;
}

.blog-card__excerpt {
    font-size: 0.88rem;
    color: #6B7280;
    line-height: 1.8;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Read More Link */
.blog-card__more {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #19615C;
    font-weight: 600;
    font-size: 0.86rem;
    text-decoration: none;
    position: relative;
    padding-bottom: 2px;
}

.blog-card__more::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: #19615C;
    transition: width 0.3s ease;
}

.blog-card__more:hover::after {
    width: 100%;
}

.blog-card__more:hover {
    color: #134a47;
}

.blog-card__more i {
    transition: transform 0.3s ease;
    font-size: 0.72rem;
}

.blog-card__more:hover i {
    transform: translateX(-5px);
}

/* === Sidebar === */
.blog-sidebar {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-box {
    background: #fff;
    border-radius: 18px;
    padding: 26px;
    border: 1px solid #e5e7eb;
    transition: 0.3s ease;
}

.sidebar-box:hover {
    box-shadow: 0 8px 28px rgba(25, 97, 92, 0.08);
    border-color: rgba(25, 97, 92, 0.12);
}

.sidebar-box__title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1A1A2E;
    margin-bottom: 18px;
    padding-bottom: 14px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-box__title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 45px;
    height: 3px;
    background: linear-gradient(90deg, #19615C, #B9F6CA);
    border-radius: 3px;
}

.sidebar-box__title i {
    color: #19615C;
    font-size: 0.9rem;
}

/* Search Widget */
.search-box {
    display: flex;
    border-radius: 14px;
    overflow: hidden;
    border: 2px solid #e5e7eb;
    transition: 0.2s ease;
}

.search-box:focus-within {
    border-color: #19615C;
    box-shadow: 0 0 0 4px rgba(25, 97, 92, 0.08);
}

.search-box input {
    flex: 1;
    border: none;
    padding: 14px 16px;
    font-family: 'Vazirmatn', sans-serif;
    font-size: 0.88rem;
    color: #1A1A2E;
    outline: none;
    background: transparent;
    direction: rtl;
}

.search-box input::placeholder {
    color: #9CA3AF;
}

.search-box button {
    background: #19615C;
    border: none;
    color: #fff;
    padding: 14px 18px;
    cursor: pointer;
    transition: 0.2s;
    font-size: 0.95rem;
}

.search-box button:hover {
    background: #134a47;
}

/* Category Widget */
.cat-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cat-list li + li {
    margin-top: 3px;
}

.cat-list li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    color: #4A4A5A;
    text-decoration: none;
    border-radius: 10px;
    transition: 0.2s;
    font-size: 0.9rem;
    font-weight: 500;
}

.cat-list li a:hover,
.cat-list li a.active {
    background: rgba(25, 97, 92, 0.07);
    color: #19615C;
    padding-right: 20px;
}

.cat-list li a .count {
    background: #f3f4f6;
    color: #6B7280;
    padding: 2px 10px;
    border-radius: 50px;
    font-size: 0.76rem;
    font-weight: 600;
    min-width: 28px;
    text-align: center;
    transition: 0.2s;
}

.cat-list li a:hover .count,
.cat-list li a.active .count {
    background: #19615C;
    color: #fff;
}

/* Popular Posts Widget */
.popular-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.popular-item {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f3f4f6;
    transition: 0.2s;
}

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

.popular-item:first-child {
    padding-top: 0;
}

.popular-item:hover {
    opacity: 0.85;
}

.popular-item__img {
    width: 72px;
    height: 56px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}

.popular-item__body h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1A1A2E;
    margin-bottom: 4px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.popular-item__body h4 a {
    color: inherit;
    text-decoration: none;
}

.popular-item__body span {
    font-size: 0.76rem;
    color: #9CA3AF;
}

/* Newsletter Widget / CTA */
.sidebar-cta {
    background: linear-gradient(135deg, #19615C 0%, #0d3330 100%);
    color: #fff;
    text-align: center;
    border: none;
    position: relative;
    overflow: hidden;
    padding: 32px 26px;
}

.sidebar-cta::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -30%;
    width: 60%;
    height: 180%;
    background: radial-gradient(ellipse, rgba(185,246,202,0.08) 0%, transparent 60%);
}

.sidebar-cta .cta-icon {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.5rem;
    position: relative;
    z-index: 1;
}

.sidebar-cta h3 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.sidebar-cta p {
    color: rgba(255,255,255,0.75);
    font-size: 0.88rem;
    margin-bottom: 20px;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.sidebar-cta .cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    color: #19615C;
    font-weight: 700;
    padding: 11px 28px;
    border-radius: 50px;
    text-decoration: none;
    transition: 0.3s;
    font-size: 0.88rem;
    position: relative;
    z-index: 1;
    border: none;
    cursor: pointer;
}

.sidebar-cta .cta-btn:hover {
    background: #B9F6CA;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

/* Tags Cloud Widget */
.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-chip {
    display: inline-block;
    padding: 5px 14px;
    background: #f8fafb;
    color: #4A4A5A;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    transition: 0.2s;
    border: 1px solid #e5e7eb;
}

.tag-chip:hover {
    background: #19615C;
    color: #fff;
    border-color: #19615C;
    transform: translateY(-1px);
}

/* === Pagination === */
.blog-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 50px;
    padding-top: 36px;
    border-top: 1px solid #e5e7eb;
}

.pg-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    color: #4A4A5A;
    background: #fff;
    border: 2px solid #e5e7eb;
    transition: 0.2s;
}

.pg-btn:hover {
    border-color: #19615C;
    color: #19615C;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(25, 97, 92, 0.12);
}

.pg-btn.active {
    background: #19615C;
    color: #fff;
    border-color: #19615C;
    box-shadow: 0 6px 20px rgba(25, 97, 92, 0.28);
}

.pg-btn.disabled {
    opacity: 0.4;
    pointer-events: none;
}

.pg-btn i {
    font-size: 0.72rem;
}

/* === Empty State === */
.blog-empty {
    text-align: center;
    padding: 80px 30px;
    background: #fff;
    border-radius: 20px;
    border: 2px dashed #e5e7eb;
}

.blog-empty__icon {
    width: 90px;
    height: 90px;
    background: rgba(25, 97, 92, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 2.2rem;
    color: #19615C;
}

.blog-empty h3 {
    font-size: 1.3rem;
    color: #1A1A2E;
    margin-bottom: 10px;
}

.blog-empty p {
    color: #6B7280;
    margin-bottom: 24px;
    font-size: 0.95rem;
}

/* ============================================
   Single Blog Post
   ============================================ */
.post-hero {
    background: linear-gradient(135deg, #19615C 0%, #134a47 40%, #0d3330 100%);
    padding: 80px 0 50px;
    position: relative;
    overflow: hidden;
    margin-top: 80px;
}

.post-hero::before {
    content: '';
    position: absolute;
    top: -80%;
    left: -25%;
    width: 60%;
    height: 260%;
    background: radial-gradient(ellipse, rgba(185,246,202,0.06) 0%, transparent 65%);
    pointer-events: none;
}

.post-hero .container {
    position: relative;
    z-index: 2;
}

.post-hero__cat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(8px);
    color: #B9F6CA;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 18px;
    transition: 0.2s;
}

.post-hero__cat:hover {
    background: rgba(255,255,255,0.2);
    color: #fff;
}

.post-hero__title {
    color: #fff;
    font-size: 2.1rem;
    font-weight: 800;
    line-height: 1.55;
    margin-bottom: 22px;
    max-width: 820px;
}

.post-hero__meta {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.post-hero__meta span {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.7);
}

.post-hero__meta span i {
    color: #B9F6CA;
    font-size: 0.8rem;
}

/* Post Body Section */
.post-section {
    background: #f8fafb;
    padding: 0 0 80px;
}

.post-wrapper {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 45px;
    align-items: start;
    margin-top: -40px;
    position: relative;
    z-index: 3;
}

/* Main Article */
.post-article {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

/* Featured Image */
.post-cover {
    position: relative;
    overflow: hidden;
    max-height: 480px;
}

.post-cover img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Post Content */
.post-content {
    padding: 36px 40px 10px;
    font-size: 1rem;
    line-height: 2.05;
    color: #4A4A5A;
}

.post-content h2 {
    font-size: 1.45rem;
    font-weight: 700;
    color: #1A1A2E;
    margin: 38px 0 16px;
    padding-right: 16px;
    border-right: 4px solid #19615C;
}

.post-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1A1A2E;
    margin: 30px 0 12px;
}

.post-content h4 {
    font-size: 1.08rem;
    font-weight: 600;
    color: #2C3E50;
    margin: 24px 0 10px;
}

.post-content p {
    margin-bottom: 18px;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 14px;
    margin: 26px 0;
    box-shadow: 0 6px 24px rgba(0,0,0,0.08);
}

.post-content a {
    color: #19615C;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: 0.2s;
}

.post-content a:hover {
    color: #134a47;
}

.post-content ul, .post-content ol {
    margin: 16px 0 22px 0;
    padding-right: 24px;
}

.post-content li {
    margin-bottom: 8px;
}

.post-content blockquote {
    margin: 30px 0;
    padding: 24px 28px 24px 20px;
    background: linear-gradient(135deg, rgba(25,97,92,0.04), rgba(185,246,202,0.06));
    border-right: 4px solid #19615C;
    border-radius: 0 14px 14px 0;
    font-style: italic;
    color: #1A1A2E;
    position: relative;
}

.post-content blockquote::before {
    content: '\201C';
    position: absolute;
    top: -8px;
    right: 16px;
    font-size: 4rem;
    color: rgba(25,97,92,0.12);
    font-family: serif;
    line-height: 1;
}

.post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 22px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.post-content table th,
.post-content table td {
    padding: 12px 16px;
    text-align: right;
    border-bottom: 1px solid #f3f4f6;
}

.post-content table th {
    background: #19615C;
    color: #fff;
    font-weight: 600;
}

.post-content table tr:hover {
    background: #f8fafb;
}

/* Post Footer */
.post-footer {
    padding: 0 40px 32px;
}

/* Tags */
.post-tags {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding-bottom: 22px;
    border-bottom: 1px solid #f3f4f6;
}

.post-tags__label {
    color: #19615C;
    font-size: 0.95rem;
}

/* Share */
.post-share {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 22px;
}

.post-share__label {
    font-weight: 600;
    color: #1A1A2E;
    font-size: 0.92rem;
    margin-left: 4px;
}

.share-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #fff;
    text-decoration: none;
    transition: 0.2s;
    border: none;
    cursor: pointer;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.2);
}

.share-btn.tg { background: #0088cc; }
.share-btn.wa { background: #25D366; }
.share-btn.tw { background: #1DA1F2; }
.share-btn.cp { background: #6B7280; }
.share-btn.cp:hover { background: #19615C; }

/* === Author Box === */
.author-box {
    display: flex;
    gap: 20px;
    align-items: center;
    padding: 28px;
    background: #f8fafb;
    border-radius: 16px;
    margin: 0 40px 28px;
}

.author-box__avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #19615C, #B9F6CA);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #fff;
    flex-shrink: 0;
}

.author-box__info h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #1A1A2E;
    margin-bottom: 4px;
}

.author-box__info p {
    font-size: 0.85rem;
    color: #6B7280;
    line-height: 1.6;
}

/* === Related Posts === */
.related-section {
    padding: 60px 0 80px;
    background: #fff;
}

.related-section__header {
    text-align: center;
    margin-bottom: 40px;
}

.related-section__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(25, 97, 92, 0.08);
    padding: 6px 16px;
    border-radius: 40px;
    margin-bottom: 14px;
    font-size: 0.82rem;
    color: #19615C;
    font-weight: 600;
}

.related-section__title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #1A1A2E;
}

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

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1200px) {
    .blog-layout {
        grid-template-columns: 1fr 300px;
        gap: 35px;
    }
    .post-wrapper {
        grid-template-columns: 1fr 290px;
        gap: 35px;
    }
}

@media (max-width: 992px) {
    .blog-hero {
        padding: 75px 0 55px;
        margin-top: 70px;
    }

    .blog-hero-content h1 {
        font-size: 1.9rem;
    }

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

    .post-wrapper {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .blog-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

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

    .blog-card--featured {
        grid-template-columns: 1fr 1fr;
    }

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

    .post-hero__title {
        font-size: 1.7rem;
    }

    .post-content,
    .post-footer,
    .author-box {
        padding-left: 28px;
        padding-right: 28px;
    }
    .author-box { margin: 0 28px 24px; }
}

@media (max-width: 768px) {
    .blog-hero {
        padding: 60px 0 45px;
        margin-top: 65px;
    }

    .blog-hero-content h1 {
        font-size: 1.55rem;
    }

    .blog-hero-stats {
        gap: 24px;
    }

    .blog-hero-stat .stat-number {
        font-size: 1.3rem;
    }

    .blog-body {
        padding: 45px 0 65px;
    }

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

    .blog-card--featured {
        grid-template-columns: 1fr;
    }

    .blog-card--featured .featured-img {
        min-height: 220px;
    }

    .blog-card--featured .featured-body {
        padding: 24px;
    }

    .blog-sidebar {
        grid-template-columns: 1fr;
    }

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

    .post-hero {
        padding: 55px 0 40px;
        margin-top: 65px;
    }

    .post-hero__title {
        font-size: 1.4rem;
    }

    .post-hero__meta {
        gap: 14px;
    }

    .post-content,
    .post-footer {
        padding-left: 20px;
        padding-right: 20px;
    }
    .author-box {
        margin: 0 20px 20px;
        flex-direction: column;
        text-align: center;
    }

    .post-share {
        flex-wrap: wrap;
    }

    .blog-pagination {
        gap: 5px;
    }

    .pg-btn {
        width: 40px;
        height: 40px;
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .blog-hero {
        margin-top: 60px;
        padding: 48px 0 36px;
    }

    .blog-hero-content h1 {
        font-size: 1.35rem;
    }

    .blog-hero-stats {
        flex-wrap: wrap;
        gap: 16px;
    }

    .blog-card__body {
        padding: 18px 18px 22px;
    }

    .blog-card__body h3 {
        font-size: 1rem;
    }

    .sidebar-box {
        padding: 20px;
    }

    .post-hero {
        margin-top: 60px;
        padding: 44px 0 34px;
    }

    .post-hero__title {
        font-size: 1.22rem;
    }

    .post-content {
        font-size: 0.94rem;
        padding-top: 28px;
    }

    .post-content h2 {
        font-size: 1.25rem;
    }
}
