/* ============================================================
   Shared Blog Styles — listing, single post, author profile
   ============================================================ */

.faq-page-section {
    background-color: #fff9ed;
}

/* ---- Listing layout ---- */
.blog-layout {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 40px;
    align-items: start;
}

.blog-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

/* ---- Sidebar widgets (shared across listing / single / author) ---- */
.blog-sidebar,
.post-sidebar {
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.post-sidebar {
    position: sticky;
    top: 130px;
}

.blog-widget {
    background: #fff;
    border-radius: 18px;
    padding: 26px 26px 28px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.07);
    transition: box-shadow 0.2s ease;
}

.blog-widget:hover {
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.1);
}

.blog-widget h3 {
    font-family: "Inter", sans-serif;
    font-weight: 700;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #0b0e09;
    margin: 0 0 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f8cf62;
}

.blog-search {
    display: flex;
    border: 1px solid #e5ddca;
    border-radius: 30px;
    overflow: hidden;
}

.blog-search input {
    flex: 1;
    border: none;
    outline: none;
    padding: 12px 18px;
    font-family: "Segoe UI", "Segoe UI Emoji", sans-serif;
    font-size: 14px;
}

.blog-search button {
    border: none;
    background: linear-gradient(135deg, #f8cf62, #d29d39);
    color: #1a0e00;
    padding: 0 20px;
    cursor: pointer;
}

/* Table of contents */
.post-toc {
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: toc-counter;
}

.post-toc li {
    counter-increment: toc-counter;
    margin-bottom: 4px;
}

.post-toc a {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-family: "Segoe UI", "Segoe UI Emoji", sans-serif;
    font-size: 14.5px;
    line-height: 1.4;
    color: #2a2a2a;
    text-decoration: none;
    padding: 8px 8px;
    border-radius: 8px;
    transition: background 0.15s ease, color 0.15s ease;
}

.post-toc a::before {
    content: counter(toc-counter);
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff3d9;
    color: #b9862a;
    font-family: "Inter", sans-serif;
    font-weight: 700;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.post-toc a:hover,
.post-toc a.is-active {
    background: #fff9ed;
    color: #b9862a;
}

.post-toc a.is-active::before {
    background: linear-gradient(135deg, #f8cf62, #d29d39);
    color: #1a0e00;
}

.blog-cat-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.blog-cat-list li {
    border-bottom: 1px solid #f1ece0;
}

.blog-cat-list li:last-child {
    border-bottom: none;
}

.blog-cat-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 2px;
    font-family: "Segoe UI", "Segoe UI Emoji", sans-serif;
    font-size: 15px;
    color: #2a2a2a;
    text-decoration: none;
}

.blog-cat-list a:hover,
.blog-cat-list a.is-active {
    color: #b9862a;
}

.blog-cat-list span {
    font-family: "Inter", sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #b9862a;
    background: #fff3d9;
    border-radius: 20px;
    padding: 2px 10px;
}

.blog-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.blog-tag-cloud a {
    font-family: "Segoe UI", "Segoe UI Emoji", sans-serif;
    font-size: 13px;
    color: #2a2a2a;
    background: #fff9ed;
    border: 1px solid #ecdfb9;
    border-radius: 30px;
    padding: 6px 16px;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.blog-tag-cloud a:hover,
.blog-tag-cloud a.is-active {
    background: linear-gradient(135deg, #f8cf62, #d29d39);
    color: #1a0e00;
    border-color: transparent;
}

.blog-widget-cta {
    background: linear-gradient(135deg, #f8cf62, #d29d39);
    text-align: center;
}

.blog-widget-cta h3 {
    border-bottom: none;
    color: #1a0e00;
}

.blog-widget-cta p {
    font-family: "Segoe UI", "Segoe UI Emoji", sans-serif;
    font-size: 14px;
    color: #1a0e00;
    margin-bottom: 18px;
}

.blog-recent-item {
    display: flex;
    gap: 14px;
    align-items: center;
}

.blog-recent-item + .blog-recent-item {
    margin-top: 16px;
}

.blog-recent-item__img {
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    border-radius: 12px;
    overflow: hidden;
}

.blog-recent-item__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog-recent-item__body a {
    font-family: "Inter", sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: #0b0e09;
    text-decoration: none;
    line-height: 1.35;
}

.blog-recent-item__body a:hover {
    color: #b9862a;
}

.blog-recent-item__body span {
    display: block;
    font-family: "Segoe UI", "Segoe UI Emoji", sans-serif;
    font-size: 12px;
    color: #9a9a9a;
    margin-top: 4px;
}

/* ---- Article/post cards (listing + author-profile grids) ---- */
.author-articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1100px;
    margin: 0 auto;
}

.author-article-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.author-article-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.14);
}

.author-article-card__img {
    width: 100%;
    overflow: hidden;
}

.author-article-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.author-article-card:hover .author-article-card__img img {
    transform: scale(1.06);
}

.author-article-card__body {
    padding: 22px 24px 26px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.author-article-card__tag {
    display: inline-block;
    width: fit-content;
    font-family: "Inter", sans-serif;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(135deg, #f8cf62, #d29d39);
    padding: 5px 14px;
    border-radius: 30px;
    margin-bottom: 12px;
}

.author-article-card__body h2 {
    font-family: "Inter", sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #0b0e09;
    margin: 0 0 8px;
    line-height: 1.3;
    text-transform: none;
}

.author-article-card__body p {
    font-family: "Segoe UI", "Segoe UI Emoji", sans-serif;
    font-size: 14.5px;
    line-height: 1.6;
    color: #2a2a2a;
    margin: 0 0 14px;
    flex: 1;
}

.author-article-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    font-family: "Segoe UI", "Segoe UI Emoji", sans-serif;
    font-size: 12.5px;
    color: #7a7a7a;
    margin-bottom: 14px;
}

.author-article-card__meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.author-article-card__meta i {
    color: #d29d39;
}

.author-article-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: "Inter", sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #b9862a;
    text-decoration: none;
    transition: gap 0.2s ease, color 0.2s ease;
}

.author-article-card__link i {
    font-size: 11px;
    transition: transform 0.2s ease;
}

.author-article-card__link:hover {
    color: #8a6620;
    gap: 11px;
}

.author-article-card__link:hover i {
    transform: translateX(2px);
}

/* ---- Related posts (single post page) ---- */
.related-posts-title {
    text-align: center;
    margin-bottom: 36px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1280px;
    margin: 0 auto;
}

.related-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.related-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.14);
}

