/* ========== RESET Y ESTILOS BASE ========== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 100%;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: #1e88e5;
    transition: color 0.3s ease;
}

a:hover {
    color: #0d47a1;
}

/* ========== UTILIDADES ========== */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.btn-primary {
    display: inline-block;
    background-color: #1e88e5;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary:hover {
    background-color: #1565c0;
    color: #fff;
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: #1e88e5;
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    border: 2px solid #1e88e5;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.btn-secondary:hover {
    background-color: #1e88e5;
    color: #fff;
}

/* ========== HEADER Y NAVEGACIÓN ========== */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.logo {
    margin-right: 1.5rem;
}

.logo img {
    max-height: 50px;
    width: auto;
}

nav ul {
    display: flex;
    gap: 1.5rem;
}

nav a {
    color: #333;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background-color: #1e88e5;
    transition: width 0.3s ease;
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

nav a.active {
    color: #1e88e5;
    font-weight: 600;
}

.spell-check {
    margin-left: auto;
}

#spell-check-btn {
    background-color: #f0f8ff;
    color: #1e88e5;
    border: 1px solid #1e88e5;
    border-radius: 4px;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#spell-check-btn:hover {
    background-color: #e1f5fe;
}

/* ========== HERO SECTION ========== */
.hero {
    background-color: #e8f4fd;
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(45deg, rgba(30, 136, 229, 0.2) 25%, transparent 25%, transparent 50%, rgba(30, 136, 229, 0.2) 50%, rgba(30, 136, 229, 0.2) 75%, transparent 75%, transparent);
    background-size: 10px 10px;
    opacity: 0.3;
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #1565c0;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #444;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ========== SECCIONES COMUNES ========== */
.featured-posts,
.services,
.testimonials,
.blog-content,
.about-intro,
.team-section,
.certifications,
.contact-content,
.map-section,
.faq-section,
.related-posts,
.post-content,
.subscribe,
.cta-section {
    padding: 4rem 0;
}

section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #1565c0;
    position: relative;
}

section h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: #1e88e5;
    margin: 1rem auto 0;
    border-radius: 2px;
}

/* ========== FEATURED POSTS ========== */
.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.post-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.post-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.post-content {
    padding: 1.5rem;
}

.post-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: #333;
}

.post-content p {
    color: #666;
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
}

.view-all {
    text-align: center;
    margin-top: 3rem;
}

/* ========== SERVICIOS ========== */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    margin-bottom: 1.5rem;
}

.service-icon svg {
    color: #1e88e5;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #333;
}

.service-card p {
    color: #666;
    font-size: 0.95rem;
}

/* ========== TESTIMONIOS ========== */
.testimonials {
    background-color: #f0f8ff;
}

.testimonial-slider {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding: 1rem 0;
    scrollbar-width: none; /* Para Firefox */
    -ms-overflow-style: none; /* Para IE y Edge */
}

.testimonial-slider::-webkit-scrollbar {
    display: none; /* Para Chrome, Safari y Opera */
}

.testimonial {
    background-color: #fff;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    min-width: 300px;
    max-width: 500px;
    flex: 1;
}

.quote {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
    border-left: 3px solid #1e88e5;
}

.quote p {
    font-style: italic;
    color: #555;
}

.author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.author-info p {
    color: #666;
    font-size: 0.9rem;
}

/* ========== BLOG PAGE ========== */
.page-header {
    background-color: #e8f4fd;
    padding: 3rem 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1565c0;
}

.page-header p {
    font-size: 1.1rem;
    color: #444;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.blog-grid {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.blog-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .blog-card {
        flex-direction: row;
    }
}

