.swd-search-wrap {
    background: #0b0d0e;
    color: #f3efe2;
    min-height: 65vh;
}

.swd-search-banner {
    background: radial-gradient(circle at top right, rgba(86, 194, 245, 0.14), transparent 55%), #0b0d0e;
    border-bottom: 1px solid rgba(243, 239, 226, 0.14);
    padding: 2rem 1.25rem;
}

.swd-search-banner-inner {
    max-width: 1360px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.swd-search-eyebrow {
    margin: 0 0 0.4rem;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #56c2f5;
}

.swd-search-title {
    margin: 0;
    font-size: clamp(1.45rem, 2.8vw, 2.1rem);
    font-weight: 800;
    color: #f3efe2;
    letter-spacing: -0.02em;
}

.swd-search-title span {
    color: #56c2f5;
}

.swd-search-count {
    font-size: 0.9rem;
    color: #a9a496;
    font-weight: 600;
}

.swd-search-results-section {
    max-width: 1360px;
    margin: 0 auto;
    padding: 2.25rem 1.25rem 3.5rem;
}

.swd-video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 1.35rem;
}

.swd-video-card {
    background: #14191d;
    border: 1px solid rgba(243, 239, 226, 0.14);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: border-color 0.15s ease;
}

.swd-video-card:hover {
    border-color: #56c2f5;
}

.swd-video-thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #0b0d0e;
    overflow: hidden;
}

.swd-video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.swd-video-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a9a496;
    font-size: 0.85rem;
    font-weight: 600;
}

.swd-video-body {
    padding: 1rem 1.1rem 1.15rem;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    justify-content: space-between;
    gap: 0.9rem;
}

.swd-video-title {
    margin: 0 0 0.45rem;
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.35;
}

.swd-video-title a {
    color: #f3efe2;
    text-decoration: none;
}

.swd-video-title a:hover {
    color: #56c2f5;
}

.swd-video-excerpt {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.5;
    color: #c7c2b3;
}

.swd-video-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(243, 239, 226, 0.1);
}

.swd-licence-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.8rem;
    border-radius: 6px;
    background: #56c2f5;
    color: #0b0d0e !important;
    font-size: 0.82rem;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.swd-licence-btn:hover {
    filter: brightness(1.06);
}

.swd-empty-state {
    background: #14191d;
    border: 1px solid rgba(243, 239, 226, 0.14);
    border-radius: 10px;
    padding: 2.25rem 1.5rem;
    text-align: center;
    color: #c7c2b3;
}

.swd-empty-state a {
    color: #56c2f5;
    font-weight: 700;
    text-decoration: none;
}

.swd-retry-form {
    margin: 1.25rem auto 0;
    max-width: 440px;
    display: flex;
    gap: 0.5rem;
}

.swd-retry-input {
    flex: 1;
    height: 40px;
    padding: 0 0.85rem;
    border-radius: 8px;
    border: 1px solid rgba(243, 239, 226, 0.2);
    background: #0b0d0e;
    color: #f3efe2;
    font-size: 0.9rem;
}

.swd-retry-btn {
    height: 40px;
    padding: 0 1rem;
    border-radius: 8px;
    border: none;
    background: #56c2f5;
    color: #0b0d0e;
    font-weight: 800;
    font-size: 0.88rem;
    cursor: pointer;
}

.swd-pagination {
    margin-top: 2.25rem;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.swd-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 0.7rem;
    border-radius: 8px;
    background: #14191d;
    border: 1px solid rgba(243, 239, 226, 0.14);
    color: #f3efe2;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.88rem;
}

.swd-pagination .page-numbers.current,
.swd-pagination .page-numbers:hover {
    border-color: #56c2f5;
    color: #56c2f5;
}
