/* Modern blog pages */

.blog-index-page,
.blog-detail-page {
    background:
        radial-gradient(circle at 10% 0%, rgba(199, 148, 76, 0.14), transparent 34%),
        linear-gradient(180deg, #fffaf3 0%, #ffffff 38%, #f8efe5 100%);
}

.blog-hero {
    padding: 54px 0 12px;
}

.blog-hero-card {
    position: relative;
    overflow: hidden;
    border-radius: 34px;
    padding: clamp(2rem, 4vw, 4.5rem);
    color: #fff;
    background:
        linear-gradient(135deg, rgba(7, 33, 65, 0.94), rgba(18, 75, 123, 0.88)),
        url('../img/hero/hero-1.jpg') center/cover;
    box-shadow: 0 26px 70px rgba(12, 40, 72, 0.22);
}

.blog-hero-card::after {
    content: "";
    position: absolute;
    inset: auto -80px -120px auto;
    width: 280px;
    height: 280px;
    border-radius: 999px;
    background: rgba(212, 166, 94, 0.22);
}

.blog-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.85rem;
    color: #c18b43;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.blog-hero-card .blog-eyebrow {
    color: #ffd99b;
}

.blog-hero-card h1 {
    position: relative;
    z-index: 1;
    max-width: 860px;
    margin: 0 0 1rem;
    color: #fff;
    font-family: 'Lora', Georgia, serif;
    font-size: clamp(2.1rem, 5vw, 4.4rem);
    line-height: 1.02;
}

.blog-hero-card p {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.08rem;
}

.blog-section,
.blog-details-section {
    padding: 56px 0 82px;
}

.blog-item {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(139, 102, 71, 0.13);
    border-radius: 28px;
    background: linear-gradient(180deg, #ffffff 0%, #fffaf4 100%);
    box-shadow: 0 22px 56px rgba(18, 47, 94, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.blog-item:hover {
    transform: translateY(-6px);
    border-color: rgba(193, 139, 67, 0.28);
    box-shadow: 0 30px 76px rgba(18, 47, 94, 0.14);
}

.blog-thumb {
    display: block;
    overflow: hidden;
    background: #f2eadf;
}

.blog-thumb img {
    width: 100%;
    height: 245px;
    display: block;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.blog-item:hover .blog-thumb img {
    transform: scale(1.045);
}

.blog-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1.55rem;
}

.blog-card-meta,
.blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem 1.15rem;
    color: #6c7480;
    font-size: 0.92rem;
}

.blog-card-meta {
    margin-bottom: 0.75rem;
}

.blog-card-meta i,
.blog-meta i {
    color: #b78342;
    margin-inline-end: 0.35rem;
}

.blog-title {
    margin: 0 0 0.85rem;
    color: #122640;
    font-family: 'Lora', Georgia, serif;
    line-height: 1.15;
}

.blog-item .blog-title {
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
}

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

.blog-title a:hover {
    color: #b78342;
}

.blog-excerpt {
    flex: 1;
    margin-bottom: 1.2rem;
    color: #5d6673;
    line-height: 1.7;
}

.blog-read-more,
.blog-show-more,
.blog-sidebar-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: 0;
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.blog-read-more {
    align-self: flex-start;
    color: #0f4ea5;
}

.blog-read-more:hover {
    color: #b78342;
    transform: translateX(3px);
}

[dir="rtl"] .blog-read-more:hover {
    transform: translateX(-3px);
}

.blog-show-more {
    min-width: 150px;
    padding: 0.9rem 1.35rem;
    color: #fff;
    background: #122f57;
    box-shadow: 0 14px 32px rgba(18, 47, 94, 0.18);
}

.blog-show-more:hover {
    background: #0c2442;
    transform: translateY(-2px);
}

.blog-show-more:disabled {
    opacity: 0.65;
    cursor: wait;
    transform: none;
}

.blog-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-bottom: 1.6rem;
    color: #7b8491;
    font-size: 0.95rem;
}

.blog-breadcrumb a {
    color: #245ca8;
    text-decoration: none;
}

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

.blog-details {
    padding-right: 2.2rem;
}

[dir="rtl"] .blog-details {
    padding-right: 15px;
    padding-left: 2.2rem;
}

.blog-detail-page .blog-title {
    max-width: 920px;
    margin-bottom: 1.1rem;
    font-size: clamp(2.15rem, 4.5vw, 4rem);
}

.blog-meta {
    margin-bottom: 1.6rem;
}

.blog-featured-image {
    width: 100%;
    max-height: 560px;
    margin-bottom: 2.1rem;
    border-radius: 24px;
    object-fit: cover;
    box-shadow: 0 20px 52px rgba(18, 47, 94, 0.12);
}

.blog-text {
    color: #202938;
    font-size: 1.07rem;
    line-height: 1.86;
}

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

.blog-text p {
    margin-bottom: 1.15rem;
}

.blog-text h2,
.blog-text h3,
.blog-text h4 {
    margin: 2rem 0 0.85rem;
    color: #13253f;
    font-family: 'Lora', Georgia, serif;
}

.blog-text blockquote {
    margin: 2rem 0;
    padding: 1.1rem 1.4rem;
    border-inline-start: 4px solid #c18b43;
    border-radius: 0 18px 18px 0;
    background: #fff7eb;
    color: #5c4b37;
    font-family: 'Lora', Georgia, serif;
    font-size: 1.18rem;
    font-style: italic;
}

[dir="rtl"] .blog-text blockquote {
    border-radius: 18px 0 0 18px;
}

.blog-share-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.8rem;
    margin-top: 2.4rem;
    padding-top: 1.4rem;
    border-top: 1px solid rgba(139, 102, 71, 0.16);
}

