/**
 * Main Application Styles
 * Focuses on rich aesthetics, premium feel, and nursing-related colors.
 */

/* 1. Header Styles */
.site-header {
    background: var(--color-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 0.5rem 0;
    font-size: 0.875rem;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-main {
    padding: 1rem 0;
    position: relative;
}

.header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 2. Navigation */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Scroller & Height Utilities */
html {
    scroll-behavior: smooth;
}

.full-height-section {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--space-xl) 0;
}

.is-sticky {
    box-shadow: var(--shadow-md);
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 2rem;
}

.main-navigation a {
    font-weight: 600;
    color: var(--color-gray-800);
    position: relative;
}

.main-navigation a:after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-secondary);
    transition: width 0.3s ease;
}

.main-navigation a:hover:after {
    width: 100%;
}

/* 3. Hero Section */
.hero-home {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
    color: var(--color-white);
    padding: var(--space-xl) 0;
    position: relative;
    overflow: hidden;
}

.hero-home:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.16) 1px, transparent 1px),
        linear-gradient(0deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
    background-size: 56px 56px;
    opacity: 0.1;
    pointer-events: none;
}

.hero-home h1 {
    color: var(--color-white);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    line-height: 1.1;
    margin-bottom: var(--space-md);
}

.hero-home .hero-content {
    max-width: 600px;
}

.hero-home .hero-description {
    font-size: 1.25rem;
    margin-bottom: var(--space-lg);
    opacity: 0.9;
}

/* 4. Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: var(--font-secondary);
}

.btn-primary {
    background: var(--color-secondary);
    color: var(--color-white);
    box-shadow: 0 4px 14px 0 rgba(0, 168, 204, 0.39);
}

.btn-primary:hover {
    background: var(--color-secondary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 168, 204, 0.23);
    color: var(--color-white);
}

.btn-outline {
    border: 2px solid var(--color-white);
    color: var(--color-white);
}

.btn-outline:hover {
    background: var(--color-white);
    color: var(--color-primary);
}

/* 5. Cards */
.card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--color-gray-200);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* 6. Section Utilities */
.section {
    padding: var(--space-xl) 0;
}

.section-title {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.section-title h2 {
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--color-secondary);
    border-radius: var(--radius-full);
}

/* 7. Footer Styles */
.site-footer {
    background: var(--color-gray-900);
    color: var(--color-white);
    padding: var(--space-xl) 0 0;
}

.footer-main {
    padding-bottom: var(--space-xl);
}

.footer-bottom {
    background: var(--color-black);
    padding: 1.5rem 0;
    font-size: 0.875rem;
    color: var(--color-gray-500);
}

/* Responsive Grid */
.grid {
    display: grid;
    gap: var(--space-md);
}

@media (min-width: 768px) {
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
    .grid-2 { grid-template-columns: repeat(2, 1fr); }
}

/* 8. Modern Editorial Pages and Posts */
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.screen-reader-text:focus {
    top: 0.5rem;
    left: 0.5rem;
    z-index: 10000;
    width: auto;
    height: auto;
    padding: 0.75rem 1rem;
    clip: auto;
    border-radius: var(--radius-md);
    color: var(--color-white);
    background: var(--color-primary-dark);
    white-space: normal;
}

.btn-block {
    display: block;
    width: 100%;
}

.nds-page-hero,
.nds-post-hero,
.nds-blog-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 6.5rem 0 7.5rem;
    color: var(--color-white);
    background:
        linear-gradient(135deg, rgba(8, 33, 64, 0.98) 0%, rgba(0, 107, 126, 0.94) 58%, rgba(31, 138, 112, 0.96) 100%),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 18px);
}

.nds-page-hero.has-hero-media,
.nds-post-hero.has-hero-media {
    background-image:
        linear-gradient(135deg, rgba(8, 25, 48, 0.92) 0%, rgba(0, 61, 82, 0.78) 52%, rgba(22, 123, 101, 0.78) 100%),
        var(--nds-hero-image);
    background-size: cover;
    background-position: center;
}

.nds-page-hero::before,
.nds-post-hero::before,
.nds-blog-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px),
        linear-gradient(0deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.72), transparent 78%);
}

.nds-page-hero::after,
.nds-post-hero::after,
.nds-blog-hero::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    z-index: 0;
    height: 5rem;
    background: #f4f8fb;
    clip-path: polygon(0 58%, 100% 18%, 100% 100%, 0 100%);
}

.nds-hero-content {
    position: relative;
    z-index: 1;
    max-width: 880px;
}

