
    .flautea-history-layout {
        max-width: 1120px;
        margin: 0 auto;
        padding-inline: 1rem;
        overflow-x: hidden;
    }

    .flautea-history-layout > * {
        max-width: 100%;
    }

    .flautea-history-layout img,
    .flautea-history-layout svg,
    .flautea-history-layout figure,
    .flautea-history-layout picture {
        max-width: 100%;
        height: auto;
    }

    /* Evita que ilustraciones absolutas invadan el título */
    .flautea-history-layout [class*="hero"] img,
    .flautea-history-layout [class*="hero"] svg,
    .flautea-history-layout [class*="intro"] img,
    .flautea-history-layout [class*="intro"] svg,
    .flautea-history-layout [class*="banner"] img,
    .flautea-history-layout [class*="banner"] svg,
    .flautea-history-layout > img:first-child,
    .flautea-history-layout > svg:first-child {
        position: relative !important;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;
        transform: none !important;
        z-index: 1 !important;
        display: block;
        width: min(100%, 340px) !important;
        margin: 0 auto 1.35rem auto !important;
    }

    .flautea-history-layout [class*="hero"],
    .flautea-history-layout [class*="intro"],
    .flautea-history-layout [class*="banner"] {
        overflow: hidden;
    }

    .flautea-history-layout h1,
    .flautea-history-layout h2,
    .flautea-history-layout h3 {
        position: relative;
        z-index: 2;
        margin-left: auto;
        margin-right: auto;
        max-width: 900px;
        text-wrap: balance;
    }

    .flautea-history-layout p,
    .flautea-history-layout ul,
    .flautea-history-layout ol,
    .flautea-history-layout blockquote,
    .flautea-history-layout table,
    .flautea-history-layout .prose,
    .flautea-history-layout article,
    .flautea-history-layout section,
    .flautea-history-layout [class*="content"],
    .flautea-history-layout [class*="body"],
    .flautea-history-layout [class*="copy"],
    .flautea-history-layout [class*="text"] {
        max-width: 860px;
        margin-left: auto;
        margin-right: auto;
    }

    .flautea-history-layout p,
    .flautea-history-layout li {
        line-height: 1.75;
        overflow-wrap: anywhere;
        word-break: normal;
    }

    .flautea-history-layout .grid,
    .flautea-history-layout [class*="grid"],
    .flautea-history-layout [class*="cards"],
    .flautea-history-layout [class*="chapters"] {
        max-width: 1120px;
        margin-left: auto;
        margin-right: auto;
    }

    .flautea-history-layout .container {
        max-width: 1120px !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    @media (max-width: 768px) {
        .flautea-history-layout {
            padding-inline: 0.9rem;
        }

        .flautea-history-layout h1,
        .flautea-history-layout h2,
        .flautea-history-layout h3,
        .flautea-history-layout p,
        .flautea-history-layout ul,
        .flautea-history-layout ol,
        .flautea-history-layout blockquote,
        .flautea-history-layout table,
        .flautea-history-layout .prose,
        .flautea-history-layout article,
        .flautea-history-layout section,
        .flautea-history-layout [class*="content"],
        .flautea-history-layout [class*="body"],
        .flautea-history-layout [class*="copy"],
        .flautea-history-layout [class*="text"] {
            max-width: 100%;
        }
    }
