/* =========================================================
   Smart Hotel SEO Suite — CORE HOTEL CARD STYLES
   Theme: Vibrant Gomiqaat Orange & Deep Slate
   Purpose: High CTR, mobile-first, LARGE touch targets
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&display=swap');

:root {
    --shs-orange: #ff7a00;
    --shs-orange-dark: #e66e00;
    --shs-slate-900: #0f172a;
    --shs-slate-700: #334155;
    --shs-slate-500: #64748b;
    --shs-slate-100: #f1f5f9;
    --shs-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05),
        0 4px 6px -2px rgba(0, 0, 0, 0.02);
    --shs-font-stack: 'Open Sans', system-ui, -apple-system, sans-serif;
}

/* Container Fix for Search Overlap */
.shs-search-container,
#hotel-search-box,
.hotel-search-box,
#gomiqaat-hotel-box,
.gomiqaat-hotel-box {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    position: relative;
    z-index: 100 !important;
    margin-bottom: 40px;
}

/* --- ARCHITECT CONTAINER & GRID STYLES --- */
.architect-hotels-section {
    margin: 40px auto;
    font-family: var(--shs-font-stack);
    max-width: 1200px;
    /* Fix stretching on large screens */
    background-color: #f8f9fa;
    /* Slight contrast backdrop */
    padding: 20px;
    border-radius: 12px;
}

.architect-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 25px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.architect-hotels-title {
    margin: 0;
    font-size: 1.5rem;
    color: var(--shs-slate-900);
    font-weight: 800;
}

.architect-freshness {
    font-size: 0.85rem;
    color: var(--shs-slate-500);
    background: #f1f5f9;
    padding: 2px 8px;
    border-radius: 4px;
}

.architect-hotels-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.architect-disclaimer {
    margin-top: 20px;
    text-align: center;
    color: #94a3b8;
    font-size: 0.8rem;
    border-top: 1px solid #f1f5f9;
    padding-top: 15px;
}


/* Base Hotel Card Structure (Mobile First) */
.architect-hotel-card {
    display: flex;
    flex-direction: row;
    width: 100%;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    font-family: 'Open Sans', sans-serif;
    overflow: hidden;
    position: relative;
    transition: all 0.2s ease;
}

.architect-hotel-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -10px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
    .architect-hotel-card {
        flex-direction: column !important;
        height: auto !important;
        padding: 0;
    }
}

.architect-hotel-image {
    width: 260px;
    /* Fixed width for 3-col grid logic */
    height: auto;
    min-height: 200px;
    flex-shrink: 0;
    position: relative;
    background-color: #f1f5f9;
}

@media (max-width: 768px) {
    .architect-hotel-image {
        width: 100% !important;
        height: 220px !important;
    }
}

