/* Custom post card styles */

/* Full width image above text */
.post_thumbnail {
    width: 100%;
    margin-bottom: 1rem;
}

.post_thumbnail img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    border-radius: 4px;
}

/* Category links above title */
.post_meta .post_category {
    margin-right: 0.4rem;
}

.meta_categories_link {
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: #888;
    text-decoration: none;
}

.meta_categories_link:hover {
    color: #cb9c11;
}

/* Post title */
.post_preview .post_title {
    margin: 0.4rem 0;
    font-size: 1.4rem;
    line-height: 1.3;
}

.post_preview .post_title a {
    text-decoration: none;
    color: #222;
}

.post_preview .post_title a:hover {
    color: #cb9c11;
}

/* Author and date */
.post_preview .post_meta {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 0.5rem;
}

/* Hide author name */
.post_author {
    display: none;
}

/* Excerpt */
.post_content {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #444;
    margin-bottom: 1.2rem;
}

/* Continue Reading button */
.post_readmore {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffffff;
    background-color: #f0b811;
    text-decoration: none;
    padding: 8px 18px;
    border-radius: 3px;
    transition: background-color 0.2s ease;
}

.post_readmore:hover {
    background-color: #cb9c11;
    color: #ffffff;
}

/* Spacing and divider between cards */
.post_preview {
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 2.5rem;
    margin-bottom: 2.5rem;
}

.post_preview:last-child {
    border-bottom: none;
}

/* Right-align Continue Reading button */
.post_footer {
    text-align: right;
}

/* ── Welcome Banner ─────────────────────────────── */
/* Sits above the wrapper so it spans full width     */
/* including the sidebar area                        */
.welcome-banner {
    width: 100%;
    margin-bottom: 2rem;
    overflow: hidden;
}

.welcome-banner img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    display: block;
    border-radius: 4px;
    margin-bottom: 1.2rem;
}

.welcome-text {
    padding: 0 1.5rem;
}

.welcome-text h2 {
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
    color: #222;
}

.welcome-text p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #444;
    margin-bottom: 0.8rem;
}

/* ── Nested Mexico categories in sidebar ─────────── */
.widget__item--sub {
    padding-left: 1.2rem;
    font-size: 0.9rem;
}

.widget__item--sub .widget__link {
    color: #666;
}

.widget__item--sub .widget__link:hover {
    color: #cb9c11;
}

/* Hide comments section */
.comments,
#comments,
.comment-respond,
.comment-list,
.comment-meta,
.comment-content,
.post__comments {
    display: none;
}

/* Limit portrait image height in posts */
.post__content img,
.single__content img {
    max-height: 80vh;
    width: auto;
    display: block;
    margin: 0 auto;
}

/* Center caption/title below images */
.figure {
    text-align: center;
}

figcaption {
    text-align: center;
}

/* Hide category and tag labels on posts and listing pages */
.post_category,
.post_tags,
.post__tags {
    display: none;
}

/* ── Contact Form ─────────────────────────────── */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #444;
    margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 14px;
    font-size: 0.95rem;
    border: 1px solid #ddd;
    border-radius: 3px;
    box-sizing: border-box;
    font-family: inherit;
    color: #333;
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #f0b811;
}

.form-group textarea {
    resize: vertical;
}

.contact-submit {
    display: inline-block;
    background-color: #f0b811;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 10px 24px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.contact-submit:hover {
    background-color: #cb9c11;
}
