:root {
    --lyb-font-heading: "Montserrat", Helvetica, Arial, sans-serif;
    --lyb-font-body: "Roboto", Helvetica, Arial, sans-serif;
    --lyb-magenta: #d000a7;
    --lyb-yellow: #f4cf33;
    --lyb-green: #61c500;
    --lyb-teal: #0096c7;
    --lyb-cyan: #5aa4c7;
    --lyb-ink: #17110b;
    --lyb-soft: #f6f6f4;
    --lyb-line: #e8e5df;
    --lyb-muted: #6f6f73;
    --lyb-white: #ffffff;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--lyb-font-body);
    color: var(--lyb-ink);
    background-color: #f7f5f1;
    overflow-y: scroll;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
.btn,
.badge,
.form-label,
.card-title,
.fw-bolder,
.fw-bold {
    font-family: var(--lyb-font-heading);
}

p,
span,
div,
small,
label,
input,
textarea,
select,
button,
a,
li {
    font-family: var(--lyb-font-body);
}

a {
    color: var(--lyb-teal);
}

a:hover {
    color: var(--lyb-magenta);
}

.card {
    border-radius: 1.25rem;
    overflow: hidden;
}

.btn,
.form-control,
.form-select {
    border-radius: 0.85rem;
}

.btn-primary {
    border-color: var(--lyb-magenta);
    background-color: var(--lyb-magenta);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    border-color: #9b0071;
    background-color: #9b0071;
}

.btn-light-primary,
.badge-light-primary {
    color: var(--lyb-magenta) !important;
    background-color: rgba(195, 0, 143, 0.1) !important;
}

.btn-light-primary:hover,
.btn-light-primary:focus,
.btn-light-primary:active {
    color: var(--lyb-white) !important;
    border-color: var(--lyb-magenta);
    background-color: var(--lyb-magenta) !important;
}

.lyb-category-badge {
    color: var(--lyb-category-text, var(--lyb-magenta)) !important;
    background-color: var(--lyb-category-bg, rgba(195, 0, 143, 0.1)) !important;
    border: 1px solid var(--lyb-category-border, rgba(208, 0, 167, 0.18));
    box-shadow: none;
}

.lyb-category-badge:hover,
.lyb-category-badge:focus {
    color: var(--lyb-category-text, var(--lyb-magenta)) !important;
}

.lyb-btn-ai {
    color: var(--lyb-magenta) !important;
    background-color: rgba(195, 0, 143, 0.1) !important;
    border-color: rgba(208, 0, 167, 0.18) !important;
}

.lyb-btn-ai:hover,
.lyb-btn-ai:focus,
.lyb-btn-ai:active {
    color: var(--lyb-white) !important;
    border-color: var(--lyb-magenta) !important;
    background-color: var(--lyb-magenta) !important;
}

.lyb-ai-button-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.lyb-ai-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.lyb-ai-icon svg {
    width: 1rem;
    height: 1rem;
    fill: currentColor;
}

.lyb-btn-save {
    color: var(--lyb-white) !important;
    border-color: #198754 !important;
    background-color: #198754 !important;
}

.lyb-btn-save:hover,
.lyb-btn-save:focus,
.lyb-btn-save:active {
    color: var(--lyb-white) !important;
    border-color: #157347 !important;
    background-color: #157347 !important;
}

.text-hover-primary:hover,
.text-primary {
    color: var(--lyb-magenta) !important;
}

.form-control:focus,
.form-select:focus {
    border-color: rgba(15, 127, 159, 0.45);
    box-shadow: 0 0 0 0.25rem rgba(15, 127, 159, 0.12);
}

.lyb-shell-header {
    position: relative;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(8, 8, 8, 0.06);
}

.lyb-shell-header::before {
    content: none;
    pointer-events: none;
}

.lyb-shell-header > * {
    position: relative;
    z-index: 1;
}

.lyb-public-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: nowrap;
}

