:root {
    --pg-ink: #111827;
    --pg-muted: #64748b;
    --pg-line: #e5e7eb;
    --pg-soft: #f8fafc;
    --pg-accent: #0ea5e9;
    --pg-accent-dark: #0369a1;
    --pg-warm: #f97316;
    --pg-success: #0f766e;
    --pg-surface: #ffffff;
    --pg-shadow-sm: 0 8px 22px rgba(15, 23, 42, 0.06);
    --pg-shadow-md: 0 18px 44px rgba(15, 23, 42, 0.1);
}

body {
    color: var(--pg-ink);
    background: #f5f7fb;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    text-rendering: optimizeLegibility;
}

a,
button,
.btn,
.form-control {
    transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.form-control:focus-visible {
    outline: 3px solid rgba(14, 165, 233, 0.28);
    outline-offset: 3px;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: 0.75rem;
    z-index: 1100;
    transform: translateY(-160%);
    border-radius: 6px;
    background: #ffffff;
    color: var(--pg-accent-dark);
    font-weight: 800;
    padding: 0.65rem 0.9rem;
    text-decoration: none;
    box-shadow: var(--pg-shadow-sm);
}

.skip-link:focus {
    transform: translateY(0);
}

.site-nav {
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(15, 23, 42, 0.96);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.18);
    backdrop-filter: blur(16px);
}

.navbar-brand,
.site-brand {
    letter-spacing: 0;
}

.site-brand {
    color: #ffffff;
    text-decoration: none;
}

.site-brand:hover,
.site-brand:focus {
    color: #ffffff;
}

.site-brand-mark {
    display: inline-grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid rgba(103, 232, 249, 0.45);
    border-radius: 8px;
    background: linear-gradient(135deg, #ecfeff, #67e8f9);
    color: #0f172a;
    font-size: 0.86rem;
    font-weight: 950;
    line-height: 1;
    box-shadow: 0 10px 24px rgba(103, 232, 249, 0.18);
}

.site-brand-text {
    color: #ffffff;
    font-size: 1.02rem;
    font-weight: 900;
    line-height: 1;
    text-shadow: 0 1px 16px rgba(255, 255, 255, 0.16);
    white-space: nowrap;
}

.nav-link {
    border-radius: 6px;
    color: rgba(226, 232, 240, 0.86);
    font-weight: 700;
    padding-inline: 0.82rem !important;
}

.nav-link:hover,
.nav-link:focus {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.site-nav .nav-link.active,
.site-nav .nav-link[aria-current="page"] {
    background: #ecfeff;
    color: #0f172a;
    box-shadow: 0 10px 24px rgba(103, 232, 249, 0.18);
}

.dropdown-menu {
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 8px;
    background: #111827;
    box-shadow: var(--pg-shadow-md);
}

.category-dropdown {
    width: min(360px, calc(100vw - 2rem));
    max-height: min(70vh, 520px);
    overflow-y: auto;
    padding: 0.45rem;
}

.dropdown-item {
    color: rgba(226, 232, 240, 0.9);
    font-weight: 650;
}

.category-dropdown-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-radius: 6px;
}

.category-dropdown-item span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.category-dropdown-item strong {
    flex: 0 0 auto;
    border-radius: 999px;
    background: rgba(103, 232, 249, 0.14);
    color: #a5f3fc;
    font-size: 0.76rem;
    font-weight: 750;
    min-width: 2rem;
    padding: 0.2rem 0.45rem;
    text-align: center;
}

.dropdown-item:active,
.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.dropdown-item.active,
.dropdown-item[aria-current="page"] {
    background: #ecfeff;
    color: #0f172a;
    font-weight: 900;
}

.category-dropdown-item.active strong,
.category-dropdown-item[aria-current="page"] strong {
    background: rgba(15, 23, 42, 0.1);
    color: #0f172a;
}

.site-nav .navbar-toggler {
    border-color: rgba(226, 232, 240, 0.28);
}

.home-intro {
    background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(12, 74, 110, 0.78), rgba(15, 118, 110, 0.72)),
        url("https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?auto=format&fit=crop&w=1800&q=80") center/cover;
    color: #ffffff;
    padding: 5.4rem 0 4.8rem;
}

.intro-copy {
    max-width: 860px;
}

.home-intro .lead,
.home-intro .text-secondary {
    color: rgba(255, 255, 255, 0.82) !important;
}

.eyebrow {
    color: #67e8f9;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.btn-ghost-light {
    border-color: rgba(255, 255, 255, 0.38);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.btn-ghost-light:hover {
    border-color: rgba(255, 255, 255, 0.65);
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
}

.hero-search {
    display: flex;
    gap: 0.75rem;
    max-width: 680px;
    padding: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.12);
    border-radius: 8px;
}

.hero-search .form-control {
    border: 0;
}

.btn-accent {
    color: #ffffff;
    background: #0f766e;
    border-color: #0f766e;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(15, 118, 110, 0.18);
}

.btn-accent:hover {
    color: #ffffff;
    background: #115e59;
    border-color: #115e59;
    transform: translateY(-1px);
}

