/* =========================================================
   KỂ CHUYỆN VỀ BÁC HỒ
   MAIN STYLESHEET
   CLEAN / RESPONSIVE / FIXED
   ========================================================= */


/* =========================================================
   ROOT VARIABLES
   ========================================================= */

:root {
    --red: #8f1722;
    --red-dark: #681019;
    --red-deep: #4f0b12;

    --gold: #c99a32;
    --gold-light: #f2dfaa;
    --gold-soft: #f8ead0;

    --cream: #faf7f0;
    --white: #ffffff;

    --text: #292624;
    --muted: #746e68;
    --muted-light: #cdbfba;

    --border: #e8dfd2;

    --shadow-sm: 0 4px 15px rgba(50, 30, 15, 0.06);
    --shadow: 0 10px 30px rgba(50, 30, 15, 0.09);
    --shadow-lg: 0 18px 45px rgba(50, 30, 15, 0.13);

    --container: 1160px;
    --radius: 12px;
}


/* =========================================================
   RESET
   ========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;

    background: var(--cream);
    color: var(--text);

    font-family:
        Arial,
        "Noto Sans",
        "Segoe UI",
        sans-serif;

    font-size: 16px;
    line-height: 1.7;

    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;

    max-width: 100%;
    height: auto;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

::selection {
    background: var(--gold);
    color: var(--red-deep);
}


/* =========================================================
   MAIN
   ========================================================= */

.main-content {
    min-height: 70vh;
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(255, 255, 255, 0.98);

    border-bottom: 1px solid rgba(0, 0, 0, 0.06);

    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.06);

    backdrop-filter: blur(8px);
}

.header-inner {
    width: 100%;
    max-width: var(--container);
    min-height: 76px;

    margin: 0 auto;
    padding: 0 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;
}


/* =========================================================
   BRAND
   ========================================================= */

.brand {
    display: flex;
    align-items: center;

    gap: 12px;

    flex-shrink: 0;
}

.brand-logo {
    width: 48px;
    height: 48px;

    flex-shrink: 0;

    display: grid;
    place-items: center;

    overflow: hidden;

    border: 2px solid var(--gold);
    border-radius: 50%;

    background: var(--red);
    color: var(--gold);
}

.brand-logo span {
    font-size: 23px;
    line-height: 1;
}

.brand-logo img {
    width: 100%;
    height: 100%;

    object-fit: contain;
}

.brand-info {
    display: flex;
    flex-direction: column;

    line-height: 1.3;
}

.brand-info strong {
    color: var(--red);

    font-size: 17px;
    font-weight: 800;

    letter-spacing: 0.2px;
}

.brand-info span {
    margin-top: 4px;

    color: var(--muted);

    font-size: 11px;
}


/* =========================================================
   NAVIGATION
   ========================================================= */

.main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    gap: 2px;
}

.nav-link {
    position: relative;

    display: inline-flex;
    align-items: center;

    gap: 6px;

    padding: 27px 10px;

    color: #403b37;

    font-size: 13px;
    font-weight: 700;

    white-space: nowrap;

    transition:
        color 0.2s ease,
        background 0.2s ease;
}

.nav-icon {
    color: var(--gold);

    font-size: 14px;

    transition: transform 0.2s ease;
}

.nav-link::after {
    content: "";

    position: absolute;

    left: 10px;
    right: 10px;
    bottom: 0;

    height: 3px;

    background: var(--gold);

    transform: scaleX(0);
    transform-origin: center;

    transition: transform 0.2s ease;
}

.nav-link:hover {
    color: var(--red);
}

.nav-link:hover .nav-icon {
    transform: translateY(-1px);
}

.nav-link:hover::after {
    transform: scaleX(1);
}

.nav-search {
    margin-left: 4px;

    padding-left: 14px;
    padding-right: 14px;

    color: var(--red);

    border-left: 1px solid var(--border);
}


/* =========================================================
   MOBILE MENU BUTTON
   ========================================================= */

.mobile-menu-btn {
    display: none;

    width: 44px;
    height: 44px;

    padding: 9px;

    border: 1px solid var(--border);
    border-radius: 8px;

    background: #fff;

    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 5px;
}

.mobile-menu-btn span {
    display: block;

    width: 22px;
    height: 2px;

    background: var(--red);

    border-radius: 5px;
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    position: relative;

    width: 100%;
    min-height: 450px;

    overflow: hidden;

    background: var(--red-deep);
}


/* =========================================================
   HERO PICTURE
   ========================================================= */

.hero-picture {
    display: block;

    width: 100%;
    height: 450px;
}


/* =========================================================
   HERO IMAGE
   ========================================================= */

.hero-image {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center center;
}


/* =========================================================
   HERO DEFAULT
   ========================================================= */

.hero-default {
    position: relative;

    min-height: 450px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    background:
        radial-gradient(
            circle at 50% 35%,
            #a82c34 0%,
            #80151d 48%,
            #560b12 100%
        );
}

.hero-default::before {
    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    top: -250px;
    right: -150px;

    border-radius: 50%;

    background: rgba(201, 154, 50, 0.08);

    pointer-events: none;
}


/* =========================================================
   HERO OVERLAY
   ========================================================= */

.hero::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(50, 0, 5, 0.05),
            rgba(50, 0, 5, 0.28)
        );

    pointer-events: none;
}


/* =========================================================
   HERO CONTENT
   ========================================================= */

.hero-content {
    position: absolute;

    z-index: 3;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    width: min(900px, calc(100% - 40px));

    text-align: center;

    color: #fff;
}

.hero-star {
    position: relative;

    margin: 0 auto 12px;

    color: var(--gold);

    font-size: 42px;
    line-height: 1;
}