.lyb-brand-lockup {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    min-width: 0;
    flex: 1 1 auto;
}

.lyb-brand-logo {
    display: block;
    max-width: 100%;
    height: auto;
}

.lyb-brand-logo--header {
    width: min(280px, 100%);
}

.lyb-brand-logo--admin-header {
    width: 150px;
}

.lyb-brand-logo--panel {
    width: min(100%, 220px);
    max-width: 100%;
}

.lyb-brand-logo--compact {
    width: min(100%, 220px);
    max-width: 100%;
}

.lyb-brand-tagline {
    font-family: var(--lyb-font-heading);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--lyb-ink);
}

.lyb-brand-url {
    font-family: var(--lyb-font-body);
    color: var(--lyb-muted);
    font-size: 0.88rem;
}

.lyb-brand-stack {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.lyb-public-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 0 0 auto;
}

.lyb-public-main-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 0.75rem;
    color: var(--lyb-teal);
    text-decoration: none;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.lyb-public-main-link:hover,
.lyb-public-main-link:focus {
    color: var(--lyb-magenta);
    background: rgba(208, 0, 167, 0.08);
}

.lyb-public-main-link svg {
    width: 1.05rem;
    height: 1.05rem;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.lyb-public-search {
    display: flex;
    align-items: center;
    flex: 0 1 320px;
    min-width: 220px;
    padding: 0.32rem 0.38rem 0.32rem 0.9rem;
    border: 1px solid rgba(8, 8, 8, 0.12);
    border-radius: 0.9rem;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(23, 17, 11, 0.05);
}

.lyb-public-search input {
    flex: 1 1 auto;
    min-width: 0;
    border: 0;
    background: transparent;
    color: var(--lyb-ink);
    font-family: var(--lyb-font-body);
    font-size: 0.95rem;
    outline: none;
}

.lyb-public-search input::placeholder {
    color: var(--lyb-muted);
}

.lyb-public-search button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border: 0;
    border-radius: 0.7rem;
    background: rgba(208, 0, 167, 0.1);
    color: var(--lyb-magenta);
    padding: 0;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.lyb-public-search button:hover,
.lyb-public-search button:focus {
    background: var(--lyb-magenta);
    color: var(--lyb-white);
}

.lyb-public-search button svg {
    width: 1rem;
    height: 1rem;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.lyb-public-dropdown {
    position: relative;
}

.lyb-public-dropdown summary {
    list-style: none;
}

.lyb-public-dropdown summary::-webkit-details-marker {
    display: none;
}

.lyb-public-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: auto;
    padding: 0;
    border-radius: 0;
    border: 0;
    background: transparent;
    color: var(--lyb-ink);
    font-family: var(--lyb-font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: none;
    transition: color 0.2s ease;
}

.lyb-public-dropdown-toggle::after {
    content: "";
    width: 0.5rem;
    height: 0.5rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-0.08rem);
    transition: transform 0.2s ease;
}

.lyb-public-dropdown[open] .lyb-public-dropdown-toggle::after {
    transform: rotate(-135deg) translateY(-0.02rem);
}

.lyb-public-dropdown-toggle:hover,
.lyb-public-dropdown-toggle:focus {
    color: var(--lyb-magenta);
}

.lyb-public-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.65rem);
    right: 0;
    z-index: 20;
    display: grid;
    gap: 0.3rem;
    min-width: 230px;
    padding: 0.6rem;
    border-radius: 1rem;
    border: 1px solid rgba(8, 8, 8, 0.08);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 24px 40px rgba(23, 17, 11, 0.12);
}

