/* =======================================================
   1. THEME CLEANUP (Kept from previous working version)
   ======================================================= */
.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
   ======================================================= */
.webkih-hero-breakout {
    width: 100vw; position: relative;
    margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw);
    margin-bottom: 30px; margin-top: -5px;
}
.webkih-hero {
    height: 400px; background-size: cover; background-position: center;
    background-attachment: fixed; display: flex; align-items: flex-end; justify-content: center;
}
.webkih-hero-overlay {
    width: 100%; background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 30px 0; text-align: center;
}
.webkih-hero h1 {
    color: #fff !important; font-size: 36px; font-weight: 700; margin: 0;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.6); display: block !important;
}

/* =======================================================
   3. SINGLE PAGE LAYOUT
   ======================================================= */
.webkih-container {
    max-width: 1200px; margin: 0 auto; padding: 0 15px;
    display: flex; flex-wrap: wrap; gap: 30px;
}
.webkih-main { flex: 2; min-width: 300px; }
.webkih-sidebar { flex: 1; min-width: 280px; }

.webkih-card-box, .webkih-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;
}
.webkih-card-box { padding: 30px; }
.webkih-section-title {
    margin-top: 0; color: #00b4d8; border-bottom: 2px solid #00b4d8;
    display: inline-block; padding-bottom: 5px; font-size: 20px;
}
.widget-head {
    background: #00b4d8; 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; }
.widget-pill {
    background: #00b4d8; color: white; padding: 4px 12px;
    border-radius: 4px; font-size: 12px; display: inline-block; margin-top: 15px;
}
.contact-text { color: #555; line-height: 1.6; font-size: 14px; }

/* =======================================================
   4. GRID VIEW (Updated for 3 Columns & Screenshot Look)
   ======================================================= */
.webkih-grid {
    display: grid;
    /* Forces 3 columns on large screens */
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px;
    margin: 40px 0;
}

/* Card Container */
.pkg-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px; /* Rounded corners like screenshot */
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}
.pkg-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* Card Image */
.pkg-img {
    height: 220px;
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid #f0f0f0;
}

/* Card Body */
.pkg-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: left; /* Align text left like screenshot */
}

/* Title */
.pkg-body h3 {
    margin: 0 0 12px;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 700;
}
.pkg-body h3 a { color: #2c3e50; text-decoration: none; }
.pkg-body h3 a:hover { color: #00b4d8; }

/* Red Price Text */
.pkg-price {
    color: #e74c3c; /* Exact red from screenshot */
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 12px;
}

/* Pill Tag Area */
.pkg-meta { margin-bottom: 20px; }

/* Blue Duration Pill */
.pkg-pill {
    background: #00b4d8; /* Cyan Blue */
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px; /* Fully rounded pill */
    font-size: 12px;
    font-weight: bold;
}

/* Dark Blue Button */
.pkg-btn {
    margin-top: auto; /* Pushes button to very bottom */
    background: #2e3192; /* Dark Blue */
    color: #fff !important;
    text-align: center;
    padding: 10px 0;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    display: block;
    width: 100%;
    transition: background 0.3s;
}
.pkg-btn:hover {
    background: #1a1d6e; /* Darker blue on hover */
}

/* Responsive: 2 Columns on Tablet, 1 on Mobile */
@media (max-width: 992px) {
    .webkih-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .webkih-container { flex-direction: column; }
    .webkih-hero { background-attachment: scroll; height: 250px; }
    .webkih-grid { grid-template-columns: 1fr; }
}