/* ==========================================================================
   KANCA TEGAL - CONSOLIDATED STYLESHEET (main.css)
   ========================================================================== */

/* Importing Google Font - Plus Jakarta Sans */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* Color Variables and Layout Constants */
:root {
    --primary-red: #C01E2E;
    --primary-red-hover: #A01824;
    --bg-theme: #F4F8F5;
    --bg-white: #FFFFFF;
    --text-dark: #1E2E25;
    --text-muted: #5C6B61;
    --text-light: #FFFFFF;
    --accent-blue: #2A5B7A;
    --accent-blue-grey: #374B5C;
    --accent-blue-grey-hover: #2B3C4A;
    --border-color: #D1DCD5;
    --font-main: 'Plus Jakarta Sans', sans-serif;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.01);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.04), 0 4px 6px -2px rgba(0, 0, 0, 0.01);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.06), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
}

/* Reset Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-theme);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

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

button, input {
    font-family: inherit;
}

/* ==========================================================================
   SHARED COMPONENTS (Header, Navbar, Footer)
   ========================================================================== */

/* Header & Navbar Styling */
.header {
    background-color: var(--bg-theme);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1.2rem 2rem;
}

.navbar {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-red);
    letter-spacing: -1.5px;
    text-transform: uppercase;
}

.logo span {
    font-weight: 400;
    color: var(--text-dark);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
    padding: 0.25rem 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-red);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-red);
    transition: var(--transition-smooth);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    padding: 0.6rem 1rem 0.6rem 2.5rem;
    border-radius: 9999px;
    font-size: 0.85rem;
    width: 220px;
    transition: var(--transition-smooth);
    outline: none;
}

.search-input:focus {
    width: 280px;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(192, 30, 46, 0.15);
}

.search-icon {
    position: absolute;
    left: 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    pointer-events: none;
}

