/* ========================================
   Page Header / Breadcrumb
======================================== */
.page-header {
    background: var(--primary-maroon);
    padding-bottom: 80px;
    /* Lebih luas di bawah */
    padding-top: 280px;
    /* Dikurangi agar breadcrumb tidak tertutup menu (280px -> 200px) */
    margin-top: -100px;
    /* Tarik ke atas agar background ada di balik header */
    position: relative;
    overflow: hidden;
    border-radius: 0 0 50px 50px;
    /* Rounded corner bawah agar tidak kaku */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Dengan gambar sampul: tampilkan gambar + overlay maroon */
.page-header.has-cover-image {
    background: var(--primary-maroon-dark);
}

.page-header.has-cover-image::after {
    content: '';
    position: absolute;
    /* Reset nilai dari circle glow default */
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
    /* Cover image */
    background-image: var(--cover-image);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0.25;
    z-index: 0;
    pointer-events: none;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../../assets/images/pattern.png') repeat;
    opacity: 0.08;
    mix-blend-mode: overlay;
    /* Blend mode agar pattern lebih menyatu */
    z-index: 1;
}

/* Dekorasi tambahan (Circle Glow) */
.page-header::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.page-header-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
}

.page-header h1 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: var(--spacing-md);
}

.breadcrumbs {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    font-size: 0.95rem;
}

.breadcrumbs a {
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumbs a:hover {
    color: var(--secondary-gold);
}

.breadcrumbs span {
    color: var(--secondary-gold);
}

.breadcrumbs .separator {
    color: rgba(255, 255, 255, 0.5);
}

/* Hide post title in breadcrumb on all devices */
.breadcrumbs .post-title {
    display: none;
}

.breadcrumbs .post-title-separator {
    display: none;
}

/* Page Header for Single Post - Compact */
.page-header-single {
    padding-top: 280px !important;
    padding-bottom: 40px !important;
    border-radius: 0 0 30px 30px !important;
}

.page-header-single .page-header-content {
    text-align: center;
}

.page-header-single .breadcrumbs {
    justify-content: center;
}

/* ========================================
   Blog / News Archive
======================================== */
.blog-archive {
    padding: var(--spacing-3xl) 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--spacing-2xl);
}

.blog-posts {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    display: grid;
    grid-template-columns: 300px 1fr;
    transition: all var(--transition-normal);
}

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

.blog-card-image {
    height: 100%;
    min-height: 250px;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.1);
}

.blog-card-content {
    padding: var(--spacing-xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-card-meta {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    font-size: 0.85rem;
    color: var(--medium-gray);
}

.blog-card-title {
    font-size: 1.35rem;
    margin-bottom: var(--spacing-md);
    line-height: 1.4;
}

.blog-card-title a {
    color: var(--charcoal);
}

.blog-card-title a:hover {
    color: var(--primary-maroon);
}

.blog-card-excerpt {
    color: var(--medium-gray);
    margin-bottom: var(--spacing-lg);
}

/* Sidebar */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

.sidebar-widget {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.sidebar-widget h3 {
    font-size: 1.1rem;
    color: var(--primary-maroon);
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 2px solid var(--secondary-light-pink);
}

/* Search Widget */
.search-form {
    display: flex;
    gap: 0;
}

.search-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray);
    border-right: none;
    border-radius: var(--radius-md) 0 0 var(--radius-md);
    outline: none;
}

.search-form input:focus {
    border-color: var(--primary-maroon);
}

.search-form button {
    padding: 0.75rem 1rem;
    background: var(--primary-maroon);
    color: var(--white);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    transition: background var(--transition-fast);
}

.search-form button:hover {
    background: var(--primary-maroon-dark);
}

/* Categories Widget */
.category-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray);
}

.category-list li:last-child {
    border-bottom: none;
}

.category-list a {
    display: flex;
    justify-content: space-between;
    color: var(--charcoal);
}

.category-list a:hover {
    color: var(--primary-maroon);
}

.category-list .count {
    background: var(--secondary-light-pink);
    color: var(--primary-maroon);
    padding: 0.15rem 0.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
}

/* Recent Posts Widget */
.recent-posts li {
    display: flex;
    gap: var(--spacing-md);
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray);
}

.recent-posts li:last-child {
    border-bottom: none;
}

.recent-posts img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.recent-posts .post-info h4 {
    font-size: 0.95rem;
    margin-bottom: var(--spacing-xs);
    line-height: 1.3;
}

.recent-posts .post-info h4 a {
    color: var(--charcoal);
}