.nds-post-hero-content {
    max-width: 940px;
}

.nds-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 1.25rem;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.nds-breadcrumbs a {
    color: var(--color-white);
}

.nds-breadcrumbs a:hover {
    color: #9ee8dc;
}

.nds-kicker {
    display: block;
    margin-bottom: 0.9rem;
    color: #9ee8dc;
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.nds-hero-title {
    max-width: 980px;
    margin: 0;
    color: var(--color-white);
    font-size: 3.65rem;
    line-height: 1.05;
}

.nds-hero-description {
    max-width: 760px;
    margin: 1.25rem 0 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.16rem;
    line-height: 1.75;
}

.nds-hero-meta,
.nds-post-meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.4rem;
    margin-top: 1.8rem;
    color: rgba(255, 255, 255, 0.86);
    font-weight: 700;
}

.nds-hero-meta span,
.nds-post-meta-row > span,
.nds-post-meta-row time {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.nds-hero-meta i,
.nds-post-meta-row i {
    color: #9ee8dc;
}

.nds-author-meta img {
    width: 44px;
    height: 44px;
    border: 2px solid rgba(255, 255, 255, 0.34);
    border-radius: 50%;
}

.nds-author-meta strong {
    color: var(--color-white);
}

.nds-category-pill,
.nds-topic-pills a {
    display: inline-flex;
    align-items: center;
    min-height: 2.25rem;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: var(--radius-md);
    color: var(--color-white);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
}

.nds-category-pill {
    margin-bottom: 1.15rem;
    padding: 0.65rem 0.9rem;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(14px);
}

.nds-category-pill:hover {
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.22);
}

.nds-topic-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 2rem;
}

.nds-topic-pills a {
    padding: 0.65rem 0.9rem;
    background: rgba(255, 255, 255, 0.1);
}

.nds-topic-pills a:hover,
.nds-topic-pills a.is-active {
    color: #082140;
    background: #9ee8dc;
    border-color: #9ee8dc;
}

.nds-page-body,
.nds-single-body,
.nds-blog-archive-section,
.nds-latest-posts {
    background: linear-gradient(180deg, #f4f8fb 0%, var(--color-white) 78%);
}

.nds-page-shell,
.nds-article-layout {
    position: relative;
    z-index: 2;
    display: grid;
    align-items: start;
    gap: 2rem;
    margin-top: -4.6rem;
}

.nds-page-shell {
    grid-template-columns: minmax(0, 1fr) 300px;
}

.nds-page-shell.is-wide {
    display: block;
    max-width: 920px;
    margin-right: auto;
    margin-left: auto;
}

.nds-article-layout {
    grid-template-columns: minmax(0, 780px) minmax(280px, 1fr);
}

.nds-reading-card,
.nds-side-panel,
.nds-post-tile,
.nds-empty-state {
    border: 1px solid rgba(16, 32, 51, 0.09);
    border-radius: var(--radius-md);
    background: var(--color-white);
    box-shadow: 0 22px 55px rgba(16, 32, 51, 0.08);
}

.nds-reading-card {
    padding: 3.25rem;
}

.nds-reading-sidebar {
    position: sticky;
    top: 112px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.nds-side-panel {
    padding: 1.35rem;
}

.nds-side-panel h2 {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0 0 1rem;
    color: #102033;
    font-size: 1.05rem;
    line-height: 1.3;
}

.nds-side-panel h2 i {
    color: var(--color-secondary);
}

.nds-panel-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 1rem;
    border-radius: 50%;
    color: var(--color-white);
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-accent) 100%);
}

.nds-toc-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.nds-toc-list li {
    border-top: 1px solid rgba(16, 32, 51, 0.08);
}

.nds-toc-list li:first-child {
    border-top: 0;
}

.nds-toc-list a {
    display: block;
    padding: 0.72rem 0;
    color: #415064;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.45;
}

.nds-toc-list a:hover {
    color: var(--color-secondary-dark);
}

