/* =========================================
   SMART PEKUA
   Journalists Page
========================================= */

.journalist-search {
    padding: 15px;
}

.journalist-search input {
    width: 100%;
    box-sizing: border-box;

    padding: 13px 17px;

    border: 1px solid #e5e5e5;
    border-radius: 28px;

    outline: none;

    background: #fff;

    font-family: "AdorshoLipi", sans-serif;
    font-size: 15px;

    box-shadow: 0 3px 12px rgba(0, 0, 0, .06);
}

.journalist-search input:focus {
    border-color: #1E88E5;
}


/* =========================================
   Journalists Container
========================================= */

.journalists-container {
    padding: 0 15px 100px;
}

.journalists-grid {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 14px;
}


/* =========================================
   Journalist Card
========================================= */

.journalist-card {
    display: flex;
    flex-direction: column;

    background: #fff;

    border-radius: 17px;

    overflow: hidden;

    border: 1px solid #eeeeee;

    box-shadow: 0 3px 12px rgba(0, 0, 0, .07);

    text-decoration: none !important;

    color: #222;

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.journalist-card:active {
    transform: scale(.97);
}


/* =========================================
   Photo
========================================= */

.journalist-photo {
    width: 100%;

    height: 145px;

    background: #f2f6fa;

    overflow: hidden;

    display: flex;

    align-items: center;

    justify-content: center;
}

.journalist-photo img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;
}


/* =========================================
   Card Content
========================================= */

.journalist-content {
    padding: 12px 10px 13px;

    text-align: center;
}

.journalist-content h3 {
    margin: 0 0 6px;

    font-size: 16px;

    line-height: 1.35;

    color: #222;

    text-decoration: none !important;
}

.journalist-media {
    margin: 0;

    color: #666;

    font-size: 12px;

    line-height: 1.5;

    min-height: 36px;
}


/* =========================================
   Details Button
========================================= */

.journalist-details-btn {
    display: inline-block;

    margin-top: 9px;

    padding: 7px 13px;

    border-radius: 20px;

    background: #EAF4FF;

    color: #1E88E5;

    font-size: 12px;

    font-weight: 600;

    text-decoration: none !important;
}


/* =========================================
   Loading
========================================= */

.loading-message {
    grid-column: 1 / -1;

    text-align: center;

    padding: 45px 15px;

    color: #777;

    font-size: 14px;
}


/* =========================================
   Empty
========================================= */

.empty-message {
    grid-column: 1 / -1;

    text-align: center;

    padding: 45px 15px;

    color: #777;

    font-size: 14px;
}


/* =========================================
   Mobile Small Screen
========================================= */

@media (max-width: 360px) {

    .journalists-grid {
        gap: 10px;
    }

    .journalist-photo {
        height: 125px;
    }

    .journalist-content {
        padding: 10px 7px 11px;
    }

    .journalist-content h3 {
        font-size: 15px;
    }

    .journalist-media {
        font-size: 11px;
    }

}


/* =========================================
   Larger Screens
========================================= */

@media (min-width: 600px) {

    .journalists-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

}

.page-header{
    position: relative;
    justify-content: left;
    align-items: left;
    background:#1976D2;
    color:#fff;
    padding:18px;
    border-radius:0 0 25px 25px;
}

.back-btn{

    left:20px;
    top:20%;
    width:42px;
    height:42px;
    align-items:left;
    border-radius:50%;
    background:rgba(255,255,255,.2);
    text-decoration:none;
    color:#fff;
    font-size:28px;
}

.page-header h1{
    
    font-size:24px;
    pointer-events:none;
}