/**
 * Tomorhow Single Post Styles
 * Full CSS for single article components
 *
 * @package Tomorhow_Site
 */

/* ARTICLE HERO */
.tomorhow-article-hero {
    background: var(--gradient-primary);
    min-height: 60vh;
    display: flex;
    align-items: center;
    padding: calc(var(--space-4xl) + 100px) 0 calc(var(--space-4xl) + 60px);
}

.tomorhow-article-hero__container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.tomorhow-article-hero__content {
    max-width: 800px;
    width: 100%;
}

.tomorhow-article-hero__back {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--text-sm);
    font-weight: 600;
    margin-bottom: var(--space-xl);
    transition: var(--transition-base);
    text-decoration: none;
}

.tomorhow-article-hero__back:hover {
    color: var(--color-white);
}

.tomorhow-article-hero__meta {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

/* Article tag (inline in hero — position static override) */
.tomorhow-article-tag {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    background-color: var(--color-primary);
    color: var(--color-white);
    font-size: var(--text-xs);
    font-weight: 700;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tomorhow-article-hero__meta .tomorhow-article-tag {
    position: static;
}

.tomorhow-article-hero__date,
.tomorhow-article-hero__reading {
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--text-sm);
}

.tomorhow-article-hero__title {
    font-family: var(--font-heading);
    font-size: var(--text-4xl);
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: var(--space-lg);
    line-height: 1.2;
}

.tomorhow-article-hero__excerpt {
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--text-lg);
    margin-bottom: var(--space-xl);
    line-height: 1.6;
}

.tomorhow-article-hero__author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.tomorhow-article-hero__author-img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.3);
    object-fit: cover;
}

.tomorhow-article-hero__author-name {
    display: block;
    color: var(--color-white);
    font-weight: 700;
}

.tomorhow-article-hero__author-role {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--text-sm);
}

/* ARTICLE IMAGE */
.tomorhow-article-image {
    margin-top: calc(var(--space-3xl) * -1);
    position: relative;
    z-index: 10;
}

.tomorhow-article-image__container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.tomorhow-article-image__figure {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.tomorhow-article-image__figure img {
    width: 100%;
    height: auto;
}

/* ARTICLE LAYOUT */
.tomorhow-article-body {
    padding: var(--space-3xl) 0 var(--space-section);
}

.tomorhow-article-body__container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.tomorhow-article-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: var(--space-4xl);
    max-width: 1100px;
    margin: 0 auto;
}

/* SIDEBAR */
.tomorhow-article-sidebar {
    position: sticky;
    top: 120px;
    height: fit-content;
}

.tomorhow-article-toc {
    background-color: var(--color-cream);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.tomorhow-article-toc__title {
    font-size: var(--text-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-md);
    color: var(--color-text-light);
}

.tomorhow-article-toc__nav {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.tomorhow-article-toc__link {
    font-size: var(--text-sm);
    color: var(--color-text-light);
    padding-left: var(--space-sm);
    border-left: 2px solid transparent;
    transition: var(--transition-base);
    text-decoration: none;
}

.tomorhow-article-toc__link:hover,
.tomorhow-article-toc__link--active {
    color: var(--color-primary);
    border-left-color: var(--color-primary);
}

.tomorhow-article-share {
    background-color: var(--color-cream);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
}

.tomorhow-article-share__title {
    font-size: var(--text-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-md);
    color: var(--color-text-light);
}

.tomorhow-article-share__buttons {
    display: flex;
    gap: var(--space-sm);
}

.tomorhow-article-share__btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-white);
    border-radius: 50%;
    color: var(--color-text-light);
    transition: var(--transition-base);
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.tomorhow-article-share__btn:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

/* ARTICLE CONTENT */
.tomorhow-article-content {
    max-width: 700px;
}

.tomorhow-article-content p {
    margin-bottom: var(--space-lg);
    line-height: 1.8;
}

.tomorhow-article-content__lead {
    font-size: var(--text-xl);
    color: var(--color-text);
    line-height: 1.7;
    margin-bottom: var(--space-xl);
}

.tomorhow-article-content h2 {
    font-size: var(--text-2xl);
    margin-top: var(--space-3xl);
    margin-bottom: var(--space-lg);
}

.tomorhow-article-content h3 {
    font-size: var(--text-xl);
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-md);
}

.tomorhow-article-content a {
    color: var(--color-primary);
    text-decoration: underline;
}

.tomorhow-article-content a:hover {
    text-decoration: none;
}

