* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

.wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: #4d72dc;
}

a:hover {
    color: #0056b3;
}

ul {
    list-style: none;
}

.clear {
    clear: both;
}

h1, h2, h3, h4, h5, h6 {
    color: #222;
    margin-bottom: 10px;
}

h1 { font-size: 2.5em; }
h2 { font-size: 2em; }
h3 { font-size: 1.5em; }

p {
    margin-bottom: 15px;
}

.btn-primary {
    display: inline-block;
    background-color: #4d72dc;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #0056b3;
}

.header-top {
    background-color: #333;
    color: #fff;
    padding: 10px 0;
    font-size: 0.9em;
}

.header-top .wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-contact span {
    margin-right: 20px;
}

.top-contact i {
    margin-right: 5px;
}

.top-social a {
    color: #fff;
    margin-left: 15px;
    transition: color 0.3s ease;
}

.top-social a:hover {
    color: #4d72dc;
}

.main-header {
    background-color: #fff;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.main-header .wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 38px;
}

.main-nav ul {
    display: flex;
}

.main-nav ul li {
    margin-left: 30px;
}

.main-nav ul li a {
    color: #333;
    font-size: 1.1em;
    padding: 5px 0;
    position: relative;
}

.main-nav ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: #4d72dc;
    transition: width 0.3s ease;
}

.main-nav ul li a:hover::after,
.main-nav ul li a.active::after {
    width: 100%;
}

.search-box {
    display: flex;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}

.search-box input {
    border: none;
    padding: 8px 10px;
    outline: none;
    font-size: 0.9em;
}

.search-box button {
    background-color: #4d72dc;
    color: #fff;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-box button:hover {
    background-color: #0056b3;
}

.gradient-banner {
    width: 100%;
    background: linear-gradient(to right, #0056b3, #c1e4f4);
    padding: 44px 0;
    margin-bottom: 30px;
    text-align: center;
    color: #fff;
}

.gradient-banner .banner-content-wrapper {
    padding: 0 15px;
    max-width: 800px;
    margin: 0 auto;
}

.gradient-banner .banner-content h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #fff;
}

.gradient-banner .banner-content h1 a {
    color: #fff;
}

.gradient-banner .banner-content h1 a:hover {
    color: #fff;
}

.gradient-banner .banner-content p {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #c1e4f4;
}


