/* =========================================================
ALSOUT SEARCH PAGE
========================================================= */

.alsout-search-page {
width: 100%;
max-width: 1150px;
margin: 0 auto;
padding: 35px 15px 70px;
box-sizing: border-box;
direction: rtl;
}

/* =========================================================
HERO
========================================================= */

.alsout-search-hero {
position: relative;
overflow: hidden;


min-height: 240px;
padding: 55px 50px;
margin-bottom: 25px;

background: #111;
color: #fff;

border-radius: 16px;
box-sizing: border-box;


}

.alsout-search-hero::before {
content: "";


position: absolute;

width: 420px;
height: 420px;

left: -180px;
top: -210px;

border: 1px solid rgba(255,255,255,.08);
border-radius: 50%;


}

.alsout-search-hero::after {
content: "";


position: absolute;

width: 220px;
height: 220px;

right: -80px;
bottom: -120px;

border: 1px solid rgba(255,255,255,.06);
border-radius: 50%;


}

.alsout-search-hero-content {
position: relative;
z-index: 2;


max-width: 800px;


}

.alsout-search-kicker {
display: inline-block;


margin-bottom: 12px;

color: #aaa;

font-size: 12px;
letter-spacing: 2px;


}

.alsout-search-hero h1 {
margin: 0;


color: #fff;

font-size: 46px;
font-weight: 800;
line-height: 1.2;


}

.alsout-search-hero p {
margin: 14px 0 0;


color: #aaa;

font-size: 16px;
line-height: 1.8;


}

.alsout-search-hero p strong {
color: #fff;
}

.alsout-search-icon {
position: absolute;


left: 50px;
bottom: 45px;

z-index: 2;

width: 75px;
height: 75px;

display: flex;
align-items: center;
justify-content: center;

border: 1px solid rgba(255,255,255,.12);
border-radius: 50%;

color: rgba(255,255,255,.7);

font-size: 25px;


}


/* =========================================================
RESULTS HEADER
========================================================= */

.alsout-search-results-head {
display: flex;
align-items: center;
justify-content: space-between;


padding: 20px 22px;
margin-bottom: 22px;

background: #fff;

border: 1px solid #e8e8e8;
border-radius: 10px;

box-sizing: border-box;


}

.alsout-search-results-head > div:first-child {
display: flex;
align-items: center;


gap: 8px;


}

.alsout-search-results-head span {
color: #888;
font-size: 13px;
}

.alsout-search-results-head strong {
color: #111;
font-size: 24px;
font-weight: 800;
}

.alsout-search-results-head small {
color: #999;
font-size: 12px;
}

.alsout-search-keyword {
padding: 8px 14px;


background: #f3f3f3;

border-radius: 20px;

color: #555;

font-size: 13px;


}

/* =========================================================
NEWS GRID
========================================================= */

.alsout-search-grid {
display: grid;


grid-template-columns: repeat(2, minmax(0, 1fr));

gap: 20px;

align-items: stretch;


}

/* =========================================================
FEATURED NEWS
========================================================= */

.alsout-featured-news {
grid-column: 1 / -1;


display: grid;

grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);

min-height: 360px;

overflow: hidden;

background: #fff;

border: 1px solid #e8e8e8;
border-radius: 14px;

transition: .25s ease;


}

.alsout-featured-news:hover {
transform: translateY(-3px);


box-shadow: 0 15px 40px rgba(0,0,0,.08);


}

.alsout-featured-photo {
display: block;


min-height: 360px;

overflow: hidden;

background: #eee;


}

.alsout-featured-photo img {
display: block;


width: 100%;
height: 100%;

object-fit: cover;

transition: .4s ease;


}

.alsout-featured-news:hover .alsout-featured-photo img {
transform: scale(1.04);
}

.alsout-featured-body {
padding: 35px;


display: flex;
flex-direction: column;
justify-content: center;

box-sizing: border-box;


}

.alsout-news-category {
display: inline-flex;


width: fit-content;

padding: 5px 11px;
margin-bottom: 15px;

background: #f2f2f2;

border-radius: 5px;

color: #666;

font-size: 11px;


}

.alsout-featured-body h2 {
margin: 0 0 15px;


font-size: 28px;
font-weight: 800;
line-height: 1.5;


}

.alsout-featured-body h2 a,
.alsout-news-body h3 a {
color: #111;


text-decoration: none;

transition: .2s ease;


}

.alsout-featured-body h2 a:hover,
.alsout-news-body h3 a:hover {
color: #555;
}

.alsout-featured-body p {
margin: 0 0 20px;


color: #777;

font-size: 14px;
line-height: 1.9;


}