.lyb-public-dropdown-item {
    display: block;
    padding: 0.72rem 0.85rem;
    border-radius: 0.8rem;
    color: var(--lyb-ink);
    font-family: var(--lyb-font-body);
    font-size: 0.96rem;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.lyb-public-dropdown-item:hover,
.lyb-public-dropdown-item:focus {
    background: rgba(208, 0, 167, 0.08);
    color: var(--lyb-magenta);
}

.lyb-public-dropdown-item.is-active {
    background: rgba(0, 150, 199, 0.08);
    color: var(--lyb-teal);
    font-weight: 600;
}

.lyb-shell-header--admin {
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(8, 8, 8, 0.08);
    box-shadow: 0 6px 20px rgba(20, 20, 20, 0.04);
}

.lyb-shell-header--admin::before {
    content: none;
}

.lyb-shell-header--admin .lyb-brand-lockup {
    gap: 0.75rem;
}

.lyb-admin-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-width: 0;
}

.lyb-brand-lockup--admin {
    flex-shrink: 0;
}

.lyb-admin-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    min-width: 0;
    margin-left: auto;
    overflow: visible;
}

.lyb-admin-nav .btn {
    flex: 0 0 auto;
    padding: 0.48rem 0.78rem;
    border-radius: 0.7rem;
    font-size: 0.78rem;
    line-height: 1.2;
    white-space: nowrap;
    border-width: 1px;
    border-style: solid;
    box-shadow: 0 8px 18px rgba(23, 17, 11, 0.04);
}

.lyb-admin-link--active {
    box-shadow: 0 10px 22px rgba(208, 0, 167, 0.18);
}

.lyb-shell-header--admin .lyb-admin-nav .btn-light {
    color: var(--lyb-ink);
    background: #f5f5f3;
    border-color: #e3ded6;
}

.lyb-shell-header--admin .lyb-admin-nav .btn-light:hover,
.lyb-shell-header--admin .lyb-admin-nav .btn-light:focus,
.lyb-shell-header--admin .lyb-admin-nav .btn-light:active {
    color: var(--lyb-ink);
    background: #ece9e3;
    border-color: #d8d1c8;
}

.lyb-shell-header--admin .lyb-admin-nav .btn-light-primary {
    color: #a1007d !important;
    background: rgba(208, 0, 167, 0.14) !important;
    border-color: rgba(208, 0, 167, 0.2);
}

.lyb-shell-header--admin .lyb-admin-nav .btn-light-primary:hover,
.lyb-shell-header--admin .lyb-admin-nav .btn-light-primary:focus,
.lyb-shell-header--admin .lyb-admin-nav .btn-light-primary:active {
    color: var(--lyb-white) !important;
    background: var(--lyb-magenta) !important;
    border-color: var(--lyb-magenta);
}

.lyb-shell-header--admin .lyb-admin-nav .btn-light-danger {
    color: #d63384 !important;
    background: rgba(214, 51, 132, 0.1) !important;
    border-color: rgba(214, 51, 132, 0.16);
}

.lyb-shell-header--admin .lyb-admin-nav .btn-light-danger:hover,
.lyb-shell-header--admin .lyb-admin-nav .btn-light-danger:focus,
.lyb-shell-header--admin .lyb-admin-nav .btn-light-danger:active {
    color: var(--lyb-white) !important;
    background: #d63384 !important;
    border-color: #d63384;
}

.lyb-admin-user {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    min-height: auto;
    padding: 0 0.2rem;
    color: var(--lyb-muted);
    font-family: var(--lyb-font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
}

.lyb-admin-user-trigger {
    font-family: var(--lyb-font-heading);
    font-weight: 700;
}

.lyb-admin-nav .dropdown {
    flex: 0 0 auto;
}

.lyb-admin-dropdown {
    min-width: 12rem;
    border-radius: 0.9rem;
    padding: 0.5rem;
    margin-top: 0.45rem;
}

.lyb-admin-dropdown .dropdown-item {
    border-radius: 0.65rem;
    padding: 0.65rem 0.8rem;
    font-family: var(--lyb-font-body);
    font-size: 0.92rem;
}

.lyb-admin-dropdown .dropdown-item.active,
.lyb-admin-dropdown .dropdown-item:active {
    color: var(--lyb-white);
    background: var(--lyb-magenta);
}

.lyb-hero-card {
    position: relative;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 246, 242, 0.98)),
        linear-gradient(135deg, rgba(15, 127, 159, 0.06), transparent 55%);
    border: 1px solid rgba(8, 8, 8, 0.06);
    box-shadow: 0 24px 60px rgba(20, 20, 20, 0.08);
}