.recent-posts .post-info h4 a:hover {
    color: var(--primary-maroon);
}

.recent-posts .post-date {
    font-size: 0.8rem;
    color: var(--medium-gray);
}

/* ========================================
   Single Post
======================================== */
.single-post-content {
    padding: var(--spacing-3xl) 0;
}

.single-post-wrapper {
    max-width: 78rem;
    margin: 0 auto;
}

.post-article {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-top: -50px;
    position: relative;
    z-index: 1;
}

/* Responsive overlap tuning */
@media (max-width: 991px) {
    .post-article {
        margin-top: -50px;
    }
}

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

@media (max-width: 480px) {
    .post-article {
        margin-top: -20px;
    }
}

.post-featured-image {
    width: 100%;
    height: auto;
    overflow: hidden;
    position: relative;
    margin-bottom: var(--spacing-xl);
    border-radius: var(--radius-lg);
}

/* Media query moved to main block at bottom */

.post-featured-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    border-radius: var(--radius-lg);
}

.post-body {
    padding: var(--spacing-2xl);
}

.post-meta-header {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px solid var(--gray);
}

.post-meta-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 0.9rem;
    color: var(--medium-gray);
}

.post-meta-item i {
    color: var(--primary-maroon);
}

.post-title {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-lg);
    margin-top: var(--spacing-lg);
    line-height: 1.3;
    color: var(--charcoal);
    font-weight: 700;
}

.post-content {
    font-size: 1.05rem;
    line-height: 1.8;
}

.post-content p {
    margin-bottom: var(--spacing-lg);
}

.post-content h2,
.post-content h3,
.post-content h4 {
    margin-top: var(--spacing-xl);
    margin-bottom: var(--spacing-md);
}

.post-content img {
    border-radius: 0;
    margin: var(--spacing-lg) 0;
    max-width: 100%;
    height: auto;
}

.post-content .aligncenter img,
.post-content figure.aligncenter img,
.post-content .wp-block-image.aligncenter img {
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.post-content blockquote {
    background: var(--secondary-light-pink);
    border-left: 4px solid var(--primary-maroon);
    padding: var(--spacing-lg);
    margin: var(--spacing-xl) 0;
    font-style: italic;
    color: var(--charcoal);
}

/* Post Tags */
.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-xl);
    border-top: 1px solid var(--gray);
}

.post-tags a {
    background: var(--secondary-light-pink);
    color: var(--primary-maroon);
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    transition: all var(--transition-fast);
}

.post-tags a:hover {
    background: var(--primary-maroon);
    color: var(--white);
}

/* Post Share */
.post-share {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-xl);
    border-top: 1px solid var(--gray);
}

.share-label {
    font-weight: 600;
    color: var(--charcoal);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.share-label i {
    color: var(--primary-maroon);
}

.share-buttons {
    display: flex;
    gap: var(--spacing-sm);
}

.share-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
    transition: all var(--transition-fast);
    font-size: 0.95rem;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.share-btn.facebook {
    background: #1877f2;
}

.share-btn.facebook:hover {
    background: #145dbf;
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn.twitter:hover {
    background: #0c85d0;
}

.share-btn.whatsapp {
    background: #25d366;
}

.share-btn.whatsapp:hover {
    background: #1da851;
}

.share-btn.linkedin {
    background: #0077b5;
}

.share-btn.linkedin:hover {
    background: #005885;
}

/* Post Navigation */
.post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-3xl);
}

.post-nav-link {
    background: var(--light-gray);
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
}

.post-nav-link:hover {
    background: var(--secondary-light-pink);
}

.post-nav-link.next {
    text-align: right;
}

.post-nav-label {
    font-size: 0.85rem;
    color: var(--medium-gray);
    margin-bottom: var(--spacing-xs);
}

.post-nav-title {
    font-weight: 600;
    color: var(--charcoal);
}

/* Related Posts */
.related-posts {
    margin-top: var(--spacing-3xl);
}

.related-posts h3 {
    font-size: 1.75rem;
    margin-bottom: 30px;
    color: var(--primary-maroon);
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.related-posts h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-maroon);
    border-radius: 2px;
}

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

.related-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}

.related-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-maroon), #d35400);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.related-card:hover::before {
    transform: scaleX(1);
}

.related-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    transform: translateY(-8px);
    border-color: var(--primary-maroon);
}

