* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Poppins, sans-serif;
    text-decoration: none !important
}

p {
    margin: 0;
}

#header {
    height: 212px;
    width: 100%;
    z-index: 1111111;
    position: relative;
    background-color: #fff
}

.header-top {
    background-color: #2d2c2c;
    padding: 10px 67px;
    display: flex;
    justify-content: center;
    position: fixed;
    z-index: 1111;
    width: 100%
}

.nav-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin: 0 auto
}

.header-top-left {
    display: flex
}

.header-top-left p {
    color: #959697;
    font-size: 14px
}

.header-left-box1 {
    display: flex;
    align-items: center;
    gap: 5px;
    transition: .3s;
    padding-left: 15px
}

.header-left-box1,
.header-left-box2 i {
    color: #959697;
    font-size: 15px
}

.header-left-box1 p,
.header-left-box2 p {
    font-size: 14px;
    color: red;
    font-weight: 500;
    margin-left: 6px
}

.header-left-box2 {
    display: flex;
    align-items: center;
    padding-left: 25px;
    gap: 5px
}

.header-top-right {
    display: flex
}

#header .header-bottom {
    width: 100%;
    background: #fff;
    padding: 20px 67px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 69;
    position: fixed;
    top: 40px;
    padding-bottom: 0
}

.for-flex {
    flex-direction: column;
    align-items: start
}

.logo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 20px
}

.logo a {
    font-size: 40px;
    font-weight: 800;
    color: #000
}

.logo a span {
    background: red;
    color: #fff;
    padding: 0 3px
}

.sidemenu {
    display: flex;
    gap: 30px;
    margin: 0;
    padding-top: 15px
}

.nav-menu ul li {
    display: inline-block;
    list-style: none;
    position: relative;
    margin-right: 10px
}

.nav-menu ul li a {
    color: #19191a;
    font-size: 16px;
    position: relative;
    font-weight: 400
}

.nav-menu ul li::after {
    content: "";
    width: 1px;
    height: 50px;
    background: #dfa974;
    position: absolute;
    right: -22px;
    bottom: 0;
    transition: .5s
}

.nav-menu .fa-solid {
    display: none
}

.logo-img img {
    width: 100%
}

.sidemenu li a {
    color: #000;
    padding: 10px 0;
    display: block
}

.sidemenu li.active a {
    color: red !important;
    border-top: 3px solid red
}

.sidemenu li:hover a {
    color: red
}

.headertop-right-icon-box i {
    color: #959697;
    cursor: pointer
}

.headertop-right-icon-box {
    gap: 15px;
    display: flex
}

@media(max-width:990px) {
    .nav-menu .fa-solid {
        display: block;
        color: #000;
        font-size: 22px
    }

    .nav-menu ul {
        background: #fff;
        position: absolute;
        right: -200px;
        top: 0;
        width: 200px;
        height: 100vh;
        padding-top: 60px;
        z-index: 2;
        transition: .5s
    }

    .nav-menu ul li {
        display: block;
        margin: 25px
    }

    .nav-menu ul .fa-solid {
        position: absolute;
        left: 25px;
        top: 25px;
        cursor: pointer
    }

    .sidemenu {
        display: block;
        padding: unset
    }

    .nav-menu ul li::after {
        display: none
    }

    #header {
        height: 75px
    }

    .header-top {
        display: none
    }

    #header .header-bottom {
        top: 0;
        padding: 10px 20px
    }

    .logo-img {
        display: none
    }

    .for-flex {
        flex-direction: row;
        align-items: center
    }

    .logo a{
        font-size: 35px;
    }
}

@media(max-width:768px) {
    .logo a {
        font-size: 30px
    }

    #header {
        height: 65px
    }

    p{
        font-size: 15px;
    }
}

.main {
    height: auto;
    width: 100%;
    display: flex;
    background: #f9f9f9;
    margin: 0 auto;
    max-width: 1582px
}

.main-left {
    width: calc(100% - 400px);
    padding-left: 67px;
    padding-right: 40px;
    padding-top: 15px
}

