/* ==========================================================
   BLOG — premium editorial style (matches service/about)
========================================================== */

.blog-page .service-intro,
.blog-detail-page .service-intro {
    padding: 90px 0 140px;
}

/* ---------- Breadcrumb ---------- */

.blog-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin: 0 0 36px;
    font-size: 12px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #8a8577;
}

.blog-breadcrumb a {
    color: #8a8577;
    text-decoration: none;
    transition: color .25s;
}

.blog-breadcrumb a:hover {
    color: var(--gold);
}

.blog-breadcrumb .active {
    color: var(--gold);
}

.blog-breadcrumb span {
    opacity: .5;
}

/* ==========================================================
   BLOG INDEX
========================================================== */

.blog-index-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 72px;
}

/* Featured lead */
.blog-featured {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 56px;
    align-items: center;
    padding-bottom: 72px;
    border-bottom: 1px solid rgba(0, 0, 0, .08);
}

.blog-featured-image {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 6px;
    background: #f4f0e4;
}

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

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

.blog-featured-body .about-num {
    display: inline-block;
    margin-bottom: 18px;
}

.blog-featured-body h2 {
    font-size: clamp(30px, 3.4vw, 44px);
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -.015em;
    color: var(--ink);
    margin: 0 0 22px;
}

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

.blog-featured-body h2 a:hover {
    color: var(--gold);
}

.blog-featured-body .blog-excerpt {
    font-size: 17px;
    line-height: 1.85;
    color: #4f4f4f;
    margin: 0 0 26px;
}

.blog-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    font-size: 12px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #8a8577;
}

.blog-meta-row div {
    display: flex;
    align-items: center;
    gap: 8px;
}

.blog-meta-row svg {
    color: var(--gold);
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 26px;
    padding: 14px 24px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--ink);
    text-decoration: none;
    transition: background .3s, color .3s;
}

.blog-read-more:hover {
    background: var(--gold);
    color: #fff;
    border-color: var(--gold);
}

/* Article grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 44px 36px;
}

.blog-card {
    display: flex;
    flex-direction: column;
    background: transparent;
}

.blog-card-image {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 6px;
    background: #f4f0e4;
    margin-bottom: 22px;
}

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

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

.blog-card-date {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 12px;
}

.blog-card h3 {
    font-size: 22px;
    line-height: 1.35;
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 12px;
    letter-spacing: -.005em;
}

.blog-card h3 a {
    color: inherit;
    text-decoration: none;
}

.blog-card h3 a:hover {
    color: var(--gold);
}

.blog-card p {
    font-size: 15px;
    line-height: 1.75;
    color: #5a5a5a;
    margin: 0 0 16px;
}

.blog-card-link {
    margin-top: auto;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--gold);
    text-decoration: none;
}

.blog-card-link::after {
    content: " →";
    transition: margin .2s;
    display: inline-block;
}

.blog-card-link:hover::after {
    margin-left: 6px;
}

.blog-empty {
    text-align: center;
    padding: 90px 20px;
    color: #7a7466;
    font-size: 15px;
    letter-spacing: .04em;
}

/* ==========================================================
   BLOG DETAIL
========================================================== */

.blog-detail-page .blog-cover {
    margin: 0 0 48px;
    border-radius: 6px;
    overflow: hidden;
    background: #f4f0e4;
}

.blog-detail-page .blog-cover img {
    width: 100%;
    max-height: 560px;
    object-fit: cover;
    display: block;
}

.blog-detail-header {
    max-width: 820px;
    margin: 0 auto 56px;
    text-align: center;
}

.blog-detail-header .about-num {
    display: inline-block;
    margin-bottom: 18px;
}

.blog-detail-header h1 {
    font-size: clamp(34px, 4.2vw, 56px);
    line-height: 1.12;
    font-weight: 700;
    letter-spacing: -.02em;
    color: var(--ink);
    margin: 0 0 28px;
}

.blog-detail-header h1::after {
    content: "";
    display: block;
    width: 42px;
    height: 2px;
    margin: 24px auto 0;
    background: var(--gold);
}

.blog-detail-header .blog-meta-row {
    justify-content: center;
}

/* Article body */
.blog-content {
    max-width: 760px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.9;
    color: #3f3f3f;
}

.blog-content>*:first-child {
    margin-top: 0;
}

.blog-content p {
    margin: 0 0 24px;
}

.blog-content h2 {
    position: relative;
    font-size: clamp(24px, 2.4vw, 32px);
    line-height: 1.25;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -.01em;
    margin: 56px 0 20px;
    padding-bottom: 16px;
}

.blog-content h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 36px;
    height: 2px;
    background: var(--gold);
}

.blog-content h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--ink);
    margin: 40px 0 16px;
}

.blog-content a {
    color: var(--ink);
    text-decoration: none;
    border-bottom: 1px solid var(--gold);
    transition: color .25s;
}

.blog-content a:hover {
    color: var(--gold);
}

.blog-content img {
    width: 100%;
    border-radius: 6px;
    margin: 40px 0;
    display: block;
}

.blog-content figure {
    margin: 40px 0;
}

.blog-content figcaption {
    margin-top: 12px;
    font-size: 13px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #8a8577;
    text-align: center;
}

.blog-content ul {
    list-style: disc !important;
    list-style-position: outside !important;
    padding-left: 28px !important;
    margin: 24px 0 !important;
}

