/* Memur Kahvesi Blog - unified public design layer */
:root {
    --blog-ink: var(--mk-ink, #18181b);
    --blog-muted: var(--mk-muted, #64748b);
    --blog-line: var(--mk-line, #e4dfd7);
    --blog-surface: #fff;
    --blog-soft: #f8fafc;
    --blog-brand: var(--mk-brand, #991b1b);
    --blog-brand-strong: var(--mk-brand-strong, #7f1d1d);
    --blog-blue: #2563eb;
    --blog-radius: var(--mk-radius, 8px);
    --blog-shadow: var(--mk-shadow-sm, 0 12px 34px rgba(15, 23, 42, .08));
    --blog-rail: min(100% - 2rem, var(--mk-container, 1400px));
}

.blog-wrap,
.blog-section-wrap {
    width: var(--blog-rail);
    max-width: var(--mk-container, 1400px);
    margin-inline: auto;
    box-sizing: border-box;
}

.blog-hero,
.cat-hero,
.tag-hero,
.search-hero,
.post-hero {
    width: var(--blog-rail);
    min-height: clamp(170px, 15vw, 210px);
    margin: 2rem auto 1.25rem;
    padding: clamp(1.5rem, 3vw, 2.35rem);
    display: grid;
    align-items: center;
    border: 1px solid rgba(127, 29, 29, .28);
    border-radius: var(--blog-radius);
    background: linear-gradient(115deg, #172033 0%, #27272a 52%, #7f1d1d 100%);
    color: #fff;
    box-shadow: 0 18px 42px rgba(15, 23, 42, .13);
    box-sizing: border-box;
}

.blog-hero-inner {
    width: min(100%, 920px);
    margin: 0;
}

.blog-eyebrow {
    width: fit-content;
    min-height: 30px;
    margin-bottom: .85rem;
    padding: .35rem .7rem;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    border: 1px solid rgba(147, 197, 253, .35);
    border-radius: 999px;
    background: rgba(37, 99, 235, .18);
    color: #bfdbfe;
    font-size: .76rem;
    font-weight: 900;
    text-transform: uppercase;
}

.blog-hero h1,
.cat-hero h1,
.tag-hero h1,
.search-hero h1,
.post-hero .post-title {
    margin: 0 0 .55rem;
    color: #fff;
    font-size: clamp(1.9rem, 4vw, 2.75rem);
    font-weight: 950;
    line-height: 1.12;
    letter-spacing: 0;
}

.blog-hero h1 > svg {
    color: #fbbf24;
    filter: drop-shadow(0 3px 7px rgba(251, 191, 36, .28));
}

.blog-hero p,
.cat-hero p,
.tag-hero p,
.search-hero p,
.post-hero .post-lede {
    max-width: 820px;
    margin: 0 0 1rem;
    color: rgba(255, 255, 255, .8);
    line-height: 1.65;
}

.breadcrumb {
    margin: 0 0 .85rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .4rem;
    color: rgba(255, 255, 255, .7);
    font-size: .84rem;
}

.breadcrumb a {
    color: #bfdbfe;
    font-weight: 800;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #fff;
}

.cat-icon-big {
    width: 48px;
    height: 48px;
    margin-bottom: .75rem;
    display: inline-grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: var(--blog-radius);
    background: rgba(255, 255, 255, .1);
    color: #fbbf24;
}

.cat-icon-big svg {
    width: 26px;
    height: 26px;
}

.cat-stats {
    width: fit-content;
    margin-top: .8rem;
    padding: .4rem .7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .1);
    color: #fff;
    font-size: .82rem;
    font-weight: 850;
}

.blog-search {
    width: min(100%, 570px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .6rem;
}

.blog-search input {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: .72rem .9rem;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: var(--blog-radius);
    background: rgba(15, 23, 42, .45);
    color: #fff;
    font: inherit;
    outline: none;
}

.blog-search input::placeholder {
    color: rgba(255, 255, 255, .62);
}

.blog-search input:focus {
    border-color: #93c5fd;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, .18);
}

.blog-button {
    min-height: 40px;
    padding: .62rem .9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .42rem;
    border: 1px solid transparent;
    border-radius: var(--blog-radius);
    cursor: pointer;
    font: inherit;
    font-size: .86rem;
    font-weight: 850;
    line-height: 1;
    text-decoration: none;
    transition: transform .16s ease, background-color .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.blog-button svg {
    width: 17px;
    height: 17px;
}

.blog-button:hover {
    transform: translateY(-1px);
}

.blog-button-primary {
    border-color: #dc2626;
    background: #dc2626;
    color: #fff;
    box-shadow: 0 8px 20px rgba(220, 38, 38, .16);
}

.blog-button-primary:hover {
    border-color: #b91c1c;
    background: #b91c1c;
    color: #fff;
}

.blog-button-secondary {
    border-color: rgba(255, 255, 255, .22);
    background: rgba(255, 255, 255, .1);
    color: #fff;
}

.blog-button-secondary:hover {
    background: rgba(255, 255, 255, .18);
    color: #fff;
}

.blog-button-quiet {
    min-height: 36px;
    padding: .5rem .7rem;
    border-color: var(--blog-line);
    background: #fff;
    color: #334155;
    box-shadow: none;
}

.blog-button-quiet:hover {
    border-color: #fecaca;
    background: #fff7f7;
    color: var(--blog-brand);
}

.blog-button-readmore {
    min-height: 38px;
    padding: .55rem .8rem;
    border-color: var(--blog-brand);
    background: var(--blog-brand);
    color: #fff;
    box-shadow: 0 7px 16px rgba(153, 27, 27, .16);
}

.blog-button-readmore:hover {
    border-color: var(--blog-brand-strong);
    background: var(--blog-brand-strong);
    color: #fff;
    transform: translateY(-1px);
}

.blog-featured-section {
    padding: 1rem 0 0;
}

.blog-section-title {
    margin: 0 0 1rem;
    display: flex;
    align-items: center;
    gap: .55rem;
    color: var(--blog-ink);
    font-size: 1.18rem;
    font-weight: 900;
}

.blog-live-dot {
    width: 9px;
    height: 9px;
    display: inline-block;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--blog-brand);
    box-shadow: 0 0 0 4px rgba(153, 27, 27, .1);
}

.blog-live-dot-blue {
    background: var(--blog-blue);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .1);
}

.featured-grid {
    display: grid;
    grid-template-columns: 1.7fr 1fr;
    gap: 1rem;
}

.featured-main {
    grid-row: span 2;
}

.featured-card,
.post-card,
.sidebar-card,
.post-share,
.related,
.comments,
.empty-state {
    border: 1px solid var(--blog-line);
    border-radius: var(--blog-radius);
    background: var(--blog-surface);
    box-shadow: var(--blog-shadow);
}

.featured-card,
.post-card {
    overflow: hidden;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.featured-card:hover,
.post-card:hover {
    border-color: #fecaca;
    box-shadow: 0 18px 38px rgba(15, 23, 42, .11);
    transform: translateY(-2px);
}

.featured-link,
.post-link {
    height: 100%;
    display: flex;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
}

.featured-img-wrap,
.post-thumb {
    position: relative;
    overflow: hidden;
    background: #f8fafc;
}

.featured-main .featured-img-wrap {
    aspect-ratio: 16 / 9;
}

.featured-side .featured-img-wrap {
    aspect-ratio: 2 / 1;
}

.post-thumb {
    aspect-ratio: 16 / 9;
}

.featured-img-wrap img,
.post-thumb img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .28s ease;
}

.featured-card:hover img,
.post-card:hover img {
    transform: scale(1.025);
}

.featured-img-ph,
.sidebar-recent-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    background: linear-gradient(125deg, #172033, #7f1d1d);
    color: #fff;
}

.featured-img-ph svg {
    width: 36px;
    height: 36px;
}

.has-image .featured-img-ph,
.has-image .sidebar-recent-placeholder {
    display: none;
}

.is-image-missing img {
    display: none;
}

.post-cat {
    width: fit-content;
    padding: .3rem .58rem;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: #fef2f2;
    color: var(--blog-brand);
    font-size: .72rem;
    font-weight: 900;
    text-decoration: none;
    text-transform: uppercase;
}

.featured-img-wrap > .post-cat {
    position: absolute;
    left: .75rem;
    bottom: .75rem;
    background: rgba(127, 29, 29, .92);
    color: #fff;
}

.featured-body,
.post-body {
    flex: 1;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: .55rem;
}

.featured-body h3,
.post-body h3 {
    margin: 0;
    color: var(--blog-ink);
    font-size: 1.08rem;
    font-weight: 900;
    line-height: 1.4;
}

.post-title-anchor {
    color: inherit;
    text-decoration: none;
}

.post-title-anchor:hover {
    color: var(--blog-brand);
}

.featured-body p,
.post-excerpt {
    margin: 0;
    color: var(--blog-muted);
    font-size: .88rem;
    line-height: 1.6;
}

.post-meta {
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .35rem;
    color: #64748b;
    font-size: .78rem;
}

.post-meta svg {
    width: 14px;
    height: 14px;
}

.post-author {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    color: #334155;
    font-weight: 800;
    text-decoration: none;
}

.post-author:hover {
    color: var(--blog-brand);
}

.post-card-readmore {
    margin-top: auto;
    padding-top: .45rem;
}

.blog-main-layout {
    width: var(--blog-rail);
    margin: 1.5rem auto 3rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 1rem;
    align-items: start;
}

.blog-main-layout > main,
.blog-main-layout > section {
    min-width: 0;
}

.blog-list {
    width: 100%;
    margin: 0;
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr));
    gap: 1rem;
}

.blog-sidebar {
    position: sticky;
    top: 88px;
    display: grid;
    gap: 1rem;
}

.sidebar-card {
    padding: 1rem;
}

.sidebar-card h3,
.sidebar-cta h3 {
    margin: 0 0 .8rem;
    padding-bottom: .65rem;
    display: flex;
    align-items: center;
    gap: .4rem;
    border-bottom: 1px solid var(--blog-line);
    color: var(--blog-ink);
    font-size: .92rem;
    font-weight: 900;
}

.sidebar-card h3 svg,
.sidebar-cta h3 svg {
    width: 17px;
    height: 17px;
    color: var(--blog-brand);
}

.cat-list,
.sidebar-recent-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.cat-list li + li {
    border-top: 1px solid #f1f5f9;
}

.cat-list a {
    min-height: 42px;
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) auto;
    align-items: center;
    gap: .55rem;
    color: #334155;
    font-size: .84rem;
    text-decoration: none;
}

.cat-list a:hover {
    color: var(--blog-brand);
}

.cat-icon {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 6px;
    background: #eff6ff;
    color: #2563eb;
}

.cat-icon svg {
    width: 16px;
    height: 16px;
}

.cat-count {
    min-width: 24px;
    padding: .18rem .4rem;
    border-radius: 999px;
    background: #f1f5f9;
    color: #64748b;
    font-size: .7rem;
    font-weight: 800;
    text-align: center;
}

.sidebar-recent-list {
    display: grid;
    gap: .7rem;
}

.sidebar-recent-list a {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    align-items: center;
    gap: .65rem;
    color: inherit;
    text-decoration: none;
}

.sidebar-recent-thumb {
    width: 54px;
    height: 54px;
    overflow: hidden;
    border-radius: 6px;
    background: #f8fafc;
}

.sidebar-recent-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar-recent-info {
    min-width: 0;
}

.sidebar-recent-title {
    display: -webkit-box;
    overflow: hidden;
    color: #334155;
    font-size: .8rem;
    font-weight: 800;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.sidebar-recent-date {
    display: block;
    margin-top: .2rem;
    color: #94a3b8;
    font-size: .7rem;
}

.sidebar-cta {
    padding: 1rem;
    border: 1px solid rgba(127, 29, 29, .28);
    border-radius: var(--blog-radius);
    background: linear-gradient(135deg, #202838, #7f1d1d);
    color: #fff;
    box-shadow: var(--blog-shadow);
}

.sidebar-cta h3 {
    border-color: rgba(255, 255, 255, .16);
    color: #fff;
}

.sidebar-cta h3 svg {
    color: #fbbf24;
}

.sidebar-cta p {
    margin: 0 0 .8rem;
    color: rgba(255, 255, 255, .76);
    font-size: .82rem;
    line-height: 1.55;
}

.sidebar-cta .blog-button {
    width: 100%;
    margin-top: .45rem;
}

.pagination {
    margin-top: 1.25rem;
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
}

.pagination a {
    min-width: 38px;
    min-height: 38px;
    padding: .5rem .7rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .3rem;
    border: 1px solid var(--blog-line);
    border-radius: var(--blog-radius);
    background: #fff;
    color: #334155;
    font-size: .82rem;
    font-weight: 800;
    text-decoration: none;
}

.pagination a:hover,
.pagination a.active {
    border-color: var(--blog-brand);
    background: var(--blog-brand);
    color: #fff;
}

.empty-state,
.blog-empty-shell {
    padding: 2rem;
    color: var(--blog-muted);
    text-align: center;
}

.blog-empty-shell {
    width: min(100% - 2rem, 680px);
    margin: 3rem auto;
}

.post-hero .byline-author {
    display: flex;
    align-items: center;
    gap: .75rem;
}

.byline-author img,
.avatar-placeholder {
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    border-radius: 50%;
    object-fit: cover;
}

.avatar-placeholder {
    display: grid;
    place-items: center;
    background: #fff;
    color: var(--blog-brand);
    font-weight: 950;
}

.avatar-placeholder[hidden] {
    display: none;
}

.byline-author-link,
.byline-author strong {
    color: #fff;
    font-weight: 900;
    text-decoration: none;
}

.byline-author small {
    display: block;
    margin-top: .15rem;
    color: rgba(255, 255, 255, .72);
    font-size: .82rem;
}

.blog-post-wrap {
    width: 100%;
    margin: 0;
}

.blog-post {
    width: 100%;
}

.blog-post-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
}

.post-feature {
    width: fit-content;
    max-width: min(100%, 540px);
    margin: 0 auto 1.25rem;
    overflow: hidden;
    border: 1px solid var(--blog-line);
    border-radius: var(--blog-radius);
    background: transparent;
    box-shadow: var(--blog-shadow);
}

.post-feature img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 560px;
    display: block;
    margin-right: auto;
    margin-left: auto;
    object-fit: contain;
}

.post-feature:not(.is-image-ready) {
    min-height: 0;
}

.post-feature.is-landscape {
    width: 100%;
    max-width: none;
    background: #f8fafc;
}

.post-feature.is-landscape img {
    width: 100%;
    max-height: 560px;
    object-fit: cover;
}

.post-feature.is-square {
    width: min(100%, 540px);
    margin-right: auto;
    margin-left: auto;
    background: transparent;
}

.post-feature.is-square img {
    width: 100%;
    max-height: none;
    aspect-ratio: 1;
    object-fit: contain;
}

.post-feature.is-portrait {
    width: min(100%, 460px);
    margin-right: auto;
    margin-left: auto;
    background: transparent;
}

.post-feature.is-portrait img {
    width: auto;
    max-height: 620px;
    object-fit: contain;
}

.post-content,
.post-tags,
.post-share,
.related,
.comments {
    width: 100%;
    max-width: none;
}

.post-content {
    color: #27272a;
    font-family: var(--mk-font-body, system-ui, sans-serif);
    font-size: 1rem;
    line-height: 1.8;
}

.post-content .blog-align-left { text-align: left; }
.post-content .blog-align-center { text-align: center; }
.post-content .blog-align-right { text-align: right; }

.post-content :where(.blog-align-left, .blog-align-center, .blog-align-right) > :first-child {
    margin-top: 0;
}

.post-content :where(.blog-align-left, .blog-align-center, .blog-align-right) > :last-child {
    margin-bottom: 0;
}

.post-content table {
    width: 100%;
    margin: 1.25rem 0;
    border-collapse: collapse;
}

.post-content th,
.post-content td {
    padding: .7rem .8rem;
    border: 1px solid var(--blog-line);
    text-align: left;
}

.post-content th {
    background: #f8fafc;
    color: var(--blog-ink);
}

.post-content h2,
.post-content h3,
.post-content h4 {
    color: var(--blog-ink);
    font-family: inherit;
    letter-spacing: 0;
}

.post-content h2 {
    margin: 1.8rem 0 .7rem;
    font-size: 1.45rem;
}

.post-content h3 {
    margin: 1.45rem 0 .6rem;
    font-size: 1.2rem;
}

.post-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1.25rem auto;
    border-radius: var(--blog-radius);
}

.post-content blockquote {
    margin: 1.25rem 0;
    padding: 1rem 1.15rem;
    border-left: 4px solid var(--blog-brand);
    border-radius: 0 var(--blog-radius) var(--blog-radius) 0;
    background: #fff7f7;
    color: #475569;
}

.post-content pre {
    position: relative;
    overflow-x: auto;
    padding: 1rem;
    border-radius: var(--blog-radius);
    background: #172033;
    color: #e2e8f0;
}

.post-content code {
    border-radius: 4px;
    background: #f1f5f9;
    color: #9f1239;
    font-family: Consolas, monospace;
}

.post-content pre code {
    background: transparent;
    color: inherit;
}

.code-copy-btn {
    position: absolute;
    top: .5rem;
    right: .5rem;
    min-height: 30px;
    padding: .35rem .55rem;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 5px;
    background: #334155;
    color: #fff;
    cursor: pointer;
    font-size: .72rem;
    font-weight: 800;
}

.post-tags {
    margin-top: 1.25rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .45rem;
}

.post-tags a {
    padding: .35rem .65rem;
    border: 1px solid #dbeafe;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: .78rem;
    font-weight: 750;
    text-decoration: none;
}

.post-share,
.related,
.comments {
    margin-top: 1.25rem;
    padding: 1rem;
}

.post-share {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
}

.related h2,
.comments h2 {
    margin: 0 0 1rem;
    display: flex;
    align-items: center;
    gap: .4rem;
    color: var(--blog-ink);
    font-size: 1.08rem;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: .75rem;
}

.related-card {
    min-width: 0;
    padding: .7rem;
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr);
    gap: .7rem;
    border: 1px solid #f1f5f9;
    border-radius: var(--blog-radius);
    color: inherit;
    text-decoration: none;
}

