/* Daytrading site – single stylesheet for all pages */
:root {
    --ast-global-color-0: #0170B9;
    --ast-global-color-1: #3a3a3a;
    --ast-global-color-2: #3a3a3a;
    --ast-global-color-3: #4B4F58;
    --ast-global-color-4: #F5F5F5;
    --ast-global-color-5: #FFFFFF;
    --secondary-color: #0170B9;
}

html {
    font-size: 100%;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: white;
    color: var(--ast-global-color-3);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Oxygen-Sans', Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
    font-weight: inherit;
    font-size: 16px;
    font-size: 1.06666666667rem;
    line-height: 1.65em;
    word-wrap: break-word !important;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

a {
    color: var(--ast-global-color-0);
    text-decoration: none;
}

a:hover,
a:focus {
    color: #1f8bc1;
}

h1, h2, h3, h4, h5, h6,
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Oxygen-Sans', Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
    font-weight: 700;
    color: #1e73be;
    margin-top: 40px !important;
    margin-bottom: 20px !important;
    word-wrap: break-word !important;
}

h1,
.entry-content h1 {
    font-size: 40px;
    font-size: 2.66666666667rem;
    line-height: 1.4em;
    text-align: center;
}

h2,
.entry-content h2 {
    font-size: 32px;
    font-size: 2.13333333333rem;
    line-height: 1.3em;
}

h3,
.entry-content h3 {
    font-size: 26px;
    font-size: 1.73333333333rem;
    line-height: 1.3em;
}

h4,
.entry-content h4 {
    font-size: 24px;
    font-size: 1.6rem;
    line-height: 1.2em;
}

h5,
.entry-content h5 {
    font-size: 20px;
    font-size: 1.33333333333rem;
    line-height: 1.2em;
}

h6,
.entry-content h6 {
    font-size: 16px;
    font-size: 1.06666666667rem;
    line-height: 1.25em;
}

/* Header Styles */
.site-header {
    width: 100%;
}

.main-header-bar-wrap {
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: #eaeaea;
}

.main-header-bar {
    padding-top: 1.5em;
    padding-bottom: 1.5em;
}

.ast-container {
    max-width: 1240px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* When dt-container is used inside ast-container, remove ast-container padding to avoid double padding */
.ast-container .dt-container {
    margin-left: -20px;
    margin-right: -20px;
    padding-left: 20px;
    padding-right: 20px;
    max-width: calc(100% + 40px);
}

/* Ensure consistent background across all pages */
body {
    background-color: white !important;
}

.site-content,
.content-area,
.entry-content {
    background-color: white !important;
}

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

.site-branding {
    flex: 0 0 auto;
}

.site-logo-img {
    display: inline-block;
}

.custom-logo {
    max-width: 260px;
    height: auto;
    display: block;
}

.ast-main-header-bar-alignment {
    flex: 1 1 auto;
    display: flex;
    justify-content: flex-end;
}

.main-header-bar-navigation {
    width: 100%;
}

.main-navigation {
    font-size: 16px;
    font-size: 1.06666666667rem;
    font-weight: 700;
}

.main-header-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.main-header-menu .menu-item {
    margin: 0;
    padding: 0;
}

.main-header-menu .menu-link {
    display: flex;
    align-items: center;
    padding: 0 20px;
    color: var(--ast-global-color-3);
    text-decoration: none;
    height: 100%;
    transition: color 0.3s ease;
}

.main-header-menu .menu-item:hover > .menu-link,
.main-header-menu .menu-item.focus > .menu-link,
.main-header-menu .current-menu-item > .menu-link,
.main-header-menu .current-menu-ancestor > .menu-link {
    color: var(--ast-global-color-0);
}

.menu-text {
    display: inline-block;
}

/* Mobile Menu Toggle */
.ast-mobile-menu-buttons {
    display: none;
}

.ast-mobile-menu-buttons .ast-button-wrap {
    display: flex;
    align-items: center;
}

.menu-toggle {
    background: transparent;
    border: none;
    color: var(--ast-global-color-0);
    cursor: pointer;
    padding: 0;
    font-size: 24px;
}

.menu-toggle-icon {
    display: block;
    width: 24px;
    height: 18px;
    position: relative;
}

.menu-toggle-icon::before,
.menu-toggle-icon::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: currentColor;
}

.menu-toggle-icon::before {
    top: 0;
    box-shadow: 0 8px 0 currentColor;
}

.menu-toggle-icon::after {
    bottom: 0;
}

/* Content Area - ensure consistent background and no padding conflicts */
.site-content {
    padding-top: 0;
    padding-bottom: 0;
    background-color: white;
}

.content-area {
    padding: 0;
    background-color: white;
}

.entry-content {
    padding: 0;
    background-color: white;
}

/* Ensure dt-section works properly within entry-content */
.entry-content .dt-section {
    background-color: white;
}

.entry-content .dt-section:first-child {
    margin-top: 0;
}

    .entry-content p {
    margin-bottom: 1.5em;
    line-height: 1.65em;
    font-size: 16px;
}

