   /* General Styles */
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }
	
	
 
 }
body {
 
    background: #fff;
    font-size: 16px;
    transition-delay: .25s;
    -webkit-text-size-adjust: none;
}
.nav-item a{
	font-weight:bold !important;
	font-size:14px !important;
}


    .container {
        width: 90%;
        margin: 20px auto;
    }

    /* Top Header */
    .top-header {
        background: #fffff;
        color: #fff;
        padding: 15px 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 100px;
        border-bottom: 2px solid #ccc;
    }

    .top-header .logo img {
        width: 150px;
        height: auto;
    }

    .search-container {
        flex-grow: 1;
        margin: 0 20px;
    }

    .search-container input {
        width: 100%;
        padding: 8px;
        border-radius: 5px;
        border: 1px solid #ddd;
        font-size: 14px;
    }

    .social-icons {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 10px;
    }

    .social-icons a {
        color: #fff;
        text-decoration: none;
        font-size: 20px;
    }

    .social-icons a:hover {
        color: #f0f0f0;
    }

    /* Navbar */
    .navbar {
        background-color: #080e18 !important; /* Dark blue */
    }

    .navbar-nav .nav-link {
        color: #fff !important; /* White color for menu items */
    }

    .navbar-nav .nav-link:hover {
        color: #f0f0f0 !important; /* Lighter white on hover */
    }

    .navbar-nav .nav-item.active .nav-link {
        color: #e70008 !important; /* Active menu item color (Red) */
    }

    /* Main News Carousel */
    .main-news .carousel-item {
        background: #fff;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        border-radius: 5px;
        position: relative;
    }

    .main-news img {
        width: 100%;
        height: auto;
        border-radius: 5px;
    }

    .main-news .carousel-caption {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 15px;
        background-color: rgba(0, 53, 134);
        border-bottom-left-radius: 5px;
        border-bottom-right-radius: 5px;
    }

    .main-news .carousel-caption h5 {
        margin: 0;
        font-size: 15px;
        color: #fff;
    }

    .carousel-indicators {
        bottom: -35px;
    }

    .carousel-indicators li {
        background-color: rgba(0, 0, 0, 0.5);
        border: none;
        width: 10px;
        height: 10px;
        margin: 0 5px;
        border-radius: 50%;
    }

    .carousel-indicators .active {
        background-color: #00276d;
        width: 12px;
        height: 12px;
    }

    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }

    /* Articles Section */
    .articles-section,
    .video-articles,
    .photo-gallery {
        background: #fff;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        border-radius: 5px;
        padding: 20px;
        margin-bottom: 20px;
    }

    .articles-section h3,
    .video-articles h3,
    .photo-gallery h3 {
        margin-bottom: 15px;
        font-family: 'Noto Sans TC', sans-serif;
        font-weight: 700;
        color: #00276d; /* Dark blue */
    }

    .articles-list,
    .news-list {
        list-style: none;
        padding: 0;
    }

    .articles-list .article-item,
    .news-list .news-item {
        display: flex;
        margin-bottom: 15px;
        padding: 10px;
        border: 1px solid #ddd;
        border-radius: 5px;
        background: #fff;
	    height: 100px;
    }

    .articles-list .article-item img,
    .news-list .news-item img {
         width: 100%; /* Adjust width as needed */
    height: auto; /* Maintain aspect ratio */
    max-height: 200px; /* Set a max height to ensure all images are uniform */
    display: block; /* Ensure it behaves like a block element within the <a> tag */margin-right: 15px;
        border-radius: 5px;
    }

    .articles-list .article-item h5,
    .news-list .news-item h5 {
        font-size: 14px;
        margin: 0;
        align-self: center;
        color: #000; /* Black color */
        font-weight: 700; /* Bold */
        
        padding: 5px 10px; /* Padding around the text */
        border-radius: 5px; /* Rounded corners */
        color: #fff; /* White font color */
    }
	 h5 a{
      color: #333 !important;
   }
    /* Video Articles */
    .video-articles .video-item {
        position: relative;
        margin-bottom: 20px;
    }

    .video-articles .video-item img {
        width: 100%;
        height: 200px;
        border-radius: 5px;
    }

    .video-articles .video-item .video-icon {
        position: absolute;
        bottom: 10px;
        left: 10px;
        font-size: 30px;
        color: red;
    }

    /* Photo Gallery */
    .photo-gallery .gallery-item {
        margin-bottom: 20px;
        text-align: center;
    }

    .photo-gallery .gallery-item img {
        width: 100%;
        height: auto;
        border-radius: 5px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    }

    .photo-gallery .gallery-item p {
        margin-top: 10px;
        font-size: 14px;
    }
	
	.bg-dark {
    background-color: #b3d0ff !important;
}

    /* Footer */
    footer {
        background: #003486;
        color: #fff;
        text-align: center;
        padding: 10px 0;
        margin-top: 10px;
    }

    @media (max-width: 768px) {
        .top-header {
            padding: 0px 0;
            height: auto;
            flex-direction: column;
            align-items: flex-start;
        }

        .top-header .logo img {
            margin-bottom: 10px;
        }

        .search-container {
            width: 100%;
            margin: 10px 0;
        }

        .social-icons {
            justify-content: center;
            margin-top: 10px;
        }

        .video-articles .video-item,
        .photo-gallery .gallery-item {
            margin-bottom: 15px;
        }

        .video-articles .row > .col-md-4,
        .photo-gallery .row > .col-md-4 {
            padding: 0 10px;
        }
    }
	     

        .container {
            width: 90%;
            margin: 20px auto;
        }

        /* Navbar */
        .navbar {
            background-color: #0066cc !important; /* Dark blue */
        }

        .navbar-nav .nav-link {
            color: #ffffff !important; /* White color for menu items */
        }

        .navbar-nav .nav-link:hover {
            color: #f0f0f0 !important; /* Lighter white on hover */
        }

        .navbar-nav .nav-item.active .nav-link {
            color: #ffffff !important; /* Active menu item color (Red) */
        }

        /* Article Details Section */
        .article-details {
            background: #fff;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
            border-radius: 5px;
            padding: 20px;
            margin-bottom: 20px;
        }

          .breadcrumb {
            background-color: #0068cc;
            padding: 10px 15px;
            border-radius: 5px;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }
        
        .breadcrumb-item + .breadcrumb-item::before {
            content: '>';
            margin-right: 5px;
            color: #fff;
        }
        
        .breadcrumb a {
            text-decoration: none;
            color: #fff;
        }
        
        .breadcrumb .breadcrumb-item.active {
            color: #fff;
        }

        .article-details .article-title {
            font-size: 1.5rem;
            margin-bottom: 10px;
        }

        .article-details .article-excerpt {
            font-size: 1rem;
            color: #666;
            margin-bottom: 10px;
        }

        .article-details .article-meta-container {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 10px;
        }

        .article-details .article-meta {
            font-size: 0.9rem;
            color: #999;
        }

        .article-details .article-image {
            max-width: 100%;
            height: auto;
            border-radius: 5px;
            margin-bottom: 20px;
        }

        .article-details .social-icons {
            display: flex;
            gap: 10px;
        }

        .article-details .article-content {
            color: #333;
            font-size: 16px;
            line-height: 1.8;
        }

        /* Related News Section */
        .related-news {
            background: #fff;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
            border-radius: 5px;
            padding: 20px;
        }

        .related-news h3 {
            margin-bottom: 15px;
            font-family: 'Noto Sans TC', sans-serif;
            font-weight: 700;
            color: #00276d; /* Dark blue */
        }

        .related-news .news-list {
            list-style: none;
            padding: 0;
        }

        .related-news .news-item {
            display: flex;
            margin-bottom: 15px;
            padding: 10px;
            border: 1px solid #ddd;
            border-radius: 5px;
            background: #fff;
        }

        .related-news .news-item img {
            max-width: 100px;
            height: auto;
            border-radius: 5px;
            margin-right: 15px;
        }

        .related-news .news-item h5 {
            font-size: 1rem;
            margin: 0;
            align-self: center;
            color: #000; /* Black color */
            font-weight: 700; /* Bold */
        }

        .related-news .news-item h5 a {
            color: #333 !important;
        }


              .trending-news {
            background-color: #fff;
            border-radius: 15px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            overflow: hidden;
            margin: 0px auto;
            max-width: 600px;
        }
        .trending-news h5 {
            background-color: #b3d0ff;
            color: #333333;
			font-weight:bold !important;
            padding: 15px;
            margin: 0;
            text-align: center;
            font-size: 1.25rem;
        }
        .trending-news ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        .trending-news li {
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 15px;
            border-bottom: 1px solid #eaeaea;
            transition: background-color 0.3s;
        }
        .trending-news li:last-child {
            border-bottom: none;
        }
        .trending-news li:hover {
            background-color: #f1f9ff;
        }
        .trending-news img {
            width: 250px;
            height: 150px;
            object-fit: cover;
            border-radius: 10px;
            margin-bottom: 10px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }
        .trending-news a {
            color: #333;
            text-decoration: none;
            font-size:14px !important;
            text-align: center;
        }
        .trending-news a:hover {
            text-decoration: underline;
        }
        @media (max-width: 767px) {
            .trending-news {
                max-width: 100%;
                margin: 10px;
            }
        }
		
		  .top-news {
            background-color: #fff;
            border-radius: 15px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            overflow: hidden;
            margin: 20px auto;
            max-width: 800px;
        }
        .top_news{
            background-color: #b3d0ff;
            color: #333333;
            padding: 15px;
			font-weight:bold !important;
            margin: 0;
            text-align: center;
            font-size: 1.25rem;
        }
        .top-news ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        .top-news li {
            display: flex;
            align-items: center;
            padding: 15px;
            border-bottom: 1px solid #eaeaea;
            transition: background-color 0.3s;
        }
        .top-news li:last-child {
            border-bottom: none;
        }
        .top-news li:hover {
            background-color: #f1f9ff;
        }
        .top-news img {
            width: 100px;
            height: 100px;
            object-fit: cover;
            border-radius: 10px;
            margin-right: 15px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }
        .top-news a {
            color: #333;
            text-decoration: none;
           
            font-size: 14px;
        }
        .top-news a:hover {
            text-decoration: underline;
        }
        @media (max-width: 767px) {
            .top-news {
                max-width: 100%;
                margin: 10px;
            }
            .top-news li {
                flex-direction: column;
                align-items: flex-start;
            }
            .top-news img {
                width: 100%;
                height: auto;
                margin-right: 0;
                margin-bottom: 10px;
            }
            .top-news a {
                text-align: center;
                width: 100%;
            }
        }
		
		
	   .calendar {
            max-width: 300px;
            margin: auto;
            font-size: 0.8rem;
        }
        .calendar th, .calendar td {
            text-align: center;
            padding: 5px;
        }
        .calendar .today {
            background-color: #007bff;
            color: white;
        }
        .calendar a {
            color: inherit;
            text-decoration: none;
        }
        .calendar a:hover {
            text-decoration: underline;
        }
		
		      .search-container input {
            border: 1px solid #ccc;
            border-right: none;
            padding: 5px;
            border-top-left-radius: 4px;
            border-bottom-left-radius: 4px;
            flex: 1;
        }
        .search-container button {
            border: 1px solid #ccc;
            border-left: none;
            padding: 5px 10px;
            background-color: #0066cc;
            color: white;
            border-top-right-radius: 4px;
            border-bottom-right-radius: 4px;
        }
	     .tags {
            margin-top: 10px;
            padding: 0;
            list-style: none;
        }
        .tags li {
            display: inline-block;
            background-color: #007bff;
            color: white;
            padding: 5px 10px;
            margin-right: 5px;
            border-radius: 5px;
        }
        .tags li a {
            color: white;
            text-decoration: none;
        }
        .tags li a:hover {
            text-decoration: underline;
        }
		
  .navbar {
            padding-top: 0.2rem;
            padding-bottom: 0.2rem;
        }

        .navbar-nav {
            display: flex;
            justify-content: center;
            width: 100%;
        }

        .navbar-nav .nav-item {
            margin-bottom: 0;
        }

        .navbar-nav .nav-link {
            padding-top: 0.5rem;
            padding-bottom: 0.5rem;
        }

        .dropdown-menu {
            background-color: #0066cc !important;
            margin-top: 0; /* Ensure there's no gap between the dropdown toggle and menu */
        }

        .dropdown-item {
            color: #fff !important;
        }

        @media (max-width: 768px) {
            .navbar-nav {
                text-align: center;
            }

            .navbar-collapse {
                justify-content: center;
            }
        }

   .social-icons-ar {
            display: flex;
            justify-content: flex-end; /* Align icons to the right */
            align-items: center; /* Align icons vertically centered */
            margin-top: 20px;
        }

        .social-icons-ar a {
            display: inline-block;
            margin-right: 10px; /* Adjust spacing between icons */
            font-size: 28px; /* Adjust icon size */
            color: #0068cc; /* Adjust icon color */
            text-decoration: none;
        }

        .social-icons-ar a:hover {
            color: #007bff; /* Change color on hover */
        }
		
		a{
			text-decoration: none !important;
		}
		
		.follow-channels {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.follow-channels a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #fff;
    background-color: #006acc;
    border: 1px solid #ccc;
    padding: 10px 20px;
    margin: 0 10px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.follow-channels a i {
    font-size: 2rem; /* Adjust icon size */
    margin-bottom: 10px;
}

.whatsapp {
    color: #25D366;
    border-color: #25D366;
}

.telegram {
    color: #0088cc;
    border-color: #0088cc;
}

.follow-channels a:hover {
    background-color: #006acc;
}

.fixed-telegram, .fixed-whatsapp {
    position: fixed;
    bottom: 20px;
    z-index: 9999;
    font-size: 2rem; /* Adjust icon size as needed */
    color: #fff; /* Icon color */
    padding: 10px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fixed-whatsapp {
    left: 20px;
    background-color: #25D366; /* WhatsApp green color */
    width: 50px; /* Ensure the background is circular */
    height: 50px; /* Ensure the background is circular */
}

.fixed-telegram {
    right: 20px;
    background-color: #0088cc; /* Telegram blue color */
    width: 50px; /* Ensure the background is circular */
    height: 50px; /* Ensure the background is circular */
}

.gif-container {
    display: block;
    width: 600px; /* Set the width of the container */
    margin: 0 auto; /* Center the container horizontally */
}

.gif-container a {
    display: block;
    margin-bottom: 20px; /* Add space between the images */
}

.gif-container img {
    width: 100%; /* Make the image take the full width of the link */
    height: 80px; /* Maintain the aspect ratio */
}