.lyb-hero-card::after {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 8px;
    background: linear-gradient(180deg, var(--lyb-magenta) 0 25%, var(--lyb-yellow) 25% 50%, var(--lyb-green) 50% 75%, var(--lyb-teal) 75% 100%);
}

.lyb-hero-kicker {
    font-family: var(--lyb-font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--lyb-magenta);
}

.lyb-hero-panel {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 244, 239, 0.98)),
        linear-gradient(135deg, rgba(244, 207, 51, 0.08), transparent 60%);
    border: 1px solid rgba(8, 8, 8, 0.06);
    box-shadow: 0 18px 48px rgba(20, 20, 20, 0.06);
}

.lyb-hero-panel-list {
    display: grid;
    gap: 1rem;
}

.lyb-hero-panel-item {
    display: grid;
    grid-template-columns: 12px 1fr;
    gap: 0.9rem;
    align-items: start;
    color: var(--lyb-ink);
    font-size: 1rem;
    line-height: 1.6;
}

.lyb-hero-panel-dot {
    width: 12px;
    height: 12px;
    margin-top: 0.45rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--lyb-magenta), var(--lyb-teal));
    box-shadow: 0 0 0 6px rgba(208, 0, 167, 0.08);
}

.lyb-hero-title {
    font-family: var(--lyb-font-heading);
    font-size: clamp(2.7rem, 5vw, 5rem);
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: -0.04em;
    color: var(--lyb-ink);
    text-transform: uppercase;
}

.lyb-hero-subtitle {
    font-family: var(--lyb-font-heading);
    font-size: clamp(1rem, 1.6vw, 1.3rem);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--lyb-ink);
}

.lyb-accent-strip {
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--lyb-magenta) 0 25%, var(--lyb-yellow) 25% 50%, var(--lyb-green) 50% 75%, var(--lyb-teal) 75% 100%);
}

.lyb-page-intro {
    max-width: 56rem;
}

.lyb-article-meta {
    color: var(--lyb-muted);
    font-family: var(--lyb-font-body);
    font-size: 0.95rem;
}

.lyb-article-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    line-height: 1.4;
}

.lyb-article-meta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
    color: var(--lyb-magenta);
    flex: 0 0 auto;
}

.lyb-article-meta-icon.is-date {
    color: var(--lyb-magenta);
}

.lyb-article-meta-icon.is-category {
    color: var(--lyb-yellow);
}

.lyb-article-meta-icon.is-read {
    color: var(--lyb-teal);
}

.lyb-article-meta-icon.is-views {
    color: var(--lyb-green);
}

.lyb-article-meta-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.lyb-share-row {
    color: var(--lyb-muted);
}

.lyb-share-row--centered {
    text-align: center;
}

.lyb-share-row--compact {
    gap: 0.45rem;
    justify-content: center;
}

.lyb-share-label {
    font-family: var(--lyb-font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--lyb-magenta);
}

.lyb-share-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 999px;
    border: 1px solid rgba(23, 17, 11, 0.08);
    background: rgba(255, 255, 255, 0.9);
    color: var(--lyb-ink);
    font-family: var(--lyb-font-heading);
    font-size: 0.83rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    padding: 0.6rem 1rem;
}

.lyb-share-button-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1rem;
    height: 1rem;
    flex: 0 0 auto;
    border: 1px solid currentColor;
    border-radius: 999px;
    padding: 0.2rem;
    box-sizing: content-box;
}

