/**
 * Travel Guide Detail Page Styles
 * Modern, attractive UI following Caribbean BlueBook design
 */

/* ============================================
   Hero Section
   ============================================ */

   .container h4{
    font-size: 2.2rem;
}
.guide-hero-section {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    margin-bottom: 0;
}

.guide-hero-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.guide-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.2));
}

.guide-hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 1200px;
    padding: 60px 40px;
    z-index: 2;
    text-align: center;
}

.guide-hero-heading {
    font-size: clamp(2rem, 4vw, 4.5rem);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    margin: 0 0 16px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.guide-hero-subheading {
    font-size: clamp(1.25rem, 2.5vw, 2.6rem);
    font-weight: 400;
    color: #ffffff;
    line-height: 1.5;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    .guide-hero-section {
        height: 380px;
    }
    
    .guide-hero-content {
        padding: 40px 24px;
        max-width: 100%;
    }
}

/* ============================================
   Main Content Layout
   ============================================ */
.guide-detail-content {
    background: #ffffff;
    padding: 40px 0;
}

.guide-detail-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 60px;
    align-items: start;
}

/* ============================================
   Summary Box (Colorful, no accordion)
   ============================================ */
.guide-summary-box {
    margin-bottom: 0px;
    padding: 24px 32px;
    background: #eff6ff;
    border-left: 4px solid #3b82f6;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.15);
    position: relative;
    overflow: hidden;
}

.guide-summary-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 2.2rem !important;
    font-weight: 700;
    color: #1e40af;
    margin: 0 0 16px 0;
    letter-spacing: -0.02em;
}

.guide-summary-icon {
    color: #3b82f6;
    font-size: 2rem;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .guide-summary-box {
        padding: 20px 24px;
        margin-bottom: 30px;
    }
    
    .guide-summary-location {
        font-size: 1.4rem;
        margin-top: 16px;
        padding-top: 16px;
        gap: 8px;
    }
    
    .guide-summary-location i {
        font-size: 1.5rem;
    }
}

.guide-summary-content {
    font-size: 1.6rem;
    line-height: 1.8;
    color: #1e3a8a;
    margin: 0 0 16px 0;
}

.guide-summary-content p {
    margin-bottom: 16px;
}

.guide-summary-content p:last-child {
    margin-bottom: 0;
}

/* Location inside summary box */
.guide-summary-location {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    color: #1e40af;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid rgba(59, 130, 246, 0.25);
    font-weight: 500;
    letter-spacing: -0.01em;
}

.guide-summary-location i {
    color: #3b82f6;
    font-size: 1.6rem;
    flex-shrink: 0;
    margin-top: -1px; /* Slight vertical alignment adjustment */
}

.guide-summary-location span {
    font-weight: 500;
    line-height: 1.4;
}

.guide-summary-content p:last-child {
    margin-bottom: 0;
}

.guide-summary-content ul,
.guide-summary-content ol {
    margin-bottom: 16px;
    padding-left: 24px;
}

.guide-summary-content li {
    margin-bottom: 8px;
}

.guide-summary-content a {
    color: #2563eb;
    text-decoration: underline;
    font-weight: 500;
}

.guide-summary-content a:hover {
    color: #1e40af;
}

/* Full width sections container */
.guide-full-width-sections {
    background: #ffffff;
    padding: 0;
}

.guide-full-width-sections .container {
    max-width: 1400px;
    margin: 0 auto;
}



@media (max-width: 1024px) {
    .guide-detail-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .guide-sidebar {
        order: -1;
    }
    
    .guide-full-width-sections .container {
        padding: 0 24px;
    }
}

@media (max-width: 768px) {
    .guide-full-width-sections .container {
        padding: 0 16px;
    }
}

@media (max-width: 480px) {
    .guide-full-width-sections .container {
        padding: 0 12px;
    }
}

/* ============================================
   Breadcrumbs
   ============================================ */
.guide-breadcrumbs {
    margin-bottom: 24px;
    font-size: 14px;
    color: #64748b;
}

.guide-breadcrumbs a {
    color: #3b82f6;
    text-decoration: none;
    transition: color 0.2s;
}

.guide-breadcrumbs a:hover {
    color: #2563eb;
}

.breadcrumb-separator {
    margin: 0 8px;
    color: #94a3b8;
}