/* ============================================
   NATIVE GUTENBERG BLOCKS — Charte Tomorhow
   ============================================ */

/* BLOCKQUOTE / wp-block-quote */
.tomorhow-article-content blockquote,
.tomorhow-article-content .wp-block-quote {
    border-left: 4px solid var(--color-primary);
    padding: var(--space-lg) var(--space-xl);
    margin: var(--space-xl) 0;
    background-color: var(--color-cream);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    font-size: var(--text-xl);
    font-style: italic;
    color: var(--color-dark);
    line-height: 1.6;
}

.tomorhow-article-content blockquote p,
.tomorhow-article-content .wp-block-quote p {
    margin-bottom: 0;
    font-size: inherit;
    line-height: inherit;
}

.tomorhow-article-content blockquote cite,
.tomorhow-article-content .wp-block-quote cite,
.tomorhow-article-content .wp-block-quote__citation {
    display: block;
    margin-top: var(--space-md);
    font-size: var(--text-sm);
    font-style: normal;
    color: var(--color-text-light);
    font-weight: 600;
}

/* PULLQUOTE */
.tomorhow-article-content .wp-block-pullquote {
    border: none;
    padding: var(--space-2xl) 0;
    margin: var(--space-2xl) 0;
    text-align: center;
    position: relative;
}

.tomorhow-article-content .wp-block-pullquote::before {
    content: "\201C";
    display: block;
    font-size: 4rem;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: var(--space-sm);
}

.tomorhow-article-content .wp-block-pullquote blockquote {
    background: none;
    border-left: none;
    border-radius: 0;
    padding: 0;
    margin: 0;
}

.tomorhow-article-content .wp-block-pullquote blockquote p {
    font-size: var(--text-2xl);
    font-weight: 600;
    color: var(--color-dark);
    line-height: 1.4;
}

/* UNORDERED LIST */
.tomorhow-article-content ul,
.tomorhow-article-content .wp-block-list {
    margin: var(--space-lg) 0;
    padding-left: var(--space-lg);
    list-style: none;
}

.tomorhow-article-content ul li {
    margin-bottom: var(--space-sm);
    padding-left: var(--space-sm);
    position: relative;
    line-height: 1.8;
}

.tomorhow-article-content ul li::before {
    content: "";
    position: absolute;
    left: calc(var(--space-lg) * -1);
    top: 0.7em;
    width: 6px;
    height: 6px;
    background-color: var(--color-primary);
    border-radius: 50%;
}

/* ORDERED LIST */
.tomorhow-article-content ol {
    margin: var(--space-lg) 0;
    padding-left: var(--space-lg);
    list-style: none;
    counter-reset: list-counter;
}

.tomorhow-article-content ol li {
    margin-bottom: var(--space-sm);
    padding-left: var(--space-sm);
    position: relative;
    line-height: 1.8;
    counter-increment: list-counter;
}

.tomorhow-article-content ol li::before {
    content: counter(list-counter) ".";
    position: absolute;
    left: calc(var(--space-lg) * -1);
    top: 0;
    font-weight: 700;
    color: var(--color-primary);
}

/* Nested lists */
.tomorhow-article-content ul ul,
.tomorhow-article-content ol ul,
.tomorhow-article-content ul ol,
.tomorhow-article-content ol ol {
    margin: var(--space-xs) 0;
}

/* IMAGE / wp-block-image */
.tomorhow-article-content figure,
.tomorhow-article-content .wp-block-image {
    margin: var(--space-2xl) 0;
}

.tomorhow-article-content figure img,
.tomorhow-article-content .wp-block-image img {
    border-radius: var(--radius-lg);
    width: 100%;
    height: auto;
}

.tomorhow-article-content figcaption,
.tomorhow-article-content .wp-block-image figcaption {
    text-align: center;
    margin-top: var(--space-sm);
    font-size: var(--text-sm);
    color: var(--color-text-light);
}

/* SEPARATOR / wp-block-separator */
.tomorhow-article-content hr,
.tomorhow-article-content .wp-block-separator {
    border: none;
    height: 1px;
    background: var(--color-cream-dark);
    margin: var(--space-2xl) 0;
}

.tomorhow-article-content .wp-block-separator.is-style-dots {
    background: none;
    text-align: center;
    height: auto;
}

.tomorhow-article-content .wp-block-separator.is-style-dots::before {
    content: "···";
    font-size: var(--text-2xl);
    letter-spacing: 1em;
    color: var(--color-primary);
}

