:root {
    --eg-ink: #0a3366;
    --eg-copper: #c8834a;
    --eg-cream: #fbf6f0;
    --eg-sand: #ead8c7;
    --eg-text: #4b5563;
    --eg-white: #ffffff;
}

.emberglow-blog {
    overflow: hidden;
    color: var(--eg-text);
}

.emberglow-blog a {
    text-decoration: none;
}

.eg-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: var(--eg-copper);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.eg-eyebrow::before {
    width: 28px;
    height: 1px;
    background: currentColor;
    content: "";
}

.eg-blog-hero,.eg-article-header {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 82% 24%, rgba(200, 131, 74, 0.18), transparent 25%),
        linear-gradient(120deg, #fffaf5 0%, #f7ede3 55%, #f2ddcb 100%);
}

.eg-blog-hero::before,.eg-article-header::before {
    position: absolute;
    inset: 0;
    opacity: 0.32;
    background-image: linear-gradient(rgba(10, 51, 102, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(10, 51, 102, 0.06) 1px, transparent 1px);
    background-size: 56px 56px;
    content: "";
    mask-image: linear-gradient(to right, transparent, #000 40%, #000);
}

.eg-blog-hero__inner {
    position: relative;
    z-index: 2;
    max-width: 780px;
    padding: 95px 0 75px;
}

.eg-blog-hero h1 {
    max-width: 750px;
    margin: 0 0 20px;
    color: var(--eg-ink);
    font-size: clamp(44px, 6vw, 76px);
    line-height: 1.03;
    letter-spacing: -0.035em;
}

.eg-blog-hero p {
    max-width: 650px;
    margin-bottom: 27px;
    font-size: 18px;
    line-height: 1.75;
}

.eg-blog-hero__orb {
    position: absolute;
    z-index: 1;
    border: 1px solid rgba(200, 131, 74, 0.28);
    border-radius: 50%;
}

.eg-blog-hero__orb--one {
    width: 380px;
    height: 380px;
    top: -155px;
    right: -75px;
}

.eg-blog-hero__orb--two {
    width: 210px;
    height: 210px;
    right: 130px;
    bottom: -125px;
    background: rgba(255, 255, 255, 0.25);
}

.eg-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    color: #6b7280;
    font-size: 14px;
}

.eg-breadcrumb a {
    color: var(--eg-ink);
    font-weight: 600;
}

.eg-breadcrumb--dark {
    position: relative;
    z-index: 2;
    margin-bottom: 60px;
    color: rgba(255, 255, 255, 0.62);
}

.eg-breadcrumb--dark a {
    color: rgba(255, 255, 255, 0.9);
}

.eg-breadcrumb--dark span:last-child {
    max-width: 500px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.eg-blog-listing {
    position: relative;
}

.eg-section-copy {
    max-width: 650px;
    margin: 0 auto;
}

.eg-category-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 34px 0 55px;
}

.eg-category-pill {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 12px 18px;
    border: 1px solid #e4ddd5;
    border-radius: 100px;
    background: var(--eg-white);
    color: var(--eg-ink);
    font-size: 14px;
    font-weight: 600;
    transition: 0.25s ease;
}

.eg-category-pill span {
    display: grid;
    width: 24px;
    height: 24px;
    place-items: center;
    border-radius: 50%;
    background: var(--eg-cream);
    color: var(--eg-copper);
    font-size: 11px;
}

.eg-category-pill:hover,
.eg-category-pill.is-active {
    border-color: var(--eg-ink);
    background: var(--eg-ink);
    color: var(--eg-white);
    transform: translateY(-2px);
}

.eg-category-pill.is-active span,
.eg-category-pill:hover span {
    background: rgba(255, 255, 255, 0.14);
    color: var(--eg-white);
}

.eg-results-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 26px;
    padding-bottom: 17px;
    border-bottom: 1px solid #dedbd7;
}

.eg-results-heading h3,
.eg-results-heading p {
    margin: 0;
}

.eg-results-heading h3 {
    color: var(--eg-ink);
    font-size: 27px;
}

