/* =====================================================
   ARTICLES READY FOR PUBLICATION - HERO SECTION
===================================================== */
.ready-publication-section {
    width: 100%;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background-color: transparent !important;
    background-image: none !important;
    /*border-top: 2px solid #f78118;*/
    padding: 48px 20px 42px;
    box-sizing: border-box;
    /*font-family: "PT Serif", serif;*/
}

/* Background only: keep all hero text/form content at full opacity. */
.ready-publication-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: url("../images/molecule-hero-bg.svg");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    opacity: 0.4;
    pointer-events: none;
}

.ready-publication-inner {
    width: 100%;
    max-width: 956px;
    margin: 0 auto;
}

.ready-publication-label {
    margin-bottom: 12px;
    color: #f9a24a;
    font-size: 10px;
    line-height: 1.4;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.ready-publication-title {
    margin: 0 0 10px;
    padding: 0;
    color: #123f6d;
    /*font-family: Georgia, "Times New Roman", serif;*/
    font-size: 40px;
    line-height: 1.15;
    font-weight: 700;
}

.ready-publication-description {
    max-width: 650px;
    margin: 0 0 24px;
    padding: 0;
    color: #52697e;
    font-size: 14px;
    line-height: 1.65;
}

.ready-publication-search-box {
    position: relative;
    background: rgba(255, 255, 255, 0.96);
    padding: 22px 18px 18px;
    border-left: 4px solid #f78118;
    border-top: 1px solid #dbe5ee;
    border-right: 1px solid #dbe5ee;
    border-bottom: 1px solid #dbe5ee;
    box-shadow: 0 10px 28px rgba(31, 67, 104, 0.10);
    box-sizing: border-box;
}

.ready-form-group label {
    display: block;
    margin-bottom: 7px;
    color: #1f3f5f;
    font-size: 12px;
    line-height: 1;
    font-weight: 700;
    text-transform: uppercase;
}

.ready-search-wrapper {
    display: flex;
    width: 100%;
    margin-bottom: 17px;
}

.ready-search-wrapper .ready-search-criteria {
    flex: 0 0 125px;
    width: 125px;
    height: 44px;
    padding: 0 28px 0 10px;
    border: 1px solid #c9d1d8;
    border-right: 0;
    border-radius: 0;
    outline: none;
    box-sizing: border-box;
    background-color: #ffffff;
    color: #172d41;
    font-size: 11px;
    font-weight: 600;
}

.ready-search-wrapper input {
    flex: 1;
    min-width: 0;
    height: 44px;
    padding: 0 13px;
    border: 1px solid #c9d1d8;
    border-right: 0;
    border-radius: 0;
    outline: none;
    box-sizing: border-box;
    background: #ffffff;
    color: #333333;
    font-size: 13px;
}

.ready-search-wrapper input::placeholder {
    color: #777777;
}

.ready-search-wrapper .ready-search-criteria:focus,
.ready-search-wrapper input:focus {
    border-color: #2b5b8a !important;
}

.ready-search-wrapper button {
    width: 46px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: #2b5b8a;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease;
}

.ready-search-wrapper button:hover {
    background: #1f4368;
}

.ready-filter-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 11px;
}

.ready-form-group select {
    width: 100%;
    height: 30px;
    padding: 0 9px;
    border: 1px solid #c9d1d8;
    border-radius: 0;
    outline: none;
    box-sizing: border-box;
    background: #ffffff;
    color: #172d41;
    font-size: 11px;
    font-weight: 600;
}

.ready-form-group select:focus {
    border-color: #2b5b8a !important;
}

