/* ===== Blog Listing ===== */
.blog-listing {
    padding: 160px 0 100px;
    background: #faf9f8;
}

.blog-listing__title {
    font-family: 'Figtree', sans-serif;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #A0A0A0;
    text-align: center;
    margin: 0 0 60px;
}

/* ===== Blog Grid ===== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 32px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.blog-card {
    background: #fff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.blog-card__link {
    display: flex;
    flex-direction: column;
    flex: 1;
    text-decoration: none;
    color: inherit;
}

.blog-card__image {
    display: block;
    aspect-ratio: 3/2;
    overflow: hidden;
    flex-shrink: 0;
}

.blog-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-card__image--placeholder {
    background: #f0ece8;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
}

.blog-card:hover .blog-card__image img {
    transform: scale(1.06);
}

.blog-card__body {
    padding: 24px 28px 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
    border: 1px solid #ede9e5;
    border-top: none;
}

.blog-card__date {
    display: block;
    font-size: 11px;
    font-weight: 500;
    color: #D7A67B;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}

.blog-card__title {
    font-family: 'Figtree', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #2A2220;
    margin: 0 0 12px;
    line-height: 1.4;
    transition: color 0.2s;
}

.blog-card:hover .blog-card__title {
    color: #D7A67B;
}

.blog-card__excerpt {
    font-size: 14px;
    color: #7A7A7A;
    line-height: 1.65;
    margin: 0 0 20px;
    flex: 1;
}

.blog-card__more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #2A2220;
    text-decoration: none;
    border-bottom: 1px solid #2A2220;
    padding-bottom: 2px;
    width: fit-content;
    transition: color 0.2s, border-color 0.2s;
}

.blog-card:hover .blog-card__more {
    color: #D7A67B;
    border-color: #D7A67B;
}

.blog-listing__empty {
    text-align: center;
    padding: 60px 20px;
    color: #A0A0A0;
    font-size: 18px;
}

/* ===== Blog Post Detail ===== */
.blog-post-detail {
    background: #fff;
    padding-top: 80px; /* fixed header clearance */
}

/* Full-width hero image */
.blog-post-detail__hero {
    width: 100%;
    max-height: 560px;
    overflow: hidden;
}

.blog-post-detail__hero img {
    width: 100%;
    height: 100%;
    max-height: 560px;
    object-fit: cover;
    display: block;
}

.blog-post-detail__hero--empty {
    height: 80px;
}

/* Header wrap: breadcrumb + title block */
.blog-post-detail__header-wrap {
    max-width: 800px;
    margin: 0 auto;
    padding: 48px 40px 40px;
    text-align: center;
}

.blog-post-detail__back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #A0A0A0;
    text-decoration: none;
    margin-bottom: 32px;
    transition: color 0.2s;
}

.blog-post-detail__back:hover {
    color: #D7A67B;
}

