@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&family=Roboto:wght@400;500;700&display=swap');
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display:block
}
body {
    margin:0px;
    padding:0px;
    font-size:18px;
    color:#333;
    font-family: 'Roboto', sans-serif;
    background-color:#f0f0f0;
}
html,
body {
    height: 100%;
}
.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}
.content {
    flex: 1 0 auto;
}
.wrap {
    max-width:1000px;
    margin:auto;
    position:relative;
}
.clear {
    clear:both
}
.clearfix:after {
    visibility:hidden;
    display:block;
    font-size:0;
    content:" ";
    clear:both;
    height:0
}
a {
    color:#ff0000;
    text-decoration:none;
    outline:none
    transition: background-color, color 0.2s linear;
}
a:hover {
    text-decoration:none;
    color:#333
}
a, a:focus, a:hover {
    text-decoration: none;
    -webkit-transition: all .4s ease;
    -moz-transition: all .4s ease;
    -o-transition: all .4s ease;
    transition: all .4s ease;
}
input,
select,
textarea,
div,
ul,
span,
a {
    -webkit-box-sizing:border-box;
    -moz-box-sizing:border-box;
    box-sizing:border-box;
}
input,
textarea,
select {
    background-color:#fff;
    padding:8px 15px 8px;
    border:0;
    border-radius:5px;
    font-size:14px;
    width:100%;
    resize:vertical
}
img{
    max-width:100%;
    vertical-align: top;
}
header{
    background-color: #fff;
    border-bottom: 5px solid #ff031b;
    padding: 20px 0 30px;
    text-align: center;
    margin: 0 0 40px;
    background: url('../images/ny.jpeg') no-repeat center center / cover;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
header::after{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.3);
    z-index: 2;
}
header .logo{
    margin: auto;
    background: rgba(255,3,27,0.5);
    padding: 10px 30px;
    position: relative;
    z-index: 3;
}
header .logo a{
    color: #fff;
    font-size: 60px;
}
.post-wrap{
    position: relative;
}
.post-item{
    position: relative;
    margin: 0 0 30px;
    padding:25px;
    background: #fff;
}
.post-item:last-child{
    margin-bottom: 0;
    padding-bottom: 0;
    border: 0;
}
.post-wrap .post-date{
    color: #999;
    margin: 0 0 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 400;
}
.post-wrap .post-date br{
    display: none;
}
.post-wrap .title{
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 15px;
    color: #222;
    font-family: 'Poppins', sans-serif;
}
.post-wrap .title a {
    color: #222;
    font-weight: 700;
}
.post-wrap .title a:hover{
    color: #818592;
}
.post-wrap .author{
    color: #999;
    margin: 0 0 15px;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 400;
}
.post-wrap .author a{
    font-weight: 700;
}
.post-wrap .tags{
    text-align: right;
    margin-left: auto;
}
.post-wrap .tags .icon{
    width: 20px;
    display: inline-block;
}
.post-wrap .tags .tag {
    background: #545658;
    padding: 0 9px;
    display: inline-block;
    line-height: 20px;
    margin-right: 1px;
    font-size: 10px;
    margin-bottom: 3px;
    color: #ffffff;
    vertical-align: middle;
    border-radius: 33px;
}
.post-wrap .tags .tag:hover{
    background: #000;
}
.post-wrap .readmore{
    text-align: center;
    min-width: 140px;
}
.post-wrap .readmore a{
    color: #fff;
    font-size: 14px;
    display: block;
    text-align: center;
    padding: 12px 10px;
    -webkit-transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
    transition: all 0.2s linear;
    transition-duration: 200ms;
    text-transform: uppercase;
    background: #ff0000;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}
.post-wrap .readmore a:hover{
    color: #fff;
    background: #363940;
    border-color: #363940;
}
.post-wrap .btn-tag{
    margin: 15px 0 0;
    align-items: center;
    gap:30px;
    display: flex;
}
.post-wrap .desc-wrap{
    display: flex;
    margin: 0 0 20px;
}
.post-wrap .desc-wrap .desc{
    padding-right: 15px;
    line-height: 1.8;
    font-size: 16px;
}
.post-wrap .image{
    text-align: center;
    background-color: #f9f9f9;
    width: 200px;
    height: 150px;
    margin-left: auto;
}
.remote-image {
    display: flex;
    justify-content: center;
    align-items: center;
    width:200px;
    height:150px;
}
.remote-image img{
    max-height: 100%;
    width: auto;
}
.pagination{
    margin: 25px 0 0;
    padding: 0 25px;
    text-align: center
}
.pagination .page a,
.pagination .first a,
.pagination .prev a,
.pagination .next a,
.pagination .last a,
.pagination .page.gap{
    margin: 0 1px 0 0;
    display: inline-block;
    line-height: 1.2em;
    text-decoration: none;
    color: #666;
    padding: 8px 12px;
    background-color: #fff;
}
.pagination .page a:hover,
.pagination .first a:hover,
.pagination .prev a:hover,
.pagination .next a:hover,
.pagination .last a:hover{
    color: #fff;
    background: #ff0000;
}
.pagination .page{
    display: inline-block;
}
.pagination span.current{
    margin: 0 1px 0 0;
    display: inline-block;
    line-height: 1.2em;
    color: #fff;
    text-decoration: none;
    padding: 8px 12px;
    background: #ff0000;
}
footer {
    flex: 0 0 auto;
    background: #fff;
    border-top: 1px solid #E2E3E4;
    margin-top: 35px;
    padding: 20px 0;
    text-align: center;
}
.post-wrap.post-content{
    padding:25px;
    background: #fff;
}
.post-wrap.post-content .title{
    font-size: 32px;
    line-height: 31px;
}
.post-single-content h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: #222;
    line-height: 1.4;
    margin: 0 0 12px;
    font-size: 26px;
}
.post-single-content p {
    margin:0 0 20px;
}
.post-single-content p:last-child{
    margin-bottom: 0;
}
.post-single-content .image-post{
    text-align: center;
    background-color: #f9f9f9;
    margin: 0 0 25px;
}
.breadcrumb {
    margin-bottom: 20px;
    color: #9c9c9c;
    font-size: 16px;
}
.breadcrumb a{
    color: #333;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}
.post-single-content {
  line-height: 1.8;
}
@media only screen and (max-width: 767px) {
    header {
        margin: 0 0 10px;
        height: auto;
        padding: 50px 10px;
        background: url('../images/ny768.jpg') no-repeat center center / cover;
    }
    header .logo a {
        color: #fff;
        font-size: 31px;
    }
    .wrap {
        padding: 0 10px;
    }
    .post-wrap {
        padding: 15px 0;
    }
    .post-item {
        margin: 0 0 15px;
        padding: 15px;
    }
    .post-wrap .title {
        font-size: 22px;
        line-height: 27px;
    }
    .post-wrap .desc-wrap {
        display: block;
    }
    .post-wrap .desc-wrap .desc {
        padding-right: 0; 
    }
    .post-wrap .image {
        margin: 10px 0 0;
        width: auto;
        height: auto;
    }
    .remote-image {
        display: block;
        width: auto;
        height: auto;
    }
    .post-wrap .btn-tag {
        display: block;
    }
    .post-wrap .readmore{
        margin: 0 0 15px;
    }
    .post-wrap .readmore a{
        display: block;
        padding: 10px;
        line-height: inherit;
    }
    .post-wrap .tags{
        text-align: center;
    }
    .pagination .page a, .pagination .first a, .pagination .prev a, .pagination .next a, .pagination .last a, .pagination .page.gap,
    .pagination span.current{
        padding: 5px 10px;
        font-size: 12px;
    }
    .pagination {
        padding: 0 5px;
        text-align: center;
    }
    .pagination .first,
    .pagination .last{
        display: none;
    }
}