.container-news {
    max-width: 1070px !important;
    margin: auto !important;
}

/* Generic loading container that sizes with its parent */
.cofast-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 240px; /* can grow with parent height */
}

/* Spinner scales via font-size and inherits color from utility classes */
.cofast-loading .spinner-border {
    width: 50px;
    height: 50px;
}
/* Landing Page Styles */

/* General Styles */
.landing-page {
    font-family: "Arial", sans-serif;
    line-height: 1.6;
    color: #333;
}

/* COFAST News Layout Styles - Unique Classes */
.cofast-news-main-container {
    max-width: 1140px !important;
    margin: 20px auto !important;
    padding: 0 15px !important;
}

.cofast-news-main-featured-card {
    height: 450px !important;
    background-size: cover !important;
    background-position: center !important;
    position: relative !important;
    overflow: hidden !important;
    width: 100% !important;
    display: block !important;
    cursor: pointer;
}

.cofast-news-main-featured-card:hover .cofast-news-main-overlay .badge {
    background-color: #0075bc !important;
}

.cofast-news-main-featured-card > img {
    transition: transform 0.3s cubic-bezier(0.33, 1, 0.68, 1);
}

.cofast-news-main-featured-card:hover > img {
    transform: scale(1.1);
}

.cofast-news-main-overlay {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    padding: 15px !important;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0)) !important;
    color: #fff !important;
    z-index: 2 !important;
}

.cofast-news-sidebar-container {
    display: flex !important;
    flex-direction: column !important;
}

.cofast-news-sidebar-top-item {
    height: 254px !important;
    margin-bottom: 4px !important;
    width: 100% !important;
    display: block !important;
    background-size: cover !important;
    background-position: center !important;
    position: relative !important;
    overflow: hidden !important;
    cursor: pointer;
}

.cofast-news-sidebar-top-item > img {
    transition: transform 0.3s cubic-bezier(0.33, 1, 0.68, 1);
}

.cofast-news-sidebar-top-item:hover > img {
    transform: scale(1.1);
}

.cofast-news-sidebar-top-item:hover .cofast-news-sidebar-overlay .badge {
    background-color: #0075bc !important;
}

.cofast-news-sidebar-bottom-item {
    height: 192px !important;
    width: 100% !important;
    display: block !important;
    background-size: cover !important;
    background-position: center !important;
    position: relative !important;
    overflow: hidden !important;
    cursor: pointer;
}

.cofast-news-sidebar-bottom-item > img {
    transition: transform 0.3s cubic-bezier(0.33, 1, 0.68, 1);
}

.cofast-news-sidebar-bottom-item:hover > img {
    transform: scale(1.1);
}

.cofast-news-sidebar-bottom-item:hover .cofast-news-sidebar-overlay .badge {
    background-color: #0075bc !important;
}

.cofast-news-sidebar-overlay {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    padding: 10px !important;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0)) !important;
    color: #fff !important;
    z-index: 2 !important;
}

.hero-grid-section {
    width: 1070px;
    margin: auto;
    padding-bottom: 50px;
}