.btn-outline-accent {
    color: #0f766e;
    border-color: rgba(15, 118, 110, 0.28);
    background: #ffffff;
    font-weight: 700;
}

.btn-outline-accent:hover {
    color: #ffffff;
    border-color: #0f766e;
    background: #0f766e;
    transform: translateY(-1px);
}

.metric-panel {
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.11);
    backdrop-filter: blur(8px);
    padding: 2rem;
    border-radius: 8px;
}

.metric-panel .metric {
    display: block;
    font-size: clamp(3rem, 8vw, 5rem);
    line-height: 1;
    font-weight: 800;
}

.metric-panel .label {
    display: block;
    color: rgba(255, 255, 255, 0.78);
    margin-top: 0.75rem;
}

.metric-list {
    display: grid;
    gap: 0.75rem;
    margin-top: 1.5rem;
    color: rgba(255, 255, 255, 0.86);
}

.metric-list span {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 0.75rem;
}

.section-kicker {
    color: var(--pg-muted);
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.section-heading {
    border-bottom: 1px solid var(--pg-line);
    padding-bottom: 1rem;
}

.featured-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.85fr);
    grid-template-rows: repeat(2, minmax(210px, 1fr));
    gap: 1.25rem;
}

.featured-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    min-height: 210px;
    background: #111827;
    color: #ffffff;
    box-shadow: var(--pg-shadow-sm);
}

.featured-card-large {
    grid-row: span 2;
    min-height: 445px;
}

.featured-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.38;
}

.featured-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.1), rgba(15, 23, 42, 0.92));
}

.featured-card-body {
    position: absolute;
    inset: auto 0 0;
    z-index: 1;
    padding: 1.25rem;
}

.featured-card-large .featured-card-body {
    padding: 1.8rem;
}

.featured-label {
    display: inline-flex;
    margin-bottom: 0.7rem;
    border-radius: 999px;
    background: #0f766e;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 900;
    padding: 0.3rem 0.65rem;
}

.featured-card h3 {
    font-size: 1.2rem;
    font-weight: 900;
}

.featured-card-large h3 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.featured-card a {
    color: #ffffff;
    text-decoration: none;
}

.featured-card p {
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 0.75rem;
}

.archive-hero {
    background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(3, 105, 161, 0.78)),
        url("https://images.unsplash.com/photo-1554224154-26032ffc0d07?auto=format&fit=crop&w=1800&q=80") center/cover;
    color: #ffffff;
    padding: 4.25rem 0;
}

.archive-hero p:not(.eyebrow) {
    color: rgba(255, 255, 255, 0.78);
}

.post-card {
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0;
    background: #ffffff;
    min-height: 100%;
    overflow: hidden;
    transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
    box-shadow: var(--pg-shadow-sm);
}

.site-sidebar {
    display: grid;
    gap: 1.25rem;
}

.sidebar-widget {
    border: 1px solid var(--pg-line);
    border-radius: 8px;
    background: #ffffff;
    padding: 1.2rem;
    box-shadow: var(--pg-shadow-sm);
}

.sidebar-widget h2 {
    border-bottom: 1px solid var(--pg-line);
    color: #0f172a;
    font-size: 1rem;
    font-weight: 900;
    margin: 0 0 1rem;
    padding-bottom: 0.7rem;
}

.sidebar-list,
.popular-list {
    display: grid;
    gap: 0.65rem;
}

.sidebar-list a,
.popular-list a {
    color: var(--pg-ink);
    text-decoration: none;
}

.sidebar-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 1px solid #f1f5f9;
    border-radius: 6px;
    padding: 0.45rem 0.55rem;
}

.sidebar-list strong {
    border-radius: 999px;
    background: #ecfeff;
    color: #0369a1;
    font-size: 0.86rem;
    min-width: 2rem;
    padding: 0.22rem 0.45rem;
    text-align: center;
}

.popular-list a {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    border: 1px solid #eef2f7;
    border-left: 3px solid #e0f2fe;
    border-radius: 6px;
    padding: 0.65rem 0.7rem;
    line-height: 1.35;
    transition: background 160ms ease, border-color 160ms ease;
}

.popular-list a:hover {
    background: #f8fafc;
    border-color: #dbeafe;
}

.popular-title {
    flex: 1;
    min-width: 0;
}

.popular-views {
    flex: 0 0 auto;
    border: 1px solid #dbeafe;
    border-radius: 999px;
    background: #eff6ff;
    color: #075985;
    font-size: 0.72rem;
    font-weight: 900;
    line-height: 1;
    padding: 0.32rem 0.5rem;
}

.sidebar-list a:hover {
    background: #f8fafc;
    color: var(--pg-accent-dark);
}

.post-card:hover {
    border-color: #99f6e4;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.11);
    transform: translateY(-3px);
}

.post-media {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #eef2f7;
    background: #eef2f7;
}

.post-icon {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 22% 18%, rgba(14, 165, 233, 0.22), transparent 34%),
        linear-gradient(135deg, rgba(14, 165, 233, 0.14), rgba(249, 115, 22, 0.1)),
        #f8fafc;
    color: #0369a1;
    font-weight: 900;
    font-size: 1.15rem;
}