/* TABLE / wp-block-table */
.tomorhow-article-content table,
.tomorhow-article-content .wp-block-table table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--space-2xl) 0;
    font-size: var(--text-sm);
}

.tomorhow-article-content table thead th {
    background-color: var(--color-dark);
    color: var(--color-white);
    padding: var(--space-md) var(--space-lg);
    text-align: left;
    font-weight: 700;
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tomorhow-article-content table thead th:first-child {
    border-radius: var(--radius-md) 0 0 0;
}

.tomorhow-article-content table thead th:last-child {
    border-radius: 0 var(--radius-md) 0 0;
}

.tomorhow-article-content table tbody td {
    padding: var(--space-md) var(--space-lg);
    border-bottom: 1px solid var(--color-cream-dark);
}

.tomorhow-article-content table tbody tr:hover {
    background-color: var(--color-cream);
}

.tomorhow-article-content .wp-block-table figcaption {
    text-align: center;
    margin-top: var(--space-sm);
    font-size: var(--text-sm);
    color: var(--color-text-light);
}

/* CODE / wp-block-code */
.tomorhow-article-content code {
    background-color: var(--color-cream);
    padding: 0.15em 0.4em;
    border-radius: var(--radius-sm);
    font-size: 0.875em;
    font-family: "JetBrains Mono", "Fira Code", monospace;
    color: var(--color-primary);
}

.tomorhow-article-content pre,
.tomorhow-article-content .wp-block-code {
    background-color: var(--color-dark);
    color: #e4e4e7;
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    margin: var(--space-2xl) 0;
    overflow-x: auto;
    font-size: var(--text-sm);
    line-height: 1.7;
}

.tomorhow-article-content pre code,
.tomorhow-article-content .wp-block-code code {
    background: none;
    padding: 0;
    color: inherit;
    font-size: inherit;
    border-radius: 0;
}

/* PREFORMATTED */
.tomorhow-article-content .wp-block-preformatted {
    background-color: var(--color-cream);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    margin: var(--space-2xl) 0;
    font-family: "JetBrains Mono", "Fira Code", monospace;
    font-size: var(--text-sm);
    line-height: 1.7;
    overflow-x: auto;
}

/* HEADING (h2, h3, h4 inside content) */
.tomorhow-article-content h4 {
    font-size: var(--text-lg);
    margin-top: var(--space-xl);
    margin-bottom: var(--space-sm);
    font-weight: 700;
}

/* COVER / wp-block-cover */
.tomorhow-article-content .wp-block-cover {
    border-radius: var(--radius-xl);
    margin: var(--space-2xl) 0;
    overflow: hidden;
    min-height: 300px;
}

/* GALLERY / wp-block-gallery */
.tomorhow-article-content .wp-block-gallery {
    margin: var(--space-2xl) 0;
    gap: var(--space-md) !important;
}

.tomorhow-article-content .wp-block-gallery .wp-block-image {
    margin: 0;
}

.tomorhow-article-content .wp-block-gallery .wp-block-image img {
    border-radius: var(--radius-lg);
}

/* COLUMNS / wp-block-columns */
.tomorhow-article-content .wp-block-columns {
    margin: var(--space-2xl) 0;
    gap: var(--space-xl);
}

/* GROUP with background (highlight box) */
.tomorhow-article-content .wp-block-group.has-background {
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    margin: var(--space-2xl) 0;
}

/* DETAILS / wp-block-details */
.tomorhow-article-content .wp-block-details {
    border: 1px solid var(--color-cream-dark);
    border-radius: var(--radius-lg);
    margin: var(--space-lg) 0;
    overflow: hidden;
}

.tomorhow-article-content .wp-block-details summary {
    padding: var(--space-md) var(--space-lg);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-base);
}

.tomorhow-article-content .wp-block-details summary:hover {
    background-color: var(--color-cream);
}

.tomorhow-article-content .wp-block-details[open] summary {
    border-bottom: 1px solid var(--color-cream-dark);
    background-color: var(--color-cream);
}

.tomorhow-article-content .wp-block-details > :not(summary) {
    padding: var(--space-md) var(--space-lg);
}

/* BUTTONS / wp-block-buttons */
.tomorhow-article-content .wp-block-buttons {
    margin: var(--space-xl) 0;
}

.tomorhow-article-content .wp-block-button .wp-block-button__link {
    border-radius: var(--radius-full);
    padding: var(--space-sm) var(--space-xl);
    font-weight: 700;
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: var(--transition-base);
}