.blog-image {
    flex: 1;
    min-height: 250px;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-text {
    flex: 2;
    padding: 2rem;
}

.blog-text h2 {
    text-align: left;
    margin-bottom: 0.8rem;
    font-size: 1.6rem;
}

.blog-text h2::after {
    margin: 0.5rem 0 0 0;
    width: 30px;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.date, .category {
    display: flex;
    align-items: center;
}

.blog-text p {
    margin-bottom: 1.5rem;
    color: #555;
}

/* ========== SUSCRIBIRSE ========== */
.subscribe {
    background-color: #1565c0;
    color: #fff;
    text-align: center;
}

.subscribe h2 {
    color: #fff;
}

.subscribe h2::after {
    background-color: #fff;
}

.subscribe p {
    max-width: 600px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
}

.subscribe-form {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    gap: 1rem;
    flex-wrap: wrap;
}

.subscribe-form input {
    flex: 1;
    min-width: 200px;
    padding: 0.75rem 1rem;
    border-radius: 4px;
    border: none;
    font-size: 1rem;
}

.subscribe-form button {
    background-color: #fff;
    color: #1565c0;
}

.subscribe-form button:hover {
    background-color: #f0f8ff;
}

/* ========== ABOUT PAGE ========== */
.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 768px) {
    .about-content {
        grid-template-columns: 3fr 2fr;
    }
}

.about-text h2 {
    text-align: left;
    margin-bottom: 1.5rem;
}

.about-text h2::after {
    margin: 0.5rem 0 0 0;
    width: 30px;
}

.about-text p {
    margin-bottom: 2rem;
    color: #555;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.values-list {
    margin-bottom: 2rem;
    padding-left: 1.5rem;
}

.values-list li {
    margin-bottom: 0.8rem;
    position: relative;
    list-style-type: disc;
}

/* ========== TEAM SECTION ========== */
.team-intro {
    max-width: 700px;
    margin: 0 auto 3rem;
    text-align: center;
    color: #555;
    font-size: 1.1rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2.5rem;
}

.team-member {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    text-align: center;
}

.team-member:hover {
    transform: translateY(-5px);
}

.team-member img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.team-member h3 {
    font-size: 1.3rem;
    margin: 1.5rem 0 0.3rem;
    padding: 0 1rem;
}

.team-member p {
    color: #666;
    padding: 0 1.5rem 1.5rem;
}

.team-member p:first-of-type {
    color: #1e88e5;
    font-weight: 500;
    margin-bottom: 1rem;
}

.team-member .social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.team-member .social-links a {
    color: #666;
    transition: color 0.3s ease;
}

.team-member .social-links a:hover {
    color: #1e88e5;
}

/* ========== CERTIFICACIONES ========== */
.certification-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.certification-item {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.certification-icon {
    margin-bottom: 1.5rem;
}

.certification-icon svg {
    color: #1e88e5;
}

.certification-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333;
}

.certification-item p {
    color: #666;
    font-size: 0.95rem;
}

/* ========== CTA SECTION ========== */
.cta-section {
    background-color: #e8f4fd;
    text-align: center;
}

.cta-section h2 {
    margin-bottom: 1rem;
}

.cta-section p {
    max-width: 600px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
    color: #555;
}

/* ========== CONTACT PAGE ========== */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-info h2,
.contact-form-container h2 {
    text-align: left;
    margin-bottom: 1.5rem;
}

.contact-info h2::after,
.contact-form-container h2::after {
    margin: 0.5rem 0 0 0;
    width: 30px;
}

.contact-info p {
    margin-bottom: 2rem;
    color: #555;
}

.contact-details {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.icon {
    color: #1e88e5;
    margin-top: 0.3rem;
}

.detail h3 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    color: #333;
}

.detail p {
    color: #666;
    margin-bottom: 0;
}

.social-contact h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1.2rem;
}

.social-links a {
    color: #555;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #1e88e5;
}

.contact-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #444;
}

.form-group input,
.form-group textarea {
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: normal;
    color: #666;
}

.checkbox-container input {
    margin-top: 0.2rem;
}

.contact-form button {
    grid-column: 1 / -1;
    justify-self: start;
    margin-top: 1rem;
}

/* ========== MAP SECTION ========== */
.map-container {
    margin-top: 2rem;
}

.map-placeholder {
    width: 100%;
    height: 400px;
    background-color: #f0f8ff;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.map-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(30%);
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-overlay p {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    font-weight: 500;
    color: #333;
}

/* ========== FAQ SECTION ========== */
.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .faq-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.faq-item {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.faq-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    color: #333;
}

.faq-item p {
    color: #666;
    font-size: 0.95rem;
}

/* ========== BLOG POST PAGE ========== */
.post-header {
    margin-bottom: 2rem;
}

.post-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1565c0;
}

.post-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.post-author, .post-date, .post-category {
    display: flex;
    align-items: center;
}

.post-featured-image {
    margin-bottom: 2rem;
}

.post-featured-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.post-body {
    line-height: 1.7;
    color: #444;
    margin-bottom: 2rem;
}

.post-body h2 {
    font-size: 1.8rem;
    margin: 2.5rem 0 1.2rem;
    color: #333;
    text-align: left;
}

.post-body h2::after {
    margin: 0.5rem 0 0 0;
    width: 30px;
}