/* =========================================================
NORMAL NEWS
========================================================= */

.alsout-news-card {
display: flex;
flex-direction: column;


overflow: hidden;

background: #fff;

border: 1px solid #e8e8e8;
border-radius: 12px;

transition: .25s ease;


}

.alsout-news-card:hover {
transform: translateY(-4px);


box-shadow: 0 12px 30px rgba(0,0,0,.07);


}

.alsout-news-photo {
display: block;


width: 100%;
height: 220px;

overflow: hidden;

background: #eee;


}

.alsout-news-photo img {
display: block;


width: 100%;
height: 100%;

object-fit: cover;

transition: .35s ease;


}

.alsout-news-card:hover .alsout-news-photo img {
transform: scale(1.05);
}

.alsout-news-body {
padding: 22px;


display: flex;
flex-direction: column;

flex: 1;

box-sizing: border-box;


}

.alsout-news-body h3 {
margin: 0 0 12px;


font-size: 20px;
font-weight: 800;
line-height: 1.55;


}

.alsout-news-body p {
margin: 0 0 18px;


color: #777;

font-size: 13px;
line-height: 1.8;

flex: 1;


}

/* =========================================================
NEWS PLACEHOLDER
========================================================= */

.alsout-news-placeholder {
width: 100%;
height: 100%;


display: flex;
align-items: center;
justify-content: center;

background: #f0f0f0;

color: #aaa;

font-size: 38px;


}

/* =========================================================
NEWS META
========================================================= */

.alsout-news-meta {
display: flex;
align-items: center;
justify-content: space-between;


gap: 15px;


}

.alsout-news-meta time {
color: #999;


font-size: 11px;


}

.alsout-news-meta a {
display: inline-flex;
align-items: center;


gap: 8px;

color: #111;

text-decoration: none;

font-size: 13px;
font-weight: 700;

transition: .2s ease;


}

.alsout-news-meta a:hover {
gap: 12px;
}

/* =========================================================
PAGINATION
========================================================= */

.alsout-search-pagination {
display: flex;
justify-content: center;


margin: 40px 0 0;


}

/* =========================================================
EMPTY
========================================================= */

.alsout-search-empty {
padding: 75px 25px;


background: #fff;

border: 1px solid #e8e8e8;
border-radius: 14px;

text-align: center;


}

.alsout-empty-icon {
width: 80px;
height: 80px;


margin: 0 auto 20px;

display: flex;
align-items: center;
justify-content: center;

background: #f2f2f2;

border-radius: 50%;

color: #888;

font-size: 28px;


}

.alsout-search-empty > span {
display: block;


margin-bottom: 8px;

color: #999;

font-size: 12px;


}

.alsout-search-empty h2 {
margin: 0 0 10px;


color: #111;

font-size: 28px;
font-weight: 800;


}

.alsout-search-empty p {
margin: 0;


color: #777;

font-size: 14px;
line-height: 1.8;


}

.alsout-search-empty p strong {
color: #111;
}

.alsout-home-button {
display: inline-flex;
align-items: center;


gap: 8px;

margin-top: 25px;
padding: 12px 22px;

background: #111;

border-radius: 7px;

color: #fff;

text-decoration: none;

font-size: 13px;
font-weight: 700;

transition: .2s ease;


}