.btn-signin {
    background-color: var(--primary-red);
    color: var(--text-light);
    padding: 0.6rem 1.5rem;
    border-radius: 9999px;
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-signin:hover {
    background-color: var(--primary-red-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(192, 30, 46, 0.3);
}

/* Footer Section */
.footer {
    background-color: var(--bg-theme);
    border-top: 1px solid var(--border-color);
    padding: 4rem 2rem 3rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 2rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-logo {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary-red);
    letter-spacing: -1px;
    text-transform: uppercase;
}

.footer-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.footer-link {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.footer-link:hover {
    color: var(--primary-red);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ==========================================================================
   1. HOMEPAGE SPECIFIC STYLES (pages.home)
   ========================================================================= */

/* Hero Section */
.hero-section {
    background-color: var(--primary-red);
    color: var(--text-light);
    padding: 5rem 2rem;
    overflow: hidden;
    position: relative;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-badge {
    background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--text-light);
    padding: 0.4rem 1rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
    text-transform: uppercase;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 520px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn-explore {
    background-color: var(--bg-white);
    color: var(--primary-red);
    padding: 0.9rem 2rem;
    border-radius: 9999px;
    font-size: 0.95rem;
    font-weight: 700;
    border: 1px solid var(--bg-white);
    cursor: pointer;
    transition: var(--transition-smooth);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-explore:hover {
    background-color: transparent;
    color: var(--text-light);
    transform: translateY(-2px);
}

.btn-register {
    background-color: transparent;
    color: var(--text-light);
    padding: 0.9rem 2rem;
    border-radius: 9999px;
    font-size: 0.95rem;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition-smooth);
    letter-spacing: 0.5px;
}

.btn-register:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--bg-white);
    transform: translateY(-2px);
}

.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-image-container {
    width: 100%;
    max-width: 480px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transform: rotate(2deg);
    transition: var(--transition-smooth);
}

.hero-image-container:hover {
    transform: rotate(0deg) scale(1.02);
}

.hero-image {
    width: 100%;
    height: 380px;
    object-fit: cover;
    filter: brightness(0.9);
}

.hero-card-overlay {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background-color: var(--bg-white);
    color: var(--text-dark);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    max-width: 280px;
    transform: rotate(-2deg);
    z-index: 10;
}

.hero-card-overlay p {
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text-dark);
}

.hero-card-overlay span {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: var(--primary-red);
    font-weight: 700;
}

/* Sections Base Styling */
.section {
    padding: 6rem 2rem;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3.5rem;
}

.section-title-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.section-tag {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-red);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.5px;
}

.section-link {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-red);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-link:hover {
    color: var(--primary-red-hover);
    gap: 0.75rem;
}

/* Homepage Weekly Books Grid (4 Columns) */
.hero-section + .section .books-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.hero-section + .section .book-card {
    background-color: transparent;
    transition: var(--transition-smooth);
}

.hero-section + .section .book-image-wrapper {
    background-color: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 3/4;
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.2rem;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-section + .section .book-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.hero-section + .section .book-card:hover .book-image-wrapper {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.hero-section + .section .book-card:hover .book-image {
    transform: scale(1.05);
}

.hero-section + .section .book-category {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.4rem;
}

.hero-section + .section .book-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.hero-section + .section .book-description {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* About Kanca Tegal Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.about-img-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    aspect-ratio: 1;
}

.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.1);
    transition: var(--transition-smooth);
}

.about-img-container:hover .about-img {
    filter: grayscale(0%) contrast(1);
    transform: scale(1.03);
}

.about-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.about-description {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.about-stats {
    display: flex;
    gap: 4rem;
    margin-bottom: 2.5rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-red);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.btn-story {
    background-color: var(--accent-blue-grey);
    color: var(--text-light);
    padding: 0.9rem 2.2rem;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-story:hover {
    background-color: var(--accent-blue-grey-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(55, 75, 92, 0.25);
}

/* Article Notes Section (Home Page) */
.home-articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.article-card {
    background-color: var(--bg-white);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.02);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.article-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.icon-essay {
    background-color: rgba(192, 30, 46, 0.08);
    color: var(--primary-red);
}

.icon-news {
    background-color: rgba(245, 158, 11, 0.08);
    color: #F59E0B;
}

.icon-review {
    background-color: rgba(99, 102, 241, 0.08);
    color: #6366F1;
}

.article-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 1rem;
}

.article-tag {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: 0.5px;
}

.article-badge {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    text-transform: uppercase;
}

.badge-essay {
    background-color: #E6F4EA;
    color: #137333;
}

.badge-news {
    background-color: #FEF3C7;
    color: #92400E;
}

.badge-review {
    background-color: #EEF2FF;
    color: #3730A3;
}

.article-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.article-description {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.article-link {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-red);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.article-link:hover {
    gap: 0.6rem;
}

/* Community Reviews Section */
.reviews-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

.review-card {
    background-color: var(--bg-white);
    border-radius: 16px;
    padding: 3rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.01);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    position: relative;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.quote-icon {
    font-size: 3.5rem;
    line-height: 1;
    color: rgba(192, 30, 46, 0.12);
    position: absolute;
    top: 2rem;
    left: 2.5rem;
    font-family: Georgia, serif;
    pointer-events: none;
}

.star-rating {
    display: flex;
    gap: 0.2rem;
    margin-bottom: 1.5rem;
    color: #F59E0B;
    font-size: 0.9rem;
    z-index: 1;
}

.review-text {
    font-size: 1.05rem;
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
    z-index: 1;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 9999px;
    object-fit: cover;
    background-color: #E2EAF1;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
}

.author-role {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ==========================================================================
   2. BOOKS PAGE SPECIFIC STYLES (pages.Buku)
   ========================================================================== */

/* Page Section */
.collection-section {
    padding: 4rem 2rem 6rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Title Area */
.collection-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 4rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.collection-header .title-group {
    position: relative;
    padding-left: 1.5rem;
}

.collection-header .title-group::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    bottom: 6px;
    width: 3px;
    background-color: var(--primary-red);
}

.collection-header .title-tagline {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 0.5rem;
}

.main-title-small {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.1;
    margin-bottom: 0.2rem;
}

.main-title-large {
    font-size: 4rem;
    font-weight: 800;
    color: var(--primary-red);
    line-height: 1;
    letter-spacing: -2px;
    text-transform: uppercase;
}

/* Filters */
.filter-tabs {
    display: flex;
    gap: 0.75rem;
}

.filter-btn {
    background-color: var(--bg-white);
    color: var(--text-dark);
    border: 1px solid var(--border-color);
    padding: 0.7rem 1.8rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border-radius: 4px;
}

.filter-btn:hover {
    border-color: var(--text-dark);
}

.filter-btn.active {
    background-color: #111111;
    color: var(--text-light);
    border-color: #111111;
}

/* Books Grid - Collection Page (3 columns) */
.collection-section .books-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3.5rem 2.5rem;
    margin-bottom: 5rem;
}

.collection-section .book-card {
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}

.collection-section .book-image-wrapper {
    background-color: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 1 / 1.15;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.5rem;
    transition: var(--transition-smooth);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.book-image-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    border-radius: 4px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.collection-section .book-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.status-badge {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    padding: 0.35rem 0.8rem;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: var(--shadow-sm);
    z-index: 10;
}

.status-ready {
    background-color: var(--bg-white);
    color: var(--text-dark);
    border: 1px solid rgba(0,0,0,0.06);
}

.status-borrowed {
    background-color: #1E2E25;
    color: var(--text-light);
}

.book-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.collection-section .book-category {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-red);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.collection-section .book-category.muted-cat {
    color: var(--text-muted);
}

.collection-section .book-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.3rem;
    line-height: 1.3;
}

.book-author {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* Borrow Buttons */
.btn-borrow {
    width: 100%;
    background-color: transparent;
    color: var(--text-dark);
    border: 1px solid var(--text-dark);
    padding: 0.8rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-borrow:hover {
    background-color: var(--text-dark);
    color: var(--text-light);
}

.btn-unavailable {
    width: 100%;
    background-color: transparent;
    color: #A0ABA4;
    border: 1px solid #D5DDD8;
    padding: 0.8rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    cursor: not-allowed;
}

/* Hover effects for collection cards */
.collection-section .book-card:hover .book-image-wrapper {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.collection-section .book-card:hover .book-image-container {
    transform: scale(1.03) translateY(-4px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.18);
}

/* Pagination */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.page-arrow {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.8;
}

.page-arrow:hover {
    opacity: 1;
    color: var(--primary-red);
}

.page-arrow.disabled {
    color: #A0ABA4;
    cursor: not-allowed;
    opacity: 0.4;
}

.page-numbers {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.page-num {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
}

.page-num.active {
    color: var(--primary-red);
    font-weight: 800;
    position: relative;
    padding-bottom: 0.2rem;
}

.page-num.active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background-color: var(--primary-red);
}

.page-divider {
    color: #C0CDC5;
    font-weight: 300;
}

/* ==========================================================================
   3. ABOUT PAGE SPECIFIC STYLES (pages.about)
   ========================================================================== */

.about-section {
    padding: 4rem 2rem 6rem;
    max-width: 1200px;
    margin: 0 auto;
}

.about-section .about-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3.5rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.about-section .title-group {
    display: flex;
    flex-direction: column;
}

.about-section .title-tagline {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-red);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.about-header-desc {
    max-width: 320px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.5;
    border-left: 2px solid var(--border-color);
    padding-left: 1rem;
    margin-bottom: 0.5rem;
}

/* Hero Banner Style */
.about-banner-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 5rem;
    box-shadow: var(--shadow-md);
}

.about-banner-img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    filter: brightness(0.85);
}

.about-banner-overlay {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    background-color: var(--bg-white);
    color: var(--text-dark);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    max-width: 320px;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-left: 4px solid var(--primary-red);
    z-index: 10;
}

.about-banner-overlay i {
    font-size: 1.5rem;
    color: var(--primary-red);
}

.about-banner-overlay p {
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.4;
}

/* Who We Are Section */
.profile-section {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    margin-bottom: 6rem;
    align-items: flex-start;
}

.profile-left h3 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.profile-left p {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.profile-right {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.profile-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.stat-card {
    border-radius: 8px;
    padding: 2.2rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.stat-card.white-card {
    background-color: var(--bg-white);
    color: var(--text-dark);
}

.stat-card.red-card {
    background-color: var(--primary-red);
    color: var(--text-light);
}

.stat-card-number {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.4rem;
}

.stat-card.white-card .stat-card-number {
    color: var(--primary-red);
}

.stat-card-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.mission-bar {
    background-color: var(--accent-blue-grey);
    color: var(--text-light);
    border-radius: 8px;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    box-shadow: var(--shadow-sm);
}

.mission-bar i {
    font-size: 1.5rem;
    opacity: 0.9;
}

.mission-bar p {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.5;
}

/* Behind the scenes (Di Balik Layar) */
.bg-sage-section {
    background-color: var(--bg-theme);
    padding: 6rem 0;
}

.bts-grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.bts-card {
    border-radius: 12px;
    padding: 3rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-smooth);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.bts-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.bts-card.white-card {
    background-color: var(--bg-white);
    color: var(--text-dark);
}

.bts-card.dark-card {
    background-color: #111111;
    color: var(--text-light);
}

.bts-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
}

.bts-card-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.bts-card.white-card .bts-card-desc {
    color: var(--text-muted);
}

.bts-card.dark-card .bts-card-desc {
    color: #A0ABA4;
}

.bts-team-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.team-avatars {
    display: flex;
    gap: 0.75rem;
}

.team-avatar {
    width: 64px;
    height: 64px;
    border-radius: 9999px;
    object-fit: cover;
    border: 2px solid var(--bg-theme);
    background-color: #D1DCD5;
}

.team-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-red);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.illustration-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.ill-text-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.ill-tag {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--primary-red);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.ill-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: invert(1);
    opacity: 0.8;
}

/* Grid Row 2 of BTS */
.bts-grid-layout-bottom {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 2.5rem;
}

.bts-card.red-card {
    background-color: var(--primary-red);
    color: var(--text-light);
    padding: 3rem;
}

.red-card-icon {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.bts-card-row {
    background-color: var(--bg-white);
    border-radius: 12px;
    padding: 3rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
    transition: var(--transition-smooth);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.bts-card-row:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.row-left {
    flex: 1;
}

.spiral-art-img {
    width: 140px;
    height: 140px;
    object-fit: contain;
    opacity: 0.85;
}

/* Visit Us Section */
.visit-section {
    text-align: center;
    padding: 6rem 2rem;
}

.visit-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.visit-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 3.5rem;
}

.map-container {
    background-color: #E6ECE8;
    border: 2px dashed #C8D4CE;
    border-radius: 12px;
    height: 380px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-card-badge {
    position: absolute;
    top: 2rem;
    left: 2rem;
    background-color: var(--bg-white);
    color: var(--text-dark);
    padding: 1rem 1.5rem;
    border-radius: 6px;
    box-shadow: var(--shadow-md);
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.map-card-badge i {
    color: var(--primary-red);
}

.map-placeholder-icon {
    font-size: 4rem;
    color: #B2C2B9;
}

/* Contribution Section */
.contribute-section {
    text-align: center;
    background-color: var(--bg-white);
    padding: 6rem 2rem;
    border-top: 1px solid var(--border-color);
}

.contribute-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.contribute-desc {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.contribute-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.btn-volunteer {
    background-color: var(--primary-red);
    color: var(--text-light);
    padding: 0.9rem 2.2rem;
    font-size: 0.9rem;
    font-weight: 700;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-volunteer:hover {
    background-color: var(--primary-red-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(192, 30, 46, 0.25);
}

.btn-donate {
    background-color: #E6ECE8;
    color: var(--text-dark);
    padding: 0.9rem 2.2rem;
    font-size: 0.9rem;
    font-weight: 700;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-donate:hover {
    background-color: #DDE5E0;
    border-color: #BAC7BF;
    transform: translateY(-2px);
}

/* ==========================================================================
   4. ARTICLES PAGE SPECIFIC STYLES (pages.artikel)
   ========================================================================== */

/* Page Section Styles */
.articles-page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem 6rem;
}

/* Header Title Area */
.articles-header {
    margin-bottom: 5rem;
}

.articles-header .main-title-small {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.1;
    margin-bottom: 0.2rem;
}

.articles-header .main-title-large {
    font-size: 4rem;
    font-weight: 800;
    color: var(--primary-red);
    line-height: 1;
    letter-spacing: -2px;
    text-transform: uppercase;
}

/* Section Header styling (With titles and navigation arrows) */
.articles-page-container .section-header,
.sage-section-container .section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2.5rem;
}

.articles-page-container .section-title-group,
.sage-section-container .section-title-group {
    display: flex;
    flex-direction: column;
}

.articles-page-container .section-title,
.sage-section-container .section-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.2rem;
}

.articles-page-container .section-tagline,
.sage-section-container .section-tagline {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.slider-navigation {
    display: flex;
    gap: 0.75rem;
}

.nav-arrow-btn {
    width: 40px;
    height: 40px;
    border-radius: 9999px;
    border: 1px solid var(--border-color);
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.nav-arrow-btn:hover {
    background-color: var(--text-dark);
    color: var(--bg-theme);
    border-color: var(--text-dark);
}

/* Grid Layouts - Articles Page */
.articles-page-container .articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-bottom: 6rem;
}

/* Most Read Card Styles */
.most-read-card {
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}

.most-read-card:hover {
    transform: translateY(-6px);
}

.img-wrapper-relative {
    position: relative;
    width: 100%;
    height: 380px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.most-read-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.most-read-card:hover .most-read-img {
    transform: scale(1.05);
}

.number-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    width: 28px;
    height: 28px;
    background-color: var(--primary-red);
    color: var(--text-light);
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    z-index: 5;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.most-read-card .article-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.3;
    margin-bottom: 0.5rem;
    letter-spacing: -0.2px;
}

.most-read-card .article-title:hover {
    color: var(--primary-red);
}

.article-author-blue {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-blue);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    display: inline-block;
}

.article-desc-preview {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 1.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.btn-read-more-link {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-red);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    align-self: flex-start;
}

.btn-read-more-link:hover {
    color: var(--primary-red-hover);
}

.btn-read-more-link i {
    transition: var(--transition-smooth);
}

.btn-read-more-link:hover i {
    transform: translateX(4px);
}

/* Latest Articles Section (Sage green bg) */
.full-width-sage-section {
    background-color: #EBF1ED;
    padding: 6rem 0;
    border-top: 1px solid var(--border-color);
}

.sage-section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.sage-section-container .articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

/* Latest Article Card Styles */
.latest-article-card {
    background-color: var(--bg-white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.02);
    transition: var(--transition-smooth);
}

.latest-article-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.latest-card-img-container {
    width: 100%;
    height: 180px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1.25rem;
}

.latest-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.latest-article-card:hover .latest-card-img {
    transform: scale(1.04);
}

.badge-row {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.pill-badge {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 0.35rem 0.6rem;
    border-radius: 4px;
    text-transform: uppercase;
}

.pill-badge.cat-badge {
    background-color: #E2EAE5;
    color: var(--text-muted);
}

.pill-badge.time-badge {
    background-color: #F0F4F2;
    color: #83948A;
}

.latest-card-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.3;
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 3.2em;
}

.latest-card-title:hover {
    color: var(--primary-red);
}

.latest-card-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 2rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

/* Card bottom row */
.latest-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 1.25rem;
    margin-top: auto;
}

.latest-author-name {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-blue);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.btn-action-arrow {
    width: 36px;
    height: 36px;
    border-radius: 4px;
    background-color: var(--primary-red);
    color: var(--text-light);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.btn-action-arrow:hover {
    background-color: var(--primary-red-hover);
}

.btn-action-arrow i {
    font-size: 0.85rem;
    transition: var(--transition-smooth);
}

.btn-action-arrow:hover i {
    transform: translate(2px, -2px);
}

/* ==========================================================================
   5. CONTACT PAGE SPECIFIC STYLES (pages.kontak)
   ========================================================================== */

/* Page Section Layout */
.contact-page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem 6rem;
}

/* Title Section Styling */
.contact-title-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 5rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.contact-title-left {
    max-width: 700px;
}

.contact-main-title {
    font-size: 5.5rem;
    font-weight: 800;
    color: var(--primary-red);
    line-height: 0.9;
    letter-spacing: -3px;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.contact-main-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 450px;
}

.contact-badge-at {
    width: 90px;
    height: 90px;
    border: 2px solid var(--primary-red);
    color: var(--primary-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    font-weight: 500;
}

/* Grid Layout */
.contact-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.contact-card {
    border-radius: 12px;
    padding: 3.5rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-smooth);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* WhatsApp Card (Red background) */
.contact-card.red-card {
    background-color: var(--primary-red);
    color: var(--text-light);
    height: 320px;
}

.red-card-tag {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
}

.red-card-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -1px;
    margin: 0.5rem 0 1.5rem;
}

.red-card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.red-card-desc {
    font-size: 0.95rem;
    max-width: 320px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}

.btn-send-message {
    background-color: var(--bg-white);
    color: var(--primary-red);
    padding: 0.8rem 1.8rem;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-smooth);
}

.btn-send-message:hover {
    background-color: var(--bg-theme);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.btn-send-message i {
    font-size: 0.8rem;
}

/* Email Card (Sage/Mint background) */
.contact-card.mint-card {
    background-color: #EBF1ED;
    color: var(--text-dark);
    height: 320px;
}

.email-icon-box {
    width: 45px;
    height: 45px;
    background-color: var(--primary-red);
    color: var(--text-light);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.mint-card-tag {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--primary-red);
}

.email-address {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0.5rem 0 2rem;
    word-break: break-all;
}

.btn-copy-address {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    align-self: flex-start;
    cursor: pointer;
    background: none;
    border: none;
}

.btn-copy-address:hover {
    color: var(--primary-red);
}

/* Grid Layout Row 2 */
.contact-grid-bottom {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 2.5rem;
}

/* Book Cover Photo Card */
.books-photo-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 340px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.books-photo-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.books-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) brightness(0.65);
    transition: var(--transition-smooth);
}

.books-photo-card:hover .books-photo-img {
    transform: scale(1.05);
}

.books-photo-overlay {
    position: absolute;
    bottom: 2rem;
    left: 2.2rem;
    color: var(--text-light);
    z-index: 5;
}

.photo-overlay-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.photo-overlay-subtitle {
    font-size: 0.75rem;
    opacity: 0.7;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* Social Media Card */
.contact-card.social-card {
    background-color: #EBF1ED;
    color: var(--text-dark);
    height: 340px;
}

.social-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--primary-red);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
}

.social-links-row {
    display: flex;
    gap: 1rem;
    width: 100%;
}

.white-social-btn {
    background-color: var(--bg-white);
    border-radius: 6px;
    padding: 0.9rem 1.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-grow: 1;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-dark);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.white-social-btn:hover {
    background-color: var(--text-dark);
    color: var(--bg-theme);
    transform: translateY(-3px);
}

.white-social-btn i {
    font-size: 0.8rem;
    opacity: 0.8;
}

.social-card-bottom {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 1.5rem;
}

.avatars-overlap-container {
    display: flex;
}

.avatar-shape {
    width: 32px;
    height: 32px;
    border-radius: 9999px;
    border: 2px solid #EBF1ED;
    background-color: #BAC7BF;
}

.avatar-shape:nth-child(2) {
    margin-left: -12px;
    background-color: #D1DCD5;
}

.avatar-shape:nth-child(3) {
    margin-left: -12px;
    background-color: #5C6B61;
}

.social-support-text {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    line-height: 1.4;
    max-width: 280px;
}

/* ==========================================================================
   UNIFIED RESPONSIVE MEDIA QUERIES
   ========================================================================== */

@media (max-width: 1024px) {
    /* Shared & Global */
    .main-title-large {
        font-size: 3rem;
    }

    /* Homepage (4 columns -> 2 columns) */
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-section + .section .books-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .home-articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Books Page (3 columns -> 2 columns) */
    .collection-section .books-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem 2rem;
    }

    /* About Page */
    .profile-section {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .bts-grid-layout-bottom {
        grid-template-columns: 1fr;
    }

    /* Articles Page */
    .articles-page-container .articles-grid,
    .sage-section-container .articles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    /* Contact Page */
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid-bottom {
        grid-template-columns: 1fr;
    }

    .contact-card.red-card,
    .contact-card.mint-card,
    .contact-card.social-card {
        height: auto;
    }

    .books-photo-card {
        height: 280px;
    }

    .contact-main-title {
        font-size: 4rem;
    }
}

@media (max-width: 768px) {
    /* Header & Navbar */
    .header {
        padding: 1rem;
    }

    .navbar {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .nav-menu {
        flex-wrap: wrap;
        gap: 1.2rem 1.5rem;
        width: 100%;
    }

    .nav-actions {
        width: 100%;
        justify-content: space-between;
        margin-top: 0.5rem;
    }

    .search-box {
        flex-grow: 1;
    }

    .search-input,
    .search-input:focus {
        width: 100%;
    }

    /* Homepage */
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-image-wrapper {
        margin-top: 1rem;
    }

    .hero-card-overlay {
        bottom: -10px;
        left: 10px;
    }

    .section {
        padding: 4rem 1rem;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        margin-bottom: 2.5rem;
    }

    .hero-section + .section .books-grid {
        grid-template-columns: 1fr;
    }

    .about-images {
        gap: 1rem;
    }

    .home-articles-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .review-card {
        padding: 2rem;
    }

    /* Books Page */
    .collection-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .filter-tabs {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }

    .filter-btn {
        flex-shrink: 0;
        padding: 0.6rem 1.2rem;
    }

    .collection-section .books-grid {
        grid-template-columns: 1fr;
        gap: 3rem 0;
    }

    .collection-section .book-image-wrapper {
        padding: 0.75rem;
    }

    /* About Page */
    .about-section .about-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .about-header-desc {
        max-width: 100%;
        border-left: none;
        padding-left: 0;
        border-top: 2px solid var(--border-color);
        padding-top: 1rem;
    }

    .about-banner-img {
        height: 280px;
    }

    .about-banner-overlay {
        bottom: 1rem;
        left: 1rem;
        right: 1rem;
        max-width: 100%;
    }

    .bts-grid-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .bts-card {
        padding: 2rem;
    }

    .bts-card-row {
        flex-direction: column;
        padding: 2rem;
        gap: 2rem;
        align-items: flex-start;
    }

    .spiral-art-img {
        width: 100px;
        height: 100px;
        align-self: center;
    }

    .map-container {
        height: 280px;
    }

    .map-card-badge {
        top: 1rem;
        left: 1rem;
        right: 1rem;
        font-size: 0.75rem;
        padding: 0.75rem;
    }

    .contribute-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    /* Articles Page */
    .articles-header {
        margin-bottom: 3.5rem;
    }

    .articles-page-container .articles-grid,
    .sage-section-container .articles-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .img-wrapper-relative {
        height: 280px;
    }

    .full-width-sage-section {
        padding: 4rem 0;
    }

    /* Contact Page */
    .contact-title-wrapper {
        margin-bottom: 3rem;
        flex-direction: column-reverse;
    }

    .contact-badge-at {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .contact-main-title {
        font-size: 3rem;
    }

    .contact-card {
        padding: 2rem;
    }

    .social-links-row {
        flex-direction: column;
        gap: 0.75rem;
    }

    /* Footer (Shared) */
    .footer-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

/* ==========================================================================
   6. REGISTER PAGE SPECIFIC STYLES (pages.login-user.register)
   ========================================================================== */

.register-split-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 80vh;
    margin: 0;
    background-color: var(--bg-white);
}

.register-left {
    position: relative;
    background: linear-gradient(rgba(30, 46, 37, 0.35), rgba(30, 46, 37, 0.55)), url('https://images.unsplash.com/photo-1568667256549-094345857637?auto=format&fit=crop&q=80&w=1000') no-repeat center center / cover;
    padding: 5rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 600px;
    color: var(--text-light);
}

.register-left-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--primary-red);
    margin-bottom: 1.5rem;
    letter-spacing: -1.5px;
    text-transform: uppercase;
}

.register-left-desc {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 3.5rem;
    opacity: 0.95;
    max-width: 480px;
}

.register-left-footer {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.register-left-line {
    width: 40px;
    height: 3px;
    background-color: var(--primary-red);
}

.register-left-tag {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
}

.register-right {
    background-color: #F4F8F5;
    padding: 5rem 6rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.register-right-inner {
    max-width: 460px;
    width: 100%;
    margin: 0 auto;
}

.register-right-tagline {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-blue-grey);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    display: block;
}

.register-right-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 2.5rem;
    letter-spacing: -0.5px;
}

.register-form-group {
    margin-bottom: 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.register-form-group label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.register-input {
    background-color: var(--bg-white);
    border: none;
    border-bottom: 2px solid var(--text-dark);
    padding: 0.8rem 1rem;
    font-size: 0.95rem;
    color: var(--text-dark);
    outline: none;
    transition: var(--transition-smooth);
}

.register-input::placeholder {
    color: #C1CDC5;
}

.register-input:focus {
    border-bottom-color: var(--primary-red);
    background-color: #FAFCFB;
}

.register-checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 2rem;
    font-size: 0.85rem;
    color: var(--text-dark);
    line-height: 1.5;
}

.register-checkbox-group input[type="checkbox"] {
    margin-top: 0.25rem;
    cursor: pointer;
    accent-color: var(--primary-red);
}

.register-checkbox-group a {
    color: var(--primary-red);
    font-weight: 700;
}

.register-checkbox-group a:hover {
    color: var(--primary-red-hover);
    text-decoration: underline;
}

.btn-register-submit {
    background-color: var(--primary-red);
    color: var(--text-light);
    width: 100%;
    padding: 1.1rem;
    border: none;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
    margin-bottom: 2rem;
    text-transform: none;
}

.btn-register-submit:hover {
    background-color: var(--primary-red-hover);
    box-shadow: 0 4px 15px rgba(192, 30, 46, 0.2);
}

.register-login-prompt {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.register-login-prompt a {
    color: var(--primary-red);
    font-weight: 800;
    margin-left: 0.25rem;
}

.register-login-prompt a:hover {
    text-decoration: underline;
}

@media (max-width: 1024px) {
    .register-split-container {
        grid-template-columns: 1fr;
    }
    .register-left {
        padding: 4rem 2rem;
        min-height: 450px;
        justify-content: center;
    }
    .register-right {
        padding: 4rem 2rem;
    }
    .register-left-title {
        font-size: 2.8rem;
    }
}

/* ==========================================================================
   7. LOGIN PAGE SPECIFIC STYLES (pages.login-user.login)
   ========================================================================== */

.login-split-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 100vh;
    width: 100vw;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: var(--bg-white);
}

.login-left {
    position: relative;
    background: linear-gradient(rgba(30, 46, 37, 0.4), rgba(30, 46, 37, 0.65)), url('https://images.unsplash.com/photo-1568667256549-094345857637?auto=format&fit=crop&q=80&w=1000') no-repeat center center / cover;
    padding: 5rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    color: var(--text-light);
}

.login-left-header {
    position: absolute;
    top: 3rem;
    left: 4rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 10;
}

.login-left-header .logo-line {
    width: 40px;
    height: 2px;
    background-color: var(--bg-white);
}

.login-left-header .logo-text {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-light);
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

.login-left-content {
    max-width: 500px;
    margin-bottom: 2rem;
}

.login-tagline {
    font-size: 0.75rem;
    font-weight: 700;
    color: #E2C1B6;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    display: block;
}

.login-quote {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.login-author {
    font-size: 0.95rem;
    font-weight: 500;
    font-style: normal;
    opacity: 0.8;
    display: block;
}

.login-right {
    background-color: var(--bg-white);
    padding: 5rem 6rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.login-right-middle {
    margin: auto 0;
    max-width: 420px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.login-right-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.login-right-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.login-form-group {
    margin-bottom: 2rem;
    position: relative;
}

.login-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.login-label-row label, .login-form-group label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.btn-forgot-password {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--primary-red);
    text-decoration: none;
    letter-spacing: 0.5px;
}

.btn-forgot-password:hover {
    color: var(--primary-red-hover);
    text-decoration: underline;
}

.login-input {
    width: 100%;
    border: none;
    border-bottom: 1.5px solid #D1DCD5;
    background: transparent;
    padding: 0.8rem 0;
    font-size: 0.95rem;
    color: var(--text-dark);
    outline: none;
    transition: var(--transition-smooth);
}

.login-input::placeholder {
    color: #C1CDC5;
}

.login-input:focus {
    border-bottom-color: var(--primary-red);
}

.btn-login-submit {
    background-color: var(--primary-red);
    color: var(--text-light);
    width: 100%;
    padding: 1.1rem;
    border: none;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-login-submit:hover {
    background-color: var(--primary-red-hover);
    box-shadow: 0 4px 15px rgba(192, 30, 46, 0.2);
}

.login-divider-row {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2.5rem 0;
    position: relative;
}

.login-divider-line {
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #E2EAE5;
    z-index: 1;
}

.login-divider-text {
    background-color: var(--bg-white);
    padding: 0 1rem;
    font-size: 0.7rem;
    font-weight: 700;
    color: #BAC7BF;
    letter-spacing: 1px;
    z-index: 2;
    text-transform: uppercase;
}

.login-signup-prompt {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.login-signup-prompt a {
    color: var(--primary-red);
    font-weight: 700;
    margin-left: 0.25rem;
}

.login-signup-prompt a:hover {
    text-decoration: underline;
}

.login-right-footer {
    font-size: 0.65rem;
    font-weight: 600;
    color: #C1CDC5;
    letter-spacing: 0.5px;
    line-height: 1.5;
    text-transform: uppercase;
    max-width: 420px;
    width: 100%;
    margin: 0 auto;
}

@media (max-width: 1024px) {
    .login-split-container {
        grid-template-columns: 1fr;
        height: auto;
        overflow: visible;
    }
    .login-left {
        padding: 6rem 2rem 4rem;
        min-height: 400px;
        justify-content: center;
    }
    .login-left-header {
        top: 2rem;
        left: 2rem;
    }
    .login-quote {
        font-size: 2.2rem;
    }
    .login-right {
        padding: 4rem 2rem;
        height: auto;
    }
    .login-right-middle {
        margin: 0 auto;
    }
    .login-signup-prompt {
        margin-bottom: 2.5rem;
    }
}

/* ==========================================================================
   8. LUPA SANDI PAGE SPECIFIC STYLES (pages.login-user.lupasandi)
   ========================================================================== */

.lupa-page-wrapper {
    background-color: #F4F8F5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.lupa-header {
    height: 80px;
    padding: 0 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #F4F8F5;
    border-bottom: 1px solid rgba(0, 0, 0, 0.02);
}

.lupa-header-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.lupa-back-btn {
    font-size: 1.25rem;
    color: var(--primary-red);
    transition: var(--transition-smooth);
}

.lupa-back-btn:hover {
    transform: translateX(-3px);
    color: var(--primary-red-hover);
}

.lupa-logo {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary-red);
    letter-spacing: -1px;
    text-transform: uppercase;
}

.lupa-logo span {
    font-weight: 400;
    color: var(--text-dark);
}

.lupa-header-right .lupa-help-btn {
    font-size: 1.25rem;
    color: var(--primary-red);
    transition: var(--transition-smooth);
}

.lupa-header-right .lupa-help-btn:hover {
    color: var(--primary-red-hover);
    transform: scale(1.05);
}

.lupa-split-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    flex-grow: 1;
    margin: 0;
    padding: 0;
    background-color: #F4F8F5;
}

.lupa-left {
    position: relative;
    background: linear-gradient(rgba(30, 46, 37, 0.45), rgba(30, 46, 37, 0.65)), url('https://images.unsplash.com/photo-1568667256549-094345857637?auto=format&fit=crop&q=80&w=1000') no-repeat center center / cover;
    padding: 5rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 550px;
    color: var(--text-light);
}

.lupa-left-content {
    max-width: 500px;
}

.lupa-tagline {
    font-size: 0.75rem;
    font-weight: 700;
    color: #E2C1B6;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    display: block;
}

.lupa-quote {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
    letter-spacing: -1px;
}

.lupa-left-line {
    width: 80px;
    height: 4px;
    background-color: var(--primary-red);
}

.lupa-right {
    background-color: #F4F8F5;
    padding: 5rem 6rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.lupa-right-inner {
    max-width: 420px;
    width: 100%;
    margin: auto 0;
    margin-left: auto;
    margin-right: auto;
}

.lupa-right-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.lupa-right-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 3rem;
}

.btn-lupa-submit {
    background-color: var(--primary-red);
    color: var(--text-light);
    width: 100%;
    padding: 1.1rem;
    border: none;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    display: block;
}

.btn-lupa-submit:hover {
    background-color: var(--primary-red-hover);
    box-shadow: 0 4px 15px rgba(192, 30, 46, 0.2);
}

.lupa-back-login-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-blue-grey);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition-smooth);
}

.lupa-back-login-link:hover {
    color: var(--primary-red);
}

.lupa-security-note {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    font-size: 0.75rem;
    color: #83948A;
    line-height: 1.5;
    margin: 3rem auto 1.5rem;
    max-width: 420px;
    width: 100%;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 2rem;
}

.lupa-security-note i {
    font-size: 1rem;
    color: #83948A;
    margin-top: 0.15rem;
}

.lupa-right-footer {
    font-size: 0.65rem;
    font-weight: 700;
    color: #BAC7BF;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    max-width: 420px;
    width: 100%;
    margin: 0 auto;
}

@media (max-width: 1024px) {
    .lupa-header {
        padding: 0 2rem;
    }
    .lupa-split-container {
        grid-template-columns: 1fr;
    }
    .lupa-left {
        padding: 4rem 2rem;
        min-height: 380px;
        justify-content: center;
    }
    .lupa-quote {
        font-size: 2.2rem;
    }
    .lupa-right {
        padding: 4rem 2rem;
    }
}

/* ==========================================================================
   9. RESET SANDI PAGE SPECIFIC STYLES (pages.login-user.resetsandi)
   ========================================================================== */

.reset-split-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    flex-grow: 1;
    margin: 0;
    padding: 0;
    background-color: #F4F8F5;
}

.reset-left {
    position: relative;
    background: linear-gradient(rgba(30, 46, 37, 0.45), rgba(30, 46, 37, 0.65)), url('https://images.unsplash.com/photo-1507842217343-583bb7270b66?auto=format&fit=crop&q=80&w=1000') no-repeat center center / cover;
    padding: 5rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 550px;
    color: var(--text-light);
}

.reset-left-content {
    max-width: 500px;
    margin-bottom: 2rem;
}

.reset-tagline {
    font-size: 0.75rem;
    font-weight: 700;
    color: #E2C1B6;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    display: block;
}

.reset-quote {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -1px;
}

.reset-right {
    background-color: #F4F8F5;
    padding: 5rem 6rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.reset-right-inner {
    max-width: 420px;
    width: 100%;
    margin: auto 0;
}

.reset-right-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-red);
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.reset-right-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 3rem;
}

.btn-reset-submit {
    background-color: var(--primary-red);
    color: var(--text-light);
    width: 100%;
    padding: 1.1rem;
    border: none;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
    margin-top: 1rem;
    margin-bottom: 2rem;
    text-align: center;
    display: block;
    box-shadow: 0 4px 10px rgba(192, 30, 46, 0.15);
}

.btn-reset-submit:hover {
    background-color: var(--primary-red-hover);
    box-shadow: 0 6px 20px rgba(192, 30, 46, 0.25);
    transform: translateY(-1px);
}

.reset-back-login-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: var(--transition-smooth);
}

.reset-back-login-link:hover {
    color: var(--primary-red);
}

/* Footer Reset Page */
.reset-footer {
    background-color: var(--bg-white);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 2rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.reset-footer-left {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.reset-footer-logo {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--primary-red);
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

.reset-footer-logo span {
    font-weight: 400;
    color: var(--text-dark);
}

.reset-footer-copy {
    font-size: 0.65rem;
    font-weight: 700;
    color: #BAC7BF;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.reset-footer-right {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.reset-footer-link {
    font-size: 0.7rem;
    font-weight: 700;
    color: #83948A;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: var(--transition-smooth);
}

.reset-footer-link:hover {
    color: var(--primary-red);
}

@media (max-width: 1024px) {
    .reset-split-container {
        grid-template-columns: 1fr;
    }
    .reset-left {
        padding: 4rem 2rem;
        min-height: 380px;
        justify-content: center;
    }
    .reset-quote {
        font-size: 2.2rem;
    }
    .reset-right {
        padding: 4rem 2rem;
    }
    .reset-footer {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
        padding: 2rem;
    }
    .reset-footer-right {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
}

/* ==========================================================================
   10. TIM INISIATOR PAGE SPECIFIC STYLES (pages.inisiator)
   ========================================================================== */

.inisiator-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 5rem 2rem;
}

.inisiator-tagline {
    color: var(--primary-red);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    display: block;
}

.inisiator-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.inisiator-desc {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-muted);
    max-width: 700px;
    margin-bottom: 5rem;
}

.inisiator-list {
    display: flex;
    flex-direction: column;
}

.inisiator-row {
    display: flex;
    gap: 5rem;
    align-items: flex-start;
    margin-bottom: 7rem;
}

.inisiator-row:last-child {
    margin-bottom: 2rem;
}

.inisiator-row.reverse {
    flex-direction: row-reverse;
}

.inisiator-row.reverse .inisiator-info {
    text-align: right;
}

.inisiator-img-wrapper {
    flex-shrink: 0;
    width: 320px;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.inisiator-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: var(--transition-smooth);
}

.inisiator-img-wrapper:hover .inisiator-img {
    filter: grayscale(0%);
    transform: scale(1.03);
}

.inisiator-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 1rem;
}

.inisiator-role {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--primary-red);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    display: block;
}