.lyb-share-button-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.lyb-share-button:hover,
.lyb-share-button:focus {
    color: var(--lyb-magenta);
    border-color: rgba(208, 0, 167, 0.16);
    background: rgba(208, 0, 167, 0.08);
}

.lyb-share-button--icon-only {
    justify-content: center;
    min-width: 2.4rem;
    padding: 0.5rem;
}

.lyb-share-button--icon-only .lyb-share-button-icon {
    margin: 0;
}

.lyb-posts-table .table > :not(caption) > * > * {
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
}

.lyb-posts-title-cell {
    min-width: 22rem;
}

.lyb-posts-title-text {
    white-space: normal;
    word-break: break-word;
    line-height: 1.35;
}

.lyb-seo-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-family: var(--lyb-font-heading);
}

.lyb-seo-status-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 0.9rem;
    height: 0.9rem;
    flex: 0 0 auto;
}

.lyb-seo-status-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.lyb-hero-meta {
    color: var(--lyb-muted);
    font-size: 0.95rem;
}

.lyb-section-kicker {
    font-family: var(--lyb-font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--lyb-magenta);
}

.lyb-home-title {
    font-family: var(--lyb-font-heading);
    font-size: clamp(2.4rem, 5vw, 4.4rem);
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: -0.04em;
}

.lyb-home-intro {
    max-width: 44rem;
    color: var(--lyb-muted);
    font-size: 1.08rem;
    line-height: 1.75;
}

.lyb-home-stat {
    display: inline-flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1rem 1.25rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(8, 8, 8, 0.06);
    min-width: 14rem;
}

.lyb-home-stat-label {
    font-family: var(--lyb-font-heading);
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--lyb-magenta);
}

.lyb-home-stat-value {
    color: var(--lyb-ink);
    font-size: 0.98rem;
    line-height: 1.5;
}

.lyb-home-featured {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 244, 239, 0.98));
    box-shadow: 0 28px 60px rgba(20, 20, 20, 0.08);
}

.lyb-home-featured-image,
.lyb-home-trending-image,
.lyb-latest-image {
    display: block;
    width: 100%;
    height: auto;
    background: linear-gradient(180deg, rgba(251, 250, 248, 0.96), rgba(245, 242, 237, 0.96));
    object-fit: initial;
    aspect-ratio: auto;
}

.lyb-home-featured-placeholder {
    min-height: 100%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 244, 239, 0.98));
}

.lyb-home-featured-title {
    font-family: var(--lyb-font-heading);
    font-size: clamp(2rem, 3vw, 3.3rem);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -0.035em;
}

.lyb-home-featured-excerpt {
    color: var(--lyb-muted);
    font-size: 1.05rem;
    line-height: 1.75;
}

.lyb-home-empty {
    background: rgba(255, 255, 255, 0.94);
}

.lyb-latest-card {
    min-height: 0;
}

.lyb-category-card {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.95);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.lyb-category-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 44px rgba(8, 8, 8, 0.08);
}

.lyb-category-arrow {
    color: var(--lyb-magenta);
    font-family: var(--lyb-font-heading);
    font-size: 1.1rem;
    line-height: 1;
}

.lyb-category-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.95rem;
    border: 1px solid var(--lyb-category-border, rgba(208, 0, 167, 0.18));
    background-color: var(--lyb-category-bg, rgba(195, 0, 143, 0.1));
    color: var(--lyb-category-text, var(--lyb-magenta));
    flex: 0 0 auto;
}

.lyb-category-icon svg {
    width: 1.2rem;
    height: 1.2rem;
    fill: currentColor;
}

.lyb-category-card-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: 0 0.9rem 0.9rem;
    overflow: hidden;
    border-radius: 999px;
    height: 0.95rem;
}

.lyb-category-card-bar-segment {
    display: block;
    height: 100%;
}

