/* ============================================================
   STYLE.CSS — Structure Layout
   For rusff.me / QuadroBoards (PunBB engine)
   Rusty Crowns — Dark Teal Gothic Design
   ============================================================ */

/* ============================================================
   A — SETUP
============================================================ */

/* A1 — Import color scheme */
@import url(style_cs.1786025481.css);

/* A2 — Reset browser defaults */
html, body { margin: 0; padding: 0; }
.punbb { margin: 0; }
.punbb ul, .punbb dl, .punbb li, .punbb dd, .punbb dt { padding: 0; list-style: none; }
.punbb img { border: none; }
.punbb .main table { table-layout: fixed; margin-left: 20px; width: 95%; }
.checkfield input[type="checkbox"],
.radiofield  input[type="radio"]  { margin: 0 0.3em; }

/* A3 — Typography */
body { font-size: 110.01%; }
.punbb { font: normal 75.75% georgia, 'times new roman', serif; }

.punbb textarea {
  font: 1em georgia, serif;
  color: #2a2c28;
  background: #f5f1e8;           
  border: 2px solid #8b6f47;       
  padding: 12px;
  border-radius: 4px;
}

.punbb textarea:focus {
  border-color: #d4af37;       
  box-shadow: 0 0 12px rgba(212,175,55,0.2);
}

.punbb textarea,
.punbb input,
.punbb select,
.punbb optgroup { font: 1em georgia, serif; }
.punbb h1,
.punbb h2,
.punbb h3,
.punbb h4,
.punbb table,
.punbb th      { font-size: 1em; font-weight: normal; }
.punbb h1 span,
.punbb h2 span,
.punbb legend span { font-size: 1.1em; }
.punbb pre     { font: 1.1em/140% monaco, 'courier new', courier, monospace; }
.punbb address,
.punbb em      { font-style: normal; }
.punbb .post-content em { font-style: italic; }
.punbb .post-content p  { margin: 0.8em 0; }

/* ============================================================
   B — MAIN LAYOUT
============================================================ */

/* B1 — Overall page width & centering */
#pun          { max-width: 1100px; width: 96%; margin: 0 auto; padding: 0; }
#pun-title    { margin: 0; padding: 0; }

/* B2 — Page background */
body          { background-attachment: fixed; background-repeat: no-repeat; background-size: cover; }

/* B3 — Wrapper */
#pun-wrap     { min-width: 0; }

/* ============================================================
   C — HEADER / TITLE BAR
============================================================ */

/* C1 — Forum title banner (cover image area) */
#pun-title    {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
  height: 320px;
  position: relative;
  border-radius: 10px 10px 0 0;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

/* overlay gradient so text is readable */
#pun-title::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 30, 20, 0.45) 0%,
    rgba(0, 30, 20, 0.75) 100%
  );
  pointer-events: none;
}

/* C2 — Forum name text */
#pun-title h1 {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-bottom: 28px;
  line-height: 1;
}

#pun-title h1 span {
  font-size: 3.2em;
  letter-spacing: 0.05em;
  font-family: georgia, serif;
}

/* C3 — Forum description below title */
#pun-title .phptitle {
  position: relative;
  z-index: 2;
}

/* ============================================================
   D — NAVIGATION BAR
============================================================ */

/* D1 — Main nav strip */  
#pun-navlinks { padding: 0; border: none; }
#pun-navlinks .container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 4px;
  padding: 10px 0 6px;
  border: none;
}

/* D2 — Nav links */
#pun-navlinks .container a {
  display: inline-block;
  padding: 5px 16px;
  font-size: 1.15em;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
}

/* D3 — Quicklinks (active topics) */
#pun-quicklinks .container {
  text-align: center;
  padding: 3px 0 8px;
  font-size: 0.9em;
  letter-spacing: 0.18em;
  border: none;
}

/* D4 — User info bar (top right: Hello Guest) */
#pun-ulinks { padding: 0; }
#pun-ulinks .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 16px;
  font-size: 0.9em;
}

/* ============================================================
   E — FORUM INDEX (category & forum rows)
============================================================ */