.post-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 0;
    margin-bottom: 0;
    background: #e5e7eb;
    transition: transform 220ms ease, filter 220ms ease;
}

.post-card:hover .post-thumb {
    filter: saturate(1.05);
    transform: scale(1.035);
}

.post-date-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 4.2rem;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: #334155;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.1);
    font-size: 0.78rem;
    font-weight: 900;
    line-height: 1;
    padding: 0.42rem 0.62rem;
}

.post-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1rem 1.05rem 1.05rem;
}

.post-card h2,
.post-card h3 {
    line-height: 1.28;
    margin-bottom: 0.65rem;
}

.post-card h2 a,
.post-card h3 a {
    display: -webkit-box;
    min-height: 3.2rem;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.post-card-body > p.text-secondary {
    display: -webkit-box;
    min-height: 4.2rem;
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    font-size: 0.94rem;
    line-height: 1.5;
}

.image-preview-trigger {
    display: block;
    width: 100%;
    border: 0;
    background: transparent;
    padding: 0;
    text-align: inherit;
}

.featured-image-trigger {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
}

.featured-image-trigger::after {
    content: "Vista previa";
    position: absolute;
    right: 0.9rem;
    bottom: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.78);
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 700;
    opacity: 0;
    padding: 0.4rem 0.7rem;
    transform: translateY(4px);
    transition: opacity 160ms ease, transform 160ms ease;
}

.featured-image-trigger:hover::after,
.featured-image-trigger:focus-visible::after {
    opacity: 1;
    transform: translateY(0);
}

.featured-image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: 460px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 180ms ease, filter 180ms ease;
}

.featured-image-trigger:hover .featured-image {
    filter: saturate(1.04);
    transform: scale(1.015);
}

.post-card a {
    color: var(--pg-ink);
    text-decoration: none;
}

.post-card a:hover,
.read-link {
    color: #0369a1;
}

.read-link {
    font-weight: 700;
    text-decoration: none;
}

.resource-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #f1f5f9;
    color: #334155 !important;
    font-size: 0.92rem;
    font-weight: 800;
    margin-top: auto;
    padding: 0.64rem 0.85rem;
    text-decoration: none;
    text-align: center;
    white-space: normal;
}

.resource-btn:hover {
    border-color: #0f766e;
    background: #0f766e;
    color: #ffffff !important;
}

.related-section {
    border-top: 1px solid var(--pg-line);
    padding-top: 2rem;
}

.related-card .post-card-body {
    padding: 0.95rem;
}

.related-card h3 a {
    min-height: 3rem;
}

.pagination-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.page-link-btn,
.page-status {
    border: 1px solid var(--pg-line);
    border-radius: 6px;
    background: #ffffff;
    color: var(--pg-ink);
    padding: 0.65rem 0.9rem;
    text-decoration: none;
    font-weight: 800;
}

.page-link-btn:hover {
    border-color: #0f766e;
    color: #0f766e;
}

.page-link-btn.disabled {
    pointer-events: none;
    color: #94a3b8;
    background: #f1f5f9;
}

.page-status {
    color: var(--pg-muted);
    font-weight: 700;
}

.category-strip {
    border: 1px solid var(--pg-line);
    border-radius: 8px;
    padding: 1rem;
    background: var(--pg-soft);
}

.chip,
.tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border: 1px solid var(--pg-line);
    border-radius: 999px;
    padding: 0.45rem 0.75rem;
    color: var(--pg-ink);
    background: #ffffff;
    text-decoration: none;
    font-size: 0.92rem;
}

.chip:hover,
.tag-pill:hover {
    border-color: #94a3b8;
    color: #0369a1;
}

.chip span {
    color: var(--pg-muted);
    font-size: 0.82rem;
}

.post-page {
    max-width: 1180px;
}

.detail-hero {
    border: 1px solid var(--pg-line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: var(--pg-shadow-sm);
    padding: clamp(1.25rem, 3vw, 2rem);
}

.post-meta {
    color: var(--pg-muted);
    border-left: 4px solid var(--pg-accent);
    padding-left: 0.9rem;
}

.content-body {
    border: 1px solid var(--pg-line);
    background: #ffffff;
    border-radius: 8px;
    padding: 2rem;
    font-size: 1.05rem;
    line-height: 1.75;
    box-shadow: var(--pg-shadow-sm);
}

.content-body-lg {
    padding: clamp(1.35rem, 3vw, 2.5rem);
}

.content-body h2,
.content-body h3 {
    margin-top: 2rem;
    font-weight: 800;
}

.content-body a {
    font-weight: 700;
    color: #0369a1;
}

.content-body img {
    display: block;
    max-width: 100%;
    height: auto;
    max-height: min(560px, 72vh);
    object-fit: contain;
    border-radius: 8px;
    margin: 1rem 0;
    cursor: zoom-in;
}

.image-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1090;
    display: grid;
    place-items: center;
    background: rgba(15, 23, 42, 0.88);
    opacity: 0;
    padding: clamp(1rem, 3vw, 2rem);
    pointer-events: none;
    transition: opacity 160ms ease;
}

