:root {
    --primary-color: #638717;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --border-color: #e9ecef;
    --max-width: 1140px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Inter, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background: #fff;
}

ul {
    list-style: none;
}

p {
	margin-bottom: 20px;
}

.container {
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
}

/* HEADER */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 20px 0;
    background: #fff;
    border-bottom: 1px solid var(--border-color);
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    max-width: 100%;
    height: auto;
    display: block;
}

.main-nav a {
    margin-left: 20px;
    text-decoration: none;
    color: var(--text-color);
    font-size: .95rem;
    font-weight: 600;
    transition: color .2s;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary-color);
}

.main-nav a:last-child {
    color: #003399;
    font-weight: 300;
    border-left: 1px solid;
    padding-left: 20px;
}

/* HERO */

.hero-section {
    padding: 60px 0;
    background: linear-gradient(
        180deg,
        #e0e7d1 0%,
        #edf1e4 50%,
        #f7f8f3 100%
    );
    border-bottom: 1px solid var(--border-color);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-grid2 {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 40px;
    align-items: top;
}

.hero-grid3 {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 40px;
    align-items: top;
}

.badge {
    display: inline-block;
    margin-bottom: 15px;
    padding: 4px 12px;
    border-radius: 20px;
    background: #fff;
    color: var(--primary-color);
    font-size: .8rem;
    font-weight: 600;
}

.hero-text h1 {
    margin-bottom: 15px;
    font-size: 1.7rem;
    line-height: 1.2;
    color: var(--primary-color);
}

.hero-text li::before {
    content: "→ ";
    position: relative;
    left: 0;
	padding-left: 20px;
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 700;
}

.subtitle {
    font-size: 1.1rem;
    color: #555;
}

.hero-image img {
    width: 100%;
    display: block;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .08);
}

/* CONTENIDO */

.main-content {
    padding: 60px 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
}

.text-body h2 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 30px 0 15px;
    color: var(--primary-color);
}

.text-body h2:first-child {
    margin-top: 0;
}

.text-body h2::before {
    content: "➜";
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    font-size: .9rem;
}

.text-body p {
    margin-bottom: 20px;
    padding-left: 1.75rem;
    color: #4a5568;
}

.text-body ul {
    margin-bottom: 20px;
    color: #4a5568;
}

.text-body li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: .75rem;
}

.text-body li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 700;
}

.news-grid {
    display: grid;
    gap: 30px;
}

.news-card {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 25px;

    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;

    transition: all .25s ease;
}

.news-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,.08);
}

.news-image {
    width: 100%;
    height: 100%;
}

.news-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    display: block;
}

.news-content {
    padding: 25px;
    min-width: 0;
}

.news-date {
    display: inline-block;
    margin-bottom: 10px;

    font-size: .85rem;
    font-weight: 600;

    color: var(--primary-color);
}

.news-content h3 {
    margin-bottom: 12px;

    font-size: 1.25rem;
    line-height: 1.3;

    color: #333;
}

.news-content p {
    margin-bottom: 15px;
    color: #666;
}

.news-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.news-link:hover {
    text-decoration: underline;
}

/* SIDEBAR */

.sidebar-meta {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.meta-box {
    padding: 25px;
    background: var(--light-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.meta-box h3 {
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary-color);
    font-size: 1.1rem;
}

.meta-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: .9rem;
}

.meta-item:last-child {
    border-bottom: 0;
}

.meta-label {
    font-weight: 600;
    color: #666;
}

.meta-value {
    color: #111;
    text-align: right;
}

.meta-value a {
    color: var(--primary-color);
    text-decoration: none;
}

.meta-value a:hover {
    text-decoration: underline;
}

.meta-box .meta-value {
    text-align: right;
    max-width: 180px;
}

.meta-box2-image {
    padding: 0;
    overflow: hidden;
    border-radius: 24px;
}

.meta-box2-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 24px;
}

/* FOOTER */

.site-footer {
    padding: 50px 0 20px;
    text-align: center;
    background: var(--light-bg);
    border-top: 1px solid var(--border-color);
}

.site-footer h3 {
    margin-bottom: 30px;
    color: #666;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    align-items: center;
    margin-bottom: 40px;
}

.partner-logo {
    padding: 20px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 6px;
}

.partner-logo img {
    max-width: 100%;
    height: auto;
}

.footer-note {
    display: block;
    max-width: 900px;
    margin: 0 auto 30px;
    text-align: center;
    font-size: 0.85rem;
    line-height: 1.1;
    color: #666;
}

.footer-credit {
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    font-size: .8rem;
    color: #999;
}

/* RESPONSIVE */

@media (max-width: 768px) {

    .header-flex,
    .hero-grid,.hero-grid2,.hero-grid3,
    .content-grid {
     grid-template-columns: 1fr;
     flex-direction: column;
     gap: 30px;
    }
	
	.hero-grid2 img, .hero-grid3 img {
	max-height: 250px;
	margin-bottom: 20px;
    }

    .header-flex {
        flex-direction: column;
        align-items: stretch;
    }

    .main-nav {
        display: flex;
        flex-wrap: nowrap;

        overflow-x: auto;
        overflow-y: hidden;

        white-space: nowrap;

        width: 100%;

        padding: 10px 0;

        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .main-nav::-webkit-scrollbar {
        display: none;
    }

    .main-nav a {
        flex: 0 0 auto;
        margin-left: 16px;
    }

    .main-nav a:first-child {
        margin-left: 0;
    }

    .sidebar-meta {
        position: static;
    }
	

    .news-card {
        grid-template-columns: 1fr;
    }

    .news-image {
        height: 220px;
    }

    .news-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
	
	.meta-item {
        flex-direction: column;
        gap: 5px;
    }

    .meta-box .meta-value {
        text-align: left;
        max-width: 100%;
    }
	
}