.entry-content ul,
.entry-content ol {
    margin-bottom: 1.5em;
    padding-left: 2em;
}

.entry-content li {
    margin-bottom: 0.5em;
}

.entry-content strong,
.entry-content b {
    font-weight: 700;
}

/* Buttons */
.btn,
button,
input[type="button"],
input[type="submit"] {
    border-style: solid;
    border-width: 0;
    color: #ffffff;
    border-color: var(--ast-global-color-0);
    background-color: var(--ast-global-color-0);
    padding: 10px 40px;
    font-family: inherit;
    font-weight: inherit;
    line-height: 1em;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 0;
}

.btn:hover,
button:hover,
input[type="button"]:hover,
input[type="submit"]:hover {
    color: #ffffff;
    background-color: #1f8bc1;
    border-color: #1f8bc1;
}

.btn-primary {
    background-color: var(--ast-global-color-0) !important;
    border-color: var(--ast-global-color-0) !important;
    color: #ffffff !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: #1f8bc1 !important;
    border-color: #1f8bc1 !important;
    color: #ffffff !important;
}

.btn-outline-secondary {
    background-color: transparent !important;
    border: 2px solid var(--ast-global-color-3) !important;
    color: var(--ast-global-color-3) !important;
    padding: 10px 30px;
}

.btn-outline-secondary:hover,
.btn-outline-secondary:focus,
.btn-outline-secondary:active {
    background-color: var(--ast-global-color-3) !important;
    border-color: var(--ast-global-color-3) !important;
    color: #ffffff !important;
}

/* Call to action buttons: shared height and font weight site-wide */
.btn-cta,
.btn-cta.btn,
.btn-cta.btn-lg {
    padding-top: 14px;
    padding-bottom: 14px;
    font-weight: 600;
}

.btn-cta.btn-lg {
    padding-top: 16px;
    padding-bottom: 16px;
}

/* Footer */
.site-footer {
    margin-top: 100px;
    border-top: 1px solid #7a7a7a;
}

.ast-small-footer {
    padding-top: 2em;
    padding-bottom: 2em;
}

.ast-small-footer-wrap {
    text-align: center;
}

    .ast-small-footer-section-2 {
    color: var(--ast-global-color-3);
    font-size: 16px;
    font-size: 1rem;
}

.ast-small-footer-section-2 a {
    color: var(--ast-global-color-3);
    text-decoration: none;
}

.ast-small-footer-section-2 a:hover {
    color: var(--ast-global-color-0);
}

/* Utility Classes */
.page-title {
    margin-top: 35px;
    text-align: center !important;
}

.text-center {
    text-align: center;
}

/* Responsive */
@media (max-width: 921px) {
    html {
        font-size: 100%;
    }

    body {
        font-size: 16px;
    }

    h1,
    .entry-content h1 {
        font-size: 28px;
    }

    h2,
    .entry-content h2 {
        font-size: 24px;
    }

    h3,
    .entry-content h3 {
        font-size: 20px;
    }

    h4,
    .entry-content h4 {
        font-size: 20px;
    }

    h5,
    .entry-content h5 {
        font-size: 18px;
    }

    .ast-mobile-menu-buttons {
        display: flex;
        margin-left: auto;
        align-items: center;
    }

    .ast-main-header-bar-alignment {
        flex: 0 0 0;
        width: 0;
        min-width: 0;
        overflow: hidden;
        padding: 0;
        margin: 0;
    }

    .site-header.mobile-menu-open .ast-main-header-bar-alignment {
        order: 3;
        flex: 1 1 100%;
        width: 100%;
        min-width: 100%;
        overflow: visible;
    }

    .main-header-bar-navigation {
        display: none;
        width: 100%;
        border-top: 1px solid #eaeaea;
        padding-top: 0.75em;
        padding-bottom: 0.75em;
        margin-top: 0.5em;
    }

    .site-header.mobile-menu-open .main-header-bar-navigation {
        display: block;
    }

    .main-header-bar {
        padding-top: 1em;
        padding-bottom: 1em;
    }

    .main-header-bar .ast-flex.main-header-container {
        flex-wrap: wrap;
    }

    .site-header.mobile-menu-open .main-header-bar-navigation .main-header-menu {
        flex-direction: column;
        align-items: flex-end;
        gap: 0;
    }

    .site-header.mobile-menu-open .main-header-bar-navigation .menu-item {
        width: 100%;
        text-align: right;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    }

    .site-header.mobile-menu-open .main-header-bar-navigation .menu-item:last-child {
        border-bottom: none;
    }

    .site-header.mobile-menu-open .main-header-bar-navigation .menu-link {
        padding: 12px 0;
        width: 100%;
        justify-content: flex-end;
    }

    .site-header.mobile-menu-open .menu-toggle .menu-toggle-icon::before {
        transform: translateY(9px) rotate(45deg);
        box-shadow: none;
    }

    .site-header.mobile-menu-open .menu-toggle .menu-toggle-icon::after {
        transform: translateY(-9px) rotate(-45deg);
    }
}