.related-card:hover {
    border-color: #fecaca;
    background: #fffafa;
}

.related-card img {
    width: 80px;
    height: 64px;
    border-radius: 6px;
    object-fit: cover;
}

.related-card h3 {
    margin: 0 0 .3rem;
    color: var(--blog-ink);
    font-size: .9rem;
}

.related-card small {
    color: var(--blog-muted);
    font-size: .75rem;
}

.comment-form textarea,
.comment-form input {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    border: 1px solid #cbd5e1;
    border-radius: var(--blog-radius);
    background: #fff;
    color: var(--blog-ink);
    font: inherit;
}

.comment-form textarea {
    min-height: 120px;
    padding: .75rem;
    resize: vertical;
}

.comment-guest-grid {
    margin-bottom: .65rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .65rem;
}

.comment-guest-grid input {
    min-height: 42px;
    padding: .65rem .75rem;
}

.comment-form :is(textarea, input):focus {
    border-color: #fca5a5;
    outline: none;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, .1);
}

.comment-form-foot {
    margin-top: .7rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .7rem;
}

.comment-form-foot small,
.comment-login,
.comment-empty {
    color: var(--blog-muted);
    font-size: .82rem;
}

.comment-login,
.comment-empty {
    padding: 1rem;
    border: 1px dashed #cbd5e1;
    border-radius: var(--blog-radius);
    background: var(--blog-soft);
}