.hero-overlay h1,
.hero-content h1 {
    margin: 0;

    color: #fff;

    font-size: clamp(38px, 6vw, 68px);

    line-height: 1.08;

    font-weight: 800;

    letter-spacing: -0.8px;

    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.18);
}

.hero-overlay p,
.hero-content p {
    max-width: 650px;

    margin: 20px auto 28px;

    color: rgba(255, 255, 255, 0.84);

    font-size: clamp(15px, 2vw, 19px);

    line-height: 1.7;
}

.hero-buttons {
    display: flex;

    justify-content: center;
    align-items: center;

    gap: 12px;

    flex-wrap: wrap;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 44px;

    padding: 10px 20px;

    border: 1px solid transparent;
    border-radius: 8px;

    font-size: 14px;
    font-weight: 700;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        color 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--red);
    color: #fff;

    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
}

.btn-primary:hover {
    background: var(--red-dark);

    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.btn-secondary,
.btn-gold {
    background: var(--gold);
    color: var(--red-deep);
}

.btn-secondary:hover,
.btn-gold:hover {
    background: #dfb64d;
}


/* =========================================================
   STATISTICS
   ========================================================= */

.statistics {
    position: relative;
    z-index: 10;

    width: calc(100% - 40px);
    max-width: 900px;

    margin: -48px auto 55px;

    display: grid;
    grid-template-columns: repeat(3, 1fr);

    background: #fff;

    border: 1px solid var(--border);
    border-radius: 15px;

    overflow: hidden;

    box-shadow: var(--shadow-lg);
}

.stat-box {
    padding: 25px 20px;

    text-align: center;
}

.stat-box + .stat-box {
    border-left: 1px solid var(--border);
}

.stat-box strong {
    display: block;

    margin-bottom: 3px;

    color: var(--red);

    font-size: 30px;
    line-height: 1.2;

    font-weight: 800;
}

.stat-box span {
    color: var(--muted);

    font-size: 13px;
}


/* =========================================================
   GENERAL SECTION
   ========================================================= */

.section {
    width: 100%;
    max-width: var(--container);

    margin: 0 auto;

    padding: 30px 20px;
}

.section-title {
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 25px;

    margin-bottom: 28px;
}

.section-title h1,
.section-title h2 {
    margin: 5px 0 0;

    color: var(--red-dark);

    font-size: 30px;
    line-height: 1.25;

    font-weight: 800;
}

.section-label {
    color: var(--gold);

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 2.5px;

    text-transform: uppercase;
}

.view-all {
    color: var(--red);

    font-size: 14px;
    font-weight: 700;

    white-space: nowrap;

    transition: color 0.2s ease;
}

.view-all:hover {
    color: var(--gold);
}


/* =========================================================
   STORY GRID
   ========================================================= */

.story-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 24px;
}