.nds-toc-list .is-child a {
    padding-left: 1rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.nds-support-panel {
    background: linear-gradient(180deg, #ffffff 0%, #eefbf7 100%);
    border-color: rgba(40, 167, 69, 0.2);
}

.nds-support-panel p {
    margin: 0 0 1.2rem;
    color: #5c6877;
    line-height: 1.65;
}

.nds-article-facts dl {
    margin: 0;
}

.nds-article-facts dl > div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 0;
    border-top: 1px solid rgba(16, 32, 51, 0.08);
}

.nds-article-facts dl > div:first-child {
    border-top: 0;
    padding-top: 0;
}

.nds-article-facts dt {
    color: #647184;
    font-weight: 700;
}

.nds-article-facts dd {
    margin: 0;
    color: #102033;
    font-weight: 800;
    text-align: right;
}

.nds-prose {
    color: #263648;
    font-size: 1.08rem;
    line-height: 1.85;
}

.nds-prose > *:first-child {
    margin-top: 0;
}

.nds-prose > *:last-child {
    margin-bottom: 0;
}

.nds-prose p,
.nds-prose ul,
.nds-prose ol,
.nds-prose blockquote,
.nds-prose table,
.nds-prose figure {
    margin-bottom: 1.45rem;
}

.nds-prose h2,
.nds-prose h3,
.nds-prose h4 {
    color: #102033;
    scroll-margin-top: 130px;
}

.nds-prose h2 {
    margin-top: 2.8rem;
    font-size: 2rem;
    line-height: 1.2;
}

.nds-prose h2::before {
    content: "";
    display: block;
    width: 44px;
    height: 4px;
    margin-bottom: 0.9rem;
    border-radius: var(--radius-full);
    background: linear-gradient(90deg, var(--color-secondary) 0%, var(--color-accent) 100%);
}

.nds-prose h3 {
    margin-top: 2.2rem;
    font-size: 1.45rem;
    line-height: 1.25;
}

.nds-prose a {
    color: var(--color-secondary-dark);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 0.18em;
}

.nds-prose ul,
.nds-prose ol {
    padding-left: 1.35rem;
}

.nds-prose li + li {
    margin-top: 0.45rem;
}

.nds-prose blockquote {
    margin-left: 0;
    padding: 1.2rem 1.35rem;
    border-left: 4px solid #ef7d5b;
    border-radius: var(--radius-md);
    color: #263648;
    background: #fff6f2;
}

.nds-prose img,
.nds-prose figure img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
}

.nds-prose table {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
    border-radius: var(--radius-md);
    font-size: 0.96rem;
}

.nds-prose th,
.nds-prose td {
    padding: 0.85rem;
    border: 1px solid rgba(16, 32, 51, 0.1);
    text-align: left;
}

.nds-prose th {
    color: #102033;
    background: #eef7fb;
}

.nds-entry-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1.25rem;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(16, 32, 51, 0.1);
}

.nds-tags,
.nds-share {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;
}

.nds-tags > span,
.nds-share > span {
    color: #647184;
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.nds-tags a {
    padding: 0.45rem 0.65rem;
    border-radius: var(--radius-md);
    color: #102033;
    background: #eef7fb;
    font-size: 0.88rem;
    font-weight: 800;
}

.nds-tags a:hover {
    color: var(--color-white);
    background: var(--color-secondary-dark);
}

.nds-share-links {
    display: flex;
    gap: 0.55rem;
}

.nds-share-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: var(--color-white);
    background: #102033;
}

.nds-share-button:hover {
    color: var(--color-white);
    transform: translateY(-2px);
}

.nds-share-facebook { background: #1877f2; }
.nds-share-x { background: #111111; }
.nds-share-linkedin { background: #0a66c2; }
.nds-share-whatsapp { background: #25d366; }

.nds-author-band {
    display: flex;
    gap: 1.2rem;
    align-items: center;
    margin-top: 2.5rem;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(16, 32, 51, 0.1);
    border-bottom: 1px solid rgba(16, 32, 51, 0.1);
}

.nds-author-avatar img {
    width: 76px;
    height: 76px;
    border-radius: 50%;
}

.nds-author-band h2 {
    margin: 0 0 0.35rem;
    color: #102033;
    font-size: 1.1rem;
}

.nds-author-band p {
    margin: 0;
    color: #5c6877;
    line-height: 1.6;
}

.nds-post-navigation {
    margin-top: 2.25rem;
}

.nds-post-navigation .nav-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.nds-post-navigation .nav-previous,
.nds-post-navigation .nav-next {
    min-width: 0;
}

.nds-post-navigation .nav-next {
    text-align: right;
}

.nds-post-navigation a {
    display: block;
    min-height: 100%;
    padding: 1rem;
    border: 1px solid rgba(16, 32, 51, 0.1);
    border-radius: var(--radius-md);
    color: #102033;
    background: #f8fbfd;
}

.nds-post-navigation a:hover {
    border-color: rgba(0, 168, 204, 0.35);
    background: #eef7fb;
}

.nds-post-navigation .nav-subtitle {
    display: block;
    margin-bottom: 0.35rem;
    color: #647184;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.nds-post-navigation .nav-title {
    display: block;
    overflow-wrap: anywhere;
    font-weight: 800;
    line-height: 1.35;
}

.nds-widget-stack .widget {
    margin: 0 0 1rem;
}

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

.nds-post-tile {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.nds-post-tile:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 168, 204, 0.24);
    box-shadow: 0 28px 68px rgba(16, 32, 51, 0.12);
}

.nds-post-tile-media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    color: var(--color-white);
    background: linear-gradient(135deg, #dff5f8 0%, #eaf7ed 100%);
}

.nds-post-tile-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.nds-post-tile:hover .nds-post-tile-media img {
    transform: scale(1.045);
}

.nds-post-tile-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: var(--color-primary);
    font-size: 3rem;
}

.nds-card-category {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    max-width: calc(100% - 2rem);
    padding: 0.55rem 0.7rem;
    border-radius: var(--radius-md);
    color: var(--color-white);
    background: rgba(8, 33, 64, 0.88);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-transform: uppercase;
}

.nds-post-tile-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1.45rem;
}

.nds-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 0.9rem;
    margin-bottom: 0.85rem;
    color: #647184;
    font-size: 0.86rem;
    font-weight: 700;
}