.related-card__img {
    height: 180px;
    overflow: hidden;
}

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

.related-card:hover .related-card__img img {
    transform: scale(1.06);
}

.related-card__body {
    padding: 22px 24px 26px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.related-card__tag {
    display: inline-block;
    width: fit-content;
    font-family: "Inter", sans-serif;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #c9992e;
    margin-bottom: 8px;
}

.related-card__body h3 {
    font-family: "Inter", sans-serif;
    font-weight: 700;
    font-size: 17px;
    color: #0b0e09;
    margin: 0 0 10px;
    line-height: 1.35;
}

.related-card__body p {
    font-family: "Segoe UI", "Segoe UI Emoji", sans-serif;
    font-size: 14.5px;
    line-height: 1.6;
    color: #5a5a5a;
    margin: 0 0 18px;
    flex: 1;
}

.related-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: fit-content;
    font-family: "Inter", sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #b9862a;
    background: transparent;
    border: 1.5px solid #d29d39;
    border-radius: 30px;
    padding: 9px 20px;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.related-card__btn i {
    font-size: 11px;
    transition: transform 0.2s ease;
}

.related-card__btn:hover {
    background: linear-gradient(135deg, #f8cf62, #d29d39);
    color: #1a0e00;
    border-color: transparent;
}

.related-card__btn:hover i {
    transform: translateX(3px);
}

/* ============================================================
   Single Post Page
   ============================================================ */

.post-category-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: "Inter", sans-serif;
    font-weight: 700;
    font-size: 11.5px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(135deg, #f8cf62, #d29d39);
    padding: 7px 16px;
    border-radius: 30px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.post-layout {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 44px;
    align-items: start;
}

.post-main {
    min-width: 0;
}

.post-featured-wrap {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 34px rgba(0, 0, 0, 0.14);
    margin-bottom: 28px;
}

.post-featured-wrap img {
    width: 100%;
    height: auto;
    display: block;
}

.post-featured-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 18px;
    margin: 16px 0 30px;
    font-family: "Segoe UI", "Segoe UI Emoji", sans-serif;
    font-size: 13.5px;
    color: #7a7a7a;
}

.post-featured-meta span:not(.post-category-pill) {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.post-featured-meta i {
    color: #d29d39;
}

@media (max-width: 767px) {
    .post-featured-meta {
        gap: 10px 14px;
        font-size: 12.5px;
    }
}

.post-article {
    position: relative;
    background: #fff;
    border-radius: 20px;
    padding: 44px 44px 40px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.07);
    overflow: hidden;
}

.post-article::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #f8cf62, #d29d39);
}

.post-lead {
    font-size: 19px !important;
    font-weight: 500;
    color: #333 !important;
}

.post-article h2 {
    font-family: "Inter", sans-serif;
    font-weight: 700;
    font-size: 26px;
    color: #0b0e09;
    text-transform: none;
    margin: 38px 0 16px;
    scroll-margin-top: 120px;
}

.post-article h2:first-of-type {
    margin-top: 0;
}

.post-article h3 {
    font-family: "Inter", sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: #0b0e09;
    text-transform: none;
    margin: 26px 0 12px;
    scroll-margin-top: 120px;
}

.post-article ol,
.post-article ul {
    margin: 0 0 18px;
    padding-left: 20px;
}

.post-article ol li,
.post-article ul li {
    font-family: "Segoe UI", "Segoe UI Emoji", sans-serif;
    font-size: 17px;
    line-height: 1.7;
    color: #2a2a2a;
    margin-bottom: 8px;
}

.post-table-wrap {
    overflow-x: auto;
    margin: 0 0 22px;
    border-radius: 12px;
    border: 1px solid #eee2c8;
}

.post-table {
    width: 100%;
    border-collapse: collapse;
    font-family: "Segoe UI", "Segoe UI Emoji", sans-serif;
    font-size: 14.5px;
    min-width: 560px;
}

.post-table th,
.post-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #f0e8d4;
    border-right: 1px solid #f0e8d4;
    color: #2a2a2a;
    line-height: 1.5;
    vertical-align: top;
}

