.types-symptoms {
    background-color: #FAFAFA;
    padding: 70px 0 0;
}
.types-symptoms__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 32px;
    grid-row-gap: 32px;
}
.types-symptoms__item {
    background-color: #0189CC;
}
.types-symptoms__item--img {
    height: 228px;
    width: auto;
}
.types-symptoms__item--img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.types-symptoms__item--content {
    padding: 20px 30px 22px;
    color: #ffffff;
}
.types-symptoms__item--content h3{
    font-size: 18px;
    line-height: 24px;
    font-weight: 700;
    margin: 0 auto 12px;
    text-align: center;
    color: #ffffff;
}
.types-symptoms__item--content p{
    text-align: center;
    color: #ffffff;
    font-size: 16px;
    line-height: 22px;
}
.types-symptoms .newArticle__text {
    max-width: 970px;
    margin: 0 auto 30px;
}
.types-symptoms .newArticle__text p{
    font-size: 16px;
    line-height: 22px;
}

.headache-subtypes {
    padding: 40px 20px;
}
.headache-subtypes__quote {
    margin-bottom: 50px;
}
.headache-subtypes__quote p {
    font-size: 16px;
    line-height: 22px;
}
.headache-subtypes__quote .container{
    box-shadow: 0 2px 14px 0 rgb(0 0 0 / 10%);
    background-color: #ffffff;
    text-align: center;
    padding: 66px 48px;
    max-width: 1170px;
}
.headache-subtypes__title {
    margin-bottom: 40px;;
}
.headache-subtypes__title h2 {
    font-size: 24px;
    line-height: 32px;
    color: #000000;
    text-align: center;
}
.headache-subtypes__title a{
    color: #009BE8;
    text-decoration: underline;
}
.headache-subtypes__list {
    grid-template-columns: repeat(6, 1fr);
    grid-gap: 10px;
    display: grid;
}
.headache-subtypes__item {
    background-color: #009CE9;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 13px 38px 51px 16px;
    grid-column: auto / span 3;
}
.headache-subtypes__item span{
    font-size: 48px;
    line-height: 66px;
    font-weight: 800;
}
.headache-subtypes__item:nth-child(1),
.headache-subtypes__item:nth-child(2),
.headache-subtypes__item:nth-child(3){
    grid-column: auto / span 2;
}

.headache-subtypes__item h3{
    font-size: 18px;
    line-height: 24px;
    font-weight: 800;
    color: #ffffff;
}
.headache-subtypes__item p {
    font-size: 16px;
    line-height: 22px;
}

.template__side-block--container.right .template__side-block--text.small-pad {
    padding-right: 0;
}

.headache-treatment {
    padding: 60px 0 40px;
}
.headache-treatment__list {
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 20px;
    display: grid;
}
.headache-treatment__item {
    background-color: #009CE9;
    color: #ffffff;
}
.headache-treatment__item--title {
    font-size: 18px;
    line-height: 24px;
    font-weight: 700;
    text-align: center;
    padding: 22px 20px;
}
.headache-treatment__item--img {
    height: 150px;
    width: 100%;
}
.headache-treatment__item--img img{
    display: block;
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.headache-treatment .newArticle__text p{
    font-size: 16px;
    line-height: 22px;
}

.block-pt__notes.headache-prevention .newArticle__text {
    color: #616060!important;
}

.headache-prevention__list {
    grid-template-columns: repeat(6, 1fr);
    display: grid;
    margin-top: 30px;
}
.headache-prevention__item--content {
    width: 100%;
    max-width: 102px;
    margin: 0 auto;
    text-align: center;
}
.headache-prevention__item--img {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    border: 2px dashed #009CE9;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}
.headache-prevention__item--content p{
    font-size: 12px;
    line-height: 16px;
    font-weight: 700;
}
.headache-prevention__item--img img{
    max-width: 45px;
    margin: 0 auto;
}

.template-21 .white-block-section.specialists .newArticle__text {
    text-align: center;
}
@media (max-width: 1024px) {
    .types-symptoms__list {
        grid-template-columns: repeat(1, 1fr);
    }
    .types-symptoms__item {
        max-width: 450px;
        margin: 0 auto;
    }
    .headache-subtypes__list {
        grid-template-columns: repeat(1, 1fr);
    }
    .headache-subtypes__item:nth-child(1),
    .headache-subtypes__item:nth-child(2),
    .headache-subtypes__item:nth-child(3){
        grid-column: auto;
    }
    .headache-subtypes__item {
        grid-column: auto;
    }
    .headache-prevention__list {
        grid-template-columns: repeat(6, 1fr);
    }
}

@media (max-width: 767px) {
    .headache-treatment__list {
        grid-template-columns: repeat(1, 1fr);
    }
    .headache-prevention__list {
        grid-template-columns: repeat(2, 1fr);
    }
}