@media (max-width: 544px) {
    html {
        font-size: 100%;
    }

    body {
        font-size: 16px;
    }

    p,
    .entry-content p {
        font-size: 16px;
    }

    h1,
    .entry-content h1 {
        font-size: 24px;
    }

    h2,
    .entry-content h2 {
        font-size: 22px;
    }

    h3,
    .entry-content h3 {
        font-size: 19px;
    }

    h4,
    .entry-content h4 {
        font-size: 18px;
    }

    h5,
    .entry-content h5 {
        font-size: 17px;
    }

    h6,
    .entry-content h6 {
        font-size: 16px;
    }

    .ast-container {
        padding-left: 1em;
        padding-right: 1em;
    }

    .main-header-bar {
        padding-top: 1em;
        padding-bottom: 1em;
    }
}

/* Additional Styles */
.toc a {
    color: var(--ast-global-color-0);
    transition: color 0.3s ease;
}

.toc a:hover {
    color: #1f8bc1;
    text-decoration: underline !important;
}

.faq-item {
    margin-bottom: 2rem;
    padding: 1rem;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
}

.faq-item h3 {
    margin-bottom: 1rem;
    color: var(--ast-global-color-0);
}

.faq-content {
    scroll-margin-top: 2rem;
}

.faq-item:target {
    background-color: #f0f8e8;
    box-shadow: 0 0 8px rgba(1, 112, 185, 0.2);
}

.highlight {
    background-color: rgba(1, 112, 185, 0.1);
    padding: 0.1em 0.3em;
    border-radius: 0.2em;
}

.profile-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 2px solid #ccc;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* About page header */
.about-author-header {
    align-items: stretch;
}

.about-author-image-col {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
}

.about-profile-image {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    border: 2px solid #ccc;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    object-fit: cover;
}

.about-author-rating {
    margin-top: 10px;
    width: 220px;
    max-width: 100%;
    height: auto;
    display: block;
}

.about-author-card {
    height: 100%;
    background: #ffffff;
    border: 1px solid #e6e6e6;
    border-radius: 12px;
    padding: 18px 20px;
    box-shadow: 0 6px 18px rgba(1, 112, 185, 0.08);
}

.about-author-title {
    margin-top: 0 !important;
}

.author-byline {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #555;
    margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
}

.about-story-content {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
    font-size: 1.05rem;
}

.about-story-content p {
    margin-bottom: 1.2rem;
    color: #333;
}

.about-story-content p.lead {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--ast-global-color-0);
    margin-bottom: 1.5rem;
}

/* Lead paragraph styling - using theme typography */
p.lead {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Oxygen-Sans', Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
    font-size: 1.2rem;
    line-height: 1.65em;
    font-weight: 400;
    color: var(--ast-global-color-3);
    margin-bottom: 1.5em;
}

.about-story-content p strong {
    color: #222;
}

.about-quote {
    margin: 2.5rem 0;
    padding: 2rem 2.5rem;
    background: linear-gradient(135deg, rgba(1, 112, 185, 0.06) 0%, rgba(1, 112, 185, 0.02) 100%);
    border-left: 4px solid var(--ast-global-color-0);
    border-radius: 0 8px 8px 0;
    font-style: italic;
}

.about-quote-text {
    margin: 0 !important;
    font-size: 1.15rem;
    line-height: 1.7;
    color: #2c3e50;
}

/* Start page: author box after intro on mobile, with spacing */
.start-author-box {
    margin-top: 0;
}

@media (max-width: 991px) {
    .start-author-box {
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .about-profile-image {
        width: 180px;
        height: 180px;
        margin-bottom: 16px;
    }

    .about-author-rating {
        width: 180px;
        margin-top: -6px;
    }

    .about-author-card {
        padding: 16px;
    }

    .start-author-box {
        margin-top: 2.5rem;
    }
}

.rating i {
    font-size: 24px;
    margin: 0 2px;
}

.rating {
    white-space: nowrap;
}

.quote-box {
    position: relative;
    background: #f9f9f9;
    padding: 20px 30px;
    margin: 20px 0;
    font-style: italic;
    border-left: 10px solid var(--ast-global-color-0);
    border-radius: 5px;
}

.quote-box::before {
    content: "\201C";
    font-size: 3rem;
    color: var(--ast-global-color-0);
    position: absolute;
    top: -10px;
    left: 10px;
}

.quote-box::after {
    content: "\201D";
    font-size: 3rem;
    color: var(--ast-global-color-0);
    position: absolute;
    bottom: -10px;
    right: 10px;
}

.image-container {
    text-align: center;
    margin: 0 auto;
    max-width: 90%;
}

.centered-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.image-caption {
    margin-top: 10px;
    font-size: 1.2rem;
    color: #555;
    text-align: center;
}

/* Page section layout (dt = daytrading) */
.dt-section {
    position: relative;
    padding: 20px 0;
}

.dt-container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
    display: flex;
    flex-wrap: wrap;
}