.related-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.related-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.related-card:hover .related-image::after {
    opacity: 1;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.related-content {
    padding: 20px;
}

.related-date {
    display: inline-block;
    font-size: 0.75rem;
    color: var(--primary-maroon);
    background: rgba(139, 0, 0, 0.1);
    padding: 4px 12px;
    border-radius: 12px;
    font-weight: 600;
    margin-bottom: 10px;
}

.related-content h4 {
    font-size: 1.05rem;
    margin-top: 8px;
    margin-bottom: 0;
    line-height: 1.5;
    font-weight: 600;
    min-height: 50px;
}

.related-content h4 a {
    color: var(--charcoal);
    transition: color 0.2s ease;
}

.related-content h4 a:hover {
    color: var(--primary-maroon);
}

/* ========================================
   Page Template
======================================== */
.page-content {
    padding: var(--spacing-3xl) 0;
}

.page-article {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-2xl);
    box-shadow: var(--shadow-md);
}

.page-article h1 {
    margin-bottom: var(--spacing-xl);
}

.page-article .entry-content {
    font-size: 1.05rem;
    line-height: 1.8;
}

.page-article .entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0;
    margin: var(--spacing-md) 0;
}

.page-article .entry-content .aligncenter,
.page-article .entry-content figure.aligncenter,
.page-article .entry-content .wp-block-image.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.page-article .entry-content .aligncenter img,
.page-article .entry-content figure.aligncenter img,
.page-article .entry-content .wp-block-image.aligncenter img {
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.page-article .entry-content .alignleft,
.page-article .entry-content figure.alignleft {
    float: left;
    margin: 0 var(--spacing-lg) var(--spacing-md) 0;
}

.page-article .entry-content .alignright,
.page-article .entry-content figure.alignright {
    float: right;
    margin: 0 0 var(--spacing-md) var(--spacing-lg);
}

.no-posts {
    text-align: center;
    padding: var(--spacing-3xl);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.no-posts i {
    font-size: 4rem;
    color: var(--gray);
    margin-bottom: var(--spacing-lg);
}

.no-posts h3 {
    color: var(--charcoal);
    margin-bottom: var(--spacing-md);
}

.no-posts p {
    color: var(--medium-gray);
    margin-bottom: var(--spacing-xl);
}

.rest-area-single-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--spacing-3xl);
    align-items: start;
}

/* ========================================
   Rest Area Archive - Modern Redesign
======================================== */
.page-header--rest-area {
    position: relative;
    background-color: #0b0c10;
    background-image: linear-gradient(rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.68)), url('../images/RAai.jpeg');
    background-size: cover;
    background-position: center 45%;
    background-repeat: no-repeat;
    overflow: hidden;
}

.page-header--rest-area .page-header__bg-glow {
    display: none;
}

.page-header-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fef08a;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 12px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.page-header-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 12px;
}

.page-header-title .text-highlight {
    background: linear-gradient(135deg, #ff4d4d 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-header-desc {
    max-width: 720px;
    margin: 0 auto 20px;
    font-size: 1.05rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}

.rest-area-archive {
    background: #f8fafc;
    padding: 50px 0 90px;
}

/* Offer Banner: Ruang Usaha UMKM & Kawasan Siap Bangun (Light & Clean) */
.rest-area-archive-offer {
    position: relative;
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    padding: clamp(24px, 3.5vw, 36px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 36px;
    overflow: hidden;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
}

.rest-area-archive-offer__bg-glow {
    display: none;
}

.rest-area-archive-offer-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
}

.rest-area-offer-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 14px;
    border-radius: 999px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #bd0808;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.rest-area-offer-title {
    font-size: clamp(1.25rem, 2.2vw, 1.6rem);
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 10px;
    line-height: 1.3;
}

.rest-area-offer-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #475569;
    margin: 0;
}

.rest-area-offer-tags {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.offer-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #334155;
    font-size: 0.8rem;
    font-weight: 600;
}

.offer-tag i {
    color: #bd0808;
    font-size: 0.8rem;
}

.rest-area-archive-offer-action {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    flex-shrink: 0;
}

.btn-rest-wa {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 24px;
    border-radius: 999px;
    background: #25d366;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.btn-rest-wa i {
    font-size: 1.25rem;
}

.btn-rest-wa:hover {
    background: #20ba5a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
    color: #ffffff;
}

.rest-area-archive-offer-note {
    color: #94a3b8;
    font-size: 0.82rem;
    font-weight: 500;
}

/* Toolbar: Filters & Live Search */
.rest-area-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 32px;
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    border: none;
}