.banner-img {
    height: 90vh;
    background-image: url(/BePRESS/images/person-731479_960_720.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative
}

.banner-img h4 {
    position: absolute;
    text-align: center;
    bottom: 0;
    background: #000;
    color: red;
    padding: 20px;
    margin: 0
}

.main-box {
    display: flex;
    padding: 0
}

.boxes {
    padding: 50px 0;
    display: flex;
    gap: 20px;
    border-bottom: 1px solid #c6c4c4
}

.box1 {
    background: #e5e3e3;
    width: 33.3%
}

.box1-img img {
    width: 100%;
    padding: 10px;
    height: auto;
    object-fit: cover
}

.box1-text {
    background: #fff;
    padding: 20px
}

.box1-text p {
    font-size: 15px
}

.box1-text h4 {
    font-size: 20px;
    padding-top: 8px
}

#for-boxtext-color {
    color: #7b7a7a
}

.read-more {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px
}

@media(max-width:1300px) {
    .boxes {
        display: grid;
        grid-template-columns: repeat(2, 1fr)
    }

    .box1 {
        width: 100%
    }

    .full {
        grid-column: span 2
    }
}

@media(max-width:990px) {
    .main-box {
        display: block
    }

    .main-left {
        width: 100%;
        padding-left: 20px;
        padding-right: 20px
    }

    .main-right {
        max-width: none
    }
}

@media(max-width:768px) {
    .banner-img {
        height: 65vh
    }

    .banner-img h4 {
        padding: 9px;
        font-size: 16px
    }

    .boxes {
        display: grid;
        grid-template-columns: 1fr
    }

    .full {
        grid-column: auto
    }
}

.news-main {
    padding-bottom: 20px;
    border-bottom: 1px solid #c6c4c4
}

.news-boxes,
.news-box1 {
    width: 100%;
    height: auto
}

.news-main h3 {
    padding: 40px 0;
    font-size: 40px;
    font-weight: 400
}

.news-box1 {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 30px
}

.newsbox1-img img {
    border: 8px solid #e5e3e3
}

.newsbox1-text h4 {
    font-size: 20px;
    padding: 5px 0
}

.newsread-more {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background: #e5e3e3;
    margin-top: 20px
}

@media(max-width:1200px) {
    .news-box1 {
        display: block
    }

    .newsbox1-img {
        padding-bottom: 15px
    }
}

@media(max-width: 768px){
    .news-main h3 {
        font-size: 35px
    }
}

@media(max-width:390px) {
    .newsbox1-img img {
        width: 100%
    }

    .newsread-more {
        flex-direction: column
    }

    .news-main h3 {
        font-size: 30px
    }
}

.carousel h3 {
    padding: 40px 0;
    font-size: 40px;
    font-weight: 400
}

.carousel-control-prev,
.carousel-control-next {
    bottom: auto;
    background: #cdcdcd;
    height: 47px;
    width: 59px;
    border-radius: 8px;
    top: 40px;
    opacity: 1
}

.carousel-control-prev {
    right: 70px;
    left: auto
}

.carousel-control-next {
    right: 0
}

.carousel-control-prev-icon {
    background-image: url(/BePRESS/images/chevron-left-solid-full.png)
}

.carousel-control-next-icon {
    background-image: url(/BePRESS/images/chevron-right-solid-full.png)
}

.slide-img {
    width: 100%;
    height: auto;
    aspect-ratio: 800/566;
    object-fit: cover;
    border: 8px solid #e5e3e3
}

.carousel-item img {
    width: 100%;
    aspect-ratio: 3/2;
    height: auto;
    object-fit: cover;
    border: 8px solid #e5e3e3
}

.carousel-text h4 {
    padding-top: 20px;
    color: #000;
    position: relative;
    padding-bottom: 15px;
    font-size: 16px
}

.carousel-text h4::after {
    content: "";
    position: absolute;
    bottom: 0;
    height: 1px;
    width: 100px;
    background: red;
    left: 0
}

.carousel-btn {
    padding: 10px 0;
    display: flex;
    align-items: center
}

