/*  phpBB3 Style Sheet
    --------------------------------------------------------------
	Style name:			prosilver (the default phpBB 3.3.x style)
	Based on style:
	Original author:	Tom Beddard ( http://www.subblue.com/ )
	Modified by:		phpBB Limited ( https://www.phpbb.com/ )
    --------------------------------------------------------------
*/

@import url("normalize.css?hash=48eb3f89");
@import url("base.css?hash=7c5543be");
@import url("utilities.css?hash=d8f72c42");
@import url("common.css?hash=843d5d5f");
@import url("links.css?hash=18286e16");
@import url("content.css?hash=d0e24377");
@import url("buttons.css?hash=56f0d25f");
@import url("cp.css?hash=50d868ab");
@import url("forms.css?hash=9016b55c");
@import url("icons.css?hash=64da33ce");
@import url("colours.css?hash=fcb2f289");
@import url("responsive.css?hash=c9d32cba");

#logo img {
  max-width: 150px;   /* Adjust this value to your preferred size */
  height: auto;
  display: block;
  margin: 0 auto;     /* Center horizontally */
}
#logo {
  text-align: left;
}
#logo img {
  max-width: 250px;
  height: auto;
}

.post-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  padding: 12px;
  margin-bottom: 12px;
}
.new-post-button {
  text-align: center;
  margin: 20px 0;
}

/* Lighter blue palette */
:root {
  --blue-base: #6fb3ff;    /* primary lighter blue */
  --blue-hover: #8fd0ff;   /* hover lighter blue */
  --blue-border: #5aa6ff;  /* border accent */
  --blue-text: #033a63;    /* dark text for contrast */
  --blue-dark: #3b7fbf;    /* subtle darker for active states if needed */
}

.new-post-button .btn {
  background-color: var(--blue-base);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: 1px solid var(--blue-border);
}

.new-post-button .btn:hover {
  background-color: var(--blue-hover);
  color: var(--blue-text);
}

/* Duplicate block removed; unified styles below */
.post-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  padding: 16px;
  margin-bottom: 16px;
}
.navlinks {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 10px 0;
  border-bottom: 1px solid #ccc;
  padding-bottom: 8px;
}

.navlinks li {
  list-style: none;
}

.navlinks a {
  font-weight: bold;
  text-decoration: none;
  color: #333;
}

.navlinks a:hover {
  text-decoration: underline;
}
.new-post-button {
  text-align: center;
  margin: 20px 0;
}

.new-post-button .btn {
  background-color: var(--blue-base);
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: 1px solid var(--blue-border);
}

.new-post-button .btn:hover {
  background-color: var(--blue-hover);
  color: var(--blue-text);
}
.site-branding {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 10px 20px;
}
.page-wrapper {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 0 10px;
}

.ad-left,
.ad-right {
  width: 160px; /* standard sidebar ad width */
  min-height: 600px;
  background-color: transparent;
}

.page-body {
  max-width: 1300px;
  flex-grow: 1;
}

.site-logo {
  max-height: 60px;
}

.site-text h1 {
  margin: 0;
  font-size: 24px;
  color: #fff;
}

.site-text p {
  margin: 0;
  font-size: 14px;
  color: #ddd;
}

/* Navigation buttons (lighter blue) */
.nav-button {
  display: inline-block;
  background-color: var(--blue-base);
  color: #fff;
  padding: 8px 16px;
  margin: 5px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: 1px solid var(--blue-border);
}

.nav-button:hover {
  background-color: var(--blue-hover);
  color: var(--blue-text);
}

.nav-button.active {
  background-color: #fff;
  color: #000;
}

/* Forum category buttons */
.forum-button {
  display: inline-block;
  background-color: var(--blue-base);
  color: #fff;
  padding: 10px 18px;
  margin: 5px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: 1px solid var(--blue-border);
}