.dt-col {
    position: relative;
    padding: 0 15px;
}

.dt-col-100 {
    width: 100%;
    flex: 0 0 100%;
}

.dt-col-50 {
    width: 50%;
    flex: 0 0 50%;
}

@media (max-width: 768px) {
    .dt-col-50 {
        width: 100%;
        flex: 0 0 100%;
        margin-bottom: 20px;
    }
}

/* Divider */
.dt-divider {
    text-align: center;
    line-height: 1;
}

.dt-divider__line {
    display: inline-block;
    width: 100%;
    max-width: 100px;
    border-top: 2px solid #ddd;
    margin: 20px 0;
}

/* Spacer */
.dt-spacer {
    clear: both;
}

/* Start page – Books section */
.start-books-section {
    padding: 2.5rem 0 3rem;
}

.start-books-section .dt-container {
    display: block;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

.start-books-header {
    text-align: center;
    margin-bottom: 2.5rem;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.start-books-title {
    margin-top: 0 !important;
    margin-bottom: 1rem !important;
    font-size: 1.75rem;
    line-height: 1.3;
}

.start-books-intro {
    margin-bottom: 0;
    font-size: 1rem;
    line-height: 1.65;
    color: #4B4F58;
}

.start-books-grid {
    --start-book-gap: 2rem;
    row-gap: var(--start-book-gap);
}

.start-book-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem 1rem;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.2s ease;
}

.start-book-card:hover {
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

.start-book-cover-wrap {
    margin-bottom: 1.25rem;
    padding: 0 0.5rem;
}

.start-book-cover-wrap a {
    display: inline-block;
    line-height: 0;
}

.start-book-cover {
    max-width: 200px;
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.start-book-cover-wrap a:hover .start-book-cover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

.start-book-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.start-book-title {
    margin: 0 0 0.75rem !important;
    font-size: 1.25rem;
    line-height: 1.3;
    color: #1e73be;
}

.start-book-desc {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #4B4F58;
    margin-bottom: 1.25rem;
    max-width: 420px;
}

.start-book-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
    justify-content: center;
    margin-top: auto;
}

.start-book-actions .btn-cta {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    white-space: nowrap;
}

@media (max-width: 991px) {
    .start-books-section {
        padding: 2rem 0 2.5rem;
    }

    .start-books-header {
        margin-bottom: 2rem;
    }

    .start-books-grid {
        --start-book-gap: 1.75rem;
    }

    .start-book-card {
        padding: 1.5rem 1.25rem;
    }
}

@media (max-width: 576px) {
    .start-books-section {
        padding: 1.75rem 0 2rem;
    }

    .start-books-title {
        font-size: 1.5rem;
    }

    .start-books-intro {
        font-size: 0.9375rem;
    }

    .start-books-grid {
        --start-book-gap: 1.5rem;
    }

    .start-book-card {
        padding: 1.25rem 1rem;
    }

    .start-book-cover {
        max-width: 160px;
    }

    .start-book-title {
        font-size: 1.125rem !important;
    }

    .start-book-desc {
        font-size: 0.875rem;
    }

    .start-book-actions {
        flex-direction: column;
    }

    .start-book-actions .btn-cta {
        width: 100%;
        white-space: normal;
    }
}

/* Start page – FAQ section (SEO-optimized) */
.start-faq-section .dt-container {
    display: block;
    width: 100%;
}

.start-faq-intro {
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.6;
    color: #4B4F58;
}

.start-faq-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.start-faq-item {
    padding: 1rem 0;
    border-bottom: 1px solid #e8eaed;
}

.start-faq-item:last-of-type {
    border-bottom: none;
}

.start-faq-question {
    margin: 0 0 0.5rem !important;
    font-size: 1.1rem;
    line-height: 1.35;
    color: #1e73be;
}

.start-faq-answer {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #4B4F58;
}

.start-faq-answer p {
    margin: 0 0 0.5rem;
}

.start-faq-answer p:last-child {
    margin-bottom: 0;
}

.start-faq-answer ul {
    margin: 0.35rem 0 0.5rem;
    padding-left: 1.25rem;
}

.start-faq-answer li {
    margin-bottom: 0.25rem;
}

.start-faq-answer li:last-child {
    margin-bottom: 0;
}

.start-faq-outro {
    margin-top: 1.5rem;
    margin-bottom: 0;
    font-size: 0.9375rem;
    color: #4B4F58;
}

@media (max-width: 576px) {
    .start-faq-question {
        font-size: 1rem !important;
    }

    .start-faq-answer {
        font-size: 0.875rem;
    }
}

/* Start page – Was ist Daytrading: responsive video embed */
.start-video-wrap {
    position: relative;
    width: 100%;
    margin: 1rem 0 1.25rem;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
}

.start-video-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Start page – Advantages section (2 columns, cards + background) */
.start-advantages-section {
    background: linear-gradient(180deg, #f8f9fb 0%, #ffffff 100%);
    padding: 1.5rem 0 2rem;
}

.start-advantages-section .dt-container {
    display: block;
    width: 100%;
}

.start-advantages-intro {
    margin-bottom: 1.25rem;
    font-size: 1rem;
    line-height: 1.6;
    color: #4B4F58;
    text-align: left;
}

.start-advantages-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 1rem;
    row-gap: 1rem;
    align-items: stretch;
}

.start-advantage {
    padding: 1rem 1.1rem;
    background: #ffffff;
    border: 1px solid #e8eaed;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    text-align: left;
    display: flex;
    flex-direction: column;
}

.start-advantage-title {
    margin: 0 0 0.35rem !important;
    font-size: 1.05rem;
    line-height: 1.35;
    color: #1e73be;
    text-align: left;
}

.start-advantage p {
    margin: 0 0 0.25rem;
    font-size: 0.9rem;
    line-height: 1.55;
    color: #4B4F58;
    text-align: left;
}

.start-advantage p:last-child {
    margin-bottom: 0;
}

.start-advantage-bullets {
    margin: 0.25rem 0 0;
    padding-left: 1.1rem;
    font-size: 0.9rem;
    line-height: 1.55;
    color: #4B4F58;
    text-align: left;
}

.start-advantage-bullets li {
    margin-bottom: 0.2rem;
}

.start-advantage-bullets li:last-child {
    margin-bottom: 0;
}

@media (max-width: 991px) {
    .start-advantages-grid {
        grid-template-columns: 1fr;
        row-gap: 0.75rem;
        column-gap: 0;
    }

    .start-advantage {
        padding: 0.9rem 1rem;
    }
}

@media (max-width: 576px) {
    .start-advantages-section {
        padding: 1.25rem 0 1.5rem;
    }

    .start-advantages-intro {
        margin-bottom: 1rem;
        font-size: 0.9375rem;
    }

    .start-advantage {
        padding: 0.85rem 1rem;
    }

    .start-advantage-title {
        font-size: 1rem !important;
    }

    .start-advantage p,
    .start-advantage-bullets {
        font-size: 0.875rem;
    }
}

/* Screen reader text */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

/* Hero Section Styling - avoid 100vw to prevent horizontal scrollbar */
.hero-section {
    width: 100%;
    max-width: 100%;
    position: relative;
    padding: 40px 0 25px 0;
    background: linear-gradient(180deg, #f5f7fa 0%, #ffffff 100%);
    margin-bottom: 40px;
    box-sizing: border-box;
    background-color: #f5f7fa; /* Fallback for older browsers */
}

.hero-section .dt-container {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
    width: 100%;
}

.hero-title {
    font-family: 'Roboto', 'Roboto Slab', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 56px;
    font-size: 3.73333333333rem;
    font-weight: 800;
    line-height: 1.2em;
    color: #1e73be;
    text-align: center;
    margin: 0 0 20px 0 !important;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.hero-subtitle {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 24px;
    font-size: 1.6rem;
    font-weight: 300;
    line-height: 1.5em;
    color: #4B4F58;
    text-align: center;
    margin: 0 !important;
    letter-spacing: 0.03em;
    font-style: italic;
}

@media (max-width: 921px) {
    .hero-title {
        font-size: 36px;
        font-size: 2.25rem;
    }
    
    .hero-subtitle {
        font-size: 20px;
        font-size: 1.25rem;
    }
    
    .hero-section {
        padding: 30px 0 20px 0;
    }
}

@media (max-width: 544px) {
    .hero-title {
        font-size: 28px;
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 18px;
        font-size: 1.125rem;
    }
    
    .hero-section {
        padding: 25px 0 15px 0;
    }
}

/* Book Cover Image Styling */
.book-cover-image {
    max-width: 188px;
    height: auto;
}

/* Books Overview Section */
.books-overview {
    padding: 40px 0;
}

.books-overview .book-card {
    padding: 30px 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.books-overview .book-cover-wrapper {
    text-align: center;
    margin-bottom: 24px;
}

.books-overview .book-cover-wrapper img {
    max-width: 240px;
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.books-overview .book-cover-wrapper a:hover img {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.books-overview h3 {
    font-size: 26px;
    font-size: 1.73333333333rem;
    line-height: 1.3em;
    margin-bottom: 16px;
    color: #1e73be;
}

.books-overview p {
    font-size: 16px;
    font-size: 1.06666666667rem;
    line-height: 1.65em;
    margin-bottom: 1.2em;
    color: var(--ast-global-color-3);
}

.books-overview .book-actions {
    margin-top: auto;
    padding-top: 20px;
}

.books-overview .book-actions .btn {
    margin: 8px;
    min-width: 200px;
}

@media (max-width: 768px) {
    .books-overview .book-cover-wrapper img {
        max-width: 200px;
    }
    
    .books-overview .book-actions .btn {
        width: 100%;
        max-width: 300px;
        margin: 8px 0;
    }
}

/* Book Section Scroll Offset */
.book-section {
    scroll-margin-top: 20px;
}

/* Book detail section: same cover style as overview */
.book-section .book-cover-wrapper {
    text-align: center;
    margin-bottom: 0;
}

.book-section .book-cover-wrapper img {
    max-width: 240px;
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.book-section .book-cover-wrapper a:hover img {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.book-section .book-detail-toc {
    list-style: none;
    padding-left: 0;
    margin: 0.5em 0 1.5em 0;
}

.book-section .book-detail-toc li {
    margin-bottom: 0.35em;
    padding-left: 0;
}

.book-section .book-detail-toc li::before {
    content: "• ";
    color: var(--ast-global-color-0);
    font-weight: bold;
}

.book-section .book-detail-actions .btn {
    margin: 4px;
}

@media (min-width: 768px) {
    .book-section .book-detail-actions .btn + .btn {
        margin-left: 8px;
    }
}

/* Button Container Styling */
.button-container {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

/* Logout Button Styling */
.member-navbar .nav-item form {
    display: inline-block;
    margin: 0;
    padding: 0;
}

.btn-logout {
    color: rgba(255, 255, 255, 0.9) !important;
    text-decoration: none !important;
    border: none !important;
    background: none !important;
    padding: 0.5rem 1rem !important;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    display: inline-block;
    transition: color 0.2s ease;
}

.btn-logout:hover,
.btn-logout:focus {
    color: #ffffff !important;
    text-decoration: none !important;
    background: none !important;
    border: none !important;
}

/* Video Embed Container */
.video-embed-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
}

.video-embed-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-embed-container-tall {
    padding-bottom: 62.5%;
}

/* Reader landing (member login) */
.reader-landing {
    padding: 48px 0;
    background: radial-gradient(1200px 600px at 50% 0%, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0) 60%);
}

.reader-landing__wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 16px;
}

.reader-landing__section {
    margin-top: 32px;
}

.reader-landing__kicker {
    font-size: 18px;
    line-height: 1.55;
    color: rgba(0, 0, 0, 0.74);
    max-width: 880px;
}

.reader-landing__card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
}

.reader-landing__card--soft {
    background: rgba(248, 249, 250, 0.72);
}

.reader-landing__stack {
    display: grid;
    gap: 18px;
}

.reader-landing__grid {
    display: grid;
    gap: 18px;
}

@media (min-width: 768px) {
    .reader-landing__wrap {
        padding: 0 24px;
    }

    .reader-landing__card {
        padding: 28px;
    }

    .reader-landing__grid {
        grid-template-columns: 1fr 1fr;
        gap: 22px;
    }
}

.reader-landing__cta {
    display: grid;
    gap: 10px;
    justify-items: center;
    margin-top: 18px;
}

.reader-landing__cta .btn {
    width: 100%;
    max-width: 520px;
}

.reader-landing__cta-note {
    font-size: 15px;
    line-height: 1.45;
    color: rgba(0, 0, 0, 0.6);
    text-align: center;
    max-width: 680px;
}

@media (max-width: 544px) {
    .reader-landing__cta-note {
        font-size: 16px;
    }
}

.reader-landing__field {
    max-width: 520px;
    width: 100%;
}

.reader-landing__field input:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(22, 119, 190, 0.18);
    border-color: rgba(22, 119, 190, 0.55);
}

.reader-landing__field--center {
    margin-left: auto;
    margin-right: auto;
}

.reader-landing__login {
    text-align: center;
}

.reader-landing__login-intro {
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.05rem;
    line-height: 1.6;
    color: rgba(0, 0, 0, 0.8);
    padding: 20px 24px;
    background: rgba(1, 112, 185, 0.06);
    border: 1px solid rgba(1, 112, 185, 0.15);
    border-radius: 14px;
}

.reader-landing__login-form {
    display: grid;
    gap: 20px;
    justify-items: center;
    max-width: 400px;
    margin: 0 auto;
}

.reader-landing__login-form .reader-landing__field {
    width: 100%;
    max-width: 100%;
}

.reader-landing__login-form .reader-landing__field label {
    display: block;
    text-align: left;
}

.reader-landing__login-form .reader-landing__field input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    font-size: 1rem;
}

.reader-landing__login-actions {
    display: flex;
    justify-content: center;
    width: 100%;
}

.reader-landing__login-actions .btn {
    min-width: 200px;
}

.reader-landing__login-note {
    margin: 0;
    font-size: 0.95rem;
    color: rgba(0, 0, 0, 0.6);
}

.reader-landing__status {
    width: 100%;
    max-width: 520px;
    border-radius: 14px;
    padding: 12px 14px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.72);
}

.reader-landing__status--success {
    border-color: rgba(52, 168, 83, 0.35);
    background: rgba(52, 168, 83, 0.08);
}

.reader-landing__status--error {
    border-color: rgba(220, 53, 69, 0.35);
    background: rgba(220, 53, 69, 0.08);
}

.reader-landing__cover {
    text-align: center;
    margin-bottom: 20px;
}

.reader-landing__cover img {
    width: 200px;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
}

.reader-landing__media {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 16px;
    align-items: start;
}

@media (max-width: 420px) {
    .reader-landing__media {
        grid-template-columns: 100px 1fr;
    }
}

.reader-landing__media img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
}

.reader-landing__muted {
    color: rgba(0, 0, 0, 0.64);
}

.reader-landing__anchor-link {
    display: inline-block;
    margin-top: 10px;
    color: rgba(0, 0, 0, 0.72);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.reader-landing__anchor-link:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(22, 119, 190, 0.18);
    border-radius: 8px;
}

.reader-landing__divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.08);
    margin: 32px 0;
}

