/* ==================================================
   BERRY BEAR COMICS
   Official Universal Website Stylesheet
   Created for Annabelle Jaime
   ================================================== */


/* ==================================================
   01. OFFICIAL WEBSITE COLORS
   ================================================== */

:root {
    --paper: #fffdf8;
    --background: #f7eee5;
    --ink: #392c29;
    --berry: #a73f50;
    --berry-dark: #843141;
    --line: #e8d8ce;
    --muted: #64554d;
    --soft-pink: #f9e8e9;
    --radius: 12px;
}


/* ==================================================
   02. GLOBAL WEBSITE STYLING
   ================================================== */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background: var(--background);
    color: var(--ink);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.7;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--berry);
    text-decoration: none;
}

a:hover {
    color: var(--berry-dark);
    text-decoration: underline;
}

p {
    margin: 12px 0;
}

h1,
h2,
h3,
h4 {
    line-height: 1.3;
    overflow-wrap: break-word;
}

h1 {
    color: var(--berry);
    font-size: clamp(30px, 5vw, 46px);
}

h2 {
    color: var(--berry);
    font-size: 28px;
}

h3 {
    color: var(--berry);
    font-size: 22px;
}

ul,
ol {
    padding-left: 25px;
}

li {
    margin-bottom: 8px;
}

figure {
    margin: 20px 0;
}

figcaption {
    color: var(--muted);
    font-size: 14px;
    text-align: center;
}

button,
input,
select,
textarea {
    font: inherit;
}


/* ==================================================
   03. MAIN WEBSITE CONTAINER
   ================================================== */

.wrap {
    width: calc(100% - 32px);
    max-width: 1050px;
    margin: 25px auto;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(57, 44, 41, 0.07);
}

main {
    min-width: 0;
    padding: 35px;
    background: var(--paper);
}


/* ==================================================
   04. WEBSITE HEADER AND BANNER
   ================================================== */

header {
    padding: 0;
    margin: 0;
    background: var(--paper);
}

header > a {
    display: block;
}

header > a > img,
header img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0;
}


/* ==================================================
   05. UNIVERSAL NAVIGATION
   ================================================== */

#site-navigation {
    width: 100%;
}

header nav,
#site-navigation nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0;
    padding: 8px;
    margin: 0;
    background: var(--berry);
}

header nav a,
#site-navigation nav a {
    display: inline-block;
    padding: 12px 15px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.2s ease;
}

header nav a:hover,
#site-navigation nav a:hover {
    background: var(--berry-dark);
    color: #ffffff;
    text-decoration: none;
}

header nav a.active,
header nav a[aria-current="page"] {
    background: var(--berry-dark);
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 5px;
}


/* ==================================================
   06. GENERAL PAGE HEADINGS
   ================================================== */

.page-heading,
.updates-heading,
.reader-heading {
    text-align: center;
    padding: 20px 0;
    margin-bottom: 30px;
}

.page-heading h1,
.updates-heading h1,
.reader-heading h1 {
    color: var(--berry);
    margin: 12px 0;
}

.page-heading p,
.updates-heading p,
.reader-heading p {
    max-width: 650px;
    margin: 12px auto;
}

.eyebrow {
    color: var(--berry);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.tagline,
.hero-tagline {
    color: var(--ink);
    font-size: 20px;
    font-weight: 600;
}

.muted {
    color: var(--muted);
}

.divider {
    border: 0;
    border-top: 1px solid var(--line);
    margin: 35px 0;
}


/* ==================================================
   07. UNIVERSAL BUTTONS
   ================================================== */

.button,
button.button,
a.button {
    display: inline-block;
    padding: 11px 21px;
    background: var(--berry);
    color: #ffffff;
    border: 1px solid var(--berry);
    border-radius: 7px;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease;
}

.button:hover,
button.button:hover,
a.button:hover {
    background: var(--berry-dark);
    color: #ffffff;
    text-decoration: none;
}

.outline-button {
    display: inline-block;
    padding: 11px 21px;
    border: 1px solid var(--berry);
    border-radius: 7px;
    background: transparent;
    color: var(--berry);
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
}

.outline-button:hover {
    background: var(--soft-pink);
    color: var(--berry-dark);
    text-decoration: none;
}

button:disabled,
.button.disabled,
a[aria-disabled="true"] {
    opacity: 0.45;
    cursor: not-allowed;
}

.home-actions,
.social-links,
.button-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin: 25px 0 0;
}


/* ==================================================
   08. ANNOUNCEMENTS AND INFORMATION BOXES
   ================================================== */