.lyb-category-card-bar-segment.is-magenta {
    background: var(--lyb-magenta);
}

.lyb-category-card-bar-segment.is-yellow {
    background: var(--lyb-yellow);
}

.lyb-category-card-bar-segment.is-green {
    background: var(--lyb-green);
}

.lyb-category-card-bar-segment.is-teal {
    background: var(--lyb-teal);
}

.lyb-post-card {
    border: 1px solid rgba(8, 8, 8, 0.06);
    box-shadow: 0 18px 44px rgba(8, 8, 8, 0.06);
    background: rgba(255, 255, 255, 0.96);
}

.lyb-featured-post {
    border-radius: 1.5rem;
    box-shadow: 0 26px 60px rgba(20, 20, 20, 0.08);
}

.lyb-featured-post-image {
    min-height: 100%;
    aspect-ratio: 16 / 10;
    object-fit: contain;
    background: linear-gradient(180deg, rgba(251, 250, 248, 0.96), rgba(245, 242, 237, 0.96));
    display: block;
}

.lyb-featured-post-placeholder {
    min-height: 100%;
    padding: 3rem 2rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 244, 239, 0.98)),
        linear-gradient(135deg, rgba(15, 127, 159, 0.05), transparent 60%);
}

.lyb-featured-post-placeholder-inner {
    max-width: 20rem;
    text-align: center;
}

.lyb-featured-post-title {
    font-family: var(--lyb-font-heading);
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -0.035em;
}

.lyb-post-card:hover {
    transform: translateY(-4px);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 26px 56px rgba(8, 8, 8, 0.09);
}

.lyb-empty-card:hover {
    transform: none;
    box-shadow: 0 18px 44px rgba(8, 8, 8, 0.06);
}

.lyb-post-image {
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    object-fit: initial;
    background: linear-gradient(180deg, rgba(251, 250, 248, 0.96), rgba(245, 242, 237, 0.96));
    display: block;
}

.lyb-related-image {
    aspect-ratio: 16 / 10;
    object-fit: contain;
    background: linear-gradient(180deg, rgba(251, 250, 248, 0.96), rgba(245, 242, 237, 0.96));
    display: block;
}

.lyb-article-image {
    max-height: 520px;
    object-fit: contain;
    background: transparent;
    display: block;
}

.lyb-content {
    word-break: break-word;
}

.lyb-content > *:first-child {
    margin-top: 0;
}

.lyb-content > *:last-child {
    margin-bottom: 0;
}

.lyb-content,
.lyb-content * {
    font-family: var(--lyb-font-body) !important;
}

.lyb-content {
    line-height: 1.8;
}

.lyb-content h1,
.lyb-content h2,
.lyb-content h3,
.lyb-content h4,
.lyb-content h5,
.lyb-content h6 {
    margin-top: 1.7rem;
    margin-bottom: 0.8rem;
    color: var(--lyb-ink);
    line-height: 1.35;
}

.lyb-content p,
.lyb-content ul,
.lyb-content ol,
.lyb-content blockquote,
.lyb-content pre,
.lyb-content table,
.lyb-content figure {
    margin-top: 0;
    margin-bottom: 1rem;
}

.lyb-content ul,
.lyb-content ol {
    padding-left: 1.4rem;
}

.lyb-content p:last-child,
.lyb-content ul:last-child,
.lyb-content ol:last-child,
.lyb-content blockquote:last-child,
.lyb-content figure:last-child {
    margin-bottom: 0;
}

.lyb-content img,
.lyb-content iframe,
.lyb-content video,
.lyb-content table {
    max-width: 100%;
}

.lyb-content figure,
.lyb-content .lyb-content-media,
.lyb-content p > a:only-child,
.lyb-content p > img:only-child {
    display: block;
    width: 100%;
    margin: 1.25rem 0;
    text-align: center;
}