.image-lightbox.is-visible {
    opacity: 1;
    pointer-events: auto;
}

body.image-preview-open {
    overflow: hidden;
}

.image-lightbox-inner {
    position: relative;
    display: grid;
    gap: 0.75rem;
    max-width: min(1120px, 94vw);
    max-height: 92vh;
}

.image-lightbox img {
    display: block;
    width: auto;
    max-width: min(1120px, 94vw);
    height: auto;
    max-height: 82vh;
    border-radius: 8px;
    background: #ffffff;
    object-fit: contain;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.image-lightbox-caption {
    color: #e2e8f0;
    font-size: 0.92rem;
    line-height: 1.5;
    text-align: center;
}

.image-lightbox-close {
    position: absolute;
    top: -0.85rem;
    right: -0.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.55rem;
    height: 2.55rem;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 999px;
    background: #ffffff;
    color: #0f172a;
    font-size: 1.35rem;
    line-height: 1;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
}

.historic-premium-cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
    gap: 1rem;
    align-items: stretch;
    overflow: hidden;
    border: 1px solid rgba(15, 118, 110, 0.18);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(240, 253, 250, 0.96), rgba(255, 255, 255, 0.98)),
        #ffffff;
    box-shadow: var(--pg-shadow-sm);
    padding: clamp(1.1rem, 2.3vw, 1.5rem);
}

.historic-premium-copy {
    min-width: 0;
}

.historic-premium-copy h2 {
    max-width: 620px;
    color: #0f172a;
    font-size: clamp(1.35rem, 2.3vw, 1.8rem);
    font-weight: 800;
    line-height: 1.18;
    margin-bottom: 0.65rem;
}

.historic-premium-copy p:not(.section-kicker) {
    max-width: 660px;
    color: var(--pg-muted);
    margin-bottom: 0;
}

.historic-premium-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.historic-premium-badges span {
    border: 1px solid rgba(15, 118, 110, 0.18);
    border-radius: 999px;
    background: #ffffff;
    color: #0f766e;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.35rem 0.65rem;
}

.historic-premium-product {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 0.85rem;
    align-items: center;
    border: 1px solid var(--pg-line);
    border-radius: 8px;
    background: #ffffff;
    color: inherit;
    min-width: 0;
    padding: 0.75rem;
    text-decoration: none;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.historic-premium-product:hover,
.historic-premium-product:focus {
    border-color: rgba(15, 118, 110, 0.32);
    color: inherit;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

.historic-premium-thumb {
    display: grid;
    place-items: center;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 8px;
    background: #f8fafc;
    padding: 0.35rem;
}

.historic-premium-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.historic-premium-product strong,
.historic-premium-product small {
    display: block;
}

.historic-premium-product strong {
    overflow: hidden;
    color: #111827;
    font-size: 0.98rem;
    line-height: 1.3;
    text-overflow: ellipsis;
}

.historic-premium-product small {
    margin-top: 0.35rem;
    color: #0f766e;
    font-weight: 800;
}

.download-box,
.empty-state,
.contact-card {
    border: 1px solid var(--pg-line);
    background: var(--pg-soft);
    border-radius: 8px;
    padding: 1.5rem;
}

.download-box {
    background:
        linear-gradient(135deg, rgba(236, 253, 245, 0.9), rgba(240, 249, 255, 0.9)),
        #ffffff;
    box-shadow: var(--pg-shadow-sm);
}

.download-box .btn {
    text-align: center;
    white-space: normal;
}

.download-premium-note {
    border-left: 3px solid #0f766e;
    color: #475569;
    font-size: 0.94rem;
    line-height: 1.55;
    margin-bottom: 1rem;
    padding-left: 0.85rem;
}

.contact-card {
    background: #ffffff;
    box-shadow: var(--pg-shadow-md);
}

.captcha-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border: 1px solid var(--pg-line);
    border-radius: 8px;
    background: #f8fafc;
    padding: 0.55rem 0.65rem;
}

.captcha-row span {
    flex: 0 0 auto;
    color: var(--pg-ink);
    font-weight: 900;
}

.captcha-row .form-control {
    max-width: 120px;
    background: #ffffff;
}

.post-sidebar {
    position: sticky;
    top: 92px;
    display: grid;
    gap: 1.25rem;
}

.form-control,
.btn {
    border-radius: 6px;
}

.form-control {
    border-color: #d8dee8;
}

.form-control:focus {
    border-color: rgba(15, 118, 110, 0.65);
    box-shadow: 0 0 0 0.22rem rgba(15, 118, 110, 0.12);
}

.form-floating > .form-control {
    min-height: 3.55rem;
}

.textarea-lg {
    min-height: 190px !important;
}

.site-footer {
    border-top: 1px solid rgba(148, 163, 184, 0.16);
    background: #0f172a;
    color: #94a3b8;
    padding: 2.2rem 0;
}

.footer-socials {
    display: inline-flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.footer-socials a {
    color: #cbd5e1;
    font-weight: 800;
    text-decoration: none;
}

.footer-socials a:hover {
    color: #67e8f9;
}

.site-logo-mark {
    display: inline-grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 8px;
    background: linear-gradient(135deg, #0ea5e9, #f97316);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 900;
}

.site-logo-img {
    display: block;
    width: 148px;
    height: 40px;
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.monetization-strip,
.premium-inline,
.premium-sidebar-card,
.premium-card {
    border: 1px solid var(--pg-line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: var(--pg-shadow-sm);
}

.monetization-strip {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
    gap: 1rem;
    align-items: center;
    padding: 1.3rem;
}

.newsletter-form {
    display: flex;
    gap: 0.65rem;
}

.newsletter-form .form-control {
    min-width: 0;
}

.newsletter-form .btn {
    flex: 0 0 auto;
    white-space: normal;
}

.premium-inline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: #0f172a;
    color: #ffffff;
    padding: 1.2rem;
}

.premium-inline .btn {
    flex: 0 0 auto;
    white-space: normal;
}

.premium-inline p {
    color: rgba(255, 255, 255, 0.78);
}

.premium-hero {
    background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(15, 118, 110, 0.82), rgba(3, 105, 161, 0.7)),
        url("https://images.unsplash.com/photo-1554224155-6726b3ff858f?auto=format&fit=crop&w=1800&q=80") center/cover;
    color: #ffffff;
    padding: 5rem 0;
}

.premium-hero .lead {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.84);
}

.premium-product-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--pg-line);
    border-radius: 8px;
    background: #ffffff;
    color: inherit;
    text-decoration: none;
    box-shadow: var(--pg-shadow-sm);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.premium-product-card:hover {
    transform: translateY(-3px);
    border-color: rgba(15, 118, 110, 0.3);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.1);
}