.reader-landing__list {
    margin: 0;
    padding-left: 18px;
}

.reader-landing__list li {
    margin: 6px 0;
}

.reader-landing__steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    align-items: start;
}

.reader-landing__step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.reader-landing__step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--ast-global-color-0);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    flex-shrink: 0;
    margin-bottom: 16px;
}

.reader-landing__step-content p {
    line-height: 1.6;
}

@media (max-width: 768px) {
    .reader-landing__steps {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .reader-landing__step-number {
        width: 50px;
        height: 50px;
        font-size: 24px;
        margin-bottom: 12px;
    }
}

@media (max-width: 544px) {
    .reader-landing__step-number {
        width: 45px;
        height: 45px;
        font-size: 22px;
    }
}

/* Newsletter modal: form full width and responsive */
#newsletter-form-container {
    width: 100%;
    max-width: 100%;
    padding: 0;
}

#newsletter-form-container iframe {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 420px;
    border: none;
}

@media (max-width: 768px) {
    #newsletter-form-container iframe {
        min-height: 380px;
    }
}

@media (max-width: 544px) {
    #newsletter-form-container iframe {
        min-height: 360px;
    }
}

#newsletter-form-container .formkit-form,
#newsletter-form-container [data-uid="d25c6cb27f"] {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
}