.inisiator-name {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.1;
    margin-bottom: 0.25rem;
}

.inisiator-edu {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--accent-blue-grey);
    margin-bottom: 2rem;
    display: block;
}

.inisiator-quote-box {
    position: relative;
    margin-bottom: 2rem;
}

.inisiator-quote {
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text-dark);
    font-style: normal;
    position: relative;
    display: inline-block;
}

.inisiator-quote-box::before {
    content: '“';
    font-size: 5rem;
    font-weight: 900;
    font-family: serif;
    color: rgba(192, 30, 46, 0.1);
    position: absolute;
    top: -2.5rem;
    left: -1.5rem;
    line-height: 1;
}

.inisiator-row.reverse .inisiator-quote-box::before {
    left: auto;
    right: -1.5rem;
    content: '”';
}

.inisiator-bio {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-muted);
}

.inisiator-bio p {
    margin-bottom: 1.25rem;
}

.inisiator-bio p:last-child {
    margin-bottom: 0;
}

@media (max-width: 868px) {
    .inisiator-row, .inisiator-row.reverse {
        flex-direction: column;
        gap: 2rem;
        margin-bottom: 5rem;
    }
    .inisiator-row.reverse .inisiator-info {
        text-align: left;
    }
    .inisiator-row.reverse .inisiator-quote-box::before {
        right: auto;
        left: -1.5rem;
        content: '“';
    }
    .inisiator-img-wrapper {
        width: 100%;
        max-width: 320px;
        height: 380px;
        margin: 0 auto;
    }
    .inisiator-title {
        font-size: 2.8rem;
    }
}