.eg-results-heading__label {
    display: block;
    margin-bottom: 4px;
    color: var(--eg-copper);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.eg-results-heading p {
    font-size: 14px;
}

.eg-blog-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(10, 51, 102, 0.1);
    border-radius: 18px;
    background: var(--eg-white);
    box-shadow: 0 18px 45px rgba(10, 51, 102, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.eg-blog-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 25px 60px rgba(10, 51, 102, 0.12);
}

.eg-blog-card__media {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #ede3d9;
}

.eg-blog-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.eg-blog-card:hover .eg-blog-card__media img {
    transform: scale(1.045);
}

.eg-blog-card__placeholder,
.eg-article-feature__placeholder {
    position: relative;
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.78), transparent 60%),
        linear-gradient(135deg, #f6e9dc, #dfb38c);
    color: var(--eg-ink);
}

.eg-blog-card__placeholder::before,
.eg-article-feature__placeholder::before {
    position: absolute;
    width: 230px;
    height: 230px;
    border: 1px solid rgba(10, 51, 102, 0.14);
    border-radius: 50%;
    content: "";
}

.eg-blog-card__placeholder span {
    z-index: 1;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.eg-blog-card__placeholder i {
    position: absolute;
    top: 24px;
    right: 24px;
    color: var(--eg-copper);
    font-size: 30px;
}

.eg-blog-card__category {
    position: absolute;
    left: 18px;
    bottom: 16px;
    padding: 7px 12px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 4px 15px rgba(10, 51, 102, 0.1);
    color: var(--eg-ink);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.eg-blog-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 27px;
}

.eg-blog-card__date {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 13px;
    color: #7b8490;
    font-size: 13px;
}

.eg-blog-card__date i {
    color: var(--eg-copper);
}

.eg-blog-card h3 {
    margin: 0 0 13px;
    font-size: 23px;
    line-height: 1.32;
}

.eg-blog-card h3 a {
    color: var(--eg-ink);
    transition: color 0.2s ease;
}

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

.eg-blog-card__body > p {
    margin-bottom: 20px;
    color: #66707c;
    font-size: 14px;
    line-height: 1.75;
}

.eg-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.eg-tag-list span {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 100px;
    background: var(--eg-cream);
    color: #80502e;
    font-size: 11px;
    font-weight: 600;
}

.eg-blog-card .eg-tag-list {
    margin-bottom: 22px;
}

.eg-read-link {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 7px;
    margin-top: auto;
    color: var(--eg-ink);
    font-size: 14px;
    font-weight: 700;
}

.eg-read-link i {
    color: var(--eg-copper);
    transition: transform 0.2s ease;
}

.eg-read-link:hover i {
    transform: translate(3px, -3px);
}

/* Magazine-style blog listing */
.eg-magazine-section {
    padding-top: 105px;
    padding-bottom: 115px;
    background: #fff;
}

.eg-magazine-layout {
    display: grid;
    grid-template-columns: minmax(0, 2.05fr) minmax(300px, 0.82fr);
    align-items: start;
    gap: 38px;
}

.eg-magazine-main {
    min-width: 0;
}

.eg-magazine-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 30px;
}

