body {
    font-family: 'Manrope', 'Roboto', sans-serif;
}

.customFontColor {
    color: #165a72 !important;
}

h1,h2,h3,h4,h5,h6 {
    color: #165a72 !important;
    font-family: 'Sora', 'Manrope', sans-serif;
}

h2,h3,h4,h5,h6 {
    margin-bottom:1.3rem;
    margin-top:1.3rem;
}


.navbarCust{
    background: linear-gradient(118deg, #082f3d 0%, #0c5c6c 52%, #124a69 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 1rem 1rem 0 0;
    box-shadow: 0 10px 30px rgba(4, 25, 35, 0.28);
    z-index: 1030;
}

.navbarCust.is-stuck {
    border-radius: 0;
}

.navbarCust .nav-link {
    color: rgba(245, 249, 255, 0.88) !important;
}

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

.navbarCust .nav-link.active {
    color: #ffffff !important;
    font-weight: 700;
    position: relative;
}

.navbarCust .nav-link.active::after {
    content: "";
    position: absolute;
    left: 0.5rem;
    right: 0.5rem;
    bottom: 0.2rem;
    height: 2px;
    border-radius: 999px;
    background: #f5c74f;
}

.navbar-support-btn {
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #f9d44a, #f4b617);
    color: #3c2b00;
    font-weight: 800;
    font-size: 0.84rem;
    padding: 0.36rem 0.78rem;
    box-shadow: 0 7px 16px rgba(175, 129, 5, 0.35);
}

.navbar-support-btn:hover,
.navbar-support-btn:focus {
    color: #2a1f00;
    filter: brightness(1.02);
}

.navbar-bell-link {
    position: relative;
    font-size: 1.08rem;
    line-height: 1;
    padding-left: 0.7rem !important;
    padding-right: 0.7rem !important;
}

.navbar-bell-badge {
    position: absolute;
    top: 0.05rem;
    right: 0.02rem;
    min-width: 1.05rem;
    height: 1.05rem;
    border-radius: 999px;
    padding: 0 0.24rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f0b429;
    color: #3f2f00;
    font-size: 0.66rem;
    font-weight: 800;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.footerCust {
    background: linear-gradient(118deg, #082f3d 0%, #0c5c6c 52%, #124a69 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-top: 0;
    border-radius: 0 0 1rem 1rem;
    box-shadow: 0 -8px 24px rgba(4, 25, 35, 0.24);
}

.footer-modern {
    color: rgba(239, 246, 255, 0.95);
    padding: 0.95rem 1.1rem 0.82rem;
}

.footer-modern-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) auto auto;
    align-items: center;
    gap: 0.8rem 1.15rem;
}

.footer-brand-block {
    min-width: 0;
}

.footer-brand-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.footer-brand-logo {
    display: block;
    height: 42px;
    width: auto;
}

.footer-tagline {
    margin-top: 0.22rem;
    color: rgba(215, 232, 246, 0.9);
    font-size: 0.86rem;
    letter-spacing: 0.01em;
}

.footer-links {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.44rem;
}

.footer-link {
    color: #f5f9ff;
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 700;
    border: 1px solid rgba(227, 237, 247, 0.22);
    border-radius: 999px;
    background: rgba(10, 56, 76, 0.34);
    padding: 0.22rem 0.64rem;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.footer-link:hover,
.footer-link:focus {
    color: #ffffff;
    background: rgba(17, 85, 116, 0.46);
    border-color: rgba(243, 248, 253, 0.42);
}

.footer-social {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.46rem;
}

.footer-social-btn {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid rgba(236, 243, 251, 0.26);
    background: rgba(9, 43, 59, 0.42);
    color: #eaf4ff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.14s ease, filter 0.14s ease, border-color 0.14s ease;
}

.footer-social-btn:hover,
.footer-social-btn:focus {
    transform: translateY(-1px);
    filter: brightness(1.08);
    border-color: rgba(255, 255, 255, 0.52);
    color: #ffffff;
}

.footer-social-youtube i {
    color: #ff5f5f;
}

.footer-social-linkedin i {
    color: #7fb9ff;
}

.footer-social-github i {
    color: #f0f6ff;
}

.footer-divider {
    margin: 0.72rem 0 0.6rem;
    border-top: 1px solid rgba(210, 227, 240, 0.24);
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem 0.7rem;
}

.footer-copy {
    color: rgba(214, 231, 246, 0.9);
    font-size: 0.82rem;
}

.footer-copy a {
    color: #f2f8ff;
    text-decoration: underline;
    text-underline-offset: 0.14em;
}

.footer-copy a:hover,
.footer-copy a:focus {
    color: #ffffff;
}

.footer-ping {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #f6d4d4;
    font-size: 0.86rem;
    font-weight: 600;
}

.footer-ping i {
    color: #ff6f6f;
}

 .iframe-padding-wrapper {
        padding: 10%; /* Padding around the iframe */
    }

.responsive-iframe-container {    position: relative;
    overflow: hidden;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    width: 100%;
}

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

.image-padding-container {
    padding: 10%; /* Adjust the padding as needed */
}

.note-highlight{
    color: #32516b;
    background-color: #dfebf5;
    border-color: #d3e3f1;
    padding: 0.75rem 1.25rem;
    position: relative;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.alignleft{
    display: inline;
    float: left;
    margin-right: 1.5em;
}
.entry .alignleft.rounded.float-left {
    max-width: 40%;
    height: auto;
    vertical-align: middle;
    border-style: none;
    margin-bottom: 2rem;
    margin-left: 2rem;
    margin-right: 3rem;
}

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

.container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl {
    width: 100%;
    margin-right: auto;
    margin-left: auto
}

@media (min-width: 576px) {
    .container, .container-sm {
        max-width: 540px
    }
}

@media (min-width: 768px) {
    .container, .container-md, .container-sm {
        max-width: 720px
    }
}

@media (min-width: 992px) {
    .container, .container-md, .container-sm {
        max-width: 1060px
    }
    .navbar-nav .nav-item {
        margin-right: 2px; /* Further reduce spacing */
    }
    .navbar-nav .nav-link {
        font-size: 18px; /* Further reduce font size */
    }
    .navbar .custom-hide-on-large {
        display: none;
    }
}

@media (min-width: 1200px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: 1220px
    }
    .navbar-nav .nav-item {
        margin-right: 3px; /* Further reduce spacing */
    }
    .navbar-nav .nav-link {
        font-size: 20px; /* Further reduce font size */
    }
    .navbar .custom-hide-on-large {
        display: inline-block;
    }
}

.no-list-style {
    list-style-type: none; /* Removes the bullet points */
}
.footer-text-container {
    text-align: center;
    /* Additional styling if needed */
}

.content-sidebar {
    position: sticky;
    top: 4.5rem;
}

.sidebar-sticky {
    max-height: calc(100vh - 5rem);
    overflow-y: auto;
    padding-right: 0.15rem;
}

.sidebar-card {
    border: 1px solid #dce4ee;
    border-radius: 0.82rem;
    background: #f6f8fb;
}

.sidebar-card .card-body {
    padding: 0.9rem;
}

.sidebar-intro-card {
    background:
        radial-gradient(circle at 8% 12%, rgba(47, 102, 240, 0.14), rgba(47, 102, 240, 0)),
        linear-gradient(145deg, #f8fbff 0%, #f4f8fd 100%);
}

.sidebar-intro-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    color: #1f435e;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 0.45rem;
}

.sidebar-intro-text {
    color: #556982;
    font-size: 0.9rem;
    line-height: 1.45;
}

.topic-pill {
    display: inline-block;
    padding: 0.24rem 0.62rem;
    border: 1px solid #d9e2ec;
    border-radius: 999px;
    color: #3b4f62;
    text-decoration: none;
    font-size: 0.77rem;
    font-weight: 600;
    line-height: 1.25;
    background: #ffffff;
}

.topic-pill:hover {
    background: #eef4fb;
    color: #23435f;
    border-color: #c6d6e7;
}

.topic-pill.active {
    background: #0c5c6c;
    border-color: #0c5c6c;
    color: #ffffff;
}

.sidebar-support-card {
    background: linear-gradient(155deg, #fffdf7 0%, #fff4cb 100%);
    border-color: #f0df9f;
}

.sidebar-support-title {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    color: #6d5300;
    font-size: 0.83rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.sidebar-support-text {
    margin: 0.56rem 0 0.7rem;
    color: #665016;
    font-size: 0.9rem;
    line-height: 1.42;
}

.sidebar-support-btn {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.42rem;
    border-radius: 999px;
    padding: 0.47rem 0.9rem;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.86rem;
    background: linear-gradient(132deg, #f7cf4d, #f2b616);
    color: #3e2f00;
    box-shadow: 0 8px 18px rgba(189, 143, 9, 0.3);
}

.sidebar-support-btn:hover {
    color: #2c2000;
    filter: brightness(1.02);
}

.post-card {
    border-radius: 0.65rem;
}

.post-card-paid {
    border: 4px solid #c08f00;
    box-shadow: 0 0 0 2px rgba(192, 143, 0, 0.28);
}

.post-card-paid-meta {
    color: #8a6b00;
    font-weight: 600;
}

.post-card-paid-meta .fa-lock {
    margin-right: 0.2rem;
}

.post-card-locked-link {
    cursor: not-allowed;
    opacity: 0.92;
}

.post-card-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.post-card-summary {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.feed-shell {
    --feed-accent: #0c5c6c;
    --feed-accent-2: #2d6ee8;
    --feed-muted: #5c6e83;
}

.feed-page-header {
    border: 1px solid #dce5f0;
    border-radius: 0.92rem;
    background:
        radial-gradient(circle at 92% 8%, rgba(47, 102, 240, 0.14), rgba(47, 102, 240, 0)),
        radial-gradient(circle at 6% 82%, rgba(235, 95, 7, 0.1), rgba(235, 95, 7, 0)),
        #f8fbff;
    padding: 0.85rem 1rem;
}

.feed-section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.34rem;
    color: #2c4b61;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.feed-section-title {
    margin: 0.28rem 0 0.34rem;
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #0f4158 !important;
}

.feed-section-subtitle {
    color: var(--feed-muted);
    font-size: 0.96rem;
}

.feed-hero-card {
    position: relative;
    border: 1px solid #d9e3ef;
    border-radius: 0.96rem;
    overflow: hidden;
    background: #102538;
    min-height: 310px;
}

.feed-hero-media {
    position: absolute;
    inset: 0;
}

.feed-hero-media-link {
    display: block;
    width: 100%;
    height: 100%;
}

.feed-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feed-hero-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #123c53 0%, #0d2539 70%);
    color: rgba(255, 255, 255, 0.85);
    font-size: 2rem;
}

.feed-hero-scrim {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(7, 17, 28, 0.1) 0%, rgba(7, 17, 28, 0.74) 70%, rgba(7, 17, 28, 0.94) 100%);
}

.feed-hero-content {
    position: relative;
    z-index: 2;
    min-height: 310px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1rem 1.05rem;
}

.feed-hero-kicker {
    color: #8cd6ff;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 0.32rem;
}

.feed-hero-title {
    margin: 0;
    color: #f6f9fd !important;
    font-size: clamp(1.35rem, 2.6vw, 2rem);
    font-weight: 800;
    line-height: 1.14;
    letter-spacing: -0.01em;
}

.feed-hero-summary {
    margin: 0.62rem 0 0;
    color: rgba(231, 238, 247, 0.92);
    font-size: 0.95rem;
    line-height: 1.45;
    max-width: 78ch;
}

.feed-hero-meta {
    margin-top: 0.72rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.42rem 0.9rem;
    color: rgba(219, 230, 243, 0.9);
    font-size: 0.82rem;
}

.feed-hero-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.32rem;
}

.feed-hero-meta i {
    color: #9de2ff;
}

.feed-hero-paid {
    padding: 0.08rem 0.44rem;
    border-radius: 999px;
    background: rgba(250, 195, 55, 0.2);
    border: 1px solid rgba(250, 195, 55, 0.42);
}

.feed-hero-actions {
    margin-top: 0.76rem;
}

.feed-hero-link {
    display: inline-flex;
    align-items: center;
    gap: 0.34rem;
    text-decoration: none;
    border-radius: 999px;
    padding: 0.36rem 0.78rem;
    color: #ffffff;
    font-weight: 700;
    background: linear-gradient(130deg, #2572f8, #194ba7);
    box-shadow: 0 8px 18px rgba(23, 76, 170, 0.35);
}

.feed-hero-link:hover {
    color: #ffffff;
    filter: brightness(1.03);
}

.feed-hero-locked {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-radius: 999px;
    padding: 0.27rem 0.66rem;
    color: #6d5300;
    font-size: 0.8rem;
    font-weight: 700;
    background: #f8e8b5;
    border: 1px solid #f0d281;
}

.feed-controls-card {
    border: 1px solid #dce6f1;
    border-radius: 0.92rem;
    background: #f6f9fc;
    padding: 0.82rem 0.9rem;
}

.feed-control-label {
    color: #38506a;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    margin-bottom: 0.28rem;
    display: inline-block;
}

.feed-input-wrap {
    position: relative;
}

.feed-input-wrap i {
    position: absolute;
    left: 0.73rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6d7f95;
    font-size: 0.86rem;
}

.feed-input {
    border: 1px solid #cfdbe8;
    border-radius: 0.7rem;
    background: #ffffff;
    padding-left: 2.05rem;
    min-height: 42px;
    color: #233346;
}

.feed-input:focus,
.feed-select:focus {
    border-color: #8ea9cf;
    box-shadow: 0 0 0 0.2rem rgba(47, 102, 240, 0.12);
}

.feed-select {
    border: 1px solid #cfdbe8;
    border-radius: 0.7rem;
    background-color: #ffffff;
    min-height: 42px;
}

.feed-apply-btn {
    border: 0;
    border-radius: 0.72rem;
    min-height: 42px;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(132deg, #0f5d74, #0d4665);
}

.feed-apply-btn:hover {
    color: #ffffff;
    filter: brightness(1.03);
}

.feed-topic-row {
    margin-top: 0.74rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.42rem;
}

.feed-topic-chip {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid #d6e2ee;
    background: #ffffff;
    color: #3b5066;
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.2rem 0.65rem;
}

.feed-topic-chip:hover {
    color: #24415a;
    background: #edf4fb;
    border-color: #c2d6ea;
}

.feed-topic-chip.active {
    color: #ffffff;
    background: #0c5c6c;
    border-color: #0c5c6c;
}

.post-card-modern {
    position: relative;
    overflow: hidden;
    border: 1px solid #dbe5f1;
    border-radius: 0.9rem;
    background: #ffffff;
}

.post-card-modern.is-paid {
    border-color: #e3cb86;
    box-shadow: 0 0 0 1px rgba(195, 147, 19, 0.18);
}

.post-card-modern-media {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #dce6f3;
}

.post-card-modern-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.28s ease;
}

.post-card-modern:hover .post-card-modern-img {
    transform: scale(1.03);
}

.post-card-modern-fallback {
    align-items: center;
    justify-content: center;
    display: flex;
    color: #40617f;
    font-size: 1.45rem;
    background: linear-gradient(145deg, #dbe7f5, #eef4fb);
}

.post-card-modern-badge {
    position: absolute;
    top: 0.7rem;
    right: 0.7rem;
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    border-radius: 999px;
    border: 1px solid #e5c66f;
    background: #ffe8ad;
    color: #6f4d00;
    font-size: 0.71rem;
    font-weight: 800;
    padding: 0.12rem 0.5rem;
}

.post-card-modern .card-body {
    padding: 0.82rem 0.85rem 0.88rem;
}

.post-card-modern-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.36rem 0.78rem;
    color: #63768c;
    font-size: 0.78rem;
    margin-bottom: 0.45rem;
}

.post-card-modern-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
}

.post-card-modern-title {
    margin: 0 0 0.45rem;
    font-size: 1.06rem;
    line-height: 1.28;
}

.post-card-modern-title a {
    color: #183247;
}

.post-card-modern-title a:hover {
    color: #0c5c6c;
}

.post-card-modern-summary {
    margin: 0 0 0.78rem;
    color: #53667d;
    font-size: 0.91rem;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-card-modern-link {
    text-decoration: none;
    color: #0f5f78;
    font-weight: 700;
    font-size: 0.86rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.post-card-modern-link:hover {
    color: #0a4d62;
}

.post-card-modern-locked-text {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid #e5c66f;
    background: #fff1ca;
    color: #7a5a00;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.18rem 0.56rem;
}

.library-shell {
    --library-card-border: #dce5f0;
    --library-text: #1f3448;
}

.library-hero-card {
    border: 1px solid #dce4ef;
    border-radius: 0.95rem;
    overflow: hidden;
    background:
        radial-gradient(circle at 90% 10%, rgba(241, 183, 17, 0.14), rgba(241, 183, 17, 0)),
        radial-gradient(circle at 14% 88%, rgba(52, 105, 241, 0.12), rgba(52, 105, 241, 0)),
        #f7fbff;
}

.library-hero-body {
    display: grid;
    grid-template-columns: 148px minmax(0, 1fr);
    gap: 0.95rem;
    padding: 0.95rem;
    align-items: start;
}

.library-hero-cover-link {
    display: inline-flex;
    width: 148px;
    height: 212px;
    border-radius: 0.66rem;
    overflow: hidden;
    background: #dbe7f4;
    box-shadow: 0 10px 24px rgba(28, 54, 79, 0.2);
}

.library-hero-cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.library-hero-cover-fallback {
    width: 100%;
    height: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #46627c;
    font-size: 1.6rem;
}

.library-hero-kicker {
    margin: 0 0 0.32rem;
    color: #285470;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.library-hero-title {
    margin: 0;
    font-size: clamp(1.28rem, 2.3vw, 1.82rem);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -0.01em;
}

.library-hero-title a {
    color: #173c56;
}

.library-hero-title a:hover {
    color: #0d5c77;
}

.library-hero-authors {
    margin-top: 0.35rem;
    color: #4d637a;
    font-size: 1rem;
}

.library-hero-authors a {
    color: inherit;
}

.library-hero-summary {
    margin: 0.58rem 0 0;
    color: #395067;
    font-size: 1.03rem;
    line-height: 1.44;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.library-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.9rem;
}

.library-book-card {
    border: 1px solid var(--library-card-border);
    border-radius: 0.9rem;
    background: #f8fbff;
    overflow: hidden;
}

.library-book-body {
    padding: 0.86rem;
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    align-items: start;
    gap: 0.86rem;
}

.library-cover-link {
    display: inline-flex;
    width: 112px;
    height: 162px;
    border-radius: 0.55rem;
    overflow: hidden;
    background: #d8e3f2;
    box-shadow: 0 8px 18px rgba(30, 52, 76, 0.14);
}

.library-cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.library-cover-fallback {
    width: 100%;
    height: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.32rem;
    color: #46627c;
}

.library-book-meta {
    min-width: 0;
}

.library-book-title {
    margin: 0;
    font-size: 1.08rem;
    font-weight: 800;
    line-height: 1.25;
}

.library-book-title a {
    color: var(--library-text);
}

.library-book-title a:hover {
    color: #0e5874;
}

.library-book-authors {
    margin-top: 0.24rem;
    color: #4f647b;
    font-size: 0.93rem;
    line-height: 1.35;
}

.library-book-authors a {
    color: inherit;
}

.library-book-authors a:hover {
    color: #2a4966;
}

.library-book-rating-row {
    margin-top: 0.4rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem 0.64rem;
}

.library-book-stars {
    color: #d7b55f;
    font-size: 1.02rem;
    letter-spacing: 0.02rem;
}

.library-book-stars .is-filled {
    color: #d4af37;
}

.library-book-rating-value {
    color: #3f5267;
    font-size: 0.92rem;
    font-weight: 700;
}

.library-book-read-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    border-radius: 999px;
    border: 1px solid #b8e0c9;
    background: #e9f7ee;
    color: #1f7b4e;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.14rem 0.52rem;
}

.library-book-summary {
    margin: 0.52rem 0 0;
    color: #394d63;
    font-size: 1rem;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.library-book-link {
    margin-top: 0.52rem;
    display: inline-flex;
    align-items: center;
    gap: 0.32rem;
    color: #0f5f78;
    font-size: 0.85rem;
    font-weight: 700;
}

.library-book-link:hover {
    color: #0a4d62;
}

.feed-pagination .page-link {
    border-radius: 0.56rem;
    border-color: #d3deea;
    color: #2f4a64;
}

.feed-pagination .page-link:hover {
    color: #17334b;
    background: #edf4fb;
}

.book-list-card {
    overflow: hidden;
}

.book-list-cover-image,
.book-list-cover-fallback {
    width: 100%;
    min-height: 210px;
    max-height: 210px;
    object-fit: cover;
}

.book-list-cover-image {
    border-top-left-radius: 0.375rem;
    border-top-right-radius: 0.375rem;
}

.book-list-summary {
    line-height: 1.45;
}

.book-list-inline-read {
    color: #165a72;
    font-weight: 500;
}

.book-list-inline-read:hover {
    text-decoration: underline;
}

.book-list-read-meta {
    color: #198754;
    font-weight: 600;
}

.book-list-read-meta i {
    color: #198754;
    margin-right: 0.2rem;
}

.book-list-rating {
    color: #6c757d;
}

.book-list-rating-label {
    margin-right: 0.2rem;
    font-weight: 500;
}

.book-list-star {
    color: #c9ad59;
    font-size: 0.95rem;
    letter-spacing: 0.01rem;
}

.book-list-star.is-filled {
    color: #d4af37;
}

.book-list-rating-value {
    margin-left: 0.25rem;
    color: #4f5a67;
    font-weight: 600;
}

.book-detail-description {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.book-detail-separator {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.book-detail-title {
    font-size: 1.9rem;
    font-weight: 800;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.book-detail-authors {
    font-size: 1.3rem;
}

.book-detail-read-meta {
    font-size: 1rem;
    margin-top: 0.3rem;
}

.book-detail-rating {
    margin-top: 1rem;
}

.book-detail-rating .book-list-star {
    font-size: 1.3rem;
}

.contact-card {
    border: 1px solid #dbe3ec;
    border-radius: 1rem;
    overflow: hidden;
}

.contact-email-line a {
    font-size: 1.08rem;
    font-weight: 700;
    text-decoration: none;
}

.contact-email-line a:hover {
    text-decoration: underline;
}

.contact-visual {
    position: relative;
    min-height: 260px;
    background: linear-gradient(140deg, #9eb4c8 0%, #86a0b8 48%, #b7ab8f 100%);
}

.contact-visual::before,
.contact-visual::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
}

.contact-visual::before {
    width: 180px;
    height: 180px;
    right: -30px;
    top: -30px;
    background: rgba(12, 92, 108, 0.22);
}

.contact-visual::after {
    width: 140px;
    height: 140px;
    left: -25px;
    bottom: -25px;
    background: rgba(217, 164, 4, 0.22);
}

.contact-icon-badge {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: #0c5c6c;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 8px 20px rgba(12, 92, 108, 0.22);
    z-index: 1;
}

.contact-logo-hero {
    width: min(290px, 85%);
    height: auto;
    z-index: 1;
    filter: drop-shadow(0 12px 26px rgba(9, 33, 51, 0.28)) contrast(1.12);
}

.about-page-wrap {
    max-width: 1020px;
}

.about-hero {
    border: 0;
    border-radius: 1rem;
    overflow: hidden;
    background: linear-gradient(140deg, #f8fbff 0%, #f3f9ff 56%, #fff7e6 100%);
}

.about-hero-body {
    position: relative;
}

.about-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: #2f4f63;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.55rem;
}

.about-main-title {
    color: #0f4158;
    font-size: clamp(2rem, 3.1vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.015em;
    line-height: 1.07;
    margin-top: 0.4rem;
    margin-bottom: 1rem;
}

.about-main-lead {
    font-size: 1.07rem;
    line-height: 1.72;
    color: #1f2a33;
    max-width: 60ch;
}

.about-quick-list {
    margin-top: 1rem;
}

.about-quick-list li {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 0.55rem;
    font-size: 0.99rem;
    line-height: 1.45;
    color: #2f3b47;
}

.about-quick-list li:last-child {
    margin-bottom: 0;
}

.about-quick-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: #0c5c6c;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.83rem;
    flex: 0 0 auto;
}

.about-hero-visual {
    min-height: 330px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: radial-gradient(circle at 22% 24%, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0)),
                linear-gradient(160deg, #dceaf7 0%, #bdd2e6 48%, #d6c7a8 100%);
}

.about-orbit {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.about-orbit-a {
    width: 210px;
    height: 210px;
    top: -75px;
    right: -55px;
    background: rgba(255, 255, 255, 0.33);
}

.about-orbit-b {
    width: 175px;
    height: 175px;
    bottom: -58px;
    left: -40px;
    background: rgba(12, 92, 108, 0.16);
}

.about-portrait {
    width: min(330px, 82%);
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center 18%;
    border-radius: 50%;
    border: 7px solid #36586f;
    box-shadow: 0 14px 30px rgba(24, 52, 77, 0.25);
    z-index: 1;
}

.about-story,
.about-why,
.about-beyond {
    border: 1px solid #dfe6ee;
    border-radius: 0.95rem;
    background: #ffffff;
}

.about-story-text {
    font-size: 1.09rem;
    line-height: 1.78;
    color: #23313e;
    max-width: 76ch;
}

.about-reason {
    border: 1px solid #dbe4ee;
    border-radius: 0.8rem;
    background: #f8fbff;
    padding: 0.95rem 1rem;
    height: 100%;
}

.about-reason-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #0c5c6c;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.about-why .h4,
.about-beyond .h4 {
    letter-spacing: 0.01em;
}

.about-why p,
.about-beyond p,
.about-reason p {
    line-height: 1.68;
    color: #293844;
}

.about-reason h3 {
    font-size: 1.02rem;
    font-weight: 700;
    letter-spacing: 0.005em;
}

.about-reason p {
    font-size: 0.96rem;
    line-height: 1.62;
}

@media (max-width: 991.98px) {
    .about-hero-visual {
        min-height: 290px;
    }

    .about-portrait {
        width: min(290px, 78%);
    }
}

.post-detail-hero {
    width: 100%;
    max-width: 100%;
    border-radius: 0.7rem;
    overflow: hidden;
    background: #eef3f7;
}

.post-detail-hero-img {
    width: 100%;
    height: clamp(380px, calc(30vw + 130px), 450px);
    object-fit: cover;
    display: block;
}

.post-detail-title {
    color: #165a72 !important;
    font-size: clamp(2rem, 3vw, 2.9rem);
    line-height: 1.1;
    font-weight: 700;
    text-align: left;
}

.post-inline-toc {
    border: 1px solid #dbe2e8;
    border-radius: 0.7rem;
    background: #f7f9fb;
    padding: 0.9rem 1rem;
}

.post-inline-toc-list {
    list-style: disc;
    margin: 0;
    padding-left: 1.3rem;
}

.post-inline-toc-item {
    margin-bottom: 0.35rem;
    line-height: 1.38;
}

.post-inline-toc-item::marker {
    color: #5a96c9;
}

.post-inline-toc-item a {
    color: #377bb4;
    text-decoration: none;
    font-size: 0.97rem;
}

.post-inline-toc-item a:hover {
    color: #26679f;
    text-decoration: underline;
}

.post-inline-toc-level-3 {
    margin-left: 1rem;
}

.post-inline-toc-level-3 a {
    font-size: 0.93rem;
}

.content-article {
    overflow-wrap: anywhere;
}

main .content-article {
    margin-left: 2rem;
    margin-right: 2rem;
}

.content-article img,
.content-article video,
.content-article canvas,
.content-article svg {
    max-width: 100% !important;
    height: auto !important;
    display: block;
}

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

.content-article pre {
    max-width: 100%;
    overflow-x: auto;
    padding-top: 2.4em !important;
}

.content-article code[class*="language-"],
.content-article pre[class*="language-"] {
    font-size: 0.9em;
}

div.code-toolbar > .toolbar {
    top: .5em;
    right: .5em;
    opacity: 1;
}

div.code-toolbar > .toolbar > .toolbar-item {
    margin-left: .4em;
}

/* Copy button: icon instead of text, tooltip on hover */
div.code-toolbar > .toolbar > .toolbar-item:last-child > button {
    font-size: 0;
    line-height: 1;
    padding: .35em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
}

div.code-toolbar > .toolbar > .toolbar-item:last-child > button::before {
    content: '';
    display: block;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ccc' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='9' width='13' height='13' rx='2' ry='2'/%3E%3Cpath d='M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

div.code-toolbar > .toolbar > .toolbar-item:last-child > button:hover::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='9' width='13' height='13' rx='2' ry='2'/%3E%3Cpath d='M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1'/%3E%3C/svg%3E");
}

div.code-toolbar > .toolbar > .toolbar-item:last-child > button::after {
    content: 'Copy';
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    font-size: .75rem;
    color: #fff;
    background: #333;
    padding: .2em .5em;
    border-radius: .25em;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity .15s ease;
}

div.code-toolbar > .toolbar > .toolbar-item:last-child > button:hover::after {
    opacity: 1;
}

.content-article table {
    display: block;
    width: 100%;
    overflow-x: auto;
}

.toc-card {
    border: 1px solid #eceff2;
    box-shadow: none;
}

.toc-card .card-body {
    padding: 1rem 1.1rem;
}

.toc-title {
    color: #8a8f95;
    font-size: 1rem;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.toc-list {
    list-style: disc;
    margin: 0;
    padding-left: 1.25rem;
}

.toc-item {
    margin-bottom: 0.55rem;
    line-height: 1.4;
}

.toc-item::marker {
    color: #5a96c9;
}

.toc-item a {
    text-decoration: none;
    color: #5a96c9;
    font-size: 0.95rem;
    font-weight: 500;
}

.toc-item a:hover {
    text-decoration: underline;
    color: #4b86b9;
}

.toc-level-3 {
    margin-left: 0.55rem;
}

.toc-level-3 a {
    font-size: 0.98rem;
}

.auth-login-wrapper {
    width: 100%;
    margin: 1.1rem auto;
    padding: 0.8rem 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    background: transparent;
}

.auth-login-card-snippet {
    width: 100%;
    max-width: 560px;
    padding: 1.5rem 1.2rem 1.4rem;
    border-radius: 14px;
    background: #efefef;
    box-shadow: 0 10px 28px rgba(34, 33, 44, 0.22);
}

.auth-login-heading {
    margin-top: 0;
    margin-bottom: 1.35rem;
    color: #0c5c6c !important;
    font-size: 2.35rem;
    font-weight: 700;
}

.auth-input-field {
    border: 1px solid #c9ced5;
    border-radius: 0.35rem;
    padding: 0 0.15rem;
    background: #f8f8f8;
}

.auth-input-field input {
    width: 100%;
    border: none;
    outline: none;
    box-shadow: none;
    padding: 0.7rem 0.55rem 0.7rem 0.25rem;
    font-size: 1.08rem;
    color: #3f4c5f;
    background: transparent;
}

.auth-input-field input::placeholder {
    color: #7b8698;
}

.auth-input-field span {
    color: #0c5c6c;
    font-size: 1.02rem;
}

.auth-eye-btn {
    border: 0;
    background: transparent;
    color: #7f8c9f;
    padding: 0.4rem 0.5rem;
    line-height: 1;
}

.auth-meta-line {
    margin-bottom: 0.8rem;
}

.text-light-white {
    color: #576374;
    font-size: 1.02rem;
}

.auth-forgot-link {
    color: #2b6f88;
    font-size: 1.02rem;
    font-weight: 600;
    text-decoration: none;
}

.auth-forgot-link:hover {
    color: #1f5f76;
    text-decoration: underline;
}

.auth-login-btn {
    width: 100%;
    border: none;
    border-radius: 999px;
    font-size: 1.3rem;
    color: #ffffff;
    background: linear-gradient(90deg, #0f6b78 0%, #0c5c6c 100%);
    padding: 0.55rem 0.8rem;
}

.auth-login-btn:hover {
    color: #ffffff;
    background: linear-gradient(90deg, #0c5863 0%, #0a4d57 100%);
}

.auth-signout-actions {
    display: flex;
    justify-content: center;
}

.auth-signout-btn {
    width: auto;
    min-width: 180px;
}

.auth-signup-text {
    text-align: center;
    font-size: 1.08rem;
}

.auth-signup-link {
    color: #2b6f88;
    font-weight: 500;
    text-decoration: none;
}

.auth-signup-link:hover {
    color: #1f5f76;
    text-decoration: underline;
}

.auth-divider-line-wrap {
    margin-top: 2.9rem;
    margin-bottom: 1.9rem;
}

.auth-connect-text {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -16px;
    background: #efefef;
    color: #1d2430;
    padding: 0 0.45rem;
    font-size: 1.06rem;
}

.auth-social-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.64rem;
    width: 100%;
}

.auth-social-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    border: 0;
    background: transparent;
}

.auth-social-provider-btn {
    border: 1px solid #cfd7e1;
    border-radius: 0.48rem;
    background: #ffffff;
    min-height: 60px;
    padding: 0.6rem 0.85rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.58rem;
    color: #1f2c3a;
    font-size: 1.08rem;
    font-weight: 700;
    box-shadow: none;
    transition: border-color 0.12s ease, background-color 0.12s ease;
}

.auth-social-provider-btn:hover,
.auth-social-provider-btn:focus {
    color: #172432;
    border-color: #b9c6d5;
    background: #f9fbfd;
}

.auth-social-provider-icon {
    width: auto;
    height: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.auth-social-provider-icon i {
    font-size: 1.85rem;
}

.auth-social-provider-label {
    line-height: 1;
    white-space: nowrap;
    letter-spacing: 0.01em;
}

.auth-social-provider-google {
    border-color: #d7dfea;
}

.auth-social-provider-github {
    border-color: #ccd4e0;
}

.auth-social-btn i {
    font-size: 1.7rem;
}

.auth-social-facebook {
    color: #3c5a99;
}

.auth-social-google {
    color: #ea4335;
}

.auth-social-github {
    color: #111111;
}

.auth-social-linkedin {
    color: #0a66c2;
}

.auth-social-fallback {
    color: #4f5f78;
    font-weight: 700;
}

.auth-social-empty {
    text-align: center;
    color: #6a7587;
    font-size: 1rem;
}

.auth-field-label {
    color: #2a394b;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.auth-inline-note {
    border: 1px solid #d8e3f0;
    border-radius: 0.6rem;
    background: #f4f8fd;
    color: #4c6077;
    font-size: 0.91rem;
    line-height: 1.42;
    padding: 0.62rem 0.76rem;
}

.auth-manage-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.98rem;
}

.auth-email-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.auth-email-item {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    border: 1px solid #d4dbe5;
    border-radius: 0.6rem;
    background: #f8fafd;
    padding: 0.6rem 0.7rem;
}

.auth-email-item input[type="radio"] {
    margin-top: 0.25rem;
    accent-color: #0f6b78;
}

.auth-email-content {
    flex: 1;
    min-width: 0;
}

.auth-email-address {
    font-size: 1rem;
    font-weight: 600;
    color: #24313f;
    word-break: break-word;
}

.auth-badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.3rem;
}

.auth-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.14rem 0.48rem;
    font-size: 0.75rem;
    font-weight: 700;
}

.auth-pill-success {
    background: #e6f5ee;
    color: #1f7a4c;
}

.auth-pill-warning {
    background: #fff2dd;
    color: #946001;
}

.auth-pill-primary {
    background: #dff1f4;
    color: #0c5863;
}

.auth-manage-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.auth-manage-btn-primary,
.auth-manage-btn-secondary,
.auth-manage-btn-danger {
    border: 0;
    border-radius: 999px;
    font-size: 0.96rem;
    font-weight: 700;
    padding: 0.45rem 0.9rem;
}

.auth-manage-btn-primary {
    background: #0f6b78;
    color: #ffffff;
}

.auth-manage-btn-primary:hover {
    background: #0c5863;
    color: #ffffff;
}

.auth-manage-btn-secondary {
    background: #e8edf5;
    color: #324357;
}

.auth-manage-btn-secondary:hover {
    background: #dce4ef;
    color: #2b3b4f;
}

.auth-manage-btn-danger {
    background: #dc3545;
    color: #ffffff;
}

.auth-manage-btn-danger:hover {
    background: #c72f3e;
    color: #ffffff;
}

.auth-manage-empty {
    border: 1px dashed #cfd6e0;
    border-radius: 0.6rem;
    padding: 0.8rem;
    color: #5a6779;
    text-align: center;
}

.auth-section-title {
    color: #2a3c53 !important;
    font-weight: 700;
}

.auth-danger-note {
    border: 1px solid #f1c2c8;
    border-radius: 0.6rem;
    padding: 0.8rem 0.9rem;
    background: #fff2f4;
    color: #6b202a;
    font-size: 0.95rem;
}

.auth-danger-note ul {
    margin-left: 1.1rem;
    padding-left: 0.3rem;
}

.notifications-page-wrap {
    max-width: 900px;
}

.notifications-hero {
    border: 1px solid #dbe3ed;
    border-radius: 0.95rem;
    overflow: hidden;
    background:
        radial-gradient(circle at 82% 18%, rgba(47, 102, 240, 0.15), rgba(47, 102, 240, 0)),
        radial-gradient(circle at 8% 92%, rgba(250, 190, 44, 0.16), rgba(250, 190, 44, 0)),
        linear-gradient(140deg, #f8fbff 0%, #f2f7fd 58%, #f7fbff 100%);
}

.notifications-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    color: #2f4f63;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 0.35rem;
}

.notifications-heading {
    color: #0f4158 !important;
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    margin: 0;
}

.notifications-subtitle {
    color: #5d6d80;
    font-size: 0.97rem;
}

.notifications-unread-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.32rem;
    background: #ffe8af;
    color: #6f4c00;
    border: 1px solid #f3cf73;
    border-radius: 999px;
    padding: 0.2rem 0.6rem;
    font-size: 0.78rem;
    font-weight: 700;
}

.notifications-unread-pill .fa-circle-dot {
    font-size: 0.58rem;
}

.notifications-board {
    border: 1px solid #dce4ee;
    border-radius: 0.95rem;
    background: #f3f6fa;
}

.notifications-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.notifications-item {
    display: flex;
    gap: 0.82rem;
    align-items: flex-start;
    text-decoration: none;
    background: #ffffff;
    border: 1px solid #dfe7f1;
    border-radius: 0.75rem;
    padding: 0.78rem 0.9rem;
    color: inherit;
    box-shadow: 0 6px 16px rgba(31, 49, 70, 0.06);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.notifications-item:hover {
    transform: translateY(-1px);
    background: #f7fbff;
    box-shadow: 0 10px 20px rgba(31, 49, 70, 0.11);
}

.notifications-item.is-unread {
    border-color: #f0d083;
    box-shadow: 0 8px 18px rgba(147, 103, 2, 0.12);
}

.notifications-item-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(145deg, #2f66f0, #2a54cb);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex: 0 0 auto;
    box-shadow: 0 6px 12px rgba(47, 102, 240, 0.3);
}

.notifications-item-main {
    min-width: 0;
    width: 100%;
}

.notifications-item-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
}

.notifications-item-title {
    font-weight: 700;
    color: #1f3345;
    overflow-wrap: anywhere;
}

.notifications-item-text {
    margin-top: 0.12rem;
    font-size: 0.95rem;
    color: #4e5b6a;
}

.notifications-item-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.8rem;
    margin-top: 0.33rem;
    font-size: 0.82rem;
    color: #68788d;
}

.notifications-item-meta i {
    margin-right: 0.22rem;
}

.notifications-new-badge {
    font-size: 0.68rem;
    vertical-align: middle;
}

.notifications-empty {
    border: 1px dashed #d2d8e0;
    border-radius: 0.65rem;
    padding: 1.05rem;
    background: #fafbfd;
    color: #617084;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    text-align: center;
}

.profile-page-wrap {
    max-width: 900px;
}

.profile-page-header h1 {
    color: #0f4158 !important;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.profile-page-subtitle {
    color: #607084;
    font-size: 0.96rem;
}

.profile-main-card,
.profile-settings-card {
    border: 1px solid #dde4ec;
    border-radius: 0.95rem;
    background: #f2f4f7;
}

.profile-main-card .card-body,
.profile-settings-card .card-body {
    padding: 1.15rem 1.2rem;
}

.profile-avatar-block {
    min-width: 140px;
}

.profile-avatar-image {
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #36586f;
    box-shadow: 0 10px 24px rgba(25, 49, 73, 0.24);
}

.profile-email-card {
    border: 1px solid #d5deea;
    border-radius: 0.7rem;
    background: #ffffff;
    padding: 0.62rem 0.78rem;
}

.profile-picture-card {
    border: 1px solid #d5deea;
    border-radius: 0.7rem;
    background: #ffffff;
    padding: 0.62rem 0.78rem 0.78rem;
}

.profile-picture-current-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 0.5rem;
    color: #405061;
}

.profile-picture-current-prefix {
    font-weight: 600;
}

.profile-picture-current-name {
    display: inline-block;
    max-width: min(100%, 400px);
    font-weight: 500;
    color: #2d3a48;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.profile-picture-clear-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.36rem;
    margin-left: 0.2rem;
}

.profile-picture-clear-toggle .form-check-input {
    margin-top: 0;
}

.profile-picture-clear-toggle .form-check-label {
    margin-bottom: 0;
    color: #48586a;
}

.profile-meta-label {
    color: #617186;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 0.2rem;
}

.profile-main-card .form-label {
    color: #2a394b;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.34rem;
}

.profile-main-card .form-control {
    border: 1px solid #ccd5e0;
    border-radius: 0.55rem;
    background: #fbfcfe;
    color: #2b3949;
}

.profile-main-card .form-control:focus {
    border-color: #8ea9cf;
    box-shadow: 0 0 0 0.2rem rgba(47, 102, 240, 0.12);
}

.profile-main-card .form-text {
    color: #627489;
}

.profile-main-card .form-check:not(.profile-remove-check) {
    border: 1px solid #d8e0ea;
    border-radius: 0.6rem;
    background: #ffffff;
    padding: 0.55rem 0.75rem 0.55rem 2.05rem;
}

.profile-main-card .form-check-label {
    color: #455669;
}

.profile-remove-check {
    border: 0 !important;
    border-radius: 0;
    background: transparent !important;
    padding: 0 !important;
}

.profile-remove-check .form-check-input {
    margin-top: 0.28rem;
}

.profile-save-btn {
    width: auto;
    min-width: 170px;
}

.profile-settings-list {
    border-radius: 0.7rem;
    overflow: hidden;
}

.profile-settings-item {
    border-color: #dfe6ef;
    background: #ffffff;
    padding: 0.82rem 0.95rem;
    font-weight: 500;
}

.profile-settings-item:hover {
    background: #f4f8fd;
}

.profile-settings-item-danger {
    color: #b32e3b !important;
}

.profile-settings-item-danger i {
    color: #b32e3b !important;
}

.profile-settings-unread {
    font-size: 0.72rem;
    line-height: 1;
}

.option {
    display: block;
    position: relative;
    padding-left: 1.7rem;
    cursor: pointer;
    user-select: none;
}

.option input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0.2rem;
    left: 0;
    height: 16px;
    width: 16px;
    background-color: transparent;
    border: 1px solid #9ca6b4;
    border-radius: 3px;
}

.option input:checked ~ .checkmark {
    background-color: #2f66f0;
    border-color: #2f66f0;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.option input:checked ~ .checkmark:after {
    display: block;
}

.option .checkmark:after {
    left: 5px;
    top: 1px;
    width: 4px;
    height: 9px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.comments-wrap {
    margin-top: 1.35rem;
}

.comment-composer-card,
.comments-board {
    border: 1px solid #dbe4ee;
    border-radius: 1rem;
}

.comment-composer-card {
    background:
        radial-gradient(circle at 92% 14%, rgba(12, 92, 108, 0.08), rgba(12, 92, 108, 0)),
        radial-gradient(circle at 8% 88%, rgba(233, 95, 7, 0.08), rgba(233, 95, 7, 0)),
        #f7f9fc;
    padding: 1rem;
}

.comments-board {
    background: #f6f8fb;
    padding: 1rem;
}

.comment-composer-head {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 0.72rem;
}

.comment-composer-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #0c5c6c, #114e7f);
    color: #ffffff;
    box-shadow: 0 6px 14px rgba(12, 92, 108, 0.26);
}

.comment-composer-title {
    color: #23435b;
    font-size: 0.97rem;
    font-weight: 700;
}

.comment-composer-input {
    width: 100%;
    border: 1px solid #cfd9e6;
    border-radius: 0.85rem;
    background: #ffffff;
    color: #2f3b49;
    padding: 0.88rem 0.95rem 0.78rem;
    font-size: 0.97rem;
    line-height: 1.45;
    min-height: 92px;
    resize: vertical;
}

.comment-composer-input:focus {
    outline: 0;
    border-color: #8ea9cf;
    box-shadow: 0 0 0 0.2rem rgba(47, 102, 240, 0.12);
}

.comment-composer-footer {
    margin-top: 0.6rem;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.65rem;
}

.comment-submit-btn {
    border: 0;
    border-radius: 999px;
    background: linear-gradient(145deg, #eb5f07, #d85605);
    color: #ffffff;
    font-weight: 700;
    padding: 0.5rem 1.02rem;
    line-height: 1.1;
    display: inline-flex;
    align-items: center;
    gap: 0.33rem;
    box-shadow: 0 6px 14px rgba(216, 86, 5, 0.3);
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.comment-submit-btn i {
    font-size: 0.8rem;
}

.comment-submit-btn:hover {
    filter: brightness(1.03);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 9px 18px rgba(216, 86, 5, 0.34);
}

.comment-submit-btn-sm {
    font-size: 0.83rem;
    padding: 0.41rem 0.8rem;
}

.comment-login-alert {
    color: #4d6178;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border: 1px dashed #cfd8e4;
    border-radius: 0.75rem;
    background: #ffffff;
    padding: 0.68rem 0.8rem;
}

.comment-login-alert i {
    color: #0c5c6c;
}

.comment-login-alert a {
    color: #224fdc;
    text-decoration: none;
}

.comment-login-alert a:hover {
    text-decoration: underline;
}

.comments-board-header {
    border-bottom: 1px solid #dce4ed;
    margin-bottom: 0.25rem;
    padding-bottom: 0.82rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.6rem;
}

.comments-board-title-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.comments-board-title {
    font-size: 1.1rem;
    color: #20364a !important;
    letter-spacing: -0.01em;
}

.comments-count-pill {
    border-radius: 999px;
    background: #0c5c6c;
    color: #ffffff;
    font-size: 0.76rem;
    font-weight: 700;
    padding: 0.16rem 0.52rem;
}

.comments-sort {
    color: #4d6278;
    font-size: 0.82rem;
    border: 1px solid #dae3ee;
    border-radius: 999px;
    background: #ffffff;
    padding: 0.2rem 0.58rem;
}

.comments-sort i {
    color: #c57600;
}

.comment-thread {
    margin-top: 0.88rem;
}

.comment-row {
    display: flex;
    gap: 0.74rem;
    background: #ffffff;
    border: 1px solid #dfe8f2;
    border-radius: 0.9rem;
    padding: 0.74rem 0.8rem;
    box-shadow: 0 6px 16px rgba(29, 48, 71, 0.05);
}

.comment-row-root {
    border-left: 3px solid #0c5c6c;
}

.comment-row:target {
    border-color: #e9cc71;
    background: #fff8e6;
    box-shadow: 0 8px 18px rgba(133, 94, 0, 0.12);
    scroll-margin-top: 90px;
}

.comment-main {
    flex: 1;
    min-width: 0;
}

.comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #466983;
    box-shadow: 0 4px 10px rgba(26, 48, 70, 0.22);
    flex: 0 0 auto;
}

.comment-avatar-reply {
    width: 34px;
    height: 34px;
    border-color: #5d7a90;
}

.comment-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.33rem 0.52rem;
}

.comment-author {
    font-size: 0.98rem;
    font-weight: 700;
    color: #1f3345;
}

.comment-time {
    color: #63758a;
    font-size: 0.82rem;
}

.comment-replying {
    color: #3e6785;
    font-size: 0.76rem;
    border: 1px solid #d7e6f5;
    border-radius: 999px;
    background: #edf4fb;
    padding: 0.08rem 0.44rem;
}

.comment-replying::before {
    content: "\21AA  ";
}

.comment-body {
    margin-top: 0.28rem;
    color: #203142;
    font-size: 0.95rem;
    line-height: 1.52;
}

.comment-body p:last-child {
    margin-bottom: 0;
}

.comment-actions {
    margin-top: 0.46rem;
}

.comment-action-btn {
    border: 1px solid #d6e0ec;
    border-radius: 999px;
    background: #f7fbff;
    color: #40566b;
    font-size: 0.81rem;
    font-weight: 600;
    padding: 0.2rem 0.62rem;
    display: inline-flex;
    align-items: center;
    gap: 0.32rem;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.comment-action-btn i {
    color: #0c5c6c;
}

.comment-action-btn:hover {
    color: #26435d;
    border-color: #b7cce2;
    background: #eef5fd;
}

.comment-action-btn:hover i {
    color: #0f6f84;
}

.comment-reply-form-wrap {
    margin-top: 0.54rem;
    margin-bottom: 0.14rem;
    background: #f3f8fd;
    border: 1px solid #dbe5f1;
    border-radius: 0.72rem;
    padding: 0.64rem;
}

.comment-reply-input {
    border: 1px solid #ccd8e5;
    border-radius: 0.6rem;
    background: #ffffff;
}

.comment-reply-input:focus {
    border-color: #8ea9cf;
    box-shadow: 0 0 0 0.2rem rgba(47, 102, 240, 0.1);
}

/* Avatar column: holds avatar + vertical connector line below it */
.comment-avatar-col {
    position: relative;
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Vertical line from below root avatar through rest of the thread */
.comment-thread-has-replies .comment-row-root {
    position: relative;
}
.comment-thread-has-replies .comment-avatar-col::after {
    content: "";
    position: absolute;
    top: 44px;  /* just below the 40px avatar + 4px border */
    left: 50%;
    width: 2px;
    margin-left: -1px;
    bottom: -0.74rem;  /* extend to bottom edge of root card padding */
    background: #d2dce8;
    pointer-events: none;
    z-index: 1;
}

.comment-replies {
    margin-left: calc(0.8rem + 20px);  /* root card left-pad + half avatar = center of root avatar */
    padding-left: 16px;
    margin-top: 0;
    position: relative;
}

.comment-row-reply {
    margin-top: 0.62rem;
    position: relative;
    background: #f9fbfe;
    border-color: #dfe8f2;
}

/* Vertical line between replies (not on last) */
.comment-row-reply::before {
    content: "";
    position: absolute;
    left: -16px;
    top: -0.62rem;
    bottom: -0.62rem;
    width: 2px;
    background: #d2dce8;
    pointer-events: none;
}

/* Last reply: vertical stub stops and curves into the avatar */
.comment-row-reply:last-child::before {
    bottom: auto;
    height: calc(0.62rem + 18px);
    border-bottom-left-radius: 10px;
}

/* Horizontal branch from vertical line to each reply (not last) */
.comment-row-reply::after {
    content: "";
    position: absolute;
    left: -16px;
    top: 18px;
    width: 16px;
    height: 2px;
    background: #d2dce8;
    pointer-events: none;
}

/* Last reply: curved L-shape connector instead of straight branch */
.comment-row-reply:last-child::after {
    top: 0;
    left: -16px;
    width: 16px;
    height: calc(0.62rem + 20px);
    background: none;
    border-left: 2px solid #d2dce8;
    border-bottom: 2px solid #d2dce8;
    border-bottom-left-radius: 10px;
    box-sizing: border-box;
}

/* Hide the straight ::before on last — the ::after L-shape handles it */
.comment-row-reply:last-child::before {
    display: none;
}

.comments-empty {
    margin-top: 0.95rem;
    color: #65788f;
    border: 1px dashed #cfd9e6;
    border-radius: 0.78rem;
    background: #ffffff;
    text-align: center;
    padding: 0.72rem 0.85rem;
}

@media (max-width: 991.98px) {
    .content-sidebar {
        position: static;
        top: auto;
    }

    .sidebar-sticky {
        max-height: none;
        overflow-y: visible;
        padding-right: 0;
    }

    .auth-login-wrapper {
        padding: 0.7rem 0;
    }

    .auth-login-card-snippet {
        max-width: 100%;
        padding: 1.2rem 0.9rem 1.1rem;
    }

    .auth-login-heading {
        font-size: 2.2rem;
    }

    .auth-input-field input {
        font-size: 1rem;
    }

    .auth-input-field span {
        font-size: 1rem;
    }

    .text-light-white,
    .auth-forgot-link {
        font-size: 1rem;
    }

    .auth-login-btn {
        font-size: 1.1rem;
    }

    .auth-signup-text {
        font-size: 1rem;
    }

    .auth-connect-text {
        font-size: 1rem;
        top: -10px;
    }

    .auth-social-row {
        grid-template-columns: 1fr;
        gap: 0.52rem;
    }

    .auth-social-provider-btn {
        min-height: 54px;
        font-size: 1rem;
        padding: 0.52rem 0.78rem;
    }

    .auth-social-provider-icon {
        width: auto;
        height: auto;
    }

    .auth-social-provider-icon i {
        font-size: 1.62rem;
    }

    .auth-social-btn i {
        font-size: 1.45rem;
    }

    .checkmark {
        top: 0.15rem;
    }

    .auth-meta-line {
        flex-wrap: wrap;
        row-gap: 0.35rem;
    }

    .auth-manage-links {
        flex-wrap: wrap;
    }

    .auth-manage-actions {
        flex-direction: column;
    }

    .auth-manage-btn-primary,
    .auth-manage-btn-secondary,
    .auth-manage-btn-danger {
        width: 100%;
    }

    .profile-main-card .card-body,
    .profile-settings-card .card-body {
        padding: 1rem;
    }

    .profile-avatar-block {
        min-width: 0;
        width: 100%;
    }

    .notifications-hero-actions {
        width: 100%;
        justify-content: space-between;
    }

    .notifications-heading {
        font-size: 1.55rem;
    }

    .notifications-item {
        padding: 0.72rem 0.8rem;
    }

    .notifications-item-meta {
        gap: 0.5rem;
        font-size: 0.8rem;
    }

    .feed-page-header {
        padding: 0.76rem 0.82rem;
    }

    .feed-section-title {
        font-size: 1.52rem;
    }

    .feed-hero-card {
        min-height: 280px;
    }

    .feed-hero-content {
        min-height: 280px;
        padding: 0.88rem 0.9rem;
    }

    .feed-controls-card {
        padding: 0.72rem;
    }

    .comments-board-header {
        flex-wrap: wrap;
        align-items: flex-start;
        row-gap: 0.45rem;
    }

    .comment-row {
        padding: 0.68rem 0.74rem;
    }

    .comment-composer-input {
        min-height: 86px;
    }
}

@media (min-width: 768px) {
    .book-list-cover-image {
        border-top-right-radius: 0;
        border-bottom-left-radius: 0.375rem;
    }
}

@media (max-width: 767.98px) {
    .book-list-cover-image,
    .book-list-cover-fallback {
        min-height: 220px;
        max-height: 220px;
    }

    .navbar-support-btn {
        width: 100%;
        justify-content: center;
    }

    .feed-section-title {
        font-size: 1.38rem;
    }

    .feed-section-subtitle {
        font-size: 0.9rem;
    }

    .feed-hero-card {
        min-height: 248px;
    }

    .feed-hero-content {
        min-height: 248px;
        padding: 0.76rem 0.78rem;
    }

    .feed-hero-summary {
        font-size: 0.88rem;
        margin-top: 0.46rem;
    }

    .feed-hero-meta {
        margin-top: 0.52rem;
        font-size: 0.76rem;
    }

    .feed-hero-link {
        font-size: 0.82rem;
    }

    .library-hero-body {
        grid-template-columns: 100px minmax(0, 1fr);
        gap: 0.72rem;
        padding: 0.75rem;
    }

    .library-hero-cover-link {
        width: 100px;
        height: 142px;
    }

    .library-hero-title {
        font-size: 1.08rem;
    }

    .library-hero-authors {
        font-size: 0.9rem;
    }

    .library-hero-summary {
        font-size: 0.9rem;
        -webkit-line-clamp: 4;
    }

    .post-card-modern .card-body {
        padding: 0.72rem 0.76rem 0.8rem;
    }

    .post-card-modern-title {
        font-size: 1rem;
    }

    .library-book-body {
        grid-template-columns: 98px minmax(0, 1fr);
        gap: 0.74rem;
        padding: 0.75rem;
    }

    .library-cover-link {
        width: 98px;
        height: 142px;
    }

    .library-book-title {
        font-size: 1rem;
    }

    .library-book-authors {
        font-size: 0.88rem;
    }

    .library-book-summary {
        font-size: 0.92rem;
        -webkit-line-clamp: 5;
    }

    .footer-modern {
        padding: 0.84rem 0.82rem 0.72rem;
    }

    .footer-modern-inner {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
        gap: 0.65rem;
    }

    .footer-tagline {
        font-size: 0.82rem;
    }

    .footer-links {
        gap: 0.38rem;
    }

    .footer-link {
        font-size: 0.8rem;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-bottom {
        justify-content: center;
        text-align: center;
    }

    .comment-avatar {
        width: 36px;
        height: 36px;
    }

    .comment-avatar-reply {
        width: 30px;
        height: 30px;
    }

    .comment-replies {
        margin-left: calc(0.6rem + 16px);
        padding-left: 12px;
    }

    .comment-row-reply::before {
        left: -12px;
    }

    .comment-row-reply::after {
        left: -12px;
        width: 12px;
    }

    .comment-row-reply:last-child::after {
        left: -12px;
        width: 12px;
    }
}

@media (min-width: 992px) {
    .library-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
    }
}