.rest-area-filters {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.rest-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #475569;
    font-size: 0.84rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
    transition: all 0.25s ease;
}

.rest-filter-btn i {
    font-size: 0.82rem;
    color: #64748b;
    transition: color 0.25s ease;
}

.rest-filter-btn:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #0f172a;
}

.rest-filter-btn.active {
    background: #bd0808;
    border-color: #bd0808;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(189, 8, 8, 0.25);
}

.rest-filter-btn.active i {
    color: #ffffff;
}

.rest-area-search-wrap {
    position: relative;
    min-width: 260px;
    max-width: 320px;
}

.rest-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.9rem;
    pointer-events: none;
}

.rest-search-input {
    width: 100%;
    padding: 8px 14px 8px 38px;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    font-size: 0.85rem;
    color: #0f172a;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
    transition: all 0.25s ease;
}

.rest-search-input:focus {
    outline: none;
    border-color: #bd0808;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(189, 8, 8, 0.12);
}

/* No Results Filter State */
.rest-area-no-results {
    background: #ffffff;
    border-radius: 20px;
    padding: 60px 24px;
    text-align: center;
    border: 1px dashed #cbd5e1;
    margin: 20px 0;
}

.rest-area-no-results i {
    font-size: 3rem;
    color: #94a3b8;
    margin-bottom: 16px;
    display: block;
}

.rest-area-no-results h3 {
    font-size: 1.25rem;
    color: #0f172a;
    margin-bottom: 8px;
}

.rest-area-no-results p {
    color: #64748b;
    margin: 0;
}

/* Pagination */
.rest-area-pagination {
    margin-top: 50px;
    display: flex;
    justify-content: center;
}

.rest-area-pagination .nav-links {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    padding: 6px;
    border-radius: 999px;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
    border: 1px solid #e2e8f0;
}

.rest-area-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #475569;
    text-decoration: none;
    transition: all 0.25s ease;
}

.rest-area-pagination .page-numbers:hover {
    background: #f1f5f9;
    color: #bd0808;
}

.rest-area-pagination .page-numbers.current {
    background: #bd0808;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(189, 8, 8, 0.3);
}

/* Responsive Media Queries for Archive */
@media (max-width: 991px) {
    .rest-area-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .rest-area-archive-offer {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .rest-area-archive-offer-action {
        align-items: flex-start;
        width: 100%;
    }

    .btn-rest-wa {
        width: 100%;
        justify-content: center;
    }

    .rest-area-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }

    .rest-area-search-wrap {
        max-width: 100%;
        min-width: 0;
    }
}

@media (max-width: 768px) {
    .rest-area-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 480px;
        margin: 0 auto;
    }

    .rest-card-inner {
        height: 380px;
        border-radius: 18px;
    }

    .rest-card-top {
        padding: 12px 14px;
        gap: 6px;
    }

    .rest-card-tag {
        padding: 4px 8px;
        font-size: 0.7rem;
    }

    .rest-card-body {
        padding: 14px 16px 18px;
        gap: 10px;
    }

    .rest-card-title {
        font-size: 1.18rem;
    }

    .rest-card-facilities {
        gap: 6px;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .rest-card-facility {
        width: 28px;
        height: 28px;
        font-size: 0.78rem;
        flex-shrink: 0;
    }

    .rest-area-toolbar {
        padding: 10px 12px;
        gap: 10px;
    }

    .rest-area-filters {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        width: 100%;
        padding-bottom: 2px;
    }

    .rest-filter-btn {
        padding: 7px 12px;
        font-size: 0.76rem;
        flex-shrink: 0;
        white-space: nowrap;
    }
}

/* Single Rest Area - Main Image */
.rest-area-single-image {
    width: 100%;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    background: var(--light-gray);
    aspect-ratio: 16 / 10;
    position: relative;
    margin-bottom: var(--spacing-xl);
}

.rest-area-single-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.rest-area-single-image-placeholder {
    background: linear-gradient(135deg, rgba(189, 8, 8, 0.9), rgba(13, 13, 13, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
}

.rest-area-single-image-placeholder::before {
    content: '\f236';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.3);
}

/* Image Overlay with Badges */
.rest-area-single-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, transparent 50%, rgba(0, 0, 0, 0.4) 100%);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: var(--spacing-lg);
}

