﻿.neshat-blog {
    width: min(100% - 2rem, 76rem);
    margin-inline: auto;
    padding-block: clamp(1.25rem, 4vw, 3rem) clamp(2rem, 5vw, 4rem);
    color: var(--neshat-ink);
    text-align: start;
}
.neshat-blog--detail { max-width: 60rem; }
.neshat-blog h1, .neshat-blog h2, .neshat-blog h3 { margin: 0; line-height: 1.55; }
.neshat-blog__hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: clamp(1rem, 4vw, 3rem);
    padding: clamp(1.25rem, 5vw, 3.25rem);
    background: linear-gradient(125deg, var(--neshat-deep), var(--neshat-accent));
    border-inline-start: .25rem solid var(--neshat-gold-light);
    border-radius: 1rem;
    color: var(--neshat-warm);
}
.neshat-blog__hero h1 {
    grid-column: 1;
    color: var(--neshat-warm);
    font-size: clamp(1.65rem, 4vw, 3rem);
    overflow-wrap: anywhere;
}
.neshat-blog__hero p { grid-column: 1; margin: 0; }
.neshat-blog__hero p.neshat-blog__eyebrow {
    margin-block-end: .35rem;
    color: var(--neshat-gold-light);
    font-size: .9rem;
    font-weight: 700;
}
.neshat-blog__hero p.neshat-blog__intro { margin-block-start: .5rem; color: var(--neshat-warm); }
.neshat-blog__emblem {
    grid-column: 2;
    grid-row: 1 / span 3;
    display: grid;
    place-items: center;
    width: clamp(4.25rem, 11vw, 8rem);
    aspect-ratio: 1;
    border: 1px solid var(--neshat-gold-light);
    border-radius: 50%;
    box-shadow: inset 0 0 0 .4rem var(--neshat-deep), inset 0 0 0 calc(.4rem + 1px) var(--neshat-gold);
    background: var(--neshat-deep);
    color: var(--neshat-gold-light);
    font-size: clamp(1.4rem, 3.2vw, 2.75rem);
}
.neshat-blog h2.neshat-blog__section-title {
    margin-block: 1.5rem .8rem;
    color: var(--neshat-deep);
    font-size: clamp(1.25rem, 2.5vw, 1.6rem);
}
.neshat-blog__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
    gap: 1rem;
}
.neshat-blog__card {
    display: flex;
    flex-direction: column;
    gap: .65rem;
    min-width: 0;
    padding: clamp(1rem, 2.5vw, 1.45rem);
    border: 1px solid var(--neshat-line);
    border-block-start: .2rem solid var(--neshat-gold);
    border-radius: .8rem;
    background: var(--neshat-warm);
}
.neshat-blog__card h3 { font-size: 1.18rem; overflow-wrap: anywhere; }
.neshat-blog a.neshat-blog__card-title { color: var(--neshat-deep); }
.neshat-blog a.neshat-blog__card-title:hover { text-decoration: underline; }
.neshat-blog__meta {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem .9rem;
    color: var(--neshat-muted);
    font-size: .85rem;
    overflow-wrap: anywhere;
}
.neshat-blog__meta:empty { display: none; }
.neshat-blog__meta i { margin-inline-end: .2rem; color: var(--neshat-gold); }
.neshat-blog__hero .neshat-blog__meta { margin-block-start: .65rem; color: var(--neshat-warm); }
.neshat-blog__hero .neshat-blog__meta i { color: var(--neshat-gold-light); }
.neshat-blog p.neshat-blog__excerpt { flex: 1; margin: 0; color: var(--neshat-muted); line-height: 1.9; overflow-wrap: anywhere; }
.neshat-blog a.neshat-blog__read, .neshat-blog a.neshat-blog__button {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: .5rem;
    min-height: 44px;
    font-weight: 700;
}
.neshat-blog a.neshat-blog__read { color: var(--neshat-accent); text-decoration: underline; text-underline-offset: .25em; }
.neshat-blog a.neshat-blog__read i { color: var(--neshat-gold); }
.neshat-blog a.neshat-blog__button {
    padding: .5rem .9rem;
    border-radius: .55rem;
    background: var(--neshat-accent);
    color: var(--neshat-warm);
}
.neshat-blog a.neshat-blog__button:hover { background: var(--neshat-deep); }
.neshat-blog a:focus-visible { outline: 2px solid var(--neshat-gold); outline-offset: 3px; }
.neshat-blog__pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-top: 1.5rem; }
.neshat-blog__pagination a {
    display: grid;
    place-items: center;
    min-width: 44px;
    min-height: 44px;
    padding-inline: .6rem;
    border: 1px solid var(--neshat-line);
    border-radius: .5rem;
    background: var(--neshat-warm);
    color: var(--neshat-deep);
}
.neshat-blog__pagination a:hover { border-color: var(--neshat-accent); }
.neshat-blog__pagination a[aria-current="page"] { background: var(--neshat-accent); color: var(--neshat-warm); }
.neshat-blog__breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: .35rem .6rem; margin-bottom: .8rem; font-size: .9rem; }
.neshat-blog__breadcrumb a { color: var(--neshat-accent); text-decoration: underline; text-underline-offset: .2em; }
.neshat-blog__breadcrumb i { color: var(--neshat-gold); font-size: .7rem; }
.neshat-blog__paper, .neshat-blog__notice {
    margin-top: 1rem;
    padding: clamp(1rem, 4vw, 2.5rem);
    border: 1px solid var(--neshat-line);
    border-radius: .85rem;
    background: var(--neshat-warm);
}
.neshat-blog__notice :is(h1, h2) { margin-bottom: 1rem; color: var(--neshat-deep); font-size: clamp(1.3rem, 3vw, 1.85rem); }
.neshat-blog__prose {
    max-width: 74ch;
    margin-inline: auto;
    color: var(--neshat-ink);
    font-size: 1rem;
    line-height: 2;
    overflow-wrap: anywhere;
    white-space: pre-line;
}
.neshat-blog__prose > * { white-space: normal; }
.neshat-blog__prose :is(h2, h3, h4) { margin-block: 1.25em .4em; color: var(--neshat-deep); }
.neshat-blog__prose p { margin: 0 0 .9rem; color: inherit; }
.neshat-blog__prose :is(ul, ol) { padding-inline-start: 1.5em; margin-bottom: .9rem; }
.neshat-blog__prose ul { list-style: disc; }
.neshat-blog__prose ol { list-style: decimal; }
.neshat-blog__prose a { color: var(--neshat-accent); text-decoration: underline; text-underline-offset: .2em; }
.neshat-blog__prose :is(img, iframe, video) { max-width: 100%; }
.neshat-blog__prose img { height: auto; }
.neshat-blog__prose :is(pre, table) { display: block; max-width: 100%; overflow-x: auto; }
.neshat-blog__prose pre { white-space: pre; }
.neshat-blog__topics { max-width: 74ch; margin: 1.25rem auto 0; padding-top: 1rem; border-top: 1px solid var(--neshat-line); }
.neshat-blog__topics h2 { color: var(--neshat-deep); font-size: 1.05rem; }
.neshat-blog__topics ul { display: flex; flex-wrap: wrap; gap: .5rem; margin: .6rem 0 0; padding: 0; list-style: none; }
.neshat-blog__topics li { padding: .25rem .65rem; border: 1px solid var(--neshat-line); border-radius: 99px; background: var(--neshat-cool); color: var(--neshat-deep); font-size: .88rem; overflow-wrap: anywhere; }
.neshat-blog__back { margin-top: 1rem; }