.forum-button:hover {
  background-color: var(--blue-hover);
  transform: scale(1.03);
  color: var(--blue-text);
}

/* Ensure inner alignment */
.forabg .inner {
  text-align: left;
}

.topiclist {
  justify-content: flex-start;
}
.recent-posts {
  text-align: left;
  padding: 10px;
}

.recent-posts h3 {
  margin-bottom: 5px;
  font-size: 10px;
  color: var(--blue-base);
}

.post-card {
  background-color: #f5f5f5;
  padding: 10px 0px;
  margin-bottom: 0px;
  border-radius: 6px;
  text-align: left;
  box-shadow: 0 0 3px rgba(0,0,0,0.1);
}
.new-topic-button {
  margin: 10px 0;
  text-align: center;
}

/* New topic button uses same lighter blue */
.new-topic-button .button {
  background-color: var(--blue-base);
  color: #fff;
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: 1px solid var(--blue-border);
}

.new-topic-button .button:hover {
  background-color: var(--blue-hover);
  color: var(--blue-text);
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.footer-links li a {
  text-decoration: none;
  color: var(--blue-base);
  font-weight: bold;
}
.footer-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  font-size: 14px;
}

.footer-links li a {
  text-decoration: none;
  color: var(--blue-base);
  font-weight: bold;
}

.footer-links li a:hover {
  text-decoration: underline;
}

/* Rounded pill style for forum buttons */
.forum-button {
  background: var(--blue-base);
  color: #fff;
  padding: 8px 14px;
  border-radius: 20px;
  margin: 0 5px;
  transition: background 0.3s;
  border: 1px solid var(--blue-border);
}
.forum-button:hover {
  background: var(--blue-hover);
  color: var(--blue-text);
}
#page-footer {
  background: #f9f9f9;
  border-top: 1px solid #ddd;
  padding: 20px 0;
}
.recent-posts ul li a {
  font-size: 1.15em; /* bump this up or down as needed */
  font-weight: 600;  /* optional: makes it pop */
  color: #222;       /* optional: darker for contrast */
  text-decoration: none;
}
.recent-posts ul li span {
  font-size: 0.95em;
  color: #666;
}

.file-inline {
    display: inline-block !important;
    visibility: visible !important;
}
#format-buttons {
  display: none;
}

/* Accessibility: focus states for keyboard users */
.nav-button:focus,
.forum-button:focus,
.new-post-button .btn:focus,
.new-topic-button .button:focus {
  outline: 3px solid rgba(111,179,255,0.35);
  outline-offset: 2px;
}

/* Optional: reduce contrast variant for dark text on light blue */
.nav-button, .forum-button, .new-post-button .btn, .new-topic-button .button {
  color: #ffffff;
}
/* Recent Discussions — darker blue */
:root {
  --recent-discussions-blue: #003153; /* Prussian Blue, darker */
  --recent-discussions-hover: #1a5f8a; /* lighter hover for contrast */
}

/* Heading color */
.recent-posts h3,
.block-recent-discussions h3,
#recent_discussions h3 {
  color: var(--recent-discussions-blue) !important;
}

/* Links inside the recent discussions list */
.recent-posts ul li a,
.block-recent-discussions ul li a,
#recent_discussions ul li a {
  color: var(--recent-discussions-blue) !important;
  font-weight: 600;
}

/* Link hover / focus */
.recent-posts ul li a:hover,
.block-recent-discussions ul li a:hover,
#recent_discussions ul li a:hover,
.recent-posts ul li a:focus,
.block-recent-discussions ul li a:focus,
#recent_discussions ul li a:focus {
  color: var(--recent-discussions-hover) !important;
  text-decoration: underline;
}

/* Ensure keyboard focus is visible */
.recent-posts ul li a:focus,
.block-recent-discussions ul li a:focus,
#recent_discussions ul li a:focus {
  outline: 3px solid rgba(0,81,115,0.18);
  outline-offset: 2px;
}