.blog-content ol {
    list-style: decimal !important;
    list-style-position: outside !important;
    padding-left: 28px !important;
    margin: 24px 0 !important;
}

.blog-content li {
    display: list-item !important;
    list-style: inherit !important;
    margin-bottom: 12px;
    line-height: 1.8;
}

.blog-content ul li::marker {
    color: var(--gold);
}

.blog-content blockquote {
    position: relative;
    margin: 44px 0;
    padding: 28px 32px 28px 44px;
    border-left: 3px solid var(--gold);
    background: #faf7ee;
    border-radius: 0 6px 6px 0;
    font-size: 20px;
    line-height: 1.7;
    font-style: italic;
    color: var(--ink);
}

.blog-content blockquote::before {
    content: "\201C";
    position: absolute;
    left: 12px;
    top: -6px;
    font-size: 60px;
    color: var(--gold);
    font-family: Georgia, serif;
    line-height: 1;
    opacity: .5;
}

.blog-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 36px 0;
    font-size: 15px;
}

.blog-content th,
.blog-content td {
    border-bottom: 1px solid rgba(0, 0, 0, .08);
    padding: 14px 12px;
    text-align: left;
}

.blog-content th {
    background: #faf7ee;
    color: var(--ink);
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    font-size: 12px;
}

.blog-content code {
    padding: 3px 8px;
    background: #f4f0e4;
    border: 1px solid var(--line-strong);
    border-radius: 4px;
    color: var(--ink);
    font-family: 'SF Mono', Consolas, monospace;
    font-size: 14px;
}

/* Share */
.blog-share {
    max-width: 760px;
    margin: 72px auto 0;
    padding-top: 40px;
    border-top: 1px solid rgba(0, 0, 0, .08);
    text-align: center;
}

.blog-share h2 {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: var(--gold);
    margin: 0 0 22px;
}

.blog-share-buttons {
    display: inline-flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.blog-share-buttons a {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid var(--line-strong);
    color: var(--ink);
    text-decoration: none;
    transition: all .3s;
}

.blog-share-buttons a:hover {
    background: var(--gold);
    color: #fff;
    border-color: var(--gold);
    transform: translateY(-3px);
}

/* Author */
.blog-author {
    max-width: 760px;
    margin: 56px auto 0;
    padding: 32px;
    border-radius: 6px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .08);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .04);
    display: flex;
    gap: 24px;
    align-items: center;
}

.blog-author-avatar {
    width: 72px;
    height: 72px;
}

.blog-author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.blog-author-content h3 {
    margin: 0 0 8px;
    font-size: 18px;
    color: var(--ink);
    letter-spacing: .04em;
}

.blog-author-content p {
    margin: 0;
    color: #5a5a5a;
    line-height: 1.7;
    font-size: 15px;
}

/* Prev/Next */
.blog-navigation {
    max-width: 900px;
    margin: 72px auto 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.blog-nav-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 6px;
    padding: 24px 26px;
    text-decoration: none;
    transition: all .3s;
    display: block;
}

.blog-nav-card:hover {
    border-color: var(--gold);
    box-shadow: 0 12px 30px rgba(201, 168, 76, .12);
    transform: translateY(-3px);
}

.blog-nav-card small {
    display: block;
    color: var(--gold);
    margin-bottom: 10px;
    font-size: 11px;
    letter-spacing: .22em;
    text-transform: uppercase;
    font-weight: 600;
}

.blog-nav-card strong {
    color: var(--ink);
    line-height: 1.4;
    font-size: 16px;
    font-weight: 600;
}

.blog-nav-next {
    text-align: right;
}

/* Related */
.blog-related {
    max-width: 1200px;
    margin: 100px auto 0;
    padding-top: 72px;
    border-top: 1px solid rgba(0, 0, 0, .08);
}

.blog-related .section-head {
    text-align: center;
    margin-bottom: 48px;
}

.blog-related .section-head h2 {
    font-size: clamp(24px, 2.4vw, 32px);
    color: var(--ink);
    margin: 0;
    letter-spacing: -.01em;
}

.blog-related .section-head h2::after {
    content: "";
    display: block;
    width: 42px;
    height: 2px;
    margin: 18px auto 0;
    background: var(--gold);
}

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

.blog-related-card {
    background: transparent;
}

.blog-related-image {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 6px;
    background: #f4f0e4;
    margin-bottom: 18px;
}

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

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

.blog-related-date {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gold);
    font-size: 11px;
    letter-spacing: .2em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.blog-related-body h3 {
    margin: 0;
    font-size: 19px;
    line-height: 1.4;
    font-weight: 700;
    color: var(--ink);
}

.blog-related-body a {
    color: inherit;
    text-decoration: none;
}

.blog-related-body a:hover {
    color: var(--gold);
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
    .blog-featured {
        grid-template-columns: 1fr;
        gap: 32px;
        padding-bottom: 56px;
    }

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

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

    .blog-nav-next {
        text-align: left;
    }

    .blog-author {
        flex-direction: column;
        text-align: center;
        padding: 26px;
    }
}

@media (max-width: 600px) {

    .blog-page .service-intro,
    .blog-detail-page .service-intro {
        padding: 60px 0 90px;
    }

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

    .blog-detail-page .blog-cover img {
        max-height: 320px;
    }

    .blog-content {
        font-size: 16px;
        line-height: 1.85;
    }

    .blog-content blockquote {
        padding: 22px 22px 22px 32px;
        font-size: 17px;
    }
}