/* Health Insurance Directory */
.hid-directory {
    --hid-primary: #1667d9;
    --hid-text: #172033;
    --hid-muted: #667085;
    --hid-border: #e7eaf0;
    --hid-bg: #f7f9fc;
    width: 100%;
    box-sizing: border-box;
}
.hid-elementor-heading { margin-bottom: 28px; }
.hid-elementor-heading h2 { margin: 0 0 8px; color: var(--hid-text); font-size: 36px; line-height: 1.2; }
.hid-elementor-heading p { margin: 0; color: var(--hid-muted); font-size: 16px; }
.hid-search-row { margin-bottom: 16px; }
.hid-search-box {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 58px;
    border: 1px solid var(--hid-border);
    border-radius: 14px;
    background: #fff;
    padding: 0 18px;
    box-shadow: 0 5px 18px rgba(20, 32, 56, .05);
}
.hid-search-box span { font-size: 26px; color: #98a2b3; line-height: 1; }
.hid-search {
    width: 100%;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    font-size: 16px;
    background: transparent !important;
    color: var(--hid-text);
}
.hid-filters {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 24px;
}
.hid-filter {
    width: 100%;
    min-height: 48px;
    border: 1px solid var(--hid-border);
    border-radius: 10px;
    background: #fff;
    padding: 0 12px;
    color: var(--hid-text);
}
.hid-results-meta {
    color: var(--hid-muted);
    font-size: 14px;
    margin: 0 0 14px;
}
.hid-grid {
    display: grid;
    grid-template-columns: repeat(var(--hid-cols-desktop, 3), minmax(0, 1fr));
    gap: 22px;
}
.hid-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--hid-border);
    border-radius: 18px;
    padding: 24px;
    min-width: 0;
    box-shadow: 0 8px 24px rgba(20, 32, 56, .05);
    transition: transform .2s ease, box-shadow .2s ease;
}
.hid-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 34px rgba(20, 32, 56, .09);
}
.hid-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #edf5ff;
    color: var(--hid-primary);
    padding: 5px 9px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
}
.hid-logo-wrap {
    height: 78px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 18px;
}
.hid-logo {
    max-width: 170px;
    max-height: 68px;
    object-fit: contain;
}
.hid-logo-placeholder {
    height: 68px;
    width: 68px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #edf5ff;
    color: var(--hid-primary);
    font-weight: 800;
    font-size: 22px;
}
.hid-card-title { margin: 0 0 8px; color: var(--hid-text); font-size: 21px; }
.hid-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.hid-tags span {
    background: var(--hid-bg);
    color: #475467;
    border-radius: 999px;
    padding: 5px 9px;
    font-size: 12px;
}
.hid-card-description { color: var(--hid-muted); line-height: 1.55; min-height: 50px; margin: 0 0 14px; }
.hid-benefits { list-style: none !important; padding: 0 !important; margin: 0 0 20px !important; }
.hid-benefits li {
    position: relative;
    padding-left: 22px;
    margin: 7px 0;
    color: #475467;
    font-size: 14px;
}
.hid-benefits li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #12b76a;
    font-weight: 700;
}
.hid-button, .hid-secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 10px;
    text-decoration: none !important;
    font-weight: 700;
    box-sizing: border-box;
}
.hid-button { background: var(--hid-primary); color: #fff !important; }
.hid-button:hover { opacity: .92; color: #fff !important; }
.hid-secondary-button { border: 1px solid var(--hid-border); color: var(--hid-text) !important; background: #fff; }
.hid-pagination { display: flex; gap: 7px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }
.hid-pagination button {
    min-width: 38px;
    height: 38px;
    border: 1px solid var(--hid-border);
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
}
.hid-pagination button.active { background: var(--hid-primary); color: #fff; border-color: var(--hid-primary); }
.hid-loading { text-align: center; padding: 30px; color: var(--hid-muted); }
.hid-empty { text-align: center; padding: 50px 20px; color: var(--hid-muted); }
.hid-single { max-width: 1100px; margin: 0 auto; }
.hid-single-hero {
    display: grid;
    grid-template-columns: 170px 1fr;
    gap: 30px;
    align-items: center;
    padding: 38px;
    border: 1px solid var(--hid-border);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(20,32,56,.06);
    margin-bottom: 28px;
}
.hid-single-logo {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hid-single-logo img { max-width: 160px; max-height: 120px; object-fit: contain; }
.hid-eyebrow { color: var(--hid-primary); font-size: 13px; font-weight: 700; }
.hid-single h1 { margin: 6px 0 18px; color: var(--hid-text); font-size: 40px; }
.hid-single-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.hid-single-section {
    background: #fff;
    border: 1px solid var(--hid-border);
    border-radius: 18px;
    padding: 28px;
    margin-bottom: 22px;
}
.hid-single-section h2 { margin-top: 0; color: var(--hid-text); }
.hid-detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.hid-detail-item { border: 1px solid var(--hid-border); border-radius: 12px; padding: 14px; color: #475467; }
.hid-detail-item span { color: #12b76a; font-weight: 800; margin-right: 8px; }

@media (max-width: 1024px) {
    .hid-grid { grid-template-columns: repeat(var(--hid-cols-tablet, 2), minmax(0, 1fr)); }
    .hid-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
    .hid-grid { grid-template-columns: repeat(var(--hid-cols-mobile, 1), minmax(0, 1fr)); }
    .hid-filters, .hid-detail-grid { grid-template-columns: 1fr; }
    .hid-card { padding: 20px; }
    .hid-single-hero { grid-template-columns: 1fr; padding: 24px; text-align: center; }
    .hid-single-actions { justify-content: center; }
    .hid-single h1 { font-size: 30px; }
}

.hid-page-dots {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    color: #98a2b3;
}

.hid-archive-page .hid-archive-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px;
}
@media (max-width: 767px) {
    .hid-archive-page .hid-archive-container { padding: 30px 16px; }
}

/* Standalone plugin-controlled archive */
body.hid-standalone-archive {
    margin: 0 !important;
    background: #f7f9fc !important;
    color: #172033;
}
.hid-standalone-page {
    min-height: 100vh;
    padding: 56px 20px 80px;
    box-sizing: border-box;
}
.hid-standalone-inner {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
}
.hid-standalone-inner .hid-elementor-heading {
    text-align: center;
    margin: 0 auto 30px;
    max-width: 720px;
}
.hid-standalone-inner .hid-elementor-heading h2 {
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 10px;
}
.hid-standalone-inner .hid-elementor-heading p {
    font-size: 17px;
}
.hid-standalone-inner .hid-search-box {
    max-width: 760px;
    margin: 0 auto 16px;
    min-height: 62px;
    border-radius: 16px;
}
.hid-standalone-inner .hid-filters {
    max-width: 980px;
    margin: 0 auto 26px;
}
.hid-standalone-inner .hid-grid {
    margin-top: 8px;
}
.hid-standalone-inner .hid-card {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}
.hid-standalone-inner .hid-button {
    margin-top: auto;
    width: 100%;
}
@media (max-width: 767px) {
    .hid-standalone-page { padding: 34px 14px 60px; }
    .hid-standalone-inner .hid-elementor-heading h2 { font-size: 32px; }
}

.hid-card.hid-equal-height { height: 100%; box-sizing: border-box; }
.hid-pagination .hid-load-more {
    min-height: 44px;
    padding: 0 22px;
    border: 0;
    border-radius: 10px;
    background: var(--hid-primary);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}
