﻿NavLink,
a,
a:visited,
a:active,
a:focus,
a:hover,
.nav-link,
.nav-link:visited,
.nav-link:active,
.nav-link:focus,
.nav-link:hover {
    text-decoration: none !important;
}

img {
    width: 100%;
    height: 100%; /* or any preferred height */
    object-fit: cover; /* ensures the image covers the area without distortion */
    border-radius: 10px 10px 0 0; /* rounded top corners only, optional */
    border-bottom: 1.5px solid #cccccc; /* optional: visual separation */
    display: block;
    margin: 0;
    border-radius: 10px;
}

.category-image-container {
    aspect-ratio: 5 / 3;
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
    background: #f8f8f8;
    display: block;
    position: relative;
}

.category-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 10px;
}

.search-result {
    border: 1.5px solid #cccccc;
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    height: 100%; /* Ensures the card fills the column */
    display: flex;
    flex-direction: column;
}

.keyword-float-image {
    float: left;
    margin: 0 1rem 1rem 0;
    width: 220px; /* Adjust as needed */
    aspect-ratio: 5 / 3;
    object-fit: cover;
    border-radius: 10px;
    background: #f8f8f8;
    display: block;
}

.keyword-description {
    overflow: hidden; /* Ensures text wraps nicely around floated image */
}

.keyword-details-image {
    max-width: 600px;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    display: block;
    margin: 0 auto 1rem auto; /* Center the image horizontally */
}

.home-content:has(.btn) {
    background: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
}

