/* Reset and ensure no unexpected margins */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


@font-face {
    font-family: "Lora";
    src: url("/fonts/Lora-Regular.ttf");
}

@font-face {
    font-family: "Rubic";
    src: url("/fonts/Rubik-Bold.ttf");
}

@font-face {
    font-family: "Noto";
    src: url("/fonts/NotoSerifHebrew-Regular.ttf");
}

:root {
    --accent-color: #007acc;
    --grid-color: var(--p-yellow);


    --p-yellow: #f8dd07;
    --p-purple: #881f7e;
    --p-orange: #e09b1c;
    --p-red: #c30f1b;
    --p-blue: #312d81;
}

.logo {
    position: absolute;
    font-weight: bold;

    font-family: 'Rubic', 'Segoe UI', sans-serif;

    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    /* sit on top of the image */
    color: #e2e2e2;
    /* fluid typography: min 2rem, ideal 8vw, max 6rem */

    font-size: clamp(1.2rem, 20vw, 6rem);


}


html,
body {
    min-height: 20vh;
    overflow-x: hidden;
    font-family: sans-serif;
    background-color: #e2e2e2;
    margin-bottom: 100px;
}

.splash {
    width: 100%;
    height: 100vh;
    /* full viewport height */
    /* scale and crop to fill */
    position: relative;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100vh;
    /* full viewport height */
    object-fit: cover;
    /* scale and crop to fill */
    display: block;
    /*border: 10px solid var(--p-blue);*/

}

body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.issue {

    /* border: 2px solid var(--grid-color); */
    /* max-width: 600px; */
    margin-left: 10px;
    margin-right: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
}



.issue-list {
    display: grid;
    grid-template-columns: 1fr;
    font-family: "Lora";

}


div.article[order="1"] {}

.article {
    display: flex;
    width: 100%;
    /* min-width: 600px; */
    box-sizing: border-box;
    border-top: 2px solid rgba(119, 136, 153, 0.164);
    padding: 15px;
    align-items: flex-start;

    text-align: center;

}

.issue-title {
    padding: 10px;
    font-size: 50px;
    font-weight: 800;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
    font-family: 'Lora';
}

.issue-title h2 {
    color: var(--p-blue);
    font-size: clamp(35px, 12vw, 60px);

}

.issue-title h3 {
    color: var(--p-blue);
    font-size: clamp(30px, 8vw, 30px);
}




a.article-info,
a.article-info:link,
a.article-info:visited {
    /* keep your flex layout */
    text-decoration: none !important;
    color: inherit !important;
}


/* Fluid, clamped font sizes with fallback */
.article .title {
    font-weight: 500;
    text-align: left;
    font-size: clamp(0.5rem, 6vw, 1.6rem);
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
    margin-bottom: 0.4rem;
}

.article .title_he {

    font-weight: lighter;
    text-align: left;
    font-size: clamp(0.5rem, 6vw, 1.6rem);
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
    margin-bottom: 0.4rem;
    font-family: "Noto";
}

.article .name {
    font-weight: 500;
    color: var(--p-blue);
    text-align: left;
    font-size: clamp(0.875rem, 5vw, 1.2rem);
}


.article[order="img"] {

    border-bottom: none;
    background-color: rgb(199, 199, 166);
    display: flex;
    padding-top: 15px;
    padding-left: 15px;

}

.article[order="img"] .img {

    width: 150px;
    /* or whatever max width you prefer */
    height: 100px;
    /* preserve aspect ratio */
    overflow: hidden;
    /* hide the parts of the image that overflow */
}

.article[order="img"] .info {

    margin-left: 20px;
}