.architect-hotel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.architect-hotel-details {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.architect-hotel-details h3 {
    margin: 0 0 10px;
    font-size: 1.4rem;
    /* Increased from 1.1rem */
    font-weight: 700;
    color: var(--shs-slate-900);
    line-height: 1.3;
}

.architect-rating {
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.architect-distance {
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    position: absolute;
    top: 10px;
    left: 10px;
}

.architect-action {
    width: 240px;
    /* Increased from 200px to fit 'Check Availability' */
    padding: 20px;
    background: linear-gradient(to bottom, #fffbeb, #fff7ed);
    border-left: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

@media (max-width: 768px) {
    .architect-action {
        width: 100% !important;
        border-left: none !important;
        border-top: 1px solid #f1f5f9;
        padding: 12px 16px !important;
        /* Reduced padding */
    }

    /* Mobile adjustments for text and buttons */
    .architect-hotel-details h3 {
        font-size: 1.25rem;
        /* Slightly smaller than desktop but still bold */
    }

    /* Smaller button on mobile */
    .architect-hotel-btn,
    .architect-btn {
        padding: 8px 20px !important;
        font-size: 0.95rem !important;
        min-width: auto !important;
        width: 100% !important;
        /* fast tap target */
    }
}

.architect-price {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--shs-slate-900);
    margin-bottom: 10px;
}

.architect-btn {
    display: inline-block;
    background: linear-gradient(135deg, #ff7a00, #ff5e00);
    color: white !important;
    padding: 12px 24px;
    border-radius: 40px;
    font-weight: 700;
    text-decoration: none !important;
    width: auto;
    /* Default to auto on desktop */
    min-width: 160px;
    white-space: nowrap;
    text-align: center;
    box-shadow: 0 4px 10px rgba(255, 122, 0, 0.2);
    position: relative;
    z-index: 100;
}

.architect-pref-chip {
    display: inline-block;
    background: #e0f2fe;
    color: #0369a1;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    margin-right: 5px;
    margin-bottom: 5px;
}

/* MONSTER-KILLER DISCOVER PAGE COMPONENTS (RE-RESTORED) */
.discover-hero {
    background: var(--shs-slate-900);
    color: #fff;
    padding: 60px 40px;
    border-radius: 20px;
    margin-bottom: 40px;
    text-align: center;
    background-image: linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.8)), url('https://images.unsplash.com/photo-1551882547-ff43c63faf76?auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
}

.discover-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: #fff !important;
}

.discover-hero-lead {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.discover-hero-badges {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-badge {
    background: rgba(255, 122, 0, 0.2);
    border: 1px solid var(--shs-orange);
    color: var(--shs-orange);
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
}

/* PIVOT SEARCH BOX */
.architect-pivot-search {
    width: 100%;
    margin-bottom: 30px;
    background: #fff;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.architect-pivot-search form {
    display: flex;
    gap: 10px;
}

.architect-pivot-search input {
    flex: 1;
    padding: 12px 20px;
    border: 1px solid #cbd5e1;
    border-radius: 50px;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.2s ease;
}

.architect-pivot-search input:focus {
    border-color: var(--shs-orange);
    box-shadow: 0 0 0 3px rgba(255, 122, 0, 0.1);
}

.architect-pivot-search button {
    background: var(--shs-slate-900);
    color: #fff;
    border: none;
    padding: 0 25px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}

.architect-pivot-search button:hover {
    background: var(--shs-orange);
}


/* LOGISTICS GRID (Monster-Killer Center Column) */
/* LOGISTICS GRID (Monster-Killer Center Column) */
.architect-logistics-grid {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    margin-bottom: 10px;
    background: #f8fafc;
    padding: 8px 10px;
    border-radius: 8px;
    flex-wrap: nowrap;
    /* Force single row if possible */
    gap: 5px;
    overflow-x: auto;
    /* Allow scroll if extremely narrow */
}

.logistics-item {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
    min-width: auto;
    /* Remove rigid min-width */
    justify-content: center;
    /* Center content in item */
}

.logistics-icon {
    font-size: 1.2rem;
}

.logistics-text {
    font-size: 0.75rem;
    line-height: 1.1;
    color: var(--shs-slate-500);
    text-align: left;
}

.logistics-text strong {
    display: block;
    color: var(--shs-slate-900);
    font-size: 0.8rem;
}

.logistics-text {
    font-size: 0.8rem;
    line-height: 1.2;
    color: var(--shs-slate-500);
}

.logistics-text strong {
    display: block;
    color: var(--shs-slate-900);
    font-size: 0.9rem;
}

/* Base Guide Block */
.travel-guide-block {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    border-left: 5px solid var(--shs-orange);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.travel-guide-block h4 {
    margin-top: 0;
    color: var(--shs-slate-900);
    font-size: 1.25rem;
}

.travel-guide-block.best_time {
    border-color: #3b82f6;
}

.travel-guide-block.insider_tip {
    border-color: #f59e0b;
}

.travel-guide-block.logistics {
    border-color: #10b981;
}

.discover-internal-links {
    background: var(--shs-slate-100);
    padding: 30px;
    border-radius: 12px;
    margin-top: 40px;
    text-align: center;
}

.architect-editors-pick-wrapper {
    border: 2px solid var(--shs-orange);
    background: #fff7ed;
    position: relative;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 10px 25px rgba(255, 122, 0, 0.1);
}

.editors-pick-label {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--shs-orange);
    color: #fff;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 10;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Monster-Killer Guide Variants */
.travel-guide-block.why_stay {
    border-left-color: #3b82f6;
    /* Blue for Information */
    background: #eff6ff;
}

.travel-guide-block.how_long {
    border-left-color: #10b981;
    /* Green for Time */
    background: #ecfdf5;
}

.travel-guide-block.local_tips {
    border-left-color: #f59e0b;
    /* Orange for Insider Tips */
    background: #fffbeb;
}

/* Internal Links Cluster */
.internal-links-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 15px;
}

.internal-link-chip {
    background: #fff;
    border: 1px solid #cbd5e1;
    color: #475569;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.internal-link-chip:hover {
    border-color: var(--shs-orange);
    color: var(--shs-orange);
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

/* Monster Mode Spacing Override */
.monster-killer-mode .architect-hotels-grid {
    gap: 40px;
}

/* --- HELP ICONS (Admin UI) --- */
.shss-help-icon {
    display: inline-block;
    width: 18px;
    height: 18px;
    line-height: 18px;
    text-align: center;
    background: #cbd5e1;
    color: #475569;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 800;
    cursor: help;
    margin-left: 5px;
    vertical-align: middle;
    transition: all 0.2s ease;
}

.shss-help-icon:hover {
    background: #0ea5e9;
    color: white;
}

/* --- HONEST GUIDE STYLES --- */
.shss-honest-guide {
    margin: 40px 0;
    padding: 25px;
    background: #fff7ed;
    border-radius: 16px;
    border: 1px solid #ffedd5;
    box-shadow: 0 4px 15px rgba(251, 146, 60, 0.1);
    font-family: inherit;
    position: relative;
    clear: both;
}

.shss-honest-guide h4 {
    margin-top: 0;
    color: #9a3412;
    font-size: 1.25rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
}

.shss-honest-guide .description {
    color: #94a3b8;
    border-top: 1px solid #ffedd5;
    padding-top: 15px;
    margin-top: 15px;
}

/* --- GAP KILLER: AI RESOLVED CONTENT --- */
.shss-gap-resolution {
    margin: 40px 0;
    padding: 30px;
    background: #f0f9ff;
    border-radius: 16px;
    border: 1px solid #bae6fd;
    box-shadow: 0 4px 20px rgba(12, 74, 110, 0.05);
    position: relative;
    overflow: hidden;
}

.shss-gap-resolution::before {
    content: "🕵️ Insider Intelligence";
    position: absolute;
    top: 0;
    right: 0;
    background: #0ea5e9;
    color: #fff;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 700;
    border-bottom-left-radius: 12px;
}

.shss-gap-resolution h3 {
    margin-top: 0;
    color: #0369a1;
    font-size: 1.4rem;
    font-weight: 800;
}

.shss-gap-resolution p {
    color: #334155;
    line-height: 1.6;
    font-size: 1.05rem;
}

.shss-gap-resolution ul {
    margin: 15px 0;
    padding-left: 20px;
}

.shss-gap-resolution li {
    margin-bottom: 10px;
    color: #475569;
}