.post-table th:last-child,
.post-table td:last-child {
    border-right: none;
}

.post-table thead th {
    background: linear-gradient(135deg, #f8cf62, #d29d39);
    color: #1a0e00;
    font-family: "Inter", sans-serif;
    font-weight: 700;
    font-size: 13.5px;
    border-right-color: rgba(255, 255, 255, 0.35);
}

.post-table tbody tr:nth-child(even) {
    background: #fffaf0;
}

.post-table tbody th {
    font-family: "Inter", sans-serif;
    font-weight: 700;
    color: #0b0e09;
    background: #fff6e2;
}

.post-article p {
    font-family: "Segoe UI", "Segoe UI Emoji", sans-serif;
    font-size: 17px;
    line-height: 1.75;
    color: #2a2a2a;
    margin: 0 0 16px;
}

.post-quote {
    border-left: 4px solid #d29d39;
    background: #fff9ed;
    border-radius: 0 12px 12px 0;
    padding: 22px 26px;
    margin: 28px 0;
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-size: 19px;
    font-style: italic;
    color: #6b5117;
}

/* ==== Premium FAQ accordion ==== */
.post-faq {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 8px;
    scroll-margin-top: 120px;
}

.post-faq-item {
    border: 1px solid #eee2c8;
    border-radius: 14px;
    background: #fffdf8;
    overflow: hidden;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.post-faq-item.open {
    border-color: transparent;
    background: #fff;
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.1);
}

.post-faq-item__q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    width: 100%;
    margin: 0;
    padding: 20px 22px;
    cursor: pointer;
    font-family: "Inter", sans-serif;
    font-weight: 700;
    font-size: 17px;
    color: #0b0e09;
    line-height: 1.4;
    text-align: left;
    background: transparent;
    border: none;
    transition: color 0.25s ease;
}

.post-faq-item.open .post-faq-item__q {
    color: #b9862a;
}

/* CSS-drawn +/- icon (no font glyphs) */
.post-faq-item__icon {
    position: relative;
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f8cf62, #d29d39);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.post-faq-item.open .post-faq-item__icon {
    transform: rotate(135deg);
}

.post-faq-item__icon::before,
.post-faq-item__icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    background: #1a0e00;
    border-radius: 2px;
}

.post-faq-item__icon::before {
    width: 12px;
    height: 2px;
    transform: translate(-50%, -50%);
}

.post-faq-item__icon::after {
    width: 2px;
    height: 12px;
    transform: translate(-50%, -50%);
}