.story-card {
    display: flex;
    flex-direction: column;

    background: #fff;

    border: 1px solid var(--border);
    border-radius: var(--radius);

    overflow: hidden;

    box-shadow: var(--shadow-sm);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.story-card:hover {
    transform: translateY(-5px);

    box-shadow: var(--shadow-lg);
}

.story-card > a:first-child {
    display: block;

    overflow: hidden;
}

.story-card img,
.story-placeholder {
    width: 100%;
    height: 210px;

    object-fit: cover;

    transition: transform 0.35s ease;
}

.story-card:hover img {
    transform: scale(1.03);
}

.story-placeholder {
    display: grid;
    place-items: center;

    background:
        radial-gradient(
            circle at center,
            #a82c34,
            #681019
        );

    color: var(--gold);

    font-size: 48px;
}

.story-card-body {
    padding: 20px;
}

.story-card h3 {
    margin: 9px 0 10px;

    color: var(--red-dark);

    font-size: 18px;
    line-height: 1.45;
}

.story-card h3 a:hover {
    color: var(--red);
}

.story-card p {
    margin: 0 0 14px;

    color: #655f5a;

    font-size: 14px;
    line-height: 1.7;
}

.category-tag {
    display: inline-block;

    padding: 4px 10px;

    border-radius: 30px;

    background: #f7edd9;

    color: var(--red);

    font-size: 11px;
    font-weight: 800;
}

.story-meta {
    display: flex;

    align-items: center;

    gap: 14px;

    margin-top: 13px;

    color: var(--muted);

    font-size: 12px;
}


/* =========================================================
   QUICK MENU
   ========================================================= */

.quick-menu {
    width: 100%;
    max-width: var(--container);

    margin: 35px auto;

    padding: 30px 20px;

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 18px;
}

.quick-menu a {
    padding: 25px 15px;

    background: #fff;

    border: 1px solid var(--border);
    border-radius: var(--radius);

    text-align: center;

    box-shadow: var(--shadow-sm);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.quick-menu a:hover {
    transform: translateY(-4px);

    border-color: var(--gold);

    box-shadow: var(--shadow);
}

.quick-menu span {
    display: block;

    margin-bottom: 8px;

    color: var(--gold);

    font-size: 34px;
}

.quick-menu strong {
    color: var(--red-dark);

    font-size: 14px;
}


/* =========================================================
   STORY DETAIL
   ========================================================= */

.story-detail {
    width: 100%;
    max-width: 900px;

    margin: 40px auto 60px;

    padding: 0 20px;
}

.story-detail-top {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 15px;
}

.story-header {
    margin-bottom: 22px;
}

.back-link {
    color: var(--red);

    font-size: 14px;
    font-weight: 700;
}

.back-link:hover {
    color: var(--gold);
}

.story-detail h1 {
    max-width: 850px;

    margin: 20px 0 12px;

    color: var(--red-dark);

    font-size: clamp(30px, 5vw, 48px);

    line-height: 1.25;

    font-weight: 800;
}

.article-meta {
    display: flex;

    flex-wrap: wrap;

    gap: 18px;

    margin-bottom: 22px;

    color: var(--muted);

    font-size: 13px;
}


/* =========================================================
   READING TOOLBAR
   ========================================================= */

.reading-toolbar {
    display: flex;

    align-items: center;
    flex-wrap: wrap;

    gap: 8px;

    margin-bottom: 20px;
    padding: 10px;

    background: #fff;

    border: 1px solid var(--border);
    border-radius: 9px;
}

.toolbar-label {
    margin-right: 3px;

    color: var(--muted);

    font-size: 13px;
    font-weight: 700;
}

.reading-toolbar button {
    padding: 7px 12px;

    border: 1px solid var(--border);
    border-radius: 6px;

    background: var(--cream);
    color: var(--text);

    font-size: 13px;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}

.reading-toolbar button:hover {
    background: var(--red);

    color: #fff;

    border-color: var(--red);
}


/* =========================================================
   STORY COVER
   ========================================================= */

.story-cover-wrap {
    margin: 25px 0;
}

.story-cover {
    width: 100%;
    max-height: 550px;

    margin: 20px 0;

    object-fit: cover;

    border-radius: var(--radius);

    box-shadow: var(--shadow);
}

.story-cover-wrap .story-cover {
    margin: 0;
}


/* =========================================================
   STORY SUMMARY
   ========================================================= */

.story-summary {
    margin: 25px 0;

    padding: 20px 22px;

    background: #fff5dc;

    border-left: 4px solid var(--gold);

    border-radius: 0 9px 9px 0;

    color: #51483d;

    font-size: 17px;

    line-height: 1.8;
}

.story-summary strong {
    display: block;

    margin-bottom: 5px;

    color: var(--red-dark);
}

.story-summary p {
    margin: 0;
}


/* =========================================================
   STORY CONTENT
   ========================================================= */

.story-content {
    padding: 38px;

    background: #fff;

    border: 1px solid var(--border);
    border-radius: var(--radius);

    box-shadow: var(--shadow-sm);

    color: #35312e;

    font-size: 18px;
    line-height: 1.95;

    overflow-wrap: break-word;
}

.story-content p {
    margin: 0 0 1.2em;
}

.story-content h2,
.story-content h3 {
    margin-top: 1.5em;

    color: var(--red-dark);

    line-height: 1.4;
}

.story-content h2 {
    font-size: 25px;
}

.story-content h3 {
    font-size: 21px;
}

.story-content img {
    max-width: 100%;
    height: auto;

    margin: 25px auto;

    border-radius: 8px;
}

.story-content ul,
.story-content ol {
    padding-left: 28px;
}

.story-content blockquote {
    margin: 25px 0;

    padding: 15px 20px;

    background: #fff8e8;

    border-left: 4px solid var(--gold);

    color: #5b5149;
}


/* =========================================================
   LESSON BOX
   ========================================================= */

.lesson-box {
    margin-top: 28px;

    padding: 24px;

    background: #fff7df;

    border: 1px solid #e4c96e;

    border-radius: var(--radius);
}

.lesson-title {
    margin-bottom: 8px;

    color: var(--red-dark);

    font-size: 19px;
    font-weight: 800;
}

.lesson-content {
    line-height: 1.8;
}


/* =========================================================
   AUDIO PLAYER - STORY
   ========================================================= */

.audio-player {
    margin: 22px 0;

    padding: 22px;

    background:
        linear-gradient(
            135deg,
            var(--red),
            var(--red-dark)
        );

    color: #fff;

    border-radius: var(--radius);

    box-shadow: var(--shadow);
}

.audio-player-title {
    font-size: 20px;
    font-weight: 800;
}

.audio-player-subtitle {
    margin-bottom: 14px;

    color: #f1dddd;

    font-size: 13px;
}

.audio-player strong {
    display: block;

    margin-bottom: 10px;
}

.audio-player audio {
    display: block;

    width: 100%;
}


/* =========================================================
   CATEGORY PAGE
   ========================================================= */

.category-page {
    min-height: 65vh;
}

.category-hero {
    position: relative;

    overflow: hidden;

    padding: 55px 20px;

    background:
        linear-gradient(
            135deg,
            var(--red-dark),
            var(--red)
        );

    color: #fff;
}

.category-hero::after {
    content: "★";

    position: absolute;

    right: 8%;
    top: 50%;

    transform: translateY(-50%);

    color: rgba(255, 255, 255, 0.06);

    font-size: 180px;

    pointer-events: none;
}

.category-hero-inner {
    position: relative;
    z-index: 1;

    max-width: 1200px;

    margin: auto;
}

.category-hero .back-link {
    display: inline-block;

    margin-bottom: 28px;

    color: #f7dfdf;

    font-size: 14px;
}

.category-hero .back-link:hover {
    color: var(--gold);
}

.category-hero .section-label {
    color: var(--gold-light);
}

.category-hero h1 {
    max-width: 850px;

    margin: 8px 0 12px;

    color: #fff;

    font-size: clamp(30px, 5vw, 48px);

    line-height: 1.2;
}

.category-hero p {
    max-width: 700px;

    margin: 0 0 18px;

    color: #f3e5e2;

    font-size: 16px;
}

.category-count {
    display: inline-block;

    padding: 6px 13px;

    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 30px;

    color: #fff;

    font-size: 13px;
}

.category-stories {
    padding-top: 45px;
}

.category-story-header {
    margin-bottom: 25px;
}

.category-story-header h2 {
    margin: 5px 0 0;

    color: var(--red-dark);
}


/* =========================================================
   SEARCH PAGE
   ========================================================= */

.search-page {
    min-height: 65vh;
}

.search-hero {
    padding: 55px 20px;

    background:
        linear-gradient(
            135deg,
            var(--red-dark),
            var(--red)
        );

    color: #fff;
}

.search-hero-inner {
    max-width: 900px;

    margin: auto;

    text-align: center;
}

.search-hero .section-label {
    color: var(--gold-light);
}

.search-hero h1 {
    margin: 8px 0;

    color: #fff;

    font-size: clamp(32px, 5vw, 48px);

    line-height: 1.2;
}

.search-hero p {
    margin: 0 auto 28px;

    color: #f0dddd;

    font-size: 15px;
}

.search-form {
    max-width: 760px;

    margin: 0 auto;

    display: flex;

    gap: 10px;
}

.search-input-wrap {
    position: relative;

    flex: 1;
}

.search-icon {
    position: absolute;

    left: 15px;
    top: 50%;

    transform: translateY(-50%);

    color: var(--muted);

    pointer-events: none;
}

.search-form input {
    width: 100%;
    height: 48px;

    padding: 0 15px 0 45px;

    border: 0;
    border-radius: 7px;

    background: #fff;

    color: var(--text);

    outline: none;
}

.search-form input:focus {
    box-shadow:
        0 0 0 3px rgba(216, 169, 40, 0.35);
}

.search-form .btn {
    height: 48px;

    padding-left: 25px;
    padding-right: 25px;
}

.search-results {
    padding-top: 45px;
}

.search-result-heading {
    display: flex;

    justify-content: space-between;
    align-items: flex-end;

    gap: 20px;

    margin-bottom: 25px;
}

.search-result-heading h2 {
    margin: 5px 0 0;

    color: var(--red-dark);
}

.search-keyword {
    padding: 7px 13px;

    background: #fff;

    border: 1px solid var(--border);
    border-radius: 30px;

    color: var(--muted);

    font-size: 13px;
}

.search-keyword strong {
    color: var(--red);
}

.search-empty {
    max-width: 650px;

    margin: 20px auto 50px;
}

.search-empty p {
    margin: 0 0 18px;
}

.search-empty p strong {
    color: var(--red);
}

.search-intro {
    max-width: 650px;

    margin: 20px auto 60px;

    padding: 45px 25px;

    background: #fff;

    border: 1px solid var(--border);
    border-radius: 12px;

    box-shadow: var(--shadow);

    text-align: center;
}

.search-intro-icon {
    margin-bottom: 10px;

    font-size: 42px;
}

.search-intro h2 {
    margin: 0 0 5px;

    color: var(--red-dark);
}

.search-intro p {
    margin: 0;

    color: var(--muted);
}


/* =========================================================
   OLD SEARCH COMPATIBILITY
   ========================================================= */

.big-search {
    display: flex;

    gap: 10px;

    margin-bottom: 30px;
}

.big-search input {
    flex: 1;

    min-width: 0;

    padding: 12px 15px;

    background: #fff;

    border: 1px solid var(--border);
    border-radius: 8px;

    outline: none;

    color: var(--text);
}

.big-search input:focus {
    border-color: var(--gold);

    box-shadow:
        0 0 0 3px rgba(201, 154, 50, 0.12);
}

.search-result-title {
    margin-bottom: 20px;

    color: var(--red-dark);
}


/* =========================================================
   AUDIO PAGE
   ========================================================= */

.audio-page {
    min-height: 65vh;
}

.audio-hero {
    padding: 55px 20px;

    background:
        linear-gradient(
            135deg,
            var(--red-dark),
            var(--red)
        );

    color: #fff;
}

.audio-hero-inner {
    max-width: 900px;

    margin: auto;

    text-align: center;
}

.audio-hero .section-label {
    color: var(--gold-light);
}

.audio-hero h1 {
    margin: 8px 0;

    color: #fff;

    font-size: clamp(32px, 5vw, 48px);

    line-height: 1.2;
}

.audio-hero p {
    margin: 0;

    color: #f1dddd;

    font-size: 16px;
}

.audio-section {
    padding-top: 45px;
}

.audio-section-header {
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 25px;
}

.audio-section-header h2 {
    margin: 5px 0 0;

    color: var(--red-dark);
}

.audio-count {
    padding: 6px 13px;

    background: #fff;

    border: 1px solid var(--border);
    border-radius: 30px;

    color: var(--muted);

    font-size: 13px;

    white-space: nowrap;
}

.audio-list {
    display: grid;

    gap: 16px;

    width: 100%;
    max-width: 950px;

    margin: auto;
}

.audio-card {
    padding: 20px;

    background: #fff;

    border: 1px solid var(--border);
    border-radius: 12px;

    box-shadow: var(--shadow-sm);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.audio-card:hover {
    transform: translateY(-2px);

    box-shadow:
        0 12px 28px rgba(70, 40, 20, 0.13);
}

.audio-card-top {
    display: flex;

    align-items: center;

    gap: 15px;

    margin-bottom: 16px;
}

.audio-icon {
    width: 50px;
    height: 50px;

    flex-shrink: 0;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: var(--gold-soft);

    color: var(--red);

    font-size: 25px;
    font-weight: 800;
}

.audio-info {
    min-width: 0;

    margin: 0;
}

.audio-info h3 {
    margin: 0 0 5px;

    color: var(--red-dark);

    font-size: 18px;

    line-height: 1.4;
}

.audio-info h3 a:hover {
    color: var(--red);
}

.audio-info p {
    margin: 3px 0 0;

    color: var(--muted);

    font-size: 13px;
}

.audio-meta {
    display: flex;

    flex-wrap: wrap;

    gap: 12px;

    color: var(--muted);

    font-size: 12px;
}

.audio-meta span:first-child {
    color: var(--red);

    font-weight: 700;
}

.audio-control {
    width: 100%;
}

.audio-control audio,
.audio-card audio {
    display: block;

    width: 100%;
}

.audio-read-link {
    display: inline-block;

    margin-top: 12px;

    color: var(--red);

    font-size: 13px;
    font-weight: 700;
}

.audio-read-link:hover {
    color: var(--red-dark);
}

.audio-empty {
    max-width: 650px;

    margin: 20px auto 60px;
}


/* =========================================================
   COMMENTS
   ========================================================= */

.comments-section {
    width: 100%;
    max-width: 900px;

    margin: 35px auto 70px;

    padding: 0 20px;
}

.comments-section h2 {
    color: var(--red-dark);
}

.comments-heading {
    margin-bottom: 20px;
}

.comments-heading h2 {
    margin: 3px 0;
}

.comments-heading p {
    margin: 0;

    color: var(--muted);
}

.comments-list {
    display: grid;

    gap: 12px;
}

.comment {
    margin-bottom: 10px;

    padding: 16px 18px;

    background: #fff;

    border: 1px solid var(--border);
    border-radius: 9px;

    transition: box-shadow 0.2s ease;
}

.comment:hover {
    box-shadow:
        0 6px 20px rgba(70, 40, 20, 0.08);
}

.comment strong {
    color: var(--red);
}

.comment small {
    margin-left: 8px;

    color: var(--muted);
}

.comment-header {
    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 5px;
}

.comment-header small {
    margin: 0;

    color: var(--muted);
}

.comment p {
    margin: 8px 0 0;

    line-height: 1.7;
}

.comment-form {
    display: grid;

    gap: 12px;

    margin-top: 28px;
    padding: 20px;

    background: #fff;

    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.comment-form-title {
    margin-bottom: 2px;

    color: var(--red-dark);

    font-size: 19px;
    font-weight: 800;
}

.comment-form label {
    margin-bottom: -5px;

    color: var(--text);

    font-size: 13px;
    font-weight: 700;
}

.comment-form input,
.comment-form textarea {
    width: 100%;

    padding: 12px;

    border: 1px solid var(--border);
    border-radius: 7px;

    outline: none;

    resize: vertical;

    color: var(--text);

    background: #fff;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.comment-form input:focus,
.comment-form textarea:focus {
    border-color: var(--gold);

    box-shadow:
        0 0 0 3px rgba(216, 169, 40, 0.12);
}


/* =========================================================
   ALERT
   ========================================================= */

.alert {
    margin: 15px 0;

    padding: 12px 15px;

    border-radius: 8px;

    font-size: 14px;
}

.alert.success {
    background: #e5f4e8;

    color: #185c2c;
}


/* =========================================================
   EMPTY
   ========================================================= */

.empty-box {
    padding: 40px 25px;

    background: #fff;

    border: 1px solid var(--border);
    border-radius: var(--radius);

    color: var(--muted);

    text-align: center;
}

.empty-box strong {
    display: block;

    margin-bottom: 5px;

    color: var(--red-dark);

    font-size: 18px;
}

.empty-box p {
    margin: 0 0 18px;

    color: var(--muted);
}

.empty-box-icon {
    margin-bottom: 8px;

    color: var(--gold);

    font-size: 42px;
}

.muted {
    color: var(--muted);
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    position: relative;

    margin-top: 80px;

    background:
        linear-gradient(
            135deg,
            var(--red-deep) 0%,
            #5b0d15 50%,
            #430910 100%
        );

    color: #fff;

    overflow: hidden;

    border-top: 0;
}

.site-footer::before {
    content: "★";

    position: absolute;

    top: -55px;
    right: 6%;

    color: rgba(201, 154, 50, 0.055);

    font-size: 220px;
    line-height: 1;

    pointer-events: none;
}

.site-footer::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    top: 0;

    height: 3px;

    background:
        linear-gradient(
            90deg,
            transparent,
            var(--gold),
            var(--gold-light),
            var(--gold),
            transparent
        );
}


/* =========================================================
   FOOTER INNER
   ========================================================= */

.footer-inner {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: var(--container);

    margin: 0 auto;

    padding: 52px 20px 45px;

    display: grid;

    grid-template-columns:
        minmax(0, 2fr)
        minmax(220px, 1fr);

    gap: 70px;
}


/* =========================================================
   FOOTER ABOUT
   ========================================================= */

.footer-about {
    min-width: 0;
}

.footer-brand {
    display: flex;

    align-items: center;

    gap: 13px;

    margin-bottom: 18px;
}

.footer-logo {
    width: 48px;
    height: 48px;

    flex: 0 0 48px;

    display: grid;
    place-items: center;

    overflow: hidden;

    border: 2px solid var(--gold);

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.035);

    color: var(--gold);

    font-size: 21px;

    box-shadow:
        0 0 0 5px rgba(201, 154, 50, 0.06);
}

.footer-logo img {
    width: 100%;
    height: 100%;

    object-fit: contain;

    border-radius: 50%;
}

.footer-brand > div {
    min-width: 0;
}

.footer-brand h3 {
    margin: 0 0 3px;

    color: var(--gold);

    font-size: 17px;

    line-height: 1.35;

    font-weight: 800;

    letter-spacing: 0.2px;
}

.footer-brand span {
    display: block;

    color: #d8cbc7;

    font-size: 11px;

    line-height: 1.5;
}

.footer-about p {
    max-width: 600px;

    margin: 0;

    color: #ded1cd;

    font-size: 14px;

    line-height: 1.85;
}

.footer-about p + p {
    margin-top: 10px;
}


/* =========================================================
   FOOTER COLUMN
   ========================================================= */

.footer-column {
    min-width: 0;
}

.footer-column h3 {
    position: relative;

    margin: 2px 0 18px;

    padding-bottom: 11px;

    color: var(--gold);

    font-size: 16px;

    line-height: 1.4;

    font-weight: 800;
}

.footer-column h3::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 38px;
    height: 2px;

    background: var(--gold);

    border-radius: 5px;
}


/* =========================================================
   FOOTER LINKS
   ========================================================= */

.footer-column a {
    position: relative;

    display: block;

    width: fit-content;

    margin: 0 0 11px;

    padding-left: 0;

    color: #eee3df;

    font-size: 13px;

    line-height: 1.6;

    transition:
        color 0.2s ease,
        padding-left 0.2s ease;
}

.footer-column a::before {
    content: "›";

    display: inline-block;

    width: 0;

    opacity: 0;

    color: var(--gold);

    font-size: 17px;

    vertical-align: -1px;

    transition:
        width 0.2s ease,
        opacity 0.2s ease;
}

.footer-column a:hover {
    padding-left: 4px;

    color: var(--gold-light);
}

.footer-column a:hover::before {
    width: 14px;

    opacity: 1;
}


/* =========================================================
   OLD FOOTER HTML COMPATIBILITY
   ========================================================= */

.site-footer > .footer-inner > div > h3 {
    margin-top: 0;

    color: var(--gold);
}

.site-footer > .footer-inner > div > p {
    color: #ded1cd;

    line-height: 1.8;
}

.site-footer > .footer-inner > div > a {
    display: block;

    margin: 8px 0;

    color: #eee3df;

    font-size: 13px;

    text-decoration: none;

    transition:
        color 0.2s ease,
        padding-left 0.2s ease;
}

.site-footer > .footer-inner > div > a:hover {
    padding-left: 4px;

    color: var(--gold-light);
}

.site-footer a {
    text-decoration: none;
}

.site-footer a:focus-visible {
    outline: 2px solid var(--gold);

    outline-offset: 4px;

    border-radius: 3px;
}


/* =========================================================
   COPYRIGHT
   ========================================================= */

.copyright {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: var(--container);

    min-height: 62px;

    margin: 0 auto;

    padding: 15px 20px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    border-top: 1px solid rgba(255, 255, 255, 0.12);

    color: #d9cbc7;

    font-size: 13px;

    line-height: 1.6;

    text-align: left;
}

.copyright-note {
    color: #cdbfba;

    font-size: 12px;

    line-height: 1.6;
}

.copyright strong {
    color: #e7d9d5;

    font-weight: 700;
}


/* =========================================================
   ACCESSIBILITY / FOCUS
   ========================================================= */

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid rgba(201, 154, 50, 0.45);

    outline-offset: 2px;
}


/* =========================================================
   RESPONSIVE - TABLET 1050px
   ========================================================= */

@media (max-width: 1050px) {

    .header-inner {
        gap: 15px;
    }

    .nav-link {
        padding-left: 7px;
        padding-right: 7px;

        font-size: 12px;
    }

    .story-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .quick-menu {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-inner {
        gap: 40px;
    }
}


/* =========================================================
   RESPONSIVE - TABLET FOOTER 900px
   ========================================================= */

@media (max-width: 900px) {

    .footer-inner {
        grid-template-columns:
            1.5fr
            1fr;

        gap: 40px;

        padding: 45px 20px 38px;
    }

    .site-footer {
        margin-top: 60px;
    }
}


/* =========================================================
   RESPONSIVE - MOBILE 760px
   ========================================================= */

@media (max-width: 760px) {

    /* -----------------------------------------------------
       HEADER
       ----------------------------------------------------- */

    .site-header {
        position: sticky;
    }

    .header-inner {
        min-height: 68px;

        padding: 8px 15px;

        flex-wrap: wrap;
    }

    .brand-logo {
        width: 42px;
        height: 42px;
    }

    .brand-logo span {
        font-size: 20px;
    }

    .brand-info strong {
        font-size: 14px;
    }

    .brand-info span {
        font-size: 9px;
    }

    .mobile-menu-btn {
        display: flex;
    }


    /* -----------------------------------------------------
       MOBILE NAV
       ----------------------------------------------------- */

    .main-nav {
        display: none;

        width: 100%;

        padding: 5px 0 15px;

        flex-direction: column;
        align-items: stretch;

        background: #fff;

        border-top: 1px solid var(--border);
    }

    .main-nav.show {
        display: flex;
    }

    .nav-link {
        width: 100%;

        padding: 12px 10px;

        justify-content: flex-start;

        border-bottom: 1px solid #f0ebe4;
    }

    .nav-link::after {
        display: none;
    }

    .nav-search {
        margin-left: 0;

        padding-left: 10px;

        border-left: 0;
    }


    /* -----------------------------------------------------
       HERO
       ----------------------------------------------------- */

    .hero {
        min-height: auto;

        height: auto;
    }

    .hero-picture {
        width: 100%;
        height: auto;
    }

    .hero-image {
        width: 100%;
        height: auto;

        object-fit: contain;
        object-position: center center;
    }

    .hero-content {
        width: calc(100% - 30px);
    }

    .hero-star {
        font-size: 34px;
    }

    .hero-overlay h1,
    .hero-content h1 {
        font-size: clamp(34px, 10vw, 48px);
    }

    .hero-overlay p,
    .hero-content p {
        margin-top: 14px;

        font-size: 15px;
    }

    .hero-buttons {
        gap: 8px;
    }


    /* -----------------------------------------------------
       BUTTON
       ----------------------------------------------------- */

    .btn {
        padding: 10px 16px;

        font-size: 13px;
    }


    /* -----------------------------------------------------
       STATISTICS
       ----------------------------------------------------- */

    .statistics {
        width: calc(100% - 30px);

        grid-template-columns: 1fr;

        margin: -25px 15px 35px;
    }

    .stat-box {
        padding: 19px;
    }

    .stat-box + .stat-box {
        border-left: 0;

        border-top: 1px solid var(--border);
    }


    /* -----------------------------------------------------
       SECTION
       ----------------------------------------------------- */

    .section {
        padding: 25px 15px;
    }

    .section-title {
        align-items: flex-start;

        flex-direction: column;

        gap: 8px;

        margin-bottom: 20px;
    }

    .section-title h1,
    .section-title h2 {
        font-size: 25px;
    }


    /* -----------------------------------------------------
       STORIES
       ----------------------------------------------------- */

    .story-grid {
        grid-template-columns: 1fr;

        gap: 18px;
    }

    .story-card img,
    .story-placeholder {
        height: 220px;
    }


    /* -----------------------------------------------------
       QUICK MENU
       ----------------------------------------------------- */

    .quick-menu {
        grid-template-columns: 1fr;

        padding: 20px 15px;
    }


    /* -----------------------------------------------------
       STORY DETAIL
       ----------------------------------------------------- */

    .story-detail {
        margin-top: 25px;

        padding: 0 15px;
    }

    .story-detail-top {
        align-items: flex-start;
    }

    .story-detail h1 {
        font-size: 30px;
    }

    .reading-toolbar {
        gap: 6px;
    }

    .toolbar-label {
        width: 100%;
    }

    .reading-toolbar button {
        flex: 1;
    }

    .story-content {
        padding: 22px 18px;

        font-size: 17px;

        line-height: 1.85;
    }

    .story-summary {
        padding: 17px;

        font-size: 16px;
    }

    .audio-player {
        padding: 16px;
    }


    /* -----------------------------------------------------
       SEARCH
       ----------------------------------------------------- */

    .big-search,
    .search-form {
        flex-direction: column;
    }

    .search-form .btn {
        width: 100%;
    }

    .search-result-heading {
        flex-direction: column;

        align-items: flex-start;
    }

    .search-keyword {
        max-width: 100%;
    }


    /* -----------------------------------------------------
       CATEGORY
       ----------------------------------------------------- */

    .category-hero {
        padding: 35px 20px;
    }

    .category-hero h1 {
        font-size: 30px;
    }

    .category-hero::after {
        right: -30px;

        font-size: 130px;
    }

    .category-stories {
        padding-top: 30px;
    }


    /* -----------------------------------------------------
       AUDIO
       ----------------------------------------------------- */

    .audio-hero {
        padding: 40px 15px;
    }

    .audio-section {
        padding-top: 30px;
    }

    .audio-section-header {
        align-items: flex-start;

        flex-direction: column;

        gap: 10px;
    }

    .audio-card {
        padding: 16px;
    }

    .audio-card-top {
        align-items: flex-start;
    }

    .audio-icon {
        width: 44px;
        height: 44px;

        font-size: 21px;
    }

    .audio-info h3 {
        font-size: 16px;
    }


    /* -----------------------------------------------------
       COMMENTS
       ----------------------------------------------------- */

    .comments-section {
        margin-bottom: 50px;

        padding: 0 15px;
    }

    .comment-header {
        align-items: flex-start;

        flex-direction: column;

        gap: 2px;
    }


    /* -----------------------------------------------------
       FOOTER
       ----------------------------------------------------- */

    .site-footer {
        margin-top: 50px;
    }

    .site-footer::before {
        top: -30px;
        right: -45px;

        font-size: 150px;
    }

    .footer-inner {
        grid-template-columns: 1fr;

        gap: 30px;

        padding: 38px 20px 30px;
    }

    .footer-brand {
        gap: 11px;

        margin-bottom: 15px;
    }

    .footer-logo {
        width: 44px;
        height: 44px;

        flex-basis: 44px;

        font-size: 19px;
    }

    .footer-brand h3 {
        font-size: 15px;
    }

    .footer-brand span {
        font-size: 10px;
    }

    .footer-about p {
        max-width: none;

        font-size: 13px;

        line-height: 1.8;
    }

    .footer-column h3 {
        margin-bottom: 15px;
    }

    .footer-column a {
        font-size: 13px;

        margin-bottom: 10px;
    }

    .copyright {
        min-height: auto;

        padding: 15px 20px 18px;

        flex-direction: column;

        justify-content: center;

        gap: 5px;

        text-align: center;
    }

    .copyright-note {
        font-size: 11px;

        text-align: center;
    }
}


/* =========================================================
   RESPONSIVE - SMALL MOBILE 420px
   ========================================================= */

@media (max-width: 420px) {

    /* -----------------------------------------------------
       BRAND
       ----------------------------------------------------- */

    .brand-info strong {
        font-size: 12px;
    }

    .brand-info span {
        font-size: 8px;
    }

    .brand-logo {
        width: 39px;
        height: 39px;
    }


    /* -----------------------------------------------------
       HERO
       ----------------------------------------------------- */

    .hero,
    .hero-default {
        min-height: 370px;
    }

    .hero-image {
        height: 370px;
    }

    .hero-overlay h1,
    .hero-content h1 {
        font-size: 31px;
    }

    .hero-overlay p,
    .hero-content p {
        font-size: 14px;
    }

    .hero-buttons {
        flex-direction: column;

        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }


    /* -----------------------------------------------------
       STORIES
       ----------------------------------------------------- */

    .story-card img,
    .story-placeholder {
        height: 200px;
    }


    /* -----------------------------------------------------
       STORY DETAIL
       ----------------------------------------------------- */

    .story-detail h1 {
        font-size: 27px;
    }

    .story-content {
        padding: 18px 15px;

        font-size: 16px;
    }

    .reading-toolbar button {
        flex: 1 1 calc(50% - 6px);
    }


    /* -----------------------------------------------------
       FOOTER
       ----------------------------------------------------- */

    .footer-inner {
        padding-left: 15px;
        padding-right: 15px;
    }

    .footer-logo {
        width: 42px;
        height: 42px;

        flex-basis: 42px;
    }

    .footer-brand h3 {
        font-size: 14px;
    }

    .footer-about p {
        font-size: 12.5px;
    }

    .copyright {
        padding-left: 15px;
        padding-right: 15px;

        font-size: 12px;
    }
}
/* =========================================================
   KỂ CHUYỆN VỀ BÁC HỒ
   READING TOOLBAR + SHARE + ĐỌC CÂU CHUYỆN
   ========================================================= */

/* =========================================================
   THANH CÔNG CỤ ĐỌC
   ========================================================= */

.reading-toolbar {
    position: relative;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 9px;
}

.toolbar-label {
    margin-right: 3px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

/* Chỉ áp dụng cho nút trực tiếp trong toolbar */
.reading-toolbar > button {
    padding: 7px 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--cream);
    color: var(--text);
    font-family: inherit;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
    cursor: pointer;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.reading-toolbar > button:hover {
    background: var(--red);
    color: #fff;
    border-color: var(--red);
    transform: translateY(-1px);
}


/* =========================================================
   MENU CHIA SẺ
   ========================================================= */

.share-menu {
    display: none;

    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 1000;

    width: 190px;
    padding: 8px;

    background: #fff;
    border: 1px solid var(--border);
    border-radius: 9px;
    box-shadow: var(--shadow);
}

.share-menu.show {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Nút/link bên trong menu chia sẻ */
.share-menu a,
.share-menu button {
    display: flex;
    align-items: center;
    justify-content: flex-start;

    width: 100%;
    min-height: 34px;
    margin: 0;
    padding: 7px 12px;

    border: 1px solid var(--border);
    border-radius: 6px;

    background: var(--cream);
    color: var(--text);

    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;

    text-align: left;
    text-decoration: none;
    cursor: pointer;

    box-shadow: none;
    flex: 0 0 auto;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

/* Màu riêng */
.share-menu .share-facebook {
    color: #1877f2 !important;
}

.share-menu .share-zalo {
    color: #0068ff !important;
}

.share-menu .share-copy {
    color: var(--text) !important;
}

/* Hover */
.share-menu a:hover,
.share-menu button:hover {
    background: var(--red);
    color: #fff !important;
    border-color: var(--red);
    transform: translateY(-1px);
}


/* =========================================================
   KHU VỰC ĐỌC CÂU CHUYỆN
   Nội dung ẩn mặc định
   ========================================================= */

.story-read-area {
    margin-top: 25px;
    text-align: center;
}

/* Nội dung chưa mở */
.story-read-area .story-content {
    display: none;

    margin-top: 28px;
    padding: 38px;

    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);

    color: #35312e;
    font-size: 18px;
    line-height: 1.95;

    text-align: left;
    overflow-wrap: break-word;
}

/* Nội dung sau khi bấm "Đọc câu chuyện" */
.story-read-area .story-content.show {
    display: block;
}


/* =========================================================
   NÚT ĐỌC CÂU CHUYỆN
   ========================================================= */

.btn-read-story {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 38px;
    padding: 7px 14px;

    border: 1px solid var(--border);
    border-radius: 6px;

    background: var(--cream);
    color: var(--text);

    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;

    cursor: pointer;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.btn-read-story:hover {
    background: var(--red);
    color: #fff;
    border-color: var(--red);
    transform: translateY(-1px);
}


/* =========================================================
   ĐỊNH DẠNG NỘI DUNG CÂU CHUYỆN
   ========================================================= */

.story-read-area .story-content p {
    margin: 0 0 1.2em;
}

.story-read-area .story-content h2,
.story-read-area .story-content h3 {
    margin-top: 1.5em;
    color: var(--red-dark);
    line-height: 1.4;
}

.story-read-area .story-content h2 {
    font-size: 25px;
}

.story-read-area .story-content h3 {
    font-size: 21px;
}

.story-read-area .story-content img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 25px auto;
    border-radius: 8px;
}

.story-read-area .story-content ul,
.story-read-area .story-content ol {
    padding-left: 28px;
}

.story-read-area .story-content blockquote {
    margin: 25px 0;
    padding: 15px 20px;

    background: #fff8e8;
    border-left: 4px solid var(--gold);

    color: #5b5149;
}


/* =========================================================
   RESPONSIVE - TABLET / ĐIỆN THOẠI
   ========================================================= */

@media (max-width: 760px) {

    .reading-toolbar {
        gap: 6px;
    }

    .toolbar-label {
        width: 100%;
        margin-right: 0;
    }

    /* Chỉ nút trực tiếp của toolbar */
    .reading-toolbar > button {
        flex: 1 1 auto;
        min-width: 0;
        padding: 7px 10px;
        font-size: 12px;
    }

    .share-menu {
        right: 0;
        width: 190px;
        max-width: calc(100vw - 30px);
    }

    .share-menu a,
    .share-menu button {
        flex: 0 0 auto;
        width: 100%;
        padding: 7px 12px;
        font-size: 12px;
    }

    .btn-read-story {
        width: auto;
        min-height: 38px;
        padding: 8px 16px;
        font-size: 13px;
    }

    .story-read-area .story-content {
        padding: 22px 18px;
        font-size: 17px;
        line-height: 1.85;
    }
}


/* =========================================================
   RESPONSIVE - ĐIỆN THOẠI NHỎ
   ========================================================= */

@media (max-width: 420px) {

    .reading-toolbar > button {
        flex: 1 1 calc(50% - 6px);
        min-width: 0;
        padding: 7px 9px;
        font-size: 12px;
    }

    .share-menu {
        right: 0;
        width: 180px;
        max-width: calc(100vw - 30px);
    }

    .share-menu a,
    .share-menu button {
        flex: 0 0 auto;
        width: 100%;
        min-height: 34px;
        padding: 7px 10px;
        font-size: 12px;
    }

    .btn-read-story {
        padding: 8px 14px;
        font-size: 12px;
    }

    .story-read-area .story-content {
        padding: 18px 15px;
        font-size: 16px;
        line-height: 1.8;
    }
}

