* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #F3F3F3; 
}

.container {
    width: 100%;
    display: flex;
    flex-wrap: nowrap;       /* row on desktop */
    overflow-x: auto;        /* allow horizontal scroll */
    overflow-y: hidden;      
    gap: 100px;
    scroll-behavior: smooth;
    padding-left: 10%;
    padding-right: 10%;
    padding-bottom: 5%;

    /* hide scrollbar */
    scrollbar-width: none;   
    -ms-overflow-style: none;
}
.container::-webkit-scrollbar {
    display: none;
}

.column {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.column img {
    height: auto;
    width: auto;
    max-height: 60vh;
    max-width: 100%;
}

/* 📱 Mobile: stack and fit images to full width */
@media (max-width: 768px) {
  .container {
    flex-direction: column;   /* stack vertically */
    overflow-x: hidden;       /* remove horizontal scroll */
    gap: 20px;
    padding-left: 3%;
    padding-right: 5%;

  }

  .column {
    width: 100%;
    flex: 0 0 auto;
    margin: 0;
    display: block;
  }

  .column img {
    width: 100%;              /* stretch to screen width */
    height: auto;
    max-height: none;         /* no cutoff */
    display: block;
  }
}



/* 3 col block for curation page */


.block {
    width: 100%;
    display: flex;
    flex-wrap: nowrap;       /* row layout on desktop */
    overflow-x: auto;        /* allow horizontal scroll if needed */
    gap: 40px;
    scroll-behavior: smooth;
    padding-left: 10%;
    padding-right: 10%;
    padding-bottom: 5%;

    /* hide scrollbar */
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.block::-webkit-scrollbar {
    display: none;
}

.columnblock {
    flex: 0 0 auto;          
    display: flex;
    justify-content: center;
    align-items: center;
}

.columnblock img {
    height: auto;
    width: auto;
    max-height: 60vh;
    max-width: 100%;
}

/* 📱 Mobile: stack and fit images to full width */
@media (max-width: 768px) {
  .block {
    flex-direction: column;   /* stack vertically */
    overflow-x: hidden;       /* remove horizontal scroll */
    gap: 20px;                /* space between stacked images */
    padding-left: 3%;
    padding-right: 3%;
  }

  .columnblock {
    width: 100%;              /* full screen width */
    flex: 0 0 auto;
    margin: 0;
    display: block;
  }

  .columnblock img {
    width: 100%;              /* stretch to screen width */
    height: auto;
    max-height: none;         /* no cutoff */
    display: block;
  }
}

    
    





/* 3 col block for curation page - END */







.textpadtop {
    margin: 0;
    width: 100%;
    padding-left: 3%;
    padding-right: 2%;
    padding-top: 3%;
    padding-bottom: 7%;
    display: flex;
    justify-content: space-between; /* header left, menu right */
    align-items: center;
    flex-wrap: wrap; /* allows wrapping on mobile */
}

/* On small screens, stack header and menu */
@media (max-width: 768px) {
    .textpadtop {
        padding-top: 6%;
        flex-direction: column;
        align-items: flex-start; /* header left, menu below aligned left */
    }

    .textpadtop .skgrey {
        margin-top: 8px; /* space between header and menu */
    }
}

.textpad {
    margin: 0;
    width: 100%;
    padding-left: 3%;
    padding-right: 2%;
    padding-top: 3%;
    padding-bottom: 7%;
}

.textpadbody {
    margin: 0;
    width: 70%;
    padding-left: 3%;
    padding-right: 2%;
    padding-top: 3%;
    padding-bottom: 7%;
}

/* On mobile, make it wider (90%) */
@media (max-width: 768px) {
  .textpadbody {
          width: 98%;
    max-width: 90%;
    margin: 0px 0px 0px 0px;
  }
}


.black {
    font-size: 8pt;
    font-family: 'Lato', Verdana, Arial, sans-serif;
    color: #000000;
    line-height: 150%;
}

.skgrey {
    font-size: 8pt;
    font-family: 'Lato', Verdana, Arial, sans-serif;
    color: #848484;
    line-height: 150%;
}

.skheader {
    font-size: 12pt;
    font-family: Arial, 'Lato', Verdana, sans-serif;
    color: #000000;
    line-height: 150%;
    font-weight: bold;

}

.subheader {
    font-size: 10pt;
    font-family: Arial, 'Lato', Verdana, sans-serif;
    color: #000000;
    line-height: 150%;
    font-weight: bold;

}
.skmain {
    font-size: 8pt;
    font-family: 'Lato', Verdana, Arial, sans-serif;
    color: #000000;
    line-height: 150%;
}


.menutext {
    font-size: 8pt;
    font-family: 'Lato', Verdana, Arial, sans-serif;
    color: #000000; /* grey for normal link */
    text-decoration: none; /* no underline */
    margin-right: 15px; /* space between menu items */
}

.footer {
    font-size: 8pt;
    font-family: 'Lato', Verdana, Arial, sans-serif;
    color: #848484;
    line-height: 150%;
    margin-right: 15px; /* space between menu items */
}




a.menu:link {
    font-size: 8pt;
    font-family: 'Lato', Verdana, Arial, sans-serif;
    color: #848484; /* grey for normal link */
    text-decoration: none; /* no underline */
    margin-right: 15px; /* space between menu items */
}

a.menu:visited {
    font-size: 8pt;
    font-family: 'Lato', Verdana, Arial, sans-serif;
    color: #848484; /* grey for normal link */
    text-decoration: none; /* no underline */
    margin-right: 15px; /* match spacing */
}

a.menu:hover {
    font-size: 8pt;
    font-family: 'Lato', Verdana, Arial, sans-serif;
    color: #000000; /* black on hover */
    text-decoration: none; /* no underline */
    margin-right: 15px; /* keep spacing consistent */
}



a.textmenu:link {
    font-size: 8pt;
    font-family: 'Lato', Verdana, Arial, sans-serif;
    color: #000000; /* grey for normal link */
    text-decoration: underline; /* underline on hover */
}

a.textmenu:visited {
    font-size: 8pt;
    font-family: 'Lato', Verdana, Arial, sans-serif;
    color: #000000; /* grey for normal link */
    text-decoration: underline; /* underline on hover */
}

a.textmenu:hover {
    font-size: 8pt;
    font-family: 'Lato', Verdana, Arial, sans-serif;
    color: #848484; /* black on hover */
    text-decoration: underline; /* underline on hover */

}








/* Popover styles */
.popover {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: #F3F3F3;
    justify-content: center;
    align-items: center;
}

.popover-content {
    margin: auto;
    display: block;
    width: auto;          /* don’t force width */
    max-width: 95%;       /* keep inside screen width */
    max-height: 90vh;     /* fits within 90% of browser height */
    height: auto;         /* preserve aspect ratio */
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #8A8A8A;
    font-size: 40px;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #000;
    cursor: pointer;
}