.nds-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.nds-card-meta i {
    color: var(--color-secondary-dark);
}

.nds-card-title {
    margin: 0 0 0.8rem;
    color: #102033;
    font-size: 1.28rem;
    line-height: 1.32;
}

.nds-card-title a {
    color: inherit;
}

.nds-card-title a:hover {
    color: var(--color-secondary-dark);
}

.nds-card-summary {
    flex: 1;
    margin: 0 0 1.25rem;
    color: #5c6877;
    font-size: 0.96rem;
    line-height: 1.65;
}

.nds-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(16, 32, 51, 0.08);
}

.nds-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--color-secondary-dark);
    font-size: 0.88rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.nds-read-more i {
    transition: transform 0.2s ease;
}

.nds-read-more:hover i {
    transform: translateX(4px);
}

.nds-card-author {
    min-width: 0;
    color: #647184;
    font-size: 0.88rem;
    font-weight: 700;
    overflow-wrap: anywhere;
    text-align: right;
}

.nds-pagination {
    margin-top: 3rem;
    text-align: center;
}

.nds-pagination .nav-links {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.55rem;
}

.nds-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.65rem;
    height: 2.65rem;
    padding: 0 0.8rem;
    border: 1px solid rgba(16, 32, 51, 0.1);
    border-radius: var(--radius-md);
    color: #102033;
    background: var(--color-white);
    font-weight: 800;
}

.nds-pagination .page-numbers.current,
.nds-pagination .page-numbers:hover {
    color: var(--color-white);
    background: var(--color-primary);
    border-color: var(--color-primary);
}

.nds-pagination .prev,
.nds-pagination .next {
    gap: 0.45rem;
}

.nds-empty-state {
    max-width: 560px;
    margin: 0 auto;
    padding: 2.5rem;
    text-align: center;
}

.nds-empty-state h2,
.nds-empty-state h3 {
    margin: 0 0 0.7rem;
    color: #102033;
}

.nds-empty-state p {
    margin: 0;
    color: #5c6877;
    line-height: 1.65;
}

@media (max-width: 1024px) {
    .nds-page-shell,
    .nds-article-layout {
        grid-template-columns: 1fr;
    }

    .nds-reading-sidebar {
        position: static;
    }

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

@media (max-width: 768px) {
    .nds-page-hero,
    .nds-post-hero,
    .nds-blog-hero {
        padding: 4.4rem 0 5.4rem;
    }

    .nds-hero-title {
        font-size: 2.35rem;
        line-height: 1.12;
    }

    .nds-hero-description {
        font-size: 1rem;
    }

    .nds-page-shell,
    .nds-article-layout {
        margin-top: -3.2rem;
    }

    .nds-reading-card {
        padding: 1.45rem;
    }

    .nds-prose {
        font-size: 1rem;
        line-height: 1.75;
    }

    .nds-prose h2 {
        font-size: 1.55rem;
    }

    .nds-prose h3 {
        font-size: 1.25rem;
    }

    .nds-entry-footer,
    .nds-author-band,
    .nds-card-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .nds-post-navigation .nav-links,
    .nds-posts-grid {
        grid-template-columns: 1fr;
    }

    .nds-post-navigation .nav-next {
        text-align: left;
    }

    .nds-card-author {
        text-align: left;
    }
}
