/* =======================================================
   1. THEME CLEANUP
   ======================================================= */
.single-package .entry-header,
.single-package .post-thumbnail,
.single-package .wp-post-image,
.single-package .ast-article-post-thumbnail,
.single-package .entry-title { display: none !important; }

.single-package .entry-content,
.single-package .site-content {
    width: 100% !important; max-width: 100% !important;
    padding: 0 !important; margin: 0 !important; overflow-x: hidden;
}

/* =======================================================
   2. HERO SECTION
   ======================================================= */
.wh-hero-breakout {
    width: 100vw; position: relative;
    margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw);
    margin-bottom: 30px; margin-top: -5px;
}
.wh-hero {
    height: 400px; 
    background-size: cover; 
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed; 
    display: flex; 
    align-items: flex-end; 
    justify-content: center;
}
.wh-hero-overlay {
    width: 100%; background: linear-gradient(to top, rgba(1, 25, 142, 0.8), transparent);
    padding: 30px 0; text-align: center;
}
.wh-hero h1 {
    color: #fff !important; font-size: 30px; font-weight: 700; margin: 0;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.6); display: block !important;
}

/* =======================================================
   3. SINGLE PAGE LAYOUT & CATEGORY STYLES
   ======================================================= */
.wh-container {
    max-width: 1200px; margin: 0 auto; padding: 0 15px;
    display: flex; flex-wrap: wrap; gap: 30px;
}
.wh-main { flex: 2; min-width: 300px; width: 100%; }
.wh-sidebar { flex: 1; min-width: 280px; width: 100%; }

.wh-card-box, .wh-widget {
    background: #fff; border: 1px solid #e1e1e1; border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05); margin-bottom: 25px; overflow: hidden;
}
.wh-card-box { padding: 20px; }
.wh-section-title {
    margin-top: 0; color: #005ad8; border-bottom: 2px solid #0041d8;
    display: inline-block; padding-bottom: 5px; font-size: 20px;
}
.widget-head {
    background: #0144b1; color: #fff; padding: 15px; font-weight: 700; font-size: 16px;
}
.widget-body { padding: 20px; }
.widget-price { font-size: 16px; font-weight: 700; color: #333; margin-bottom: 8px; }

/* Category Pill - Single Page */
.widget-pill {
    background: #e0e7ff; /* Soft indigo background */
    color: #3730a3; /* Dark indigo text */
    padding: 5px 14px;
    border-radius: 5px; 
    font-size: 12px; 
    font-weight: 600;
    display: inline-block; 
    margin-top: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.contact-text { color: #555; line-height: 1.6; font-size: 14px; }

/* =======================================================
   4. GRID VIEW (List View Styles)
   ======================================================= */
.wh-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px;
    margin: 40px 0;
}

.pkg-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px; 
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.pkg-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.pkg-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid #f0f0f0;
}

.pkg-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.pkg-body h3 {
    margin: 0 0 10px;
    font-size: 19px;
    line-height: 1.3;
    font-weight: 700;
}
.pkg-body h3 a { color: #1a202c; text-decoration: none; }
.pkg-body h3 a:hover { color: #0144b1; }

.pkg-price {
    color: #fe2d16; 
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
}

.pkg-meta { margin-bottom: 20px; margin-top: auto; }

/* Duration Pill - Grid View */
.pkg-pill {
    background: #0144b1; 
    color: #fff;
    padding: 6px 14px;
    border-radius: 50px; 
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.pkg-btn {
    background: #2e3192; 
    color: #fff !important;
    text-align: center;
    padding: 12px 0;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    display: block;
    width: 100%;
    transition: background 0.2s ease;
}
.pkg-btn:hover {
    background: #1a1e70;
}

/* =======================================================
   5. RESPONSIVE ADJUSTMENTS
   ======================================================= */
@media (max-width: 992px) {
    .wh-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .wh-container { flex-direction: column; }
    .wh-hero { background-attachment: scroll; height: 250px; }
    .wh-grid { grid-template-columns: 1fr; }
    
    .wh-hero h1 { font-size: 24px; padding: 0 15px; }
    .wh-main, .wh-sidebar { width: 100%; flex: none; }
}

/* =======================================================
   6. MODERN LIST VIEW STYLE (Horizontal Layout)
   ======================================================= */
.wh-modern-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin: 40px 0;
}

.modern-card {
    display: flex;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.modern-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transform: translateX(5px);
}

.modern-img {
    flex: 0 0 300px;
    background-size: cover;
    background-position: center;
}

.modern-content {
    flex: 1;
    padding: 25px;
    display: flex;
    flex-direction: column;
}

.modern-top {
    display: flex;
    justify-content: balance;
    align-items: flex-start;
    margin-bottom: 15px;
}

.modern-top h3 {
    margin: 0;
    font-size: 22px;
    color: #1a202c;
    flex: 1;
}

.modern-dur {
    background: #f0f4ff;
    color: #3f51b5;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.modern-excerpt {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.modern-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f5f5f5;
    padding-top: 15px;
}

.modern-price-box {
    display: flex;
    flex-direction: column;
}

.price-label {
    font-size: 11px;
    text-transform: uppercase;
    color: #999;
    letter-spacing: 1px;
}

.price-amt {
    font-size: 20px;
    font-weight: 800;
    color: #fe2d16;
}

.modern-btn {
    background: #0144b1;
    color: #fff !important;
    padding: 10px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.2s;
}

.modern-btn:hover {
    background: #2e3192;
    box-shadow: 0 4px 12px rgba(46, 49, 146, 0.3);
}

/* Responsive for Modern List */
@media (max-width: 768px) {
    .modern-card {
        flex-direction: column;
    }
    .modern-img {
        height: 200px;
        flex: none;
    }
    .modern-top {
        flex-direction: column;
        gap: 10px;
    }
    .modern-footer {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}