/* ==========================================================================
   5. BOOK DETAIL PAGE SPECIFIC STYLES (pages.detailbuku)
   ========================================================================== */

.book-detail-section {
    max-width: 1200px;
    margin: 4rem auto 6rem;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 4rem;
}

.book-detail-left {
    position: relative;
}

.book-cover-large {
    width: 100%;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    object-fit: cover;
    aspect-ratio: 2/3;
}

.book-status-card {
    position: absolute;
    bottom: 2rem;
    right: -2rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1.5rem 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255, 255, 255, 0.5);
    z-index: 10;
}

.book-status-card .status-label {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    display: block;
}

.book-status-card .status-value {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--primary-red);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
}

.book-status-card .status-value i {
    font-size: 0.85rem;
}

.book-detail-right {
    display: flex;
    flex-direction: column;
}

.breadcrumb {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.breadcrumb span {
    color: var(--primary-red);
}

.detail-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-dark);
    margin-bottom: 2.5rem;
    letter-spacing: -1px;
}

.detail-title .highlight {
    color: var(--primary-red);
}

.meta-grid {
    display: flex;
    gap: 4rem;
    margin-bottom: 3rem;
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.meta-label {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.meta-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
}

.detail-quote {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--text-muted);
    font-style: italic;
    position: relative;
    padding-left: 2rem;
    margin-bottom: 3rem;
    border-left: 0;
}