.post-body h3 {
    font-size: a.4rem;
    margin: 2rem 0 1rem;
    color: #444;
}

.post-body p {
    margin-bottom: 1.5rem;
}

.post-body ul, .post-body ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.post-body li {
    margin-bottom: 0.5rem;
    list-style-type: disc;
}

.post-body blockquote {
    border-left: 4px solid #1e88e5;
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #555;
}

.post-tags {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    align-items: center;
}

.post-tags span {
    font-weight: 600;
    color: #333;
}

.post-tags a {
    background-color: #e8f4fd;
    color: #1e88e5;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    transition: background-color 0.3s ease;
}

.post-tags a:hover {
    background-color: #bbdefb;
}

.post-share {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    align-items: center;
}

.post-share span {
    font-weight: 600;
    color: #333;
}

.post-share a {
    color: #666;
    transition: color 0.3s ease;
}

.post-share a:hover {
    color: #1e88e5;
}

.post-navigation {
    border-top: 1px solid #eee;
    padding-top: 2rem;
    margin-bottom: 3rem;
}

.post-navigation-links {
    display: flex;
    justify-content: space-between;
}

.nav-previous, .nav-next {
    flex: 1;
}

.nav-next {
    text-align: right;
}

.post-navigation span {
    display: block;
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 0.3rem;
}

.post-navigation a {
    font-weight: 600;
}

.related-posts {
    background-color: #f8f9fa;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: a.5rem;
}

.related-post-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.related-post-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.related-post-card h3 {
    padding: 1rem 1rem 0.5rem;
    font-size: 1.1rem;
}

.related-post-card .date {
    padding: 0 1rem 1rem;
    font-size: 0.85rem;
    color: #777;
    display: block;
}

/* ========== GLOSARIO ========== */
.glossary {
    background-color: #f0f8ff;
    padding: 3rem 0;
}

.glossary h2 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #1565c0;
}

.glossary-content {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.glossary-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.glossary-item p {
    font-size: 0.9rem;
    color: #666;
}

/* ========== FOOTER ========== */
footer {
    background-color: #1565c0;
    color: #fff;
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.footer-logo img {
    max-height: 60px;
    margin-bottom: 1rem;
}

.footer-logo p {
    font-size: 0.95rem;
    opacity: 0.9;
}

.footer-links h3,
.footer-legal h3,
.footer-contact h3 {
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
}

.footer-links ul,
.footer-legal ul {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a,
.footer-legal a {
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-legal a:hover {
    color: #fff;
}

.footer-contact address {
    font-style: normal;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-contact p {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
    font-size: 0.95rem;
}

.footer-contact svg {
    margin-top: 0.2rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #fff;
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ========== MODAL DE AGRADECIMIENTO ========== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1100;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fff;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
}

.close-modal {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    color: #777;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: #333;
}

.modal-body {
    padding: 3rem 2rem;
    text-align: center;
}

.check-icon {
    color: #4caf50;
    margin-bottom: 1.5rem;
}

.modal-body h2 {
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.modal-body p {
    margin-bottom: 2rem;
    color: #555;
}

/* ========== BANNER DE COOKIES ========== */
.cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 1.5rem;
}

.cookie-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-content p {
    color: #555;
    margin: 0;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-cookie-accept {
    background-color: #1e88e5;
    color: #fff;
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    font-weight: 500;
}

.btn-cookie-customize {
    background-color: #f5f5f5;
    color: #333;
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    border: 1px solid #ddd;
    cursor: pointer;
    font-weight: 500;
}

.btn-cookie-reject {
    background-color: transparent;
    color: #666;
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    border: 1px solid #ddd;
    cursor: pointer;
    font-weight: 500;
}

.btn-cookie-accept:hover {
    background-color: #1565c0;
}

.btn-cookie-customize:hover {
    background-color: #e0e0e0;
}

.btn-cookie-reject:hover {
    background-color: #f5f5f5;
}

/* ========== MEDIA QUERIES ========== */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    header .container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    nav {
        margin: 1rem 0;
    }
    
    nav ul {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .spell-check {
        margin-top: 1rem;
        margin-left: 0;
    }
    
    .post-navigation-links {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .nav-next {
        text-align: left;
    }
    
    .cookie-content {
        text-align: center;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .post-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .cookie-content {
        flex-direction: row;
        align-items: center;
    }
    
    .cookie-buttons {
        margin-left: auto;
    }
}
