/* IMAGE COMPRESSOR TOOL */
/* Archivo: assets/css/tools/image-compressor.css */

/* HEADER CLARO SOLO EN HERRAMIENTAS */

.site-header-light {
    background: #ffffff;
    color: #000000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.site-header-light .brand,
.site-header-light .nav-item > a {
    color: #000000;
}

.site-header-light .nav-item > a {
    opacity: 0.88;
}

.site-header-light .nav-item:hover > a,
.site-header-light .nav-item.is-open > a {
    opacity: 1;
}

.site-header-light .btn-dark {
    background: #eeeeee;
    color: #000000;
}

.site-header-light .btn-light {
    background: #000000;
    color: #ffffff;
}

.site-header-light .menu-toggle {
    background: #f2f2f2;
}

.site-header-light .menu-toggle span {
    background: #000000;
}

/* Dropdown desktop en herramientas */

.site-header-light .dropdown {
    background: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.site-header-light .dropdown::after {
    background: rgba(255, 255, 255, 0.52);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

.site-header-light .dropdown a {
    color: rgba(0, 0, 0, 0.78);
}

.site-header-light .dropdown a:hover {
    color: #000000;
}

.site-header-light .dropdown-cta {
    background: #000000 !important;
    color: #ffffff !important;
}

/* PAGE BASE */

.tool-page {
    background: #ffffff;
    color: #000000;
    min-height: 100vh;
    letter-spacing: 0.055em;
}

.tool-hero {
    padding: 42px 28px 24px;
    background: #ffffff;
}

.tool-hero-inner {
    width: min(100%, 1080px);
    margin: 0 auto;
    text-align: center;
}

.tool-kicker {
    margin: 0 0 10px;
    color: rgba(0, 0, 0, 0.48);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.tool-hero h1 {
    margin: 0;
    color: #000000;
    font-size: clamp(1.9rem, 3.8vw, 4.4rem);
    line-height: 1.05;
    font-weight: 700;
    letter-spacing: 0.045em;
}

.tool-hero p {
    width: min(100%, 650px);
    margin: 16px auto 0;
    color: rgba(0, 0, 0, 0.62);
    font-size: clamp(0.9rem, 1.25vw, 1.08rem);
    line-height: 1.6;
    font-weight: 500;
    letter-spacing: 0.045em;
}

/* WORKSPACE */

.tool-workspace-section {
    padding: 18px 28px 70px;
    background: #ffffff;
}

.tool-workspace-layout {
    width: min(100%, 1240px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 34px;
    align-items: start;
}

.tool-main-column {
    min-width: 0;
}

.tool-side-column {
    position: sticky;
    top: 118px;
}

/* COMPRESSOR CARD */

.compressor-card {
    display: grid;
    grid-template-columns: 1.1fr 0.86fr 1fr;
    gap: 0;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.14);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.08);
}

.compressor-step {
    min-width: 0;
    padding: 26px;
    display: flex;
    flex-direction: column;
}

.compressor-step + .compressor-step {
    border-left: 1px solid rgba(0, 0, 0, 0.1);
}

.step-heading {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 18px;
}

.step-heading span {
    color: rgba(0, 0, 0, 0.42);
    font-size: 0.82rem;
    font-weight: 700;
}

.step-heading h2 {
    margin: 0;
    color: #000000;
    font-size: 1rem;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 0.055em;
}

/* UPLOAD */

.upload-dropzone {
    position: relative;
    min-height: 210px;
    padding: 28px 22px;
    border: 2px dashed rgba(0, 0, 0, 0.22);
    border-radius: 22px;
    background:
        linear-gradient(135deg, rgba(0, 0, 0, 0.018), rgba(0, 0, 0, 0.045));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 9px;
    text-align: center;
    cursor: pointer;
    transition:
        border-color 0.18s ease,
        background 0.18s ease,
        transform 0.18s ease;
}

.upload-dropzone:hover,
.upload-dropzone.is-dragover {
    border-color: rgba(0, 0, 0, 0.52);
    background:
        linear-gradient(135deg, rgba(0, 0, 0, 0.032), rgba(0, 0, 0, 0.072));
    transform: translateY(-1px);
}

.upload-input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.upload-icon {
    width: 58px;
    height: 58px;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.14);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #000000;
    font-size: 2rem;
    line-height: 1;
}

.upload-dropzone strong {
    color: #000000;
    font-size: 0.86rem;
    line-height: 1.35;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.upload-dropzone small {
    color: rgba(0, 0, 0, 0.58);
    font-size: 0.72rem;
    line-height: 1.4;
    font-weight: 500;
    letter-spacing: 0.04em;
}

.upload-dropzone em {
    margin-top: 8px;
    color: rgba(0, 0, 0, 0.42);
    font-size: 0.62rem;
    line-height: 1.45;
    font-style: normal;
    letter-spacing: 0.035em;
}

.selected-file {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 16px;
    background: #f2f2f2;
    display: grid;
    gap: 5px;
}

.selected-file span {
    color: #000000;
    font-size: 0.74rem;
    font-weight: 700;
    line-height: 1.3;
    word-break: break-word;
}

.selected-file small {
    color: rgba(0, 0, 0, 0.52);
    font-size: 0.66rem;
}

/* SETTINGS */

.setting-group {
    display: grid;
    gap: 10px;
    margin-bottom: 20px;
}

.setting-group label,
.setting-label-row label {
    color: rgba(0, 0, 0, 0.72);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.055em;
}

.setting-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.setting-label-row strong {
    color: #000000;
    font-size: 0.82rem;
    font-weight: 700;
}

.setting-group input[type="range"] {
    width: 100%;
    accent-color: #000000;
    cursor: pointer;
}

.setting-group select {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid rgba(0, 0, 0, 0.18);
    border-radius: 14px;
    background: #ffffff;
    color: #000000;
    font-family: inherit;
    font-size: 0.78rem;
    letter-spacing: 0.045em;
    outline: none;
    cursor: pointer;
}

.setting-group select:focus {
    border-color: rgba(0, 0, 0, 0.5);
}

/* BUTTONS */

.tool-primary-button,
.tool-secondary-button {
    min-height: 50px;
    width: 100%;
    border: 0;
    border-radius: 16px;
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.055em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    cursor: pointer;
    transition:
        transform 0.18s ease,
        background 0.18s ease,
        opacity 0.18s ease;
}

.tool-primary-button {
    margin-top: auto;
    background: #000000;
    color: #ffffff;
}

.tool-primary-button:hover,
.tool-secondary-button:hover {
    transform: translateY(-1px);
}

.tool-primary-button:disabled {
    opacity: 0.38;
    cursor: not-allowed;
    transform: none;
}

.tool-secondary-button {
    margin-top: 16px;
    background: #000000;
    color: #ffffff;
}

.tool-note {
    margin: 14px 0 0;
    color: rgba(0, 0, 0, 0.46);
    font-size: 0.62rem;
    line-height: 1.55;
    font-weight: 500;
    letter-spacing: 0.035em;
}

/* RESULT */

.result-preview {
    min-height: 210px;
    padding: 24px;
    border-radius: 22px;
    background: #f5f5f5;
    border: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
}

.result-preview span {
    color: rgba(0, 0, 0, 0.4);
    font-size: 3rem;
}

.result-preview p {
    width: min(100%, 230px);
    margin: 0;
    color: rgba(0, 0, 0, 0.5);
    font-size: 0.72rem;
    line-height: 1.5;
    font-weight: 500;
}

.result-content {
    display: grid;
    gap: 14px;
}

.result-image-wrap {
    height: 160px;
    border-radius: 20px;
    overflow: hidden;
    background: #f2f2f2;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.result-image-wrap img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.result-stats {
    display: grid;
    gap: 8px;
}

.result-stats div {
    padding: 10px 12px;
    border-radius: 14px;
    background: #f4f4f4;
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.result-stats span {
    color: rgba(0, 0, 0, 0.5);
    font-size: 0.66rem;
    font-weight: 500;
}

.result-stats strong {
    color: #000000;
    font-size: 0.7rem;
    font-weight: 700;
    text-align: right;
}

.tool-status {
    min-height: 20px;
    margin: 12px 0 0;
    color: rgba(0, 0, 0, 0.58);
    font-size: 0.66rem;
    line-height: 1.45;
    font-weight: 500;
}

/* ADS */

.ad-slot {
    background:
        repeating-linear-gradient(
            -45deg,
            #f2f2f2 0,
            #f2f2f2 8px,
            #e9e9e9 8px,
            #e9e9e9 16px
        );
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: rgba(0, 0, 0, 0.52);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
}

.ad-slot span {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.ad-slot strong {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.04em;
}

.ad-slot-horizontal {
    width: 100%;
    min-height: 90px;
    margin: 28px 0;
    border-radius: 14px;
}

.ad-slot-vertical {
    width: 300px;
    min-height: 600px;
    border-radius: 18px;
}

/* INFO CARDS */

.tool-info-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 20px;
    overflow: hidden;
    background: #ffffff;
}

.tool-info-card {
    min-height: 150px;
    padding: 22px;
    border-right: 1px solid rgba(0, 0, 0, 0.1);
}

.tool-info-card:last-child {
    border-right: 0;
}

.tool-info-card span {
    width: 34px;
    height: 34px;
    margin-bottom: 14px;
    border-radius: 50%;
    background: #f1f1f1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #000000;
    font-size: 1rem;
}

.tool-info-card h2 {
    margin: 0 0 10px;
    color: #000000;
    font-size: 0.88rem;
    line-height: 1.35;
    font-weight: 700;
    letter-spacing: 0.045em;
}

.tool-info-card p {
    margin: 0;
    color: rgba(0, 0, 0, 0.56);
    font-size: 0.66rem;
    line-height: 1.65;
    font-weight: 500;
    letter-spacing: 0.035em;
}

/* FAQ */

.tool-faq {
    margin-top: 6px;
    padding: 28px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 22px;
    background: #ffffff;
}

.tool-faq h2,
.more-tools h2 {
    margin: 0 0 18px;
    color: #000000;
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    line-height: 1.2;
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.055em;
}

.faq-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 18px;
}

.faq-list details {
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 14px;
    background: #fafafa;
    overflow: hidden;
}

.faq-list summary {
    min-height: 46px;
    padding: 13px 44px 13px 15px;
    color: #000000;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0.04em;
    cursor: pointer;
    position: relative;
    list-style: none;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary::after {
    content: "+";
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #000000;
    font-size: 1rem;
    font-weight: 700;
}

.faq-list details[open] summary::after {
    content: "−";
}

.faq-list p {
    margin: 0;
    padding: 0 15px 15px;
    color: rgba(0, 0, 0, 0.56);
    font-size: 0.66rem;
    line-height: 1.6;
    font-weight: 500;
    letter-spacing: 0.035em;
}

/* MORE TOOLS */

.more-tools {
    margin-top: 26px;
}

.more-tools-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.more-tools-grid a {
    min-height: 96px;
    padding: 18px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.12);
    color: #000000;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 14px;
    transition:
        transform 0.18s ease,
        border-color 0.18s ease,
        background 0.18s ease;
}

.more-tools-grid a:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 0, 0, 0.28);
    background: #fafafa;
}

.more-tools-grid span {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: #f2f2f2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
}

.more-tools-grid em {
    font-style: normal;
    font-size: 1.1rem;
}

/* RESPONSIVE */

@media (max-width: 1180px) {
    .tool-workspace-layout {
        grid-template-columns: 1fr;
    }

    .tool-side-column {
        display: none;
    }

    .compressor-card {
        grid-template-columns: 1fr 0.85fr 1fr;
    }

    .tool-info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tool-info-card:nth-child(2) {
        border-right: 0;
    }

    .tool-info-card:nth-child(1),
    .tool-info-card:nth-child(2) {
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }
}

@media (max-width: 900px) {
    .site-header-light {
        background: #ffffff;
    }

    body.menu-open .site-header-light {
        background: #ffffff;
    }

    body.menu-open .site-header-light .main-nav {
        background: #ffffff;
    }

    body.menu-open .site-header-light::before {
        background: rgba(255, 255, 255, 0.62);
    }

    .site-header-light .main-nav {
        background: #ffffff;
    }

    .site-header-light .nav-item > a {
        color: #000000;
    }

    .site-header-light .dropdown a {
        color: rgba(0, 0, 0, 0.74);
    }

    .site-header-light .dropdown a:hover {
        color: #000000;
    }

    .site-header-light .dropdown-cta {
        background: transparent !important;
        color: rgba(0, 0, 0, 0.74) !important;
    }

    .tool-hero {
        padding: 32px 18px 18px;
    }

    .tool-workspace-section {
        padding: 12px 18px 54px;
    }

    .compressor-card {
        grid-template-columns: 1fr;
        border-radius: 22px;
    }

    .compressor-step {
        padding: 22px;
    }

    .compressor-step + .compressor-step {
        border-left: 0;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
    }

    .tool-primary-button {
        margin-top: 8px;
    }

    .upload-dropzone,
    .result-preview {
        min-height: 190px;
    }

    .ad-slot-horizontal {
        min-height: 82px;
        margin: 20px 0;
    }

    .faq-list {
        grid-template-columns: 1fr;
    }

    .more-tools-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .more-tools-grid a {
        min-height: 74px;
    }
}

@media (max-width: 560px) {
    .tool-page {
        letter-spacing: 0.045em;
    }

    .tool-hero h1 {
        font-size: clamp(1.55rem, 9vw, 2.45rem);
        line-height: 1.12;
    }

    .tool-hero p {
        font-size: 0.78rem;
        line-height: 1.55;
    }

    .compressor-card {
        border-radius: 18px;
    }

    .compressor-step {
        padding: 18px;
    }

    .step-heading {
        margin-bottom: 14px;
    }

    .step-heading h2 {
        font-size: 0.86rem;
    }

    .upload-dropzone {
        min-height: 178px;
        padding: 22px 16px;
        border-radius: 18px;
    }

    .upload-icon {
        width: 50px;
        height: 50px;
        border-radius: 17px;
        font-size: 1.7rem;
    }

    .upload-dropzone strong {
        font-size: 0.74rem;
    }

    .upload-dropzone small,
    .result-preview p {
        font-size: 0.66rem;
    }

    .upload-dropzone em,
    .tool-note,
    .tool-status {
        font-size: 0.58rem;
    }

    .setting-group select,
    .tool-primary-button,
    .tool-secondary-button {
        min-height: 46px;
        border-radius: 14px;
        font-size: 0.72rem;
    }

    .result-image-wrap {
        height: 132px;
    }

    .result-stats div {
        align-items: center;
    }

    .ad-slot span {
        font-size: 0.68rem;
    }

    .ad-slot strong {
        font-size: 0.62rem;
    }

    .tool-info-grid {
        grid-template-columns: 1fr;
        border-radius: 18px;
    }

    .tool-info-card {
        min-height: auto;
        padding: 17px;
        border-right: 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    .tool-info-card:last-child {
        border-bottom: 0;
    }

    .tool-info-card:nth-child(1),
    .tool-info-card:nth-child(2) {
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    .tool-faq {
        padding: 18px;
        border-radius: 18px;
    }

    .tool-faq h2,
    .more-tools h2 {
        text-align: left;
        font-size: 1.05rem;
    }

    .faq-list summary {
        font-size: 0.66rem;
    }

    .faq-list p {
        font-size: 0.62rem;
    }

    .more-tools-grid a {
        padding: 14px;
        border-radius: 15px;
        font-size: 0.72rem;
    }

    .more-tools-grid span {
        width: 40px;
        height: 40px;
        border-radius: 12px;
        font-size: 0.62rem;
    }
}
/* COMPACT PATCH - IMAGE COMPRESSOR */

/* Oculta correctamente los bloques con hidden */
.result-preview[hidden],
.result-content[hidden],
.selected-file[hidden] {
    display: none !important;
}

/* Menos espacio arriba para que la herramienta entre antes en pantalla */
.tool-hero {
    padding: 26px 28px 14px;
}

.tool-hero h1 {
    font-size: clamp(1.7rem, 3vw, 3.3rem);
}

.tool-hero p {
    margin-top: 10px;
    font-size: 0.88rem;
}

.tool-workspace-section {
    padding-top: 10px;
}

/* Card más compacta */
.compressor-card {
    grid-template-columns: 1fr 0.72fr 0.86fr;
}

/* Menos padding interno */
.compressor-step {
    padding: 22px;
}

/* Evita que el botón se vaya hasta abajo */
.tool-primary-button {
    margin-top: 18px;
}

/* Upload más bajo */
.upload-dropzone {
    min-height: 168px;
    padding: 20px 18px;
    gap: 7px;
}

.upload-icon {
    width: 50px;
    height: 50px;
    border-radius: 17px;
    font-size: 1.7rem;
}

.upload-dropzone em {
    margin-top: 4px;
}

/* Archivo seleccionado más compacto */
.selected-file {
    margin-top: 12px;
    padding: 10px 14px;
    border-radius: 14px;
}

/* Ajustes más compactos */
.setting-group {
    margin-bottom: 16px;
    gap: 8px;
}

.setting-group select {
    min-height: 46px;
}

.tool-note {
    margin-top: 12px;
}

/* Resultado más compacto */
.result-preview {
    min-height: 148px;
    padding: 18px;
}

.result-preview span {
    font-size: 2.25rem;
}

.result-image-wrap {
    height: 128px;
    border-radius: 18px;
}

.result-stats {
    gap: 7px;
}

.result-stats div {
    padding: 8px 12px;
}

.tool-secondary-button {
    margin-top: 10px;
}

/* En pantallas medianas mantiene todo más rápido de leer */
@media (max-width: 1180px) {
    .compressor-card {
        grid-template-columns: 1fr 0.75fr 0.9fr;
    }
}

@media (max-width: 900px) {
    .tool-hero {
        padding: 24px 18px 12px;
    }

    .tool-workspace-section {
        padding-top: 8px;
    }

    .compressor-card {
        grid-template-columns: 1fr;
    }

    .upload-dropzone,
    .result-preview {
        min-height: 150px;
    }

    .tool-primary-button {
        margin-top: 12px;
    }
}

@media (max-width: 560px) {
    .tool-hero {
        padding-top: 18px;
    }

    .tool-hero h1 {
        font-size: clamp(1.4rem, 7.5vw, 2rem);
    }

    .tool-hero p {
        font-size: 0.72rem;
    }

    .compressor-step {
        padding: 16px;
    }

    .upload-dropzone {
        min-height: 142px;
    }

    .result-image-wrap {
        height: 112px;
    }
}
/* AEO CONTENT BLOCK */

.tool-aeo-block {
    margin: 0 0 26px;
    padding: 28px;
    border-radius: 22px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.12);
}

.tool-aeo-block h2 {
    margin: 0 0 14px;
    color: #000000;
    font-size: clamp(1.2rem, 2vw, 1.7rem);
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: 0.045em;
}

.tool-aeo-block p {
    margin: 0 0 14px;
    color: rgba(0, 0, 0, 0.62);
    font-size: 0.78rem;
    line-height: 1.75;
    font-weight: 300;
    letter-spacing: 0.035em;
}

.tool-aeo-block p:last-child {
    margin-bottom: 0;
}

@media (max-width: 560px) {
    .tool-aeo-block {
        padding: 18px;
        border-radius: 18px;
    }

    .tool-aeo-block h2 {
        font-size: 1rem;
    }

    .tool-aeo-block p {
        font-size: 0.68rem;
    }
}
.tool-workspace-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: clamp(24px, 4vw, 48px);
    align-items: start;
}

.tool-main-column {
    min-width: 0;
}

.tool-side-column {
    display: block;
}

.tool-side-sticky {
    position: sticky;
    top: 110px;
}

.ad-label {
    font-size: 10px;
    line-height: 1;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.45);
    margin-bottom: 10px;
    text-align: center;
}