.carousel-btn i {
    color: #676767;
    background: #d6d5d5;
    padding: 15px
}

.carousel-btn a {
    color: #676767;
    background: #e8e8e8;
    padding: 11px
}

.carousel {
    padding-bottom: 40px;
    border-bottom: 1px solid #c6c4c4
}

@media(max-width:1300px) {
    .carousel-item .col-md-4 {
        flex: 0 0 50%;
        max-width: 50%
    }

    .for-carousel-display {
        display: none
    }
}

@media(max-width:990px) {
    .carousel-item .col-md-4 {
        flex: 1;
        max-width: none
    }

    .for-carousel-display {
        display: block
    }
}

@media(max-width:768px) {
    .carousel-item .col-md-4 {
        flex: 0 0 50%;
        max-width: 50%
    }

    .for-carousel-display {
        display: none
    }

    .carousel h3 {
        font-size: 35px;
    }
}

@media(max-width:580px) {
    .carousel-item .col-md-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .for-carousel-display1 {
        display: none;
    }
}

@media(max-width:380px) {
    .carousel h3 {
        font-size: 30px;
    }

    .carousel-control-prev,
    .carousel-control-next {
        height: 35px;
        width: 45px;
        top: 37px;
    }

    .carousel-control-prev {
        right: 60px;
    }
}

.article-boxes {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px
}

.article-box1 {
    width: 33.3%
}

.article-box1 img {
    width: 100%
}

.article-main {
    width: 100%;
    padding: 40px 0
}

.article-main h3 {
    padding-bottom: 30px;
    font-size: 40px;
    font-weight: 400
}

.article-box1 h4 {
    text-align: center;
    padding-bottom: 10px;
    font-weight: 400;
    font-size: 18px
}

.article-box1 p {
    text-align: center;
    font-size: 15px;
    padding-top: 15px;
    color: #4f4f4f
}

.article-box1 a {
    color: red;
    display: flex;
    justify-content: center;
    padding-top: 15px
}

@media(max-width:1300px) {
    .article-boxes {
        display: grid;
        grid-template-columns: repeat(2, 1fr)
    }

    .article-box1 {
        width: 100%
    }
}

@media(max-width:768px) {
    .article-boxes {
        display: grid;
        grid-template-columns: 1fr
    }

    .article-main h3 {
        font-size: 35px
    }
}

@media(max-width:380px) {
    .article-main h3 {
        font-size: 30px
    }
}

.main-right {
    width: 100%;
    max-width: 400px;
    background: #eee;
    border-left: 1px solid #c7c7c7;
    padding-left: 25px
}

.mail-box input {
    font-size: 13px;
    padding: 10px 12px;
    width: 300px;
    background: #fcfcfc;
    border: 1px solid #d6d5d5
}

.mail-box {
    border-bottom: 1px solid #bbb;
    padding-bottom: 35px
}

.Icons-box {
    padding: 35px 0;
    border-bottom: 1px solid #bbb
}

.Icons-box h4 {
    font-weight: 400;
    padding-bottom: 10px
}

.Icons {
    display: flex;
    gap: 4px
}

.Icons a {
    background: #fff;
    color: #000;
    border: 1px solid lightgray;
    height: 45px;
    width: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: .3s
}

.Icons a:hover {
    background: #000;
    color: #fff
}

.categories-box h4 {
    font-weight: 400;
    padding-top: 25px
}

.categories-box ul {
    background: red;
    color: #fff;
    padding: 10px;
    width: 100%;
    max-width: 300px
}

.categories-box ul li {
    list-style: inside
}

.categories-box {
    border-bottom: 1px solid #bbb;
    padding-bottom: 15px
}

.magazine-text {
    border-bottom: 1px solid #bbb;
    padding-bottom: 25px
}

.magazine-text h4 {
    font-weight: 400;
    padding-top: 25px
}

.magazine-text p {
    font-size: 15px;
    max-width: 300px
}

.latest-post-box {
    padding-top: 25px;
    padding-bottom: 10px;
    border-bottom: 1px solid #bbb
}

