html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 6px;
}

.hero-section {
    background-image: url('/img/1820a0b6-2d4e-4aaa-9f30-998c0430e5b0.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 75vh;
    transition: filter 0.3s ease;
}

.magazine-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.magazine-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.magazine-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .magazine-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .magazine-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.magazine-card {
    background-color: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

    .magazine-card:hover {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

.magazine-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
}

.magazine-card-body {
    padding: 1rem;
}

.magazine-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.magazine-card-date {
    font-size: 0.875rem;
    color: #6c757d;
    margin-bottom: 0.75rem;
}

.magazine-card-summary {
    font-size: 1rem;
    color: #333;
}
.magazine-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}
/*el teniente quiere #1830a6 de color */

/*Modificaciones 09/06/25*/
:root {
    /*Definimos variables*/
    --main-blue: #478BDF; /*color original COAMAS*/
    --main-white: #f8f9fa;
}

body {
    padding-top: 70px;
    background-color: var(--main-white);
}

.navbar {
    background-color: var(--main-blue);
}

.navbar-brand, .nav-link {
    color: white !important;
}

.carousel-caption {
    background: rgba(0, 0, 0, 0.6);
    padding: 1rem;
    border-radius: 10px;
}

.card-square {
    aspect-ratio: 1 / 1;
}

.card-horizontal {
    display: flex;
    flex-direction: row;
    gap: 15px;
}

    .card-horizontal img {
        width: 40%;
        object-fit: cover;
    }

footer {
    background-color: var(--main-blue);
    color: white;
    padding: 2rem 0;
    text-align: center;
}

    footer a {
        color: #d1e7ff;
        text-decoration: none;
    }

        footer a:hover {
            text-decoration: underline;
        }

.navbar-nav .nav-link {
    transition: text-shadow 0.3s ease;
}

.nav-link:focus, .nav-link:hover, .nav-link:active {
    text-shadow: 1px 0 0 #FFF;
}

.nav-item.active .nav-link {
    text-shadow: 1px 0 0 #FFF;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

.wrapper {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    margin-top: 80px;
}

.content {
    flex: 1;
}