/* E1 — Outer category wrapper */
.punbb .category { margin-top: 0; padding: 0; }

/* E2 — Category header */
.punbb .category .container { padding: 0; }
.punbb .category h2 {
  display: block;
  padding: 8px 14px;
  font-size: 1em;
  font-weight: bold;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* E3 — Forum row (each section inside a category) */
.punbb .forum { margin: 0; }
.punbb .forum .container {
  display: grid;
  grid-template-columns: 220px 1fr 260px;
  align-items: stretch;
  padding: 0;
  border-top: 1px solid;
}

/* E4 — Forum icon (left column) */
.punbb .forum .tclcon {
  width: 220px;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 4px;
  padding: 14px 16px;
  flex-shrink: 0;
}

/* E5 — Forum title & description (center column) */
.punbb .forum .tcl {
  padding: 16px 20px;
  border-left: 1px solid;
  border-right: 1px solid;
}

.punbb .forum .tcl h3 {
  font-size: 1.35em;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.punbb .forum .tcl h3 a { text-decoration: none; }

.punbb .forum .tcl .forum-desc {
  font-size: 0.92em;
  line-height: 1.65;
  text-align: justify;
}

/* subforums list inside tcl */
.punbb .forum .tcl .sub-links {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 8px;
}

.punbb .forum .tcl .sub-links a {
  font-size: 0.85em;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.2s;
}

/* E6 — Stats columns (tc2, tc3) */
.punbb .main .tc2,
.punbb .main .tc3 { text-align: center; width: 10%; padding: 10px 4px; }

/* E7 — Last post column (tcr) */
.punbb .forum .tcr {
  padding: 14px 14px;
  width: 260px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.punbb .forum .tcr .tcl-lp-img img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 2px;
  flex-shrink: 0;
}

.punbb .forum .tcr p {
  font-size: 0.88em;
  line-height: 1.5;
  margin: 0;
}

.punbb .forum .tcr a { text-decoration: none; font-weight: bold; letter-spacing: 0.04em; }

/* ============================================================
   F — TICKER / NEWS STRIP
============================================================ */

/* Ticker sits between header and forum list */
#pun-announcement {
  margin: 0;
  padding: 0;
  overflow: hidden;
}

#pun-announcement .container {
  display: flex;
  align-items: stretch;
  min-height: 52px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0;
  border-radius: 0;
}

#pun-announcement .container::-webkit-scrollbar { display: none; }

/* each ticker item — wrap your items in <span class="t-item"> */
#pun-announcement .t-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-right: 1px solid;
  flex-shrink: 0;
  font-size: 0.9em;
}

#pun-announcement .t-date {
  font-size: 0.88em;
  font-weight: bold;
  flex-shrink: 0;
}

#pun-announcement .t-cat {
  font-size: 0.78em;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: bold;
  display: block;
}

#pun-announcement .t-name {
  font-size: 0.82em;
  display: block;
}

/* ============================================================
   G — STATISTICS BLOCK
============================================================ */

#pun-stats { margin-top: 10px; }
#pun-stats .container {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  padding: 12px 16px;
  font-size: 0.9em;
}

#pun-stats .container p { margin: 0; }

/* ============================================================
   H — ONLINE / FOOTER BLOCKS
============================================================ */

#pun-online { margin-top: 6px; }
#pun-online .container {
  padding: 8px 16px;
  font-size: 0.88em;
}

#pun-footer {
  margin-top: 10px;
  text-align: center;
}

#pun-footer .container {
  padding: 14px 16px;
  font-size: 0.85em;
  letter-spacing: 0.05em;
}

#pun-footer a { text-decoration: none; }

/* ============================================================
   I — SECTION / INFO BLOCKS (generic .section, .info)
============================================================ */

.punbb .section { margin-top: 10px; }
.punbb .section .container { padding: 10px 16px; }
.punbb .info    .container { padding: 10px 16px; font-size: 0.9em; }

/* ============================================================
   J — BREADCRUMBS
============================================================ */