.announcement {
    padding: 28px;
    margin: 25px 0;
    background: var(--soft-pink);
    border: 1px solid var(--line);
    border-left: 5px solid var(--berry);
    border-radius: var(--radius);
}

.announcement h2 {
    margin-top: 10px;
    color: var(--berry);
}

.notes {
    padding: 25px;
    margin: 25px 0;
    background: var(--background);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.notes h2,
.notes h3 {
    margin-top: 0;
}

.notice,
.message,
.info-box {
    padding: 18px;
    margin: 20px 0;
    background: var(--background);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.error-message {
    padding: 18px;
    margin: 20px 0;
    background: var(--soft-pink);
    color: var(--berry-dark);
    border: 1px solid var(--berry);
    border-radius: 8px;
}


/* ==================================================
   09. HOMEPAGE
   ================================================== */

.home-hero {
    padding: 25px 10px 40px;
    text-align: center;
}

.home-hero h1 {
    color: var(--berry);
    margin: 15px 0;
}

.hero-description {
    max-width: 650px;
    margin: 20px auto;
    line-height: 1.8;
}

.home-section {
    padding: 25px 0;
}

.home-section-heading {
    text-align: center;
    margin-bottom: 30px;
}

.home-section-heading h2 {
    margin: 10px 0;
}

.home-section-heading p {
    max-width: 650px;
    margin: 12px auto;
}

.featured-comic {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 25px;
    padding: 25px;
    background: var(--background);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.featured-comic img {
    display: block;
    width: 100%;
    max-height: 350px;
    object-fit: contain;
    border-radius: 8px;
}

.featured-comic .home-actions {
    justify-content: flex-start;
}

.home-character-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin: 25px 0;
}

.home-character {
    display: block;
    padding: 22px 15px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    text-align: center;
    text-decoration: none;
    color: var(--ink);
    transition: transform 0.2s ease;
}

.home-character:hover {
    transform: translateY(-4px);
    border-color: var(--berry);
    color: var(--ink);
    text-decoration: none;
}

.home-character img {
    display: block;
    width: 100%;
    height: 180px;
    object-fit: contain;
    margin: 0 auto 18px;
}

.home-character p {
    font-size: 14px;
    color: var(--muted);
}

.explore-grid {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.explore-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 25px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.explore-card h3 {
    margin-top: 0;
}

.explore-card img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: contain;
    background: var(--background);
    border-radius: 8px;
    margin-bottom: 20px;
}

.explore-card .button {
    margin-top: auto;
}

.home-news {
    padding: 24px;
    margin-bottom: 18px;
    border: 1px solid var(--line);
    border-left: 4px solid var(--berry);
    border-radius: 10px;
}

.home-news h3 {
    margin: 10px 0;
}

.home-news time {
    color: var(--muted);
    font-size: 13px;
}

.read-more {
    display: inline-block;
    font-weight: 600;
    margin-top: 8px;
}

.creator-spotlight {
    display: grid;
    grid-template-columns:
        180px minmax(0, 1fr);
    align-items: center;
    gap: 28px;
    padding: 25px;
    background: var(--background);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.spotlight-photo {
    display: block;
    width: 100%;
    max-width: 180px;
    height: auto;
    margin: auto;
    border-radius: 12px;
}

.creator-job-title,
.career-availability {
    color: var(--berry-dark);
    font-size: 14px;
    font-weight: 600;
}


/* ==================================================
   10. COMIC READER
   ================================================== */

.comic-reader,
.reader,
.comic {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    text-align: center;
    margin: 25px auto;
}

.comic-title,
#comic-title {
    color: var(--berry);
    font-size: clamp(24px, 4vw, 34px);
    text-align: center;
    margin: 20px 0 10px;
}

.comic-date,
#comic-date {
    color: var(--muted);
    font-size: 14px;
    text-align: center;
}

.comic-container,
.comic-display,
.comic-panel {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 20px auto;
    text-align: center;
}

.comic-image,
#comic-image,
#comicImage {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    margin: 25px auto;
}

.comic img,
.comic-reader img,
.reader img {
    display: block;
    max-width: 100%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
}

.comic-caption {
    color: var(--muted);
    font-size: 14px;
    margin: 15px 0;
}

.author-notes,
.comic-notes {
    padding: 22px;
    margin: 25px 0;
    background: var(--background);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    text-align: left;
}


/* ==================================================
   11. COMIC NAVIGATION BUTTONS
   ================================================== */