.comment-list {
    margin-top: 1rem;
    display: grid;
    gap: .7rem;
}

.comment {
    padding: .9rem;
    border: 1px solid #f1f5f9;
    border-radius: var(--blog-radius);
    background: #fff;
}

.comment.depth-1,
.comment.depth-2,
.comment.depth-3 {
    margin-left: 1.25rem;
    border-left: 3px solid #fecaca;
}

.comment header {
    margin-bottom: .45rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .45rem;
    color: var(--blog-muted);
    font-size: .78rem;
}

.comment-body {
    color: #334155;
    line-height: 1.65;
}

.badge {
    padding: .2rem .45rem;
    border-radius: 999px;
    font-size: .68rem;
    font-weight: 850;
}

.badge.admin {
    background: #fef2f2;
    color: #b91c1c;
}

.badge.premium {
    background: #fffbeb;
    color: #a16207;
}

.blog-copy-fallback {
    position: fixed;
    top: -9999px;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

[data-blog-copy].is-copied,
.code-copy-btn.is-copied {
    border-color: #10b981 !important;
    background: #10b981 !important;
    color: #fff !important;
}

img.is-load-error {
    display: none;
}

@media (max-width: 960px) {
    .blog-main-layout {
        grid-template-columns: 1fr;
    }

    .blog-sidebar {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sidebar-cta {
        grid-column: 1 / -1;
    }
}

@media (max-width: 700px) {
    :root {
        --blog-rail: min(100% - 1rem, var(--mk-container, 1400px));
    }

    .blog-hero,
    .cat-hero,
    .tag-hero,
    .search-hero,
    .post-hero {
        min-height: auto;
        margin-top: 1rem;
        padding: 1.25rem;
    }

    .blog-search {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .blog-search .blog-button {
        min-width: 76px;
        padding-inline: .7rem;
    }

    .featured-grid,
    .blog-sidebar,
    .comment-guest-grid {
        grid-template-columns: 1fr;
    }

    .featured-main {
        grid-row: auto;
    }

    .post-grid {
        grid-template-columns: 1fr;
    }

    .post-feature.is-landscape img {
        max-height: 360px;
    }

    .post-feature.is-square {
        width: min(100%, 440px);
    }

    .post-feature.is-portrait {
        width: min(100%, 380px);
    }

    .post-share .blog-button,
    .comment-form-foot .blog-button {
        width: 100%;
    }

    .comment.depth-1,
    .comment.depth-2,
    .comment.depth-3 {
        margin-left: .5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .featured-card,
    .post-card,
    .featured-img-wrap img,
    .post-thumb img,
    .blog-button {
        transition: none;
    }
}
