/*
 * Build 0094 — Main-Site Theme Pass Phase 9: Blogs
 * Presentation layer only. Existing Blog repository/service/privacy/write behavior remains authoritative.
 */

.buzzen-blog-theme-page {
    color: #29485e;
}

.buzzen-blog-theme-page.buzzen-blog-user-page,
.buzzen-blog-theme-page.buzzen-blog-item-page {
    background-attachment: fixed;
}

.buzzen-blog-theme-page .buzzen-v5-page-container {
    position: relative;
    z-index: 1;
}

.buzzen-blog-shell {
    /* Match the shared V5 shell: clip the top accent to the rounded shell edge. */
    overflow: hidden;
}

.buzzen-blog-custom-shell {
    background: rgba(246, 250, 253, var(--blog-panel-opacity, .96));
    backdrop-filter: blur(3px);
}

.buzzen-blog-flash {
    margin-bottom: 16px;
    border-radius: var(--buzzen-radius-sm);
    font-size: 14px;
    font-weight: 700;
}

/* Shared Blog hero language */
.buzzen-blog-hero,
.buzzen-blog-article-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.75fr) minmax(300px, .8fr);
    gap: 0;
    margin-bottom: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, #ffffff 0%, #f0f8fe 58%, #fff8dd 100%);
}

.buzzen-blog-hero::before,
.buzzen-blog-article-hero::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 6px;
    background: linear-gradient(180deg, #1b79bd 0%, #1b79bd 68%, #ffd24a 68%, #ffd24a 100%);
}

.buzzen-blog-hero-copy,
.buzzen-blog-article-hero-main {
    position: relative;
    padding: 28px 30px 27px 34px;
}

.buzzen-blog-hero-copy::after,
.buzzen-blog-article-hero-main::after {
    content: "";
    position: absolute;
    right: -60px;
    top: -75px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(27, 121, 189, .055);
    pointer-events: none;
}

.buzzen-blog-hero h1,
.buzzen-blog-article-hero h1 {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0 0 12px;
    color: #103858;
    font-size: clamp(31px, 3.1vw, 46px);
    line-height: .99;
    font-weight: 800;
    letter-spacing: -.015em;
}

.buzzen-blog-hero-copy > p,
.buzzen-blog-article-hero-main > p {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0;
    color: #4c697c;
    font-size: 15px;
    line-height: 1.72;
    font-weight: 550;
}

.buzzen-blog-hero-points {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.buzzen-blog-hero-points span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 11px;
    border: 1px solid rgba(34, 103, 154, .13);
    border-radius: var(--buzzen-radius-pill);
    background: rgba(255, 255, 255, .82);
    color: #365a72;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 800;
    box-shadow: 0 5px 14px rgba(17, 71, 111, .045);
}

.buzzen-blog-hero-points i {
    color: #d79819;
}

.buzzen-blog-hero-panel,
.buzzen-blog-article-hero-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 27px 25px;
    background: linear-gradient(145deg, #0c2b47 0%, #123f67 58%, #155c91 100%);
    color: #eaf5fc;
}

.buzzen-blog-hero-panel::after,
.buzzen-blog-article-hero-panel::after {
    content: "";
    position: absolute;
    right: -62px;
    bottom: -74px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(255, 210, 74, .10);
    pointer-events: none;
}

.buzzen-blog-hero-panel-icon,
.buzzen-blog-side-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    margin-bottom: 13px;
    border-radius: var(--buzzen-radius-sm);
    background: rgba(255, 210, 74, .13);
    color: #ffd24a;
    font-size: 19px;
    box-shadow: inset 0 0 0 1px rgba(255, 210, 74, .13);
}

