/* ===================================================
   Shree Specialty Clinics - CMS & Inner Pages Styles
   =================================================== */

/* Breadcrumb Bar */
.page-breadcrumb-bar {
    background: #fdf6f0;
    border-bottom: 1px solid #ebd8cb;
    padding: 0.75rem clamp(1rem, 4vw, 4rem);
    font-size: 0.78rem;
}
.breadcrumb-container {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.breadcrumb-container a {
    color: var(--wine, #8b123f);
    text-decoration: none;
    font-weight: 600;
}
.breadcrumb-container a:hover {
    text-decoration: underline;
}
.breadcrumb-container .separator {
    color: #a38c80;
}
.breadcrumb-container .current {
    color: #4a3830;
    font-weight: 500;
}

/* ===================================================
   Services Catalog & Detail
   =================================================== */
.services-hero {
    background: linear-gradient(135deg, #fffaf5 0%, #fbeff2 100%);
    padding: clamp(2.5rem, 5vw, 4rem) 1.25rem;
    text-align: center;
    border-bottom: 1px solid var(--line, #dfcabc);
}
.services-hero-content {
    max-width: 780px;
    margin: 0 auto;
}
.services-hero h1 {
    font-size: clamp(2.4rem, 6vw, 4rem);
    margin: 0.4rem 0 0.8rem;
    color: var(--wine, #8b123f);
}
.services-hero p {
    font-size: clamp(0.95rem, 1.8vw, 1.15rem);
    color: #523f38;
}

.services-catalog-section {
    max-width: 1240px;
    margin: 0 auto;
    padding: 2.5rem clamp(1rem, 3vw, 2.5rem) 4.5rem;
}
.category-filter-bar {
    display: flex;
    gap: 0.6rem;
    overflow-x: auto;
    padding-bottom: 0.75rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid #ebdcd2;
}
.filter-tab {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 1.15rem;
    border-radius: 999px;
    border: 1px solid #d9beab;
    background: #fff;
    color: var(--ink, #211713);
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
}
.filter-tab:hover {
    border-color: var(--wine, #8b123f);
    color: var(--wine, #8b123f);
}
.filter-tab.active {
    background: var(--wine, #8b123f);
    border-color: var(--wine, #8b123f);
    color: #fff;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
@media (min-width: 640px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .services-grid { grid-template-columns: repeat(3, 1fr); }
}

.service-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line, #dfcabc);
    border-radius: 1rem;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(73, 35, 22, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(139, 18, 63, 0.12);
}
.service-card-media {
    position: relative;
    aspect-ratio: 16/10;
    background: #f7ede6;
    overflow: hidden;
}
.service-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.service-card:hover .service-card-media img {
    transform: scale(1.05);
}
.service-icon-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: var(--pink, #b51250);
}
.service-icon-placeholder svg {
    width: 48px;
    height: 48px;
}
.service-badge {
    position: absolute;
    top: 0.8rem;
    left: 0.8rem;
    background: rgba(139, 18, 63, 0.9);
    color: #fff;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    backdrop-filter: blur(4px);
}

.service-card-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.4rem;
}
.service-card-content h2 {
    font-size: 1.45rem;
    margin: 0 0 0.5rem;
    line-height: 1.25;
}
.service-card-content h2 a {
    color: var(--ink, #211713);
    text-decoration: none;
}
.service-card-content h2 a:hover {
    color: var(--wine, #8b123f);
}
.service-card-content p {
    font-size: 0.88rem;
    color: #5a473f;
    margin: 0 0 1.1rem;
    flex-grow: 1;
}
.service-quick-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 1.2rem;
    display: grid;
    gap: 0.45rem;
    font-size: 0.8rem;
    color: #44322a;
}
.service-quick-benefits li {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}
.check-icon {
    width: 15px;
    height: 15px;
    color: #10b981;
    flex-shrink: 0;
}
.service-card-actions {
    display: flex;
    gap: 0.6rem;
    margin-top: auto;
}
.button-outline-small {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 0.85rem;
    border: 1px solid var(--wine, #8b123f);
    border-radius: 999px;
    background: transparent;
    color: var(--wine, #8b123f);
    font-size: 0.76rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}
.button-outline-small:hover {
    background: #fcf1f4;
}
.button-consult-small {
    flex: 1.2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 0.85rem;
    border: 1px solid var(--wine, #8b123f);
    border-radius: 999px;
    background: var(--wine, #8b123f);
    color: #fff;
    font-size: 0.76rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}
.button-consult-small:hover {
    background: var(--wine-dark, #650a2d);
}

/* Service Detail Page Layout */
.service-detail-hero {
    background: linear-gradient(135deg, #fffaf5 0%, #fbeff2 100%);
    padding: clamp(2.5rem, 5vw, 4rem) 1.25rem;
    border-bottom: 1px solid var(--line, #dfcabc);
}
.service-detail-hero-inner {
    max-width: 1100px;
    margin: 0 auto;
}
.service-detail-hero-inner h1 {
    font-size: clamp(2.4rem, 6vw, 4.2rem);
    margin: 0.4rem 0 0.8rem;
    color: var(--wine, #8b123f);
}
.service-detail-lead {
    font-size: clamp(1rem, 1.8vw, 1.25rem);
    color: #4a362f;
    max-width: 800px;
    margin: 0 0 1.5rem;
}
.hero-cta-group {
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
}

.service-detail-layout {
    max-width: 1240px;
    margin: 0 auto;
    padding: 3rem clamp(1rem, 3vw, 2.5rem) 5rem;
    display: grid;
    gap: 2.5rem;
}
@media (min-width: 992px) {
    .service-detail-layout {
        grid-template-columns: 1fr 360px;
        align-items: start;
    }
}
.service-featured-banner {
    border-radius: 1rem;
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: 0 8px 24px rgba(73, 35, 22, 0.08);
}
.service-featured-banner img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
}

/* Rich Text & CKEditor content styles */
.rich-text-area {
    font-size: 1.02rem;
    line-height: 1.85;
    color: #33231c;
}
.rich-text-area p {
    margin-bottom: 1.25rem;
}
.rich-text-area h2 {
    font-size: 1.9rem;
    color: var(--wine, #8b123f);
    margin: 2rem 0 0.8rem;
}
.rich-text-area h3 {
    font-size: 1.45rem;
    color: var(--ink, #211713);
    margin: 1.5rem 0 0.6rem;
}
.rich-text-area ul, .rich-text-area ol {
    margin: 0 0 1.4rem 1.5rem;
    padding: 0;
}
.rich-text-area li {
    margin-bottom: 0.4rem;
}
.rich-text-area blockquote {
    border-left: 4px solid var(--wine, #8b123f);
    padding: 0.75rem 1.25rem;
    margin: 1.5rem 0;
    background: #fdf5f7;
    font-style: italic;
    color: var(--wine-dark, #650a2d);
}

/* Benefits Section */
.service-benefits-section {
    margin: 3rem 0;
}
.service-benefits-section h2 {
    font-size: 2rem;
    margin-bottom: 1.25rem;
}
.benefits-grid {
    display: grid;
    gap: 1.1rem;
}
@media (min-width: 600px) {
    .benefits-grid { grid-template-columns: repeat(2, 1fr); }
}
.benefit-card {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    border: 1px solid #ebdcd2;
    border-radius: 0.75rem;
    background: #fffaf7;
}
.benefit-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fee9f0;
    color: var(--pink, #b51250);
    display: grid;
    place-items: center;
    flex-shrink: 0;
}
.benefit-icon svg {
    width: 22px;
    height: 22px;
}
.benefit-card h3 {
    font-size: 1.2rem;
    margin: 0 0 0.25rem;
}
.benefit-card p {
    font-size: 0.85rem;
    color: #55443c;
    margin: 0;
}

/* Gallery Grid */
.service-gallery-section {
    margin: 3rem 0;
}
.service-gallery-section h2 {
    font-size: 2rem;
    margin-bottom: 1.25rem;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
@media (min-width: 640px) {
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
.gallery-item {
    margin: 0;
    border-radius: 0.6rem;
    overflow: hidden;
    background: #eee;
    box-shadow: 0 4px 14px rgba(73, 35, 22, 0.06);
}
.gallery-item img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: transform 0.3s;
}
.gallery-item:hover img {
    transform: scale(1.04);
}
.gallery-item figcaption {
    padding: 0.45rem 0.6rem;
    font-size: 0.75rem;
    color: #665;
    background: #fff;
    text-align: center;
}

/* FAQ Accordion */
.service-faqs-section {
    margin: 3.5rem 0;
    padding-top: 2rem;
    border-top: 1px solid #ebdcd2;
}
.service-faqs-section h2 {
    font-size: 2.1rem;
    margin-bottom: 0.4rem;
}
.faq-accordion {
    margin-top: 1.5rem;
    display: grid;
    gap: 0.85rem;
}
.faq-item {
    border: 1px solid #e7d8ce;
    border-radius: 0.6rem;
    background: #fff;
    overflow: hidden;
    transition: border-color 0.2s ease;
}
.faq-item[open] {
    border-color: var(--wine, #8b123f);
}
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.1rem 1.25rem;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--ink, #211713);
    cursor: pointer;
    list-style: none;
    user-select: none;
}
.faq-question::-webkit-details-marker {
    display: none;
}
.faq-arrow {
    width: 20px;
    height: 20px;
    stroke: var(--wine, #8b123f);
    stroke-width: 2;
    fill: none;
    transition: transform 0.25s ease;
    flex-shrink: 0;
}
.faq-item[open] .faq-arrow {
    transform: rotate(180deg);
}
.faq-answer {
    padding: 0.5rem 1.25rem 1.25rem;
    font-size: 0.92rem;
    line-height: 1.7;
    color: #4a3830;
    border-top: 1px solid #faece6;
}

/* Sidebar Elements */
.sidebar-card {
    padding: 1.6rem;
    border: 1px solid #e7d8ce;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 6px 20px rgba(73, 35, 22, 0.05);
    margin-bottom: 1.5rem;
}
.sidebar-card h3 {
    font-size: 1.45rem;
    margin: 0 0 0.4rem;
    color: var(--ink, #211713);
}
.book-box {
    background: linear-gradient(145deg, #fffaf6, #fbeff2);
    border-color: #ebd0d9;
}
.book-box p {
    font-size: 0.88rem;
    color: #55443c;
    margin-bottom: 1.25rem;
}
.btn-block {
    width: 100%;
    margin-bottom: 0.8rem;
}
.quick-call-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.84rem;
    color: var(--wine, #8b123f);
    font-weight: 600;
}
.quick-call-row a {
    color: inherit;
}
.sidebar-subtitle {
    font-size: 0.8rem;
    color: #736158;
    margin-bottom: 1rem;
}
.sidebar-doctor-list {
    display: grid;
    gap: 1.1rem;
}
.sidebar-doctor-item {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid #f2e6de;
}
.sidebar-doctor-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}
.doctor-avatar {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: #faede4;
}
.doctor-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.avatar-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: #998;
}
.doctor-meta h4 {
    margin: 0 0 0.15rem;
    font-size: 1.12rem;
}
.doctor-meta h4 a {
    color: var(--ink, #211713);
    text-decoration: none;
}
.doctor-meta h4 a:hover {
    color: var(--wine, #8b123f);
}
.doc-designation {
    display: block;
    font-size: 0.75rem;
    color: var(--wine, #8b123f);
    font-weight: 600;
}
.doc-qual {
    display: block;
    font-size: 0.72rem;
    color: #665248;
}
.view-profile-link {
    display: inline-block;
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--wine, #8b123f);
    text-decoration: none;
    margin-top: 0.2rem;
}

/* ===================================================
   Doctors Directory Enhancements & Profile
   =================================================== */
.directory-filter-section {
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 1rem 1.5rem;
}
.directory-search-form {
    display: flex;
    gap: 0.6rem;
    max-width: 680px;
    margin: 0 auto 1.25rem;
    flex-wrap: wrap;
}
.search-input-wrap {
    flex: 1;
    min-width: 240px;
    position: relative;
    display: flex;
    align-items: center;
}
.search-icon {
    position: absolute;
    left: 0.85rem;
    width: 18px;
    height: 18px;
    stroke: #8e786d;
    stroke-width: 2;
    fill: none;
}
.search-input-wrap input {
    width: 100%;
    padding: 0.65rem 1rem 0.65rem 2.4rem;
    border: 1px solid #d9beab;
    border-radius: 0.45rem;
    font-family: inherit;
    font-size: 0.85rem;
    background: #fff;
    color: var(--ink, #211713);
}
.specialty-filter-pills {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    justify-content: flex-start;
}
@media (min-width: 768px) {
    .specialty-filter-pills { justify-content: center; }
}
.filter-pill {
    display: inline-block;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    border: 1px solid #ebd8cb;
    background: #fff;
    color: #4a362f;
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s;
}
.filter-pill:hover {
    border-color: var(--wine, #8b123f);
    color: var(--wine, #8b123f);
}
.filter-pill.active {
    background: var(--wine, #8b123f);
    border-color: var(--wine, #8b123f);
    color: #fff;
}
.doctor-services-tags {
    display: flex;
    gap: 0.35rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 0.8rem;
}
.svc-tag {
    font-size: 0.68rem;
    background: #fdf2f4;
    color: var(--wine, #8b123f);
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
    text-decoration: none;
    border: 1px solid #f2cfd9;
}
.doctor-card-btn-group {
    display: flex;
    gap: 0.5rem;
    width: 100%;
    margin-top: auto;
}
.doctor-profile-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 0.5rem;
    border: 1px solid #ebd8cb;
    border-radius: 999px;
    background: #fff;
    color: var(--ink, #211713);
    font-size: 0.72rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
}
.doctor-profile-btn:hover {
    border-color: var(--wine, #8b123f);
    color: var(--wine, #8b123f);
}

/* Doctor Detail Profile */
.doctor-profile-hero {
    background: linear-gradient(135deg, #fffaf5 0%, #fbeff2 100%);
    padding: clamp(2.5rem, 5vw, 4rem) 1.25rem;
    border-bottom: 1px solid var(--line, #dfcabc);
}
.doctor-profile-shell {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    gap: 2rem;
    align-items: center;
}
@media (min-width: 768px) {
    .doctor-profile-shell {
        grid-template-columns: 280px 1fr;
    }
}
.doctor-profile-photo-wrap {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(73, 35, 22, 0.12);
    aspect-ratio: 4/5;
    background: #eddcd1;
}
.doctor-profile-photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.doctor-profile-header-info h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    margin: 0.2rem 0 0.5rem;
    color: var(--ink, #211713);
}
.profile-designation {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--wine, #8b123f);
    font-weight: 600;
    margin: 0 0 1.25rem;
}
.profile-meta-badges {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}
.profile-meta-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.88rem;
    color: #4a362f;
}
.profile-meta-item svg {
    color: var(--pink, #b51250);
}
.profile-cta-group {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.doctor-profile-layout {
    max-width: 1240px;
    margin: 0 auto;
    padding: 3rem clamp(1rem, 3vw, 2.5rem) 5rem;
    display: grid;
    gap: 2.5rem;
}
@media (min-width: 992px) {
    .doctor-profile-layout {
        grid-template-columns: 1fr 340px;
        align-items: start;
    }
}
.doctor-bio-section {
    margin-bottom: 3rem;
}
.doctor-bio-section h2 {
    font-size: 2rem;
    margin-bottom: 1.25rem;
    color: var(--wine, #8b123f);
}
.doctor-services-grid {
    display: grid;
    gap: 1rem;
    margin-top: 1.25rem;
}
@media (min-width: 600px) {
    .doctor-services-grid { grid-template-columns: repeat(2, 1fr); }
}
.doctor-svc-card {
    padding: 1.2rem;
    border: 1px solid #ebd8cb;
    border-radius: 0.75rem;
    background: #fff;
}
.doctor-svc-card h3 {
    font-size: 1.25rem;
    margin: 0 0 0.4rem;
}
.doctor-svc-card p {
    font-size: 0.84rem;
    color: #55443c;
    margin: 0 0 0.75rem;
}
.svc-link {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--wine, #8b123f);
    text-decoration: none;
}

/* Education Timeline */
.doctor-education-section {
    margin: 3rem 0;
}
.doctor-education-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--wine, #8b123f);
}
.education-timeline {
    position: relative;
    border-left: 2px solid #e8d0be;
    padding-left: 1.5rem;
    display: grid;
    gap: 1.5rem;
}
.timeline-item {
    position: relative;
}
.timeline-dot {
    position: absolute;
    left: calc(-1.5rem - 7px);
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--wine, #8b123f);
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px var(--wine, #8b123f);
}
.timeline-degree {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--ink, #211713);
}
.timeline-institution {
    font-size: 0.9rem;
    color: #5b473f;
    margin: 0.15rem 0 0.3rem;
}
.timeline-year {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--pink, #b51250);
    background: #fdf2f5;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
}
.timings-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.6rem;
    font-size: 0.84rem;
}
.timings-list li {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dashed #eedcd2;
    padding-bottom: 0.45rem;
}

/* ===================================================
   Blog List, Detail & Sharing
   =================================================== */
.blog-hero-section {
    background: linear-gradient(135deg, #fffaf5 0%, #fbeff2 100%);
    padding: clamp(2.5rem, 5vw, 4rem) 1.25rem;
    text-align: center;
    border-bottom: 1px solid var(--line, #dfcabc);
}
.blog-hero-content {
    max-width: 780px;
    margin: 0 auto;
}
.blog-hero-section h1 {
    font-size: clamp(2.4rem, 6vw, 4.2rem);
    margin: 0.3rem 0 0.7rem;
    color: var(--wine, #8b123f);
}
.blog-hero-section p {
    font-size: clamp(0.95rem, 1.8vw, 1.15rem);
    color: #55443c;
}

/* Featured Hero */
.featured-post-hero {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding: 0 1rem;
}
.featured-post-shell {
    display: grid;
    gap: 2rem;
    border: 1px solid #ebd5c5;
    border-radius: 1.25rem;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(73, 35, 22, 0.08);
}
@media (min-width: 800px) {
    .featured-post-shell {
        grid-template-columns: 1.2fr 1fr;
        align-items: center;
    }
}
.featured-post-media {
    position: relative;
    aspect-ratio: 16/10;
    background: #faeee5;
    overflow: hidden;
}
.featured-post-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.featured-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--gold, #a6650b);
    color: #fff;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.featured-post-copy {
    padding: 2rem clamp(1.25rem, 3vw, 2.5rem);
}
.post-category-badge {
    display: inline-block;
    color: var(--wine, #8b123f);
    font-size: 0.75rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.6rem;
}
.featured-post-copy h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    margin: 0 0 0.8rem;
    line-height: 1.2;
}
.featured-post-copy h2 a {
    color: var(--ink, #211713);
    text-decoration: none;
}
.featured-post-copy h2 a:hover {
    color: var(--wine, #8b123f);
}
.featured-post-copy p {
    font-size: 0.95rem;
    color: #55443c;
    margin-bottom: 1.25rem;
}
.post-meta-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    color: #88746b;
    margin-bottom: 1.4rem;
}
.dot-sep {
    color: #d1b8ab;
}

.blog-controls-section {
    max-width: 1200px;
    margin: 2.5rem auto 0;
    padding: 0 1rem;
}
.blog-search-form {
    display: flex;
    gap: 0.6rem;
    max-width: 650px;
    margin: 0 auto 1.5rem;
    flex-wrap: wrap;
}
.blog-category-nav {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    justify-content: flex-start;
    border-bottom: 1px solid #ebdcd2;
}
@media (min-width: 768px) {
    .blog-category-nav { justify-content: center; }
}
.blog-catalog-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem 5rem;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.72rem;
    margin-bottom: 0.5rem;
}
.card-category-link {
    color: var(--wine, #8b123f);
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
}
.reading-time-tag {
    color: #88746b;
}
.blog-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 0.9rem;
    border-top: 1px solid #f2e4dc;
}
.author-name {
    font-size: 0.74rem;
    color: #705e54;
    font-weight: 600;
}

/* Pagination */
.pagination-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 3.5rem;
}
.page-link {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 1.25rem;
    border: 1px solid var(--wine, #8b123f);
    border-radius: 999px;
    color: var(--wine, #8b123f);
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
}
.page-link:hover {
    background: var(--wine, #8b123f);
    color: #fff;
}
.page-current {
    font-size: 0.85rem;
    color: #655248;
    font-weight: 600;
}

/* Blog Detail Page */
.blog-detail-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2.5rem 1rem 5rem;
    display: grid;
    gap: 2.5rem;
}
@media (min-width: 992px) {
    .blog-detail-container {
        grid-template-columns: 1fr 340px;
        align-items: start;
    }
}
.blog-article-header h1 {
    font-size: clamp(2.3rem, 5.5vw, 3.8rem);
    line-height: 1.15;
    margin: 0.5rem 0 0.85rem;
    color: var(--ink, #211713);
}
.article-lead {
    font-size: clamp(1rem, 1.8vw, 1.25rem);
    color: #55443c;
    margin-bottom: 1.5rem;
}
.article-meta-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    border-top: 1px solid #ebd8cc;
    border-bottom: 1px solid #ebd8cc;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}
.author-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.author-avatar-badge {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #faece6;
    color: var(--wine, #8b123f);
    display: grid;
    place-items: center;
}
.author-info strong {
    display: block;
    font-size: 0.95rem;
}
.author-info span {
    font-size: 0.75rem;
    color: #79665c;
}
.meta-details {
    font-size: 0.82rem;
    color: #77655c;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.article-featured-media {
    border-radius: 1rem;
    overflow: hidden;
    margin-bottom: 2.5rem;
    box-shadow: 0 8px 26px rgba(73, 35, 22, 0.08);
}
.article-featured-media img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
}
.article-tags-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin: 2.5rem 0;
    padding-top: 1.5rem;
    border-top: 1px solid #ebdcd2;
}
.tags-label {
    font-weight: 700;
    font-size: 0.82rem;
    color: #655248;
}
.tag-pill {
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    background: #f7ece6;
    color: var(--wine, #8b123f);
    font-size: 0.76rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}
.tag-pill:hover {
    background: var(--wine, #8b123f);
    color: #fff;
}

/* Social Share Buttons */
.social-share-section {
    padding: 1.5rem;
    background: #fffaf7;
    border: 1px solid #ebdcd2;
    border-radius: 0.85rem;
    margin: 2.5rem 0;
}
.social-share-section h3 {
    font-size: 1.1rem;
    margin: 0 0 0.85rem;
}
.share-buttons-row {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}
.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    border: 0;
    transition: transform 0.2s, box-shadow 0.2s;
}
.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.share-btn svg {
    width: 15px;
    height: 15px;
    fill: currentColor;
    stroke: none;
}
.share-wa { background: #25d366; color: #fff; }
.share-fb { background: #1877f2; color: #fff; }
.share-tw { background: #111; color: #fff; }
.share-in { background: #0a66c2; color: #fff; }
.share-copy { background: #e8ded8; color: #3b2a22; }

/* Article Consultation Prompt */
.article-consult-prompt {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    background: linear-gradient(135deg, #fbf0f3, #fff6f0);
    border: 1px solid #f0d0db;
    border-radius: 1rem;
    padding: 1.75rem 2rem;
    margin: 2.5rem 0;
    flex-wrap: wrap;
}
.consult-prompt-text h3 {
    font-size: 1.5rem;
    color: var(--wine, #8b123f);
    margin: 0 0 0.25rem;
}
.consult-prompt-text p {
    margin: 0;
    font-size: 0.9rem;
    color: #55443c;
}

/* Blog Sidebar */
.sidebar-cat-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.5rem;
}
.sidebar-cat-list a {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0.6rem;
    border-radius: 0.4rem;
    color: #4a3830;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
}
.sidebar-cat-list a:hover, .sidebar-cat-list a.active {
    background: #fbf0f4;
    color: var(--wine, #8b123f);
}
.cat-count {
    color: #9c8980;
    font-size: 0.78rem;
}
.sidebar-recent-posts {
    display: grid;
    gap: 1rem;
}
.recent-post-item {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}
.recent-post-item img {
    width: 65px;
    height: 65px;
    border-radius: 0.5rem;
    object-fit: cover;
    flex-shrink: 0;
}
.recent-post-item h4 {
    margin: 0 0 0.2rem;
    font-size: 0.92rem;
    line-height: 1.3;
}
.recent-post-item h4 a {
    color: var(--ink, #211713);
    text-decoration: none;
}
.recent-post-item h4 a:hover {
    color: var(--wine, #8b123f);
}
.recent-post-item time {
    font-size: 0.72rem;
    color: #8c7a71;
}

.related-posts-section {
    background: #fdf5ef;
    padding: 3.5rem 1rem 4.5rem;
    border-top: 1px solid #ebdcd2;
}
.related-posts-container {
    max-width: 1200px;
    margin: 0 auto;
}
.related-posts-container h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--wine, #8b123f);
}

/* Archive Header */
.archive-header-section {
    background: linear-gradient(135deg, #fffaf5 0%, #fbeff2 100%);
    padding: clamp(2.5rem, 5vw, 4rem) 1.25rem;
    text-align: center;
    border-bottom: 1px solid var(--line, #dfcabc);
}
.archive-header-content {
    max-width: 780px;
    margin: 0 auto;
}
.archive-header-content h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    margin: 0.3rem 0 0.5rem;
    color: var(--wine, #8b123f);
}
.empty-blog-state {
    grid-column: 1/-1;
    padding: 3.5rem 1.5rem;
    text-align: center;
    background: #fff;
    border: 1px solid #ebdcd2;
    border-radius: 1rem;
}

/* ===================================================
   Error Pages (404 & 500)
   =================================================== */
.error-page-section {
    min-height: 65vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3.5rem 1.25rem;
    background: radial-gradient(circle at 50% 30%, #fff9f6 0%, #fbeff2 80%);
}
.error-card {
    max-width: 640px;
    text-align: center;
    padding: 3rem 2rem;
    background: #fff;
    border: 1px solid #ebd8cb;
    border-radius: 1.5rem;
    box-shadow: 0 16px 40px rgba(73, 35, 22, 0.08);
}
.error-status-badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    background: var(--wine, #8b123f);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    border-radius: 999px;
    margin-bottom: 1.25rem;
}
.error-card h1 {
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    color: var(--ink, #211713);
    margin: 0 0 1rem;
}
.error-card p {
    font-size: 0.95rem;
    color: #5d4941;
    margin-bottom: 2rem;
}
.error-quick-links {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}
.error-support-info {
    padding-top: 1.5rem;
    border-top: 1px solid #f2e3d8;
    font-size: 0.85rem;
    color: #79665d;
}
.error-support-info a {
    color: var(--wine, #8b123f);
    font-weight: 700;
}