.ad-slot-vertical {
    width: 300px;
    min-height: 600px;
    margin: 0 auto;
    border-radius: 24px;
    overflow: hidden;
}

.ad-slot-adsense {
    display: block;
    background: transparent;
}

@media (max-width: 1100px) {
    .tool-workspace-layout {
        grid-template-columns: 1fr;
    }

    .tool-side-column {
        display: none;
    }
}
.ad-section-horizontal {
    width: 100%;
    margin: clamp(28px, 5vw, 56px) auto;
}

.ad-slot-horizontal {
    width: 100%;
    min-height: 90px;
    display: block;
    border-radius: 22px;
    overflow: hidden;
}

.ad-slot-horizontal .adsbygoogle {
    display: block;
    width: 100%;
    min-height: 90px;
}

@media (max-width: 768px) {
    .ad-section-horizontal {
        margin: 28px auto;
    }

    .ad-slot-horizontal {
        min-height: 250px;
    }

    .ad-slot-horizontal .adsbygoogle {
        min-height: 250px;
    }
}
/* READABILITY PATCH - HERRAMIENTAS */

.tool-page p {
    font-size: 0.88rem;
    line-height: 1.75;
    font-weight: 500;
}

/* Textos largos SEO / AEO */
.tool-aeo-block p {
    font-size: 0.9rem;
    line-height: 1.8;
    font-weight: 500;
}

/* Cards informativas */
.tool-info-card p {
    font-size: 0.78rem;
    line-height: 1.7;
    font-weight: 500;
}

/* FAQs */
.faq-list p {
    font-size: 0.78rem;
    line-height: 1.7;
    font-weight: 500;
}

/* Notas y estados, siguen pequeños pero legibles */
.tool-status,
.tool-note,
.bg-edit-help,
.bg-privacy-note {
    font-size: 0.74rem;
    line-height: 1.6;
    font-weight: 500;
}
@media (max-width: 560px) {
    .tool-page p {
        font-size: 0.82rem;
        line-height: 1.7;
    }

    .tool-aeo-block p,
    .faq-list p,
    .tool-info-card p {
        font-size: 0.78rem;
    }

    .tool-status,
    .tool-note,
    .bg-edit-help,
    .bg-privacy-note {
        font-size: 0.7rem;
    }
}