
.container-xl {
    max-width: 1440px;
    margin: 0 auto;
    background-color: #fff
}

.view-comments {
    font-size: 14px;
    font-weight: 500;
    text-decoration: underline;
    color: #000;
}

.fs-36 {
    font-size: 36px;
}

.logo-container {
    top: 4px;
    left: 50%;
    transform: translateX(-149.5px);
}

.logo {
    height: 54px;
    object-fit: cover;
}

.header-actions {
    border-bottom: 1px solid #ced4da;
    border-top: 1px solid #ced4da;
    height: 64px;
}

.current-weather {
    display: flex;
    align-items: center;
    width: 123px;
    height: 100%;
    gap: 4px;
    align-self: stretch;
}

.weather_icon {
    width: 16px;
    height: 16px;
}

.weather-info {
    display: flex;
    flex-direction: column;
}

.wind {
    color: #000;
    /* body/small */
    font-family: "Source Sans 3";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
}

.header-left-flex {
    gap: 10px;
}

.nameday {
    font-size: 14px;
    font-weight: 400;
    line-height: 150%;
}

.user-actions {
    height: 100%;
    width: 390px;
}

.search-button {
    height: 100%;
    border-left: 1px solid #ced4da;
    border-right: 1px solid #ced4da;
}

.language-selector {
    height: 100%;
    border-right: 1px solid #dee2e6;
}

.language-selector a {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.42px;
    text-decoration: underline;
    color: #212529;
}

.sign-in button {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.42px;
    color: #212529;
}

.main-nav {
    height: 52px;
    border-bottom: 1px solid #ced4da;
}

.nav-list {
    gap: 16px;
}

.nav-list li a,
.secondary-nav li a {
    padding: 0px 16px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.42px;
    color: #000;
}

.main-nav li {
    padding-top: 15.5px;
}
.separator {
    width: 1px;
}

.secondary-nav {
    height: 52px;
    width: 451px;
    border-left: 1px solid #ced4da;
}

.category-nav {
    height: 40px;
    background-color: #e9ecef;
}

.category-nav ul {
    max-width: 1296px;
    width: 100%;
}

.category-nav li a {
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 400;
    color: #000;
}

.ad-banner-top {
    max-width: 1440px;
}

/* Content layout */
.content-wrapper {
    padding: 32px 72px;
    max-width: 1440px;
    margin: 0 auto;
}

.main-content {
    padding-right: 24px;
}

.sidebar {
    min-width: 306px;
    max-width: 306px;
}

/* Main article section */

.main-article h1 span {
    font-size: 20px;
}

.slide-inner {
    display: flex;
    height: 450px;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
    width: 100%;
    border-radius: 16px;
    margin-bottom: 24px;
}

.main-article-content {
    width: 306px;
    height: 450px;
    gap: 32px;
    padding-right: 28px;
}

.article-meta {
    gap: 8px;
    font-size: 14px;
}

.article-meta .time,
.article-meta .separator {
    color: #495057;
}

.article-meta .category {
    color: #000;
}

.article-header {
    width: 306px;
    gap: 8px;
    overflow: hidden;
}

.article-header p {
    font-size: 18px;
    font-weight: 500;
    color: #212529;
    word-wrap: break-word;
    overflow-wrap: break-word;
    overflow: hidden;
}

.article-controls {
    gap: 8px;
}

.control-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid;
    border-color: #000;
}

.main-article-image {
    width: 100%;
    max-width: 632px;
    height: fit-content;
    align-self: flex-start;
    overflow: hidden;
}

.main-article-image img {
    width: 632px !important;
    border-radius: 8px;
}

.pagination-indicator {
    gap: 2px;
    padding: 6px 10px;
    top: 20px;
    right: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0px 14px 64px -4px rgba(24, 39, 75, 0.12), 0px 8px 22px -6px rgba(24, 39, 75, 0.12);
}