.comic-nav,
.comic-navigation,
.reader-navigation,
.reader-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 20px 10px;
    margin: 20px 0;
    background: var(--background);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.comic-nav a,
.comic-nav button,
.comic-navigation a,
.comic-navigation button,
.reader-navigation a,
.reader-navigation button,
.reader-nav a,
.reader-nav button {
    display: inline-block;
    padding: 10px 16px;
    background: var(--berry);
    color: #ffffff;
    border: 1px solid var(--berry);
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
}

.comic-nav a:hover,
.comic-nav button:hover,
.comic-navigation a:hover,
.comic-navigation button:hover,
.reader-navigation a:hover,
.reader-navigation button:hover,
.reader-nav a:hover,
.reader-nav button:hover {
    background: var(--berry-dark);
    color: #ffffff;
    text-decoration: none;
}

.comic-nav button:disabled,
.comic-navigation button:disabled,
.reader-nav button:disabled,
.reader-navigation button:disabled,
.comic-nav .disabled,
.comic-navigation .disabled,
.comic-nav [aria-disabled="true"] {
    opacity: 0.4;
    cursor: not-allowed;
}

.comic-selector,
.comic-controls,
.reader-controls,
.archive-controls,
.archive-toolbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin: 25px 0;
}

select {
    max-width: 100%;
    padding: 10px 14px;
    background: var(--paper);
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 6px;
}

select:focus {
    outline: 2px solid var(--berry);
}

.full-size-link,
.full-image-link {
    display: inline-block;
    color: var(--berry);
    font-size: 14px;
    font-weight: 600;
    margin: 12px 0;
}


/* ==================================================
   12. COMIC ARCHIVE
   ================================================== */

.archive-grid {
    display: grid;
    grid-template-columns:
        repeat(auto-fit, minmax(min(100%, 200px), 1fr));
    gap: 20px;
    margin: 25px 0;
}

.archive-card {
    display: block;
    min-width: 0;
    overflow: hidden;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    text-align: center;
    text-decoration: none;
    color: var(--ink);
    transition: transform 0.2s ease;
}

.archive-card:hover {
    transform: translateY(-3px);
    border-color: var(--berry);
    color: var(--ink);
    text-decoration: none;
}

.archive-card img,
.archive-thumbnail {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: contain;
    background: var(--background);
}

.archive-info,
.archive-card-content {
    padding: 18px;
}

.archive-card h2,
.archive-card h3 {
    color: var(--berry);
    font-size: 19px;
    margin: 10px 0;
}

.archive-card p {
    color: var(--muted);
    font-size: 14px;
}

.archive-card time {
    color: var(--muted);
    font-size: 13px;
}


/* ==================================================
   13. CHARACTER DIRECTORY
   ================================================== */

.cast,
.character-grid {
    display: grid;
    grid-template-columns:
        repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    gap: 22px;
    margin: 25px 0;
}

.character-card {
    min-width: 0;
    padding: 25px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    scroll-margin-top: 25px;
}

.character-card img,
.character-image {
    display: block;
    width: 100%;
    height: 250px;
    object-fit: contain;
    margin: 0 auto 20px;
}

.character-card h2,
.character-card h3 {
    text-align: center;
    color: var(--berry);
}

.character-age,
.character-role {
    color: var(--muted);
    text-align: center;
    font-weight: 600;
    font-size: 14px;
}

.character-details {
    padding: 15px;
    margin: 15px 0;
    background: var(--background);
    border-radius: 8px;
}

.character-details p {
    margin: 8px 0;
}

.character-placeholder,
.image-placeholder {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
    padding: 20px;
    background: var(--background);
    border: 2px dashed var(--line);
    border-radius: 10px;
    color: var(--muted);
    text-align: center;
}


/* ==================================================
   14. ABOUT AND PROFESSIONAL PORTFOLIO
   ================================================== */

