/*
Theme Name: IBN WordPress Fiel
Theme URI: https://ibn-ec.com
Author: IBN / Alerta10
Description: Conversion fiel del sitio original IMPULSA Business Network, con notas y documentos administrables.
Version: 2.9.0
Text Domain: ibn-wordpress-fiel
*/

/* La portada conserva sus estilos originales integrados. */

.ibn-simple-header,
.ibn-simple-footer,
.ibn-content {
    font-family: Inter, system-ui, sans-serif;
}

.ibn-simple-header,
.ibn-simple-footer {
    padding: 24px max(24px, calc((100% - 1100px) / 2));
    background: #0a0b0d;
    color: #d4af37;
}

.ibn-simple-header {
    min-height: 96px;
    display: flex;
    align-items: center;
}

.ibn-site-logo {
    display: block;
    width: 120px;
    height: 84px;
    object-fit: contain;
}

.ibn-original-logo {
    display: block;
    width: 118%;
    height: 118%;
    object-fit: contain;
    filter: drop-shadow(0 0 22px rgba(212, 175, 55, 0.16));
}

.ibn-news-content img {
    width: 100%;
    height: auto;
    margin: 24px 0;
}

.ibn-news-content video,
.ibn-news-content audio,
.ibn-news-content iframe,
.ibn-news-content .wp-video,
.ibn-news-content .wp-audio-shortcode {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 24px 0;
}

.ibn-news-content iframe {
    aspect-ratio: 16 / 9;
    height: auto;
}

.ibn-news-content .wp-block-file {
    margin: 20px 0;
    padding: 14px;
    border: 1px solid #2d3139;
}

.ibn-news-content p {
    margin: 0 0 16px;
}

.ibn-application-page {
    min-height: calc(100vh - 170px);
    padding: 64px 24px;
    background: #0a0b0d;
    color: #e2e8f0;
}

.ibn-application-inner {
    width: min(820px, 100%);
    margin: 0 auto;
}

.ibn-application-heading {
    margin-bottom: 40px;
    text-align: center;
}

.ibn-application-heading h1 {
    margin: 8px 0 16px;
    color: #fff;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(32px, 6vw, 52px);
}

.ibn-eyebrow,
.ibn-field label {
    color: #d4af37;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.ibn-application-form {
    padding: 32px;
    border: 1px solid #2d3139;
    background: #1a1c20;
}

.ibn-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.ibn-field {
    margin-bottom: 20px;
}

.ibn-field label {
    display: block;
    margin-bottom: 8px;
    color: #94a3b8;
}

.ibn-field input,
.ibn-field textarea {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid #2d3139;
    background: #0a0b0d;
    color: #fff;
    box-sizing: border-box;
}

.ibn-submit {
    width: 100%;
    padding: 16px;
    border: 0;
    background: #d4af37;
    color: #0a0b0d;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
}

.ibn-form-message {
    padding: 28px;
    text-align: center;
}

.ibn-form-error {
    margin-top: 20px;
    color: #f87171;
    text-align: center;
}

.ibn-hidden {
    display: none;
}

@media (max-width: 640px) {
    .ibn-form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .ibn-application-form {
        padding: 22px;
    }
}

.ibn-content {
    min-height: 70vh;
    padding: 64px max(24px, calc((100% - 900px) / 2));
    background: #1a1c20;
    color: #e2e8f0;
}

.ibn-content article {
    padding: 24px 0;
    border-bottom: 1px solid #2d3139;
}

.ibn-content h1,
.ibn-content h2 {
    color: #fff;
}

.ibn-content a {
    color: #d4af37;
}