.blog-share-row span {
    color: #122640;
    font-size: 0.85rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.blog-share-row a {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #fff;
    background: #18375e;
    text-decoration: none;
}

.blog-share-row a:nth-of-type(2) {
    background: #1da1f2;
}

.blog-share-row a:nth-of-type(3) {
    background: #25d366;
}

.blog-sidebar {
    position: sticky;
    top: 105px;
    padding: 1.65rem;
    border: 1px solid rgba(139, 102, 71, 0.13);
    border-radius: 28px;
    background: linear-gradient(180deg, #ffffff 0%, #fffaf5 100%);
    box-shadow: 0 22px 56px rgba(18, 47, 94, 0.08);
}

.blog-sidebar h2 {
    margin-bottom: 1.2rem;
    color: #13253f;
    font-family: 'Lora', Georgia, serif;
    font-size: 1.8rem;
}

.blog-sidebar h2::after {
    content: "";
    display: block;
    width: 64px;
    height: 2px;
    margin-top: 0.7rem;
    background: #c18b43;
}

.related-post + .related-post {
    margin-top: 1.45rem;
    padding-top: 1.45rem;
    border-top: 1px solid rgba(139, 102, 71, 0.14);
}

.related-post img {
    width: 100%;
    height: 165px;
    margin-bottom: 0.8rem;
    border-radius: 16px;
    object-fit: cover;
}

.related-post time {
    display: block;
    margin-bottom: 0.35rem;
    color: #7a8491;
    font-size: 0.88rem;
}

.related-post h3 {
    margin: 0 0 0.45rem;
    color: #122640;
    font-family: 'Lora', Georgia, serif;
    font-size: 1.18rem;
    line-height: 1.24;
}

.related-post h3 a {
    color: inherit;
    text-decoration: none;
}

.related-post h3 a:hover {
    color: #b78342;
}

.related-post p {
    margin: 0;
    color: #5d6673;
    line-height: 1.6;
}

.blog-sidebar-link {
    width: 100%;
    margin-top: 1.4rem;
    padding: 0.9rem 1.1rem;
    color: #0f4ea5;
    border: 1px solid rgba(15, 78, 165, 0.16);
    background: #fff;
}

.blog-sidebar-link:hover {
    color: #fff;
    background: #122f57;
}

@media (max-width: 991.98px) {
    .blog-hero {
        padding-top: 32px;
    }

    .blog-details,
    [dir="rtl"] .blog-details {
        padding-right: 15px;
        padding-left: 15px;
        margin-bottom: 2rem;
    }

    .blog-sidebar {
        position: static;
    }
}

@media (max-width: 767.98px) {
    .blog-section,
    .blog-details-section {
        padding: 36px 0 58px;
    }

    .blog-hero-card {
        border-radius: 24px;
        padding: 1.65rem;
    }

    .blog-thumb img {
        height: 210px;
    }

    .blog-content,
    .blog-sidebar {
        padding: 1.2rem;
    }

    .blog-featured-image {
        border-radius: 18px;
        margin-bottom: 1.45rem;
    }

    .blog-meta {
        gap: 0.55rem 0.9rem;
    }
}