@media (max-width: 36rem) {
    .neshat-blog__hero { grid-template-columns: minmax(0, 1fr); }
    .neshat-blog__emblem { display: none; }
    .neshat-blog__prose { line-height: 1.95; }
}

.neshat-blog__cover{margin:0 0 2rem}.neshat-blog__cover img,.neshat-blog__prose img{display:block;max-width:100%;height:auto;border-radius:16px}.neshat-blog__cover figcaption,.neshat-blog__prose figcaption{font-size:.9rem;color:#52665e;margin-top:.6rem}.neshat-blog__thumbnail{width:100%;max-height:240px;object-fit:cover;border-radius:12px;margin-bottom:1rem}.neshat-blog__answer,.neshat-blog__toc,.neshat-blog__related{border:1px solid #d7e7de;background:#f5faf7;border-radius:14px;padding:1.25rem;margin:1.5rem 0}.neshat-blog__prose table{display:block;max-width:100%;overflow:auto;border-collapse:collapse}.neshat-blog__prose td,.neshat-blog__prose th{border:1px solid #d7e7de;padding:.6rem}.neshat-blog__prose h2,.neshat-blog__prose h3{scroll-margin-top:7rem}.neshat-blog__prose a,.neshat-blog__related a{text-decoration:underline;text-underline-offset:.2em}
