/* TFF Blood Bowl — dark charcoal and natural grass-green child style for phpBB 3.3.19 */
@import url("../../prosilver/theme/stylesheet.css");

:root {
  --tff-bg: #151917;
  --tff-surface: #202622;
  --tff-panel: #272e29;
  --tff-panel-raised: #303a32;
  --tff-green: #4CAF50;
  --tff-green-bright: #F0EBDD;
  --tff-text: #e5e9e3;
  --tff-muted: #aeb8ad;
  --tff-line: #414b42;
}
html, body { background: var(--tff-bg); color: var(--tff-text); }
body { font-family: "Segoe UI", Arial, sans-serif; }
.wrap { max-width: 1280px; background: var(--tff-surface); color: var(--tff-text); border: 1px solid #303831; box-shadow: 0 12px 38px rgba(0,0,0,.4); }

/* Header and navigation */
.headerbar { background: linear-gradient(120deg,#111512 0%,#202b23 65%,#294631 100%); border-bottom: 4px solid var(--tff-green); color: #fff; }
#site-description h1 { color: #fff; font-weight: 900; letter-spacing: .045em; text-transform: uppercase; text-shadow: 0 2px 10px #000; }
#site-description p { color: #F0EBDD; }
.logo { filter: drop-shadow(0 2px 5px rgba(0,0,0,.5)); }
.navbar { background: #111512; border: 1px solid #39443a; }
.navbar a, .navbar .icon, .navbar .dropdown-contents a { color: #e5e9e3; }
.navbar a:hover, .navbar .icon:hover { color: var(--tff-green-bright); }
a { color: var(--tff-green-bright); }
a:hover { color: #fffaf0; }
.linklist a, .action-bar a { color: var(--tff-green-bright); }
h2, h3, .panel h2 { color: var(--tff-text); }
.content, .postbody, .postbody .content { color: #e0e5df; }
.time, .author, .signature, .postprofile, .postprofile .author, .postprofile dd { color: var(--tff-muted); }

/* Forum category bars and rows */
.forabg, .forumbg { background: #668b6b; background-image: linear-gradient(115deg,#587e5e,#78a17c); border-radius: 3px; }
.forabg .header, .forumbg .header { border-bottom: 2px solid var(--tff-green); }
.forabg .header a, .forumbg .header, .forumbg .header a { color: #fff; }
li.row, .bg1, .bg2, .post.bg1, .post.bg2 { background-color: #344638; color: var(--tff-text); }
li.row:nth-child(even), .bg2 { background-color: #3d5141; }
li.row:hover { background-color: #465d4a; }
li.row dd, .topiclist dd, .topiclist dt, .topiclist .list-inner { color: #d8dfd6; }
li.row .list-inner a, .topiclist a { color: var(--tff-green-bright); }
li.row .list-inner a:hover, .topiclist a:hover { color: #fffaf0; }
.row-item:before { opacity: .8; }

/* Panels, posts, forms and dropdowns */
.panel, .stat-block, .post, .dropdown-contents, .cp-menu, .notification_list, .dropdown { background-color: #344638; color: var(--tff-text); border-color: var(--tff-line); }
.panel, .post { border: 1px solid var(--tff-line); box-shadow: 0 2px 8px rgba(0,0,0,.18); }
.post { background: #344638; }
.post .content, .postbody, .content { color: #e0e5df; }
.post h3, .postbody h3 { color: #F0EBDD; border-bottom-color: var(--tff-line); }
.postprofile, .postprofile strong, .postprofile .username, .postprofile .username-coloured { color: #e0e5df; }
fieldset dl, fieldset dt, fieldset dd, label { color: var(--tff-text); }
.inputbox, select, textarea { background: #151917; color: #f1f4ef; border: 1px solid #566255; }
.inputbox:focus, select:focus, textarea:focus { border-color: var(--tff-green-bright); }
.button, .button1, input.button1, a.button1 { background: #4CAF50; background-image: none; border-color: #81C784; color: #fff; }
.button:hover, .button1:hover, a.button1:hover { background: #66BB6A; color: #fff; }
.button-secondary, .button2 { background: #303a32; background-image: none; border-color: #4b594b; color: #e5e9e3; }
.button-secondary:hover, .button2:hover { background: #3b493b; color: #fff; }
.pagination li a { background: #202622; border-color: #4b594b; color: var(--tff-green-bright); }
.pagination li.active span { background: #4CAF50; border-color: #81C784; color: #fff; }
.pagination li a:hover { background: #303a32; }
hr, .rules { border-color: var(--tff-line); }
blockquote { background: #191e1a; border-color: #53674a; color: #d8dfd6; }
.codebox { background: #171b18; border-color: #414b42; color: #e5e9e3; }

/* Stadium-inspired page fade and home page panels */
html { min-height: 100%; background: #101827; }
body {
  min-height: 100vh;
  background: linear-gradient(180deg,
    #101827 0%, #24364d 13%, #344F6B 27%, #2b4059 43%,
    #1c2b40 62%, #152237 82%, #101827 100%);
  background-attachment: fixed;
  color: var(--tff-text);
}
.wrap {
  background: linear-gradient(180deg, rgba(25,37,55,.97) 0%, rgba(25,32,44,.98) 24%, rgba(19,24,33,.99) 55%, #152237 100%);
  border-color: #2c394b;
}
.headerbar {
  background: linear-gradient(180deg, #101827 0%, #101827 75%, #344F6B 100%);
  border-bottom: 2px solid #4CAF50;
}
/* Wide artwork includes its own title, so keep the banner clean and let it lead */
.tff-hero {
  min-height: clamp(190px, 31vw, 390px);
  box-sizing: border-box;
  margin: 12px 0 22px;
  padding: 0;
  overflow: hidden;
  border: 1px solid #526982;
  border-radius: 5px;
  background-color: #101827;
  background-image: linear-gradient(180deg, rgba(5,9,16,0) 55%, rgba(10,15,24,.4) 100%), url("./images/tff-stadium-banner.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: 0 12px 30px rgba(0,0,0,.36);
}
.tff-hero h2, .tff-hero p, .tff-hero .tff-tagline { display: none; }
.tff-home-grid { display: grid; grid-template-columns: minmax(0,1fr) 200px; gap: 18px; align-items: start; }
.tff-main-column { min-width: 0; }
.tff-sidebar { display: grid; gap: 14px; }
.tff-sidebox { overflow: hidden; border: 1px solid #526982; border-radius: 4px; background: linear-gradient(180deg,#344F6B 0%,#263b53 100%); color: var(--tff-text); box-shadow: 0 4px 12px rgba(0,0,0,.22); }
.tff-sidebox h3 { margin: 0; padding: 12px 14px; border: 0; border-bottom: 3px solid #4CAF50; background: linear-gradient(90deg,#3b5672,#2d4560); color: #fff; font-size: 1.05em; font-weight: 800; }
.tff-sidebox .tff-side-content { padding: 14px; color: #dce3ed; font-size: .95em; line-height: 1.55; }
.tff-sidebox p { margin-top: 0; }
.tff-sidebox ul { margin: 0; padding-left: 18px; }
.tff-sidebox li { margin: 0 0 7px; }
.tff-sidebox li:last-child { margin-bottom: 0; }
.tff-sidebox a { color: #F0EBDD; font-weight: 700; }
.tff-sidebox a:hover { color: #fffaf0; }
.tff-sidebox .tff-kicker { display: block; margin-bottom: 6px; color: #F0EBDD; font-size: .76em; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.tff-sidebox .tff-callout { padding: 10px 11px; border-left: 3px solid #4CAF50; background: rgba(7,12,20,.55); color: #e0e7f0; }
#page-footer { color: #c0cddd; }
#page-footer a { color: #F0EBDD; }
@media (max-width: 900px) { .tff-home-grid { grid-template-columns: minmax(0,1fr) 175px; gap: 12px; } .tff-hero { min-height: clamp(170px, 34vw, 300px); } }
@media (max-width: 700px) { body { padding: 0; background-attachment: scroll; } .wrap { width: 100%; margin: 0; border: 0; border-radius: 0; } .tff-home-grid { grid-template-columns: minmax(0,1fr); } .tff-sidebar { grid-template-columns: minmax(0,1fr); } .tff-hero { min-height: 175px; margin: 8px 0 15px; background-size: auto 100%; background-position: center; } }


/* v1.0.4: remove the stock phpBB masthead above the stadium artwork.
   Search remains available through Quick links and phpBB navigation. */
.headerbar {
  display: none !important;
}


/* v1.0.5: move the useful site identity and search link into the sidebar. */
.tff-about-box .tff-side-content { overflow-wrap: anywhere; }
.tff-about-box .tff-about-tagline { margin: 0 0 12px; color: #dce3ed; font-size: .9em; line-height: 1.5; }
.tff-about-box .tff-search-link { display: block; padding: 9px 11px; border: 1px solid #4CAF50; border-radius: 3px; background: linear-gradient(90deg,#3b5672,#2d4560); text-align: center; text-decoration: none; }


/* Navigation restored to the top of the homepage. */
.tff-nav-box ul { list-style: none; padding: 0; margin: 0; }
.tff-nav-box li { margin: 0 0 8px; padding: 0 0 8px; border-bottom: 1px solid rgba(160,180,200,.14); }
.tff-nav-box li:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
.tff-nav-box a { display: block; }


/* v1.0.7: make the account action unmistakable in the sidebar. */
.tff-nav-box li.tff-account-action { margin-top: 12px; padding: 0; border: 0; }
.tff-nav-box li.tff-account-action a { display: block; padding: 10px 12px; border: 1px solid #668f67; border-radius: 4px; background: linear-gradient(180deg,#4CAF50,#388E3C); color: #fff; text-align: center; font-weight: 800; text-decoration: none; }
.tff-nav-box li.tff-account-action a:hover { background: linear-gradient(180deg,#66BB6A,#43A047); color: #fff; }


/* v1.0.8: lighten the stadium-night blues to steel blue (#344F6B). */


/* v1.0.9: grass-pitch green accents and warm off-white lettering. */

/* v1.0.11: lighten large forum category bars from muddy dark green to brighter turf green. */

/* v1.0.14: narrower sidebar and rotating Dugout facts. */
.tff-fact-count { display: block; margin-top: 8px; color: #c0cddd; font-size: .78em; font-style: italic; }
.tff-tournament-link { display: inline-block; padding: 7px 9px; border-left: 3px solid #4CAF50; background: rgba(7,12,20,.28); }


/* v1.0.17: restore strong contrast across phpBB User Control Panel and forms.
   Scope these overrides to UCP/ACP-style panels so the homepage/sidebar design stays unchanged. */
.cp-main, .cp-main .panel, .cp-main .panel-container,
.cp-main .panel-container .panel, .cp-main .inner,
.cp-main .content, .cp-main .postbody,
.cp-main fieldset, .cp-main .bg1, .cp-main .bg2,
.cp-main .panel-container .bg1, .cp-main .panel-container .bg2,
.cp-main .cp-mini, .cp-main .friends-list, .cp-main .memberlist {
  background-color: #26384b !important;
  color: #f1f4f7 !important;
  border-color: #526982;
}
.cp-main h2, .cp-main h3, .cp-main legend,
.cp-main label, .cp-main dt, .cp-main dd,
.cp-main p, .cp-main li, .cp-main .content,
.cp-main .panel-container .panel h3 {
  color: #f1f4f7 !important;
}
.cp-main a, .cp-main .linklist a { color: #d8e8ff !important; }
.cp-main a:hover, .cp-main .linklist a:hover { color: #ffffff !important; }
.cp-main .inputbox, .cp-main input[type="text"],
.cp-main input[type="password"], .cp-main input[type="email"],
.cp-main input[type="number"], .cp-main select, .cp-main textarea {
  background-color: #f7f8fa !important;
  color: #202833 !important;
  border: 1px solid #8998a8 !important;
}
.cp-main input[type="radio"], .cp-main input[type="checkbox"] { accent-color: #4CAF50; }
.cp-main .tabs .tab > a, .cp-main .tabs .tab > span {
  color: #f1f4f7 !important;
}
.cp-main .tabs .tab > a { background-color: #26384b !important; border-color: #526982 !important; }
.cp-main .tabs .activetab > a, .cp-main .tabs .activetab > a:hover {
  background-color: #344F6B !important; border-bottom-color: #344F6B !important;
}
.cp-main .panel-container .panel h2 { color: #ffffff !important; }


/* v1.0.17: targeted fixes for PM friends list and message-colour legend.
   phpBB can apply per-user colours inline, so override those specifically. */
.cp-main .friends-list, .cp-main .friends-list li,
.cp-main .friend-list, .cp-main .friend-list li,
.cp-main .friends-foes, .cp-main .friends-foes li,
.cp-main .colour-palette, .cp-main .colour-list,
.cp-main .colour-palette li, .cp-main .colour-list li {
  background-color: #f2f5f8 !important;
  color: #202833 !important;
}
.cp-main .friends-list *, .cp-main .friend-list *,
.cp-main .friends-foes *, .cp-main .colour-palette *,
.cp-main .colour-list *, .cp-main .colour-name,
.cp-main .colour-description, .cp-main .colour-label {
  color: #202833 !important;
  text-shadow: none !important;
}
.cp-main .friends-list a, .cp-main .friend-list a,
.cp-main .friends-foes a { color: #244e78 !important; }
.cp-main .friends-list a:hover, .cp-main .friend-list a:hover,
.cp-main .friends-foes a:hover { color: #102d49 !important; }
/* Preserve the coloured swatches themselves while darkening their descriptions. */
.cp-main .colour-palette .colour, .cp-main .colour-list .colour,
.cp-main .colour-palette .colour-block, .cp-main .colour-list .colour-block {
  border-color: #c3ccd5 !important;
}


/* TFF background correction v2 — replace the striped pitch with the existing stadium artwork.
   Intentionally changes backgrounds/borders only; typography and layout rules above are untouched. */
html, body {
  background-color: #152237 !important;
  color: inherit;
}
body {
  background-image:
    linear-gradient(rgba(10, 22, 35, .18), rgba(10, 22, 35, .36)),
    url("./images/tff-stadium-banner.png") !important;
  background-position: center center, center center !important;
  background-repeat: no-repeat, no-repeat !important;
  background-size: cover, cover !important;
  background-attachment: fixed !important;
}
.wrap {
  background: rgba(21, 34, 55, .92) !important;
  border: 1px solid rgba(73, 101, 126, .9) !important;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .32) !important;
}
.forabg, .forumbg {
  border-color: #263f59 !important;
  box-shadow: 0 0 0 1px rgba(38, 63, 89, .22) !important;
}
.forabg .header, .forumbg .header {
  border-bottom: 2px solid #263f59 !important;
}
@media (max-width: 700px) {
  body { background-attachment: scroll !important; }
}


/* TFF repair: make quick-reply and full-reply editors readable.
   Keep text entry areas light with dark text; leave the stadium background untouched. */
textarea,
.inputbox,
#message-box textarea,
#quickreply textarea,
.quickreply textarea,
#qr_postform textarea,
#postform textarea {
  background-color: #eaf2f6 !important;
  color: #202833 !important;
  border: 1px solid #7890a8 !important;
  caret-color: #202833 !important;
}
textarea:focus,
.inputbox:focus,
#message-box textarea:focus,
#quickreply textarea:focus,
.quickreply textarea:focus,
#qr_postform textarea:focus,
#postform textarea:focus {
  background-color: #f4f7fa !important;
  color: #202833 !important;
  border-color: #4CAF50 !important;
}


/* TFF repair v2: top navigation is the single home for Quick Links/account actions. */
.tff-nav-box {
  display: none !important;
}

/* Keep the shared stadium artwork visible behind every page, not only the homepage hero. */
html, body {
  background-color: #152237 !important;
  background-image:
    linear-gradient(rgba(10, 22, 35, .18), rgba(10, 22, 35, .36)),
    url("./images/tff-stadium-banner.png") !important;
  background-position: center center, center center !important;
  background-repeat: no-repeat, no-repeat !important;
  background-size: cover, cover !important;
  background-attachment: fixed !important;
}
body { min-height: 100vh !important; }

/* Notifications dropdown: use a light, readable menu with dark text and links. */
#notification_list,
#notification_list .dropdown-contents,
#notification_list .header,
#notification_list .footer,
#notification_list .notification_list,
.notification_list,
.notification_list .dropdown-contents {
  background: #f2f5f8 !important;
  color: #202833 !important;
  border-color: #b8c5d1 !important;
}
#notification_list *,
.notification_list * {
  color: #202833 !important;
  text-shadow: none !important;
}
#notification_list a,
.notification_list a {
  color: #244e78 !important;
}
#notification_list a:hover,
.notification_list a:hover {
  color: #102d49 !important;
  background-color: #e1eaf2 !important;
}
#notification_list .notification,
#notification_list li,
.notification_list li {
  background-color: #f2f5f8 !important;
  border-color: #cbd5df !important;
}

/* Friends/foes and similar UCP lists: override inherited and inline pale text. */
.friends-list, .friends-list li,
.friend-list, .friend-list li,
.friends-foes, .friends-foes li,
.cp-main .friends-list, .cp-main .friends-list li,
.cp-main .friend-list, .cp-main .friend-list li,
.cp-main .friends-foes, .cp-main .friends-foes li {
  background-color: #f2f5f8 !important;
  color: #202833 !important;
}
.friends-list *, .friend-list *, .friends-foes *,
.cp-main .friends-list *, .cp-main .friend-list *,
.cp-main .friends-foes * {
  color: #202833 !important;
  text-shadow: none !important;
}
.friends-list a, .friend-list a, .friends-foes a,
.cp-main .friends-list a, .cp-main .friend-list a,
.cp-main .friends-foes a {
  color: #244e78 !important;
}
.friends-list a:hover, .friend-list a:hover, .friends-foes a:hover,
.cp-main .friends-list a:hover, .cp-main .friend-list a:hover,
.cp-main .friends-foes a:hover {
  color: #102d49 !important;
}

/* TFF contrast repair v3 — profile/account dropdown and UCP friends/foes. */
#username_logged_in .dropdown,
#username_logged_in .dropdown-contents,
#username_logged_in .dropdown-contents .header,
#username_logged_in .dropdown-contents .footer,
#username_logged_in .dropdown-contents ul,
#username_logged_in .dropdown-contents li,
#profile .dropdown,
#profile .dropdown-contents,
#profile .dropdown-contents ul,
#profile .dropdown-contents li,
.header-profile .dropdown,
.header-profile .dropdown-contents {
  background: #f2f5f8 !important;
  color: #202833 !important;
  border-color: #c5d0da !important;
}
#username_logged_in .dropdown-contents *,
#profile .dropdown-contents *,
.header-profile .dropdown-contents * {
  color: #202833 !important;
  text-shadow: none !important;
}
#username_logged_in .dropdown-contents a,
#profile .dropdown-contents a,
.header-profile .dropdown-contents a { color: #244e78 !important; }
#username_logged_in .dropdown-contents a:hover,
#profile .dropdown-contents a:hover,
.header-profile .dropdown-contents a:hover {
  color: #102d49 !important;
  background-color: #e1eaf2 !important;
}

#ucp .friends-foes, #ucp .friends, #ucp .friend-list,
#ucp .friends-list, #ucp .foes-list,
.cp-main .friends-foes, .cp-main .friends, .cp-main .friend-list,
.cp-main .friends-list, .cp-main .foes-list,
.cp-main .friends-foes .column1, .cp-main .friends-foes .column2,
.cp-main .friends-foes dl, .cp-main .friends-foes li,
.cp-main .friends-list li, .cp-main .friend-list li, .cp-main .foes-list li {
  background-color: #f2f5f8 !important;
  color: #202833 !important;
  border-color: #c5d0da !important;
}
#ucp .friends-foes *, #ucp .friends *, #ucp .friend-list *,
#ucp .friends-list *, #ucp .foes-list *,
.cp-main .friends-foes *, .cp-main .friends *, .cp-main .friend-list *,
.cp-main .friends-list *, .cp-main .foes-list * {
  color: #202833 !important;
  text-shadow: none !important;
}
#ucp .friends-foes a, #ucp .friends a, #ucp .friend-list a,
#ucp .friends-list a, #ucp .foes-list a,
.cp-main .friends-foes a, .cp-main .friends a, .cp-main .friend-list a,
.cp-main .friends-list a, .cp-main .foes-list a { color: #244e78 !important; }
#ucp .friends-foes a:hover, #ucp .friends a:hover, #ucp .friend-list a:hover,
#ucp .friends-list a:hover, #ucp .foes-list a:hover,
.cp-main .friends-foes a:hover, .cp-main .friends a:hover,
.cp-main .friend-list a:hover, .cp-main .friends-list a:hover,
.cp-main .foes-list a:hover {
  color: #102d49 !important;
  background-color: #e1eaf2 !important;
}


/* TFF friends sidebar repair v5.
   Exact markup from prosilver/template/ucp_header.html:
   .cp-menu > .navigation + .cp-mini > .inner > dl.mini
   with dd.friend-online and dd.friend-offline.
*/
#cp-menu .cp-mini,
#cp-menu .cp-mini .inner,
#cp-menu .cp-mini dl.mini,
#cp-menu .cp-mini dl.mini dd,
#cp-menu .cp-mini dl.mini dd.friend-online,
#cp-menu .cp-mini dl.mini dd.friend-offline {
  background-color: #f2f5f8 !important;
  color: #202833 !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

#cp-menu .cp-mini dl.mini dt,
#cp-menu .cp-mini dl.mini dd,
#cp-menu .cp-mini dl.mini dd *,
#cp-menu .cp-mini dl.mini dd a,
#cp-menu .cp-mini dl.mini dd a:visited,
#cp-menu .cp-mini dl.mini dd.friend-online,
#cp-menu .cp-mini dl.mini dd.friend-offline {
  color: #202833 !important;
  opacity: 1 !important;
  text-shadow: none !important;
  -webkit-text-fill-color: #202833 !important;
}

#cp-menu .cp-mini dl.mini dd a:hover {
  color: #102d49 !important;
  background-color: #e1eaf2 !important;
}

#cp-menu .cp-mini dl.mini dd hr {
  border-color: #c5d0da !important;
}


/* TFF v6 — fresher grass-pitch green for forum category boxes.
   This is a colour-only adjustment: forum rows, page layout, tournament hub,
   sideboxes, stadium artwork and the working UCP/account fixes remain intact. */
.forabg, .forumbg {
  background-color: #4f9b45 !important;
  background-image: linear-gradient(115deg, #347b38 0%, #4b9842 48%, #69ad4d 100%) !important;
  border-color: #286a32 !important;
}
.forabg .header, .forumbg .header {
  background: linear-gradient(90deg, #286b32 0%, #3c8739 55%, #4c9840 100%) !important;
  border-bottom: 2px solid #8bcf61 !important;
  color: #ffffff !important;
}
.forabg .header a, .forumbg .header, .forumbg .header a {
  color: #ffffff !important;
}

/* TFF global page layout: main content plus persistent community sidebar */
.tff-global-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 18px;
  align-items: start;
  width: 100%;
}
.tff-global-main { min-width: 0; }
.tff-global-layout .tff-sidebar {
  display: grid;
  gap: 14px;
  min-width: 0;
}
@media (max-width: 900px) {
  .tff-global-layout { grid-template-columns: minmax(0, 1fr) 190px; gap: 12px; }
}
@media (max-width: 700px) {
  .tff-global-layout { grid-template-columns: minmax(0, 1fr); }
  .tff-global-layout .tff-sidebar { grid-template-columns: minmax(0, 1fr); }
}

/* UK Tournament Hub now appears globally, above the page columns */
/* UK Tournament Hub: prominent homepage feature */
.tff-uk-tournament-banner {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5em;
  width: 100%;
  margin: 1.25em 0 1.5em;
  padding: 1.5em 1.75em;
  color: #F0EBDD;
  background: linear-gradient(110deg, #344F6B 0%, #263d55 100%);
  border-left: 6px solid #4CAF50;
  border-radius: 5px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.16);
}
.tff-uk-tournament-banner .tff-uk-tournament-copy { min-width: 0; }
.tff-uk-tournament-banner .tff-uk-tournament-kicker {
  display: block;
  margin-bottom: .3em;
  color: #9be29e;
  font-size: .82em;
  font-weight: bold;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.tff-uk-tournament-banner h2 {
  margin: 0 0 .35em;
  color: #F0EBDD;
  font-size: 1.55em;
  line-height: 1.2;
}
.tff-uk-tournament-banner p { margin: 0; color: #F0EBDD; }
.tff-uk-tournament-banner .tff-uk-calendar-link { margin-top: .65em; font-size: .92em; }
.tff-uk-tournament-banner .tff-uk-calendar-link a { color: #F0EBDD; text-decoration: underline; text-underline-offset: 2px; }
.tff-uk-tournament-banner .tff-uk-calendar-link a:hover,
.tff-uk-tournament-banner .tff-uk-calendar-link a:focus { color: #9be29e; }
.tff-uk-tournament-banner .tff-uk-tournament-button {
  flex: 0 0 auto;
  display: inline-block;
  padding: .85em 1.15em;
  color: #172b1b !important;
  background: #4CAF50;
  border: 1px solid #72cf76;
  border-radius: 4px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
}
.tff-uk-tournament-banner .tff-uk-tournament-button:hover,
.tff-uk-tournament-banner .tff-uk-tournament-button:focus {
  color: #102313 !important;
  background: #70d474;
  text-decoration: underline;
}
@media (max-width: 650px) {
  .tff-uk-tournament-banner {
    align-items: stretch;
    flex-direction: column;
    gap: 1em;
    padding: 1.2em;
  }
  .tff-uk-tournament-banner h2 { font-size: 1.3em; }
  .tff-uk-tournament-banner .tff-uk-tournament-button { align-self: flex-start; }
}

/* Muted slate-blue forum/topic rows; retain green category frames and headers */
.forabg li.row, .forumbg li.row,
.forabg .bg1, .forabg .bg2,
.forumbg .bg1, .forumbg .bg2 {
  background-color: #344b60 !important;
  color: #e5edf3 !important;
}
.forabg li.row:nth-child(even), .forumbg li.row:nth-child(even),
.forabg .bg2, .forumbg .bg2 {
  background-color: #3d566c !important;
}
.forabg li.row:hover, .forumbg li.row:hover {
  background-color: #49657b !important;
}
.forabg li.row dd, .forumbg li.row dd,
.forabg li.row .list-inner, .forumbg li.row .list-inner {
  color: #e1e9f0 !important;
}
/* Fix readability of dropdown menus */
.dropdown-contents {
    background-color: #ffffff;
}

.dropdown-contents a,
.dropdown-contents li a {
    color: #263746 !important;
}

.dropdown-contents a:hover,
.dropdown-contents li a:hover {
    color: #ffffff !important;
    background-color: #526f82;
}

.dropdown-contents li {
    border-color: #d7e4ec;
}
