/*
Theme Name: Adoptions
Theme URI: https://atechitsols.com/
Author: M Hamza
Author URI: https://atechitsols.com/
Description: Bespoke WordPress custom theme for AD OPTIONS Media — Integrated Strategic Partner combining communications, marketing, creativity, business technology and artificial intelligence.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: adoptions
Tags: custom-header, custom-menu, featured-images, full-width-template, translation-ready, block-styles

AD OPTIONS MEDIA — bespoke responsive design system.
*/

/* ==========================================================================
   WordPress Core Alignment & Accessibility Utilities
   ========================================================================== */

.alignleft {
    float: left;
    margin: 0 1.5em 1.5em 0;
}

.alignright {
    float: right;
    margin: 0 0 1.5em 1.5em;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    clear: both;
}

.wp-caption {
    margin-bottom: 1.5em;
    max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption-text {
    font-size: 13px;
    color: var(--muted, #74777c);
    text-align: center;
    margin-top: 0.5em;
}

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* Post Pagination & Entry styling */
.post-pagination {
    margin-top: 40px;
    display: flex;
    gap: 8px;
    align-items: center;
}

.post-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    border: 1px solid var(--border, #e7e5e0);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    color: var(--ink, #25262a);
    text-decoration: none;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.post-pagination .page-numbers.current,
.post-pagination .page-numbers:hover {
    background: var(--orange, #ed8e24);
    color: #fff;
    border-color: var(--orange, #ed8e24);
}


/* ==========================================================================
   Mobile & Layout Custom Refinements
   ========================================================================== */

.vf-rings span {
    position: absolute;
    bottom: 4px;
    right: -16px;
    font-size: 48px;
    background: #2b2c31;
    border-radius: 360px;
}

.leadership-group:last-child .leader-grid {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 520px) {
    .leadership-group:last-child .leader-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .hero-proof {
        gap: 10px;
        justify-content: space-between;
        padding-bottom: 20px;
    }

    .footer-brand img {
        max-width: 260px;
        object-fit: contain;
    }

    .footer-bottom {
        align-items: center;
        gap: 9px;
        flex-direction: column;
        padding: 18px 0;
        text-align: center;
    }
}

/* ==========================================================================
   Header Search Button & Actions (Desktop & Mobile)
   ========================================================================== */

/* Header Search Trigger Button */
.header-search-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid #e7e5e0;
    background: #ffffff;
    border-radius: 6px;
    color: var(--charcoal, #202126);
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.header-search-toggle:hover,
.header-search-toggle:focus {
    border-color: var(--orange, #ed8e24);
    color: var(--orange, #ed8e24);
    background: var(--warm, #faf7f2);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(237, 142, 36, 0.15);
}

.header-search-toggle .search-icon {
    display: block;
    stroke: currentColor;
}

@media (min-width: 1121px) {
    .site-header .header-search-toggle {
        margin-right: -16px;
    }
}

/* Mobile Header Layout: Keep search outside next to hamburger */
@media (max-width: 1120px) {
    .site-header .header-layout {
        gap: 12px;
    }

    .site-header .header-search-toggle {
        display: inline-flex;
        margin-left: auto;
        width: 42px;
        height: 42px;
    }

    .site-header .menu-button {
        display: flex;
        margin-left: 0;
    }
}

@media (max-width: 520px) {
    .site-header .header-layout {
        gap: 8px;
    }

    .site-header .header-search-toggle {
        width: 38px;
        height: 38px;
    }

    .site-header .menu-button {
        width: 40px;
        height: 40px;
    }
}

/* ==========================================================================
   Mobile Menu "Let's Talk" Link (Same Old Menu Style)
   ========================================================================== */

.mobile-menu>a.mobile-menu-cta-link {
    color: var(--orange-dark, #b85f19);
    font-weight: 800;
}

.mobile-menu>a.mobile-menu-cta-link span:last-child {
    color: var(--orange, #ed8e24);
    font-size: 16px;
}

.mobile-menu>a.mobile-menu-cta-link:hover {
    color: var(--orange, #ed8e24);
    background: var(--warm, #faf7f2);
}

/* ==========================================================================
   Header Search Modal Overlay (Desktop & Mobile Responsive)
   ========================================================================== */

.header-search-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 70px 20px 30px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.search-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(22, 23, 27, 0.82);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.22s ease-out;
}

.header-search-modal.is-visible .search-modal-backdrop {
    opacity: 1;
}

.search-modal-box {
    position: relative;
    z-index: 2;
    width: min(700px, 100%);
    box-sizing: border-box;
    background: #202126;
    color: #ffffff;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
    padding: 28px 30px 32px;
    transform: translateY(-20px);
    opacity: 0;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.22s ease-out;
}

.header-search-modal.is-visible .search-modal-box {
    opacity: 1;
    transform: translateY(0);
}

.search-modal-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.search-modal-kicker h3 {
    margin: 6px 0 0;
    font-size: 22px;
    color: #ffffff;
    line-height: 1.25;
}

.search-modal-close {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border-radius: 6px;
    font-size: 16px;
    display: grid;
    place-items: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.15s ease;
    padding: 0;
    line-height: 1;
}

.search-modal-close:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.35);
}

/* Modal Form Input Wrapper */
.search-modal-input-wrap {
    display: flex;
    align-items: center;
    background: #17181c;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    padding: 5px 5px 5px 16px;
    gap: 10px;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.search-modal-input-wrap:focus-within {
    border-color: var(--orange, #ed8e24);
    box-shadow: 0 0 0 3px rgba(237, 142, 36, 0.25);
}

.search-modal-input-icon {
    stroke: #8c8f94;
    flex-shrink: 0;
}

.search-modal-input {
    flex: 1;
    border: 0;
    background: transparent;
    font-size: 15px;
    color: #ffffff;
    outline: none;
    padding: 8px 0;
    min-width: 0;
    box-sizing: border-box;
}

.search-modal-input::placeholder {
    color: #74777c;
}

.search-modal-btn {
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 800;
    gap: 12px;
    flex-shrink: 0;
    white-space: nowrap;
}

.search-modal-btn .btn-arrow {
    width: 24px;
    height: 24px;
    font-size: 13px;
}

/* Search Modal Input Clear Button & Spinner */
.search-modal-clear {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.12);
    color: #c5c7cb;
    font-size: 11px;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.15s ease;
    padding: 0;
    line-height: 1;
}

.search-modal-clear:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

.search-modal-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-top-color: var(--orange, #ed8e24);
    border-radius: 50%;
    animation: searchSpin 0.6s linear infinite;
    flex-shrink: 0;
}

@keyframes searchSpin {
    to { transform: rotate(360deg); }
}

/* Live Typing Search Suggestions */
.search-live-suggestions {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    animation: searchFadeIn 0.18s ease-out;
}

@keyframes searchFadeIn {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

.suggestions-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    padding: 0 4px;
}

.suggestions-header-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 800;
    color: #909497;
}

.suggestions-count {
    font-size: 12px;
    color: #8c8f94;
    font-weight: 500;
}

.suggestions-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 330px;
    overflow-y: auto;
    padding-right: 4px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.suggestions-list::-webkit-scrollbar {
    width: 6px;
}

.suggestions-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

/* Individual Suggestion Item */
.suggestion-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 12px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
    text-decoration: none;
    position: relative;
}

.suggestion-item:hover,
.suggestion-item.is-selected {
    background: rgba(237, 142, 36, 0.12);
    border-color: rgba(237, 142, 36, 0.45);
    transform: translateX(2px);
}

.suggestion-item.is-selected {
    border-left: 3px solid var(--orange, #ed8e24);
}

/* Category Badges */
.suggestion-badge {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.06em;
    padding: 3px 7px;
    border-radius: 4px;
    text-transform: uppercase;
    white-space: nowrap;
    flex-shrink: 0;
    line-height: 1.2;
}

.suggestion-badge.badge-solution {
    background: rgba(237, 142, 36, 0.18);
    color: #ed8e24;
    border: 1px solid rgba(237, 142, 36, 0.35);
}

.suggestion-badge.badge-industry {
    background: rgba(43, 140, 235, 0.18);
    color: #6db1e8;
    border: 1px solid rgba(43, 140, 235, 0.35);
}

.suggestion-badge.badge-about {
    background: rgba(242, 168, 100, 0.18);
    color: #f2a864;
    border: 1px solid rgba(242, 168, 100, 0.35);
}

.suggestion-badge.badge-insight {
    background: rgba(56, 189, 126, 0.18);
    color: #6ee7b7;
    border: 1px solid rgba(56, 189, 126, 0.35);
}

.suggestion-badge.badge-work {
    background: rgba(168, 85, 247, 0.18);
    color: #c084fc;
    border: 1px solid rgba(168, 85, 247, 0.35);
}

.suggestion-badge.badge-page {
    background: rgba(255, 255, 255, 0.08);
    color: #d1d5db;
    border: 1px solid rgba(255, 255, 255, 0.16);
}

/* Content */
.suggestion-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.suggestion-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.suggestion-title {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-match {
    background: transparent;
    color: var(--orange, #ed8e24);
    font-weight: 800;
    text-decoration: underline;
    text-decoration-color: rgba(237, 142, 36, 0.5);
    text-underline-offset: 2px;
}

.suggestion-snippet {
    font-size: 11px;
    color: #9da2a8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
}

/* Suggestion Actions */
.suggestion-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.suggestion-complete-btn {
    width: 28px;
    height: 28px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #c5c7cb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
    padding: 0;
}

.suggestion-complete-btn:hover {
    background: var(--orange, #ed8e24);
    border-color: var(--orange, #ed8e24);
    color: #17181c;
    transform: scale(1.08);
}

.suggestion-arrow {
    font-size: 14px;
    color: #8c8f94;
    transition: color 0.15s, transform 0.15s;
    line-height: 1;
}

.suggestion-item:hover .suggestion-arrow,
.suggestion-item.is-selected .suggestion-arrow {
    color: var(--orange, #ed8e24);
    transform: translate(2px, -2px);
}

/* Footer & View All */
.suggestions-footer {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.search-view-all-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 9px 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.15s ease;
    box-sizing: border-box;
}

.search-view-all-btn:hover {
    background: rgba(237, 142, 36, 0.15);
    border-color: var(--orange, #ed8e24);
    color: var(--orange, #ed8e24);
}

.search-view-all-btn strong {
    color: var(--orange, #ed8e24);
}

/* Empty suggestions state */
.suggestion-empty {
    padding: 22px 14px;
    text-align: center;
    color: #c5c7cb;
    font-size: 13px;
}

.suggestion-empty p {
    margin: 0;
}

.suggestion-empty-hint {
    margin-top: 6px !important;
    font-size: 11px;
    color: #8c8f94;
}

/* Modal Suggestions */
.search-modal-suggestions {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.suggestions-label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 800;
    color: #909497;
    margin-bottom: 10px;
}

.suggestions-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.suggestions-chips a {
    display: inline-block;
    padding: 6px 13px;
    background: #2b2c32;
    border: 1px solid #3c3e46;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: #c5c7cb;
    text-decoration: none;
    transition: all 0.15s ease;
}

.suggestions-chips a:hover {
    background: #383a42;
    border-color: var(--orange, #ed8e24);
    color: #ffffff;
    transform: translateY(-1px);
}

/* Modal Mobile Responsiveness */
@media (max-width: 768px) {
    .header-search-modal {
        padding: 14px;
        padding-top: max(16px, env(safe-area-inset-top));
    }

    .search-modal-box {
        padding: 20px 16px 22px;
        border-radius: 10px;
        margin-top: calc(78px + env(safe-area-inset-top, 0px));
    }

    .search-modal-top {
        margin-bottom: 16px;
        gap: 12px;
    }

    .search-modal-kicker h3 {
        font-size: 18px;
        margin-top: 4px;
    }

    .search-modal-close {
        width: 36px;
        height: 36px;
    }

    .search-modal-input-wrap {
        padding: 4px 4px 4px 12px;
        gap: 8px;
    }

    .search-modal-input {
        font-size: 14px;
        padding: 8px 0;
    }

    .search-modal-btn {
        padding: 8px 14px;
        font-size: 12px;
        gap: 8px;
    }

    .search-modal-btn .btn-arrow {
        width: 22px;
        height: 22px;
        font-size: 12px;
    }

    .search-modal-suggestions {
        margin-top: 16px;
        padding-top: 14px;
    }

    .suggestions-label {
        font-size: 10px;
        margin-bottom: 8px;
    }

    .suggestions-chips {
        gap: 6px;
    }

    .suggestions-chips a {
        font-size: 11px;
        padding: 5px 10px;
    }

    .suggestions-list {
        max-height: 260px;
        gap: 5px;
    }

    .suggestion-item {
        padding: 8px 10px;
        gap: 8px;
    }

    .suggestion-title {
        font-size: 13px;
    }

    .suggestion-badge {
        font-size: 8px;
        padding: 2px 5px;
    }

    .suggestion-complete-btn {
        width: 26px;
        height: 26px;
    }
}

@media (max-width: 480px) {
    .header-search-modal {
        padding: 10px;
        padding-top: max(12px, env(safe-area-inset-top));
    }

    .search-modal-box {
        padding: 16px 14px 18px;
    }

    .search-modal-kicker h3 {
        font-size: 16px;
    }

    .search-modal-input-wrap {
        padding: 4px 4px 4px 10px;
    }

    .search-modal-input {
        font-size: 13px;
    }

    .search-modal-btn {
        padding: 8px 10px;
        gap: 0;
    }

    .search-modal-btn span:first-child {
        display: none;
    }

    .search-modal-btn .btn-arrow {
        width: 24px;
        height: 24px;
    }

    .suggestion-snippet {
        display: none;
    }

    .suggestions-list {
        max-height: 220px;
    }

    .search-view-all-btn {
        font-size: 12px;
        padding: 8px 10px;
    }
}

/* ==========================================================================
   Search Results Page Styles (search.php)
   ========================================================================== */

/* Hero Search Refine Bar */
.hero-search-bar {
    max-width: 640px;
    margin: 24px 0 32px;
}

.hero-search-form {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 5px 5px 5px 16px;
    gap: 12px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.hero-search-form:focus-within {
    border-color: var(--orange, #ed8e24);
    box-shadow: 0 0 0 3px rgba(237, 142, 36, 0.25);
    background: rgba(255, 255, 255, 0.12);
}

.hero-search-icon {
    stroke: #a9abaf;
    flex-shrink: 0;
}

.hero-search-input {
    flex: 1;
    border: 0;
    background: transparent;
    font-size: 15px;
    color: #ffffff;
    outline: none;
    padding: 8px 0;
    min-width: 0;
}

.hero-search-input::placeholder {
    color: #8c8f94;
}

.hero-search-btn {
    padding: 11px 18px;
    font-size: 13px;
    gap: 14px;
}

.hero-search-btn .btn-arrow {
    width: 26px;
    height: 26px;
    font-size: 14px;
}

/* Search Meta Header */
.search-results-meta {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--border, #e7e5e0);
    padding-bottom: 24px;
}

.search-meta-title h2 {
    margin: 12px 0 0;
    font-size: clamp(2rem, 3.8vw, 3.2rem);
}

.search-meta-count {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    flex-shrink: 0;
}

.search-meta-count strong {
    font-family: var(--display);
    font-size: 38px;
    line-height: 1;
    font-weight: 800;
    color: var(--orange, #ed8e24);
}

.search-meta-count span {
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 800;
    color: var(--muted, #74777c);
    margin-top: 4px;
}

/* Search Results Grid */
.search-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 28px;
    margin-bottom: 50px;
}

/* Search Result Card */
.search-result-card {
    background: #ffffff;
    border: 1px solid #e7e5e0;
    border-radius: 10px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    position: relative;
}

.search-result-card:hover {
    transform: translateY(-4px);
    border-color: var(--orange, #ed8e24);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.06);
}

/* Card Badges */
.search-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 16px;
    line-height: 1.2;
}

.badge-solution {
    background: #fff4e6;
    color: #b85f19;
    border: 1px solid #f6b354;
}

.badge-industry {
    background: #f0f6fc;
    color: #0969da;
    border: 1px solid #c8e1ff;
}

.badge-about {
    background: #f6f6f4;
    color: #202126;
    border: 1px solid #dedcd7;
}

.badge-insight {
    background: #fbf0ea;
    color: #b85f19;
    border: 1px solid #f2cfbb;
}

.badge-work {
    background: #eef9fd;
    color: #0550ae;
    border: 1px solid #b6e3ff;
}

.badge-clients {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.badge-contact {
    background: #fffbeb;
    color: #92400e;
    border: 1px solid #fde68a;
}

.badge-page {
    background: #f4f4f3;
    color: #57606a;
    border: 1px solid #e1e4e8;
}

/* Card Typography */
.search-card-title {
    font-family: var(--display);
    font-size: 21px;
    line-height: 1.3;
    font-weight: 800;
    margin: 0 0 12px;
    letter-spacing: -0.03em;
}

.search-card-title a {
    color: var(--ink, #25262a);
    text-decoration: none;
    transition: color 0.2s;
}

.search-card-title a:hover {
    color: var(--orange-dark, #b85f19);
}

.search-card-snippet {
    font-size: 14px;
    line-height: 1.7;
    color: var(--muted, #74777c);
    margin: 0 0 24px;
    flex: 1;
}

/* Card Footer */
.search-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-top: 1px solid #f2f0eb;
    padding-top: 18px;
    font-size: 12px;
    font-weight: 700;
}

.search-card-path {
    font-size: 11px;
    color: #8c8f94;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 60%;
}

.search-card-cta {
    color: var(--orange-dark, #b85f19);
    font-weight: 800;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: transform 0.2s;
}

.search-result-card:hover .search-card-cta {
    transform: translateX(3px);
}

/* Empty State Styling */
.search-empty-state {
    text-align: center;
    background: var(--warm, #faf7f2);
    border: 1px solid #eae5dd;
    border-radius: 14px;
    padding: 70px 30px;
    max-width: 820px;
    margin: 20px auto 40px;
}

.empty-icon-wrap {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #e7e5e0;
    color: var(--orange, #ed8e24);
    display: grid;
    place-items: center;
    margin: 0 auto 24px;
    box-shadow: 0 8px 24px rgba(237, 142, 36, 0.12);
}

.search-empty-state h2 {
    font-size: clamp(26px, 3.2vw, 36px);
    margin: 0 0 14px;
    color: var(--ink, #25262a);
}

.search-empty-state p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--muted, #74777c);
    max-width: 580px;
    margin: 0 auto 32px;
}

.empty-quick-links {
    border-top: 1px solid #e7e4dc;
    padding-top: 28px;
    max-width: 640px;
    margin: 0 auto;
}

.quick-links-label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 800;
    color: var(--muted, #74777c);
    margin-bottom: 14px;
}

.quick-links-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.quick-links-chips a {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: #ffffff;
    border: 1px solid #dcdad4;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    color: var(--ink, #25262a);
    text-decoration: none;
    transition: all 0.2s;
}

.quick-links-chips a:hover {
    border-color: var(--orange, #ed8e24);
    color: var(--orange-dark, #b85f19);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Generic Search Form (searchform.php) Component */
.adoptions-search-form .search-form-inner {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #dcdad4;
    border-radius: 6px;
    padding: 4px 6px 4px 14px;
    gap: 10px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.adoptions-search-form .search-form-inner:focus-within {
    border-color: var(--orange, #ed8e24);
    box-shadow: 0 0 0 3px rgba(237, 142, 36, 0.18);
}

.adoptions-search-form .search-form-icon {
    stroke: #8c8f94;
    flex-shrink: 0;
}

.adoptions-search-form .search-field {
    flex: 1;
    border: 0;
    background: transparent;
    font-size: 14px;
    color: var(--ink, #25262a);
    outline: none;
    padding: 8px 0;
}

.adoptions-search-form .search-submit {
    padding: 10px 16px;
    font-size: 13px;
    gap: 12px;
}

@media (max-width: 768px) {
    .search-results-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .search-meta-count {
        align-items: flex-start;
    }

    .search-results-grid {
        grid-template-columns: 1fr;
    }

    .search-result-card {
        padding: 24px 20px;
    }

    .hero-search-bar {
        margin: 20px 0 24px;
    }

    .hero-search-form {
        padding: 4px 4px 4px 12px;
        gap: 8px;
    }

    .hero-search-input {
        font-size: 14px;
    }

    .hero-search-btn span:first-child {
        display: none;
    }

    .hero-search-btn {
        padding: 8px 10px;
        gap: 0;
    }
}