.lyb-content img,
.lyb-content figure img,
.lyb-content .lyb-content-media img,
.lyb-content p > a:only-child img,
.lyb-content p > img:only-child {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    border-radius: 1rem;
}

.lyb-content figcaption {
    margin-top: 0.75rem;
    color: var(--lyb-muted);
    font-size: 0.95rem;
    text-align: center;
}

.lyb-content table {
    display: block;
    overflow-x: auto;
    width: 100%;
}

.lyb-content blockquote {
    margin-left: 0;
    padding: 1rem 1.25rem;
    border-left: 4px solid var(--lyb-magenta);
    background: rgba(208, 0, 167, 0.04);
    border-radius: 0 1rem 1rem 0;
}

.lyb-login-card {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 247, 244, 0.98));
    border: 1px solid rgba(8, 8, 8, 0.06);
    box-shadow: 0 30px 70px rgba(8, 8, 8, 0.08);
}

.lyb-editor-shell {
    border: 1px solid rgba(8, 8, 8, 0.08);
    border-radius: 1rem;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.96);
}

.lyb-editor-shell.is-invalid {
    border-color: rgba(220, 53, 69, 0.55);
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.08);
}

.lyb-editor-shell.is-uploading {
    opacity: 0.72;
    pointer-events: none;
}