/* EMBED / wp-block-embed */
.tomorhow-article-content .wp-block-embed {
    margin: var(--space-2xl) 0;
}

.tomorhow-article-content .wp-block-embed .wp-block-embed__wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

/* VIDEO / wp-block-video */
.tomorhow-article-content .wp-block-video {
    margin: var(--space-2xl) 0;
}

.tomorhow-article-content .wp-block-video video {
    border-radius: var(--radius-lg);
    width: 100%;
}

/* QUOTE */
.tomorhow-article-quote {
    border-left: 4px solid var(--color-primary);
    padding: var(--space-lg) var(--space-xl);
    margin: var(--space-xl) 0;
    background-color: var(--color-cream);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    font-size: var(--text-xl);
    font-style: italic;
    color: var(--color-dark);
    line-height: 1.6;
}

/* LISTS */
.tomorhow-article-list {
    margin: var(--space-lg) 0;
    padding-left: var(--space-lg);
}

.tomorhow-article-list li {
    margin-bottom: var(--space-sm);
    padding-left: var(--space-sm);
    position: relative;
}

.tomorhow-article-list li::before {
    content: "";
    position: absolute;
    left: calc(var(--space-lg) * -1);
    top: 0.7em;
    width: 6px;
    height: 6px;
    background-color: var(--color-primary);
    border-radius: 50%;
}

.tomorhow-article-list--numbered {
    counter-reset: list-counter;
}

.tomorhow-article-list--numbered li {
    counter-increment: list-counter;
}

.tomorhow-article-list--numbered li::before {
    content: counter(list-counter) ".";
    background: none;
    width: auto;
    height: auto;
    top: 0;
    font-weight: 700;
    color: var(--color-primary);
}

/* FIGURE */
.tomorhow-article-figure {
    margin: var(--space-2xl) 0;
}

.tomorhow-article-figure img {
    border-radius: var(--radius-lg);
    width: 100%;
}

.tomorhow-article-figure figcaption {
    text-align: center;
    margin-top: var(--space-sm);
    font-size: var(--text-sm);
    color: var(--color-text-light);
}

/* HIGHLIGHT BOX — styles in blocks/highlight-box/style.css */

/* CALLOUT — styles in blocks/callout/style.css */

/* TAGS */
.tomorhow-article-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-sm);
    margin-top: var(--space-3xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--color-cream-dark);
}

.tomorhow-article-tags__label {
    font-weight: 600;
    color: var(--color-text-light);
}

.tomorhow-article-tag-link {
    padding: var(--space-xs) var(--space-md);
    background-color: var(--color-cream);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    color: var(--color-text);
    transition: var(--transition-base);
    text-decoration: none;
}

.tomorhow-article-tag-link:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

/* AUTHOR BIO */
.tomorhow-author-bio-section {
    padding: var(--space-section) 0;
    background-color: var(--color-cream);
}

.tomorhow-author-bio-section__container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.tomorhow-author-bio {
    display: flex;
    gap: var(--space-xl);
    max-width: 800px;
    margin: 0 auto;
    align-items: flex-start;
}

.tomorhow-author-bio__image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: var(--shadow-lg);
}

.tomorhow-author-bio__name {
    font-size: var(--text-xl);
    margin-bottom: var(--space-xs);
    font-weight: 700;
}

.tomorhow-author-bio__role {
    color: var(--color-primary);
    font-weight: 600;
    font-size: var(--text-sm);
    margin-bottom: var(--space-md);
    display: block;
}

.tomorhow-author-bio__description {
    color: var(--color-text-light);
    margin-bottom: var(--space-md);
    line-height: 1.7;
}

.tomorhow-author-bio__social {
    display: flex;
    gap: var(--space-sm);
}

.tomorhow-author-bio__social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-cream-dark);
    border-radius: 50%;
    color: var(--color-text-light);
    transition: var(--transition-base);
}

.tomorhow-author-bio__social a:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

/* RELATED ARTICLES */
.tomorhow-related-section {
    padding: var(--space-section) 0;
}

.tomorhow-related-section__container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.tomorhow-related-section__header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.tomorhow-related-section__tag {
    display: inline-block;
    padding: var(--space-xs) var(--space-sm);
    font-size: var(--text-xs);
    font-weight: 700;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-md);
    background: rgba(232, 76, 138, 0.1);
    color: var(--color-primary);
}