.news-main-content,
.lives-main-content,
.main-content {
    padding: 30px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.main-content .article-detail {
    flex: 1;
    min-width: 65%;
}

.main-content .right-side {
    flex: 0 0 300px;
    min-width: 300px;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}


.news-main-content .sidebar-column {
    flex: 0 0 300px;
}

.news-main-content .news-list-column {
    flex: 1;
}


.lives-main-content .left-side {
    flex: 2;
    min-width: 65%;
}

.lives-main-content .right-side {
    flex: 1;
    min-width: 300px;
    border-radius: 8px;
}


.homepage-two-columns {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.homepage-left-column {
    flex: 2;
    min-width: 60%;
}

.homepage-right-column {
    flex: 1;
    min-width: 300px;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #4d72dc;
    padding-bottom: 10px;
}

.section-title h2 {
    margin: 0;
    color: #4d72dc;
    font-size: 1.38em;
}

.more-link {
    font-weight: bold;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.news-homepage-grid .news-item {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.news-homepage-grid .news-item:hover {
    transform: translateY(-5px);
}

.news-homepage-grid .news-thumb {
    display: block;
    height: 200px;
    overflow: hidden;
}

.news-homepage-grid .news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-homepage-grid .news-item:hover .news-thumb img {
    transform: scale(1.05);
}

.news-homepage-grid .news-info {
    padding: 20px;
}

.news-homepage-grid .news-title {
    font-size: 1.3em;
    margin-bottom: 10px;
}

.news-homepage-grid .news-title a {
    color: #222;
}

.news-homepage-grid .news-title a:hover {
    color: #4d72dc;
}

.news-homepage-grid .news-meta {
    font-size: 0.9em;
    color: #777;
    margin-bottom: 15px;
}

.news-homepage-grid .news-meta span {
    margin-right: 15px;
}

.news-homepage-grid .news-meta i {
    margin-right: 5px;
    color: #4d72dc;
}

.news-homepage-grid .news-description {
    font-size: 0.95em;
    color: #555;
}


.featured-articles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.featured-item {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    padding-bottom: 20px;
}

.featured-item:hover {
    transform: translateY(-5px);
}

.featured-thumb {
    display: block;
    height: 180px;
    overflow: hidden;
    margin-bottom: 15px;
}

.featured-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-item:hover .featured-thumb img {
    transform: scale(1.05);
}

.featured-title {
    font-size: 1.2em;
    padding: 0 20px;
    margin-bottom: 5px;
}

.featured-title a {
    color: #222;
}

.featured-title a:hover {
    color: #4d72dc;
}

.featured-meta {
    font-size: 0.85em;
    color: #777;
    padding: 0 20px;
    margin-bottom: 10px;
}

.featured-description {
    font-size: 0.9em;
    color: #555;
    padding: 0 20px;
}

.lives-list-homepage {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.live-item-homepage {
    display: flex;
    align-items: flex-start;
    padding-bottom: 10px;
    border-bottom: 1px dashed #eee;
}

.live-item-homepage:last-child {
    border-bottom: none;
}

.live-time-wrapper {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 15px;
}

.live-time {
    background-color: #4d72dc;
    color: #fff;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.85em;
    margin-bottom: 3px;
}

.live-date {
    font-size: 0.75em;
    color: #777;
}

.live-content-wrapper {
    flex-grow: 1;
}

.live-title-homepage {
    font-size: 1.1em;
    margin: 0;
    line-height: 1.4;
}

.live-title-homepage a {
    color: #222;
    font-weight: bold;
}

.live-title-homepage a:hover {
    color: #4d72dc;
}

.live-summary {
    font-size: 0.9em;
    color: #555;
    margin-top: 5px;
    line-height: 1.5;
}


.page-banner {
    background: linear-gradient(to right, #0056b3, #c1e4f4);
    color: #fff;
    padding: 40px 0;
    text-align: center;
    margin-bottom: 30px;
}

.page-banner h1 {
    color: #fff;
    margin-bottom: 10px;
    font-size: 2.5em;
}

.breadcrumb {
    font-size: 0.9em;
}

.breadcrumb a {
    color: #eee;
}

.breadcrumb span {
    color: #fff;
}

.news-list .list-item {
    background-color: #fff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: transform 0.3s ease;
}

.news-list .list-item:hover {
    transform: translateY(-5px);
}

.list-thumb {
    flex-shrink: 0;
    width: 200px;
    height: 120px;
    overflow: hidden;
    border-radius: 5px;
}

.list-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-list .list-item:hover .list-thumb img {
    transform: scale(1.05);
}

.list-info {
    flex-grow: 1;
}

.list-title {
    font-size: 1.5em;
    margin-bottom: 5px;
}

.list-title a {
    color: #222;
}

.list-title a:hover {
    color: #4d72dc;
}

.list-meta {
    font-size: 0.85em;
    color: #777;
    margin-bottom: 10px;
}

.list-meta span {
    margin-right: 15px;
}

.list-description {
    margin-bottom: 15px;
    color: #555;
}

.read-more {
    font-weight: bold;
    color: #4d72dc;
}

.read-more i {
    margin-left: 5px;
}

.pagination {
    text-align: center;
    margin-top: 30px;
}

.pagination ul {
    display: inline-block;
}

.pagination li {
    display: inline-block;
    margin: 0 5px;
}

.pagination li a,
.pagination li span {
    display: block;
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    color: #333;
    transition: all 0.3s ease;
}

.pagination li a:hover {
    background-color: #4d72dc;
    color: #fff;
    border-color: #4d72dc;
}

.pagination li .thisclass {
    background-color: #4d72dc;
    color: #fff;
    border-color: #4d72dc;
}

.lives-timeline {
    position: relative;
    padding-left: 100px;
    padding-bottom: 10px;
    border-radius: 8px;
}

.live-timeline-item {
    position: relative;
    margin-bottom: 30px;
    padding-left: 20px;
}

.live-timeline-item::before {
    position: absolute;
    left: -10px;
    top: 0;
    width: 16px;
    height: 16px;
    background-color: #4d72dc;
    border-radius: 50%;
    border: 3px solid #f4f4f4;
    z-index: 1;
}

.live-timeline-date {
    position: absolute;
    left: -100px;
    width: 80px;
    text-align: right;
    color: #555;
    top: 0;
}

.live-timeline-date .day {
    display: block;
    font-size: 1em;
    color: #4d72dc;
}

.live-timeline-date .month-year {
    display: block;
    font-size: 0.8em;
    text-transform: uppercase;
    color: #777;
}

.live-timeline-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    position: relative;
    margin-left: 0;
    margin-bottom: 20px;
    border: 1px solid #eee;
}

.live-timeline-content::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 20px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid #eee;
    z-index: 2;
}
.live-timeline-content::after {
    content: '';
    position: absolute;
    left: -9px;
    top: 20px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid #fff;
    z-index: 2;
}


.live-timeline-title {
    font-size: 1.3em;
    margin-bottom: 5px;
}

.live-timeline-title a {
    color: #222;
}

.live-timeline-title a:hover {
    color: #4d72dc;
}

.live-timeline-meta {
    font-size: 0.85em;
    color: #777;
    margin-bottom: 10px;
}

.live-timeline-meta span {
    margin-right: 15px;
}

.live-timeline-description {
    color: #555;
    margin-bottom: 15px;
}

.sidebar-block {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.sidebar-block h3 {
    font-size: 1.3em;
    color: #4d72dc;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.sidebar-block ul li {
    margin-bottom: 10px;
}

.sidebar-block ul li a {
    color: #555;
    transition: color 0.3s ease;
}

.sidebar-block ul li a:hover {
    color: #4d72dc;
}

.sidebar-block img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 5px;
}

.article-detail {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.article-header {
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.article-title {
    font-size: 2.2em;
    margin-bottom: 15px;
    color: #222;
}

.article-meta {
    font-size: 0.9em;
    color: #777;
}

.article-meta span {
    margin-right: 20px;
}

.article-meta i {
    margin-right: 5px;
    color: #4d72dc;
}

.article-content {
    font-size: 1.1em;
    line-height: 1.8;
}

.article-content h1, .article-content h2, .article-content h3, .article-content h4, .article-content h5, .article-content h6 {
    margin-top: 25px;
    margin-bottom: 15px;
    color: #333;
}

.article-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.article-content p {
    margin-bottom: 20px;
}

.article-content strong {
    font-weight: bold;
    color: #4d72dc;
}

.article-content ul, .article-content ol {
    margin-left: 20px;
    margin-bottom: 20px;
    list-style-type: disc;
}

.article-content ol {
    list-style-type: decimal;
}

.article-content li {
    margin-bottom: 8px;
}

.article-tags {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px dashed #eee;
}

.article-tags i {
    margin-right: 10px;
    color: #4d72dc;
}

.article-tags a {
    display: inline-block;
    background-color: #e9e9e9;
    padding: 5px 10px;
    border-radius: 5px;
    margin-right: 10px;
    margin-bottom: 10px;
    color: #555;
    font-size: 0.9em;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.article-tags a:hover {
    background-color: #4d72dc;
    color: #fff;
}

.prev-next-article {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    font-size: 1.0em;
}

.prev-next-article p {
    margin-bottom: 10px;
}

.prev-next-article a {
    color: #4d72dc;
    font-weight: bold;
}

.main-footer {
    background-color: #222;
    color: #eee;
    padding: 40px 0 20px;
    margin-top: 50px;
}

.main-footer .wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.footer-col {
    flex: 1;
    min-width: 250px;
}

.footer-col h3 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.3em;
    border-bottom: 1px solid #444;
    padding-bottom: 10px;
}

.footer-col p {
    font-size: 0.9em;
    line-height: 1.7;
    color: #bbb;
}

.footer-social {
    margin-top: 20px;
}

.footer-social a {
    color: #eee;
    margin-right: 15px;
    font-size: 1.2em;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: #4d72dc;
}

.quick-links ul li {
    margin-bottom: 10px;
}

.quick-links ul li a {
    color: #bbb;
    font-size: 0.9em;
}

.quick-links ul li a:hover {
    color: #4d72dc;
}

.contact-info p {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.contact-info i {
    margin-right: 10px;
    color: #4d72dc;
    font-size: 1.1em;
}

.newsletter input[type="email"] {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 5px;
    margin-bottom: 10px;
    background-color: #333;
    color: #fff;
}

.newsletter input::placeholder {
    color: #aaa;
}

.newsletter button {
    background-color: #4d72dc;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s ease;
}

.newsletter button:hover {
    background-color: #0056b3;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    margin-top: 30px;
    text-align: center;
    font-size: 0.85em;
    color: #aaa;
}

#back-to-top {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: #4d72dc;
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 50%;
    font-size: 18px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: background-color 0.3s ease;
}

#back-to-top:hover {
    background-color: #0056b3;
}

@media (max-width: 992px) {
    .main-header .wrapper {
        flex-direction: column;
        text-align: center;
    }

    .main-nav ul {
        margin-top: 20px;
        justify-content: center;
    }

    .main-nav ul li {
        margin: 0 15px;
    }

    .search-box {
        margin-top: 20px;
        width: 80%;
        max-width: 400px;
    }

    .news-main-content,
    .lives-main-content,
    .main-content {
        flex-direction: column;
        gap: 20px;
    }

    .news-main-content .sidebar-column,
    .news-main-content .news-list-column,
    .lives-main-content .left-side,
    .lives-main-content .right-side,
    .left-side, .right-side,
    .homepage-left-column, .homepage-right-column,
    .main-content .article-detail,
    .main-content .right-side {
        flex: auto;
        min-width: unset;
        width: 100%;
    }


    .lives-main-content .left-side .lives-timeline {
        padding-left: 20px;
        border-left: none;
    }

    .lives-main-content .left-side .live-timeline-item::before {
        left: 0px;
        border-width: 2px;
    }

    .lives-main-content .left-side .live-timeline-date {
        position: static;
        text-align: left;
        margin-left: 20px;
        margin-bottom: 10px;
        display: flex;
        align-items: baseline;
        gap: 10px;
        width: auto;
    }
    .lives-main-content .left-side .live-timeline-date .day { font-size: 1.5em; }
    .lives-main-content .left-side .live-timeline-date .month-year { font-size: 0.9em; }

    .lives-main-content .left-side .live-timeline-content {
        margin-left: 0;
        padding-top: 15px;
        border-top: 1px solid #eee;
    }
    .lives-main-content .left-side .live-timeline-content::before,
    .lives-main-content .left-side .live-timeline-content::after {
        content: none;
    }

    .news-list .list-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .list-thumb {
        width: 100%;
        height: 200px;
        margin-bottom: 15px;
    }
}

@media (max-width: 768px) {
    .header-top .wrapper {
        flex-direction: column;
        gap: 10px;
    }

    .header-top .top-social {
        margin-top: 5px;
    }

    .main-nav ul {
        flex-wrap: wrap;
    }

    .main-nav ul li {
        margin: 5px 10px;
    }

    .gradient-banner .banner-content h1 {
        font-size: 2.5em;
    }

    .gradient-banner .banner-content p {
        font-size: 1em;
    }

    .footer-col {
        min-width: 100%;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
        display: flex;
    }
}

@media (max-width: 480px) {
    .news-grid, .featured-articles {
        grid-template-columns: 1fr;
    }

    .gradient-banner .banner-content h1 {
        font-size: 2em;
    }

    .main-nav ul li {
        margin: 5px 5px;
        font-size: 0.9em;
    }

    .search-box input {
        width: calc(100% - 40px);
    }
}