﻿html {
    scroll-behavior: smooth;
}
/* Rounded corners globally */
input, textarea, button, .breadcrumbs, .horizontal-menu a {
    border-radius: 5px;
}

/* -------------------------------
   Breadcrumbs
--------------------------------- */
.breadcrumbs {
    background-color: #f8f9fa;
    padding: 8px 16px;
    font-size: 14px;
    color: #333;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    display: flex;
    flex-wrap: nowrap;       /* Prevent wrapping */
    align-items: center;
    overflow-x: auto;
    gap: 0.5rem;
}

.breadcrumbs a,
.breadcrumbs span {
    white-space: nowrap;
    color: #007BFF;
    font-weight: 400;
}

.breadcrumbs a:hover {
    color: #0056b3;
}

.breadcrumbs span.separator {
    color: #6c757d;
}

/* -------------------------------
   Horizontal Menu
--------------------------------- */
.horizontal-menu {
    background-color: #333;
    padding: 8px 0;
    text-align: center;
    width: 100%;
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.horizontal-menu ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.horizontal-menu li {
    margin: 0 15px;
}

.horizontal-menu a {
    text-decoration: none;
    color: white;
    padding: 8px 18px;
    font-size: 16px;
    display: block;
    border-radius: 3px;
    transition: background-color 0.3s ease;
}

.horizontal-menu a:hover {
    background-color: #575757;
    color: #f1f1f1;
}

.horizontal-menu a.active {
    background-color: #007BFF;
    color: white;
}

@media (max-width: 768px) {
    .horizontal-menu ul {
        flex-direction: column;
        align-items: center;
    }

    .horizontal-menu li {
        margin: 5px 0;
    }

    .horizontal-menu a {
        font-size: 14px;
        padding: 6px 12px;
    }
}




/* Styling for the article-info section */
.article-info {
    font-size: 14px;  /* Set the font size */
    color: #555;  /* Dark grey color */
    margin-bottom: 20px;  /* Space between the article info and the content */
    padding: 10px 0;
    border-bottom: 1px solid #ddd;  /* A subtle border below the article info */
}

.article-info span {
    display: inline-block;
    margin-right: 20px;  /* Space between items */
}

.article-info .article-author {
    font-weight: bold;  /* Highlight the author's name */
    color: #007bff;  /* Blue color for author */
}

.article-info .article-date {
    font-style: italic;  /* Italicize the date */
    color: #888;  /* Lighter grey color for date */
}

.article-info .article-category {
    font-weight: normal;  /* Regular weight for category */
    color: #6c757d;  /* Slightly muted color for category */
}

.article-info .article-info-divider {
    display: none;  /* If you want to hide a specific divider */
}

/* Responsive Design for smaller screens */
@media (max-width: 768px) {
    .article-info {
        font-size: 12px;  /* Slightly smaller text on small screens */
        text-align: center;  /* Center-align on smaller devices */
    }

    .article-info span {
        display: block;  /* Stack the items vertically on mobile */
        margin-right: 0;  /* Remove right margin */
        margin-bottom: 5px;  /* Space between stacked items */
    }
}


/* Styling for the Article Index container */
.article-index {
    background-color: #f8f9fa;
    padding: 25px;
    border-left: 4px solid #007bff; /* Add a left border to highlight the index */
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    font-family: 'Arial', sans-serif;
    max-width: 300px; /* Optional: Limit width */
}

.article-index h2 {
    font-size: 1.6em;
    color: #343a40;
    text-align: center;
    margin-bottom: 15px;
}

/* Styling for the individual TOC links */
.article-index a.toclink {
    display: inline-block;
    text-decoration: none;
    color: #007bff; /* Blue color for the links */
    font-size: 1.1em;
    font-weight: 600;
    margin-bottom: 8px;
    transition: color 0.3s ease, padding-left 0.3s ease; /* Smooth transition effect */
}

.article-index a.toclink:hover {
    color: #0056b3; /* Darker blue on hover */
    padding-left: 5px; /* Add a slight indentation when hovered */
}

.article-index a.toclink:focus {
    outline: none;
    color: #0056b3; /* Same as hover */
    text-decoration: underline; /* Underline on focus */
}

/* Optional: Additional styling for smooth scroll behavior */
html {
    scroll-behavior: smooth;
}



/* Styling for the Latest Articles Module */
.mod-articleslatest {
    background-color: #f9f9f9; /* Light background color for the module */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

/* Title of the Latest Articles Module */
.mod-articleslatest .mod-title {
    font-size: 1.8em;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

/* Styling for the list container */
.mod-articleslatest .mod-list {
    list-style-type: none;
    padding-left: 0;
    margin: 0;
}

/* Styling each individual news item */
.mod-articleslatest .latestnews {
    margin-bottom: 10px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    transition: background-color 0.3s ease;
}

/* Hover effect for each news item */
.mod-articleslatest .latestnews:hover {
    background-color: #f1f1f1;
}

/* Link styling */
.mod-articleslatest .latestnews a {
    color: #007bff;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bold;
}

/* Link hover effect */
.mod-articleslatest .latestnews a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Date styling */
.mod-articleslatest .mod-date {
    display: block;
    font-size: 0.9em;
    color: #777;
    margin-top: 5px;
}



/* Style the list item */
li[itemtype="https://schema.org/Article"] {
    list-style-type: none;  /* Remove default bullet points */
    margin-bottom: 15px;    /* Space between list items */
    padding: 10px;          /* Padding inside the list item */
    background-color: #f9f9f9; /* Light background color */
    border-radius: 5px;     /* Rounded corners */
    transition: background-color 0.3s ease, transform 0.2s ease; /* Smooth transition */
}

/* Hover effect for the list item */
li[itemtype="https://schema.org/Article"]:hover {
    background-color: #e9ecef; /* Change background on hover */
    transform: scale(1.02);    /* Slight scale-up effect */
}

/* Style for the anchor link */
li[itemtype="https://schema.org/Article"] a {
    text-decoration: none;   /* Remove underline from link */
    color: #007bff;          /* Blue color for the link */
    font-weight: bold;       /* Bold font */
    font-size: 1.1em;        /* Slightly larger font size */
    display: block;          /* Block display for clickable area */
    transition: color 0.3s ease; /* Smooth color transition */
}

/* Change link color on hover */
li[itemtype="https://schema.org/Article"] a:hover {
    color: #0056b3;          /* Darker blue when hovered */
}

/* Style for the span inside the link */
li[itemtype="https://schema.org/Article"] span[itemprop="name"] {
    display: block;          /* Ensure the text is block-level */
    margin: 0;               /* Remove any extra margin */
    color: #333;             /* Dark color for the article title */
    font-size: 1.2em;        /* Slightly larger font size */
}

/* Optional: Add a subtle box shadow to the list item */
li[itemtype="https://schema.org/Article"]:hover {
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); /* Soft shadow effect */
}


.page-header {
    margin: 2rem 0;
    padding: 1rem 0;
    border-bottom: 2px solid #ddd;
    font-family: var(--bs-body-font-family, sans-serif);
}

.page-header h1 {
    font-size: 2rem;
    font-weight: 600;
    margin: 0;
    color: var(--bs-heading-color, #222);
    line-height: 1.2;
}

.page-header small {
    display: block;
    font-size: 0.875rem;
    color: #888;
    margin-top: 0.5rem;
}


/* General Pagination Container */
.pagination {
    display: flex;
    justify-content: center;
    padding: 1rem 0;
    margin: 2rem 0;
    list-style: none;
    border-radius: 0.375rem;
}

/* Pagination Items */
.page-item {
    margin: 0 0.25rem;
}

.page-item .page-link {
    display: block;
    padding: 0.5rem 0.75rem;
    color: #0d6efd;
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    transition: background-color 0.2s ease;
    text-decoration: none;
}

.page-item .page-link:hover {
    background-color: #e9ecef;
    color: #0a58ca;
}

/* Active Page */
.page-item.active .page-link {
    z-index: 3;
    color: #fff;
    background-color: #0d6efd;
    border-color: #0d6efd;
}

/* Disabled Page (first/last/prev/next when inactive) */
.page-item.disabled .page-link {
    color: #6c757d;
    pointer-events: none;
    background-color: #fff;
    border-color: #dee2e6;
}

/* Previous and Next Buttons */
.page-item.previous .page-link::before {
    content: "« ";
}

.page-item.next .page-link::after {
    content: " »";
}

/* Style for the article preview container */
.item-content {
    font-family: 'Arial', sans-serif; /* Use a clean, sans-serif font for better readability */
    background-color: #f8f8f8; /* Light background for contrast */
    border-radius: 8px; /* Round the corners */
    padding: 20px; /* Add padding around the content */
    margin-bottom: 30px; /* Space between article previews */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

/* Title Styling */
.item-title {
    font-size: 1.75rem; /* Larger title size */
    font-weight: bold; /* Make title bold */
    margin-bottom: 15px; /* Space below the title */
    color: #333; /* Dark text for readability */
}

.item-title a {
    text-decoration: none; /* Remove underline from title link */
    color: #0066cc; /* Blue color for title link */
}

.item-title a:hover {
    color: #004999; /* Darker blue on hover */
}

/* Image Styling */
.item-content img {
    width: 100%; /* Ensure images are responsive */
    height: auto;
    border-radius: 5px; /* Rounded corners on images */
    margin-bottom: 15px; /* Space below images */
}

/* Styling the paragraph text */
.item-content p {
    font-size: 1rem; /* Standard font size */
    line-height: 1.8; /* Increased line-height for readability */
    color: #666; /* Lighter text color for paragraph */
    margin-bottom: 15px; /* Space between paragraphs */
}

/* Styling for the caption (image title) */
.caption {
    font-size: 0.9rem;
    color: #333;
    display: block;
    margin-top: 8px;
    text-align: center; /* Center align the caption under images */
    font-style: italic;
}

/* Read more button */
.readmore {
    margin-top: 20px; /* Space above the button */
}

.readmore .btn {
    background-color: #0066cc; /* Blue background for button */
    color: white; /* White text */
    padding: 10px 20px; /* Padding inside the button */
    text-decoration: none; /* Remove underline */
    font-weight: bold;
    border-radius: 5px; /* Rounded corners */
    display: inline-flex;
    align-items: center;
}

.readmore .btn:hover {
    background-color: #005bb5; /* Darker blue on hover */
}

.readmore .icon-chevron-right {
    margin-left: 8px; /* Add space between text and icon */
}





/* General Content Styling */
.com-content-article__body {
    font-family: 'Arial', sans-serif;
    line-height: 1.8; /* Increased line height for better readability */
    color: #333;
    background-color: #ffffff;
    max-width: 1000px;
    margin: 20px auto;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Page Navigation Counter Styling */
.pagenavcounter {
    font-size: 18px;
    font-weight: bold;
    color: #555;
    text-align: center;
    margin-bottom: 15px;
}

/* Image Styling */
.com-content-article__body img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Emphasized Text Styling */
.com-content-article__body em {
    font-style: italic;
    color: #666;
    display: block;
    margin: 20px 0;
    text-align: center;
}

/* Paragraph Styling */
.com-content-article__body p {
    font-size: 16px;
    line-height: 1.8;
    text-align: justify;
    margin-bottom: 20px;
    color: #444;
}

/* Heading 1 (Article Title) Styling */
.com-content-article__body h1 {
    font-size: 28px;
    color: #222;
    margin-top: 30px;
    margin-bottom: 15px;
    border-bottom: 2px solid #ddd;
    padding-bottom: 10px;
}

/* Heading 2 Styling */
.com-content-article__body h2 {
    font-size: 24px;
    color: #333;
    margin-top: 25px;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
}

/* Heading 3 Styling */
.com-content-article__body h3 {
    font-size: 20px;
    color: #444;
    margin-top: 20px;
    margin-bottom: 12px;
}

/* Lists Styling */
.com-content-article__body ul {
    list-style-type: disc;
    margin-left: 40px;
    margin-bottom: 20px;
}

.com-content-article__body li {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 10px;
}

/* Superscript and Subscript Styling */
.com-content-article__body sup,
.com-content-article__body sub {
    font-size: 14px;
    color: #777;
}

/* Pagination Styling */
/* General pagination styling */
.pager .pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style-type: none;
    padding: 0;
    margin: 20px 0;
}

/* Styling for each page item (previous/next buttons) */
.pager .pagination .page-item {
    margin: 0 10px;
}

/* Styling for the page link */
.pager .pagination .page-link {
    display: inline-flex;
    align-items: center;
    padding: 10px 15px;
    font-size: 16px;
    font-weight: bold;
    color: #007bff; /* Blue color */
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Hover effect for the page link */
.pager .pagination .page-link:hover {
    background-color: #007bff;
    color: #fff;
}

/* Disabled state styling for the page items (previous/next) */
.pager .pagination .page-item.disabled .page-link {
    color: #ccc;
    pointer-events: none;
    background-color: #f8f9fa;
    border-color: #ddd;
}

/* Style for previous/next icons */
.pager .pagination .icon-chevron-left,
.pager .pagination .icon-chevron-right {
    font-size: 18px;
    margin-right: 5px;
}

/* Optional: Adjustments for accessibility when page items are disabled */
.pager .pagination .page-item.disabled .page-link span {
    visibility: hidden;
}


/* Address Styling */
.com-content-article__body address {
    font-style: italic;
    color: #777;
    text-align: center;
    margin-top: 30px;
}

/* Table Styling */
.com-content-article__body table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    margin-bottom: 20px;
}

.com-content-article__body table, 
.com-content-article__body th, 
.com-content-article__body td {
    border: 1px solid #ddd;
}

.com-content-article__body th, 
.com-content-article__body td {
    padding: 12px;
    text-align: left;
    font-size: 16px;
}

.com-content-article__body th {
    background-color: #f4f4f4;
    font-weight: bold;
}

.com-content-article__body tr:nth-child(even) {
    background-color: #f9f9f9;
}

.com-content-article__body tr:hover {
    background-color: #f1f1f1;
}

/* Responsive Table Styling */
@media (max-width: 768px) {
    .com-content-article__body {
        padding: 15px;
    }

    .pagination .page-link {
        padding: 8px 16px;
    }

    .com-content-article__body h1 {
        font-size: 24px;
    }

    .com-content-article__body h2 {
        font-size: 20px;
    }

    .com-content-article__body h3 {
        font-size: 18px;
    }

    .com-content-article__body table {
        font-size: 14px;
    }
}