.about-section {
    padding: 25px;
    margin: 25px 0;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.about-section h2 {
    margin-top: 0;
}

.creator-photo,
.profile-photo,
.about-photo {
    display: block;
    width: 100%;
    max-width: 250px;
    height: auto;
    margin: 20px auto;
    border-radius: 12px;
}

.about-intro,
.creator-profile,
.about-profile {
    display: grid;
    grid-template-columns:
        minmax(0, 220px) minmax(0, 1fr);
    align-items: start;
    gap: 25px;
    margin: 25px 0;
}

.education-grid,
.skills-grid,
.portfolio-grid,
.experience-grid {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.education-card,
.skill-card,
.experience-card,
.portfolio-card {
    min-width: 0;
    padding: 20px;
    background: var(--background);
    border: 1px solid var(--line);
    border-radius: 10px;
}

.education-card h3,
.skill-card h3,
.experience-card h3,
.portfolio-card h3 {
    margin-top: 0;
}

.skill-tag {
    display: inline-block;
    padding: 6px 12px;
    margin: 4px;
    background: var(--soft-pink);
    border: 1px solid var(--line);
    border-radius: 20px;
    color: var(--berry-dark);
    font-size: 13px;
    font-weight: 600;
}

.contact-email {
    color: var(--berry);
    font-weight: 600;
    overflow-wrap: anywhere;
}


/* ==================================================
   15. OFFICIAL ART GALLERY
   ================================================== */

.gallery-grid {
    display: grid;
    grid-template-columns:
        repeat(auto-fit, minmax(min(100%, 240px), 1fr));
    gap: 20px;
    margin: 25px 0;
}

.gallery-item,
.gallery-card {
    min-width: 0;
    overflow: hidden;
    padding: 15px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    text-align: center;
}

.gallery-item img,
.gallery-card img {
    display: block;
    width: 100%;
    height: 250px;
    object-fit: contain;
    background: var(--background);
    border-radius: 8px;
    margin: 0 auto 15px;
}

.gallery-item h3,
.gallery-card h3 {
    font-size: 18px;
    margin: 12px 0;
}

.gallery-item p,
.gallery-card p {
    color: var(--muted);
    font-size: 14px;
}

.gallery-section {
    margin: 30px 0;
}


/* ==================================================
   16. NEWS AND UPDATES
   ================================================== */

.update-entry {
    min-width: 0;
    padding: 27px;
    margin: 25px 0;
    background: var(--paper);
    border: 1px solid var(--line);
    border-left: 4px solid var(--berry);
    border-radius: 10px;
    scroll-margin-top: 25px;
}

.update-entry h2,
.update-entry h3 {
    color: var(--berry);
    margin: 12px 0;
}

.update-entry p {
    line-height: 1.8;
}

.update-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.update-meta time,
.update-date {
    color: var(--muted);
    font-size: 13px;
}

.update-category {
    display: inline-block;
    padding: 5px 11px;
    background: var(--background);
    border: 1px solid var(--line);
    border-radius: 20px;
    color: var(--berry);
    font-size: 12px;
    font-weight: 600;
}

.update-image {
    display: block;
    width: 100%;
    max-height: 450px;
    object-fit: contain;
    background: var(--background);
    border-radius: 10px;
    margin: 20px auto;
}

.update-author {
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
    margin-top: 25px;
}

.status-grid {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin: 25px 0;
}

.status-card {
    padding: 23px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.status-card h3 {
    margin-top: 0;
}

.project-status {
    display: inline-block;
    padding: 6px 13px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.status-development {
    color: #865c25;
    background: #fff1d6;
    border: 1px solid #e9d5aa;
}

.status-available {
    color: #35643b;
    background: #e8f3e8;
    border: 1px solid #c6dfc6;
}

.status-progress {
    color: var(--berry-dark);
    background: var(--soft-pink);
    border: 1px solid var(--line);
}

.roadmap {
    padding: 25px;
    margin: 30px 0;
    background: var(--background);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.roadmap-item {
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
}

.roadmap-item:last-child {
    border-bottom: none;
}

.featured-announcement,
.updates-contact {
    padding: 28px;
    margin: 30px 0;
    background: var(--soft-pink);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}


/* ==================================================
   17. RSS SUBSCRIPTION
   ================================================== */

.rss-subscription {
    text-align: center;
    padding: 35px 25px;
    margin: 30px 0;
    background: var(--soft-pink);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    scroll-margin-top: 25px;
}

.rss-subscription h2 {
    color: var(--berry);
    font-size: 28px;
    margin: 12px 0;
}

.rss-subscription p {
    max-width: 600px;
    margin: 15px auto;
    color: var(--muted);
    line-height: 1.75;
}

.rss-mascot {
    display: block;
    width: 100px;
    max-width: 100%;
    height: auto;
    margin: 0 auto 15px;
}

.rss-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 24px;
    background: var(--berry);
    color: #ffffff;
    border: 1px solid var(--berry);
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
}

.rss-button:hover {
    background: var(--berry-dark);
    color: #ffffff;
    text-decoration: none;
}

.rss-button svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    fill: currentColor;
}

.rss-help {
    font-size: 13px;
}

.rss-feed-address {
    display: block;
    width: 100%;
    max-width: 600px;
    padding: 12px;
    margin: 18px auto;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    font-size: 13px;
    color: var(--berry);
    overflow-wrap: anywhere;
    user-select: all;
}

.rss-reader-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
}

.rss-reader-links a {
    font-size: 14px;
    font-weight: 600;
}


/* ==================================================
   18. WEBSITE FOOTER
   ================================================== */

footer {
    padding: 28px 20px;
    background: var(--background);
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 14px;
    text-align: center;
}

footer p {
    margin: 10px 0;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 20px;
    margin: 15px 0 25px;
}

.footer-links a {
    color: var(--berry);
    font-weight: 600;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-rss {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-weight: 600;
}

.footer-rss svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}


/* ==================================================
   19. ACCESSIBILITY
   ================================================== */

a:focus-visible,
button:focus-visible,
select:focus-visible {
    outline: 3px solid var(--berry);
    outline-offset: 4px;
}

header nav a:focus-visible {
    outline-color: #ffffff;
    outline-offset: -4px;
}

[hidden] {
    display: none !important;
}


/* ==================================================
   20. TABLET RESPONSIVENESS
   ================================================== */

@media (max-width: 850px) {

    .wrap {
        width: calc(100% - 24px);
        margin: 15px auto;
    }

    main {
        padding: 25px;
    }

    header nav a {
        padding: 10px 12px;
        font-size: 14px;
    }

    .comic-nav a,
    .comic-nav button {
        padding: 9px 12px;
        font-size: 13px;
    }

}


/* ==================================================
   21. MOBILE RESPONSIVENESS
   ================================================== */

@media (max-width: 650px) {

    .wrap {
        width: calc(100% - 16px);
        margin: 8px auto;
    }

    main {
        padding: 20px 15px;
    }

    header nav,
    #site-navigation nav {
        gap: 3px;
        padding: 8px 5px;
    }

    header nav a,
    #site-navigation nav a {
        padding: 9px 11px;
        font-size: 13px;
    }

    h1 {
        font-size: 30px;
    }

    h2 {
        font-size: 24px;
    }

    h3 {
        font-size: 20px;
    }

    .home-character-grid,
    .explore-grid,
    .featured-comic,
    .creator-spotlight,
    .archive-grid,
    .cast,
    .character-grid,
    .gallery-grid,
    .education-grid,
    .skills-grid,
    .portfolio-grid,
    .experience-grid,
    .status-grid,
    .about-intro,
    .about-profile,
    .creator-profile {
        grid-template-columns: 1fr;
    }

    .featured-comic,
    .creator-spotlight,
    .about-profile {
        text-align: center;
    }

    .home-hero {
        padding: 15px 0 25px;
    }

    .home-character img {
        height: 160px;
    }

    .hero-tagline {
        font-size: 18px;
    }

    .home-actions a,
    .social-links a,
    .button-group a {
        width: 100%;
    }

    .featured-comic .home-actions {
        justify-content: center;
    }

    .comic-nav,
    .comic-navigation,
    .reader-nav,
    .reader-navigation {
        gap: 6px;
        padding: 15px 8px;
    }

    .comic-nav a,
    .comic-nav button,
    .comic-navigation a,
    .comic-navigation button,
    .reader-nav a,
    .reader-nav button,
    .reader-navigation a,
    .reader-navigation button {
        padding: 9px 11px;
        font-size: 12px;
    }

    .comic-image,
    #comic-image,
    #comicImage {
        max-width: 100%;
    }

    .archive-card img {
        height: 240px;
    }

    .gallery-item img {
        height: 250px;
    }

    .character-card img {
        height: 220px;
    }

    .announcement,
    .notes,
    .about-section,
    .update-entry,
    .roadmap,
    .featured-announcement,
    .updates-contact {
        padding: 20px;
    }

    .rss-subscription {
        padding: 25px 18px;
    }

    .rss-subscription h2 {
        font-size: 24px;
    }

    .rss-button {
        max-width: 100%;
    }

    .rss-feed-address {
        font-size: 12px;
    }

    footer {
        padding: 20px 15px;
    }

}


/* ==================================================
   22. REDUCED MOTION ACCESSIBILITY
   ================================================== */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition: none !important;
        animation: none !important;
    }

    .home-character:hover,
    .archive-card:hover {
        transform: none;
    }

}


/* ==================================================
   END OF OFFICIAL BERRY BEAR COMICS STYLESHEET
   ================================================== */