.detail-quote::before {
    content: '\f10d';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: -0.5rem;
    top: 0;
    color: rgba(192, 30, 46, 0.15);
    font-size: 2.5rem;
    z-index: -1;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 4rem;
}

.btn-primary-action, .btn-secondary-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.1rem 2rem;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-primary-action {
    background-color: var(--primary-red);
    color: var(--text-light);
    border: none;
    box-shadow: 0 4px 10px rgba(192, 30, 46, 0.2);
}

.btn-primary-action:hover {
    background-color: var(--primary-red-hover);
    transform: translateY(-2px);
}

.btn-secondary-action {
    background-color: #E6ECE8;
    color: var(--text-dark);
    border: 1px solid rgba(0,0,0,0.05);
}

.btn-secondary-action:hover {
    background-color: #DDE5E0;
    transform: translateY(-2px);
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.spec-box {
    background-color: #E8F0EB;
    padding: 1.5rem;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.spec-box .meta-label {
    font-size: 0.65rem;
}

.spec-box .meta-value {
    font-size: 1rem;
}

/* Lower Section */
.detail-lower-section {
    max-width: 1200px;
    margin: 0 auto 6rem;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 4rem;
}

.curator-note {
    display: flex;
    flex-direction: column;
}

.curator-title {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--primary-red);
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.curator-text {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text-muted);
}

.author-card {
    background-color: #E8F0EB;
    border-radius: 8px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.author-card-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.author-card-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-muted);
    max-width: 80%;
    position: relative;
    z-index: 2;
}

