/***** START IC FORUMS *****/

* {
  box-sizing: border-box;
}

.container {
  display: flex;
  width: 100%;
  height: 500px;
  overflow: hidden;
}

.north,
.east,
.south,
.west {
  flex: 2;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.north {
  background-image:
    linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.08)),
    url(https://images.unsplash.com/photo-1505235901362-40f1b8b91573?q=80&w=2078&auto=format&fit=crop);
}

.east {
  background-image:
    linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.08)),
    url(https://images.unsplash.com/photo-1621409771865-6e6ed95ef57d?q=80&w=1974&auto=format&fit=crop);
}

.south {
  background-image:
    linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.08)),
    url(https://images.unsplash.com/photo-1618444304243-251c411a5d9e?q=80&w=1965&auto=format&fit=crop);
}

.west {
  background-image:
    linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.08)),
    url(https://images.unsplash.com/photo-1714259666126-857958980547?q=80&w=1974&auto=format&fit=crop);
}

.overlay {
  background-color: rgba(0, 0, 0, 0.3);
  padding: 28px 36px;
  color: #fff;
  max-width: 78%;
  text-align: left;
  border-radius: 25px;
  overflow: hidden;
}

.overlay h1 {
  font-size: 2.3em;
  margin: 0 0 14px;
  font-weight: bold;
  letter-spacing: 2px;
  line-height: 1;
}

.description p {
  font-size: 0.95em;
  line-height: 1.55em;
  color: #ccc;
  margin: 0;
}

.right {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.section {
  flex: 1;
  min-height: 0;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  padding: 10px 14px;
  color: #fff;
  text-shadow: 1px 1px 2px #000;
  overflow: hidden;
}

/* ? FIX: overlay no longer blocks clicks */
.section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.12));
  z-index: 1;
  pointer-events: none;
}

.section-content {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-width: 0;
}

.section-text {
  background: rgba(0, 0, 0, 0.45);
  padding: 10px 16px;
  border-radius: 20px;
  max-width: 58%;
}

.section h2 {
  font-size: 0.95em;
  font-style: italic;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0 0 4px;
  line-height: 1.15;
}

.section p {
  font-size: 0.72em;
  line-height: 1.3;
  margin: 0;
}

.last-post {
  background: rgba(0, 0, 0, 0.45);
  padding: 10px 16px;
  border-radius: 20px;
  font-size: 0.68em;
  color: #ccc;
  max-width: 42%;
  text-align: right;
  line-height: 1.3;
}

.last-post a,
.section a {
  color: inherit;
  text-decoration: none;
  position: relative;
  z-index: 3; /* extra safety */
}

.last-post a:hover,
.section a:hover {
  text-decoration: underline;
}

/***** END IC FORUMS *****/
		
		/* START OOC FORUMS */

.forum-container {
  padding-left: 50px;
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns */
    gap: 20px; /* Space between forums */
    width: 90%;
    max-width: 2000px;
}

.forum {
    background-color: #120F12;
    border: 1px solid #211b21;
    padding: 10px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.forum-header {
    margin-bottom: 20px;
}

.forum-header h2 {
    font-size: 22px;
  font-family: 'Crimson Text', serif;
  text-transform: uppercase;
  font-style: italic;
    margin-bottom: 5px;
}

.last-poster {
    font-size: 14px;
    color: #777;
    margin-top: 5px;
}

.subForums {
    text-align: center;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Style for the double fading HR */
hr.double-fade {
    border: none;
    height: 1px;
    background: linear-gradient(to right, transparent, #333 20%, transparent);
    margin: 20px 0;
}

.news {
  background: rgba(0,0,0,.3);
  padding:10px;
  transition: 0.5s ease;
  text-align:center;
  border-bottom:1px solid rgba(0,0,0,.3);
}

.proheader {
  font-style: italic;
  background-color: hsl(280,13%,5%, .8);
  padding:20px;
  margin-bottom: 10px;
  color:#888;  
  font-family: 'Crimson Text', serif;
  letter-spacing:2px;
  text-align:LEFT;
}


/*** END OOC FORUMS ***/
		

/* Tablet */
@media (max-width: 1000px) {
  .container {
    flex-direction: column;
    height: auto;
  }

  .north,
  .east,
  .south,
  .west {
    min-height: 400px;
  }

  .right {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .section {
    flex: 1 1 50%;
    min-height: 120px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .section {
    flex: 1 1 100%;
  }

  .section-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .section-text,
  .last-post {
    max-width: 100%;
    text-align: left;
  }

  .overlay {
    padding: 20px;
  }
}