.tomorhow-related-section__title {
    font-family: var(--font-heading);
    font-size: var(--text-3xl);
    font-weight: 800;
}

.tomorhow-related-section__gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tomorhow-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

/* RELATED CARDS */
.tomorhow-related-card {
    background-color: var(--color-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

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

.tomorhow-related-card__image {
    display: block;
    position: relative;
    height: 220px;
    overflow: hidden;
}

.tomorhow-related-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.tomorhow-related-card:hover .tomorhow-related-card__image img {
    transform: scale(1.05);
}

.tomorhow-related-card__placeholder {
    width: 100%;
    height: 100%;
    background: var(--color-cream);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-light);
}

.tomorhow-related-card__tag {
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
    padding: var(--space-xs) var(--space-md);
    background-color: var(--color-primary);
    color: var(--color-white);
    font-size: var(--text-xs);
    font-weight: 700;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
}

.tomorhow-related-card__content {
    padding: var(--space-lg);
}

.tomorhow-related-card__meta {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-sm);
    font-size: var(--text-xs);
    color: var(--color-text-light);
}

.tomorhow-related-card__title {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: 700;
    line-height: 1.3;
}

.tomorhow-related-card__title a {
    color: var(--color-dark);
    text-decoration: none;
    transition: var(--transition-base);
}

.tomorhow-related-card__title a:hover {
    color: var(--color-primary);
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .tomorhow-article-layout {
        grid-template-columns: 1fr;
    }

    .tomorhow-article-sidebar {
        position: static;
        display: flex;
        gap: var(--space-lg);
    }

    .tomorhow-article-toc,
    .tomorhow-article-share {
        flex: 1;
        margin-bottom: 0;
    }

    .tomorhow-related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .tomorhow-article-hero {
        min-height: 40vh;
        padding: calc(var(--space-3xl) + 60px) 0 var(--space-3xl);
    }

    .tomorhow-article-hero__title {
        font-size: var(--text-2xl);
    }

    .tomorhow-article-sidebar {
        flex-direction: column;
    }

    .tomorhow-article-highlight__grid {
        grid-template-columns: 1fr;
    }

    /* Native Gutenberg blocks — mobile */
    .tomorhow-article-content blockquote,
    .tomorhow-article-content .wp-block-quote {
        padding: var(--space-md) var(--space-lg);
        font-size: var(--text-lg);
    }

    .tomorhow-article-content .wp-block-pullquote blockquote p {
        font-size: var(--text-xl);
    }

    .tomorhow-article-content pre,
    .tomorhow-article-content .wp-block-code {
        padding: var(--space-lg);
        font-size: var(--text-xs);
    }

    .tomorhow-article-content table,
    .tomorhow-article-content .wp-block-table table {
        font-size: var(--text-xs);
    }

    .tomorhow-article-content table thead th,
    .tomorhow-article-content table tbody td {
        padding: var(--space-sm) var(--space-md);
    }

    .tomorhow-article-content .wp-block-columns {
        flex-direction: column;
    }

    .tomorhow-author-bio {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .tomorhow-author-bio__social {
        justify-content: center;
    }

    .tomorhow-related-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .tomorhow-article-hero {
        min-height: auto;
        padding: calc(var(--space-2xl) + 60px) 0 var(--space-2xl);
    }

    .tomorhow-article-hero__title {
        font-size: var(--text-xl);
    }

    .tomorhow-article-hero__excerpt {
        font-size: var(--text-sm);
    }

    .tomorhow-article-image__figure {
        border-radius: var(--radius-lg);
    }

    .tomorhow-article-body {
        padding: var(--space-xl) 0 var(--space-3xl);
    }

    .tomorhow-article-content {
        max-width: 100%;
    }

    .tomorhow-article-content blockquote,
    .tomorhow-article-content .wp-block-quote {
        padding: var(--space-md);
        font-size: var(--text-lg);
    }

    .tomorhow-article-content pre,
    .tomorhow-article-content .wp-block-code {
        padding: var(--space-md);
    }

    .tomorhow-article-content table thead th,
    .tomorhow-article-content table tbody td {
        padding: var(--space-xs) var(--space-sm);
    }

    .tomorhow-author-bio__image {
        width: 80px;
        height: 80px;
    }

    .tomorhow-related-section__title {
        font-size: var(--text-2xl);
    }

    .tomorhow-related-card__image {
        height: 180px;
    }

    .tomorhow-related-card__title {
        font-size: var(--text-base);
    }
}
