/* -------------------- */
/*     FONT SETUP       */
/* -------------------- */

.manufacturing-consent {
  font-family: "Manufacturing Consent", system-ui;
  font-weight: 400;
  font-style: normal;
}

.monsieur-la-doulaise {
  font-family: "Monsieur La Doulaise", cursive;
  font-weight: 400;
  font-style: normal;
}

/* -------------------- */
/*     GLOBAL RESET     */
/* -------------------- */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  background-color: #C71212;
  color: #00235C;
  font-family: 'Open Sans', sans-serif;
  padding: 20px;
}

/* -------------------- */
/*       HEADERS        */
/* -------------------- */

h1 {
    font-family: "Monsieur La Doulaise", cursive;
    font-size: 70px;
    margin-bottom: 20px;
}

h2 {
    font-family: "Monsieur La Doulaise", cursive;
    font-size: 40px;
    margin-bottom: 15px;
    font-weight: normal;
}

h3 {
    font-family: "Manufacturing Consent", system-ui;
    font-size: 60px;
    color: var(--primary-color);
}

.title,
{
  font-family: "Monsieur La Doulaise", cursive;
  
}

.sidebar-title,
nav a,
.block-1 h2 {
  font-family: "Manufacturing Consent", system-ui;
}

/* -------------------- */
/*       TITLE          */
/* -------------------- */

.title {
  padding-left: 0.5rem;
  padding-top: 1rem;
  font-size: 60px;
  line-height: 20px;
  position: relative;
  z-index: 1;
}

/* -------------------- */
/*     MAIN CONTAINER   */
/* -------------------- */

.container {
  display: flex;
  flex-direction: row;
  gap: 1rem;
}




/* -------------------- */
/*    PHOTO GALLERY     */
/* -------------------- */

/* Default gallery: 4 columns */
.gallery {
  column-count: 4;
  column-gap: 20px;
}

.gallery img {
  width: 100%;
  display: inline-block;  /* prevents collapsing in columns */
  padding-bottom: 20px;   /* vertical spacing under images */
  break-inside: avoid;
}



/* Responsive breakpoints */

/* Tablets / medium screens */
@media (max-width: 900px) {
  .gallery {
    column-count: 3;      /* 4-column default shrinks to 3 */
  }
  .gallery--3col {
    column-count: 2;      /* 3-column page shrinks to 2 */
  }
}

/* Mobile / small screens */
@media (max-width: 600px) {
  .gallery {
    column-count: 2;      /* 4-column default shrinks to 2 */
  }
  .gallery--3col {
    column-count: 1;      /* 3-column page shrinks to 1 */
  }
}


/* -------------------- */
/*      SIDEBAR         */
/* -------------------- */

.block-1 {
  flex-basis: 250px;
  flex-grow: 0;
  flex-shrink: 0;
  padding: 20px;
  display: flex;
  flex-direction: column;
  row-gap: 10px;
  background-color: #BBE3F2;
}

.pfp {
  width: 100%;
  border: 2px solid #5c3443;
}

.block-1 ul {
  padding-left: 2.5em;
}

.block-1 li {
  font-style: italic;
  font-size: 20px;
}

.sidebar-title {
  font-size: 30px;
}
/* -------------------- */
/*  SIDEBAR BOTTOM IMAGE */
/* -------------------- */
.sidebar-avatar {
  width: 100px;
  display: block;
  margin-top: auto;  
}
/* -------------------- */
/*    CONTENT BOXES - TWO COLUMNS GRID WITH FULL-WIDTH TITLE    */
/* -------------------- */

.area.two-columns {
  background-color: #BBE3F2;
  padding: 1rem;
  border-left: 4px solid #2780A3;
  /* no grid here — just full width blue box */
}

/* Inner wrapper for the columns */
.area.two-columns .columns-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr; /* two columns */
  gap: 60px;

  max-width: 800px; /* total width of the two columns */
  margin: 0 auto;   /* center columns inside the blue box */
}

/* Title spans full width of the blue box */
.area.two-columns h2 {
  margin-bottom: 0.5rem;
}

/* Date spans full width of the blue box */
.area.two-columns .date {
  font-size: 13px;
  margin-bottom: 1rem;
  color: #00235C;
}

/* Stack content inside each column */
.area.two-columns .columns-wrapper > div {
  display: flex;
  flex-direction: column;
  row-gap: 1rem;
}

/* Images stay within their column */
.area.two-columns img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile: collapse to single column */
@media (max-width: 600px) {
  .area.two-columns .columns-wrapper {
    grid-template-columns: 1fr;
  }
}


/* -------------------- */
/*     MAIN CONTENT     */
/* -------------------- */

.block-2 {
  flex-grow: 8;
  flex-basis: 0;
  max-width:1200px;
}

.content {
  display: flex;
  flex-direction: column;
  row-gap: 1rem;
}

/* CONTENT BOXES */

.area {
  background-color: #BBE3F2;
  padding: 1rem;
  border-left: 4px solid #2780A3;
  display: flex;
  flex-direction: column;
  row-gap: 1rem;
}
.area img {
  max-width: 100%;
  height: auto;
  display: block;
}


/* ENTRY HEADER */

.postheadwrapper {
  display: flex;
  justify-content: space-between;
}

.posthead {
  align-self: center;
  font-size: 40px;
}

.posth2 {
  font-size: 26px;
}

.date {
  font-size: 13px;
}

/* ENTRY ICON */

.icon {
  width: 200px;
  opacity: 1;
  border: 0px solid #5c3443;
  align-self: center;
}

/* -------------------- */
/*       MOBILE         */
/* -------------------- */

@media (max-width: 480px) {
  .container {
    flex-direction: column;
  }
  .block-1 {
    height: auto;
    text-align: center;
  }
  .pfpwrapper {
    display: flex;
    justify-content: center;
  }
  .pfp {
    width: 80%;
  }
  .block-1 ul, li {
    display: inline;
    padding: 0;
  }
  .block-1 li {
    margin-left: 5px;
  }
  .title {
    text-align: center;
    font-size: 44px;
  }
}

/* -------------------- */
/*        LINKS         */
/* -------------------- */

a {
  color: #00235C;
  text-decoration: none;
}

a:visited {
  color: #00235C;
}

a:hover {
  font-weight: bold;
}

a:active {
  font-weight: normal;
}

/* -------------------- */
/*     SCROLLBAR        */
/* -------------------- */

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background-color: transparent;
}

::-webkit-scrollbar-thumb {
  background-color: #2780A3;
}

/* -------------------- */
/*       CREDIT         */
/* -------------------- */

#credit {
  font-size: 12px;
  position: fixed;
  bottom: 0;
  right: 0;
}
