#article-collection {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: calc(var(--gap-gutter-y) * var(--screen-scale)) 0;
}

    #article-collection .article-grid {
        display: flex;
        gap: calc(3.75rem * var(--screen-scale));
        flex-direction: column;
        align-items: flex-start;
    }

        #article-collection .article-grid .article {
            display: flex;
            gap: calc(1.5rem * var(--screen-scale));
            flex-direction: column;
            align-items: center;
        }

            #article-collection .article-grid .article .thumbnail {
                border-radius: calc(1.625rem * var(--screen-scale));
                box-shadow: 0px 4px 9.4px 0px rgba(0, 0, 0, 0.25);
                height: calc(30rem * var(--screen-scale));
                overflow: hidden
            }

                #article-collection .article-grid .article .thumbnail img {
                    object-fit: cover;
                    object-position: center;
                }

            #article-collection .article-grid .article a:not(.read-more) {
                color: var(--text-color) !important;
            }

            #article-collection .article-grid .article .create-information {
                display: flex;
                align-items: flex-start;
                gap: calc(1.5rem * var(--screen-scale));
            }

            #article-collection .article-grid .article .read-more {
                padding: calc(1rem * var(--screen-scale)) calc(1.5rem * var(--screen-scale));
                border-radius: 0.5rem;
                background-color: var(--accent-red);
            }

.search-category {
    display: flex;
    gap: calc(5rem * var(--screen-scale));
    flex-direction: column;
    align-items: center;
}

#search-category-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: calc(4rem * var(--screen-scale));
}

    #search-category-section .search-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: calc(1.5rem * var(--screen-scale));
    }

    #search-category-section .newest-article-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: calc(1.5rem * var(--screen-scale));
    }

        #search-category-section .newest-article-section .newest-article-grid {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: calc(1.5rem * var(--screen-scale));
        }

            #search-category-section .newest-article-section .newest-article-grid .article-record {
                display: flex;
                gap: calc(1.5rem * var(--screen-scale));
            }

            #search-category-section .newest-article-section .newest-article-grid .small-thumbnail {
                border-radius: 0.5rem;
                box-shadow: 0px 4px 9.4px 0px rgba(0, 0, 0, 0.25);
            }

            #search-category-section .newest-article-section .newest-article-grid img {
                border-radius: 0.5rem;
                display: flex;
                align-items: center;
                gap: calc(1.5rem * var(--screen-scale));
                width: calc(12.5rem * var(--screen-scale));
                height: calc(7.5rem * var(--screen-scale));
                object-fit: cover;
                object-position: center;
            }

    #search-category-section .article-categories {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: calc(1.5rem * var(--screen-scale));
    }

        #search-category-section .article-categories .category-grid {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        #search-category-section .article-categories .category {
            display: flex;
            width: fit-content;
            padding: 1rem 1.5rem;
            align-items: center;
            border-radius: 0.25rem;
            background: var(--secondary-color-light);
        }

.search-container {
    position: relative;
    width: 100%; /* Adjust width as needed */
    height: 40px; /* Adjust height as needed */
    border: 1px solid #ddd;
    border-radius: 8px; /* Slightly rounded corners */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); /* Subtle shadow */
    display: flex;
    align-items: center;
    background-color: #fff;
    overflow: hidden; /* Ensures content stays within rounded corners */
}

.search-icon {
    position: absolute;
    left: 15px; /* Spacing from the left edge */
    color: #888; /* Grey color for the icon */
    font-size: 16px; /* Size of the search icon */
}

.search-input {
    width: 100%;
    height: 100%;
    padding: 0 15px 0 45px; /* Left padding for icon, right padding for text */
    border: none;
    outline: none; /* Remove default focus outline */
    font-size: 16px;
    color: #333; /* Darker text color */
    background-color: transparent; /* Make background transparent to show container's background */
}

    .search-input::placeholder {
        color: #999; /* Grey color for placeholder text */
        font-weight: 400; /* Normal font weight for placeholder */
    }

    /* Optional: Style for when the input is focused */
    .search-input:focus {
        /* You could add a subtle border color change or a stronger shadow */
        /* border-color: #007bff; */
        /* box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25); */
    }

.article-content img {
    border-radius: 1.625rem;
    box-shadow: 0px 4px 9.4px 0px rgba(0, 0, 0, 0.25);
}

.article-category {
    display: flex;
    width: fit-content;
    padding: 0.5rem 0.75rem;
    align-items: center;
    border-radius: 0.25rem;
    background: var(--secondary-color-light);
}

.article-category-group {
    gap: 0.5rem;
    display: flex;
    width: 100%;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--secondary-color);
}

#article-collection .article-grid.article-details {
    gap: 0;
}

.back-navigation {
    padding-top: 1.5rem;
}