.blog-post-detail__date {
    display: block;
    font-size: 11px;
    font-weight: 500;
    color: #D7A67B;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}

.blog-post-detail__title {
    font-family: 'Figtree', sans-serif;
    font-size: 38px;
    font-weight: 700;
    color: #2A2220;
    line-height: 1.25;
    margin: 0 0 20px;
}

.blog-post-detail__excerpt {
    font-size: 18px;
    color: #7A7A7A;
    line-height: 1.65;
    margin: 0;
}

/* Divider line between header and body */
.blog-post-detail__header-wrap::after {
    content: '';
    display: block;
    width: 48px;
    height: 2px;
    background: #D7A67B;
    margin: 36px auto 0;
}

/* Article body */
.blog-post-detail__body {
    max-width: 760px;
    margin: 0 auto;
    padding: 48px 40px 80px;
}

/* Footer back link */
.blog-post-detail__footer {
    margin-top: 60px;
    padding-top: 32px;
    border-top: 1px solid #ede9e5;
}

.blog-post-detail__back-bottom {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #2A2220;
    text-decoration: none;
    border-bottom: 1px solid #2A2220;
    padding-bottom: 2px;
    transition: color 0.2s, border-color 0.2s;
}

.blog-post-detail__back-bottom:hover {
    color: #D7A67B;
    border-color: #D7A67B;
}

/* ===== Blog Block Styles ===== */
.blog-post-detail__body {
    font-family: 'Figtree', sans-serif;
    font-size: 17px;
    line-height: 1.8;
    color: #4A4A4A;
}

.blog-block {
    margin-bottom: 24px;
}

.blog-block--heading {
    font-family: 'Figtree', sans-serif;
    font-weight: 600;
    color: #2A2220;
    margin-top: 40px;
    margin-bottom: 16px;
}

h2.blog-block--heading { font-size: 28px; }
h3.blog-block--heading { font-size: 22px; }
h4.blog-block--heading { font-size: 18px; }

.blog-block--paragraph {
    line-height: 1.8;
}

.blog-block--quote {
    border-left: 3px solid #D7A67B;
    padding: 16px 24px;
    margin: 32px 0;
    background: rgba(215, 166, 123, 0.05);
    font-style: italic;
}

.blog-block--quote p {
    margin: 0;
}

.blog-block--quote cite {
    display: block;
    margin-top: 8px;
    font-size: 14px;
    font-style: normal;
    color: #A0A0A0;
}

.blog-block--list {
    padding-left: 24px;
    list-style: disc;
}

.blog-block--list li {
    margin-bottom: 8px;
}

.blog-block--separator {
    border: none;
    border-top: 1px solid #e8e0d8;
    margin: 32px 0;
}

.blog-block--table-wrap {
    margin: 28px 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.blog-block--table {
    width: 100%;
    border-collapse: collapse;
    font-size: .88rem;
    line-height: 1.5;
}

.blog-block--table th,
.blog-block--table td {
    padding: 10px 14px;
    border: 1px solid #e0d8d0;
    text-align: left;
    vertical-align: top;
}

.blog-block--table thead th {
    background: #f5f0eb;
    font-weight: 600;
    color: #2d2820;
}

.blog-block--table tbody tr:nth-child(even) {
    background: #faf8f5;
}

.blog-block--image {
    margin: 32px 0;
}

.blog-block--image img {
    width: 100%;
    height: auto;
    display: block;
}

.blog-block--image figcaption {
    font-size: 14px;
    color: #A0A0A0;
    text-align: center;
    margin-top: 8px;
    font-style: italic;
}

.blog-block--video {
    margin: 32px 0;
}

.blog-video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.blog-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.blog-video-caption {
    font-size: 14px;
    color: #A0A0A0;
    text-align: center;
    margin-top: 8px;
}

/* ===== Blog Carousel ===== */
.blog-block--carousel {
    margin: 32px 0;
}

.blog-block--carousel img {
    width: 100%;
    height: auto;
}

.blog-carousel__pagination {
    text-align: center;
    margin-top: 12px;
}

.blog-carousel__pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #D7A67B;
}


/* ===== Empty state ===== */
.blog-empty {
    text-align: center;
    padding: 60px 20px;
    color: #A0A0A0;
    font-size: 18px;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .blog-grid { grid-template-columns: repeat(2, 1fr); padding: 0 24px; }
}

@media (max-width: 640px) {
    .blog-listing { padding: 110px 0 60px; }
    .blog-grid { grid-template-columns: 1fr; padding: 0 20px; gap: 28px; }

    .blog-post-detail { padding-top: 60px; }
    .blog-post-detail__hero { max-height: 280px; }
    .blog-post-detail__hero img { max-height: 280px; }
    .blog-post-detail__header-wrap { padding: 32px 20px 28px; }
    .blog-post-detail__title { font-size: 26px; }
    .blog-post-detail__excerpt { font-size: 16px; }
    .blog-post-detail__body { padding: 32px 20px 60px; }
}
