/* Blog-specific styles for list and detail pages */

/* Hero sections */
.blog-hero {
    padding: 190px 60px 60px;
}

.blog-hero-detail {
    padding: 190px 60px 40px;
}

/* Program sections */
.blog-section {
    flex-direction: column;
    align-items: center;
}

.blog-section-detail {
    display: block !important;
    /* Override flex from program-section */
    padding: 40px 80px;
    text-align: left;
    /* Reset text align if needed */
    height: auto !important;
    overflow: visible !important;
}

/* Blog grid and empty state */
.blog-grid {
    max-width: 1200px;
    width: 100%;
    margin-top: 2rem;
}

.blog-empty {
    text-align: center;
    grid-column: 1/-1;
    padding: 3rem;
    color: #666;
}

/* Blog card (article item in list) */
.blog-card {
    background: #fff;
    transition: background 0.25s ease, transform 0.25s ease;
}

.blog-card:hover,
.blog-card:hover * {
    color: #fff !important;
}

.blog-card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}

.blog-category {
    display: inline-block;
    font-size: 12px;
    color: #d52c2c;
    font-weight: 600;
    margin-bottom: 8px;
}

.blog-title {
    margin-bottom: 10px;
}

.blog-title-link {
    color: #d52c2c;
    text-decoration: none;
}

.blog-title-link:hover {
    color: #fff !important;
    letter-spacing: 0.3px;
    text-shadow: 0 5px 0 #000000;
    font-weight: 700;
}


.blog-excerpt {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
    margin-bottom: 12px;
}

.blog-meta {
    font-size: 12px;
    color: #999;
}

/* Detail page specific */
.blog-detail-category {
    font-size: 12px;
    padding: 6px 14px;
    margin-bottom: 15px;
    display: inline-block;
}

.blog-detail-title {
    font-size: 36px;
}

.blog-detail-meta {
    font-size: 14px;
    margin-top: 15px;
}

.blog-article {
    max-width: 800px;
    width: 100%;
}

.blog-cover {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 30px;
}

.blog-body {
    font-size: 17px;
    line-height: 1.9;
    color: #333;
}

/* =========================
   ARTICLE RICH TEXT CONTENT
========================= */

.article-content {
    font-size: 17px;
    line-height: 1.9;
    color: #333;
}

.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.3;
    color: #1a1a1a;
}

.article-content h1 {
    font-size: 2.2rem;
}

.article-content h2 {
    font-size: 1.8rem;
    border-bottom: 2px solid #d52c2c;
    padding-bottom: 10px;
}

.article-content h3 {
    font-size: 1.5rem;
}

.article-content h4 {
    font-size: 1.25rem;
}

.article-content h5 {
    font-size: 1.1rem;
}

