/* ==========================================
                Hero section
    =========================================*/
.hero-section {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: flex-start;
    min-height: 60vh;
    background: var(--herosection-bg-img);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
}

.hero-container {
    position: relative;
    z-index: 1;
    flex: 1 1 300px;
    min-width: 300px;
    max-width: 600px;
    margin: 0 0 0 2rem;
    font-family: var(--font-family-hero);
    color: #fafeff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
}

.hero-title,
.hero-acronym,
.hero-mode {
    margin: 0 0 0.5rem 0;
    padding: 0 1rem 0 0;
    line-height: 1.3;
}

.hero-title {
    font-family: var(--font-family-hero);
    font-weight: 700;
    font-size: clamp(2.1rem, 4vw, 3.5rem);
    letter-spacing: -1px;
    color: #fff;
    text-align: left;
    margin-bottom: 0.3em;
}

.hero-acronym {
    font-family: var(--font-family-hero);
    font-size: clamp(1.5rem, 2.5vw, 2.5rem);
    font-weight: 900;
    color: var(--accent-color);
    letter-spacing: 0.07em;
    text-shadow: 0 0 15px #16e7ff44, 0 2px 10px #00000018;
    margin-bottom: 0.3em;
}

.hero-mode {
    display: inline-block;
    font-family: var(--font-family-hero);
    background: rgba(26, 27, 37, 0.52);
    color: var(--accent-color);
    font-size: clamp(1.05rem, 2vw, 1.15rem);
    font-weight: 500;
    padding: 0.45em 1.2em;
    border-radius: 20px;
    box-shadow: 0 2px 18px #13182c15;
    letter-spacing: 0.04em;
    margin-bottom: 1.2em;
    margin-left: 0;
    border: 1px solid rgba(251, 192, 45, 0.22);
}

.hero-details {
    display: flex;
    flex-direction: column;
    gap: 0.85em;
    padding: 0 1rem;
}

.hero-detail {
    display: flex;
    align-items: center;
    font-family: var(--font-family-base);
    gap: 0.8em;
}

.hero-detail-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1em;
    color: var(--accent-color);
    background: rgba(251, 192, 45, 0.13);
    border-radius: 50%;
    width: 2.1em;
    height: 2.1em;
    margin-right: 0.6em;
}

.hero-detail-text {
    color: #fafeff;
    font-size: 1.05em;
    letter-spacing: 0.01em;
    font-family: var(--font-family-secondary);
    font-weight: 500;
}

.fas {
    color: var(--accent-color);
    filter: drop-shadow(0 2px 7px rgba(251, 192, 45, 0.19));
}

.hero-organised-by {
    font-size: 0.95rem;
    font-family: var(--font-family-secondary);
    color: #ebe5cb;
    margin-top: 0.8em;
    margin-bottom: 0.4em;
}

.hero-organised-by h3 {
    font-size: 1.1rem;
    color: var(--accent-color);
    font-family: var(--font-family-hero);
    letter-spacing: 0.05em;
    margin: 0;
    padding: 0;
}

/* ==========================================
                Call for paper
    =========================================*/
.call-for-paper-container {
    z-index: 1;
    flex: 0 0 350px;
    min-width: 300px;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    border-radius: 1.2em;
    box-shadow: 0 6px 28px 0 rgba(255, 255, 255, 0.53), 0 2px 8px 0 rgba(255, 255, 255, 0.59);
    padding: 0;
    overflow: hidden;
    min-height: 300px;
    margin: 1em 5rem 0 auto;
    background: transparent;
}

/* Upper box: image as bg and overlaid text */
.cfp-img-bgtext {
    position: relative;
    display: flex;
    align-items: end;
    justify-content: start;
    width: 100%;
    min-height: 150px;
    background: var(--callfp-bg-img);
    backdrop-filter: blur(10px);
    overflow: hidden;
    padding: 1rem;
}

.cfp-bg-text {
    font-size: clamp(1rem, 2vw, 2rem);
    font-family: var(--font-family-secondary, 'Montserrat', sans-serif);
    color: #ffffff;
    font-family: var(--font-family-hero, 'Roboto', sans-serif);
}

/* Bottom box: white background, black text */
.cfp-details {
    background: #fff;
    color: #181a1f;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1em;
    max-width: 520px;
    width: 100%;
    padding: 2em 2.6em;
    box-sizing: border-box;
    border-bottom-left-radius: 1.2em;
    border-bottom-right-radius: 1.2em;
}

.cfp-details h3 {
    font-size: 1.22em;
    color: var(--light-bg-txt-subheader);
    font-family: var(--font-family-hero, 'Montserrat', sans-serif);
    letter-spacing: 0.02em;
    margin: 0 0 0.5em 0;
    font-weight: 700;
}

.cfp-details p {
    color: #181a1f;
    font-family: var(--font-family-hero, 'Roboto', sans-serif);
    font-size: 1em;
    margin-bottom: 0.7em;
    line-height: 1.6;
}

.cfp-details p span {
    color: var(--primary-btn-clr);
    font-weight: bold;
    background: var(--accent-color);
    padding: 0.07rem 0.38rem 0.09rem;
    border-radius: 0.3em;
    font-size: 1.02em;
    letter-spacing: 0.01em;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}