.author-card-watermark {
    position: absolute;
    right: -2rem;
    bottom: -3rem;
    font-size: 12rem;
    color: rgba(200, 212, 206, 0.4);
    z-index: 1;
}

@media (max-width: 868px) {
    .book-detail-section, .detail-lower-section {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .book-detail-left {
        max-width: 320px;
        margin: 0 auto;
    }
    
    .meta-grid {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .specs-grid {
        grid-template-columns: 1fr;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .detail-title {
        font-size: 3.5rem;
    }
    
    .book-status-card {
        right: 0;
        bottom: 0;
    }
}

/* ==========================================================================
   6. ARTICLE DETAIL PAGE SPECIFIC STYLES (pages.detailartikel)
   ========================================================================== */

.article-detail-section {
    max-width: 900px;
    margin: 4rem auto 2rem;
    padding: 0 2rem;
}

.article-detail-header {
    text-align: center;
    margin-bottom: 3rem;
}

.article-detail-badge {
    display: inline-block;
    background-color: #E8F0FE;
    color: #1A73E8;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.5rem;
}

.article-detail-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 2rem;
}

.article-detail-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.article-detail-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.article-detail-hero {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 4rem;
    padding: 0 2rem;
}

.article-detail-hero img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.article-detail-body {
    max-width: 1000px;
    margin: 0 auto 6rem;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 4rem;
}

.article-social-sidebar {
    position: sticky;
    top: 6rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    height: max-content;
}

.article-social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--text-muted);
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    font-size: 1.1rem;
}

