/* static/css/things.css */
/*
 * Body padding for fixed navbar is handled globally via CSS custom properties
 * in base.html (--ecpt-content-offset). Do not override here.
 */

/* Text formatting */
.formatted-text {
    line-height: 1.6;
    padding: 15px;
    text-align: justify;
}

/* List formatting */
.formatted-list li {
    margin-bottom: 10px;
}

/* Button group at the top */
.btn-group-top {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    justify-content: flex-end;
}

/* Button hover effect */
.btn:hover {
    opacity: 0.9;
    transition: opacity 0.2s;
}

/* Content section spacing */
.content-section {
    margin-top: 20px;
}

/* Ensure card images are responsive */
.card-img-top {
    object-fit: cover;
    height: 200px;
}

/* Style for cookie consent banner */
#cookieConsent {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 20px;
    text-align: center;
    z-index: 1000;
}

/* Utility class to hide elements */
.d-none {
    display: none !important;
}
/* General Styles */
.hero-section {
    background: #ffffff;
    color: #343a40;
    padding: 20px 0;
    text-align: center;
}

.intro-text {
    max-width: 1000px;
    margin: 20px auto;
    font-size: 1.25rem;
    color: #555;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: justify;
}

.intro-text b {
    font-weight: bold;
    color: #007bff;
}

.section {
    padding: 30px 0;
}

.section-light {
    background-color: #f8f9fa;
}

.section-dark {
    background-color: #343a40;
    color: white;
}

.card-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.card-grid .card {
    flex: 1 1 calc(33.333% - 10px);
    margin-bottom: 10px;
}

.section-title {
    margin-bottom: 20px;
    text-align: center;
}

.hover-effect:hover {
    text-decoration: underline;
}

.two-column-section .card {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.two-column-section .card img {
    width: 150px;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
}

.card img {
    transition: transform 0.3s ease;
}

.card img:hover {
    transform: scale(1.05);
}

.centered-image {
    width: 50%;
    display: block;
    margin: auto;
}