.rest-area-badge-container {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.rest-area-badge {
    padding: 10px 18px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.rest-area-badge i {
    font-size: 0.7rem;
}

.badge-status {
    background: rgba(39, 174, 96, 0.95);
    color: white;
}

.badge-status i {
    animation: pulse-status 2s infinite;
}

@keyframes pulse-status {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.badge-location {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-maroon);
}

/* Map Widget */
.rest-area-map-widget {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
    margin-bottom: var(--spacing-lg);
}

/* Quick Info Cards */
.rest-area-quick-info {
    display: grid;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-2xl);
}

.quick-info-card {
    background: linear-gradient(135deg, #fff 0%, #fff9fc 100%);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid rgba(189, 8, 8, 0.08);
}

.quick-info-card-link {
    cursor: pointer;
    text-decoration: none;
    position: relative;
}

.quick-info-card-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(189, 8, 8, 0.15);
    border-color: var(--primary-maroon);
}

.quick-info-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--primary-maroon), var(--primary-maroon-dark));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(189, 8, 8, 0.25);
}

.quick-info-content {
    flex: 1;
}

.quick-info-label {
    display: block;
    font-size: 0.8rem;
    color: var(--medium-gray);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.quick-info-value {
    display: block;
    font-size: 1.05rem;
    color: var(--charcoal);
    font-weight: 600;
}

.quick-info-arrow {
    color: var(--primary-maroon);
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.quick-info-card-link:hover .quick-info-arrow {
    transform: translateX(5px);
}

/* Rest Area Info Container */
.rest-area-single-info {
    position: sticky;
    top: 100px;
}

.rest-area-single-info>* {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: var(--spacing-2xl);
    margin-bottom: var(--spacing-lg);
}

.rest-area-single-info>*:last-child {
    margin-bottom: 0;
}

/* Facilities Section */
.rest-area-facilities-block h3 {
    font-size: 1.3rem;
    color: var(--charcoal);
    margin-bottom: var(--spacing-lg);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.rest-area-facilities-block h3 i {
    color: var(--primary-maroon);
    font-size: 1.2rem;
}

.rest-area-facilities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
}

.rest-area-facility-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, #fff0f5 0%, #ffe8f0 100%);
    border: 1px solid rgba(189, 8, 8, 0.1);
    transition: all 0.3s ease;
}

.rest-area-facility-item:hover {
    background: linear-gradient(135deg, var(--primary-maroon), var(--primary-maroon-dark));
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(189, 8, 8, 0.2);
}

.rest-area-facility-item:hover .facility-icon {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.rest-area-facility-item:hover .facility-label {
    color: white;
}

.facility-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background: white;
    color: var(--primary-maroon);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.facility-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--charcoal);
    transition: color 0.3s ease;
}

.facility-item-extra {
    background: linear-gradient(135deg, #f0fff4 0%, #e6f9f0 100%);
    border-color: rgba(39, 174, 96, 0.2);
}

.facility-item-extra .facility-icon {
    color: var(--accent-green);
}

.facility-item-extra:hover {
    background: linear-gradient(135deg, var(--accent-green), #27ae60);
}

/* Content Section */
.rest-area-content h3 {
    font-size: 1.3rem;
    color: var(--charcoal);
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.rest-area-content h3 i {
    color: var(--primary-maroon);
    font-size: 1.2rem;
}

.rest-area-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--medium-gray);
    margin-bottom: var(--spacing-md);
}

/* CTA Button */
.rest-area-cta {
    padding: 0 !important;
    background: none !important;
    box-shadow: none !important;
}

.rest-area-cta .btn-block {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    font-size: 1.1rem;
    padding: var(--spacing-lg) var(--spacing-xl);
    position: relative;
    overflow: hidden;
}

.rest-area-cta .btn-block::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
}

.rest-area-cta .btn-block:hover::before {
    width: 400px;
    height: 400px;
}

.rest-area-cta .btn-block i {
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

.rest-area-cta .btn-block:hover i {
    transform: rotate(15deg) scale(1.1);
}

/* Legacy styles for backward compatibility */
.rest-area-location {
    margin-bottom: var(--spacing-xl);
}

.rest-area-location-link {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: 0.6rem 0.9rem;
    border-radius: var(--radius-md);
    background: var(--secondary-light-pink);
    color: var(--primary-maroon);
    font-weight: 600;
}

.rest-area-location-link:hover {
    background: var(--primary-maroon);
    color: var(--white);
}

.rest-area-facilities-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: var(--spacing-xl);
}

.rest-area-facility-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    background: var(--secondary-cream);
    color: var(--charcoal);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.rest-area-facility-pill i {
    color: var(--primary-maroon);
}

.rest-area-facility-pill-extra i {
    color: var(--accent-green);
}