.article-social-link:hover {
    color: var(--primary-red);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-blockquote {
    background-color: #F4F8F5;
    padding: 3rem;
    border-radius: 12px;
    margin: 3rem 0;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.article-blockquote i {
    font-size: 2rem;
    color: var(--primary-red);
    margin-bottom: 1rem;
    display: block;
}

.article-blockquote p {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.article-blockquote cite {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--primary-red);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-style: normal;
}

.article-inline-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 3rem 0;
}

.article-inline-images img {
    width: 100%;
    border-radius: 8px;
    height: 300px;
    object-fit: cover;
    box-shadow: var(--shadow-sm);
}

.article-footer-tags {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.article-tags {
    display: flex;
    gap: 1rem;
}

.article-tag-pill {
    background-color: #E8F0FE;
    color: #1A73E8;
    padding: 0.4rem 1.2rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.article-share-text {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.article-share-icons {
    display: flex;
    gap: 1rem;
}

.article-share-icons a {
    color: var(--text-dark);
    font-size: 1.2rem;
    transition: var(--transition-smooth);
}

.article-share-icons a:hover {
    color: var(--primary-red);
}

/* Baca Artikel Lainnya */
.related-articles-section {
    max-width: 1000px;
    margin: 0 auto 6rem;
    padding: 0 2rem;
}

.related-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.related-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-dark);
}

.related-link {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-red);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.related-card {
    text-decoration: none;
}

.related-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
    transition: var(--transition-smooth);
}

.related-card:hover img {
    transform: scale(1.02);
}

.related-card .cat-badge {
    color: var(--primary-red);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    display: block;
}

.related-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text-dark);
    transition: var(--transition-smooth);
}

.related-card:hover h4 {
    color: var(--primary-red);
}