/* Override Bootstrap container styles */
.hero-grid-section .cofast-news-main-container {
    max-width: 1150px !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

/* Ensure proper flex layout */
.cofast-news-sidebar-container .row.flex-fill {
    flex: 1 !important;
    display: flex !important;
}

.cofast-news-sidebar-container .row.flex-fill .col-6 {
    display: flex !important;
}

.cofast-ads-banner-image {
    width: 100%;
    padding-right: 40px;
}

/* Badge styling */
.cofast-news-main-overlay .badge,
.cofast-news-sidebar-overlay .badge {
    font-size: 10px !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
    padding: 4px 8px !important;
    background: rgba(0, 0, 0, 0.6) !important;
}

/* Text styling */
.cofast-news-main-overlay h4 {
    font-size: 27px;
    font-weight: 500;
    line-height: 34px;
}

.cofast-news-sidebar-overlay h6 {
    font-size: 24px !important;
    line-height: 30px;
    font-weight: 500;
}

.cofast-news-sidebar-overlay p {
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    font-size: 16px;
    line-height: 21px;
    font-weight: 500;
}

.cofast-news-main-overlay small {
    font-size: 11px !important;
    opacity: 0.9 !important;
}

/* COFAST Latest Stories Section Styles */
.cofast-latest-stories-main-section {
    margin-bottom: 85px !important;
    max-width: 696px !important;
}

.cofast-latest-stories-section-title {
    display: inline-block !important;
    background: #0075bc;
    color: #fff !important;
    padding: 6px 12px !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.cofast-latest-stories-section-title-line {
    border-top: 2px solid #0075bc;
    margin-top: -2px !important;
    margin-bottom: 15px !important;
}

.cofast-latest-stories-main-article {
    margin-bottom: 0 !important;
    position: relative;
    cursor: pointer;
    width: 324px !important;
}

.cofast-latest-stories-main-image {
    width: 324px !important;
    height: 216px;
    object-fit: cover !important;
}

.container-link-article:hover .cofast-latest-stories-main-heading {
    color: #0075bc !important;
}

.container-link-article:hover .cofast-latest-stories-sidebar-title {
    color: #0075bc !important;
}

/* Industry Banner Hover Effects */
.container-link-article:hover .post-title {
    color: #0075bc !important;
}

.container-link-article:hover .news-title {
    color: #0075bc !important;
}

.container-link-article:hover .topic-content span {
    color: #0075bc !important;
}

.session-get-data.shipping-news-section {
    width: 696px !important;
    position: relative;
    margin-bottom: 75px;
}

.shipping-news-section {
    width: 696px !important;
}

/* BREAKING NEWS */
.breaking-news-section {
    width: 696px !important;
    position: relative;
    margin-bottom: 85px;
}

.cofast-breaking-news-image {
    height: 140px !important;
    object-fit: cover;
}

.cofast-latest-stories-main-badge {
    font-size: 10px !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
    padding: 4px 8px !important;
    position: absolute;
    top: 185px;
    left: 10px;
    text-transform: uppercase;
    background: rgba(0, 0, 0, 0.6) !important;
}

.cofast-breaking-news-badge {
    font-size: 10px !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
    padding: 4px 8px !important;
    position: absolute;
    top: 110px;
    left: 10px;
    text-transform: uppercase;
    background: rgba(0, 0, 0, 0.6) !important;
}

.cofast-breaking-news-main-article:hover > .cofast-breaking-news-main-heading {
    color: #0075bc !important;
}

/* Latest Stories CSS */
.cofast-latest-stories-main-heading {
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    text-overflow: ellipsis !important;
    margin-top: 10px;
    font-weight: 500 !important;
    font-size: 20px !important;
    line-height: 1.3 !important;
    margin-bottom: 10px !important;
    overflow: hidden;
}

.cofast-latest-stories-main-author {
    color: #767676 !important;
    font-size: 11px !important;
    margin-bottom: 10px !important;
}

.cofast-latest-stories-main-info {
    font-size: 11px !important;
    margin-bottom: 10px !important;
    color: #666;
}

.cofast-latest-stories-main-info.is-most-read,
.cofast-latest-stories-sidebar-info.is-most-read {
    color: #ff6600 !important;
}

.cofast-latest-stories-sidebar-info {
    color: #666 !important;
    font-size: 11px !important;
}

.cofast-latest-stories-main-excerpt {
    color: #555 !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
    margin-bottom: 0 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

.cofast-latest-stories-sidebar-list {
    width: 324px !important;
}

.cofast-latest-stories-sidebar-item {
    display: flex !important;
    margin-bottom: 15px;
    padding: 0 0 10px 10px;
    transition: background-color 0.3s ease !important;
}

.cofast-latest-stories-sidebar-image {
    width: 90px !important;
    height: 63px !important;
    object-fit: cover !important;
    margin-right: 10px !important;
    flex-shrink: 0 !important;
}

.cofast-latest-stories-sidebar-content {
    flex: 1 !important;
}

.cofast-latest-stories-sidebar-title {
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    font-size: 13px !important;
    margin: 0 !important;
    font-weight: 500 !important;
    line-height: 18px;
    color: #333;
    cursor: pointer;
}

.cofast-latest-stories-sidebar-date {
    color: #767676 !important;
    font-size: 11px !important;
}

/* BREAKING NEWS */
.cofast-breaking-news-main-heading {
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    margin-top: 10px !important;
    font-weight: 500 !important;
    font-size: 15px !important;
    line-height: 1.3 !important;
    margin-bottom: 10px !important;
}

/* COFAST Newsletter Widget Styles */
.cofast-newsletter-widget-container {
    margin-bottom: 1.5rem !important;
}

.cofast-newsletter-widget-box {
    padding: 20px !important;
    border-radius: 6px !important;
}

.cofast-newsletter-widget-title {
    font-weight: 600 !important;
    color: #007bff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 8px !important;
}

.cofast-newsletter-divider {
    border-top: 2px solid #007bff !important;
    margin-bottom: 20px !important;
}

.cofast-newsletter-main-heading {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: #333 !important;
    margin-bottom: 10px !important;
}

.cofast-newsletter-description {
    color: #666 !important;
    font-size: 0.9rem !important;
    margin-bottom: 20px !important;
}

.cofast-newsletter-form-container {
    position: relative !important;
}

.cofast-newsletter-input-icon {
    position: absolute !important;
    top: 50% !important;
    left: 12px !important;
    transform: translateY(-50%) !important;
    color: #888 !important;
    z-index: 2 !important;
}

.cofast-newsletter-subscribe-input {
    border-radius: 6px !important;
    border: 1px solid #ccc !important;
    padding: 10px 40px !important;
    width: 100% !important;
    font-size: 0.9rem !important;
}

.cofast-newsletter-subscribe-input:focus {
    border-color: #007bff !important;
    box-shadow: none !important;
    outline: none !important;
}

.cofast-newsletter-subscribe-btn {
    border-radius: 25px !important;
    padding: 10px !important;
    font-weight: bold !important;
    font-size: 0.9rem !important;
}

/* COFAST Social Widget Styles */
.cofast-social-widget-container {
    margin-bottom: 0 !important;
}

.cofast-social-widget-box {
    padding: 20px !important;
    border-radius: 6px !important;
}

.cofast-social-widget-title {
    font-weight: 600 !important;
    color: #007bff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 8px !important;
}

.cofast-social-divider {
    border-top: 2px solid #007bff !important;
    margin-bottom: 20px !important;
}

.cofast-social-icons-container {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 5px !important;
}

.cofast-social-icon-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 45px !important;
    height: 45px !important;
    border-radius: 4px !important;
    color: #fff !important;
    font-size: 1.2rem !important;
    text-decoration: none !important;
    transition: transform 0.3s ease !important;
}

.cofast-social-icon-link:hover {
    transform: translateY(-2px) !important;
    color: #fff !important;
}

.cofast-social-facebook {
    background: #1877f2 !important;
}
.cofast-social-twitter {
    background: #000 !important;
}
.cofast-social-linkedin {
    background: #0077b5 !important;
}
.cofast-social-youtube {
    background: #ff0000 !important;
}
.cofast-social-apple {
    background: #000 !important;
}
.cofast-social-spotify {
    background: #1db954 !important;
}
.cofast-social-rss {
    background: #f26522 !important;
}

/* Main Featured Card */
.main-featured-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 450px;
}

.main-featured-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.featured-image-wrapper {
    position: relative;
    overflow: hidden;
}

.featured-main-image {
    height: 450px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.main-featured-card:hover .featured-main-image {
    transform: scale(1.05);
}

.featured-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 40px 30px 30px;
}

.featured-content-overlay {
    color: white;
}

.featured-category {
    display: inline-block;
    background: rgba(0, 102, 204, 0.9);
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.featured-main-title {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
    color: white;
}

.featured-meta {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

.featured-meta .separator {
    margin: 0 10px;
}

/* Side Articles */
.side-articles {
    height: 100%;
}

.side-article-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

.side-article-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
}

.side-article-image {
    height: 120px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.side-article-card:hover .side-article-image {
    transform: scale(1.1);
}

.side-article-content {
    padding: 15px;
}

.side-category {
    display: block;
    color: #ff6600;
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.side-title {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 10px;
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.side-meta {
    font-size: 0.75rem;
    color: #999;
}

.side-meta .date {
    font-weight: 500;
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    opacity: 0.8;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

.carousel-indicators {
    bottom: 20px;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
}

/* Featured Articles Section */
.featured-articles {
    background: #f8f9fa;
}

.featured-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.featured-image {
    position: relative;
    overflow: hidden;
}

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

.featured-card:hover .featured-image img {
    transform: scale(1.05);
}

.featured-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0, 102, 204, 0.9);
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.featured-content {
    padding: 20px;
}

.featured-title {
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0;
    color: #333;
}

.featured-card-small {
    background: white;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    margin-bottom: 15px;
}

.featured-card-small:hover {
    transform: translateY(-2px);
}

.small-category {
    display: block;
    color: #ff6600;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.small-title {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0;
    color: #333;
}

/* Section Headers - Keep for other sections */
.section-header {
    border-bottom: 3px solid #0066cc;
    margin-bottom: 2rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0;
    padding-bottom: 10px;
    position: relative;
}

.title-accent {
    background: #0066cc;
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 1rem;
    letter-spacing: 1px;
}

.cofast-latest-stories-section-header {
    margin-bottom: 26px !important;
}

/* COFAST Section Chip + Divider (blue) */
.cofast-section-chip-blue {
    display: inline-block;
    background: #0066cc;
    color: #ffffff;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 800;
    letter-spacing: 2px;
    font-size: 0.95rem;
}

.cofast-section-divider-blue {
    height: 4px;
    background: #0066cc;
    width: 100%;
    margin-top: 10px;
    border-radius: 2px;
}

/* Latest Stories Grid - Removed old styles, using new COFAST classes */

/* Breaking News Grid */
.breaking-news-grid .row {
    margin-bottom: 2rem;
}

.breaking-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.breaking-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.breaking-image {
    position: relative;
    overflow: hidden;
}

.breaking-image img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.breaking-category {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(255, 0, 0, 0.9);
    color: white;
    padding: 4px 8px;
    border-radius: 3px;
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.breaking-content {
    padding: 15px;
}

.breaking-title {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0;
    color: #333;
}

.breaking-title a {
    color: inherit;
    text-decoration: none;
}

.breaking-title a:hover {
    color: #cc0000;
}

/* Ports News Cards */
.ports-news-card {
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 2rem;
}

.ports-image {
    width: 223px;
    height: 156px;
    object-fit: cover;
}

.ports-content {
    padding: 20px;
}

.ports-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 10px;
    color: #333;
}

.ports-title a {
    color: inherit;
    text-decoration: none;
}

.ports-title a:hover {
    color: #0066cc;
}

.ports-excerpt {
    color: #666;
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 15px;
}

.ports-meta {
    font-size: 10px;
    color: #999;
}

.ports-meta .separator {
    margin: 0 8px;
}

/* Sidebar Styles */
.sidebar-sticky {
    position: sticky;
    top: 2rem;
    width: 324px;
    margin-left: 20px;
}

/* Right Ads Styles */
.sidebar-ads .ad-card {
    margin-bottom: 2rem;
}

.ad-content {
    position: relative;
    overflow: hidden;
}

.ad-title {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

/* Isometric Graphics */
.isometric-container {
    position: relative;
    height: 120px;
    margin: 20px 0;
}

.building-blocks {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.block {
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.5);
    position: absolute;
    transform: rotateX(45deg) rotateY(45deg);
}

.block-1 {
    top: 0;
    left: -15px;
    background: rgba(0, 255, 255, 0.3);
}

.block-2 {
    top: -10px;
    left: 15px;
    background: rgba(0, 255, 0, 0.3);
}

.block-3 {
    top: 10px;
    left: 0;
    background: rgba(255, 255, 0, 0.3);
}

.chart-element {
    position: absolute;
    top: 50px;
    right: 20px;
    width: 40px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.graph-bars {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: flex;
    align-items: end;
}

.bar {
    width: 8px;
    background: rgba(255, 255, 255, 0.4);
    margin-right: 3px;
    border-radius: 2px;
}

.bar-1 {
    height: 20px;
}
.bar-2 {
    height: 30px;
}
.bar-3 {
    height: 25px;
}

.search-icon {
    position: absolute;
    top: 40px;
    left: 20px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
}

/* Newsletter Widget */
.newsletter-widget {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.newsletter-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.newsletter-header i {
    margin-right: 10px;
    font-size: 1.2rem;
}

.newsletter-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    color: #333;
}

.newsletter-heading {
    font-size: 1rem;
    font-weight: 700;
    color: #333;
    text-align: center;
    margin-bottom: 10px;
}

.newsletter-description {
    font-size: 0.9rem;
    color: #666;
    text-align: center;
    margin-bottom: 20px;
}

.newsletter-form .input-group-text {
    background: #f8f9fa;
    border-right: none;
}

.newsletter-form .form-control {
    border-left: none;
}

/* Social Widget */
.social-widget {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.social-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.social-header i {
    margin-right: 10px;
    font-size: 1.2rem;
}

.social-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    color: #333;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 6px;
    text-decoration: none;
    color: white;
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.social-link:hover {
    transform: translateY(-2px);
    color: white;
}

.social-link.facebook {
    background: #3b5998;
}
.social-link.twitter {
    background: #1da1f2;
}
.social-link.linkedin {
    background: #0077b5;
}
.social-link.youtube {
    background: #ff0000;
}
.social-link.apple {
    background: #000000;
}
.social-link.spotify {
    background: #1db954;
}
.social-link.rss {
    background: #ff6600;
}

/* Right News Sidebar */
.sidebar-news {
    border-radius: 8px;
}

.most-read-section .section-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    border-bottom: 2px solid #0066cc;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.most-read-section-container {
    margin-bottom: 90px;
}

.featured-most-read .article-image {
    position: relative;
    overflow: hidden;
}

.featured-most-read .article-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.featured-most-read .article-category {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 102, 204, 0.9);
    color: white;
    padding: 4px 8px;
    border-radius: 3px;
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.featured-most-read .article-title {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 10px;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    text-overflow: ellipsis !important;
    overflow: hidden;
}

.featured-most-read .article-title a {
    color: #333;
    text-decoration: none;
}

.featured-most-read .article-title a:hover {
    color: #0066cc;
}

.featured-most-read .article-meta {
    font-size: 11px;
    color: #999;
    margin-bottom: 10px;
}

.featured-most-read .article-excerpt {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.featured-most-read:hover .article-title {
    color: #0075bc !important;
}

.most-read-list {
    margin-top: 28px;
}

.most-read-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.most-read-item .item-title {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 5px;
}

.most-read-item .item-title a {
    color: #333;
    text-decoration: none;
}

.most-read-item .item-title a:hover {
    color: #0066cc;
}

.most-read-item .item-date {
    font-size: 0.7rem;
    color: #999;
}

/* Trade Lanes Section */
.trade-lanes-section .section-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    border-bottom: 2px solid #0066cc;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.trade-lane-card {
    overflow: hidden;
    transition: transform 0.3s ease;
    margin-bottom: 15px;
    cursor: pointer;
}

.trade-lane-card:hover .trade-title {
    color: #0075bc !important;
}

.trade-image {
    position: relative;
    overflow: hidden;
}

.trade-image img {
    width: 152px;
    height: 100px;
    object-fit: cover;
}

.trade-category {
    position: absolute;
    top: 5px;
    left: 5px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 2px 6px;
    border-radius: 2px;
    font-size: 0.5rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.trade-title {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.3;
    margin: 10px 0;
    color: #333;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.footer-news-card {
    height: 100%;
}

.footer-side-item:hover .cofast-footer-news-title {
    color: #0075bc !important;
}

.cofast-footer-news-title {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    font-size: 13px !important;
    margin: 0 !important;
    font-weight: 500 !important;
    line-height: 18px;
    color: #333;
    cursor: pointer;
}

.footer-news-card .section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0066cc;
    border-bottom: 2px solid #0066cc;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

/* Industry News Banner */
.industry-news-banner {
    background: #333;
}

.news-banner-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.news-banner-card:hover {
    transform: translateY(-5px);
}

.banner-category {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 10px;
    opacity: 0.9;
}

.banner-title {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 15px;
}

.banner-meta {
    font-size: 0.8rem;
    opacity: 0.8;
}

.banner-meta .separator {
    margin: 0 8px;
}

.footer-featured-image {
    cursor: pointer;
}

.footer-featured-image .img-fluid,
.footer-side-image .img-fluid {
    cursor: pointer;
}

.footer-overlay {
    border-radius: 4px;
    cursor: pointer;
}

.industry-news-banner .post-title {
    font-size: 13px !important;
    color: #fff;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    margin: 0 !important;
    font-weight: 500 !important;
    line-height: 18px;
    cursor: pointer;
}

.industry-news-banner .news-title {
    font-size: 13px !important;
    color: #fff;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    margin: 0 !important;
    font-weight: 500 !important;
    line-height: 18px;
    cursor: pointer;
}

.industry-news-banner .topic-content {
    font-size: 14px !important;
}

.industry-news-banner .date {
    font-size: 11px !important;
    color: rgb(180 180 180) !important;
}

/* Loading Styles */
.loading-placeholder {
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .cofast-news-main-featured-card {
        height: 300px !important;
        cursor: pointer;
    }

    .cofast-news-sidebar-top-item {
        height: 200px !important;
    }

    .cofast-news-sidebar-bottom-item {
        height: 150px !important;
    }

    .cofast-news-main-overlay h4 {
        font-size: 1.2rem !important;
    }

    .cofast-news-sidebar-overlay p {
        display: -webkit-box !important;
        font-size: 0.8rem !important;
    }

    .cofast-latest-stories-sidebar-list {
        padding-left: 0 !important;
        margin-top: 20px !important;
    }

    .cofast-latest-stories-main-image {
        height: 250px !important;
    }

    .cofast-latest-stories-main-heading {
        font-size: 1.1rem !important;
    }

    .cofast-latest-stories-sidebar-title {
        font-size: 0.9rem !important;
    }

    .cofast-newsletter-widget-box,
    .cofast-social-widget-box {
        padding: 15px !important;
    }

    .cofast-newsletter-main-heading {
        font-size: 1rem !important;
    }

    .cofast-social-icon-link {
        width: 40px !important;
        height: 40px !important;
        font-size: 1.1rem !important;
    }

    .featured-main-title {
        font-size: 1.4rem;
    }

    .featured-main-image {
        height: 300px;
    }

    .featured-overlay {
        padding: 20px 20px 20px;
    }

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

    .side-title {
        font-size: 0.85rem;
    }

    .featured-title {
        font-size: 1.1rem;
    }

    .story-title {
        font-size: 1rem;
    }

    .sidebar-sticky {
        position: static;
    }

    .trade-lanes-grid .col-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .cofast-news-main-featured-card {
        height: 250px !important;
        cursor: pointer;
    }

    .cofast-news-sidebar-top-item {
        height: 180px !important;
    }

    .cofast-news-sidebar-bottom-item {
        height: 120px !important;
    }

    .cofast-news-main-overlay h4 {
        font-size: 1rem !important;
    }

    .cofast-news-sidebar-overlay p {
        font-size: 0.75rem !important;
    }

    .cofast-news-main-overlay .badge,
    .cofast-news-sidebar-overlay .badge {
        font-size: 0.6rem !important;
        padding: 3px 6px !important;
    }

    .cofast-latest-stories-main-image {
        height: 200px !important;
    }

    .cofast-latest-stories-main-heading {
        font-size: 1rem !important;
    }

    .cofast-latest-stories-sidebar-title {
        font-size: 0.85rem !important;
    }

    .cofast-latest-stories-sidebar-image {
        width: 70px !important;
        height: 50px !important;
    }

    .cofast-newsletter-widget-box,
    .cofast-social-widget-box {
        padding: 12px !important;
    }

    .cofast-newsletter-main-heading {
        font-size: 0.95rem !important;
    }

    .cofast-newsletter-description {
        font-size: 0.8rem !important;
    }

    .cofast-social-icon-link {
        width: 35px !important;
        height: 35px !important;
        font-size: 1rem !important;
    }

    .featured-main-title {
        font-size: 1.2rem;
    }

    .featured-main-image {
        height: 250px;
    }

    .side-article-image {
        height: 80px;
    }

    .side-title {
        font-size: 0.8rem;
        -webkit-line-clamp: 2;
    }

    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .section-title {
        font-size: 1.2rem;
    }

    .title-accent {
        font-size: 0.9rem;
        padding: 6px 12px;
    }
}

/* Animation Classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.fade-in-up-delay-1 {
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.fade-in-up-delay-2 {
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

.fade-in-up-delay-3 {
    animation: fadeInUp 0.6s ease-out 0.6s both;
}

.youtube-videos-section {
    width: 696px !important;
    position: relative;
    margin-bottom: 87px;
}

.youtube-videos-section .related-video-item {
    padding: 8px 0;
    cursor: pointer;
    margin-bottom: 8px;
}

.youtube-videos-section .related-video-item:hover .video-title {
    color: #0075bc !important;
}

.youtube-videos-section .img-fluid {
    height: 70px;
    width: 90px;
}

.youtube-videos-section .video-title {
    font-weight: 500;
    color: #333;
}

.youtube-videos-section .video-duration-badge {
    border-radius: 0 0 4px 0;
}

/* Latest articles section */
.cofast-latest-articles-main-image {
    width: 328px !important;
    height: 164px !important;
    object-fit: cover !important;
}

.cofast-latest-articles-main-article {
    margin-bottom: 0 !important;
    position: relative;
    cursor: pointer;
    width: 328px;
}

.container-link-article:hover .cofast-latest-stories-main-heading {
    color: #0075bc !important;
}

.cofast-latest-articles-main-badge {
    font-size: 10px !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
    padding: 4px 8px !important;
    position: absolute;
    top: 134px;
    left: 10px;
    text-transform: uppercase;
    background: rgba(0, 0, 0, 0.6) !important;
}

.session-get-data.ports-news-section {
    width: 696px !important;
    margin-bottom: 100px;
    position: relative;
}

.breadcrumb-item {
    font-size: 13px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    margin: 0 !important;
    font-weight: 500 !important;
    line-height: 18px;
    cursor: pointer;
}

/* Share button */
.news-group-share-button {
    display: flex;
    gap: 8px;
    justify-content: start;
    align-items: center;
    margin-top: 16px;
    margin-bottom: 30px;
}

.news-group-share-button .general-share-btn {
    background-color: #ffffff; 
    color: #333333 !important; 
    border: 1px solid #e0e0e0 !important; 
    padding-right: 30px; 
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important; 
    position: relative;
    margin-right: 16px;
}

.news-group-share-button .general-share-btn:hover {
    background-color: #f5f5f5; 
}

/* Tạo hình mũi tên bằng pseudo-element ::after */
.news-group-share-button .general-share-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -10px; 
    transform: translateY(-50%) rotate(45deg);
    width: 20px; 
    height: 20px; 
    background-color: inherit; 
    border-top: inherit; 
    border-right: inherit; 
    border-radius: 2px; 
    z-index: 1; 
}

/* Base button styling */
.news-group-share-button .share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    border-radius: 4px; /* Slightly rounded corners */
    font-family: Arial, sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: white; /* White text color for all buttons */
    text-decoration: none; /* Removes underline from links */
    transition: background-color 0.2s ease; /* Smooth transition for hover effects */
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    max-height: 28px;
}

/* Icon spacing */
.news-group-share-button .share-btn i {
    margin-right: 8px;
}

/* Specific button colors (matching the image) */

/* Twitter (Light Blue) */
.news-group-share-button .twitter-btn {
    background-color: #1da1f2;
}

.news-group-share-button .twitter-btn:hover {
    background-color: #168acd;
}

/* Facebook (Dark Blue) */
.news-group-share-button .facebook-btn {
    background-color: #3b5998;
}

.news-group-share-button .facebook-btn:hover {
    background-color: #2d4373;
}

/* LinkedIn (Medium Blue) */
.news-group-share-button .linkedin-btn {
    background-color: #0077b5;
}

.news-group-share-button .linkedin-btn:hover {
    background-color: #005582;
}

/* Reddit (Red) */
.news-group-share-button .reddit-btn {
    background-color: #ff4500;
}

.news-group-share-button .reddit-btn:hover {
    background-color: #cc3700;
}

/* Telegram / Generic Yellow Share */
.news-group-share-button .telegram-btn {
    background-color: #ffc300;
    color: #333; /* Darker text for visibility on yellow */
}

.news-group-share-button .telegram-btn i {
    color: #333; /* Darker icon for visibility on yellow */
}

.news-group-share-button .telegram-btn:hover {
    background-color: #e0ac00;
}

.category-item-hover:hover a, .category-item-hover:hover span {
    color: #0075bc !important;
}

#next-previous-navigation {
    border-top: 1px solid #dfdfdf;
    padding-top: 16px;
}

#next-previous-navigation a:hover h5 {
    color: #0075bc !important;
}