@media (max-width: 768px) {
    .ready-publication-section {
        padding: 35px 15px;
    }

    .ready-publication-title {
        font-size: 32px;
    }

    .ready-filter-row,
    .ready-filter-row--with-criteria {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}

@media (max-width: 480px) {
    .ready-publication-title {
        font-size: 27px;
    }

    .ready-publication-description {
        font-size: 13px;
    }

    .ready-publication-search-box {
        padding: 18px 14px;
    }

    .ready-search-wrapper {
        display: grid;
        grid-template-columns: 1fr 44px;
    }

    .ready-search-wrapper .ready-search-criteria {
        grid-column: 1 / -1;
        width: 100%;
        border-right: 1px solid #c9d1d8;
        border-bottom: 0;
    }

    .ready-search-wrapper input {
        width: 100%;
        border-right: 0;
        margin-bottom: 0;
    }

    .ready-search-wrapper button {
        width: 44px;
    }
}


/* =====================================================
   HERO SECTION REFINEMENTS
===================================================== */
.ready-publication-inner {
    max-width: 1200px;
}

.ready-publication-title,
.ready-publication-description,
.ready-publication-label {
    max-width: 760px;
}

.ready-publication-search-box {
    border-radius: 14px;
    padding: 22px 22px 20px;
    box-shadow: 0 18px 36px rgba(31, 67, 104, 0.10);
}

.ready-search-wrapper {
    gap: 10px;
    margin-bottom: 16px;
}

.ready-search-wrapper .ready-search-criteria,
.ready-search-wrapper input {
    height: 48px;
    border-right: 1px solid #c9d1d8;
}

.ready-search-wrapper .ready-search-criteria {
    flex-basis: 150px;
    width: 150px;
}

.ready-search-wrapper button {
    width: auto;
    min-width: 108px;
    padding: 0 18px;
    border-radius: 6px;
    letter-spacing: .6px;
    text-transform: uppercase;
}

.ready-search-button__label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
}

.ready-filter-row {
    gap: 14px;
}


/* Title: on large screens "Bentham Open Science peer review." is the second line (never broken);
   on small screens the title simply wraps, with no forced line break. */
.ready-publication-title__line {
    display: inline;
}

@media (min-width: 992px) {
    .ready-publication-title__line {
        display: block;
        white-space: nowrap;
    }
}

/* ---------- Disclaimer box (below the Live Articles / Registered Journals boxes) ---------- */
.ready-publication-disclaimer {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    max-width: 100% !important;
    margin: 18px 0 6px;
    padding: 18px 22px;
    border: 1px solid #f0d7ad3d;
    /*border: 1px solid #f0d7ad;*/
    border-radius: 14px;
    /*background: linear-gradient(135deg, #fffaf2 0%, #fff4e3 100%);*/
    background: linear-gradient(135deg, #fffaf2 0%, #fff4e314 100%);
    /*box-shadow: 0 6px 18px rgba(180, 110, 20, 0.08);*/
    box-shadow: 0 6px 18px rgb(216 197 173 / 5%);
    color: #5b4a2e;
}

.rpd-icon {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #f7a54a;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(247, 129, 24, 0.3);
}

.rpd-body {
    min-width: 0;
    flex: 1 1 auto;
}

.rpd-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
    margin: 0 0 8px;
}

.rpd-title {
    color: #3f2f14;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.rpd-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.rpd-tags li {
    padding: 3px 10px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #efcf9c;
    color: #9a5a12;
    font-size: 11.5px;
    font-weight: 700;
    line-height: 1.5;
    white-space: nowrap;
}

.rpd-text {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.7;
    color: #5b4a2e;
}

.ready-publication-disclaimer a {
    color: #b3620f !important;
    font-weight: 700;
    text-decoration: underline !important;
    text-underline-offset: 2px;
}

.ready-publication-disclaimer a:hover,
.ready-publication-disclaimer a:focus {
    color: #7a3f06 !important;
}

@media (max-width: 575px) {
    .ready-publication-disclaimer {
        gap: 12px;
        padding: 16px 14px;
    }
    .rpd-icon {
        width: 32px;
        height: 32px;
        flex-basis: 32px;
        border-radius: 9px;
    }
    .rpd-icon svg {
        width: 18px;
        height: 18px;
    }
    .rpd-text {
        font-size: 13px;
    }
}

/* Disclaimer footnote (tiny, not bold) */
.rpd-footnote {
    margin: 8px 0 0;
    font-size: 11.5px;
    line-height: 1.55;
    font-weight: 400;
    color: #8a7a5c;
}