/* Grid 0fr -> 1fr slide (never clips text, no JS height needed) */
.post-faq-item__a {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.post-faq-item.open .post-faq-item__a {
    grid-template-rows: 1fr;
}

.post-faq-item__a-inner {
    min-height: 0;
    overflow: hidden;
}

.post-faq-item__a-inner p {
    margin: 0;
    padding: 0 22px 22px;
    font-family: "Segoe UI", "Segoe UI Emoji", sans-serif;
    font-size: 16px !important;
    line-height: 1.7;
    color: #2a2a2a;
}

.post-share-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 30px;
}

.post-share-row span {
    font-family: "Inter", sans-serif;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #0b0e09;
}

.post-share-row a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #b9862a;
    background: #fff9ed;
    border: 1px solid #ecdfb9;
    transition: background 0.2s ease, color 0.2s ease;
    text-decoration: none;
}

.post-share-row a:hover {
    background: linear-gradient(135deg, #f8cf62, #d29d39);
    color: #1a0e00;
    border-color: transparent;
}

.post-tags-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 34px;
    padding-top: 26px;
    border-top: 1px solid #eee2c8;
}

.post-tags-row strong {
    font-family: "Inter", sans-serif;
    font-size: 14px;
    color: #0b0e09;
}

.post-tags-row a {
    font-family: "Segoe UI", "Segoe UI Emoji", sans-serif;
    font-size: 13px;
    color: #2a2a2a;
    background: #fff9ed;
    border: 1px solid #ecdfb9;
    border-radius: 30px;
    padding: 6px 16px;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.post-tags-row a:hover {
    background: linear-gradient(135deg, #f8cf62, #d29d39);
    color: #1a0e00;
    border-color: transparent;
}

.post-author-box {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-top: 28px;
    padding: 24px 26px;
    background: #fff9ed;
    border-radius: 16px;
    border: 2px solid #f4ca5e;
}

.post-author-box__avatar {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #1a0e00;
    background: linear-gradient(180deg, #f8cf62 0%, #d29d39 100%);
    border: 2px solid #f3e2b8;
}

.post-author-box__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.post-author-box__body {
    flex: 1;
    min-width: 0;
}

.post-author-box h4 {
    font-family: "Inter", sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #0b0e09;
    margin: 0 0 4px;
}

.post-author-box h4 a {
    color: inherit;
    text-decoration: none;
}

.post-author-box h4 a:hover {
    color: #b9862a;
}

.post-author-box p {
    font-family: "Segoe UI", "Segoe UI Emoji", sans-serif;
    font-size: 14px;
    color: #5a5a5a;
    margin: 0;
}

.post-author-box__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid #eee2c8;
}

.post-author-box__social {
    display: flex;
    gap: 10px;
}

.post-author-box__social a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12.5px;
    color: #b9862a;
    background: #fff;
    border: 1px solid #ecdfb9;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.post-author-box__social a:hover {
    background: linear-gradient(135deg, #f8cf62, #d29d39);
    color: #1a0e00;
    border-color: transparent;
}

.post-author-box__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: "Inter", sans-serif;
    font-weight: 700;
    font-size: 12.5px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #b9862a;
    border: 1.5px solid #d29d39;
    border-radius: 30px;
    padding: 8px 18px;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.post-author-box__btn i {
    font-size: 11px;
    transition: transform 0.2s ease;
}

.post-author-box__btn:hover {
    background: linear-gradient(135deg, #f8cf62, #d29d39);
    color: #1a0e00;
    border-color: transparent;
}

.post-author-box__btn:hover i {
    transform: translateX(3px);
}

@media (max-width: 480px) {
    .post-author-box {
        flex-direction: column;
        align-items: flex-start;
    }
}

.post-article a {
    color: #d29d39;
    font-weight: 600;
    text-decoration: none;
}

/* ---- Prev / next post navigation ---- */
.post-prev-next {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 24px;
}

.post-prev-next__link {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 48%;
    background: #fff;
    border-radius: 16px;
    padding: 16px 20px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.07);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.post-prev-next__link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.1);
}

.post-prev-next__link--next {
    margin-left: auto;
    text-align: right;
    flex-direction: row-reverse;
}

.post-prev-next__link i {
    flex-shrink: 0;
    color: #d29d39;
    font-size: 15px;
}

.post-prev-next__link span {
    display: flex;
    flex-direction: column;
    min-width: 0;
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: #0b0e09;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.post-prev-next__link small {
    font-family: "Inter", sans-serif;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #b9862a;
    margin-bottom: 2px;
}

@media (max-width: 600px) {
    .post-prev-next {
        flex-direction: column;
    }
    .post-prev-next__link,
    .post-prev-next__link--next {
        max-width: 100%;
        margin-left: 0;
    }
}

/* ============================================================
   Author Profile Page
   ============================================================ */

.author-cover {
    position: relative;
    min-height: clamp(240px, 26vw, 340px);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: clamp(90px, 12vw, 130px) 20px clamp(28px, 4vw, 44px);
    background: url(../images/about-us-hero-banner.png) center/cover no-repeat;
}

.author-cover h1 {
    position: relative;
    margin: 0;
    font-family: "Inter", sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    font-size: clamp(30px, 5vw, 56px);
    text-align: center;
    background: linear-gradient(0deg, #f8cf62, #d29d39);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.profile-card-section {
    position: relative;
    background: #fff9ed;
}

.profile-card {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    border-radius: 24px;
    padding: 44px 40px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.14);
}

.profile-avatar {
    width: 150px;
    height: 150px;
    margin: -119px auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    color: #d29d39;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

@media (max-width: 600px) {
    .profile-avatar {
        width: 120px;
        height: 120px;
        margin-top: -94px;
    }
}

.profile-name {
    font-family: "Inter", sans-serif;
    font-weight: 700;
    font-size: clamp(26px, 3.4vw, 36px);
    color: #0b0e09;
    margin: 0 0 6px;
    text-transform: none;
}

.profile-title {
    font-family: "Segoe UI", "Segoe UI Emoji", sans-serif;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.02em;
    color: #b9862a;
    margin: 0 0 20px;
}

.profile-specialty {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 22px;
}

.profile-specialty span {
    font-family: "Segoe UI", "Segoe UI Emoji", sans-serif;
    font-size: 13px;
    color: #2a2a2a;
    background: #fff9ed;
    border: 1px solid #ecdfb9;
    border-radius: 30px;
    padding: 7px 18px;
}

.profile-social {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 26px;
}

.profile-bio {
    max-width: 620px;
    margin: 0 auto 30px;
    font-family: "Segoe UI", "Segoe UI Emoji", sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #2a2a2a;
}

.profile-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 34px;
    padding-top: 26px;
    border-top: 1px solid #f1ece0;
}

.profile-stat {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
}

.profile-stat__icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #b9862a;
    background: linear-gradient(135deg, rgba(248, 207, 98, 0.16), rgba(210, 157, 57, 0.06));
    border: 1px solid rgba(210, 157, 57, 0.35);
}