.premium-product-thumb {
    display: grid;
    place-items: center;
    aspect-ratio: 4 / 3;
    background: #f8fafc;
    padding: 0.85rem;
}

.premium-product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.premium-product-placeholder {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 8px;
    background: #0f766e;
    color: #ffffff;
    font-weight: 900;
    letter-spacing: 0;
}

.premium-product-body {
    display: grid;
    gap: 0.45rem;
    padding: 0.95rem 1rem 0.3rem;
}

.premium-product-body strong {
    color: #111827;
    font-size: 1rem;
    line-height: 1.28;
}

.premium-product-body span {
    display: -webkit-box;
    overflow: hidden;
    min-height: 2.8rem;
    color: var(--pg-muted);
    font-size: 0.9rem;
    line-height: 1.5;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.premium-card-features {
    display: grid;
    gap: 0.35rem;
    margin: 0.25rem 0 0;
    padding: 0;
    list-style: none;
}

.premium-card-features li {
    position: relative;
    padding-left: 1.05rem;
    color: #334155;
    font-size: 0.88rem;
    line-height: 1.35;
}

.premium-card-features li::before,
.premium-feature-grid li::before,
.premium-buy-list li::before {
    position: absolute;
    left: 0;
    color: #0f766e;
    content: "✓";
    font-weight: 700;
}

.premium-product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin: auto 1rem 1rem;
}

.premium-product-price {
    width: fit-content;
    border-radius: 999px;
    background: #ecfdf5;
    color: #0f766e;
    font-size: 0.82rem;
    font-weight: 900;
    padding: 0.42rem 0.68rem;
}

.premium-product-cta {
    color: #0f766e;
    font-size: 0.88rem;
    font-weight: 700;
}

.premium-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.25rem;
}

.premium-card-top {
    display: grid;
    gap: 0.6rem;
}

.premium-card-top span {
    width: fit-content;
    border-radius: 999px;
    background: #ecfeff;
    color: #0369a1;
    font-weight: 900;
    padding: 0.4rem 0.7rem;
}

.premium-card-top strong {
    font-size: 1.25rem;
}

.premium-card small {
    color: var(--pg-muted);
}

.premium-related-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--pg-line);
    border-radius: 8px;
    background: #ffffff;
    color: inherit;
    text-decoration: none;
    box-shadow: var(--pg-shadow-sm);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.premium-related-card:hover,
.premium-related-card:focus {
    border-color: rgba(15, 118, 110, 0.34);
    color: inherit;
    box-shadow: var(--pg-shadow-md);
    transform: translateY(-3px);
}

.premium-related-thumb {
    display: grid;
    place-items: center;
    aspect-ratio: 16 / 10;
    border-bottom: 1px solid #eef2f7;
    background: #f8fafc;
    padding: 0.75rem;
}

.premium-related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.premium-related-body {
    display: grid;
    gap: 0.5rem;
    padding: 1rem;
}

.premium-related-price {
    width: fit-content;
    border-radius: 999px;
    background: #ecfdf5;
    color: #0f766e;
    font-size: 0.82rem;
    font-weight: 900;
    line-height: 1;
    padding: 0.42rem 0.68rem;
}

.premium-related-body strong {
    color: #111827;
    font-size: 1.08rem;
    line-height: 1.28;
}