.breadcrumb-current {
    color: #1e293b;
    font-weight: 500;
}

/* ============================================
   Main Title & Meta
   ============================================ */
.guide-main-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 20px 0;
    line-height: 1.2;
}

/* Blog-style Meta Header (Collaborator, Date, Reading Time, Share) */
.guide-meta-header {
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
}

.guide-meta-left {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.guide-meta-right {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.guide-meta-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Author Image (for single collaborator) */
.guide-author-image-small {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid #e2e8f0;
}

.guide-author-image-placeholder-small {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #ffffff;
    font-weight: 600;
    font-size: 18px;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Collaborators List */
.guide-collaborators-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
}

.guide-author-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: #0f172a;
    cursor: pointer;
    transition: color 0.2s;
}

.guide-author-name:hover {
    color: #3b82f6;
}

.guide-author-separator {
    font-size: 1.3rem;
    font-weight: 400;
    color: #64748b;
    margin: 0 0.25rem;
}

/* Meta Details (Date and Reading Time) */
.guide-meta-details {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.3rem;
    color: #64748b;
}

.guide-date,
.guide-reading-time {
    font-size: 1.3rem;
    color: #64748b;
}

.guide-meta-separator {
    color: #94a3b8;
    margin: 0 0.25rem;
}

/* Share Buttons */
.guide-share-buttons-top {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.guide-share-label-top {
    font-size: 1.3rem;
    font-weight: 600;
    color: #64748b;
    margin-right: 0.25rem;
}

.guide-share-buttons {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.guide-share-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: #f1f5f9;
    color: #0f172a;
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid #e2e8f0;
}

.guide-share-btn svg {
    width: 16px;
    height: 16px;
}

.guide-share-btn:hover {
    background: #0f172a;
    color: white;
    border-color: #0f172a;
    transform: translateY(-2px);
}

.guide-share-btn.guide-share-twitter:hover {
    background: #000000;
    border-color: #000000;
}

.guide-share-btn.guide-share-facebook:hover {
    background: #1877F2;
    border-color: #1877F2;
}

.guide-share-btn.guide-share-linkedin:hover {
    background: #0A66C2;
    border-color: #0A66C2;
}

.guide-share-btn.guide-share-link {
    position: relative;
    overflow: visible;
}

/* Destinations Meta (separate line below) */
.guide-destinations-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #64748b;
    margin-bottom: 24px;
}

.guide-destinations-meta i {
    color: #3b82f6;
}

@media (max-width: 768px) {
    .guide-meta-header {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .guide-meta-right {
        width: 100%;
        justify-content: flex-start;
    }
    
    .guide-share-buttons-top {
        width: 100%;
        flex-wrap: wrap;
    }
}

/* ============================================
   Introduction
   ============================================ */
.guide-intro {
    font-size: 18px;
    line-height: 1.7;
    color: #334155;
    margin-bottom: 40px;
}

.guide-intro p {
    margin: 0;
}

/* ============================================
   Content Text
   ============================================ */
.guide-content-text {
    font-size: 16px;
    line-height: 1.8;
    color: #334155;
    margin-bottom: 0;
    padding: 12px 0 0 0;
}

.guide-content-text h1,
.guide-content-text h2,
.guide-content-text h3,
.guide-content-text h4,
.guide-content-text h5,
.guide-content-text h6,
.guide-summary-content h1,
.guide-summary-content h2,
.guide-summary-content h3,
.guide-summary-content h4,
.guide-summary-content h5,
.guide-summary-content h6 {
    color: #0f172a;
    font-weight: 700;
    margin-top: 1.5em;
    margin-bottom: 0.75em;
}

.guide-content-text h1,
.guide-summary-content h1 {
    font-size: clamp(2.4rem, 4.5vw, 4.5rem) !important;
    line-height: 1.15 !important;
}

.guide-content-text h2,
.guide-summary-content h2 {
    font-size: clamp(2rem, 3.8vw, 3.2rem) !important;
    line-height: 1.2 !important;
}

.guide-content-text h3,
.guide-summary-content h3 {
    font-size: clamp(1.8rem, 3.2vw, 3rem) !important;
    line-height: 1.35 !important;
    font-weight: 600 !important;
}

.guide-content-text h4,
.guide-summary-content h4 {
    font-size: clamp(1.6rem, 2.7vw, 2.6rem) !important;
    line-height: 1.4 !important;
}

.guide-content-text h5,
.guide-summary-content h5 {
    font-size: clamp(1.4rem, 2.3vw, 1.8rem) !important;
    line-height: 1.7 !important;
    font-weight: 400 !important;
}

.guide-content-text h6,
.guide-summary-content h6 {
    font-size: clamp(1.2rem, 2vw, 1.6rem) !important;
    line-height: 1.5 !important;
    font-weight: 400 !important;
}

.guide-content-text p,
.guide-summary-content p {
    margin-bottom: 16px !important;
    display: block !important;
    line-height: 1.8 !important;
}

.guide-content-text p:last-child,
.guide-summary-content p:last-child {
    margin-bottom: 0 !important;
}

.guide-content-text ul,
.guide-content-text ol,
.guide-summary-content ul,
.guide-summary-content ol {
    margin-bottom: 16px;
    padding-left: 24px;
}

.guide-content-text li,
.guide-summary-content li {
    margin-bottom: 8px;
}

.guide-content-text a {
    color: #3182ce;
    text-decoration: underline;
}

.guide-content-text a:hover {
    color: #2c5aa0;
}

/* Images in guide content - Base styles */
.guide-content-text img,
.guide-summary-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Left aligned images - Highest specificity to override default */
.guide-content-text img.quill-image-left,
.guide-content-text img[data-align="left"],
.guide-summary-content img.quill-image-left,
.guide-summary-content img[data-align="left"] {
    float: left !important;
    margin: 0 24px 16px 0 !important;
    display: block !important;
    clear: none !important;
}

/* Right aligned images */
.guide-content-text img.quill-image-right,
.guide-content-text img[data-align="right"],
.guide-summary-content img.quill-image-right,
.guide-summary-content img[data-align="right"] {
    float: right !important;
    margin: 0 0 16px 24px !important;
    display: block !important;
    clear: none !important;
}

/* Center aligned images */
.guide-content-text img.quill-image-center,
.guide-content-text img[data-align="center"],
.guide-summary-content img.quill-image-center,
.guide-summary-content img[data-align="center"] {
    display: block !important;
    float: none !important;
    margin: 24px auto !important;
    clear: both !important;
}

/* Justified images (full width) */
.guide-content-text img.quill-image-justify,
.guide-content-text img[data-align="justify"],
.guide-summary-content img.quill-image-justify,
.guide-summary-content img[data-align="justify"] {
    display: block !important;
    float: none !important;
    width: 100% !important;
    margin: 24px 0 !important;
    clear: both !important;
}

/* Inline style detection - Handle various formats with higher specificity */
.guide-content-text img[style*="float: left"],
.guide-content-text img[style*="float:left"],
.guide-content-text img[style*="float: left;"],
.guide-content-text img[style*="float:left;"],
.guide-content-text img[style*="float: left "],
.guide-content-text img[style*="float:left "],
.guide-summary-content img[style*="float: left"],
.guide-summary-content img[style*="float:left"],
.guide-summary-content img[style*="float: left;"],
.guide-summary-content img[style*="float:left;"],
.guide-summary-content img[style*="float: left "],
.guide-summary-content img[style*="float:left "] {
    float: left !important;
    margin: 0 24px 16px 0 !important;
    display: block !important;
    clear: none !important;
}

.guide-content-text img[style*="float: right"],
.guide-content-text img[style*="float:right"],
.guide-content-text img[style*="float: right;"],
.guide-content-text img[style*="float:right;"],
.guide-content-text img[style*="float: right "],
.guide-content-text img[style*="float:right "],
.guide-summary-content img[style*="float: right"],
.guide-summary-content img[style*="float:right"],
.guide-summary-content img[style*="float: right;"],
.guide-summary-content img[style*="float:right;"],
.guide-summary-content img[style*="float: right "],
.guide-summary-content img[style*="float:right "] {
    float: right !important;
    margin: 0 0 16px 24px !important;
    display: block !important;
    clear: none !important;
}

/* Images with margin auto (centered) */
.guide-content-text img[style*="margin"][style*="auto"],
.guide-summary-content img[style*="margin"][style*="auto"] {
    display: block !important;
    float: none !important;
    margin: 24px auto !important;
    clear: both !important;
}

/* Default centered images - Only apply if no alignment specified */
/* Use more specific selector to ensure it doesn't override alignment */
.guide-content-text img:not(.quill-image-left):not(.quill-image-right):not(.quill-image-center):not(.quill-image-justify):not([data-align]):not([style*="float"]):not([style*="margin"][style*="auto"]),
.guide-summary-content img:not(.quill-image-left):not(.quill-image-right):not(.quill-image-center):not(.quill-image-justify):not([data-align]):not([style*="float"]):not([style*="margin"][style*="auto"]) {
    display: block;
    margin: 24px auto;
    float: none;
    clear: both;
}

.guide-content-text img:first-child,
.guide-summary-content img:first-child {
    margin-top: 0;
}

.guide-content-text img:last-child,
.guide-summary-content img:last-child {
    margin-bottom: 0;
}

/* Images within paragraphs */
.guide-content-text p img,
.guide-summary-content p img {
    margin: 16px auto;
}

/* Clear floats after aligned images */
.guide-content-text::after,
.guide-summary-content::after {
    content: "";
    display: table;
    clear: both;
}

/* Responsive images */
@media (max-width: 768px) {
    .guide-content-text img,
    .guide-summary-content img {
        margin: 20px auto;
        border-radius: 6px;
        float: none !important;
        display: block !important;
    }
    
    .guide-content-text img.quill-image-left,
    .guide-content-text img.quill-image-right,
    .guide-summary-content img.quill-image-left,
    .guide-summary-content img.quill-image-right {
        float: none;
        margin: 20px auto;
    }
}

/* ============================================
   Sections
   ============================================ */
.guide-section {
    margin-bottom: 50px;
    scroll-margin-top: 100px;
}

.guide-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.guide-section-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.guide-section-title {
    font-size: 2.6rem !important;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    letter-spacing: -0.01em;
}

.guide-section-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-view-more-activities,
.btn-view-more {
    display: inline-block;
    padding: 9px 20px;
    background: #29489A;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(41, 72, 154, 0.25);
}

.btn-view-more-activities:hover {
    background: #1E3A8A;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(41, 72, 154, 0.35);
}

.btn-show-on-map {
    padding: 7px 16px;
    background: #ffffff;
    color: #475569;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.btn-show-on-map:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.btn-show-on-map i {
    font-size: 11px;
}

.btn-show-on-map i {
    font-size: 12px;
}

/* ============================================
   Activities List (Horizontal Cards - 2 Columns)
   ============================================ */
.activities-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.all-activities-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.activity-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.activity-card-link:hover {
    transform: translateY(-4px);
}

.activity-card-link:hover .activity-card-horizontal {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: #cbd5e1;
}

.activity-card-horizontal {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    gap: 0;
    align-items: stretch;
    min-height: 140px;
    max-height: 140px;
}

.activity-card-horizontal:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: #cbd5e1;
}

.activity-card-image-wrapper {
    flex: 0 0 160px;
    width: 160px;
    height: 140px;
    overflow: hidden;
    background: #f1f5f9;
    position: relative;
}

.activity-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.activity-card-horizontal:hover .activity-card-image {
    transform: scale(1.08);
}

.activity-card-content {
    flex: 1;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.activity-card-title {
    font-size: clamp(1.4rem, 1.3vw, 1.8rem) !important;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 6px 0;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.activity-card-excerpt {
    font-size: 12px;
    line-height: 1.4;
    color: #64748b;
    margin: 0;
    font-weight: 400;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ============================================
   Activity Filter Buttons
   ============================================ */
.activity-filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 40px 0;
    padding: 24px 28px;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
}

.activity-filter-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    background: #f1f5f9;
    border: 2px solid #cbd5e1;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #334155;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    min-width: 130px;
    text-align: center;
    position: relative;
}

.activity-filter-btn:hover {
    background: #29489A;
    border-color: #29489A;
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(41, 72, 154, 0.25);
}

.activity-filter-btn:active {
    transform: translateY(0);
    box-shadow: 0 3px 10px rgba(41, 72, 154, 0.2);
}

.activity-filter-btn.active {
    background: #29489A;
    border-color: #29489A;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(41, 72, 154, 0.25);
}

.activity-card-horizontal[data-activity-type] {
    display: flex;
}

.activity-card-horizontal.hidden {
    display: none;
}

@media (max-width: 768px) {

    .guide-section-title {
        font-size: 2rem !important;
    }
    .guide-section {
        margin-bottom: 40px;
    }
    
    .guide-section-header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        margin-bottom: 20px;
    }
    
    .guide-section-title {
        font-size: 1.5rem;
        flex: 1;
        margin: 0;
    }
    
    .guide-section-header-actions {
        flex-shrink: 0;
        justify-content: flex-end;
        margin-top: 0;
    }
    
    .btn-view-more-activities,
    .btn-view-more {
        width: auto;
        text-align: center;
        padding: 10px 18px;
        font-size: 13px;
        white-space: nowrap;
    }
    
    .activities-list,
    .all-activities-list {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 20px;
    }
    
    .activity-card-horizontal {
        flex-direction: column;
        max-height: none;
        min-height: auto;
    }
    
    .activity-card-image-wrapper {
        flex: 0 0 auto;
        width: 100%;
        height: 200px;
    }
    
    .activity-card-content {
        padding: 16px;
        min-height: auto;
    }
    
    .activity-card-title {
        font-size: 1rem;
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
        margin-bottom: 8px;
    }
    
    .activity-card-excerpt {
        font-size: 13px;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }
    
    .activity-filter-buttons {
        flex-direction: column;
        gap: 10px;
        padding: 20px 16px;
        margin: 24px 0;
    }
    
    .activity-filter-btn {
        width: 100%;
        padding: 12px 20px;
        font-size: 14px;
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .guide-section {
        margin-bottom: 32px;
    }
    
    .guide-section-title {
        font-size: 1.375rem;
        flex: 1;
    }
    
    .guide-section-header {
        margin-bottom: 16px;
        gap: 12px;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    
    .guide-section-header-actions {
        flex-shrink: 0;
        justify-content: flex-end;
    }
    
    .btn-view-more-activities,
    .btn-view-more {
        padding: 10px 16px;
        font-size: 13px;
        width: auto;
        white-space: nowrap;
    }
    
    .activities-list,
    .all-activities-list {
        gap: 12px;
    }
    
    .activity-card-image-wrapper {
        height: 180px;
    }
    
    .activity-card-content {
        padding: 14px;
    }
    
    .activity-card-title {
        font-size: 0.95rem;
        margin-bottom: 6px;
    }
    
    .activity-card-excerpt {
        font-size: 12px;
    }
    
    .activity-filter-buttons {
        padding: 16px 12px;
        margin: 20px 0;
        gap: 8px;
    }
    
    .activity-filter-btn {
        padding: 10px 16px;
        font-size: 13px;
    }
}

/* ============================================
   Video Section
   ============================================ */
.guide-section-video {
    background: #1e293b;
    padding: 50px 40px;
    border-radius: 12px;
    margin-bottom: 50px;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.guide-section-video.has-background-image {
    background-color: #1e293b;
}

.video-section-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgb(36 47 66 / 51%), rgb(15 23 42 / 35%));
    border-radius: 12px;
    z-index: 1;
}

.video-section-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.video-section-content {
    color: #ffffff;
}

.video-section-heading {
    font-size: 3.2rem !important;
    font-weight: 700;
    color: #ffffff !important;
    margin: 0 0 16px 0;
    line-height: 1.2;
}

.video-section-subtitle {
    font-size: 1.6rem !important;
    line-height: 1.7;
    color: #ffffff !important;
    margin: 0 0 24px 0;
}

.btn-video-learn-more {
    display: inline-block;
    padding: 12px 24px;
    background: #ffffff;
    color: #1e293b;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: background 0.2s;
}

.btn-video-learn-more:hover {
    background: #f1f5f9;
    color: #1e293b;
}

.video-section-player {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background: #000000;
    border-radius: 8px;
    overflow: hidden;
}

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

.guide-video-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.video-play-button {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #1e293b;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
}

.video-play-button:hover {
    transform: scale(1.1);
    background: #ffffff;
}

/* Video Replay Overlay */
.video-replay-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    border-radius: 8px;
}

.video-replay-button {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 4px;
    color: #1e293b;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease, opacity 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.video-replay-button i {
    font-size: 18px;
    margin: 0;
}

.video-replay-button:hover {
    background: rgba(255, 255, 255, 1);
    opacity: 1;
}

.video-replay-button:active {
    opacity: 0.9;
    transform: translateY(1px);
}

.video-replay-button span {
    margin: 0;
    line-height: 1;
}

@media (max-width: 768px) {
    .video-replay-button {
        padding: 10px 20px;
        font-size: 14px;
        gap: 8px;
    }
    
    .video-replay-button i {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .guide-section-video {
        padding: 40px 24px;
    }
    
    .video-section-wrapper {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* ============================================
   Hotels Section
   ============================================ */
.hotels-scroll-container {
    overflow-x: auto;
    margin-bottom: 24px;
    padding: 10px 2px 10px 2px;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 #f1f5f9;
}

.hotels-scroll-container::-webkit-scrollbar {
    height: 8px;
}

.hotels-scroll-container::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

.hotels-scroll-container::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.hotels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 100%;
}

@media (min-width: 1200px) {
    .hotels-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1199px) and (min-width: 768px) {
    .hotels-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.hotel-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.hotel-card-link:hover {
    transform: translateY(-4px);
}

.hotel-card-link:hover .hotel-card {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.hotel-card {
    width: 100%;
    height: 100%;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.hotel-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-color: #cbd5e1;
}

.hotel-card-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: #f1f5f9;
    flex-shrink: 0;
}

.hotel-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.hotel-card:hover .hotel-card-image img {
    transform: scale(1.05);
}

.hotel-card-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.hotel-card-title {
    font-size: clamp(1.4rem, 1.3vw, 1.8rem) !important;
    font-weight: 600;
    color: #0f172a;
    margin: 0 0 8px 0;
}

.hotel-card-excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: #64748b;
    margin: 0;
}

/* ============================================
   Learn More Section
   ============================================ */
.guide-section-learn-more {
    margin-bottom: 50px;
}

.learn-more-section-wrapper {
    position: relative;
    padding: 60px 50px;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
}

.learn-more-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: linear-gradient(135deg, rgba(15, 23, 42, 0.85), rgba(30, 41, 59, 0.9)); */
    background:linear-gradient(135deg, rgb(36 47 66 / 71%), rgb(15 23 42 / 35%));
}

.learn-more-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
    max-width: 600px;
}

.learn-more-heading {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #ffffff !important;
    margin: 0 0 20px 0;
    line-height: 1.2;
}

.learn-more-subtitle {
    font-size: 18px;
    line-height: 1.7;
    color: #ffffff !important;
    margin: 0 0 32px 0;
    font-weight: 400;
}

.btn-learn-more {
    display: inline-block;
    padding: 14px 32px;
    background: transparent;
    color: #ffffff !important;
    text-decoration: none;
    border: 2px solid #ffffff;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

.btn-learn-more:hover {
    background-color: #ffffff;
    color: #1e293b !important;
    border-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .learn-more-section-wrapper {
        padding: 40px 24px;
    }
    
    .learn-more-heading {
        font-size: 1.75rem;
        margin-bottom: 16px;
    }
    
    .learn-more-subtitle {
        font-size: 16px;
        margin-bottom: 24px;
    }
    
    .btn-learn-more {
        padding: 12px 24px;
        font-size: 15px;
    }
}

/* ============================================
   Links Section
   ============================================ */
.guide-section-links {
    margin-bottom: 50px;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.link-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid #e2e8f0;
}

.link-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.link-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    background: #f1f5f9;
}

.link-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.link-card:hover .link-card-image img {
    transform: scale(1.05);
}

.link-card-content {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.link-card-description {
    font-size: 15px;
    line-height: 1.6;
    color: #64748b;
    margin: 0;
    flex-grow: 1;
}

.link-card-button {
    display: inline-block;
    padding: 12px 24px;
    background: #29489A;
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    transition: all 0.2s ease;
    align-self: flex-start;
}

.link-card-button:hover {
    background: #1E3A8A;
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(41, 72, 154, 0.3);
}

@media (max-width: 768px) {
    .links-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .link-card-content {
        padding: 20px;
    }
    
    .link-card-image {
        height: 180px;
    }
}

.link-card-description {
    font-size: 15px;
    line-height: 1.6;
    color: #64748b;
    margin: 0 0 20px 0;
    flex-grow: 1;
}

.btn-link-card {
    display: inline-block;
    padding: 12px 24px;
    background: #29489A;
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-link-card:hover {
    background: #1E3A8A;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(41, 72, 154, 0.35);
    color: #ffffff;
    text-decoration: none;
}

@media (max-width: 768px) {
    .links-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .link-card-image {
        height: 180px;
    }
    
    .link-card-body {
        padding: 20px;
    }
}


/* ============================================
   Comments Section
   ============================================ */
.guide-comments-section {
    margin-bottom: 50px;
    padding-top: 30px;
    border-top: 1px solid #e2e8f0;
}

/* ============================================
   Go Back Button
   ============================================ */
/* Go Back Button */
.guide-actions {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid #e5e7eb;
}

.btn-go-back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #3182ce 0%, #2c5aa0 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(49, 130, 206, 0.25);
}

.btn-go-back:hover {
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3a5f 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(49, 130, 206, 0.35);
    color: white;
    text-decoration: none;
}

/* ============================================
   Sidebar
   ============================================ */
.guide-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-box {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 28px;
    margin-bottom: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.sidebar-box:hover {
    box-shadow: 0 6px 20px rgba(41, 72, 154, 0.12);
    transform: translateY(-2px);
}

.sidebar-title {
    font-size: 2rem !important;
    font-weight: 700;
    color: #29489A;
    margin: 0 0 20px 0;
    padding-bottom: 14px;
    border-bottom: 3px solid #29489A;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    position: relative;
}

.sidebar-title::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #29489A, rgba(41, 72, 154, 0.3));
}

/* Jump To Menu */
.sidebar-jump-to {
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.jump-to-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.jump-to-menu li {
    margin-bottom: 8px;
}

.jump-to-link {
    display: block;
    padding: 10px 12px;
    color: #475569;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
    position: relative;
    padding-left: 16px;
}

.jump-to-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 0;
    background: #29489A;
    border-radius: 2px;
    transition: height 0.3s ease;
}

.jump-to-link:hover {
    background: #f1f5f9;
    color: #29489A;
    padding-left: 20px;
}

.jump-to-link:hover::before {
    height: 60%;
}

.jump-to-link.active {
    background: #29489A;
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(41, 72, 154, 0.25);
}

/* Sidebar Tags */
.sidebar-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.sidebar-tag {
    display: inline-block;
    padding: 6px 12px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #29489A;
    border-radius: 25px;
    font-size: 1.2rem;
    font-weight: 600;
    color: #29489A;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 6px rgba(41, 72, 154, 0.15);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.sidebar-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #29489A 0%, #1E3A8A 100%);
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
    border-radius: 23px;
}

.sidebar-tag:hover {
    border-color: #1E3A8A;
    color: #ffffff;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 4px 12px rgba(41, 72, 154, 0.35);
}

.sidebar-tag:hover::before {
    opacity: 1;
}



/* ============================================
   Responsive
   ============================================ */
@media (max-width: 768px) {

    .sidebar-title{
        font-size: 1.8rem !important;
    }
    .guide-summary-heading{
        font-size: 1.8rem !important;
    }
    .guide-summary-icon{
        font-size: 1.8rem !important;
    }
    .guide-summary-content{
        font-size: 1.4rem !important;
    }
    .guide-summary-content li{
        font-size: 1.4rem !important;
    }
    .guide-detail-content {
        padding: 40px 0;
    }
    
    .activities-grid,
    .all-activities-grid {
        grid-template-columns: 1fr;
    }
    
    .hotels-grid {
        grid-template-columns: 1fr;
    }
    
    .guide-section-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .guide-section-header-actions {
        width: 100%;
        justify-content: flex-end;
    }
    
    .hotel-card-image {
        height: 200px;
    }
    
    .video-section-heading {
        font-size: 2.4rem !important;
    }
    
    .video-section-subtitle {
        font-size: 1.4rem !important;
    }
    
    .guide-section-video {
        padding: 40px 24px;
    }
    
    .video-section-wrapper {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .activity-filter-buttons {
        gap: 12px;
        padding: 20px 16px;
        margin: 32px 0;
        justify-content: center;
    }
    
    .activity-filter-btn {
        padding: 12px 24px;
        font-size: 14px;
        min-width: auto;
        flex: 0 1 auto;
    }
}