.eg-magazine-heading__kicker,
.eg-sidebar-card__heading > span:first-child {
    display: block;
    margin-bottom: 6px;
    color: var(--eg-copper);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.eg-magazine-heading h2,
.eg-sidebar-card__heading h2 {
    margin: 0;
    color: var(--eg-ink);
    font-size: 34px;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

.eg-wave {
    display: block;
    width: 47px;
    height: 11px;
    margin-top: 15px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='47' height='11' viewBox='0 0 47 11' fill='none'%3E%3Cpath d='M1 6C5.2 6 5.2 1.5 9.4 1.5S13.6 9.5 17.8 9.5 22 1.5 26.2 1.5s4.2 8 8.4 8 4.2-4.5 8.4-4.5' stroke='%23C8834A' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.eg-magazine-heading__meta {
    display: flex;
    align-items: flex-end;
    flex-direction: column;
    padding-bottom: 3px;
    color: #8a94a2;
    font-size: 13px;
}

.eg-magazine-heading__meta strong {
    color: var(--eg-ink);
    font-size: 15px;
}

.eg-magazine-panel,
.eg-sidebar-card {
    border: 1px solid #e9e6e2;
    border-radius: 18px;
    background: var(--eg-white);
}

.eg-magazine-panel {
    padding: 36px;
}

.eg-blog-card--magazine {
    overflow: visible;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.eg-blog-card--magazine:hover {
    transform: none;
    box-shadow: none;
}

.eg-blog-card--magazine .eg-blog-card__media {
    overflow: visible;
    aspect-ratio: 1.4 / 1;
    border-radius: 14px;
}

.eg-blog-card--magazine .eg-blog-card__media > img,
.eg-blog-card--magazine .eg-blog-card__placeholder {
    overflow: hidden;
    border-radius: 14px;
}

.eg-blog-card--magazine .eg-blog-card__category {
    top: 22px;
    bottom: auto;
    padding: 8px 14px;
    border: 0;
    background: linear-gradient(135deg, #bc7440, #d89b68);
    box-shadow: 0 7px 18px rgba(134, 77, 36, 0.18);
    color: var(--eg-white);
}

.eg-blog-card__format {
    position: absolute;
    right: 20px;
    bottom: -28px;
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    border: 4px solid var(--eg-white);
    border-radius: 50%;
    background: var(--eg-copper);
    box-shadow: 0 9px 20px rgba(129, 74, 35, 0.22);
    color: var(--eg-white);
    font-size: 20px;
    transition: transform 0.25s ease;
}

.eg-blog-card--magazine:hover .eg-blog-card__format {
    transform: rotate(6deg) scale(1.04);
}

.eg-blog-card--magazine .eg-blog-card__placeholder::before {
    width: 185px;
    height: 185px;
}

.eg-blog-card--magazine .eg-blog-card__placeholder span {
    font-size: 21px;
}

.eg-blog-card--magazine .eg-blog-card__body {
    padding: 29px 0 0;
}

.eg-blog-card__byline {
    display: flex;
    min-height: 34px;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
    color: #9099a6;
    font-size: 12px;
    font-weight: 500;
}

.eg-blog-card__byline > i {
    display: block;
    width: 4px;
    height: 4px;
    margin: 0 3px;
    border-radius: 50%;
    background: var(--eg-copper);
}

.eg-blog-card__avatar {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border: 2px solid #f1d9c4;
    border-radius: 50%;
    background: var(--eg-cream);
    color: var(--eg-copper);
    font-size: 12px;
    font-weight: 800;
}

.eg-blog-card--magazine h3 {
    margin-bottom: 14px;
    font-size: 24px;
    line-height: 1.34;
}

.eg-blog-card--magazine .eg-blog-card__body > p {
    margin-bottom: 23px;
    color: #778291;
    font-size: 14px;
    line-height: 1.8;
}

.eg-blog-card__footer {
    display: flex;
    min-height: 50px;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: auto;
    padding-top: 17px;
    border-top: 1px solid #ece9e5;
}

.eg-blog-card--magazine .eg-tag-list {
    margin: 0;
}

.eg-blog-card--magazine .eg-read-link {
    flex: 0 0 auto;
    margin-top: 0;
}

.eg-blog-card--magazine .eg-read-link i {
    width: 8px;
    height: 8px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
}

.eg-blog-card--magazine .eg-read-link:hover i {
    transform: translate(3px, -3px) rotate(45deg);
}

.eg-magazine-sidebar {
    position: sticky;
    top: 28px;
}

.eg-sidebar-card {
    padding: 35px 34px;
}

.eg-sidebar-card + .eg-sidebar-card {
    margin-top: 28px;
}

.eg-sidebar-card__heading {
    margin-bottom: 25px;
    text-align: center;
}

.eg-sidebar-card__heading h2 {
    font-size: 28px;
}

.eg-sidebar-card__heading .eg-wave {
    margin-right: auto;
    margin-left: auto;
}

.eg-topic-list {
    display: flex;
    flex-direction: column;
}

.eg-topic-list__item {
    display: grid;
    grid-template-columns: 25px minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    min-height: 64px;
    border-bottom: 1px solid #ece9e5;
    color: var(--eg-ink);
    font-size: 15px;
    font-weight: 700;
    transition: color 0.2s ease, padding 0.2s ease;
}

.eg-topic-list__item:first-child {
    border-top: 1px solid #ece9e5;
}

.eg-topic-list__item i {
    width: 8px;
    height: 8px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    color: var(--eg-copper);
    transform: rotate(45deg);
    transition: transform 0.2s ease;
}

.eg-topic-list__item small {
    color: #a1aab7;
    font-size: 13px;
    font-weight: 500;
}

.eg-topic-list__item:hover,
.eg-topic-list__item.is-active {
    padding-left: 7px;
    color: var(--eg-copper);
}

.eg-topic-list__item:hover i,
.eg-topic-list__item.is-active i {
    transform: translateX(3px) rotate(45deg);
}

.eg-sidebar-card--newsletter {
    background:
        radial-gradient(circle at 90% 10%, rgba(200, 131, 74, 0.13), transparent 32%),
        #fffaf6;
    text-align: center;
}

.eg-sidebar-card--newsletter p {
    margin: -2px auto 24px;
    color: #74808e;
    font-size: 14px;
    line-height: 1.7;
}

.eg-newsletter-prompt {
    display: flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-bottom: 12px;
    padding: 11px 15px;
    border: 1px solid #eadfd5;
    border-radius: 100px;
    background: var(--eg-white);
    color: #929aa6;
    font-size: 12px;
}

.eg-newsletter-prompt i {
    color: var(--eg-copper);
}

.eg-newsletter-button {
    display: flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 100px;
    background: linear-gradient(135deg, var(--eg-ink), #164d86);
    box-shadow: 0 12px 25px rgba(10, 51, 102, 0.16);
    color: var(--eg-white);
    font-size: 14px;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.eg-newsletter-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(10, 51, 102, 0.22);
    color: var(--eg-white);
}

.eg-newsletter-button i {
    width: 8px;
    height: 8px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
}

.eg-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 55px;
}

.eg-pagination a {
    display: grid;
    width: 45px;
    height: 45px;
    place-items: center;
    border: 1px solid #dedbd7;
    border-radius: 50%;
    background: var(--eg-white);
    color: var(--eg-ink);
    font-size: 14px;
    font-weight: 700;
    transition: 0.2s ease;
}

.eg-pagination a:hover,
.eg-pagination a.is-active {
    border-color: var(--eg-ink);
    background: var(--eg-ink);
    color: var(--eg-white);
}

.eg-blog-state {
    max-width: 650px;
    margin: 35px auto;
    padding: 65px 30px;
    border: 1px solid var(--eg-sand);
    border-radius: 20px;
    background: var(--eg-white);
    text-align: center;
}

.eg-blog-state__icon {
    display: grid;
    width: 70px;
    height: 70px;
    margin: 0 auto 22px;
    place-items: center;
    border-radius: 50%;
    background: var(--eg-cream);
    color: var(--eg-copper);
    font-size: 27px;
}

.eg-blog-state h1,
.eg-blog-state h3 {
    color: var(--eg-ink);
}

.eg-blog-state p {
    max-width: 460px;
    margin: 0 auto 25px;
}

.eg-blog-state__code {
    display: block;
    color: var(--eg-copper);
    font-size: clamp(75px, 12vw, 140px);
    font-weight: 800;
    line-height: 0.9;
    opacity: 0.25;
}

.eg-blog-cta {
    padding: 85px 0;
    background: var(--eg-cream);
}

.eg-blog-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 52px 58px;
    border-radius: 22px;
    background:
        radial-gradient(circle at 90% 20%, rgba(255, 255, 255, 0.12), transparent 30%),
        var(--eg-ink);
    color: rgba(255, 255, 255, 0.75);
}

.eg-blog-cta__inner h2 {
    margin: 0 0 9px;
    color: var(--eg-white);
    font-size: clamp(30px, 4vw, 46px);
}

.eg-blog-cta__inner p {
    margin: 0;
}

.eg-blog-cta__inner .eg-eyebrow {
    color: #e2a675;
}

.eg-blog-cta__inner .btn {
    flex: 0 0 auto;
}

/*.eg-article-header {*/
/*    position: relative;*/
/*    overflow: hidden;*/
/*    padding: 80px 0 105px;*/
/*    background:*/
/*        radial-gradient(circle at 80% 20%, rgba(200, 131, 74, 0.22), transparent 30%),*/
/*        var(--eg-ink);*/
/*}*/

/*.eg-article-header::before {*/
/*    position: absolute;*/
/*    top: -140px;*/
/*    right: -100px;*/
/*    width: 470px;*/
/*    height: 470px;*/
/*    border: 1px solid rgba(200, 131, 74, 0.28);*/
/*    border-radius: 50%;*/
/*    content: "";*/
/*}*/

.eg-article-header__content {
    position: relative;
    z-index: 2;
    max-width: 980px;
}

.eg-article-category {
    display: inline-flex;
    margin-bottom: 22px;
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 100px;
    color: #f4bc8f;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.eg-article-category:hover {
    border-color: #f4bc8f;
    color: var(--eg-white);
}

.eg-article-header h1 {
    max-width: 1000px;
    margin: 0 0 28px;
    /*color: var(--eg-white);*/
    font-size: clamp(40px, 6vw, 70px);
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.eg-article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    /*color: rgba(255, 255, 255, 0.66);*/
    font-size: 14px;
}

.eg-article-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.eg-article-meta i {
    color: #f4bc8f;
}

.eg-article-header__line {
    position: absolute;
    right: 7%;
    bottom: 34px;
    width: 140px;
    height: 1px;
    background: #f4bc8f;
    transform: rotate(-35deg);
}

.eg-article-section {
    padding-top: 0;
}

.eg-article-feature {
    position: relative;
    z-index: 3;
    overflow: hidden;
    min-height: 440px;
    margin-top: -58px;
    border: 8px solid var(--eg-white);
    border-radius: 20px;
    background: #ead8c7;
    box-shadow: 0 25px 65px rgba(10, 51, 102, 0.14);
}

.eg-article-feature > img {
    width: 100%;
    height: 100%;
    min-height: 440px;
    object-fit: cover;
}

.eg-article-feature__placeholder {
    min-height: 440px;
    flex-direction: column;
    gap: 8px;
}

.eg-article-feature__placeholder span,
.eg-article-feature__placeholder strong {
    position: relative;
    z-index: 2;
}

.eg-article-feature__placeholder span {
    color: var(--eg-copper);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.eg-article-feature__placeholder strong {
    color: var(--eg-ink);
    font-size: clamp(28px, 5vw, 54px);
    font-weight: 700;
    letter-spacing: -0.03em;
}

.eg-article-feature__placeholder i {
    position: absolute;
    right: 8%;
    bottom: 12%;
    color: rgba(200, 131, 74, 0.45);
    font-size: 55px;
}

.eg-article-body {
    padding: 75px 0 35px;
    color: #424d5a;
    font-size: 17px;
    line-height: 1.9;
}

.eg-article-body > *:first-child {
    margin-top: 0;
}

.eg-article-body h2,
.eg-article-body h3,
.eg-article-body h4,
.eg-article-body h5 {
    margin: 1.55em 0 0.55em;
    color: var(--eg-ink);
    line-height: 1.25;
}

.eg-article-body h2 {
    font-size: clamp(30px, 4vw, 43px);
}

.eg-article-body h3 {
    font-size: 27px;
}

.eg-article-body p,
.eg-article-body ul,
.eg-article-body ol,
.eg-article-body blockquote,
.eg-article-body table {
    margin-bottom: 1.4em;
}

.eg-article-body ul,
.eg-article-body ol {
    padding-left: 24px;
}

.eg-article-body li {
    margin-bottom: 8px;
}

.eg-article-body a {
    color: var(--eg-copper);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.eg-article-body blockquote {
    margin-left: 0;
    padding: 24px 28px;
    border-left: 4px solid var(--eg-copper);
    border-radius: 0 12px 12px 0;
    background: var(--eg-cream);
    color: var(--eg-ink);
    font-size: 20px;
    font-weight: 500;
}

.eg-article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 14px;
}

.eg-article-body pre {
    margin: 0 0 1.5em;
    padding: 22px 24px;
    overflow-x: auto;
    border-radius: 12px;
    background: var(--eg-ink);
    color: #f5ede5;
    font-size: 14px;
    line-height: 1.7;
    white-space: pre;
}

.eg-article-body code {
    padding: 2px 5px;
    border-radius: 4px;
    background: #efe6dd;
    color: #7c4422;
    font-size: 0.88em;
}

.eg-article-body pre code {
    padding: 0;
    background: transparent;
    color: inherit;
    font-size: inherit;
}

.eg-article-body table {
    display: block;
    width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
}

.eg-article-body th,
.eg-article-body td {
    min-width: 140px;
    padding: 13px;
    border: 1px solid #ddd6ce;
    text-align: left;
}

.eg-article-body th {
    background: var(--eg-cream);
    color: var(--eg-ink);
}

.eg-article-footer {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 24px 0;
    border-top: 1px solid #dedbd7;
    border-bottom: 1px solid #dedbd7;
}

.eg-article-footer > span {
    padding-top: 4px;
    color: var(--eg-ink);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.eg-back-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 28px;
    color: var(--eg-ink);
    font-weight: 700;
}

.eg-back-link i {
    color: var(--eg-copper);
    transition: transform 0.2s ease;
}

.eg-back-link:hover i {
    transform: translateX(-4px);
}

.eg-related-section {
    background: var(--eg-white);
}

.eg-blog-card--compact .eg-blog-card__body {
    padding: 22px;
}

.eg-blog-card--compact h3 {
    font-size: 20px;
}

.eg-blog-not-found {
    padding: 100px 0;
    background: var(--eg-cream);
}

@media (max-width: 991px) {
    .eg-blog-hero {
        min-height: 420px;
    }

    .eg-blog-cta__inner {
        align-items: flex-start;
        flex-direction: column;
        padding: 42px;
    }

    .eg-magazine-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .eg-magazine-sidebar {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .eg-sidebar-card + .eg-sidebar-card {
        margin-top: 0;
    }

    .eg-article-feature,
    .eg-article-feature > img,
    .eg-article-feature__placeholder {
        min-height: 360px;
    }
}

@media (max-width: 767px) {
    .eg-blog-hero__inner {
        padding: 75px 0 60px;
    }

    .eg-blog-hero h1,
    .eg-article-header h1 {
        font-size: 40px;
    }

    .eg-blog-hero p {
        font-size: 16px;
    }

    .eg-category-nav {
        justify-content: flex-start;
        flex-wrap: nowrap;
        margin-bottom: 40px;
        padding-bottom: 7px;
        overflow-x: auto;
        scrollbar-width: thin;
    }

    .eg-category-pill {
        flex: 0 0 auto;
    }

    .eg-results-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .eg-magazine-section {
        padding-top: 70px;
        padding-bottom: 75px;
    }

    .eg-magazine-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 15px;
    }

    .eg-magazine-heading__meta {
        align-items: flex-start;
    }

    .eg-magazine-panel {
        padding: 22px;
    }

    .eg-magazine-sidebar {
        grid-template-columns: 1fr;
    }

    .eg-sidebar-card {
        padding: 30px 24px;
    }

    .eg-blog-card--magazine h3 {
        font-size: 22px;
    }

    .eg-blog-card__body {
        padding: 23px;
    }

    .eg-blog-cta {
        padding: 55px 0;
    }

    .eg-blog-cta__inner {
        padding: 34px 26px;
    }

    .eg-article-header {
        padding: 60px 0 80px;
    }

    .eg-breadcrumb--dark {
        margin-bottom: 42px;
    }

    .eg-breadcrumb--dark span:last-child {
        display: none;
    }

    .eg-article-feature,
    .eg-article-feature > img,
    .eg-article-feature__placeholder {
        min-height: 250px;
    }

    .eg-article-feature {
        margin-top: -38px;
        border-width: 5px;
    }

    .eg-article-feature__placeholder {
        padding: 30px;
        text-align: center;
    }

    .eg-article-body {
        padding-top: 50px;
        font-size: 16px;
        line-height: 1.8;
    }

    .eg-article-footer {
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    .eg-blog-card,
    .eg-blog-card__media img,
    .eg-read-link i,
    .eg-back-link i {
        transition: none;
    }
}