@media (max-width: 868px) {
    .article-detail-body {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .article-social-sidebar {
        flex-direction: row;
        position: static;
        justify-content: center;
        margin-bottom: 2rem;
    }
    
    .article-detail-title {
        font-size: 2rem;
    }
    
    .article-inline-images {
        grid-template-columns: 1fr;
    }
    
    .article-footer-tags {
        flex-direction: column;
        gap: 2rem;
        align-items: flex-start;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   MOBILE & TABLET RESPONSIVENESS OVERRIDES
   ========================================================================== */
@media (max-width: 1024px) {
    .books-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) !important;
        gap: 1.5rem !important;
    }
}

@media (max-width: 768px) {
    /* Header/Navbar mobile drawer */
    .mobile-toggle-btn {
        display: block !important;
    }
    
    .nav-menu {
        position: fixed !important;
        top: 73px !important;
        left: -100% !important;
        width: 280px !important;
        height: calc(100vh - 73px) !important;
        background-color: var(--bg-white) !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        padding: 2rem !important;
        gap: 1.5rem !important;
        box-shadow: 10px 0 20px rgba(0, 0, 0, 0.05) !important;
        transition: var(--transition-smooth) !important;
        z-index: 999 !important;
    }
    
    .nav-menu.active {
        left: 0 !important;
    }
    
    .mobile-search-item {
        display: block !important;
    }
    
    .nav-actions .search-box {
        display: none !important;
    }
    
    .nav-actions {
        order: 2 !important;
    }
    
    .search-box {
        max-width: 150px !important;
    }
    
    .search-input {
        width: 140px !important;
    }
    
    .search-input:focus {
        width: 170px !important;
    }
    
    /* Hero section */
    .hero-container {
        grid-template-columns: 1fr !important;
        text-align: center !important;
        gap: 2rem !important;
    }
    
    .hero-buttons {
        justify-content: center !important;
    }
    
    .hero-image-wrapper {
        margin-top: 1rem !important;
    }
    
    /* About grid homepage */
    .about-grid {
        grid-template-columns: 1fr !important;
        gap: 2.5rem !important;
    }
    
    .about-images {
        flex-direction: row !important;
        gap: 1rem !important;
    }
    
    /* Grids */
    .books-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)) !important;
        gap: 1.2rem !important;
    }
    
    .articles-grid {
        grid-template-columns: 1fr !important;
    }
    
    /* Book detail layout */
    .detail-container {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    .detail-left {
        max-width: 320px !important;
        margin: 0 auto !important;
    }
    
    .detail-lower-section {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    .resensi-section {
        grid-column: span 1 !important;
    }
    
    /* Profile section in about page */
    .profile-section {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    .bts-grid-layout, .bts-grid-layout-bottom {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    
    .bts-card-row {
        flex-direction: column !important;
        gap: 1rem !important;
    }
    
    .bts-card-row img {
        width: 100% !important;
        max-height: 200px !important;
        object-fit: cover !important;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 1rem !important;
    }
    
    .logo {
        font-size: 1.2rem !important;
    }
    
    .nav-actions .search-box {
        display: none !important; /* Hide search box on very small mobile for navbar space */
    }
    
    .btn-signin {
        padding: 0.5rem 1rem !important;
        font-size: 0.8rem !important;
    }
    
    .hero-title {
        font-size: 2.2rem !important;
    }
    
    .footer-top {
        flex-direction: column !important;
        gap: 1.5rem !important;
        text-align: center !important;
    }
    
    .footer-links {
        flex-direction: column !important;
        gap: 1rem !important;
    }
    
    .pagination-container {
        flex-direction: column !important;
        gap: 1rem !important;
    }
}

/* Enforce 3 columns and 4 rows structure on all viewports, including mobile */
.collection-section .books-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

@media (max-width: 768px) {
    .collection-section {
        padding: 1.5rem 0.4rem 4rem !important;
    }

    .collection-section .books-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 1rem 0.35rem !important;
        margin-bottom: 2.5rem !important;
        width: 100% !important;
    }
    
    .collection-section .book-card {
        width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }
    
    .collection-section .book-image-wrapper {
        padding: 0.4rem !important;
        margin-bottom: 0.4rem !important;
        border-radius: 6px !important;
        aspect-ratio: 1 / 1.35 !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }
    
    .collection-section .book-image-container {
        width: 100% !important;
        height: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-shadow: none !important;
    }
    
    .collection-section .book-image {
        width: 100% !important;
        height: 100% !important;
        max-height: none !important;
        max-width: 100% !important;
        object-fit: cover !important;
    }
    
    .collection-section .book-info {
        padding: 0 0.1rem !important;
        text-align: center !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .collection-section .book-category {
        font-size: 0.55rem !important;
        margin-bottom: 0.1rem !important;
        display: block !important;
    }
    
    .collection-section .book-title {
        font-size: 0.68rem !important;
        line-height: 1.2 !important;
        margin-bottom: 0.1rem !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        display: block !important;
        width: 100% !important;
    }
    
    .collection-section .book-author {
        font-size: 0.58rem !important;
        margin-bottom: 0.3rem !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        display: block !important;
        width: 100% !important;
    }
    
    .collection-section .btn-borrow, 
    .collection-section .btn-unavailable {
        padding: 0.3rem 0.1rem !important;
        font-size: 0.52rem !important;
        letter-spacing: 0px !important;
        width: 100% !important;
        min-width: 0 !important;
        border-radius: 4px !important;
        white-space: normal !important; /* Let text wrap so it doesn't push the card width */
        line-height: 1.1 !important;
        box-sizing: border-box !important;
    }
    
    .collection-section .status-badge {
        font-size: 0.42rem !important;
        padding: 0.08rem 0.2rem !important;
        top: 0.2rem !important;
        left: 0.2rem !important;
        right: auto !important;
    }

    .collection-section .status-badge.favorite-badge {
        left: auto !important;
        right: 0.2rem !important;
    }

    /* Hide text inside badges on mobile, so they show as icons or small markers */
    .collection-section .status-badge .badge-txt {
        display: none !important;
    }
}

/* ==========================================================================
   ARTICLE FORMATTED CONTENT STYLING (Rich Text)
   ========================================================================== */
.article-formatted-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.article-formatted-content p {
    margin-bottom: 1.5rem;
}

.article-formatted-content h1,
.article-formatted-content h2,
.article-formatted-content h3,
.article-formatted-content h4 {
    color: var(--text-dark);
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.article-formatted-content h1 { font-size: 2rem; }
.article-formatted-content h2 { font-size: 1.75rem; }
.article-formatted-content h3 { font-size: 1.5rem; }

.article-formatted-content ul,
.article-formatted-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.article-formatted-content ul li {
    list-style-type: disc;
    margin-bottom: 0.5rem;
}

.article-formatted-content ol li {
    list-style-type: decimal;
    margin-bottom: 0.5rem;
}

.article-formatted-content b,
.article-formatted-content strong {
    font-weight: 700;
    color: var(--text-dark);
}

.article-formatted-content i,
.article-formatted-content em {
    font-style: italic;
}

.article-formatted-content blockquote {
    border-left: 4px solid var(--primary-red);
    background-color: var(--bg-theme);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    font-style: italic;
    border-radius: 0 8px 8px 0;
    color: var(--text-muted);
}

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

.article-formatted-content a:hover {
    color: var(--primary-red-hover);
    text-decoration: none;
}

.article-formatted-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
}