.article-content h6 {
    font-size: 1rem;
    color: #555;
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content strong,
.article-content b {
    font-weight: 700;
    color: #1a1a1a;
}

.article-content em,
.article-content i {
    font-style: italic;
}

.article-content u {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.article-content s,
.article-content strike {
    text-decoration: line-through;
    color: #888;
}

.article-content a {
    color: #d52c2c;
    text-decoration: none;
    border-bottom: 1px solid #d52c2c;
    transition: all 0.2s ease;
}

.article-content a:hover {
    background: #d52c2c;
    color: #fff;
    padding: 0 4px;
    border-radius: 2px;
}

.article-content blockquote {
    margin: 2rem 0;
    padding: 1.5rem 2rem;
    background: #fdf8f3;
    border-left: 5px solid #d52c2c;
    font-style: italic;
    color: #555;
    border-radius: 0 10px 10px 0;
}

.article-content blockquote p:last-child {
    margin-bottom: 0;
}

.article-content ul,
.article-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

.article-content ul li::marker {
    color: #d52c2c;
}

.article-content ol li::marker {
    color: #d52c2c;
    font-weight: 600;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 1.5rem 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.article-content figure {
    margin: 2rem 0;
    text-align: center;
}

.article-content figcaption {
    font-size: 14px;
    color: #888;
    margin-top: 10px;
    font-style: italic;
}

.article-content pre,
.article-content code {
    font-family: 'Consolas', 'Monaco', monospace;
    background: #f5f5f5;
    border-radius: 6px;
}

.article-content code {
    padding: 2px 6px;
    font-size: 0.9em;
    color: #d52c2c;
}

.article-content pre {
    padding: 1rem 1.5rem;
    overflow-x: auto;
    margin: 1.5rem 0;
    border: 1px solid #ddd;
}

.article-content pre code {
    background: none;
    color: #333;
    padding: 0;
}

.article-content hr {
    margin: 2.5rem 0;
    border: none;
    border-top: 2px dashed #ddd;
}

.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.95em;
}

.article-content th,
.article-content td {
    padding: 12px 15px;
    border: 1px solid #ddd;
    text-align: left;
}

.article-content th {
    background: #f5f5f5;
    font-weight: 600;
}

.article-content tbody tr:hover {
    background: #fdf8f3;
}

/* Blog Footer */
.blog-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 2px solid #eee;
}

.blog-section-detail .btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: 2px solid #000;
    text-decoration: none;
    color: #ffffff;
    font-weight: 600;
    border-radius: 8px;
    background: #d52c2c;
    transition: all 0.15s ease;
    position: relative;
}

.blog-section-detail .btn-outline:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 4px 4px 0 #d52c2c;
    background: #000;
    color: #ffffff;
}

.blog-section-detail .btn-outline:active {
    transform: translateY(1px);
    box-shadow: 1px 1px 0 #d52c2c;
}

/* =========================
   BLOG FILTER CATEGORY
========================= */

.blog-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto 30px;
}

/* tombol default */
.blog-filter .filter-btn {
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;

    background: #fff;
    color: #000000;

    border: 2px solid #ddd;
    border-radius: 25px;

    transition: all 0.3s ease;
}

/* hover */
.blog-filter .filter-btn:hover {
    border-color: #d52c2c;
    color: #d52c2c;
    transform: translateY(-2px);
}

/* active category */
.blog-filter .filter-btn.is-active {
    background: #d52c2c;
    border-color: #d52c2c;
    color: #fff;
}

.blog-filter-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.blog-search-container {
    width: 100%;
    display: flex;
    justify-content: center;
}

.blog-search-form {
    width: 100%;
    max-width: 500px;
}