#pun-crumbs1 p,
#pun-crumbs2 p {
  margin: 0;
  padding: 6px 14px;
  font-size: 0.88em;
}

/* ============================================================
   K — TOPIC LIST PAGE (pun-viewforum)
============================================================ */

#pun-viewforum .main .tcl { width: 50%; }
#pun-viewforum .main .tc2 { width: 10%; }
#pun-viewforum .main .tcr { width: 30%; }

/* topic row */
.punbb .topicpost { margin-top: 0; }
.punbb .topicpost .container {
  padding: 8px 14px;
  border-top: 1px solid;
  display: flex;
  align-items: center;
}

/* ============================================================
   L — POST VIEW (pun-post, individual posts)
============================================================ */

/* L1 — post wrapper */
.punbb .post { margin-top: 6px; }
.punbb .post .container {
  display: flex;
  gap: 0;
  border: 1px solid;
}

/* L2 — post profile (left sidebar) */
.punbb .post-author {
  width: 200px;
  min-width: 180px;
  flex-shrink: 0;
  padding: 14px 12px;
  border-right: 1px solid;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.punbb .post-author ul { text-align: center; }
.punbb .post-author li { font-size: 0.85em; line-height: 1.6; }

/* L3 — post body (right side) */
.punbb .post-body {
  flex: 1;
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
}

/* L4 — post header (date + post number) */
.punbb .post-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 8px;
  margin-bottom: 8px;
  border-bottom: 1px solid;
  font-size: 0.88em;
}

/* L5 — post content */
.punbb .post-content { line-height: 1.7; }

/* L6 — post signature */
.punbb .post-sig {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid;
  font-size: 0.85em;
}

/* L7 — post footer links */
.punbb .post-links { border-top: 1px solid; }
.punbb .post-links ul {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 6px 12px;
  height: auto;
  line-height: normal;
}

.punbb .post-links ul li a { font-size: 0.88em; text-decoration: none; }

/* ============================================================
   M — FORMS (register, login, profile)
============================================================ */

.punbb .formal .container { padding: 14px 20px; }
.punbb fieldset { border: 1px solid; margin: 10px 0; padding: 14px; }
.punbb legend { padding: 0 6px; font-size: 1em; font-weight: bold; }
.punbb .sf dt { font-weight: bold; padding-bottom: 2px; }
.punbb input[type="text"],
.punbb input[type="password"],
.punbb textarea,
.punbb select {
  border: 1px solid;
  padding: 5px 8px;
  border-radius: 3px;
  font-size: 1em;
  outline: none;
}

.punbb .button,
.punbb input[type="submit"] {
  display: inline-block;
  padding: 8px 20px;
  font-size: 1em;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
}

/* ============================================================
   N — MODERATION TOOLS
============================================================ */

.punbb .modmenu .container { padding: 8px 14px; }

/* ============================================================
   O — PAGINATION
============================================================ */

.punbb .pagelink,
.punbb .pagination {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.punbb .pagelink a,
.punbb .pagination a {
  display: inline-block;
  padding: 3px 8px;
  font-size: 0.9em;
  text-decoration: none;
  border: 1px solid;
  border-radius: 3px;
  transition: background 0.2s;
}

/* ============================================================
   P — UTILITY
============================================================ */

.punbb .clearer { clear: both; height: 0; font-size: 0; }
.punbb .container:after { content: ''; display: block; clear: both; }
.punbb .right { float: right; }
.punbb .nosize { font-size: 0; }

/* ============================================================
   Q — RESPONSIVE
============================================================ */

@media (max-width: 900px) {
  .punbb .forum .container { grid-template-columns: 1fr; }
  .punbb .forum .tcl { border-left: none; border-right: none; }
  .punbb .forum .tcr { width: 100%; }
  #pun-title h1 span { font-size: 2.2em; }
}

@media (max-width: 600px) {
  #pun { width: 100%; padding: 0 4px; }
  .punbb .post-author { width: 120px; min-width: 100px; }
  #pun-title { height: 200px; }
  #pun-title h1 span { font-size: 1.6em; }
}