.premium-related-body > span:last-child {
    display: -webkit-box;
    overflow: hidden;
    min-height: 2.9rem;
    color: var(--pg-muted);
    font-size: 0.92rem;
    line-height: 1.5;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.premium-upsell-block {
    border: 1px solid rgba(15, 118, 110, 0.18);
    border-radius: 8px;
    background: linear-gradient(180deg, #f8fffd 0%, #ffffff 100%);
    padding: 1.25rem;
}

.premium-upsell-card {
    border-color: rgba(15, 118, 110, 0.2);
}

.premium-compare-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.premium-compare-grid article {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #ffffff;
    padding: 1rem;
}

.premium-compare-grid article.is-premium {
    border-color: rgba(15, 118, 110, 0.28);
    background: #f8fffd;
}

.premium-compare-label {
    display: inline-flex;
    width: fit-content;
    border-radius: 999px;
    background: #eef2f7;
    color: #475569;
    font-size: 0.76rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.65rem;
    padding: 0.38rem 0.6rem;
    text-transform: uppercase;
}

.is-premium .premium-compare-label {
    background: #ecfdf5;
    color: #0f766e;
}

.premium-compare-grid strong {
    display: block;
    color: #0f172a;
    font-size: 1rem;
    line-height: 1.32;
    margin-bottom: 0.7rem;
}

.premium-compare-grid ul {
    display: grid;
    gap: 0.45rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.premium-compare-grid li {
    position: relative;
    color: #475569;
    font-size: 0.92rem;
    line-height: 1.42;
    padding-left: 1.15rem;
}

.premium-compare-grid li::before {
    position: absolute;
    left: 0;
    color: #0f766e;
    content: "✓";
    font-weight: 700;
}

.premium-trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.premium-trust-badges span {
    border: 1px solid rgba(15, 118, 110, 0.18);
    border-radius: 999px;
    background: #ffffff;
    color: #0f766e;
    font-size: 0.84rem;
    font-weight: 700;
    line-height: 1;
    padding: 0.5rem 0.7rem;
}

.premium-upsell-action {
    display: inline-flex !important;
    align-items: center;
    min-height: auto !important;
    overflow: visible !important;
    width: fit-content;
    border-radius: 8px;
    background: #0f766e;
    color: #ffffff !important;
    font-size: 0.86rem !important;
    font-weight: 700;
    line-height: 1;
    padding: 0.7rem 0.85rem;
    -webkit-line-clamp: unset !important;
}

.premium-features {
    display: grid;
    gap: 0.45rem;
    margin: 0;
    padding-left: 1.1rem;
}

.premium-features li {
    color: #334155;
}

.premium-track {
    color: var(--pg-muted);
    font-size: 0.86rem;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
}

.premium-actions {
    display: grid;
    gap: 0.65rem;
}

.premium-actions .btn {
    white-space: normal;
}

.content-product-card,
.content-download-card,
.content-cta-block,
.content-newsletter-block {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
    border: 1px solid var(--pg-line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.06);
    padding: 1.15rem;
}

.content-product-card {
    background: #fffaf0;
}

.content-download-card {
    background: #f8fafc;
}

.content-cta-block,
.content-newsletter-block {
    background: #eef6f5;
}

.content-product-card h3,
.content-download-card h3,
.content-cta-block h3,
.content-newsletter-block h3 {
    font-size: 1.15rem;
    margin: 0 0 0.35rem;
}

.content-product-card p,
.content-download-card p,
.content-cta-block p,
.content-newsletter-block p {
    color: var(--pg-muted);
    margin: 0;
}

.premium-buy-card {
    position: sticky;
    top: 92px;
    display: grid;
    gap: 0.9rem;
    border: 1px solid var(--pg-line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 16px 35px rgba(15, 23, 42, 0.08);
    padding: 1.35rem;
}

.premium-buy-card .btn {
    white-space: normal;
}

.premium-buy-card > span {
    width: fit-content;
    border-radius: 999px;
    background: #ecfeff;
    color: #0369a1;
    font-weight: 900;
    padding: 0.45rem 0.75rem;
}

.premium-detail-section {
    border-top: 1px solid #e2e8f0;
    padding-top: 1.4rem;
}

.premium-detail-card {
    border: 1px solid var(--pg-line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: var(--pg-shadow-sm);
    padding: 1.25rem;
}

.premium-preview-large {
    display: block;
    width: 100%;
    border: 0;
    background: transparent;
    padding: 0;
}

.premium-preview-large .featured-image {
    aspect-ratio: 16 / 10;
    width: 100%;
    object-fit: contain;
    background: #f8fafc;
    padding: 0.85rem;
}

.premium-feature-grid,
.premium-buy-list {
    display: grid;
    gap: 0.65rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.premium-gallery-feature { margin: 0; }
.premium-gallery .featured-image { display: block; aspect-ratio: 8 / 5; height: auto; margin: 0; padding: 0; border-radius: 4px; object-fit: contain; background: #fff; }
.premium-gallery-feature figcaption { min-height: 4.5em; padding: .75rem 0; font-size: .9rem; color: #475569; line-height: 1.5; }
.premium-gallery-thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .65rem; list-style: none; margin: 0; padding: 0; }
.premium-gallery-thumbs a { display: flex; flex-direction: column; height: 100%; border: 2px solid #e2e8f0; border-radius: 4px; padding: .3rem; color: #172033; text-decoration: none; }
.premium-gallery-thumbs a[aria-current="true"] { border-color: #0f766e; background: #f0fdfa; }
.premium-gallery-thumbs a:hover { border-color: #64748b; }
.premium-gallery a:focus-visible, .premium-gallery button:focus-visible { outline: 3px solid #2563eb; outline-offset: 3px; }
.premium-gallery-thumbs img { display: block; width: 100%; height: auto; aspect-ratio: 8 / 5; object-fit: contain; background: #fff; }
.premium-gallery-thumbs span { display: block; padding: .35rem .15rem; font-size: .8rem; line-height: 1.3; overflow-wrap: anywhere; }
.premium-pack-facts { display: grid; gap: .3rem; border-top: 1px solid #cbd5e1; padding-top: .75rem; }
.premium-pack-facts small { color: #475569; line-height: 1.5; }
.content-body .premium-content-preview { margin: 1rem 0 2rem; }
.premium-content-preview a { display: block; cursor: zoom-in; }
.content-body .premium-content-preview img { display: block; width: 100%; height: auto; margin: 0; border: 1px solid #e2e8f0; border-radius: 4px; }
.premium-content-preview a:focus-visible { outline: 3px solid #2563eb; outline-offset: 4px; }
.premium-content-preview figcaption { margin-top: .5rem; font-size: .85rem; color: #475569; line-height: 1.5; }

.premium-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.premium-feature-grid li,
.premium-buy-list li {
    position: relative;
    padding-left: 1.25rem;
    color: #334155;
}

.premium-trust-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.premium-trust-grid article {
    border: 1px solid var(--pg-line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: var(--pg-shadow-sm);
    padding: 1rem;
}

.premium-trust-grid strong,
.premium-trust-grid span {
    display: block;
}

.premium-trust-grid strong {
    color: #0f172a;
    margin-bottom: 0.35rem;
}

.premium-trust-grid span {
    color: var(--pg-muted);
    font-size: 0.92rem;
    line-height: 1.5;
}

.premium-trust-grid.compact {
    grid-template-columns: 1fr;
}

.premium-faq .accordion-item {
    border-color: #e2e8f0;
}

.premium-faq .accordion-button {
    font-weight: 700;
}

.checkout-panel {
    max-width: 560px;
    border: 1px solid var(--pg-line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.08);
    padding: 1.5rem;
}

.checkout-page {
    min-height: 58vh;
    display: grid;
    align-items: center;
}

.checkout-status {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.checkout-status-icon {
    display: inline-grid;
    width: 52px;
    height: 52px;
    place-items: center;
    border-radius: 8px;
    background: #ecfdf5;
    color: #0f766e;
    font-size: 0.9rem;
    font-weight: 900;
}

.checkout-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border: 1px solid var(--pg-line);
    border-radius: 8px;
    background: #f8fafc;
    padding: 0.9rem 1rem;
}

.checkout-summary span {
    color: var(--pg-muted);
    font-weight: 700;
}

.checkout-summary strong {
    color: #0f766e;
}

.checkout-note {
    color: var(--pg-muted);
    font-size: 0.92rem;
    text-align: center;
}

.modal-content {
    border: 1px solid var(--pg-line);
    border-radius: 8px;
    box-shadow: var(--pg-shadow-md);
}

.modal-header,
.modal-footer {
    border-color: var(--pg-line);
}

.modal-footer {
    gap: 0.6rem;
}

.modal-footer .btn {
    white-space: normal;
}

.download-follow-modal .modal-dialog {
    max-width: 460px;
}

.download-follow-modal .modal-content {
    border: 0;
    border-radius: 20px;
}

.download-follow-close {
    position: absolute;
    z-index: 2;
    top: 0.65rem;
    right: 0.8rem;
    width: 2.25rem;
    height: 2.25rem;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: #1f2937;
    font-size: 1.65rem;
    line-height: 1;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.14);
}

.download-follow-hero {
    display: grid;
    min-height: 135px;
    place-items: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.24) 0 4px, transparent 5px),
        linear-gradient(135deg, #1877f2, #0d5dcc);
    background-size: 34px 34px, auto;
}

.download-follow-facebook {
    display: grid;
    width: 76px;
    height: 76px;
    place-items: end center;
    border: 4px solid rgba(255, 255, 255, 0.94);
    border-radius: 50%;
    color: #ffffff;
    font-family: Arial, sans-serif;
    font-size: 72px;
    font-weight: 700;
    line-height: 0.92;
    animation: download-follow-pulse 1.8s ease-in-out infinite;
}

.download-follow-body {
    padding: 1.75rem 2rem 2rem;
    text-align: center;
}

.download-follow-kicker {
    margin-bottom: 0.5rem;
    color: #0f766e;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.download-follow-facebook-button {
    border-color: #1877f2;
    background: #1877f2;
    color: #ffffff;
    font-weight: 800;
}

.download-follow-facebook-button:hover,
.download-follow-facebook-button:focus-visible {
    border-color: #0d5dcc;
    background: #0d5dcc;
    color: #ffffff;
}

@keyframes download-follow-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

@media (prefers-reduced-motion: reduce) {
    .download-follow-facebook {
        animation: none;
    }
}

.error-state {
    max-width: 680px;
    background: #ffffff;
    box-shadow: var(--pg-shadow-md);
}

.premium-sidebar-card {
    position: sticky;
    top: 92px;
    padding: 1.4rem;
}

.sidebar-cta p {
    color: var(--pg-muted);
    font-size: 0.94rem;
}

.donation-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
    margin-bottom: 0.75rem;
}

.donation-options .btn {
    padding-inline: 0.5rem;
}

.donation-trust-note {
    margin-top: 0.8rem;
    color: var(--pg-muted);
    font-size: 0.82rem;
    line-height: 1.45;
}

@media (max-width: 575.98px) {
    .home-intro {
        min-height: auto;
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .hero-inner {
        padding: 2.5rem 0;
    }

    .hero-search {
        flex-direction: column;
        padding: 0;
        background: transparent;
        border: 0;
    }

    .display-5,
    .display-6 {
        font-size: 2rem;
    }

    .content-body {
        padding: 1.25rem;
    }

    .featured-grid {
        grid-template-columns: 1fr;
        grid-template-rows: none;
    }

    .monetization-strip,
    .premium-inline {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .premium-inline,
    .newsletter-form {
        flex-direction: column;
    }

    .content-product-card,
    .content-download-card,
    .content-cta-block,
    .content-newsletter-block {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .premium-feature-grid,
    .premium-compare-grid,
    .premium-trust-grid {
        grid-template-columns: 1fr;
    }

    .historic-premium-cta {
        grid-template-columns: 1fr;
    }

    .historic-premium-product {
        grid-template-columns: 72px minmax(0, 1fr);
    }

    .featured-card-large {
        grid-row: auto;
        min-height: 320px;
    }
}

@media (max-width: 767.98px) {
    .post-page {
        padding-top: 2rem !important;
    }

    .detail-hero,
    .download-box,
    .contact-card,
    .checkout-panel,
    .premium-buy-card {
        padding: 1.15rem;
    }

    .monetization-strip {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .premium-inline,
    .newsletter-form {
        align-items: stretch;
        flex-direction: column;
    }

    .premium-inline .btn,
    .newsletter-form .btn {
        width: 100%;
    }

    .checkout-summary {
        align-items: flex-start;
        flex-direction: column;
    }

    .modal-footer {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    .modal-footer .btn {
        width: 100%;
    }

    .captcha-row {
        align-items: stretch;
        flex-direction: column;
    }

    .captcha-row .form-control {
        max-width: none;
        width: 100%;
    }
}

@media (max-width: 991.98px) {
    .site-nav .navbar-collapse {
        padding-top: 1rem;
    }

    .navbar-nav {
        gap: 0.25rem;
    }

    .nav-link {
        padding-block: 0.65rem !important;
    }
}

/* Keep the purchase action near the product summary on narrow screens. */
.premium-detail-hero { max-width: 860px; }
.premium-detail-hero h1 { overflow-wrap: anywhere; }
.premium-detail-layout > * { min-width: 0; }
.download-box .btn, .checkout-panel .btn { white-space: normal; overflow-wrap: anywhere; }
.download-box { scroll-margin-top: 90px; }
.donation-inline { border-top: 1px solid var(--pg-line); padding-top: 1rem; margin-top: 1rem; }
.home-premium-band { border-block: 1px solid var(--pg-line); padding-block: 1.5rem; margin-block: 2rem; }
.home-premium-band img { width: 100%; aspect-ratio: 16 / 10; object-fit: contain; }
@media (max-width: 991.98px) {
    .premium-purchase-column { order: -1; }
    .premium-purchase-column .premium-buy-card { position: static; gap: .65rem; }
    .premium-purchase-column .premium-buy-card h2 { display: none; }
    .premium-purchase-column .premium-buy-card p { margin-bottom: 0; }
    .premium-detail-layout { --bs-gutter-y: 1.5rem; --bs-gutter-x: 1.5rem; }
    .premium-detail-hero .lead { font-size: 1rem; }
    .premium-detail-hero h1 { font-size: 1.75rem; }
}

.content-body { min-width: 0; overflow-wrap: anywhere; }
.content-body h2[id] { scroll-margin-top: 6rem; }
.quote-toc ul { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; padding-left: 1.25rem; }
.quote-toc li { max-width: 100%; }
.content-body table { display: block; max-width: 100%; height: auto !important; overflow-x: auto; }
.content-body .quote-example-table { display: table; min-width: 560px; max-width: none; width: 100%; }
.quote-example-table th, .quote-example-table td { overflow-wrap: normal; word-break: normal; }
.quote-example-table td { white-space: nowrap; }
.content-body iframe, .content-body figure { max-width: 100%; }
.content-body pre { max-width: 100%; overflow-x: auto; }

@media (max-width: 575.98px) {
    .premium-gallery-feature figcaption { min-height: 7.5em; }
    main .row.g-5 { --bs-gutter-x: 1.5rem; }
}
