/* Global Styles */
:root {
    --bs-primary: #1a939b;
    --bs-primary-rgb: 26, 147, 155;
    --bs-secondary: #15565a;
    --bs-secondary-rgb: 21, 86, 90;
    --bs-tertiary: #633f2b;
    --bs-tertiary-rgb: 99, 63, 43;
}

body {
    font-family: 'Raleway', sans-serif;
    color: #212529;
    background-color: #f8f9fa;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

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

a:hover {
    color: var(--bs-secondary);
}

/* Primary Color Overrides */
.text-primary {
    color: var(--bs-primary) !important;
}

.bg-primary {
    background-color: var(--bs-primary) !important;
}

.btn-primary {
    background-color: var(--bs-primary) !important;
    border-color: var(--bs-primary) !important;
}

.btn-primary:hover {
    background-color: var(--bs-secondary) !important;
    border-color: var(--bs-secondary) !important;
}

.btn-outline-primary {
    color: var(--bs-primary) !important;
    border-color: var(--bs-primary) !important;
}

.btn-outline-primary:hover {
    background-color: var(--bs-primary) !important;
    border-color: var(--bs-primary) !important;
    color: #fff !important;
}

.badge.bg-primary {
    background-color: var(--bs-primary) !important;
}

.badge.text-primary {
    color: var(--bs-primary) !important;
}

/* Secondary Color Utility */
.text-secondary-custom {
    color: var(--bs-secondary) !important;
}

.bg-secondary-custom {
    background-color: var(--bs-secondary) !important;
}

/* Tertiary Color Utility */
.text-tertiary {
    color: var(--bs-tertiary) !important;
}

.bg-tertiary {
    background-color: var(--bs-tertiary) !important;
}

/* Navbar */
.navbar {
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95) !important;
}

.nav-link {
    font-weight: 500;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.nav-link.active {
    color: var(--bs-primary) !important;
}

.nav-link:hover {
    color: var(--bs-secondary) !important;
}

/* Card Styles */
.card-hover {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: none;
    overflow: hidden;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08) !important;
}

.card-img-top-wrapper {
    overflow: hidden;
    height: 220px;
    position: relative;
    background-color: #e9ecef;
}

.card-img-top {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.hero-card .card-img-top-wrapper {
    height: 400px;
}

/* Typography Helpers */
.text-justify {
    text-align: justify;
}

.ls-1 {
    letter-spacing: 1px;
}

/* Article Detail */
.article-content {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #333;
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

.article-header h1 {
    font-size: 2.5rem;
    line-height: 1.2;
}
/* Utility Classes for Highlight Section */
.transition-all {
    transition: all 0.3s ease;
}

.hover-primary:hover {
    color: var(--bs-primary) !important;
}

.hover-secondary:hover {
    color: var(--bs-secondary) !important;
}

.rounded-4 {
    border-radius: 1.5rem !important;
}

.object-fit-cover {
    object-fit: cover;
}

.lh-lg {
    line-height: 1.8 !important;
}

/* Navbar Icons - Reduced Size */
.navbar .nav-link i {
    font-size: 0.85rem;
}

.dropdown-item i {
    font-size: 0.9rem;
}

/* Línea gráfica: sin bordes redondeados en cards */
.card {
    border-radius: 0 !important;
}
.card-img,
.card-img-top,
.card-img-bottom {
    border-radius: 0 !important;
}

