/* ══════════════════════════════════════════════
   FLORE MAR — blog.css — Artículo individual
   ══════════════════════════════════════════════ */

/* ── Contenedor exterior ── */
.fm-article-outer {
    background: var(--warm-white, #faf7f2);
    min-height: 60vh;
}

/* ── Hero imagen destacada ── */
.fm-article-hero {
    width: 100%;
    max-height: 520px;
    overflow: hidden;
    background: #e8ede9;
}
.fm-article-hero-img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    object-position: center 30%;
    display: block;
}

/* ── Wrapper del artículo ── */
.fm-article-wrap {
    max-width: 860px;
    margin: 0 auto;
    padding: 3rem 1.5rem 5rem;
}

/* ── Cabecera ── */
.fm-article-header {
    text-align: center;
    margin-bottom: 2.8rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #dde8df;
}
.fm-article-cat {
    display: inline-block;
    font-family: 'Jost', sans-serif;
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #6b8f71;
    text-decoration: none;
    margin-bottom: 1rem;
    padding: 4px 14px;
    border: 1px solid #6b8f71;
    border-radius: 20px;
    transition: background 0.2s, color 0.2s;
}
.fm-article-cat:hover {
    background: #6b8f71;
    color: #fff;
}
.fm-article-title {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-size: clamp(2rem, 5vw, 2.8rem) !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    color: #2a3d2e !important;
    margin: 0.6rem 0 1.2rem !important;
}
.fm-article-meta {
    font-family: 'Jost', sans-serif;
    font-size: 0.78rem;
    color: #8a9e8d;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
}
.fm-article-meta-dot { opacity: 0.5; }

/* ── Contenido del artículo ── */
.fm-article-content {
    font-family: 'Jost', sans-serif;
    font-size: 1rem;
    line-height: 1.85;
    color: #3a3a3a;
}
.fm-article-content p {
    margin: 0 0 1.5rem;
}
.fm-article-content h2 {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-size: 1.55rem !important;
    font-weight: 600 !important;
    color: #2a3d2e !important;
    margin: 2.5rem 0 1rem !important;
    padding-left: 1rem;
    border-left: 3px solid #6b8f71;
    line-height: 1.3 !important;
}
.fm-article-content h3 {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    color: #3d5c42 !important;
    margin: 2rem 0 0.8rem !important;
}
.fm-article-content ul,
.fm-article-content ol {
    padding-left: 1.4rem;
    margin: 0 0 1.5rem;
}
.fm-article-content li {
    margin-bottom: 0.7rem;
    line-height: 1.75;
}
.fm-article-content strong {
    color: #2a3d2e;
    font-weight: 600;
}
.fm-article-content a {
    color: #6b8f71;
    text-decoration: underline;
    text-decoration-color: #deb8a8;
    text-underline-offset: 3px;
    transition: color 0.2s;
}
.fm-article-content a:hover { color: #3d5c42; }

/* ── Imágenes en el artículo ── */
.fm-article-content figure.wp-block-image {
    margin: 2.2rem 0;
}
.fm-article-content figure.wp-block-image img {
    width: 100%;
    border-radius: 12px;
    display: block;
    box-shadow: 0 4px 20px rgba(61, 94, 66, 0.1);
}
.fm-article-content figcaption,
.fm-article-content .wp-element-caption {
    font-family: 'Jost', sans-serif;
    font-size: 0.8rem;
    color: #8a9e8d;
    text-align: center;
    margin-top: 0.6rem;
    font-style: italic;
    line-height: 1.5;
}

/* ── Tags ── */
.fm-article-tags {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid #dde8df;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.fm-article-tag {
    font-family: 'Jost', sans-serif;
    font-size: 0.75rem;
    color: #6b8f71;
    background: #eef4ef;
    padding: 4px 12px;
    border-radius: 20px;
    text-decoration: none;
    transition: background 0.2s;
}
.fm-article-tag:hover { background: #dde8df; }

/* ── Navegación ant/sig ── */
.fm-article-nav {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.fm-article-nav-link {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding: 1.2rem 1.4rem;
    background: #fff;
    border: 1px solid #dde8df;
    border-radius: 10px;
    text-decoration: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.fm-article-nav-link:hover {
    border-color: #6b8f71;
    box-shadow: 0 4px 14px rgba(107,143,113,0.12);
}
.fm-article-nav-next { text-align: right; }
.fm-article-nav-label {
    font-family: 'Jost', sans-serif;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #6b8f71;
}
.fm-article-nav-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 0.95rem;
    color: #2a3d2e;
    line-height: 1.35;
}

/* ── Carrusel FM dentro del artículo — sin sangría, dentro del wrapper ── */
/* ── Responsive ── */
@media (max-width: 600px) {
    .fm-article-hero-img { height: 260px; }
    .fm-article-wrap { padding: 2rem 1.2rem 4rem; }
    .fm-article-nav { grid-template-columns: 1fr; }
    .fm-article-nav-next { text-align: left; }
}