.dot {
    width: 6px;
    height: 6px;
    background-color: #adb5bd;
    border-radius: 3px;
}

.dot.active {
    width: 12px;
    background-color: #0d6efd;
    border-radius: 8px;
}

/* Article cards */
.article-cards-row {
    gap: 24px;
    margin-bottom: 64px;
}

.article-card {
    width: 306px;
    border: 1px solid #ced4da;
    border-radius: 8px;
}

.article-image {
    width: 100%;
    height: 204px;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.article-content {
    gap: 8px;
    padding: 23px 16px 12px;
    min-height: 121px;
    height: 100%;
}

.article-content span , .article-content a {
    line-height: 150%;
}

.article-content-title-wrap {
    min-height: 48px;
}

/* Photos section */
.photos-section {
    width: 100%;
    gap: 24px;
    margin-bottom: 32px;
}

.section-header {
    width: 100%;
}

.see-more-btn {
    gap: 8px;
    padding: 6px 12px;
    border: 1px solid #212529;
    border-radius: 6px;
    font-weight: 700;
    font-size: 16px;
    color: #212529;
}

.photo-cards {
    gap: 24px;
}

.photo-card {
    width: 306px !important;
    min-width: 300px;
}

.photo-image {
    height: 382px;
    border-radius: 8px;
    width: 307px;
}

.photo-image img {
    object-fit: cover;
    border-radius: 8px;
}

.photo-content {
    gap: 24px;
    margin: 12px 0;
    border-left: 3px solid #0C2F64;
}

.photo-text p , .photo-text span , .photo-text a {
    line-height: 150%;
}

.photo-info {
    gap: 12px;
}

.separator-line {
    align-self: stretch;
    width: 3px;
    background-color: #000;
}

.photo-text p {
    margin-bottom: 8px;
}

.photo-meta {
    gap: 8px;
    font-size: 14px;
}

.photo-meta .time,
.photo-meta .separator {
    color: #495057;
}

.photo-count {
    font-weight: 500;
    text-decoration: underline;
    color: #000;
}

.arrow-btn {
    width: 32px;
    height: 32px;
    border: 1px solid #ced4da;
    border-radius: 50%;
    padding: 8px;
}

.ads-wrapper-main {
    max-width: 1440px;
    margin: 0 auto;
    width: 100%;
    max-height: 204px;
    margin-bottom: 32px;
}


/* Blog section */
.blog-section {
    width: 100%;
    gap: 32px;
    padding: 24px 32px;
    border: 1px solid #ced4da;
    border-radius: 8px;
    background-color: white;
    margin-bottom: 64px;
}

.blog-section p , .blog-section span {
    line-height: 150%;
}

.blog-content {
    gap: 40px;
}

.featured-blog {
    gap: 24px;
}

.featured-image-1 {
    max-width: 306px;
    max-height: 231px;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-image-1 img {
    border-radius: 8px;
}

.featured-image img {
    border-radius: 8px;
}

.featured-content {
    margin-top: 32px;
    min-width: 572px ;
    height: 198px;
    gap: 16px;
    padding-right: 16px;
    padding-bottom: 24px;
}

.blog-text {
    gap: 8px;
}

.blog-text span {
    font-size: 16px;
    color: #343a40;
}

.blog-meta {
    gap: 8px;
    font-size: 14px;
}

.author-info {
    gap: 8px;
}

.author-info .author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.author-name {
    font-size: 18px;
    font-weight: 500;
    line-height: 27px;
}

.author-role {
    font-size: 14px;
}

.blog-posts {
    gap: 12px;
}

.blog-post {
    gap: 16px;
    padding: 12px 16px 24px 0;
    border-bottom: 1px solid #ced4da;
}

.blog-post:last-child {
    border-bottom: none;
}

.blog-post-content {
    gap: 8px;
}

.blog-post-footer {
    gap: 4px;
    width: 100%;
}

.blog-post-footer .author-details {
    min-width: 198px;
}

/* Videos section */
.videos-section {
    width: 100%;
    gap: 24px;
}

.video-cards {
    gap: 24px;
}

.video-card {
    width: 223px;
    background-color: white;
    border-radius: 8px;
    border: 1px solid #ced4da;
}

.video-thumbnail {
    width: 100%;
    height: 148px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.video-thumbnail img {
    border-radius: 8px;
}

.video-content {
    width: 100%;
    gap: 8px;
    padding: 12px;
}

.video-meta {
    gap: 8px;
    font-size: 14px;
}

/* Middle ad */
.ad-middle {
    width: 336px;
    height: 280px;
    margin: 32px auto;
    background-color: #e9ecef;
}

/* Categories section */
.categories-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    width: 100%;
    padding-bottom: 32px;
    align-items: stretch;
}

.categories-section p , .categories-section span , .categories-section a {
    line-height: 150%;
}

.category-column {
    width: 306px;
}

.category-header {
    gap: 8px;
    margin-bottom: 24px;
}

.category-image {
    width: 100%;
    height: 204px;
    overflow: hidden;
    margin-bottom: 16px;
}

.category-image img {
    border-radius: 8px;
}

.category-article {
    width: 306px;
    gap: 8px;
    padding: 0 0 16px;
    border-bottom: 1px solid #ced4da;
}

.category-article.last-row {
    border-bottom: none;
}

.category-article h3 {
    font-size: 20px;
    font-weight: 700;
}

.category-article p {
    font-size: 14px;
    color: #343a40;
}

.recent-poll-wrapper {
    bottom: -440x;
}

/* Ads carousel */
.ads-carousel {
    max-width: 1200px;
    padding: 32px 0;
    margin: 0 auto;
}

.slide-content {
    font-size: 56px;
    font-weight: 300;
    color: #495057;
    height: 400px;
    background-color: #666666;
    overflow: hidden;
}

/* Latest newspaper */

.read-in-newspaper {
    max-width: 306px;
    width: 100%;
    padding: 12px;
    gap: 5px;
    border-radius: 8px;
    border: 1px solid #ced4da;
    background-color: #d20222;
    margin-bottom: 24px;
}

.read-in-newspaper-title {
    gap: 10px;
}

.btn-emagazine-btn-sidebar {
    background-color: #0C2F64;
    color: #fff;
    font-weight: 700;
}

.btn-emagazine-btn-sidebar:hover,
.btn-emagazine-btn-sidebar:focus {
    background-color: #fff;
    color: #0C2F64;
    border-color: #0C2F64;
}

.read-in-newspaper-img img {
    border-radius: 8px;
    width: 282px;
    height: 362px;
}

/* Events section */
.events-section {
    width: 100%;
    gap: 16px;
    margin-bottom: 32px;
}

.events-section .section-header {
    padding-top: 8px;
}

.events-list {
    border: 1px solid #ced4da;
    border-radius: 8px;
    overflow: hidden;
}

.event-item {
    padding: 12px;
    gap: 4px;
}

.events-list a {
    display: block;
}

.events-list a:not(:last-child) {
    border-bottom: 1px solid #dee2e6;
}

.event-meta {
    gap: 8px;
    font-size: 14px;
    line-height: 150%;
}

/* Question of the day */
.question-section {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 20px;
}

.question-section .section-header {
    padding-top: 8px;
}

.question-card {
    border: 1px solid #ced4da;
    border-radius: 8px;
    overflow: hidden;
}

.question-image {
    width: 100%;
    height: 230px;
}

.question-content {
    padding: 12px;
    background-color: white;
}

.question-options {
    padding: 8px 12px;
    background-color: white;
}

.option {
    gap: 8px;
    padding: 4px 0;
    line-height: 150%;
}

.option input[type="radio"] {
    min-width: 16px;
    height: 16px;
    border-radius: 50%;
}

.option input[type="radio"]:checked {
    background-color: #0C2F64;
    border-color: #0C2F64;
}

.option label {
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.question-footer {
    padding: 12px;
    background-color: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.vote-btn {
    background-color: #212529;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 16px;
}

.comments-btn {
    gap: 4px;
    font-weight: 700;
    font-size: 16px;
}

/* Footer */
.footer {
    width: 100%;
    height: 72px;
    background-color: #212529;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-content {
    width: 1296px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-links {
    display: flex;
    align-items: center;
}

.footer-links a {
    display: flex;
    padding: 8px 16px;
    font-size: 14px;
    color: white;
}

.copyright {
    padding: 8px 16px;
    display: flex;
    font-size: 14px;
    color: white;
    align-items: center;
    gap: 4px;
}

.footer-flex-right {
    display: flex;
    width: 300px;
    justify-content: flex-end;
    align-items: center;
    gap: 32px;
    flex-shrink: 0;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.article-meta-mobile1 {
    display: none;
}

.sidebar-ad-mobile {
    max-width: 300px;
    max-height: 600px;
    margin: 24px auto;
    margin-top: 0px;
}

/* Responsive adjustments */
@media (max-width: 1440px) {
    .container {
        width: 100%;
    }

    .content-wrapper {
        padding: 0 16px;
        padding-top: 16px;
    }
}

@media (max-width: 1340px) {
    .photo-cards {
        flex-wrap: wrap;
    }
}

@media (max-width: 1260px) {
    .article-cards-row {
        grid-template-columns: 1fr 1fr;
        justify-self: center;

    }
}

@media (max-width: 1200px) {
    .category-nav li a {
        padding: 8px 8px;
    }

    .featured-content {
        min-width: unset;
    }

    .main-nav,
    .header-actions {
        padding-left: 16px;
        padding-right: 16px;
    }

    .nav-list {
        gap: 8px !important;
    }

    .slide-inner {
        flex-direction: column !important;
        height: auto !important;
        align-items: flex-start !important;
        max-width: 632 !important;
    }

    .main-article-image {
        max-width: 632px !important;
        margin-top: 24px;
    }

    .featured-blog {
        flex-direction: column;
    }

    .featured-image {
        width: 100%;
    }

    .featured-content {
        width: 100%;
    }

    .categories-section {
        flex-wrap: wrap;
    }

    .footer-content {
        flex-direction: column !important;
    }

    .footer {
        height: fit-content;
        width: 100%;
    }

    .footer-links a {
        padding: 8px 6px;
    }

    .hamburger-mobile {
        height: 62px;
    }

    .header-actions {
        justify-content: space-between;
    }
    .main-article-content, .article-header {
        width: 100%;
        height: fit-content;
        padding-top: 16px;
    }
}
@media (max-width: 992px) {
    .category-image img {
        height: 100%;
        display: block;
    }
    .category-image {
        height: fit-content;
    }
    .category-article {
        width: 100%;
    }
}
@media (max-width: 860px) {
    .category-nav li a {
        padding: 8px 4px;
    }

    .nav-list li a {
        padding: 8px 8px;
    }

    .mobile-header {
        display: flex;
        flex-direction: column-reverse;    
    }
}

@media (max-width: 768px) {
    .content-wrapper {
        flex-direction: column !important;
    }

    .main-page-newspaper-wrapper .read-in-newspaper {
        margin-bottom: 0px;
    }

    .photos-section {
        margin-bottom: 0px;
    }

    .main-content, .article-cards-row {
        margin-bottom: 24px;
    }

    .sidebar-ad-mobile, .mobile-news-home-main-content, .events-section {
        margin-bottom: 24px !important;
    }

    .recent-adv-news-home {
        margin-top: 0px !important;
    }

    .blog-sidebar-cards {
        margin-bottom: 24px !important;
    }
    .recent-poll-wrapper {
        margin-bottom: 24px !important;
    }

    .main-article-content {
        gap: 12px;
    }

    #global-header {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .main-article-image {
        width: 100%;
        margin-top: 0px;
    }

    .main-article-content {
        width: 100%;
        justify-content: flex-start;
        padding-right: 0px;
        height: fit-content;
    }

    .article-controls {
        justify-content: space-between;
        margin-bottom: 36px;
    }

    .pagination-indicator {
        display: none !important;
    }

    .article-cards-row {
        column-gap: 12px;
        height: fit-content;
    }

    .article-cards-row > :nth-child(n+4) {
        display: none !important;
    }

    .article-card {
        gap: 8px;
        width: 100%;
        height: fit-content;
        min-height: 130px;
    }

    .article-image {
        width: 148px;
        height: 130px;
        flex-shrink: 0;
    }

    .article-content {
        padding: 12px 8px;
    }

    .pagination-indicator1 {
        width: 198px;
        padding: 6px 10px;
        gap: 12px;
    }

    .dot.active {
        width: 32px;
    }

    .slide-inner {
        display: flex;
        flex-direction: column-reverse !important;
    }

    .sidebar {
        width: 100%;
        max-width: 768px;
    }

    .ads-wrapper-main {
        margin-bottom: 0px;
    }

    .ads-carousel {
        padding: 24px 0 8px 0;
    }

    .nav-list,
    .secondary-nav {
        flex-wrap: wrap;
        justify-content: center;
    }
    .logo-container {
        position: static !important;
        display: flex;
        align-items: center;
        justify-content: start;
        transform: none !important;
        height: 62px;
        padding-top: 3px;
    }

    .user-actions {
        margin-top: 16px;
    }

    .category-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 4px;
    }

    .footer-flex-right {
        width: 100%;
        flex-direction: column;
        border-top: solid 1px #CED4DA;
        gap: 16px;
    }

    .footer-content {
        padding: 32px 10px;
    }

    .footer-links {
        margin-bottom: 20px;
    }

    .social-links {
        gap: 48px;
        padding-bottom: 16px;
    }

    .ad-banner-top {
        width: 328px;
        height: 50px;
    }

    .photo-cards,
    .video-cards {
        flex-wrap: nowrap;
        flex-direction: row;
        overflow-x: auto;
        scrollbar-width: none;
        justify-content: flex-start;
        gap: 16px;
    }

    .photo-card {
        width: 224px !important;
    }

    .featured-image img {
        width: 100%;
    }

    .blog-posts {
        border-top: 1px solid #CED4DA;
    }

    .blog-content {
        row-gap: 0px;
    }

    .featured-blog {
        gap: 0px;
    }

    .blog-post-footer {
        flex-direction: column-reverse;
        justify-content: flex-start !important;
    }

    .blog-meta {
        margin: 0px !important;
        width: 100%;
    }

    .author-info {
        width: 100%;
    }

    .featured-blog h3 {
        font-size: 16px;
    }

    .blog-post h4 {
        font-size: 16px;
    }

    .blog-post p {
        font-size: 14px;
    }

    .blog-text p {
        font-size: 14px;
    }

    .blog-text,
    .blog-post-content {
        row-gap: 4px;
    }

    .featured-content,
    .blog-post {
        gap: 4px;
    }

    .video-thumbnail {
        width: 224px !important;
    }

    .category-column {
        width: 100%;
    }

    .category-column h3 {
        font-size: 16px;
    }

    .category-image img {
        width: 100%;
    }

    .category-article .article-meta,
    .category-article .view-comments {
        display: none !important;
    }

    .article-meta-mobile1 {
        display: flex;
        align-items: flex-start;
        gap: 8px;
    }

    .article-meta-mobile1 .separator,
    .article-meta-mobile1 .view-comments {
        display: inline !important;
    }

    .article-meta-mobile1 span {
        font-size: 14px;
    }
}