/* Scroll to Top Button - bottom right, visible after scroll */
.scroll-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    min-width: 50px;
    min-height: 50px;
    padding: 0;
    background-color: rgba(74, 79, 88, 0.8);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    line-height: 1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    aspect-ratio: 1 / 1;
}

.scroll-to-top-btn.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.scroll-to-top-btn:hover {
    background-color: rgba(74, 79, 88, 1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.scroll-to-top-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(74, 79, 88, 0.3);
}

@media (max-width: 768px) {
    .scroll-to-top-btn {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        min-width: 45px;
        min-height: 45px;
        font-size: 16px;
    }
}

/* Member Navbar - Dark Blue */
.member-navbar {
    background-color: #015a94 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.member-navbar .navbar-text {
    color: rgba(255, 255, 255, 0.9);
}

.member-navbar .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    transition: color 0.2s ease;
}

.member-navbar .nav-link:hover,
.member-navbar .nav-link:focus {
    color: #ffffff !important;
}

.member-navbar .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.3);
}

.member-navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Member Area Styling */
.member-area {
    padding: 40px 0 60px;
    background: linear-gradient(180deg, #f8f9fb 0%, #ffffff 100%);
}

.member-area__container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.member-area__welcome {
    margin-bottom: 40px;
}

.member-area__card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 18px;
    padding: 32px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
}