.profile-stat__num {
    font-family: "Inter", sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: #0b0e09;
    line-height: 1.2;
}

.profile-stat__label {
    font-family: "Segoe UI", "Segoe UI Emoji", sans-serif;
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #7a7a7a;
}

@media (max-width: 600px) {
    .profile-card {
        padding: 34px 20px;
    }
    .profile-stats {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 24px 16px;
    }
    .profile-stat {
        justify-content: flex-start;
    }
}

/* ============================================================
   Pagination (Bootstrap markup, re-themed to match the blog)
   ============================================================ */

.blog-list .pagination,
.author-articles-grid ~ .pagination,
nav .pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    padding: 0;
    margin: 10px 0 0;
    list-style: none;
}

.pagination .page-item .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 30px;
    border: 1px solid #ecdfb9;
    background: #fff;
    color: #6b5117;
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    box-shadow: none;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.pagination .page-item .page-link:hover {
    background: #fff9ed;
    border-color: #d29d39;
    color: #b9862a;
}

.pagination .page-item.active .page-link {
    background: linear-gradient(135deg, #f8cf62, #d29d39);
    border-color: transparent;
    color: #1a0e00;
}

.pagination .page-item.disabled .page-link {
    background: #fff;
    border-color: #f1ece0;
    color: #c9c2ae;
}

/* ============================================================
   Shared responsive breakpoints
   ============================================================ */

@media (max-width: 991px) {
    .blog-layout,
    .post-layout {
        grid-template-columns: 1fr;
    }
    .post-sidebar {
        position: static;
    }
    .post-article {
        padding: 30px 24px;
    }
    .related-grid {
        grid-template-columns: 1fr;
    }
    .author-articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .author-articles-grid {
        grid-template-columns: 1fr;
    }
}