.search-input-wrapper {
    display: flex;
    border: 2px solid #ddd;
    border-radius: 30px;
    overflow: hidden;
    background: #fff;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.search-input-wrapper:focus-within {
    border-color: var(--primary-color, #e63946);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.search-input {
    flex: 1;
    padding: 12px 24px;
    border: none;
    outline: none;
    font-size: 1rem;
}

.search-input::placeholder {
    color: #999;
}

.search-btn {
    padding: 12px 20px;
    background: var(--primary-color, #e63946);
    color: white;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

.search-btn:hover {
    background: var(--primary-dark, #c0202d);
}



/* =========================
   SPLIT LAYOUT - DETAIL PAGE
========================= */

.blog-layout {
    display: flex;
    gap: 40px;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    /* Center content */
    height: auto !important;
    overflow: visible !important;
}

.blog-main {
    flex: 1;
    min-width: 0;
    height: auto !important;
    overflow: visible !important;
}

.blog-sidebar {
    width: 320px;
    flex-shrink: 0;
}


/* =========================
   SIDEBAR WIDGETS
========================= */

.sidebar-widget {
    background: #fff;
    border: 2px solid #000;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
}

.sidebar-title {
    font-size: 18px;
    font-weight: 700;
    color: #000;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #d52c2c;
}


/* Categories Widget */
.sidebar-categories {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-categories li {
    margin-bottom: 8px;
}

.sidebar-categories a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    text-decoration: none;
    color: #333;
    background: #f8f8f8;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.sidebar-categories a:hover {
    background: #d52c2c;
    color: #fff;
    transform: translateX(4px);
}

.sidebar-categories a:hover .category-count {
    background: #fff;
    color: #d52c2c;
}

.category-count {
    background: #d52c2c;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 12px;
    transition: all 0.2s ease;
}


/* Recent Posts Widget */
.sidebar-posts {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-post-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.sidebar-post-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.sidebar-post-item:first-child {
    padding-top: 0;
}

.sidebar-post-thumb {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
}

.sidebar-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.sidebar-post-thumb:hover img {
    transform: scale(1.1);
}

.sidebar-post-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sidebar-post-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.sidebar-post-title:hover {
    color: #d52c2c;
}

.sidebar-post-date {
    font-size: 12px;
    color: #999;
    margin-top: 4px;
}


/* =========================
   RESPONSIVE - MOBILE
========================= */

@media (max-width: 900px) {
    .blog-layout {
        flex-direction: column;
    }

    .blog-sidebar {
        width: 100%;
        margin-top: 40px;
    }

    .blog-section-detail {
        padding: 40px 20px;
    }
}


/* =========================
   TAGS WIDGET (Tag Cloud)
========================= */

.sidebar-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-item {
    display: inline-block;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    color: #333;
    background: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 20px;
    transition: all 0.2s ease;
}

.tag-item:hover {
    background: #d52c2c;
    color: #fff;
    border-color: #d52c2c;
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(213, 44, 44, 0.3);
}

/* =========================
   CONTRIBUTOR INFO (Article Detail)
========================= */

.article-contributor {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 20px 0 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #eee;
}

.contributor-avatar {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    background: #f0f0f0;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #f8f8f8;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.contributor-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contributor-details p {
    margin: 0;
    font-size: 16px;
    color: #555;
    line-height: 1.5;
}

.contributor-by {
    font-weight: 500;
}

.contributor-by a {
    font-weight: 700;
    color: #333;
    text-decoration: none;
    border-bottom: 2px solid #d52c2c;
    transition: all 0.2s ease;
}

.contributor-by a:hover {
    background: #d52c2c;
    color: #fff;
    padding: 0 4px;
    border-radius: 4px;
}

/* =========================
   CONTRIBUTORS DIRECTORY
========================= */

/* =========================
   CONTRIBUTORS DIRECTORY
========================= */

.contributors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    padding: 40px 0 80px;
    /* Added bottom padding */
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.contributor-card {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Bouncy transition */
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.contributor-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #d52c2c;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.contributor-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.contributor-card:hover::before {
    transform: scaleX(1);
}

.contributor-card-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 25px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    background: #fff;
    transition: transform 0.4s ease;
}

.contributor-card-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contributor-card:hover .contributor-card-avatar {
    transform: scale(1.1) rotate(3deg);
}

.contributor-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.contributor-card:hover .contributor-name {
    color: #d52c2c;
}

.contributor-excerpt {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-top: auto;
    /* Push to bottom if content varies */
}

/* =========================
   AUTHOR PROFILE HEADER
========================= */
.author-header-wrapper {
    background: #fdfdfd;
    border-bottom: 1px solid #eee;
    padding: 60px 0;
}

.author-header {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.author-profile {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.author-big-avatar {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.author-info {
    flex: 1;
}

.author-name {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 15px;
    color: #333;
}

.author-bio {
    font-size: 18px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
}

.author-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.author-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 20px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s ease;
}

.author-link:hover {
    background: #333;
    color: #fff;
    border-color: #333;
}

.author-posts-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 24px;
    position: relative;
    padding-bottom: 15px;
}

.author-posts-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #d52c2c;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .author-profile {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .author-links {
        justify-content: center;
    }
}

/* =========================
   AUTHOR PROFILE REDESIGN (Koalisi Seni Style)
========================= */

.author-page-container {
    padding: 120px 40px 60px;
    max-width: 1300px;
    margin: 0 auto;
    background: #fdfdfd;
}

.author-layout {
    display: flex;
    gap: 60px;
}

/* --- Left Sidebar --- */
.author-sidebar {
    width: 300px;
    flex-shrink: 0;
    padding-top: 10px;
}

.author-name-sidebar {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 5px;
    color: #000;
}

.author-location {
    font-size: 14px;
    color: #666;
    margin-bottom: 25px;
}

.author-divider {
    height: 3px;
    width: 60px;
    background: #000;
    margin-bottom: 30px;
}

.author-contact-info {
    font-size: 14px;
    color: #444;
    line-height: 1.6;
}

.contact-item {
    margin-bottom: 20px;
}

.contact-label {
    display: block;
    font-size: 12px;
    color: #888;
    margin-bottom: 4px;
}

.contact-link {
    color: #333;
    text-decoration: none;
    transition: color 0.2s;
    word-break: break-all;
}

.contact-link:hover {
    color: #d52c2c;
    text-decoration: underline;
}

.link-red {
    color: #d52c2c;
}

/* --- Right Main Content --- */
.author-main-content {
    flex: 1;
    min-width: 0;
}

.author-cover-image {
    width: 100%;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 30px;
    border: 1px solid #eee;
}

.author-cover-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-bio-text {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 50px;
}

.author-bio-text strong {
    font-weight: 700;
    color: #000;
}

/* --- Works Grid --- */
.author-works-section {
    border-top: 2px solid #eee;
    padding-top: 30px;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.work-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s;
}

.work-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.work-card-img-link {
    display: block;
    height: 180px;
    overflow: hidden;
}

.work-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.work-card:hover .work-card-img {
    transform: scale(1.05);
}

.work-card-body {
    padding: 20px;
}

.work-cat {
    font-size: 11px;
    color: #d52c2c;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    display: block;
}

.work-title {
    font-size: 18px;
    line-height: 1.4;
    margin-bottom: 10px;
    font-weight: 700;
}

.work-title a {
    color: #000;
    text-decoration: none;
}

.work-title a:hover {
    color: #d52c2c;
}

.work-excerpt {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.work-date {
    font-size: 12px;
    color: #999;
}

/* ============================================
   PAGINATION STYLES - Blog Mentas
   Mirip dengan design yang diberikan
   ============================================ */

.pagination-wrapper {
    margin: 3rem auto;
    padding: 2rem 0;
    max-width: 1200px;
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

/* Buttons - Previous & Next */
.pagination-btn {
    padding: 0.75rem 1.5rem;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 100px;
}

.pagination-btn:hover:not(.disabled) {
    background: #000;
    color: #fff;
    border-color: #000;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.pagination-btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: #f5f5f5;
    color: #999;
}

/* Page Numbers Container */
.pagination-numbers {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Individual Page Numbers */
.pagination-number {
    width: 45px;
    height: 45px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #e0e0e0;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.pagination-number:hover {
    background: #f5f5f5;
    border-color: #ccc;
    transform: scale(1.05);
}

.pagination-number.active {
    background: #000;
    color: #fff;
    border-color: #000;
    cursor: default;
    font-weight: 600;
}

.pagination-number.active:hover {
    transform: none;
}

/* Dots between numbers */
.pagination-dots {
    color: #999;
    padding: 0 0.25rem;
    font-weight: bold;
}

/* Pagination Info Text */
.pagination-info {
    text-align: center;
    color: #666;
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* ========================================
   Article Detail Page Styles
   ======================================== */

/* Author Social Media Section */
.author-social-links {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.author-social-links h4 {
    font-size: 16px;
    margin-bottom: 15px;
}

.author-social-links .social-icons {
    display: flex;
    gap: 20px;
}

.author-social-links a {
    text-decoration: none;
    font-size: 24px;
    transition: opacity 0.3s ease;
}

.author-social-links a:hover {
    opacity: 0.7;
}

.author-social-links .social-website {
    color: #333;
}

.author-social-links .social-instagram {
    color: #E1306C;
}

.author-social-links .social-facebook {
    color: #1877F2;
}

.author-social-links .social-twitter {
    color: #1DA1F2;
}

/* Share Article Section */
.share-article-section {
    margin-top: 40px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 2px solid #eee;
}

.share-article-section h4 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #333;
}

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Share Buttons Base Style */
.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Individual Share Button Colors */
.share-whatsapp {
    background: #25D366;
}

.share-whatsapp:hover {
    background: #1da851;
}

.share-facebook {
    background: #1877F2;
}

.share-facebook:hover {
    background: #0d65d9;
}

.share-twitter {
    background: #000;
}

.share-twitter:hover {
    background: #333;
}

.share-copy {
    background: #6c757d;
}

.share-copy:hover {
    background: #5a6268;
}

/* Comments Section */
.comments-section {
    margin-top: 50px;
}

.comments-section>h3 {
    margin-bottom: 20px;
}

/* Comments List */
.comments-list {
    margin-bottom: 40px;
}

.comment-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.comment-item:last-child {
    border-bottom: none;
}

.comment-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.comment-header strong {
    margin-right: 10px;
}

.comment-header small {
    color: #666;
}

.comment-body {
    color: #333;
    line-height: 1.6;
}

.comments-list>p {
    color: #666;
}

/* Comment Form */
.comment-form-wrapper {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
}

.comment-form-wrapper h4 {
    margin-bottom: 15px;
}

.comment-form .form-group {
    margin-bottom: 15px;
}

.comment-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

.comment-form .form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.comment-form .form-control:focus {
    outline: none;
    border-color: #e63946;
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.1);
}

.comment-form textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

.comment-form .btn-primary {
    background: #e63946;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.3s ease;
}

.comment-form .btn-primary:hover {
    background: #d62828;
}

/* Responsive Design */
@media (max-width: 768px) {
    .author-social-links .social-icons {
        gap: 15px;
    }

    .author-social-links a {
        font-size: 20px;
    }

    .share-article-section {
        padding: 20px;
    }

    .share-buttons {
        flex-direction: column;
    }

    .share-btn {
        width: 100%;
        justify-content: center;
    }

    .comment-form-wrapper {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .share-article-section {
        padding: 15px;
    }

    .comment-form-wrapper {
        padding: 15px;
    }

    .share-btn {
        font-size: 13px;
        padding: 8px 15px;
    }
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */

@media (max-width: 768px) {
    .pagination {
        gap: 0.25rem;
    }

    .pagination-btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
        min-width: 80px;
    }

    .pagination-number {
        width: 38px;
        height: 38px;
        font-size: 0.85rem;
    }

    .pagination-info {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .pagination-wrapper {
        padding: 1rem 0;
    }

    .pagination {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .pagination-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
        min-width: 70px;
    }

    .pagination-number {
        width: 35px;
        height: 35px;
        font-size: 0.8rem;
    }

    /* Hide some page numbers on very small screens */
    .pagination-number:not(.active):nth-child(n+4):nth-last-child(n+4) {
        display: none;
    }
}

/* ============================================
   ALTERNATIVE MINIMAL STYLE
   (uncomment jika mau style lebih minimalis)
   ============================================ */

/*
.pagination-wrapper.minimal .pagination-btn {
    border-radius: 4px;
    border: none;
    background: #f5f5f5;
}

.pagination-wrapper.minimal .pagination-number {
    border-radius: 4px;
}

.pagination-wrapper.minimal .pagination-number.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
*/

/* ============================================
   ACCESSIBILITY
   ============================================ */

.pagination-btn:focus,
.pagination-number:focus {
    outline: 2px solid #4A90E2;
    outline-offset: 2px;
}

/* Screen reader only text */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .author-layout {
        flex-direction: column;
        gap: 40px;
    }

    .author-sidebar {
        width: 100%;
        border-bottom: 1px solid #eee;
        padding-bottom: 30px;
    }

    .author-cover-image {
        height: 250px;
    }
}