.member-area__title {
    margin-top: 0 !important;
    margin-bottom: 24px !important;
    font-size: 32px;
    color: #1e73be;
    text-align: center;
}

.member-area__card p {
    margin-bottom: 1.2em;
    line-height: 1.7;
    font-size: 16px;
}

.member-area__card p:last-child {
    margin-bottom: 0;
}

.member-area__signature {
    margin-top: 24px !important;
    margin-bottom: 16px !important;
    font-size: 18px;
}

.member-area__author {
    margin-top: 20px !important;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    font-style: italic;
    color: rgba(0, 0, 0, 0.7);
    text-align: center;
}

.member-area__navigation {
    margin-top: 40px;
}

.member-area__nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.member-area__nav-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: 28px 24px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.member-area__nav-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    text-decoration: none;
    color: inherit;
}

.member-area__nav-title {
    margin: 0 0 12px !important;
    font-size: 20px;
    color: #1e73be;
    font-weight: 700;
}

.member-area__nav-desc {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(0, 0, 0, 0.7);
}

.member-area__books {
    margin-top: 40px;
}

.member-area__book-recommendation {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin: 24px 0;
}

.member-area__book-image {
    text-align: center;
}

.member-area__book-image img {
    max-width: 200px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.member-area__book-image a:hover img {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

.member-area__book-link {
    text-align: center;
}

@media (max-width: 768px) {
    .member-area__books {
        margin-top: 30px;
    }

    .member-area__book-recommendation {
        gap: 16px;
        margin: 20px 0;
    }

    .member-area__book-image img {
        max-width: 160px;
    }
}

/* Improve other member pages styling */
.entry-content .row {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.entry-content h2 {
    margin-top: 40px !important;
    margin-bottom: 20px !important;
}

.entry-content h2:first-of-type {
    margin-top: 20px !important;
}

@media (max-width: 768px) {
    .member-area {
        padding: 30px 0 40px;
    }

    .member-area__container {
        padding: 0 16px;
    }

    .member-area__card {
        padding: 24px 20px;
    }

    .member-area__title {
        font-size: 26px !important;
    }

    .member-area__nav-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .member-area__nav-card {
        padding: 24px 20px;
    }
}

/* Member Content Pages Styling */
.member-content {
    padding: 40px 0 60px;
    background: linear-gradient(180deg, #f8f9fb 0%, #ffffff 100%);
}

.member-content__container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.member-content__intro {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 32px;
    color: rgba(0, 0, 0, 0.8);
}

.member-content__card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    margin-bottom: 32px;
}

.member-content__card p {
    margin-bottom: 1.2em;
    line-height: 1.7;
}

.member-content__card p:last-child {
    margin-bottom: 0;
}

.member-books-list {
    list-style: none;
    padding-left: 0;
    margin: 1em 0 1.5em 0;
}

.member-books-list li {
    margin-bottom: 1.5em;
    padding-bottom: 1.5em;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    line-height: 1.6;
}

.member-books-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.member-books-list li strong {
    display: block;
    margin-bottom: 0.35em;
    color: #1e73be;
}

.member-books-list li a {
    display: inline-block;
    margin-top: 0.5em;
}

/* Featured book section (user's book on top) */
.member-books-featured {
    margin: 2rem 0 3rem 0;
    padding: 2rem 0;
    border-top: 2px solid rgba(1, 112, 185, 0.2);
}

.member-books-featured__title {
    margin-top: 0 !important;
    margin-bottom: 1rem !important;
    font-size: 1.75rem;
    color: #1e73be;
}

.member-books-featured__card {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 2rem;
    margin-top: 1.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(1, 112, 185, 0.06) 0%, rgba(255, 255, 255, 0.95) 100%);
    border: 1px solid rgba(1, 112, 185, 0.15);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.member-books-featured__cover {
    flex-shrink: 0;
}

.member-books-featured__cover img {
    width: 130px;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.member-books-featured__cover a:hover img {
    transform: translateY(-4px);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.2);
}

.member-books-featured__body {
    flex: 1;
    min-width: 200px;
}

.member-books-featured__book-title {
    margin: 0 0 0.75rem !important;
    font-size: 1.5rem;
    color: #1e73be;
}

.member-books-featured__desc {
    margin-bottom: 1.25rem;
    line-height: 1.65;
    color: rgba(0, 0, 0, 0.8);
}

/* Book grid with cover images */
.member-books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.25rem;
    margin: 1.5rem 0 2.5rem 0;
}

.member-book-card {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.member-book-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.member-book-card__cover {
    width: 100%;
    height: 140px;
    min-height: 140px;
    background: #e8e8e8;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.member-book-card__cover img {
    width: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* When image fails to load, cover shows gray background only */

.member-book-card__body {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.member-book-card__body strong {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    line-height: 1.35;
    color: #1e73be;
}

.member-book-card__body p {
    margin: 0 0 0.75rem;
    font-size: 0.875rem;
    line-height: 1.5;
    color: rgba(0, 0, 0, 0.75);
    flex: 1;
}

.member-book-card__body p:empty {
    display: none;
}

.member-book-card__link {
    margin-top: auto;
    padding-top: 0.75rem;
}

.member-book-card__btn {
    display: inline-block;
    width: 100%;
    text-align: center;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    color: #0170b9;
    background: transparent;
    border: 2px solid #0170b9;
    border-radius: 6px;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.member-book-card__btn:hover {
    color: #fff;
    background-color: #0170b9;
    border-color: #0170b9;
}

.member-book-card__body a {
    font-size: 0.9rem;
    font-weight: 600;
}

@media (max-width: 768px) {
    .member-books-featured__card {
        flex-direction: column;
        padding: 1.5rem;
        gap: 1.5rem;
    }

    .member-books-featured__cover img {
        width: 110px;
    }

    .member-books-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 1rem;
    }

    .member-book-card__cover {
        height: 120px;
        min-height: 120px;
    }
}

.member-content h2 {
    margin-top: 48px !important;
    margin-bottom: 24px !important;
    padding-top: 24px;
    border-top: 2px solid rgba(0, 0, 0, 0.08);
}

.member-content h2:first-of-type {
    margin-top: 0 !important;
    padding-top: 0;
    border-top: none;
}

.member-content p {
    margin-bottom: 1.2em;
    line-height: 1.7;
}

.member-content ul {
    margin-bottom: 1.5em;
    padding-left: 1.5em;
}

.member-content li {
    margin-bottom: 0.5em;
}

@media (max-width: 768px) {
    .member-content {
        padding: 30px 0 40px;
    }

    .member-content__container {
        padding: 0 16px;
    }

    .member-content__intro {
        font-size: 16px;
        margin-bottom: 24px;
    }

    .member-content__card {
        padding: 24px 20px;
    }

    .member-content h2 {
        margin-top: 36px !important;
        font-size: 24px !important;
    }
}