.buzzen-blog-panel-kicker {
    display: block;
    margin-bottom: 5px;
    color: #8bcdf4;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.buzzen-blog-hero-panel h2,
.buzzen-blog-article-hero-panel h2 {
    position: relative;
    z-index: 1;
    margin: 0 0 8px;
    color: #fff;
    font-size: 26px;
    line-height: 1.05;
    font-weight: 800;
}

.buzzen-blog-hero-panel p,
.buzzen-blog-article-hero-panel p {
    position: relative;
    z-index: 1;
    margin: 0 0 16px;
    color: #c8dce9;
    font-size: 14px;
    line-height: 1.6;
    font-weight: 550;
}

.buzzen-blog-hero-actions {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.buzzen-blog-hero-actions .btn {
    min-height: 42px;
    border-radius: var(--buzzen-radius-sm);
    font-size: 13px;
    font-weight: 800;
}

.buzzen-blog-hero-actions .btn-warning,
.buzzen-blog-hero-panel > .btn-warning {
    border-color: #ffd24a;
    background: linear-gradient(135deg, #ffd24a, #f5ad24);
    color: #102f4e;
    font-weight: 900;
}

.buzzen-blog-panel-link {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 12px;
    color: #fff0aa;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.buzzen-blog-panel-link:hover,
.buzzen-blog-panel-link:focus {
    color: #fff;
}

/* Directory and member-blog layouts */
.buzzen-blog-layout,
.buzzen-blog-form-layout {
    display: grid;
    grid-template-columns: minmax(0, 2.2fr) minmax(270px, .72fr);
    gap: 18px;
    align-items: start;
}

.buzzen-blog-main,
.buzzen-blog-sidebar {
    min-width: 0;
}

.buzzen-blog-sidebar {
    display: grid;
    gap: 14px;
}

.buzzen-blog-feed-card,
.buzzen-blog-search-card,
.buzzen-blog-search-results-card,
.buzzen-blog-editor-card,
.buzzen-blog-reading-card,
.buzzen-blog-comments-card {
    overflow: hidden;
}

.buzzen-blog-feed-list,
.buzzen-blog-search-results,
.buzzen-blog-comments-body {
    display: grid;
    gap: 12px;
    padding: 16px;
}

.buzzen-blog-story-card,
.buzzen-blog-search-result {
    position: relative;
    display: flex;
    gap: 15px;
    padding: 16px;
    border: 1px solid rgba(34, 103, 154, .13);
    border-radius: var(--buzzen-radius-md);
    background: linear-gradient(135deg, #fff 0%, #f7fbfe 100%);
    box-shadow: 0 8px 20px rgba(17, 71, 111, .055);
    overflow: hidden;
}

.buzzen-blog-story-card::before,
.buzzen-blog-search-result::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #1b79bd;
}

.buzzen-blog-story-card.is-private,
.buzzen-blog-search-result.is-private {
    background: linear-gradient(135deg, #fff 0%, #fff9e6 100%);
}

.buzzen-blog-story-card.is-private::before,
.buzzen-blog-search-result.is-private::before {
    background: #f5ad24;
}

.buzzen-blog-story-avatar,
.buzzen-blog-search-avatar {
    flex: 0 0 70px;
}

.buzzen-blog-story-avatar img,
.buzzen-blog-search-avatar img {
    width: 66px;
    height: 66px;
    object-fit: cover;
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(245, 173, 36, .62), 0 8px 18px rgba(17, 71, 111, .12);
}

.buzzen-blog-story-body,
.buzzen-blog-search-result-body {
    flex: 1 1 auto;
    min-width: 0;
}

.buzzen-blog-story-eyebrow {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 11px;
    margin-bottom: 7px;
    color: #6c8290;
    font-size: 12px;
    line-height: 1.3;
    font-weight: 750;
}

.buzzen-blog-story-eyebrow span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.buzzen-blog-story-eyebrow span.is-private {
    color: #9b6a0e;
}

.buzzen-blog-story-eyebrow i {
    color: #1b79bd;
}

.buzzen-blog-story-eyebrow .is-private i {
    color: #d79819;
}

.buzzen-blog-story-card h3,
.buzzen-blog-search-result h3 {
    margin: 0 0 5px;
    color: #123d5c;
    font-size: 24px;
    line-height: 1.08;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.buzzen-blog-story-card h3 a,
.buzzen-blog-search-result h3 a {
    color: #123d5c;
    text-decoration: none;
}

.buzzen-blog-story-card h3 a:hover,
.buzzen-blog-story-card h3 a:focus,
.buzzen-blog-search-result h3 a:hover,
.buzzen-blog-search-result h3 a:focus {
    color: #1b79bd;
}

.buzzen-blog-story-byline {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 10px;
    color: #718695;
    font-size: 13px;
    font-weight: 650;
}

.buzzen-blog-story-byline a {
    color: #176a9e;
    font-weight: 800;
    text-decoration: none;
}

.buzzen-blog-story-body > p,
.buzzen-blog-search-result-body > p {
    margin: 0;
    color: #405f73;
    font-size: 14px;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.buzzen-blog-story-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 13px;
}

.buzzen-blog-story-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.buzzen-blog-story-stats span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 9px;
    border: 1px solid rgba(34, 103, 154, .11);
    border-radius: var(--buzzen-radius-pill);
    background: #fff;
    color: #527087;
    font-size: 12px;
    font-weight: 800;
}

.buzzen-blog-story-stats i {
    color: #d79819;
}

.buzzen-blog-story-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #176a9e;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;
}

.buzzen-blog-story-link:hover,
.buzzen-blog-story-link:focus {
    color: #0c5f92;
}

.buzzen-blog-pagination {
    padding: 0 16px 18px;
}

.buzzen-blog-pagination .page-link {
    min-width: 34px;
    border-color: #d9e6ef;
    color: #176a9e;
    font-weight: 750;
    text-align: center;
}

.buzzen-blog-pagination .page-item.active .page-link {
    border-color: #176a9e;
    background: #176a9e;
    color: #fff;
}

/* Sidebar cards */
.buzzen-blog-side-card {
    padding: 17px;
}

.buzzen-blog-side-card .buzzen-blog-side-icon {
    background: #eaf5fc;
    color: #1b79bd;
    box-shadow: none;
}

.buzzen-blog-side-card .buzzen-blog-panel-kicker {
    color: #1a6f9f;
}

.buzzen-blog-side-card h2 {
    margin: 0 0 8px;
    color: #123d5c;
    font-size: 22px;
    line-height: 1.05;
    font-weight: 800;
}

.buzzen-blog-side-card > p {
    margin: 0 0 13px;
    color: #5c7689;
    font-size: 13px;
    line-height: 1.6;
}

.buzzen-blog-side-primary-action {
    min-height: 44px;
    border-radius: var(--buzzen-radius-sm);
    font-size: 13px;
    font-weight: 800;
}

.buzzen-blog-side-list,
.buzzen-blog-tip-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.buzzen-blog-side-list li {
    min-width: 0;
    padding: 10px 0;
    border-top: 1px solid rgba(34, 103, 154, .10);
    color: #5e7687;
    font-size: 13px;
    line-height: 1.45;
}

.buzzen-blog-side-list li:first-child {
    padding-top: 4px;
    border-top: 0;
}

.buzzen-blog-side-list li:last-child {
    padding-bottom: 2px;
}

.buzzen-blog-side-list a {
    color: #214f6c;
    font-weight: 750;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.buzzen-blog-side-list a:hover,
.buzzen-blog-side-list a:focus {
    color: #1b79bd;
}

.buzzen-blog-side-list .is-empty {
    color: #7b8e9b;
    font-style: italic;
}

.buzzen-blog-popular-list li {
    display: flex;
    align-items: center;
    gap: 9px;
}

.buzzen-blog-popular-list img {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    object-fit: cover;
    border: 2px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 1px rgba(34, 103, 154, .18);
}

.buzzen-blog-comment-preview-list li {
    display: grid;
    gap: 3px;
}

.buzzen-blog-comment-author {
    color: #176a9e !important;
    font-weight: 850 !important;
}

.buzzen-blog-comment-preview {
    color: #566f81 !important;
    font-weight: 600 !important;
}

/* Member Blog hero */
.buzzen-blog-member-hero-copy {
    display: flex;
    gap: 20px;
    align-items: center;
    padding: 26px 30px 26px 34px;
}

.buzzen-blog-member-avatar {
    flex: 0 0 104px;
}

.buzzen-blog-member-avatar img {
    width: 104px;
    height: 104px;
    object-fit: cover;
    border: 5px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(245, 173, 36, .60), 0 14px 26px rgba(17, 71, 111, .16);
}

.buzzen-blog-member-hero-copy h1 {
    margin: 0 0 9px;
    color: #103858;
    font-size: clamp(31px, 3vw, 44px);
    line-height: 1;
    font-weight: 800;
}

.buzzen-blog-member-hero-copy p {
    margin: 0;
    max-width: 720px;
    color: #4c697c;
    font-size: 14px;
    line-height: 1.65;
}

/* Status/empty states */
.buzzen-blog-status-card,
.buzzen-blog-empty {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 17px;
    border: 1px dashed #bfd0dd;
    border-radius: var(--buzzen-radius-md);
    background: #f8fbfd;
    color: #5e778a;
    font-size: 14px;
    line-height: 1.55;
}

.buzzen-blog-status-card {
    margin-bottom: 18px;
    border-style: solid;
}

.buzzen-blog-status-card > i,
.buzzen-blog-empty > i {
    color: #1b79bd;
    font-size: 21px;
}

.buzzen-blog-status-card h2 {
    margin: 0 0 2px;
    color: #123d5c;
    font-size: 20px;
}

.buzzen-blog-status-card p {
    margin: 0;
}

.buzzen-blog-status-card.is-warning {
    border-color: rgba(224, 166, 40, .28);
    background: #fff9e7;
}

.buzzen-blog-status-card.is-warning > i {
    color: #d79819;
}

.buzzen-blog-status-card.is-danger {
    border-color: rgba(196, 55, 55, .25);
    background: #fff4f4;
}

.buzzen-blog-status-card.is-danger > i {
    color: #c73737;
}

/* Search */
.buzzen-blog-search-card {
    margin-bottom: 18px;
}

.buzzen-blog-search-form-wrap {
    padding: 18px;
}

.buzzen-blog-search-results-card {
    margin-top: 18px;
}

.buzzen-blog-search-result {
    align-items: flex-start;
}

/* Editor / add-edit forms */
.buzzen-blog-editor-body {
    padding: 20px;
}

.buzzen-blog-editor-form textarea.form-control {
    min-height: 310px;
    line-height: 1.6;
}

.buzzen-blog-option-fieldset {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.buzzen-blog-option-fieldset legend {
    margin-bottom: 8px;
    color: #214c68;
    font-size: 13px;
    line-height: 1.3;
    font-weight: 800;
}

.buzzen-blog-option-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.buzzen-blog-option-card {
    position: relative;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    min-width: 0;
    padding: 12px;
    border: 1px solid rgba(34, 103, 154, .14);
    border-radius: var(--buzzen-radius-sm);
    background: linear-gradient(135deg, #fff 0%, #f5faff 100%);
    cursor: pointer;
}

.buzzen-blog-option-card input {
    position: absolute;
    top: 11px;
    right: 11px;
    width: 17px;
    height: 17px;
}

.buzzen-blog-option-icon {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: 9px;
    background: #eaf5fc;
    color: #1b79bd;
}

.buzzen-blog-option-card strong {
    display: block;
    padding-right: 18px;
    color: #214c68;
    font-size: 13px;
    line-height: 1.3;
}

.buzzen-blog-option-card small {
    display: block;
    margin-top: 3px;
    color: #718695;
    font-size: 12px;
    line-height: 1.4;
    font-weight: 600;
}

.buzzen-blog-editor-actions {
    display: flex;
    justify-content: flex-end;
    gap: 9px;
    padding-top: 2px;
}

.buzzen-blog-editor-actions .btn {
    min-width: 132px;
    border-radius: var(--buzzen-radius-sm);
    font-size: 13px;
    font-weight: 800;
}

.buzzen-blog-tip-list {
    display: grid;
    gap: 9px;
}

.buzzen-blog-tip-list li {
    position: relative;
    padding-left: 21px;
    color: #526f82;
    font-size: 13px;
    line-height: 1.5;
}

.buzzen-blog-tip-list li::before {
    content: "\f00c";
    position: absolute;
    left: 0;
    top: 1px;
    color: #d79819;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

/* Article */
.buzzen-blog-article-hero-main {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.buzzen-blog-article-author-line {
    display: flex;
    gap: 11px;
    align-items: center;
    margin-top: 17px;
}

.buzzen-blog-article-author-line img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(245, 173, 36, .50);
}

.buzzen-blog-article-author-line div {
    display: grid;
    min-width: 0;
}

.buzzen-blog-article-author-line span,
.buzzen-blog-article-author-line small {
    color: #718695;
    font-size: 12px;
    line-height: 1.35;
    font-weight: 700;
}

.buzzen-blog-article-author-line strong {
    font-size: 15px;
    line-height: 1.25;
}

.buzzen-blog-article-author-line strong a {
    color: #176a9e;
    text-decoration: none;
}

.buzzen-blog-article-member {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 12px;
}

.buzzen-blog-article-member img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border: 3px solid rgba(255,255,255,.9);
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(255, 210, 74, .48);
}

.buzzen-blog-article-member h2 {
    margin-bottom: 2px;
}

.buzzen-blog-article-member h2 a {
    color: #fff;
    text-decoration: none;
}

.buzzen-blog-article-member p {
    margin: 0;
    font-size: 12px;
}

.buzzen-blog-author-facts {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.buzzen-blog-author-facts span {
    padding: 5px 8px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: var(--buzzen-radius-pill);
    background: rgba(255,255,255,.07);
    color: #d9e8f1;
    font-size: 12px;
    font-weight: 700;
}

.buzzen-blog-author-badges {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 10px 0 14px;
}

.buzzen-blog-author-badges img {
    max-width: 42px;
    max-height: 42px;
    object-fit: contain;
}

.buzzen-blog-article-layout {
    margin-top: 0;
}

.buzzen-blog-reading-toolbar {
    padding: 14px 18px;
    border-bottom: 1px solid rgba(34, 103, 154, .09);
    background: #fbfdff;
}

.buzzen-blog-social-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.buzzen-blog-social-actions form,
.buzzen-blog-like-list form {
    display: inline-flex;
}

.buzzen-blog-social-actions .btn {
    border-radius: var(--buzzen-radius-pill);
    font-size: 12px;
    font-weight: 800;
}

.buzzen-blog-like-list {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    align-items: center;
    margin-top: 10px;
    color: #5d7586;
    font-size: 12px;
}

.buzzen-blog-like-list > span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 8px;
    border: 1px solid rgba(34, 103, 154, .11);
    border-radius: var(--buzzen-radius-pill);
    background: #fff;
}

.buzzen-blog-reading-body {
    padding: 26px 26px 30px;
    color: #334f63;
    font-size: 15px;
    line-height: 1.78;
    overflow-wrap: anywhere;
}

.buzzen-blog-reading-body > :first-child {
    margin-top: 0;
}

.buzzen-blog-reading-body > :last-child {
    margin-bottom: 0;
}

.buzzen-blog-reading-body h1,
.buzzen-blog-reading-body h2,
.buzzen-blog-reading-body h3,
.buzzen-blog-reading-body h4 {
    margin-top: 1.35em;
    color: #123d5c;
    line-height: 1.12;
}

.buzzen-blog-reading-body img,
.buzzen-blog-reading-body iframe,
.buzzen-blog-reading-body video {
    max-width: 100%;
    height: auto;
}

.buzzen-blog-reading-body img {
    border-radius: var(--buzzen-radius-sm);
}

.buzzen-blog-reading-body blockquote {
    margin: 1.25rem 0;
    padding: 14px 17px;
    border-left: 4px solid #f5ad24;
    border-radius: 0 var(--buzzen-radius-sm) var(--buzzen-radius-sm) 0;
    background: #f6fafd;
    color: #4d697c;
}

.buzzen-blog-reading-body table {
    width: 100%;
    max-width: 100%;
    display: block;
    overflow-x: auto;
}

.buzzen-blog-post-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 0 18px 18px;
}

.buzzen-blog-post-nav > div > a,
.buzzen-blog-post-nav > div > span {
    display: flex;
    gap: 10px;
    align-items: center;
    min-height: 58px;
    padding: 11px 13px;
    border: 1px solid rgba(34, 103, 154, .13);
    border-radius: var(--buzzen-radius-sm);
    background: #f8fbfd;
    color: #214f6c;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.buzzen-blog-post-nav > div.is-next > a,
.buzzen-blog-post-nav > div.is-next > span {
    justify-content: flex-end;
    text-align: right;
}

.buzzen-blog-post-nav small {
    display: block;
    color: #8294a1;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 700;
}

.buzzen-blog-post-nav .is-disabled > span {
    color: #9baab4;
    background: #f3f6f8;
}

/* Comments */
.buzzen-blog-comments-card {
    margin-top: 18px;
}

.buzzen-blog-comment {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 11px;
    padding: 13px;
    border: 1px solid rgba(34, 103, 154, .11);
    border-radius: var(--buzzen-radius-sm);
    background: #fff;
}

.buzzen-blog-comment.is-highlighted {
    border-color: rgba(245, 173, 36, .55);
    background: #fffbed;
    box-shadow: 0 0 0 3px rgba(245, 173, 36, .08);
}

.buzzen-blog-comment-avatar img {
    width: 46px;
    height: 46px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px rgba(34, 103, 154, .16);
}

.buzzen-blog-comment-body {
    min-width: 0;
}

.buzzen-blog-comment-body header {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 7px;
}

.buzzen-blog-comment-body header > div {
    display: grid;
}

.buzzen-blog-comment-body header a {
    color: #176a9e;
    text-decoration: none;
}

.buzzen-blog-comment-body header span {
    margin-top: 2px;
    color: #8495a1;
    font-size: 12px;
    font-weight: 650;
}

.buzzen-blog-comment-body p {
    margin: 0;
    color: #405e72;
    font-size: 14px;
    line-height: 1.62;
    overflow-wrap: anywhere;
}

.buzzen-blog-comment-entry {
    padding: 0 16px 18px;
}

.buzzen-blog-comment-entry textarea.form-control,
.buzzen-blog-report-card textarea.form-control {
    min-height: 104px;
}

/* Tools/report */
.buzzen-blog-tool-list {
    display: grid;
    gap: 7px;
}

.buzzen-blog-tool-list a,
.buzzen-blog-tool-list button {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 9px 10px;
    border: 1px solid rgba(34, 103, 154, .11);
    border-radius: 9px;
    background: #f8fbfd;
    color: #214f6c;
    font-family: var(--buzzen-font-body);
    font-size: 13px;
    line-height: 1.35;
    font-weight: 800;
    text-decoration: none;
    text-align: left;
}

.buzzen-blog-tool-list button {
    color: #b13636;
}

.buzzen-blog-tool-list a:hover,
.buzzen-blog-tool-list a:focus {
    border-color: rgba(27, 121, 189, .28);
    background: #eef8fd;
    color: #1b79bd;
}

.buzzen-blog-tool-list button:hover,
.buzzen-blog-tool-list button:focus {
    border-color: rgba(193, 55, 55, .24);
    background: #fff3f3;
}

/* Members-only */
.buzzen-blog-members-only-page .buzzen-blog-hero {
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 991.98px) {
    .buzzen-blog-hero,
    .buzzen-blog-article-hero {
        grid-template-columns: 1fr;
    }

    .buzzen-blog-layout,
    .buzzen-blog-form-layout {
        grid-template-columns: 1fr;
    }

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

    .buzzen-blog-sidebar > .buzzen-blog-side-primary-action,
    .buzzen-blog-sidebar > .buzzen-blog-report-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767.98px) {
    .buzzen-blog-theme-page .buzzen-v5-page-container {
        padding-top: 28px;
    }

    .buzzen-blog-hero-copy,
    .buzzen-blog-article-hero-main,
    .buzzen-blog-member-hero-copy,
    .buzzen-blog-hero-panel,
    .buzzen-blog-article-hero-panel {
        padding: 22px 20px 22px 24px;
    }

    .buzzen-blog-member-hero-copy {
        align-items: flex-start;
    }

    .buzzen-blog-member-avatar,
    .buzzen-blog-member-avatar img {
        width: 78px;
        height: 78px;
        flex-basis: 78px;
    }

    .buzzen-blog-sidebar {
        grid-template-columns: 1fr;
    }

    .buzzen-blog-sidebar > .buzzen-blog-side-primary-action {
        grid-column: auto;
    }

    .buzzen-blog-option-grid {
        grid-template-columns: 1fr;
    }

    .buzzen-blog-story-footer {
        align-items: flex-start;
        flex-direction: column;
    }

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

    .buzzen-blog-post-nav > div.is-next > a,
    .buzzen-blog-post-nav > div.is-next > span {
        justify-content: space-between;
        text-align: left;
    }

    .buzzen-blog-reading-body {
        padding: 21px 18px 24px;
        font-size: 14px;
    }
}

@media (max-width: 575.98px) {
    .buzzen-blog-hero h1,
    .buzzen-blog-article-hero h1,
    .buzzen-blog-member-hero-copy h1 {
        font-size: 31px;
    }

    .buzzen-blog-member-hero-copy {
        display: grid;
    }

    .buzzen-blog-story-card,
    .buzzen-blog-search-result {
        padding: 14px;
    }

    .buzzen-blog-story-card h3,
    .buzzen-blog-search-result h3 {
        font-size: 21px;
    }

    .buzzen-blog-editor-actions,
    .buzzen-blog-hero-actions {
        flex-direction: column;
    }

    .buzzen-blog-editor-actions .btn,
    .buzzen-blog-hero-actions .btn {
        width: 100%;
    }

    .buzzen-blog-comment {
        grid-template-columns: 38px minmax(0, 1fr);
    }

    .buzzen-blog-comment-avatar img {
        width: 36px;
        height: 36px;
    }

    .buzzen-blog-comment-body header {
        flex-direction: column;
    }
}
