*
{
    box-sizing: border-box;
}

body
{
    font-family: Arial, sans-serif;
    background: linear-gradient(160deg, #c59aac 0%, #c59aac 100%);
    color: black;
    margin: 0;
    padding: 0;
}

h1
{
    text-align: center;
    font-size: 50px;
    margin-bottom: 0.5em;
}

.subtitle
{
    text-align: center;
    color: #ffffff;
    font-size: 0.95rem;
    max-width: 780px;
    margin: 0 auto 1.8rem;
    line-height: 1.6;
}

.hero 
{
    background: #7b3a5a;
    border-radius: 12px;
    padding: 60px 48px;
    text-align: center;
}

.hero_label 
{
    display: inline-block;
    font-family: Georgia, serif;
    font-size: 13px;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: #ffffff99;
    border-bottom: 1px solid #ffffff40;
    padding-bottom: 6px;
    margin-bottom: 24px;
}

.hero_title 
{
    font-family: Georgia, serif;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 28px 0;
}

.hero_title-white 
{
    color: #ffffff;
}

.hero_title-pink 
{
    color: #d4a8b8;
}

.hero_sub 
{
    font-family: Georgia, serif;
    font-size: 17px;
    color: #ffffffcc;
    line-height: 1.75;
    max-width: 480px;
    margin: 0 auto;
}

.filter-bar
{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    padding: 20px;
    margin-bottom: 20px;
}

.filter-btn
{
    padding: 8px 18px;
    border-radius: 50px;
    border: 2px solid #6a927a;
    background: #6a927a;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
    white-space: nowrap;
    cursor: pointer;
}

.filter-btn:hover
{
    background: #6a927a;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px #6a927a66;
}

.filter-btn.active
{
    background: #6a927a;
    color: white;
    box-shadow: 0 4px 12px #6a927a66;
}

.container
{
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 20px;
}

.form-card
{
    max-width: 1200px;
    margin: 0 auto 40px;
    background: #ffffff;
    border-radius: 20px;
    border-left: 4px solid #7b3a5a;
    box-shadow: 0 8px 32px #0000001f;
    padding: 30px;
}

.post-form
{
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.checkbox-field
{
    display: flex;
    flex-direction: row;
    align-items: left;
    justify-content: flex-start;
    gap: 0.75rem;
}

.checkbox-label
{
    display: inline-flex;
    align-items: left;
    gap: 0.5rem;
    font-weight: 500;
}

.form-field
{
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-weight: 500;
}



.scrollbox
{
    height: 220px;
    overflow-y: scroll;
    border: 2px solid #c9a0a0;
    border-radius: 10px;
    padding: 10px 14px;
    background: white;
}

.scrollbox:focus-within
{
    border-color: #7b3a5a;
    box-shadow: 0 0 0 3px #7b3a5a26;
}

.scrollbox div
{
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 4px;
    border-radius: 6px;
    transition: background 0.15s;
}

.scrollbox div:hover
{
    background: #f5e8ef;
}

.scrollbox input[type="checkbox"]
{
    width: 16px;
    height: 16px;
    accent-color: #7b3a5a;
    cursor: pointer;
}

.scrollbox label
{
    font-size: 0.9rem;
    color: #3a3a3a;
    cursor: pointer;
}



.post-form input[type="text"],
.post-form input[type="date"],
.post-form input[type="file"],
.post-form textarea
{
    width: 100%;
    padding: 0.6rem 0.9rem;
    border: 1.5px solid #ccc;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 400;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.post-form input[type="text"]:focus,
.post-form input[type="date"]:focus,
.post-form input[type="file"]:focus,
.post-form textarea:focus
{
    border-color: #7b3a5a;
    outline: none;
    box-shadow: 0 0 0 3px #7b3a5a26;
}

.post-form textarea
{
    border: 2px solid #7b3a5a;
    min-height: 220px;
    border-radius: 10px;
    padding: 1rem;
    font-size: 1rem;
    background: #fdf6f8;
    resize: vertical;
}

.form-actions
{
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
    margin-top: 0.5rem;
}

.button-group
{
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    width: 100%;
}

.submit-button
{
    border-radius: 20px;
    padding: 0.6rem 2rem;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    
}

.submit-button
{
    background: #7b3a5a;
    color: #ffffff;
    border: none;
    text-decoration: none;
}

.submit-button:hover,
.reset-button:hover
{
    box-shadow: 0 4px 12px #7b3a5a4d;
    transform: translateY(-1px);
}

.reset-button
{
    border-radius: 20px;
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-size: 0.5rem;
    font-weight: 500;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.reset-button
{
    background: transparent;
    color: #7b3a5a;
    border: 2px solid #7b3a5a;
    text-decoration: none;
}


.header
{
    position: relative;
    border-bottom: 1px solid white;
    margin-bottom: 20px;
}

.navbar
{
    display: flex;
    justify-content: center;
    gap: 16px;
    align-items: center;
    padding: 12px 0;
    flex-wrap: wrap;
}

.nav-actions
{
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.nav-brand
{
    color: #ffffff;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    letter-spacing: 0.03em;
}

.nav-brand img
{
    display: block;
    height: 100px;
    width: auto;
}

.nav-link,
.nav-button
{
    padding: 10px 18px;
    border-radius: 999px;
    text-decoration: none;
    color: #ffffff;
    font-weight: 600;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.nav-link
{
    background: rgba(255, 255, 255, 0.12);
}

.nav-button
{
    background: #8b3a62;
}

.nav-link:hover,
.nav-button:hover
{
    background: #ffffff3d;
    transform: translateY(-1px);
}

.nav-button:hover
{
    background: #a64c78;
}

.blog-posts
{
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start;
    padding: 20px;
}

.blog-post-link
{
    display: block;
    color: inherit;
    text-decoration: none;
}

.blog-post
{
    display: flex;
    flex-direction: column;
    background-color: #6a927a;
    color: #d4eadb;
    border-radius: 10px;
    box-shadow: 10px 4px 12px 4px #52052a90;
    overflow: hidden;
    flex: 1 1 calc(33.333% - 20px);
    min-width: 250px;
    align-items: stretch;
}

.blog-post img
{
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.blog-post h2
{
    font-size: 1.2rem;
    margin: 16px 16px 12px;
    color: #ffffff;
    min-height: 60px;
}

.blog-post p
{
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;

}

.blog-post-link:hover .blog-post
{
    transform: translateY(-4px);
    box-shadow: 10px 8px 18px 4px #52052a90;
}

.blog-post-full
{
    max-width: 900px;
    margin: 40px auto 60px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 40px #0000001f;
    padding: 3rem;
}

.blog-post-full h1
{
    text-align: left;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: #2c2c2c;
}

.blog-post-meta
{
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    color: #666;
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
}

.blog-post-hero
{
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 16px;
    margin: 2rem 0;
}

.blog-post-content
{
    color: #2c2c2c;
    font-size: 1rem;
}

.blog-post-content p
{
    margin-bottom: 1.3rem;
    text-align: justify;
}

.back-link
{
    display: inline-flex;
    margin-top: 1.5rem;
    padding: 0.75rem 1.5rem;
    background: #7b3a5a;
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    transition: background 0.2s ease;
}

.back-link:hover
{
    background: #8b4a6a;
}

@media (max-width: 900px)
{
    .blog-post
    {
        flex: 1 1 calc(50% - 20px);
    }
}

@media (max-width: 600px)
{
    .blog-posts
    {
        flex-direction: column;
        align-items: center;
    }

    .blog-post
    {
        width: 100%;
        max-width: 100%;
    }
}

.blog-post-info
{
    padding: 8px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.blog-post-datum
{
    font-size: 0.8rem;
    color: #d4eadb;
    opacity: 0.85;
}
.blog-post-autor
{
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffffff;
    padding: 8px 1px 4px;
    opacity: 0.85;
}

.nav-search {
    display: flex;
    align-items: center;
    height: 40px;
    box-sizing: border-box;
}

.nav-search input[type="text"] {
    height: 100%;
    box-sizing: border-box;
    margin-top: 10px;
    padding: 0 16px;
    border: none;
    border-radius: 999px 0 0 999px;
    background-color: #ffffffd9;
    font-size: 14px;
    width: 200px;
    outline: none;
    vertical-align: middle;
}

.nav-search input[type="submit"] {
    height: 100%;
    box-sizing: border-box;
    margin-top: 10px;
    padding: 0 20px;
    border: none;
    border-radius: 0 999px 999px 0;
    background-color: #e8d9e3;
    color: #5c3d52;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
    vertical-align: middle;
}
@media (max-width: 700px) {
    .navbar {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .nav-brand img {
        height: 60px;
    }

    .nav-actions {
        width: 100%;
        justify-content: center;
    }

    .nav-link,
    .nav-button {
        flex: 1 1 auto;
        text-align: center;
    }

    .nav-search {
        width: 100%;
        max-width: 320px;
    }

    .nav-search input[type="text"] {
        flex: 1;
        width: auto;
        min-width: 0;
    }
}
