:root {
    --white: #FFFFFF;
    --main: linear-gradient(111.26deg, #F4551E -0.11%, #DE2947 100.11%);
    --liner-bg: linear-gradient(157.73deg, #FFFBFB 0%, #F9CAB8 100%);
    --liner-elements: linear-gradient(157.73deg, #F9CAB8 0%, #FFFBFB 100%);
    --black: #2F2F2F;
    --bg-elements: #FFD1C0;
    --font-main: 'Comfortaa', sans-serif;
    --font-secondary: 'Comfortaa Bold', sans-serif;
    --nav-w: 365px;
    --subnav-w: 300px;
    --bg: #111;
    --bg-2: #181818;
    --txt: rgba(47, 47, 47, 1);
    --muted: #9aa0a6;
    --accent: #FFD56F;
    --overlay: rgba(47, 47, 47, 84%);
    --tr: .25s ease;
    --bg-elements-white: rgba(255, 255, 255, 0.34);
}
.content {
    flex: 1;
    display: flex;
    flex-flow: column;
    height: 100%;
    width: 100%;
    max-width: calc(100% - 310px);
    margin-left: auto;
}
.agencies-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 100%;
    padding-left: 20px;
}
.agencies-grid__item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 10px 20px;
    gap: 20px;
    width: 100%;
    min-width: none;
    max-width: 475px;
    height: auto;
    background: linear-gradient(157.73deg, #F9CAB8 0%, #FFFBFB 100%);
    border-radius: 30px;
}
.agency-thumb {
    width: 100%;
    height: auto;
    border-radius: 20px;
}
.agency-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 0 10px;
}
.agency-title{
    font-family: var(--font-main);
    font-style: normal;
    font-weight: 700;
    font-size: 24px;
    line-height: 30px;
    color: #2F2F2F;
    margin: 0;
}
.location{
    font-family: var(--font-secondary);
    font-style: normal;
    font-weight: 700;
    font-size: 20px;
    line-height: 25px;
    background: linear-gradient(111.26deg, #F4551E -0.11%, #DE2947 100.11%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}
.agency-description{
    padding: 0 10px;
}
.agency-description p{
    margin: 0;
    font-family: var(--font-main);
    font-style: normal;
    font-weight: 500;
    font-size: 15px;
    line-height: 24px;
    color: #2F2F2F;
}
@media screen and (max-width: 991px) {
  .left-sidebar {
    display: none;
  }
  .content{
    max-width: 100%!important;
    margin-left: 0!important;
  }
  .agencies-grid{
    padding-left: 0;
  }
}
@media screen and (max-width: 768px) {
}
@media screen and (max-width: 650px) {
    .agencies-grid{
        grid-template-columns: 1fr;
        justify-content: center;
    }
    .agencies-grid__item{
        margin: 0 auto;
    }
    .agency-header,.agency-description{
        padding: 0;
    }
}
@media screen and (max-width: 560px) {
    .agencies-grid{
        gap: 10px;
    }
    .agencies-grid__item{
        gap: 10px;
    }
    .agency-header{
        margin-top: 5px;
    }
    .agency-title{
        font-size: 18px;
        line-height: 23px;
    }
    .location{
        font-size: 17px;
        line-height: 21px;
    }
}