/* Blog Page Specific Styles - New Design (Material Design Inspired) */

:root {
    --blog-primary-color: var(--g-blog-accent, #007bff); /* Keep original primary for other elements if needed */
    --blog-primary-hover-color: var(--g-blog-accent-hover, #0056b3); /* Keep original hover for other elements if needed */
    --blog-text-color: #333;
    --blog-text-muted-color: #6c757d;
    --blog-border-color: #e0e0e0;
    --blog-card-bg: #fff; /* White background for the sidebar */
    --blog-body-bg: #f8f9fa;
    --blog-font-size-small: 0.8rem; /* For meta and tags */
    --blog-card-max-width: 700px; /* Narrower width like Facebook posts */
    --blog-sidebar-width: 280px; /* Slightly increased sidebar width for better readability */

    /* Added variables from article.css for consistency */
    --article-primary-color: var(--g-blog-accent, #007bff);
    --article-primary-hover-color: var(--g-blog-accent-hover, #0056b3);
    --article-text-color: #212529;
    --article-text-muted-color: #6c757d;
    --article-background-color: #ffffff;
    --article-page-background-color: #f4f6f8;
    --article-border-color: #dee2e6;
    --article-tag-background-color: #e9ecef;
    --article-tag-text-color: #495057;
    --article-font-size-base: 1rem;
    --article-font-size-lg: 1.25rem;
    --article-font-size-sm: 0.875rem;
    --article-font-size-xs: 0.75rem;
    --article-line-height-base: 1.65;
    --article-border-radius: 0.3rem;
    --article-box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);

    /* Green accent colors for sidebar (Material-like palette) */
    --blog-accent-green-500: var(--g-action, #4caf50); /* Primary green */
    --blog-accent-green-700: var(--g-action-hover, #388e3c); /* Darker green for hover/active */
    --blog-accent-green-100: #E8F5E9; /* Very light green for active background */
    --blog-accent-green-50: #F1F8E9; /* Even lighter green */

    /* Active state colors - using dark green for text */
    --blog-active-text-color: var(--blog-accent-green-700); /* Dark green text for active items */

    /* Hover state color */
    --blog-hover-bg: var(--blog-accent-green-50); /* Very light green on hover */
}

body {
    background-color: var(--blog-body-bg);
}

.blog-container {
    max-width: 1200px; /* Increased max-width to accommodate sidebar */
    margin: 3rem auto;
    padding: 0 1rem;
}

.blog-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline; /* Changed from center for better text alignment */
    margin-bottom: 2.5rem; /* Adjusted */
    flex-wrap: wrap;
    gap: 1rem;
    border-bottom: 1px solid var(--blog-border-color); /* Added */
    padding-bottom: 1.5rem; /* Added */
    /* max-width removed to span full container width */
    margin-left: 0; /* Removed centering margin */
    margin-right: 0; /* Removed centering margin */
}

.page-title {
    margin: 0;
    font-size: 2.5rem;
    color: var(--blog-text-color);
    font-weight: 600;
    text-align: left;
    flex-grow: 1;
}

/* Language Switcher Styles from article.css */
.language-switcher {
    position: relative;
    margin-bottom: 0; /* Ensure no extra margin */
    text-align: right; /* Keep right alignment in header */
    flex-shrink: 0;
}

.language-switcher label.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.language-switcher select {
    padding: 0.4em 2em 0.4em 0.6em; /* Adjusted padding */
    font-size: var(--article-font-size-sm); /* Use article font size */
    border: 1px solid var(--article-border-color); /* Use article border color */
    border-radius: var(--article-border-radius); /* Use article border radius */
    background-color: var(--article-background-color); /* Use article background color */
    color: var(--article-text-color); /* Use article text color */
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23333333' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3E%3C/svg%3E"); /* Use article SVG */
    background-repeat: no-repeat;
    background-position: right 0.5em center; /* Adjusted position */
    background-size: 0.8em; /* Adjusted size */
    line-height: 1.3; /* Adjusted line height */
    transition: border-color 0.2s ease;
    min-width: auto; /* Remove min-width */
}

.language-switcher select:hover {
    border-color: var(--article-primary-color); /* Use article primary color */
}

.language-switcher select:focus {
    outline: none;
    border-color: var(--article-primary-hover-color); /* Use article hover color */
    box-shadow: 0 0 0 0.2rem rgba(var(--article-primary-color), 0.25); /* Use article primary color */
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Blog Layout with Sidebar */
.blog-layout {
    display: flex;
    gap: 2rem; /* Gap between sidebar and main content */
}

.blog-sidebar {
    width: var(--blog-sidebar-width);
    flex-shrink: 0; /* Prevent sidebar from shrinking */
    background-color: var(--blog-card-bg); /* White background */
    border: 1px solid var(--blog-border-color);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08); /* Increased shadow for Material feel */
    align-self: flex-start; /* Align sidebar to the top */
}

.sidebar-section {
    margin-bottom: 1.5rem; /* Reduced margin bottom for sections */
    padding-bottom: 1.5rem; /* Added padding bottom */
    border-bottom: 1px solid var(--blog-border-color); /* Added border bottom */
}

.sidebar-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}


/* Removed sidebar-title styles */
/*
.sidebar-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--blog-text-color);
    margin-top: 0;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--blog-border-color);
}
*/

.sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-list li {
    margin-bottom: 0.5rem; /* Adjusted margin bottom for list items */
    border-radius: 4px; /* Add border-radius for background */
    transition: background-color 0.2s ease;
}

.sidebar-list a {
    text-decoration: none;
    color: var(--blog-text-color);
    transition: color 0.2s ease, background-color 0.2s ease; /* Add background transition */
    font-size: 1rem; /* Slightly increased font size for main links */
    display: block; /* Make links block for better click area */
    padding: 0.4rem 0.6rem; /* Reverted padding */
    margin: 0 -0.6rem; /* Reverted margin */
}

.sidebar-list a:hover {
    color: var(--blog-text-color); /* Keep text color on hover */
    background-color: var(--blog-hover-bg); /* Light green background on hover */
    text-decoration: none; /* Remove underline on hover */
}

/* Collapsible Menu Styles */
.sidebar-categories .has-submenu > a {
    position: relative;
    padding-right: 1.5rem; /* Reverted space for the arrow */
    cursor: pointer; /* Indicate clickable */
    font-weight: 600; /* Make parent categories bold */
}

.sidebar-categories .has-submenu > a::after {
    content: '\25B6'; /* Right-pointing triangle */
    position: absolute;
    right: 0.6rem; /* Align arrow with padding */
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
    font-size: 0.7rem; /* Smaller arrow */
    color: var(--blog-text-muted-color); /* Muted color for arrow */
}

.sidebar-categories .has-submenu.open > a::after {
    transform: translateY(-50%) rotate(90deg); /* Rotate arrow when open */
}

.sidebar-submenu { /* Styles for nested subcategory list */
    list-style: none;
    padding-left: 1.2rem; /* Reverted indent subcategories */
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    overflow: hidden; /* Hide content when collapsed */
    max-height: 0; /* Start collapsed */
    transition: max-height 0.3s ease-in-out; /* Smooth transition */
    border-left: 2px solid var(--blog-border-color); /* Visual indicator for submenu */
}

.sidebar-submenu.open {
    max-height: 500px; /* Sufficient height to show content (adjust if needed) */
}

.sidebar-submenu li {
    margin-bottom: 0.5rem; /* Adjusted margin bottom for subcategory items */
    border-radius: 4px; /* Add border-radius for background */
    transition: background-color 0.2s ease;
}

.sidebar-submenu a {
    font-size: 0.9rem; /* Slightly smaller font for subcategories */
    color: var(--blog-text-muted-color); /* Muted color for subcategories */
    padding: 0.2rem 0.6rem; /* Reverted padding */
    margin: 0 -0.6rem; /* Reverted margin */
}

.sidebar-submenu a:hover {
    color: var(--blog-text-color); /* Darker text on hover */
    background-color: var(--blog-hover-bg); /* Light green background on hover */
    text-decoration: none; /* Remove underline on hover */
}

/* Active state for sidebar list items and links */
.sidebar-list li.active {
    background-color: transparent; /* Remove background for active item */
}

.sidebar-list li.active > a {
    background-color: transparent; /* Remove background for active item */
    color: var(--blog-accent-green-700); /* Dark green text for active item */
    font-weight: 600;
    border-radius: 0; /* Remove border-radius */
    padding: 0.4rem 0.6rem; /* Revert to original padding */
    margin: 0 -0.6rem; /* Revert to original margin */
}

.sidebar-submenu li.active {
     background-color: transparent; /* Remove background for active subitem */
}

.sidebar-submenu li.active > a {
    background-color: transparent; /* Remove background for active subitem */
    color: var(--blog-accent-green-700); /* Dark green text for active subitem */
    font-weight: 600;
    border-radius: 0; /* Remove border-radius */
    padding: 0.2rem 0.6rem; /* Revert to original padding */
    margin: 0 -0.6rem; /* Revert to original margin */
}


.sidebar-tags .sidebar-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.sidebar-tags .sidebar-list li {
    margin-bottom: 0; /* Remove bottom margin for tags */
    background-color: transparent; /* Ensure no background on tags li */
}


/* Chip styles for sidebar tags (Attempt 3 - write_to_file with !important) */
ul.sidebar-list.sidebar-tags li a.article-tag-item {
    display: inline-flex !important; /* Override .sidebar-list a display:block */
    align-items: center;
    background-color: rgba(56, 142, 60, 0.7) !important;
    color: #ffffff !important;
    padding: 0.3em 0.7em !important; /* Override .sidebar-list a padding */
    margin: 0 !important; /* Override .sidebar-list a margin */
    border: 1px solid rgba(56, 142, 60, 0.7) !important;
    border-radius: 16px !important; /* Rounded corners for chip */
    font-size: var(--article-font-size-xs) !important; /* Override .sidebar-list a font-size */
    line-height: 1.4 !important;
    font-weight: normal !important; /* Reset font-weight from .sidebar-list a or active states */
    white-space: nowrap;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

ul.sidebar-list.sidebar-tags li a.article-tag-item:hover {
    background-color: rgba(56, 142, 60, 0.9) !important;
    border-color: rgba(56, 142, 60, 0.9) !important;
    color: #ffffff !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    text-decoration: none !important;
}

ul.sidebar-list.sidebar-tags li.active a.article-tag-item {
    background-color: var(--blog-accent-green-700) !important;
    color: #ffffff !important;
    border-color: var(--blog-accent-green-700) !important;
    font-weight: 600 !important;
    /* Other properties like padding, margin, display, border-radius are inherited or set by the base rule above */
}
/* Main content area for blog posts, category, subcategory, tag pages */
.blog-main-content-area,
.article-main-content-area,
.category-main-content-area,
.subcategory-main-content-area,
.tag-main-content-area {
    flex-grow: 1; /* Allow main content to take remaining space */
}


/* Articles Grid Layout */
.articles-grid {
    display: grid;
    grid-template-columns: 1fr; /* Single column for articles */
    gap: 2.5rem; /* Gap between article cards */
    margin-top: 0; /* Removed top margin as it's inside blog-layout */
    /* justify-items: center; /* Removed centering as it's not needed with flex-grow */
}

.article-card {
    background-color: var(--blog-card-bg);
    border: 1px solid var(--blog-border-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    display: flex; /* Use flexbox for horizontal layout */
    flex-direction: row; /* Arrange items in a row */
    max-width: 100%; /* Allow card to take full width of its container */
    width: 100%;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
    padding: 1rem;
    gap: 1.5rem; /* Gap between text content and image */
}

.article-card:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    border-color: #cdddee;
}

.article-card__content { /* New wrapper for text content */
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Allow content to take available space */
}


/* Meta information: Category / Subcategory (Styles from article.css) */
.article-meta-inline {
    font-size: var(--article-font-size-sm); /* Use article font size */
    color: var(--article-text-muted-color); /* Use article muted text color */
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.8rem; /* row-gap column-gap */
    padding: 0; /* Remove padding */
    margin-bottom: 0.75rem; /* Keep blog margin */
}

.article-meta-item {
    /* Base styling for all meta items */
}

.article-meta-inline a,
.article-meta-inline .article-subcategory-name {
    color: var(--article-text-muted-color); /* Use article muted text color */
    text-decoration: none;
}

.article-meta-inline a:hover {
    color: var(--article-primary-color); /* Use article primary color */
    text-decoration: underline;
}

/* Title */
.article-card__title {
    font-size: 1.6rem; /* Slightly larger title */
    margin: 0 0 0.75rem 0; /* Relies on card padding for LR */
    color: var(--blog-text-color);
    font-weight: 600;
    line-height: 1.3;
}

.article-card__title a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

.article-card__title a:hover {
    color: var(--blog-primary-hover-color);
    text-decoration: none;
}

/* Excerpt */
.article-card__excerpt {
    font-size: 0.95rem;
    color: var(--blog-text-muted-color);
    line-height: 1.6;
    margin: 0 0 1rem 0; /* Relies on card padding for LR */
    /* Limit lines shown using line-clamp */
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Show max 3 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.article-card__excerpt-link {
    text-decoration: none;
    color: inherit;
}
.article-card__excerpt-link:hover p {
    color: var(--blog-text-color); /* Slightly darken excerpt text on hover */
}
.article-card__excerpt p {
    margin: 0;
    padding: 0;
}


/* Image Wrapper for Aspect Ratio */
.article-card__image-wrapper {
    width: 40%; /* Allocate 40% width to the image */
    flex-shrink: 0; /* Prevent image from shrinking */
    margin: 0; /* Remove negative margins */
    position: relative;
    overflow: hidden;
    background-color: #f0f0f0; /* Placeholder background */
    border-radius: 8px; /* Add border-radius to image wrapper */
}

/* 16:9 Aspect Ratio using padding-bottom trick */
.article-card__image-wrapper::before {
    content: "";
    display: block;
    padding-top: 56.25%; /* 9 / 16 * 100% */
}

.article-card__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the area, will crop to 16:9 */
    display: block;
    transition: transform 0.3s ease;
}

.article-card__image-wrapper a:hover .article-card__image {
    transform: scale(1.03); /* Subtle zoom on image hover */
}


/* Tags (Styles from article.css) */
.article-tags-wrapper {
    margin-top: auto; /* Push tags to the bottom */
    flex-shrink: 0;
    padding: 0.5rem 0 0 0;
    margin: 0;
    font-size: var(--article-font-size-small);
    color: var(--article-text-muted-color);
    line-height: 1.5;
}

.article-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0;
    list-style: none;
    margin: 0;
}

/* Removed specific tag item background/color to use general tag styles */
/*
.article-tag-item {
    display: inline-flex;
    align-items: center;
    background-color: var(--g-action, #4caf50) !important;
    color: #ffffff !important;
    padding: 0.3em 0.7em;
    border: 1px solid var(--g-action, #4caf50);
    border-radius: 16px;
    text-decoration: none;
    font-size: var(--article-font-size-xs);
    line-height: 1.4;
    white-space: nowrap;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}

.article-tag-item:hover {
    background-color: var(--g-action-hover, #388e3c);
    border-color: var(--g-action-hover, #388e3c);
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
    text-decoration: none;
}
*/

/* Apply chip styles to article tags */
.article-tags-list a {
    display: inline-flex;
    align-items: center;
    background-color: rgba(56, 142, 60, 0.7); /* Dark green with 70% opacity */
    color: #ffffff; /* White text for contrast */
    padding: 0.3em 0.7em;
    border: 1px solid rgba(56, 142, 60, 0.7); /* Dark green with 70% opacity */
    border-radius: 16px;
    text-decoration: none;
    font-size: var(--article-font-size-xs);
    line-height: 1.4;
    white-space: nowrap;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.article-tags-list a:hover {
    background-color: rgba(56, 142, 60, 0.9); /* Slightly less transparent on hover */
    border-color: rgba(56, 142, 60, 0.9);
    color: #ffffff; /* Keep text white on hover */
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    text-decoration: none;
}

.article-tags-list li.active a {
    background-color: var(--blog-accent-green-700); /* Solid dark green for active tag */
    color: #ffffff; /* White text for active tag */
    border-color: var(--blog-accent-green-700); /* Solid dark green border */
    font-weight: 600;
}


/* Message for no articles */
.no-articles-message {
    text-align: center;
    color: #555;
    font-size: 1.15rem;
    padding: 3rem 1.5rem;
    background-color: #fdfdfd;
    border: 1px solid #e9e9e9;
    border-radius: 8px;
    margin-top: 2.5rem;
    max-width: var(--blog-card-max-width);
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}


/* --- Pagination Styles --- */
.pagination {
    margin-top: 4rem;
    display: flex;
    justify-content: center;
}

.pagination__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 0.6rem;
    align-items: center;
}

.pagination__item {
    /* Styles for individual list items (optional) */
}

.pagination__link {
    display: block;
    padding: 0.6rem 1rem;
    text-decoration: none;
    color: var(--blog-primary-color);
    background-color: var(--blog-card-bg);
    border: 1px solid var(--blog-border-color);
    border-radius: 4px;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    min-width: 40px;
    text-align: center;
    font-size: 0.95rem;
}

.pagination__link:hover {
    background-color: #e9ecef;
    border-color: #adb5bd;
    color: var(--blog-primary-hover-color);
}

.pagination__item--current .pagination__link {
    background-color: var(--blog-primary-color);
    color: #fff;
    border-color: var(--blog-primary-color);
    font-weight: 600;
    cursor: default;
}

.pagination__item--prev .pagination__link,
.pagination__item--next .pagination__link {
    font-weight: 500;
}

.pagination__item--disabled .pagination__link {
    color: #adb5bd;
    pointer-events: none;
    background-color: #f8f9fa;
    border-color: var(--blog-border-color);
}


/* Responsive adjustments */
@media (max-width: 992px) { /* Adjust breakpoint for sidebar */
    .blog-layout {
        flex-direction: column; /* Stack sidebar and content vertically */
        gap: 2.5rem; /* Adjust gap for vertical stacking */
    }

    .blog-sidebar {
        width: 100%; /* Full width when stacked */
        padding: 1rem; /* Adjust padding */
    }

    .articles-grid {
        margin-top: 0; /* Remove margin */
    }

    .blog-header {
        /* max-width will still be var(--blog-card-max-width) inherited */
        margin-left: auto; /* Added for centering */
        margin-right: auto; /* Added for centering */
        max-width: var(--blog-card-max-width);
    }

    .no-articles-message {
         margin-top: 0; /* Remove margin */
    }
}


@media (max-width: 768px) {
    .blog-container {
        margin-top: 2rem;
        margin-bottom: 2rem;
    }
    .blog-header {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 2rem; /* Adjusted */
        padding-bottom: 1rem; /* Adjusted */
        /* max-width will still be var(--blog-card-max-width) inherited */
    }
    .page-title {
        font-size: 2rem;
        margin-bottom: 0.75rem; /* Added */
    }
    .language-switcher {
        align-self: flex-start;
        max-width: 200px; /* Added */
        width: 100%; /* Added */
    }
    .article-card { /* Stack vertically on smaller screens */
        flex-direction: column;
        gap: 1rem; /* Adjust gap for vertical stacking */
    }
    .article-card__content {
        flex-grow: 0; /* Remove flex-grow when stacked */
    }
    .article-card__image-wrapper {
        width: 100%; /* Full width when stacked */
        margin: 0; /* Remove margins */
        border-radius: 8px 8px 0 0; /* Adjust border-radius for top */
    }
    .article-card__title {
        font-size: 1.4rem;
    }
    .article-card__excerpt {
        font-size: 0.9rem;
        -webkit-line-clamp: 2;
    }
    .articles-grid {
        gap: 2rem;
    }
    .pagination {
        margin-top: 3rem;
    }

    /* Responsive adjustments for meta and tags from article.css */
    .article-meta-inline {
        font-size: var(--article-font-size-xs);
        width: 100%;
    }

    .article-tags-wrapper .article-tags-list .article-tag-item {
        font-size: var(--article-font-size-xs);
        padding: 0.3em 0.6em; /* Adjusted padding for smaller screens */
    }
}


@media (max-width: 600px) {
    /* .articles-grid can remain single column, centered by justify-items */
    /* .article-card max-width will ensure it doesn't get too wide */

    .article-card {
        padding: 0.75rem; /* Reduced padding for smaller screens */
        gap: 0.75rem; /* Adjust gap */
    }

    .article-meta-inline { /* Adjusted for card padding */
        padding: 0;
        margin-bottom: 0.5rem; /* Smaller margin for mobile */
        gap: 0.3rem 0.6rem;
    }

    .article-card__title {
        font-size: 1.3rem;
        margin: 0 0 0.5rem 0; /* Smaller margin for mobile */
    }
    .article-card__excerpt {
        font-size: 0.9rem;
        -webkit-line-clamp: 3; /* Allow a bit more on mobile */
        margin: 0 0 0.75rem 0; /* Smaller margin for mobile */
    }
    .article-card__image-wrapper {
        margin: 0; /* Remove margins */
        border-radius: 8px 8px 0 0; /* Adjust border-radius */
    }
    .article-tags-wrapper { /* Adjusted for card padding */
        padding: 0.25rem 0 0 0; /* Smaller top padding for mobile */
        margin: 0;
    }

    .pagination__link {
        padding: 0.5rem 0.8rem;
    }
    .pagination__list {
        gap: 0.3rem;
        flex-wrap: wrap;
        justify-content: center;
    }
}
.page-title a {
    color: var(--g-action-hover, #388e3c); /* Dark green color */
    text-decoration: none; /* Remove underline */
}