.lyb-editor-toolbar {
    border-bottom: 1px solid rgba(8, 8, 8, 0.08);
    background: linear-gradient(180deg, #fbfaf8 0%, #f5f2ed 100%);
}

.lyb-editor-toolbar.ql-toolbar.ql-snow {
    border: 0;
    padding: 0.85rem 1rem;
}

.lyb-editor.ql-container.ql-snow {
    border: 0;
    font-family: var(--lyb-font-body);
    font-size: 1rem;
}

.lyb-editor .ql-editor {
    min-height: 22rem;
    padding: 1.25rem 1.3rem;
    color: var(--lyb-ink);
    line-height: 1.7;
}

.lyb-editor .ql-editor.ql-blank::before {
    left: 1.3rem;
    right: 1.3rem;
    color: var(--lyb-muted);
    font-style: normal;
}

.lyb-editor .ql-editor h1,
.lyb-editor .ql-editor h2,
.lyb-editor .ql-editor h3 {
    font-family: var(--lyb-font-heading);
}

.lyb-word-signal {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.lyb-word-signal-dot {
    width: 0.8rem;
    height: 0.8rem;
    border-radius: 999px;
    opacity: 0.28;
    box-shadow: inset 0 0 0 1px rgba(23, 17, 11, 0.08);
    transition: opacity 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.lyb-word-signal-dot--red {
    background: #dc3545;
}

.lyb-word-signal-dot--yellow {
    background: #f4cf33;
}

.lyb-word-signal-dot--green {
    background: #198754;
}

.lyb-word-signal-dot.is-active {
    opacity: 1;
    transform: scale(1.08);
}

.lyb-word-signal-dot--red.is-active {
    box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.15);
}

.lyb-word-signal-dot--yellow.is-active {
    box-shadow: 0 0 0 4px rgba(244, 207, 51, 0.18);
}

.lyb-word-signal-dot--green.is-active {
    box-shadow: 0 0 0 4px rgba(25, 135, 84, 0.16);
}

.lyb-word-count {
    flex: 0 0 auto;
    font-family: var(--lyb-font-heading);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--lyb-muted);
    white-space: nowrap;
}

.lyb-editor-textarea {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.lyb-login-mark {
    width: min(100%, 220px);
    height: auto;
    margin-bottom: 1.5rem;
}

.lyb-page-stage {
    transition: opacity 0.22s ease, transform 0.22s ease;
}

[data-lyb-submit-button] .indicator-progress {
    display: none;
    align-items: center;
}

[data-lyb-submit-button][data-kt-indicator="on"] .indicator-label {
    display: none;
}

[data-lyb-submit-button][data-kt-indicator="on"] .indicator-progress {
    display: inline-flex;
}

html.lyb-js .lyb-page-stage {
    opacity: 0;
    transform: translate3d(0, 16px, 0);
    animation: lyb-page-enter 0.42s cubic-bezier(0.22, 1, 0.36, 1) 0.04s forwards;
    will-change: opacity, transform;
}

html.lyb-js.lyb-page-leaving .lyb-page-stage {
    animation: none;
    opacity: 0;
    transform: translate3d(0, 10px, 0);
}

@keyframes lyb-page-enter {
    from {
        opacity: 0;
        transform: translate3d(0, 16px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.lyb-footer {
    background: rgba(255, 255, 255, 0.9);
    border-top: 1px solid rgba(8, 8, 8, 0.06);
}

.lyb-muted {
    color: var(--lyb-muted) !important;
}

@media (max-width: 991.98px) {
    .lyb-public-topbar {
        flex-wrap: nowrap;
        align-items: center;
    }

    .lyb-brand-logo--header {
        width: 100%;
        max-width: 240px;
    }

    .lyb-brand-logo--admin-header {
        width: 100%;
        max-width: 150px;
    }

    .lyb-admin-topbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .lyb-admin-nav {
        width: 100%;
        justify-content: flex-start;
        margin-left: 0;
        overflow-x: auto;
        overflow-y: visible;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .lyb-admin-nav::-webkit-scrollbar {
        display: none;
    }

    .lyb-brand-tagline {
        letter-spacing: 0.08em;
    }

    .lyb-public-search {
        flex-basis: 220px;
        min-width: 200px;
    }

    .lyb-hero-title {
        font-size: clamp(2.2rem, 11vw, 3.6rem);
    }

    .lyb-home-stat {
        min-width: 0;
        width: 100%;
    }

    .lyb-hero-subtitle {
        letter-spacing: 0.12em;
    }

    .lyb-post-image,
    .lyb-related-image,
    .lyb-article-image {
        height: auto;
        max-height: none;
    }
}

@media (max-width: 767.98px) {
    .lyb-shell-header {
        padding-top: 0.5rem !important;
        padding-bottom: 0.5rem !important;
    }

    .lyb-public-topbar {
        flex-wrap: wrap;
        align-items: center;
    }

    .lyb-brand-lockup {
        gap: 0.6rem;
        flex: 1 1 auto;
    }

    .lyb-brand-logo--header {
        width: min(190px, 100%);
    }

    .lyb-public-topbar {
        gap: 0.6rem;
    }

    .lyb-public-search {
        flex: 1 1 100%;
        min-width: 0;
        width: 100%;
        max-width: none;
        padding-left: 0.75rem;
        order: 3;
    }

    .lyb-public-search input {
        font-size: 0.88rem;
    }

    .lyb-brand-tagline {
        font-size: 0.65rem;
        letter-spacing: 0.1em;
    }

    .lyb-brand-url {
        font-size: 0.8rem;
    }

    .lyb-public-nav {
        flex: 0 0 auto;
        order: 2;
    }

    .lyb-public-main-link {
        order: 2;
        margin-left: auto;
    }

    .lyb-public-nav {
        order: 3;
    }

    .lyb-public-dropdown-toggle {
        font-size: 0.88rem;
    }

    .lyb-public-dropdown-menu {
        min-width: 200px;
        right: 0;
    }

    .lyb-content {
        font-size: 1rem;
    }

    .lyb-home-title {
        font-size: clamp(2rem, 10vw, 3rem);
    }

    .lyb-home-intro {
        font-size: 1rem;
        line-height: 1.65;
    }

    .lyb-home-featured-title {
        font-size: 1.9rem;
    }

    .lyb-featured-post-title {
        font-size: 1.8rem;
    }

    .lyb-hero-panel-item {
        font-size: 0.95rem;
    }

    .lyb-latest-card-extra {
        display: none;
    }
}