.alsout-home-button:hover {
background: #333;


color: #fff;


}
/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .alsout-search-page {
        padding: 25px 15px 50px;

        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .alsout-search-hero {
        padding: 45px 30px;

        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .alsout-search-icon {
        display: none;
    }

    .alsout-featured-news {
        grid-template-columns: 1fr;

        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .alsout-featured-photo {
        height: 260px;
        min-height: 260px;

        width: 100%;
        max-width: 100%;

        object-fit: cover;
    }

    .alsout-featured-body {
        padding: 25px;

        min-width: 0;
        box-sizing: border-box;
    }

    .alsout-featured-body h2 {
        font-size: 24px;

        line-height: 1.6;
        overflow-wrap: anywhere;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 650px) {

    .alsout-search-page {
        padding: 20px 12px 45px;

        width: 100%;
        max-width: 100%;

        box-sizing: border-box;

        overflow: hidden;
    }

    .alsout-search-hero {
        min-height: auto;

        padding: 40px 22px;

        width: 100%;
        max-width: 100%;

        border-radius: 12px;

        box-sizing: border-box;
    }

    .alsout-search-hero h1 {
        font-size: 34px;

        line-height: 1.4;
        overflow-wrap: anywhere;
    }

    .alsout-search-hero p {
        font-size: 14px;

        line-height: 1.8;
        overflow-wrap: anywhere;
    }

    .alsout-search-form {
        flex-direction: column;

        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .alsout-search-input {
        width: 100%;
        max-width: 100%;
        min-width: 0;

        box-sizing: border-box;
    }

    .alsout-search-form > button {
        width: 100%;
        max-width: 100%;

        box-sizing: border-box;
    }

    .alsout-search-results-head {
        align-items: flex-start;

        flex-direction: column;

        gap: 12px;

        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .alsout-search-grid {
        grid-template-columns: 1fr;

        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .alsout-featured-news {
        grid-column: auto;

        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .alsout-featured-photo {
        height: 210px;
        min-height: 210px;

        width: 100%;
        max-width: 100%;

        object-fit: cover;
    }

    .alsout-featured-body {
        min-width: 0;
    }

    .alsout-featured-body h2 {
        line-height: 1.6;
        overflow-wrap: anywhere;
    }

    .alsout-news-photo {
        width: 100%;
        max-width: 100%;

        height: 210px;

        object-fit: cover;
    }

    .alsout-news-body {
        min-width: 0;
    }

    .alsout-news-body h3 {
        overflow-wrap: anywhere;
        line-height: 1.6;
    }

    .alsout-news-meta {
        align-items: flex-start;

        flex-direction: column;

        min-width: 0;
    }

    .alsout-search-ad {
        width: 100%;
        max-width: 100%;

        height: auto;

        aspect-ratio: 800 / 250;

        margin: 25px auto;

        box-sizing: border-box;

        overflow: hidden;
    }

    .alsout-search-ad img {
        width: 100%;
        height: 100%;

        max-width: 100%;
        max-height: 100%;

        object-fit: fill;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 400px) {

    .alsout-search-page {
        padding-left: 10px;
        padding-right: 10px;
    }

    .alsout-search-hero {
        padding: 35px 18px;
    }

    .alsout-search-hero h1 {
        font-size: 29px;

        line-height: 1.4;
    }

    .alsout-search-hero p {
        font-size: 13px;
    }

    .alsout-featured-body {
        padding: 20px;
    }

    .alsout-featured-body h2 {
        font-size: 21px;

        line-height: 1.6;
    }

    .alsout-news-body {
        padding: 18px;

        min-width: 0;
    }

    .alsout-news-body h3 {
        font-size: 18px;

        line-height: 1.6;
    }

    .alsout-search-ad {
        width: 100%;
        max-width: 100%;

        aspect-ratio: 800 / 250;

        margin: 20px auto;
    }

}


/* =========================================================
   SEARCH AD
   800 × 250 - CENTER
========================================================= */

.alsout-search-ad {
    width: 800px;
    height: 250px;

    max-width: 100%;

    margin: 35px auto;

    overflow: hidden;
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #fff;

    border: 1px solid #e5e5e5;
    border-radius: 10px;

    box-sizing: border-box;
}

.alsout-search-ad-link {
    display: block;

    width: 100%;
    height: 100%;
}

.alsout-search-ad img {
    display: block;

    width: 800px;
    height: 250px;

    max-width: 100%;
    max-height: 100%;

    object-fit: fill;
}


/* =========================================================
   SEARCH AD RESPONSIVE
========================================================= */

@media (max-width: 850px) {

    .alsout-search-ad {
        width: 100%;
        max-width: 800px;

        height: auto;

        aspect-ratio: 800 / 250;

        margin-left: auto;
        margin-right: auto;

        box-sizing: border-box;

        overflow: hidden;
    }

    .alsout-search-ad-link {
        width: 100%;
        height: 100%;
    }

    .alsout-search-ad img {
        width: 100%;
        height: 100%;

        max-width: 100%;
        max-height: 100%;

        object-fit: fill;
    }

}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 360px) {

    .alsout-search-page {
        padding-left: 8px;
        padding-right: 8px;
    }

    .alsout-search-hero {
        padding: 30px 15px;
    }

    .alsout-search-hero h1 {
        font-size: 26px;
    }

    .alsout-featured-photo {
        height: 200px;
        min-height: 200px;
    }

    .alsout-news-photo {
        height: 195px;
    }

    .alsout-featured-body {
        padding: 15px;
    }

    .alsout-featured-body h2 {
        font-size: 19px;
    }

    .alsout-news-body {
        padding: 15px;
    }

    .alsout-news-body h3 {
        font-size: 16px;
    }

    .alsout-search-ad {
        width: 100%;
        max-width: 100%;

        aspect-ratio: 800 / 250;
    }

}