.latest-post-box .post-item {
    gap: 0;
    max-width: 300px
}

.latest-post-box .post-item img {
    width: 85px;
    height: -webkit-fill-available
}

.latest-post-box h4 {
    font-weight: 400;
    padding-bottom: 15px
}

.post-item-text {
    background: #fff;
    padding: 7px 9px
}

.latest-post-box .post-item a {
    color: #000
}

.sign-up-box {
    padding: 25px 0;
    border-bottom: 1px solid #bbb
}

.sign-up-box-text {
    max-width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 25px;
    border: solid red;
    padding: 30px
}

.sign-up-box-text h4 {
    text-align: center;
    line-height: 28px;
    font-weight: 400
}

.sign-up-box-text p {
    font-size: 15px;
    text-align: center
}

.sign-up-box-text a {
    background: red;
    color: #fff;
    padding: 12px 15px;
    border-radius: 5px
}

.recent-moment-box {
    padding-top: 20px;
    padding-bottom: 5px;
    border-bottom: 1px solid #bbb
}

.recent-moment-text {
    max-width: 300px
}

.recent-moment-text h4 {
    font-weight: 400;
    padding-bottom: 10px
}

.recent-moment-text p.date {
    background: #dfdede;
    width: fit-content;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 15px;
    margin-bottom: 10px
}

.recent-moment-text p {
    font-size: 15px
}

.tag-box {
    padding: 25px 0
}

.tag-box h4 {
    font-weight: 400
}

.tag-box-text {
    max-width: 300px
}

.tag-box-text a {
    color: red;
    line-height: 30px
}

#a1 {
    font-size: 21px
}

#a2 {
    font-size: 12px
}

#a4 {
    font-size: 28px
}

#a6 {
    font-size: 35px
}

@media(max-width:990px) {
    .main-right {
        max-width: 100%;
        padding: 0 20px
    }

    .mail-box {
        display: flex;
        justify-content: center;
        padding: 25px 0
    }
}

.custom-footer {
    background: #111;
    padding: 50px 0;
    color: #ccc;
    font-family: Arial, sans-serif
}

.footer-container {
    width: 92%;
    max-width: 1450px;
    margin: auto
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding-bottom: 20px
}

.custom-footer h2,
.custom-footer h3 {
    color: #fff;
    font-weight: 400;
    font-size: 25px;
    margin-bottom: 10px
}

.bold {
    font-weight: 700;
    color: #aaa
}

.footer-col p {
    line-height: 1.6;
    margin-bottom: 10px;
    font-size: 15px
}

.footer-social {
    display: flex;
    margin-top: 20px
}

.footer-social a {
    background: #fff;
    padding: 12px 18px;
    border-right: 2px solid #333;
    color: #000;
    font-size: 18px
}

.footer-social a:last-child {
    border-right: none
}

.comment-item {
    display: flex;
    margin-bottom: 20px
}

.comment-item .dot {
    height: 12px;
    width: 16px;
    background: red;
    border-radius: 50%;
    margin-right: 20px;
    margin-top: 8px
}

.comment-item a {
    color: red
}

.post-item {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    align-items: center
}

.post-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-left: 4px solid red
}

.post-item a {
    color: #fff;
    font-weight: 400
}

.post-item p {
    color: #aaa;
    font-size: 14px
}

.meta-links li {
    margin-bottom: 10px;
    list-style: inside
}

.meta-links a {
    color: red;
    font-size: 16px
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 40px;
    border-top: 1px solid #474747
}

.footer-bottom p {
    font-size: 15px
}

.footer-bottom p span {
    color: red
}

.footer-bottom-icon a {
    color: gray;
    padding: 0 7px
}

@media(max-width:992px) {
    .footer-container {
        padding: 0 20px;
        width: 100%
    }

    .footer-top {
        grid-template-columns: repeat(2, 1fr)
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        gap: 10px
    }

    .footer-bottom p {
        text-align: center
    }
}

@media(max-width:600px) {
    .footer-top {
        grid-template-columns: 1fr
    }

    .footer-social a {
        padding: 10px 12px
    }
}