/*!
Theme Name: rtfc
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: rtfc
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

rtfc is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

img {
	height: auto;
	max-width: 100%;
}

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: #4169e1;
}

a:visited {
	color: #800080;
}

a:hover,
a:focus,
a:active {
	color: #191970;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
	display: block;
	width: 100%;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display: block;
	left: auto;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 37.5em) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
	}
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post,
.page {
	margin: 0 0 1.5em;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

/* RTFC */

:root {
	--primary: #0a0000;
	--secondary: #fff;
	--red: #f01e27;
	--large: 48px;
	--medium: 36px;
	--small: 24px;
	--smallest: 18px;
	--font: 14px;
}

a {
	color: var(--primary);
	font-family: Futura-Heavy;
	text-decoration: none;
}

a:hover, a:active {
	color: var(--red);
}

ol {
	list-style-position: inside;
    margin: 0;
    padding: 0;
}

@font-face { font-family: Futura-Heavy; src: url('https://rtfc.sam-thorp.co.uk/wp-content/uploads/fonts/Futura-Heavy-font.ttf'); } 
@font-face { font-family: Futura-Black; src: url('https://rtfc.sam-thorp.co.uk/wp-content/uploads/fonts/Futura-Extra-Black-font.ttf'); } 
@font-face { font-family: Futura-Bold; src: url('https://rtfc.sam-thorp.co.uk/wp-content/uploads/fonts/Futura-Bold-font.ttf'); } 

@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

body {
    font-family: "Lato", sans-serif;
    font-size: var(--font);
    line-height: 30px;
	color: var(--primary);
}

.sr-only {
	display: none;
}

/* HEADER */

header {
	position: relative;
	z-index: 1;
}

.home header {
	position: absolute;
    top: 0;
    width: 100%;
    left: 0;
    right: 0;
    background: #fff;
    z-index: 9;
}

nav .hamburger {
    display: inline-block;
    min-height: 36px;
    width: 36px;
    z-index: 9997;
    position: relative;
    cursor: pointer;
}

nav .hamburger span {
    display: block;
    width: 30px;
    height: 4px;
    background-color: var(--primary);
    margin-top: 4px;
	transition: ease-in-out 0.5s;
}

nav .hamburger span:first-child {
    margin-top: 4px;
}

.main-navigation.toggled .hamburger {
	margin-top: 8px;
}

.main-navigation.toggled .hamburger span {
    display: none;
	transition: ease-in-out 0s;
	background-color: var(--secondary);
}

.main-navigation.toggled .hamburger span:first-child {
	transform: rotate(135deg);
	display: block;
	transition: ease-in-out 0.5s;
}

.main-navigation.toggled .hamburger span:nth-child(3) {
    transform: rotate(45deg);
	display: block;
	transform-origin: 24px 0px;
	transition: ease-in-out 0.5s;
}

.menu-toggle {
	background: none;
    border: none;
    position: absolute;
    top: 10px;
    right: 10px;
	display: none;
}

.sub-menu-header {
	display: none;
	color: var(--primary);
	font-family: Futura-Heavy;
	pointer-events: none;
	font-size: var(--small);
    border-bottom: solid 1px var(--primary);
    padding-bottom: 20px;
    margin: 10px 20px;
    margin-top: 0;
}

img {
	display: block;
}

.site-branding,
.site-info {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	padding: 20px 0;
	justify-content: space-between;
}

.header__logo {
	display: flex;
    align-items: center;
}

.custom-logo-link {
	flex-basis: 15%;
}

.site-title {
	font-size: var(--medium);
	margin: 5px 0;
	font-family: Futura-Heavy;
	color: var(--primary);
	margin-left: 20px;
}

.site-description {
	font-size: 24px;
	margin: 5px 0
}

.header_right {
	flex-basis: 15%;
}

.header__sponsor,
.social {
	margin: 10px 0;
}

.social-icons {
	display: flex;
	justify-content: flex-end;
	align-items: center;
}

.social-icons a {
    margin-left: 10px;
}

.social-icons img {
    filter: brightness(0) invert(0);
    display: block;
    height: 20px;
}

.social-icons img:hover {
	transform: scale(1.2);
}

#site-navigation {
	background: var(--primary);
	display: flex;
	justify-content: center;
}

.main-navigation a {
	color: var(--secondary);
	padding: 10px;
	font-size: var(--smallest);
}

.main-navigation a:hover {
	color: var(--primary);
	background: var(--secondary);
}

.page-content, .entry-content, .entry-summary, .post, .page {
	margin: 0;
}

footer {
	background: var(--primary);
}

footer .site-branding, footer .site-info {
	padding: 50px 0 30px 0;
}

footer .site-base {
	border-top: solid 1px rgba(255,255,255,0.2);
}

.entry-footer {
	display: none;
}

.site-base {
	color: var(--secondary);
	max-width: 1200px;
	margin: 0 auto;
	padding: 10px 0;
	display: flex;
    justify-content: space-between;
}

.site-base__right {
	display: flex;
}

.site-base__right a {
	color: var(--secondary);
	text-decoration: none;
}

.site-base__right .social-icons img {
    filter: brightness(0) invert(1);
    display: block;
    height: 20px;
}

.site-base__right .social-icons a {
    margin-right: 10px;
	margin-left: 0;
}

.site-base__right a:hover {
	color: var(--red);
}

footer .custom-logo {
	/* enable when replacing 150 anniversary logo with original */
	/*background: var(--secondary);
	border-radius: 50%;*/
}

.sub-menu {
	background: var(--primary);
	flex-direction: column;
}

footer {
	position: relative;
}

footer:before {
    background: url(https://rtfc.sam-thorp.co.uk/wp-content/uploads/2025/07/checked-border.jpg);
    background-repeat: repeat-x;
    background-position: center top;
    position: absolute;
    top: 0;
    width: 100%;
    height: 10%;
    content: '';
    z-index: 0;
}

.footer-navigation a {
	text-decoration: none;
	color: var(--secondary);
	font-family: "Lato", sans-serif;
}

.footer-navigation a:hover {
	color: var(--red);
}

.footer-navigation .menu {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 1rem;
	list-style: none;
	margin: 0;
}

.footer-navigation .sub-menu {
	margin-left: 0;
	padding-left: 0;
	list-style: none;
}

.footer-navigation .menu-item-home,
.footer-navigation .menu-item-13888,
.footer-navigation .menu-item-17855,
.footer-navigation .menu-item-17800 {
	display: none;
}

.footer-navigation .menu-item-has-children > a {
	font-family: Futura-Heavy;
	display: flex;
	flex-direction: column;
	pointer-events: none;
	font-size: var(--smallest);
	line-height: var(--small);
	margin-bottom: 10px;
}

.footer-navigation .menu-item-has-children ul.split {
	columns: 2; /* This creates two columns within this submenu */
	column-gap: 1rem;
}

.footer-navigation .menu-item-has-children.wide {
	grid-column: span 2;
}

.footer-navigation .menu-item-has-children {
	padding: 0 10px;
}

.footer-navigation .menu-item-has-children li {
    line-height: 20px;
    margin-bottom: 10px;
}

/* Fixtures / Results */

.match-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-bottom: solid 1px #f0f0f0;
	padding: 20px;
	font-size: var(--smallest);
	line-height: 20px;
}

.match-row:last-child {
	border-bottom: none;
}

.match-row:hover {
	background: var(--primary);
}

.match-row:hover .date,
.match-row:hover .opponent,
.match-row:hover .venue,
.match-row:hover .competition {
	color: var(--secondary);
}

.club-thumb {
    background: var(--secondary);
    width: 100px;
    display: flex;
	justify-content: center;
}

.opponent {
    flex-basis: 35%;
    font-size: var(--small);
	line-height: 30px;
    font-weight: 900;
}

.competition {
    flex-basis: 15%;
}

.score {
	flex-basis: 8%;
	display: flex;
    justify-content: flex-end;
}

.score span {
	color: var(--secondary);
	padding: 10px;
	font-weight: 900;
}

.score .win {
	background: green;
}

.score .draw {
	background: #f9a825;
}

.match-row:hover .score .draw {
	background: #f9a825;
}

.score .loss {
	background: var(--red);
}

.match-centre-link a {
	text-decoration: none;
	color: var(--secondary);
	background: var(--red);
	padding: 12px;
	text-transform: uppercase;
    font-size: var(--font);
}

.match-row:hover .match-centre-link a {
	background: var(--secondary);
	color: var(--primary);
}

.date {
	line-height: var(--small);
}

.date__date {
	font-weight: 900;
}

.venue-name {
	font-size: var(--smallest);
	font-weight: normal;
}

td.result.draw:not(:has(*)):not(:has(text)) {
  background-color: transparent !important;
}

.wpcm-player-list {
    display: flex;
    flex-wrap: wrap;
}

.wpcm-player {
    flex-basis: 23%;
	position: relative;
}

.wpcm-player-name a {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: end;
	text-decoration: none;
    color: var(--secondary);
	pointer-events: none;
}

/* Flex container for players in a position group */
.wpcm-position-group {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.wpcm-player-photo img {
    width: 276px;      /* equal width */
    height: 276px;     /* equal height */
    object-fit: cover; /* crop to fill */
	object-position: center top; /* show top center of image */
    display: block;
}

.wpcm-player-firstname {
	font-size: var(--smallest);
	line-height: 20px;
	background: rgba(0, 0, 0, 0.5);
    padding: 0 20px;
    padding-top: 20px;
}

.wpcm-player-lastname {
	font-size: var(--small);
	font-weight: 900;
	line-height: 24px;
	background: rgba(0, 0, 0, 0.5);
    padding: 0 20px;
    padding-bottom: 20px;
}

.wpcm-position-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5em;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
}

.container__header {
	color: var(--primary);
	text-align: center;
	font-size: var(--large);
	line-height: var(--large);
	padding-bottom: 50px;
	font-family: Futura-Heavy;
}

.index-banner {
	position: relative;
	height: 100vh;
	z-index: 1;
}

.index-banner .victory-post-module.victory-post-module-home.row {
	display: block;
}

.index-banner .victory-post-item.victory-post-item-featured-home {
	padding-top: 200px;
	height: 100vh !important;
}

.index-banner .victory-post-item-thumb {
	height: 100%;
}

.index-banner .grid-third:nth-child(1) a {
	font-size: var(--medium);
    display: block;
    line-height: var(--large);
	font-family: Futura-Heavy;
	width: 100%;
}

.index-banner .grid-third:nth-child(1) .victory-post-item-text {
    background: none;
    padding: 0 50px;
    top: 0;
    display: flex;
    align-items: center;
}

.index-banner .grid-third:nth-child(1) .victory-post-item-thumb {
    height: 100%;
    display: flex;
	justify-content: center;
}

.index-banner .grid-third:nth-child(1) .victory-post-item-text a {
	width: 60%;
	font-size: var(--medium);
	line-height: 60px;
}

.index-banner .grid-third:nth-child(1):hover .victory-post-item-text,
.index-banner .grid-third:hover {
    background: none;
}

.index-banner .grid-third:nth-child(1) img {
	object-fit:unset;
}

a[href*="?cat=736"] {
	display: none;
}

.index-banner:after {
	background: url(https://rtfc.sam-thorp.co.uk/wp-content/uploads/2025/07/checked-border.jpg);
	background-repeat: repeat-x;
	background-position: center bottom;
	position: absolute;
	bottom: 0;
	width: 100%;
	height: 10%;
	content: '';
	z-index: 9;
}

.desktop-banner {
	display: block !important;
}

.mobile-banner {
	display: none !important;
}

#fixtures-results {
	padding: 100px 0;
	position: relative;
	background: var(--secondary);
}

.no-fixtures {
	text-align: center;
}

#fixtures-results:before {
    position: absolute;
    content: '';
    height: 100%;
    background: #fafafa;
    width: 50%;
    left: 50%;
	right: 0;
    top: 0;
    bottom: 0;
    z-index: 0;
}

#fixtures-results:after {
	background: url(https://rtfc.sam-thorp.co.uk/wp-content/uploads/2025/07/rtfc-logo.png);
	background-position: left center;
	background-repeat: no-repeat;
	background-attachment: fixed;
	opacity: 0.1;
	content: '';
	position: absolute;
	width: 100%;
	height: 100%;
	bottom: 0;
	z-index: 0;
}

.fixtures-results-wrap {
	display: flex;
	justify-content: space-between;
	position: relative;
    z-index: 1;
	flex-wrap: wrap;
}

.fixtures,
.results {
	flex-basis: 50%;
	padding: 0 100px;
}

.fixture-display {
    display: none;
	text-align: center;
}

.fixture-display.show {
    display: block;
}

.competition-name {
	margin: 0;
	font-size: var(--small);
	font-weight: 600;
}

.fixture-date-time {
	margin: 0;
	font-size: var(--smallest);
}

.team__name {
	font-size: var(--smallest);
	font-weight: 600;
	line-height: var(--small);
}

#fixtures-container,
#results-container {
	position: relative;
}

#prev-fixture,
#next-fixture,
#prev-result,
#next-result {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: unset;
	display: flex;
	align-items: center;
}

#next-fixture,
#next-result {
	left: unset;
	right: 0;
}

button:disabled,
button[disabled]{
	pointer-events: none;
}

button.fixture-nav-btn {
    border: solid 1px var(--red);
    border-radius: 0;
    background: var(--red);
    color: var(--secondary);
    font-size: var(--medium);
	line-height: var(--medium);
	font-weight: 600;
    padding: 10px;
	font-family: "Lato", sans-serif;
	cursor: pointer;
}

button.fixture-nav-btn:hover {
	background: var(--secondary);
    color: var(--red);
}

.fixture__inner {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 30px;
}

.fixture__inner .team {
    display: flex;
    flex-direction: column;
    align-items: center;
	flex-basis: 25%;
}

.fixture__score {
	padding: 10px;
	margin: 0 40px;
	background: var(--primary);
	color: var(--secondary);
	font-size: var(--small);
	line-height: var(--small);
	font-weight: 600;
}

.fixture-display { display: none; }

.fixture-show { display: block; }

.fixture__score.score-win {
	background: green;
}

.fixture__score.score-draw {
	background: #f9a825;
}

.fixture__score.score-lose {
	background: red;
}

.fixture-links {
	margin-top: 40px;
}

.match-centre {
    padding: 12px 24px;
    background: var(--red);
    text-decoration: none;
    color: var(--secondary) !important;
    font-size: var(--smallest);
}

.match-centre:hover {
    background: var(--primary);
}

.fixtures-results__tickets {
	text-align: center;
	padding-top: 100px;
	position: relative;
	z-index: 1;
	flex-basis: 100%;
}

.tickets-btn {
	background-color: var(--red);
	padding: 15px 80px;
	text-decoration: none;
	font-size: var(--smallest);
	color: var(--secondary);
}

.tickets-btn:active,
.tickets-btn:visited {
	color: var(--secondary);
}

.tickets-btn:hover,
.tickets-btn:focus {
	color: var(--secondary);
	background: var(--primary);
}

#find-us {
	/*background: url(https://rtfc.sam-thorp.co.uk/wp-content/uploads/2025/06/rtfc-banner.jpg);
	background-size: cover;
	background-attachment: fixed;*/
	color: #fff;
	background: linear-gradient(90deg, rgba(10, 0, 0, 0.3) 0%, rgba(10, 0, 0, 1) 100%);
	position: relative;
	overflow: hidden;
	
}

.find-us__img {
	opacity: 0.8;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -1; /* So content scrolls over it */
	object-fit: cover;
}

.find-us__mobile {
	opacity: 0.8;
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -1; /* So content scrolls over it */
	object-fit: cover;
}

.find-us__inner {
	position: relative;
	z-index: 1;
	padding: 100px 0;
}

#find-us .container__header {
	color: var(--secondary);
}

.find-us__wrap {
	display: flex;
	justify-content: space-between;	
	align-items: center;
}

.find-us__map {
	flex-basis: 35%;
}

.find-us__text {
	flex-basis: 60%;
	text-align: right;font-size: var(--smallest);
}

.find-us__header {
	font-size: var(--medium);
	font-family: Futura-Heavy;
	margin-bottom: 5px;
}

.find-us__subheader {
	font-size: var(--small);
	font-family: Futura-Heavy;
	margin-bottom: 10px;
}

#latest-news {
	padding: 100px 0;
	position: relative;
	background: var(--secondary);
    z-index: 1;
}

#latest-news:after {
	background: url(https://rtfc.sam-thorp.co.uk/wp-content/uploads/2025/07/rtfc-logo.png);
	background-position: right center;
	background-repeat: no-repeat;
	background-attachment: fixed;
	opacity: 0.1;
	content: '';
	position: absolute;
	width: 100%;
	height: 100%;
	bottom: 0;
	z-index: -1;
}

.victory-post-module.victory-post-module-home.row {
	display: grid;
  grid-template-columns: 1fr 1fr;      /* two equal columns */
  grid-template-rows: repeat(3, auto); /* one row for each right-hand item */
  gap: 10px;
  height: auto; /* ensure container grows to fit right items */
}

.grid-third {
	position: relative;
	margin-bottom: 20px;
	margin-left: 50px;
	cursor: pointer;
}

.grid-third a {
	text-decoration: none;
	color: var(--primary);
	font-size: var(--smallest);
	text-transform: uppercase;
}

.grid-third:hover {
	background: var(--primary);
}

.grid-third:hover a {
	color: var(--secondary);
}

.grid-third:nth-child(1) a {
	color: var(--secondary);
	text-transform: none;
	font-size: var(--small);
}

.grid-third:nth-child(1) {
	grid-row: 1 / 4; /* span all 3 rows */
	height: 100%;    /* take full height of the grid area */
	margin-left: 0;
	margin-bottom: 0;
}

.grid-third:nth-child(1) img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  display: block;
}

.grid-third:nth-child(2) {
	
}

.grid-third:nth-child(3) {
	
}

.grid-third:nth-child(4) {
	margin-bottom: 0;
}

.post-meta,
.post-summary {
	display: none;
}

.victory-post-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.victory-post-item-thumb {
	flex-basis: 35%;
}

.victory-post-item-text {
	flex-basis: 55%;
	margin-right: 5%;
}

.grid-third:nth-child(1) .victory-post-item {
	position: relative;
	display: block;
	height: 100%;
}

.grid-third:nth-child(1) .victory-post-item-thumb {
	height: 100%;
}

.grid-third:nth-child(1) img, {
	width: 100%;
}

.grid-third:nth-child(1) .victory-post-item-text {
	background-color: rgba(0, 0, 0, 0.5);
	position: absolute;
	bottom: 0;
	width: 100%;
	padding: 20px;
	margin: 0;
}

.grid-third:nth-child(1):hover .victory-post-item-text {
	background: var(--primary);
}

.victory-post-item-text .entry-title {
	margin: 0;
}

.news__link {
	text-align: center;
	margin-top: 50px;
}

.news__btn {
	background-color: var(--red);
	padding: 15px 80px;
	text-decoration: none;
	font-size: var(--smallest);
	color: var(--secondary);
}

.news__btn:active,
.news__btn:visited {
	color: var(--secondary);
}

.news__btn:hover,
.news__btn:focus {
	color: var(--secondary);
	background: var(--primary);
}

#shop-links {
	position: relative;
	display: flex;
}

#shop-links:before {
    background: url(https://rtfc.sam-thorp.co.uk/wp-content/uploads/2025/07/checked-border.jpg);
    background-repeat: repeat-x;
    background-position: center top;
    position: absolute;
    top: 0;
    width: 100%;
    height: 10%;
    content: '';
	z-index: 9;
}

#shop-links:after {
    background: url(https://rtfc.sam-thorp.co.uk/wp-content/uploads/2025/07/checked-border.jpg);
    background-repeat: repeat-x;
    background-position: center bottom;
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 10%;
    content: '';
	z-index: 9;
}

.shop-links__kit {
	background: var(--primary);
	flex-basis: 50%;
}

.shop-links__kit:hover {
	background: var(--red);
}

.shop-links__club {
	background: url(https://rtfc.sam-thorp.co.uk/wp-content/uploads/2025/07/club-shop.png);
	flex-basis: 50%;
	display: flex;
    justify-content: center;
    align-items: center;
	flex-direction: column;
}

.shop-links__club .container__header {
    padding-bottom: 20px;
}

.shop-links__club a {
    background: var(--secondary);
    padding: 15px 80px;
    text-decoration: none;
    font-size: var(--smallest);
	line-height: var(--small);
	border: solid 1px var(--primary);
	color: var(--primary);
}

.shop-links__club a:hover {
    background: var(--primary);
	color: var(--secondary);
}

#sponsors {
	position: relative;
	padding: 100px 0;
	background: var(--secondary);
    z-index: 1;
}

#sponsors:after {
	background: url(https://rtfc.sam-thorp.co.uk/wp-content/uploads/2025/07/rtfc-logo.png);
	background-position: left center;
	background-repeat: no-repeat;
	background-attachment: fixed;
	opacity: 0.1;
	content: '';
	position: absolute;
	width: 100%;
	height: 100%;
	bottom: 0;
	z-index: -1;
}

.sponsors__wrap {
	display: flex;
	justify-content: space-around;
	align-items: center;
}

.sponsors__header {
	color: var(--primary);
    text-align: center;
    font-size: var(--small);
    line-height: var(--medium);
    font-family: Futura-Heavy;
    padding-bottom: 10px;
}

.sponsors__link {
	text-align: center;
	margin-top: 70px;
}

.sponsors__btn {
	background-color: var(--red);
	padding: 15px 80px;
	text-decoration: none;
	font-size: var(--smallest);
	color: var(--secondary);
}

.sponsors__btn:active,
.sponsors__btn:visited {
	color: var(--secondary);
}

.sponsors__btn:hover,
.sponsors__btn:focus {
	color: var(--secondary);
	background: var(--primary);
}

.page__banner {
	position: relative;
	background: var(--primary);
	z-index: -1;
}

.page__banner .entry-header {
    position: absolute;
    bottom: 100px;
	max-width: 1200px;
}

.page-banner__img {
	opacity: 0.6;
}

.page-banner__mobile {
	display: none;
	opacity: 0.6;
}

.page__banner:after {
    background: url(https://rtfc.sam-thorp.co.uk/wp-content/uploads/2025/07/checked-border.jpg);
    background-repeat: repeat-x;
    background-position: center bottom;
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 10%;
    content: '';
    z-index: 9;
}

.page__banner h1.entry-title {
	margin: 0;
	font-family: Futura-Heavy;
	color: var(--secondary);
	font-size: var(--large);
	line-height: var(--large);
}

.single .page__banner h1.entry-title {
    font-size: var(--medium);
    line-height: var(--medium);
}

.wpcm-position,
.victory-title,
.post__main .entry-title {
	margin: 20px 0;
	font-family: Futura-Heavy;
	color: var(--primary);
	font-size: var(--small);
}

span.victory-title {
	display: inline-block;
	margin-bottom: 0;
}

.post__main .entry-title {
	margin-top: 0;
}

.page__main,
.page__news,
.post__news {
	padding: 100px 0;
	position: relative;
	z-index: 0;
}

.wpcm-view-link,
.wp-block-button__link {
	background-color: var(--red) !important;
    padding: 10px 40px !important;
    text-decoration: none;
    font-size: var(--font);
    color: var(--secondary) !important;
	text-transform: uppercase;
	border: none;
	border-radius: 0;
}

.wpcm-view-link:hover,
.wp-block-button__link:hover {
	background-color: var(--primary) !important;
}

a.wpcm-view-link:hover, a.wpcm-view-link:active,
a.wpcm-view-link:focus, a.wpcm-view-link:visited,
.wp-block-button__link:hover, .wp-block-button__link:active,
.wp-block-button__link:focus, .wp-block-button__link:visited {
	color: var(--secondary);
}

.wpcm-view-link:after {
	content:'>'
}

.cat-links a {
	text-decoration: none;
	background: var(--red);
	color: var(--secondary) !important;
	padding: 5px;
}

.read-more {
	text-decoration: none;
	background: var(--red);
	color: var(--secondary) !important;
	padding: 10px;
}

.cat-links a:hover,
.read-more:hover {
	background: var(--primary);
}

.posted-on a {
	text-decoration: none;
	color: var(--primary);
	font-family: Futura-Heavy;
	margin-right: 10px;
}

.post {
	display: flex;
	justify-content: space-between;
	margin-top: 40px;
	padding-top: 40px;
	border-top: solid 1px #f0f0f0;
}

.post:first-child {
	margin-top: 0;
	padding-top: 0;
	border-top: none;
}

.post__image {
	flex-basis: 40%;
}

.post__main {
	flex-basis: 60%;
	padding-left: 40px;
}

.posts-navigation {
	margin-bottom: 0 !important;
	margin-top: 40px !important;
}

.nav-previous a,
.nav-next a {
	text-decoration: none;
	background: var(--red);
    color: var(--secondary) !important;
    padding: 10px;
	text-transform: uppercase;
}

.nav-previous a:hover,
.nav-next a:hover {
	background: var(--primary);
}

header .sub-menu .current-menu-item {
    background: var(--secondary);
}

header .sub-menu .current-menu-item a {
    color: var(--primary);
}

.wpcm-single-match {
	max-width: 1200px;
	margin: 0 auto;
	padding: 50px 0;
}

.stats-tabs,
.player-tabs {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	background: var(--primary);
	border: solid 2px var(--primary);
	font-size: var(--smallest);
}

.stats-tabs a,
.player-tabs a {
	text-decoration: none;
	color: var(--secondary);
	padding: 10px 20px;
}

.stats-tabs .tabs,
.player-tabs .tabs {
	background: var(--secondary);
}

.stats-tabs .tabs a,
.player-tabs .tabs a {
	text-decoration: none;
	color: var(--primary);
}

.tabs-panel.hide,
.player-tab-panel.hide {
    display: none;
}
.tabs-panel,
.player-tab-panel {
    display: block;
}

.match-details {
	color: var(--primary);
	display: flex;
    flex-wrap: wrap;
    padding-bottom: 50px;
}

.match-details h3 {
	flex-basis: 100%;
}

.match-details-info,
.match-details-venue {
	list-style: none;
	margin: 0;
	padding: 0;
	flex-basis: 50%;
}

.victory-scoreboard {
    padding-top: 50px;
}

.victory-scoreboard .victory-main-title-title {
    display: none;
}

.victory-scoreboard span.victory-main-title-team {
    text-align: center;
    display: block;
    font-size: var(--small);
    font-family: Futura-Heavy;
    margin-bottom: 30px;
}

.scoreboard-title-inside {
	display: flex;
	justify-content: center;
}

.scoreboard-club__main {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.scoreboard-club {
	display: flex;
	align-items: flex-end;
	justify-content: center;
	flex-basis: 25%;
}

.scoreboard-club h2 {
	font-size: var(--smallest);
    font-weight: 600;
    line-height: var(--small);
}

.scoreboard-score {
	background: var(--primary);
    color: var(--secondary);
    font-size: var(--medium);
    padding: 20px;
    line-height: var(--medium);
	margin: 0 10px;
	align-self: center;
}

.scoreboard-meta {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: var(--smallest);
    background: var(--primary);
    color: var(--secondary);
    padding: 10px 0;
}

.match-date {
	margin: 0 20px;
    padding: 0 20px;
    border-left: solid 1px rgba(255, 255, 255, 0.3);
    border-right: solid 1px rgba(255, 255, 255, 0.3);
	
}

.victory-table-wrap {
	flex-basis: 50%;
}

.wpcm-subs-table {
	margin-left: 50px;
	padding-left: 30px;
	border-left: solid 1px #f0f0f0;
}

.subs-header {
	color: var(--primary);
	font-size: var(--small);
    line-height: var(--small);
    margin-bottom: 20px;
}

.stats-header {
	display: flex;
	justify-content: flex-end;
	display: none;
}

.goals {
	color: var(--primary);
}

.lineup__player {
	display: flex;
    align-items: center;
    margin: 10px 0;
}

.shirt-number {
    color: var(--primary);
    font-size: var(--smallest);
    flex-basis: 10%;
    text-align: center;
}

.lineup__player .name {
	flex-basis: 80%;
	display: flex;
	align-items: center;
}

.lineup__player .name img {
    width: 120px;
    height: 120px;
    overflow: hidden;
    object-fit: cover;
    object-position: top;
}

.lineup__player .name a {
    text-decoration: none;
    color: var(--primary);
    padding: 0 20px;
    display: flex;
    flex-direction: column;
	pointer-events: none;
}

.lineup__player .name .first-name {
    font-size: var(--smallest);
    line-height: var(--small);
}

.lineup__player .name .last-name {
    font-size: var(--small);
    line-height: var(--small);
}

.stats.goals {
    flex-basis: 10%;
    display: flex;
    justify-content: flex-end;
}

span.lineup-stat.with-stat {
    padding: 10px;
    background: var(--primary);
	color: var(--secondary);
}

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

.victory-sub-off {
    color: var(--primary);
	padding-left: 20px;
	font-weight: normal;
}

.victory-sub-off .first-name,
.victory-sub-off .last-name {
	font-size: var(--font) !important;
}

i.fa.fa-refresh:before {
    content: "\f021";
}

.victory-clubs-stats {
	display: flex;
    justify-content: center;
    padding: 50px 0;
    color: var(--primary);
}

.victory-club-stat {
    text-align: center;
    margin: 0 20px;
    color: var(--secondary);
}

.victory-club-stat-total {
    background: var(--primary);
    font-size: var(--medium);
    padding: 20px;
    line-height: var(--medium);
}

.victory-player-stat-label {
    color: var(--primary);
}

.victory-club-stat-total.win {
	background: green;
}

.victory-club-stat-total.draw {
	background: #f9a825;
}

.victory-club-stat-total.loss {
	background: red;
}

.victory-match-row {
    color: var(--primary);
    display: flex;
	justify-content: space-between;
	align-items: center;
	border-bottom: solid 1px #f0f0f0;
	margin-bottom: 20px;
	padding-bottom: 20px;
}

.victory-match-row:last-child {
	border-bottom: none;
	margin-bottom: 0;
}

.victory-match-row .opponent {
    font-size: var(--smallest);
    font-weight: normal;
}

#head-to-head .custom-title {
	color: var(--primary);
}

.player-wrap {
	padding: 100px 0;
}

.player-profile .player-body {
	display: flex;
    flex-wrap: wrap;
}

.player-image {
	flex-basis: 50%;
}

.player-meta {
	flex-basis: 50%;
	padding-left: 50px;
}

.player-meta-table {
	border: none;
}

.player-tabs-wrapper {
	flex-basis: 100%;
	padding-top: 50px;
}

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

.officials__block {
	flex-basis: 70%;
}

.supporters-contact,
.officials__row,
.contact__row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: var(--smallest);
    padding: 10px 0;
    border-bottom: solid 1px #f0f0f0;
}

.supporters-contact__title span {
	font-size: var(--font);
}

.supporters-contact__title {
	flex-basis: 45%;
}

.supporters-contact__info {
	flex-basis: 55%;
	text-align: right;
}

.contact__title {
	flex-basis: 30%;
	font-weight: 600;
}

.contact__name {
	flex-basis: 20%;
}

.contact__number {
	flex-basis: 15%;
}

.contact__email {
	flex-basis: 30%;
}

.contact {
	font-size: var(--smallest);
}

.contact address {
	margin-top: 20px;
	margin-bottom: 0;
	font-style: normal;
}

.download__link {
    display: flex;
    align-items: center;
    justify-content: center;
}

.download__link a {
	background: var(--primary);
    color: var(--secondary);
    padding: 10px 20px 16px 20px;
    font-size: var(--medium);
    line-height: var(--medium);
    font-family: Futura-Heavy;
	border: solid 1px var(--primary);
}

.download__link a:hover {
	color: var(--primary);
    background: var(--secondary);
}

ol.privacy-policy > li {
    margin-bottom: 10px;
}

ol.privacy-policy ul {
    padding-top: 10px;
}

.privacy-policy ul > li {
    line-height: var(--medium);
}

.ngg-galleryoverview {
	margin: 0;
}

.ngg-galleryoverview.default-view .ngg-gallery-thumbnail-box {
    min-height: 230px;
    padding: 30px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: solid 1px #f0f0f0;
}

.ngg-gallery-thumbnail-box:nth-last-of-type(-n+5) {
	border-bottom: none !important;
}

.ngg-galleryoverview.default-view .ngg-gallery-thumbnail {
    border-right: solid 1px #f0f0f0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ngg-galleryoverview.default-view .ngg-gallery-thumbnail-box:nth-of-type(4n) .ngg-gallery-thumbnail {
	border-right: none;
}

ul.weekly-draw {
	list-style: none;
	margin: 0;
	padding: 0;
}

.wpcm-staff {
    flex-basis: 23% !important;
    position: relative;
}

.wpcm-staff-list {
	padding-bottom: 50px;
}

.wpcm-staff-photo {}

.wpcm-staff-name {
	position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    justify-content: end;
    text-decoration: none;
    color: var(--secondary);
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
}

.wpcm-staff-firstname,
.wpcm-staff-job {
    font-size: var(--smallest);
    line-height: var(--small);
    margin: 0;
}

.wpcm-staff-lastname {
    font-size: var(--small);
    font-weight: 900;
    line-height: 24px;
    margin: 0;
    margin-bottom: 10px;
}

.team-info {
	justify-content: space-between;
	padding-top: 50px;
}

.team-info__link {
    flex-basis: 32% !important;
    position: relative;
}

.team-info__link figure {
	margin: 0;
}

.team-info__link a {
	display: block;
	color: var(--secondary);
}

.team-info__text {
    display: flex;
    flex-direction: column;
    justify-content: end;
    text-decoration: none;
    color: var(--secondary);
    background: var(--primary);
	text-align: center;
    font-size: var(--smallest);
	margin: 0;
}

.team-info__text a {
    padding: 20px;
}

.team-info__kit-flex {
	gap: 0;
	padding-top: 30px;
}

.team-info__kit {
	text-align: center;
    flex-basis: 50% !important;
    flex-grow: 0 !important;
    padding: 0 100px;
    border-right: solid 1px #f0f0f0;
}

.team-info__kit h2 {
	font-family: Futura-Heavy;
}

.team-info__kit figure {
	margin: 0;
}

.team-info__kit:last-child {
	border-right: none;
}

.team-info__kit ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.team-info__kit li {
	padding: 10px 0;
    border-bottom: solid 1px #f0f0f0;
}

.team-info__kit li:last-child {
	padding-bottom: 0;
    border-bottom: none;
}

#rtfc-youth {
    background: url(https://www.roystontownyouthfc.com/Images/coverpic/coverpic.jpg);
    background-position: center right;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    justify-content: space-between;
}

.rtfc-youth__image {
    font-size: var(--small);
    color: var(--secondary);
    font-family: Futura-Heavy;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(90deg, rgba(10, 0, 0, 0) 0%, rgba(10, 0, 0, 1) 50%, rgba(10, 0, 0, 1) 100%);
    flex-basis: 20%;
    align-items: center;
}

.rtfc-youth__image img {
    width: 50%;
    background: #fff;
    border-radius: 50%;
    margin-bottom: 10px;
}

.rtfc-youth__link {
	margin-top: 20px;
	text-align: left;
	width: 100%;
}

.rtfc-youth__inner {
    padding: 100px;
    color: var(--secondary);
    font-size: var(--medium);
    line-height: 48px;
    font-family: Futura-Heavy;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    position: relative;
    text-align: left;
    flex-direction: column;
    flex-basis: 70%;
    background: #0A0000;
    background: linear-gradient(270deg, rgba(10, 0, 0, 0) 0%, rgba(10, 0, 0, 1) 50%, rgba(10, 0, 0, 1) 100%);
    padding-right: 20%;
}

.rtfc-youth__btn,
.rtfc-youth__btn:visited {
    background-color: var(--red);
    padding: 15px 80px;
    text-decoration: none;
    font-size: var(--smallest);
    color: var(--secondary);
}

.rtfc-youth__btn:hover,
.rtfc-youth__btn:active {
    background-color: var(--secondary);
    color: var(--primary);
}

.rtfc-block {
	display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
    padding-bottom: 50px;
    border-bottom: solid 1px #f0f0f0;
}

.rtfc-block:last-child {
	margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.rtfc-block__50 {
	flex-basis: 50%;
    padding-left: 50px;
    border-left: solid 1px #f0f0f0;
}

.rtfc-block__50:first-child {
    border-left: none;
    padding-left: 0;
    padding-right: 50px;
}

.rtfc-row {
	display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: var(--smallest);
    padding: 10px 0;
    border-bottom: solid 1px #f0f0f0;
}

.rtfc-block p {
    margin: 20px 0;
    font-size: var(--font);
}

.rtfc-block p:first-child {
    margin-top: 0;
}

.rtfc-block p:last-child {
    margin-bottom: 0;
}

.rtfc-block__left {
    flex-basis: 60%;
}

.rtfc-block__right {
    flex-basis: 35%;
    background: var(--primary);
    color: var(--secondary);
    padding: 50px;
    position: relative;
}

.rtfc-block__right a {
	color: var(--secondary);
	font-family: "Lato", sans-serif;
}

.rtfc-block__right a:hover {
	color: var(--red);
}

.rtfc-block__right .rtfc-row {
    border-bottom: solid 1px rgba(255,255,255,0.3);
}

.rtfc-block__right .victory-title {
    color: var(--secondary);
    margin-top: 0;
}

.rtfc-block__right .victory-title span {
	font-size: var(--font);
	line-height: var(--smallest);
	display: block;
}

.rtfc-block__right ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.rtfc-block__right li:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.rtfc-row:last-child,
.rtfc-block__right .rtfc-row:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.supporters-contact__text p {
	font-size: var(--smallest);
}

.download__title {
    font-size: var(--font);
    font-family: Futura-Heavy;
}

.rtfc-block__50 > div:first-child.victory-title,
.rtfc-block > div:first-child.victory-title {
	margin-top: 0;
}

ul.weekly-draw li {
	font-size: var(--font);
}

.history {
    align-items: center;
}

.history-full {
	flex-direction: column;
}

.rtfc-block ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.rtfc-block li {
	padding: 10px 0;
    border-bottom: solid 1px #f0f0f0;
}

.rtfc-block__right li {
    border-bottom: solid 1px rgba(255, 255, 255, 0.3);
	font-size: var(--smallest);
}

.rtfc-block li:first-child {
	padding-top: 0;
}

.rtfc-block li:last-child {
	padding-bottom: 0;
    border-bottom: none;
}

.officials__title {
	flex-basis: 50%;
	font-weight: 600;
}

.officials__name {
	flex-basis: 25%;
}

.officials__number {
	flex-basis: 20%;
	text-align: right;
}

@media (min-width: 1201px) and (max-width: 1400px) {

	:root {
		--large: 42px;
		--medium: 32px;
		--small: 22px;
		--smallest: 16px;
		--font: 14px;
	}

	.site-branding, .site-info {
		padding: 20px;
	}

	.close-sub-menu {
		display: none !important;
	}

	.index-banner .grid-third:nth-child(1) .victory-post-item-text a {
		line-height: 40px;
	}

	.fixtures, .results {
		padding: 0 50px;
	}

	.find-us__inner,
	#fixtures-results,
	#latest-news,
	#sponsors {
		padding: 100px 50px;
	}

	.fixture__score {
		margin: 0 20px;
	}

	.shop-links__club,
	.shop-links__kit {
		padding: 60px 0;
	}

	.shop-links__club .container__header {
		font-size: var(--medium);
	}

	.shop-links__club a {
		padding: 15px 40px;
	}

	.rtfc-youth__image {
		flex-basis: 25%;
	}

	.entry-content > div,
	#shop-links,
	#sponsors,
	#rtfc-youth {
		overflow-x: hidden;
	}

	footer .site-branding, footer .site-info {
		padding: 50px 20px 30px 20px;
	}
	
	footer .site-base {
		margin: 0 20px;
	}

	.page__main, .page__news, .post__news {
		padding: 100px 50px;
	}

	.competition {
		flex-basis: 10%;
	}

	.page__banner:after {
		bottom: -8%;
		height: 13%;
	}

	.page__banner .entry-header {
		bottom: 50px;
		left: 20px;
	}

	.wpcm-single-match {
		padding: 50px 20px;
	}

}

@media (min-width: 1025px) and (max-width: 1200px) {

	:root {
		--large: 42px;
		--medium: 32px;
		--small: 22px;
		--smallest: 16px;
		--font: 14px;
	}

	.site-branding, .site-info {
		padding: 20px;
	}

	.close-sub-menu {
		display: none !important;
	}

	.index-banner .grid-third:nth-child(1) .victory-post-item-text a {
		line-height: 40px;
	}

	.fixtures, .results {
		padding: 0 50px;
	}

	.find-us__inner,
	#fixtures-results,
	#latest-news,
	#sponsors {
		padding: 100px 50px;
	}

	.fixture__score {
		margin: 0 20px;
	}

	.shop-links__club,
	.shop-links__kit {
		padding: 60px 0;
	}

	.shop-links__club .container__header {
		font-size: var(--medium);
	}

	.shop-links__club a {
		padding: 15px 40px;
	}

	.rtfc-youth__image {
		flex-basis: 25%;
	}

	.entry-content > div,
	#shop-links,
	#sponsors,
	#rtfc-youth {
		overflow-x: hidden;
	}

	footer .site-branding, footer .site-info {
		padding: 50px 20px 30px 20px;
	}
	
	footer .site-base {
		margin: 0 20px;
	}

	.page__main, .page__news, .post__news {
		padding: 100px 50px;
	}

	.competition {
		flex-basis: 10%;
	}

	.page__banner:after {
		bottom: -8%;
		height: 13%;
	}

	.page__banner .entry-header {
		bottom: 50px;
		left: 20px;
	}

	.wpcm-single-match {
		padding: 50px 20px;
	}

}

@media (min-width: 768px) and (max-width: 1024px) {

	:root {
		--large: 36px;
		--medium: 24px;
		--small: 18px;
		--smallest: 16px;
		--font: 14px;
	}

	.site-branding, .site-info {
		padding: 20px;
	}

	.close-sub-menu {
		display: none !important;
	}

	.index-banner .grid-third:nth-child(1) .victory-post-item-text a {
		line-height: 40px;
	}

	.fixtures, .results {
		padding: 0 50px;
	}

	.find-us__inner,
	#fixtures-results,
	#latest-news,
	#sponsors {
		padding: 100px 50px;
	}

	.fixture__score {
		margin: 0 20px;
	}

	.shop-links__club,
	.shop-links__kit {
		padding: 60px 0;
	}

	.shop-links__club .container__header {
		font-size: var(--medium);
	}

	.shop-links__club a {
		padding: 15px 40px;
	}

	.rtfc-youth__image {
		flex-basis: 25%;
	}

	.entry-content > div,
	#shop-links,
	#sponsors,
	#rtfc-youth {
		overflow-x: hidden;
	}

	footer .site-branding, footer .site-info {
		padding: 50px 20px 30px 20px;
	}

	.footer-navigation .menu {
		grid-template-columns: repeat(4, 2fr);
	}

	.custom-logo-link {
		flex-basis: 20%;
	}
	
	footer .site-base {
		margin: 0 20px;
	}

	.page__main, .page__news, .post__news {
		padding: 100px 50px;
	}

	.competition {
		flex-basis: 10%;
	}

	.page__banner:after {
		bottom: -8%;
		height: 13%;
	}

	.page__banner .entry-header {
		bottom: 50px;
		left: 20px;
	}

	.wpcm-single-match {
		padding: 50px 20px;
	}

}

@media (min-width: 481px) and (max-width: 767px) {

	.match-row {
    	display: grid;
    	grid-template-columns: auto 1fr auto auto;
    	align-items: center;
    	gap: 0 1rem;
	}

	.club-thumb {
		grid-column: 1;
		grid-row: 1 / span 4;
	}

	.opponent {
		grid-column: 2;
	}

	.date {
		grid-column: 2;
		display: flex;
		line-height: 30px;
	}

	.date__time {
		margin-left: 20px;
	}

	.venue {
		grid-column: 2;
		grid-row: 3;
	}

	.competition {
		grid-column: 2;
		grid-row: 3;
		margin-left: 20px;
	}

	.score {
		grid-column: 3;
		grid-row: 1 / span 4;
	}

	.match-centre-link {
		grid-column: 4;
		grid-row: 1 / span 4;
	}

	.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column.wpcm-staff,
	.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column.team-info__kit {
		flex-basis: 45% !important;
	}

	.team-info__kit {
		padding: 0 50px;
	}

	.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column.team-info__link {
        flex-basis: 30% !important;
    }

	.rtfc-row {
		flex-wrap: wrap;
		justify-content: space-between;
	}

	.contact__email {
		flex-basis: 100%;
	}

	.post,
	.history {
		flex-direction: column;
	}

	.post-thumbnail img {
		width: 100%;
	}

	.officials__title {
		flex-basis: 70%;
	}

	.officials__name {
		text-align: right;
	}

	.officials__number {
		text-align: left;
		flex-basis: 100%;
	}

	.rtfc-block__right {
		padding: 30px;
	}

	.supporters-contact__title,
	.supporters-contact__info {
		flex-basis: 100%;
		text-align: left;
	}

	.rtfc-block__left {
		padding: 0 10px;
	}

	.rtfc-block__right {
		padding: 20px;
	}

	.rtfc-block__50 {
		padding-left: 50px;
		padding-right: 0;
		padding-top: 0;
		border-top: none;
		border-left: solid 1px #f0f0f0;
		margin-left: 50px;
		margin-top: 0;
	}

	.rtfc-block__50:first-child {
		border-left: none;
		border-top: none;
		padding-left: 0;
		padding-right: 0;
		padding-top: 0;
		margin-top: 0;
		margin-left: 0;
	}

	.history-img {
		order: 1;
		border-top: solid 1px #f0f0f0 !important;
		padding-top: 50px !important;
		margin-top: 50px !important;
		width: 100%;
		border-left: none;
        margin-left: 0;
        padding-left: 0;
	}

	.history-img img {
		width: 100%;
	}

	.history-text {
		border-top: 0;
		padding-top: 0;
		margin-top: 0;
		border-left: none;
        margin-left: 0;
        padding-left: 0;
	}

	.download__title {
		flex-basis: 75%;
	}

	.ngg-galleryoverview.default-view .ngg-gallery-thumbnail {
		padding: 0 20px;
	}

	.ngg-galleryoverview.default-view .ngg-gallery-thumbnail-box {
		padding: 10px 0;
		min-height: 200px;
	}

	.wpcm-single-match {
		padding: 50px 20px;
	}

	.scoreboard-club {
		flex-basis: 40%;
	}

	.scoreboard-score {
		padding: 10px;
	}

	.match-details {
		flex-direction: column;
		align-items: center;
	}

	ul.match-details-info li,
	ul.match-details-venue li {
		margin: 0 !important;
		text-align: center;
	}

	.lineup__flex {
		flex-direction: column;
	}

	.wpcm-subs-table {
		margin-left: 0;
		padding-left: 0;
		border-left: none;
		margin-top: 50px;
		padding-top: 30px;
		border-top: solid 1px #f0f0f0;
	}

}

@media screen and (max-width: 767px) {

	:root {
		--large: 36px;
		--medium: 24px;
		--small: 18px;
		--smallest: 14px;
		--font: 12px;
	}

	.noscroll {
        overflow: hidden;
    }

	.menu-toggle {
		display: block;
	}

	header .main-navigation .menu-main-container > ul {
		position: absolute;
		top: -120vh;
		background: var(--primary);
		bottom: 120vh;
		height: 100vh;
		flex-direction: column;
		transition: ease-in-out 0.5s;
		text-align: center;
		justify-content: flex-start;
		width: 100%;
		right: 0;
		left: 0;
		overflow: scroll;
		padding-top: 250px;
		padding-bottom: 100px;
	}

	header .main-navigation.toggled .menu-main-container > ul {
		display: flex;
		top: 0;
		bottom: 0;
		transition: ease-in-out 0.5s;
	}

	header .sub-menu {
		position: relative;
		float: none;
		box-shadow: none;
		top: unset;
		left: unset;
		right: unset;
		text-align: center;
	}

	header .sub-menu a {
		width: 100%;
	}

	header .main-navigation li {
		display: flex;
		justify-content: center;
		align-items: center;
	}

	header .menu-item-has-children:after {
		border-left: 5px solid transparent;
		border-right: 5px solid transparent;
		border-top: 10px solid var(--secondary);
		content: '';
	}

	header .main-navigation ul.sub-menu {
		position: fixed;
		right: 0;
		left: 0;
		width: 100%;
		top: -120vh;
		bottom: 120vh;
		background: var(--primary);
		box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
		transition: ease-in-out 0.5s;
		height: 100vh;
		z-index: 1000;
		padding: 20px;
		justify-content: center;
	}

	header .main-navigation ul.sub-menu.open {
        left: 0;
        right: 0;
        display: flex;
        position: fixed;
        background: var(--secondary);
        top: 0;
        bottom: 0;
        height: 100vh;
        width: 100%;
        box-shadow: none;
        justify-content: flex-start;
        padding-top: 250px;
		padding-bottom: 100px;
		z-index: 9998;
		overflow: scroll;
		transition: ease-in-out 0.5s;
    }

	header .close-sub-menu {
		position: fixed;
		top: 10px;
		right: 10px;
		width: 24px;
		height: 24px;
		cursor: pointer;
		display: flex;
		align-items: center;
		justify-content: center;
		background: none;
		border: none;
		margin-top: 10px;
        margin-right: 18px;
	}

	header .sub-menu a {
		width: 100%;
		color: var(--primary);
		width: 100% !important;
	}

	.close-sub-menu span {
		position: absolute;
		width: 30px;
		height: 3px;
		background-color: var(--primary);
		transition: 0.3s ease-in-out;
	}

	.close-sub-menu span:first-child {
		transform: rotate(45deg);
	}

	.close-sub-menu span:last-child {
		transform: rotate(-45deg);
	}

	.content-area {
		overflow-x: hidden;
	}

	.header__logo {
	    flex-direction: column;
		margin: 0 auto;
		width: 20%;
		text-align: center;
		padding-top: 0;
	    position: relative;
    	z-index: 9999;
	}

	.header__logo img {
		/* enable when replacing 150 anniversary logo with original */
		/*background: var(--secondary);
		border-radius: 50%;*/
	}

	.site-branding__text {
		display: none;
	}

	.header_right {
		display: flex;
    	align-items: center;
		padding: 0 10px;
		justify-content: center;
	}

	.header__sponsor {
		width: 40%;
	}

	.social {
		position: absolute;
		top: 20px;
		margin: 0;
		left: 10px;
		z-index: 9999;
	}

	.site-branding {
		flex-direction: column;
	}

	.social-icons {
    	justify-content: flex-end;
	}

	.social-icons a {
		margin-left: 0;
		margin-right: 10px;
	}

	.social-icons img {
		width: 25px;
		height: unset;
	}

	.social-icons.nav-toggled img {
		filter: brightness(0) invert(1);
	}

	.social-icons.submenu-open img {
		filter: brightness(0) invert(0);
	}

	.desktop-banner {
		display: none !important;
	}

	.mobile-banner {
		display: block !important;
	}

	.index-banner .grid-third:nth-child(1) .victory-post-item-text a {
        line-height: 32px;
    }

	.fixtures-results-wrap,
	.find-us__wrap {
		flex-direction: column;
	}

	#fixtures-results:before {
		display: none;
	}

	#find-us {
		background: linear-gradient(180deg, rgba(10, 0, 0, 0.3) 0%, rgba(10, 0, 0, 1) 100%);
	}

	.find-us__inner,
	#latest-news,
	#sponsors {
		padding: 100px 20px;
	}

	.find-us__text {
		text-align: center;
		padding-top: 50px;
	}

	#latest-news,
	#sponsors {
		padding: 100px 20px;
	}

	.victory-post-module.victory-post-module-home.row {
		display: block;
	}

	.grid-third {
		margin-left: 0;
	}

	.grid-third:nth-child(1) {
		margin-bottom: 20px;
	}

	#shop-links {
		flex-direction: column;
	}

	.shop-links__club {
		padding: 90px 0;
	}

	#rtfc-youth {
        flex-direction: column;
        background-position: center;
    }
	
	.rtfc-youth__image {
        background: linear-gradient(180deg, rgba(10, 0, 0, 0) 0%, rgba(10, 0, 0, 1) 50%, rgba(10, 0, 0, 1) 100%);
        padding-bottom: 50px;
		font-size: var(--medium);
    }

	.rtfc-youth__image img {
		width: 20%;
	}

	.rtfc-youth__inner {
        background: linear-gradient(0deg, rgba(10, 0, 0, 0) 0%, rgba(10, 0, 0, 1) 50%, rgba(10, 0, 0, 1) 100%);
        padding: 50px;
        text-align: center;
        padding-bottom: 350px;
        line-height: 48px;
        padding-top: 50px;
    }

	.rtfc-youth__link {
		text-align: center;
	}

	.site-info {
		flex-direction: column;
		width: 100%;
	}

	footer .custom-logo-link {
		width: 20%;
		margin-bottom: 30px;
	}

	.footer-navigation .menu {
	    display: flex;
    	flex-direction: column;
		padding: 0;
	}

	.footer-navigation .menu-item-has-children {
		text-align: center;
	}

	.site-base {
		margin: 0 20px;
	}

	.sponsors__single {
		flex-basis: 25%;
	}

	.page__banner h1.entry-title {
        margin: 0 10px;
    }

	.page__banner .entry-header {
		bottom: 20px;
	}

	.page__banner:after {
		bottom: -16%;
		height: 18%;
	}

	.page__main, .page__news, .post__news {
        padding: 50px 20px;
    }

	.post__main {
		padding-top: 40px;
		padding-left: 0;
	}

}

@media screen and (max-width: 480px) {

	:root {
		--large: 36px;
		--medium: 24px;
		--small: 18px;
		--smallest: 14px;
		--font: 12px;
	}

	.menu-toggle {
		display: block;
	}

	.page__banner:after {
		bottom: 0;
		height: 10%;
	}

	.page__banner .entry-header {
		bottom: 50px;
	}

	.page__main, .page__news, .post__news {
		padding: 50px 10px;
	}

	.page__banner h1.entry-title {
		margin: 0 10px;
	}

	.content-area {
		overflow-x: hidden;
	}

	.header__logo {
	    flex-direction: column;
		margin: 0 auto;
		width: 40%;
		text-align: center;
		padding-top: 40px;
	    position: relative;
    	z-index: 9999;
	}

	.header__logo img {
		/* enable when replacing 150 anniversary logo with original */
		/*background: var(--secondary);
		border-radius: 50%;*/
	}

	.site-branding__text {
		display: none;
	}

	.header_right {
		display: flex;
    	align-items: center;
		padding: 0 10px;
		justify-content: center;
	}

	.header__sponsor {
		width: 40%;
	}

	.social {
		position: absolute;
		top: 20px;
		margin: 0;
		left: 10px;
		z-index: 9999;
	}

	.site-branding {
		flex-direction: column;
	}

	.social-icons {
    	justify-content: flex-end;
	}

	.social-icons a {
		margin-left: 0;
		margin-right: 10px;
	}

	.social-icons img {
		width: 25px;
		height: unset;
	}

	.social-icons.nav-toggled img {
		filter: brightness(0) invert(1);
	}

	.social-icons.submenu-open img {
		filter: brightness(0) invert(0);
	}

	.home header {
		position: relative;
	}

	.fixtures-results-wrap {
		display: flex;
		justify-content: space-between;
		flex-direction: column;
	}

	footer .site-info {
		flex-direction: column;
		padding: 50px 30px 20px 30px;
	}

	#footer-menu {
		display: flex;
		flex-direction: column;
    	text-align: center;
		padding-left: 0;
	}

	footer .custom-logo-link {	
		margin-bottom: 20px;
	}

	.sub-menu-header {
		display: block;
	}

	.noscroll {
		overflow: hidden;
	}

	.index-banner .grid-third:nth-child(1) .victory-post-item-text a {
		width: 100%;
		text-align: center;
		font-size: var(--small);
        line-height: 32px;
	}

	.index-banner .grid-third:nth-child(1) a {
		display: flex;
		align-items: center;
	}

	.index-banner .grid-third:nth-child(1) img {
		height: unset;
		width: unset;
		object-fit: unset;
		display: block;
	}

	.index-banner .victory-post-item.victory-post-item-featured-home {
		padding-top: 0;
		height: unset !important;
	}

	#fixtures-results {
		padding: 50px 0;
	}

	.fixtures, .results {
		padding: 0 50px;
	}

	.fixtures {
		order: 1;
	}

	.results {
		padding-top: 50px;
		order: 3;
	}

	#next-fixture, #next-result {
		left: unset;
		right: -30px;
	}

	#prev-fixture, #prev-result {
		left: -30px;
	}

	.container__header {
		padding-bottom: 30px;
	}

	#fixtures-results:after,
	#latest-news:after {
		background-size: 100%;
	}

	#fixtures-results:before {
		display: none;
	}

	.fixtures-results__tickets {
		padding-top: 50px;
		order: 2;
	}

	.find-us__inner,
	#latest-news,
	#sponsors {
		padding: 100px 20px;
	}

	#find-us {
		background: linear-gradient(180deg, rgba(10, 0, 0, 0.3) 0%, rgba(10, 0, 0, 1) 100%);
	}

	.find-us__wrap,
	#shop-links,
	.sponsors__wrap,
	.site-base__right {
		flex-direction: column;
	}

	.find-us__text {
		text-align: center;
		padding-top: 20px;
	}

	.victory-post-module.victory-post-module-home.row {
		display: block;
	}

	.index-banner {
		height: unset;
	}

	.index-banner .grid-third:nth-child(1) .victory-post-item-text {
		align-items: flex-start;
        padding-top: 50px;
	}

	.grid-third {
		margin-left: 0;
	}

	.grid-third:nth-child(1) {
		margin-bottom: 20px;
	}

	.index-banner .grid-third:nth-child(1) {
        margin-bottom: 0;
    }

	.grid-third .entry-title {
		line-height: var(--small);
	}

	.grid-third a {
		font-size: var(--font);
	}

	.victory-post-item-thumb {
		flex-basis: 50%;
	}

	.victory-post-item-text {
		flex-basis: 45%;
		margin-right: 0;
	}

	.shop-links__club {
		padding: 70px 0;
		padding-bottom: 50px;
	}

	.shop-links__kit {
		padding: 50px 0;
		padding-top: 30px;
	}

	.shop-links__club .container__header {
		font-size: var(--medium);
	}

	.shop-links__club a {
		padding: 10px 40px;
	}

	.sponsors__single {
		margin-bottom: 20px;
	}

	.sponsors__single:last-child {
		margin-bottom: 0;
	}

	.news__btn,
	.sponsors__btn {
		padding: 10px 40px;
	}

	footer .custom-logo-link {
		width: 30%;
	}

	footer .sub-menu-header {
		display: none;
	}

	footer .site-base {
		padding: 10px;
		flex-direction: column;
		text-align: center;
		margin: 0 10px;
	}

	footer .social-icons {
        justify-content: center;
		margin: 10px 0;
    }

	.main-navigation.toggled {
		height: 100vh;
	}

	#primary-menu:after,
	.sub-menu.open:after {
		background: url(https://rtfc.sam-thorp.co.uk/wp-content/uploads/2025/07/checked-border.jpg);
		background-repeat: repeat-x;
		background-position: center bottom;
		position: fixed;
		bottom: 0;
		width: 100%;
		height: 10%;
		content: '';
		z-index: 9;
		left: 0;
		right: 0;
	}

	.desktop-banner {
		display: none !important;
	}

	.mobile-banner {
		display: block !important;
	}

	.match-row,
	.club-thumb,
	.score,
	.wpcm-player-list,
	.fixtures-results-wrap,
	.find-us__wrap,
	.victory-post-item,
	#shop-links,
	.sponsors__wrap,
	.post,
	.stats-tabs,
	.player-tabs,
	.match-details,
	.stats-header,
	.lineup__flex,
	.victory-clubs-stats,
	.victory-match-row,
	.player-profile .player-body,
	.officials,
	.supporters-contact,
	.officials__row,
	.contact__row,
	.price,
	.price__side .price__row,
	.download__link,
	.price__row,
	.history,
	.ngg-galleryoverview.default-view .ngg-gallery-thumbnail-box,
	.ngg-galleryoverview.default-view .ngg-gallery-thumbnail,
	.rtfc-block,
	.rtfc-row {
		flex-direction: column;
	}

	button.fixture-nav-btn {
		padding: 5px;
	}

	.fixture__inner {
		padding: 30px 15px;
	}

	.fixture__score {
		margin: 0 20px;
	}

	.rtfc-block__right {
		margin-top: 50px;
	}

	.rtfc-block__left {
		padding: 0 10px;
	}

	.rtfc-block__right {
		padding: 20px;
	}

	.rtfc-block__50 {
		padding-left: 10px;
		padding-right: 10px;
		padding-top: 50px;
		border-left: none;
		border-top: solid 1px #f0f0f0;
		margin-top: 50px;
	}

	.rtfc-block__50:first-child {
		border-left: none;
		border-top: none;
		padding-left: 10px;
		padding-right: 10px;
		padding-top: 0;
		margin-top: 0;
	}

	#rtfc-youth {
        flex-direction: column;
        background-position: center;
    }
	
	.rtfc-youth__image {
        background: linear-gradient(180deg, rgba(10, 0, 0, 0) 0%, rgba(10, 0, 0, 1) 50%, rgba(10, 0, 0, 1) 100%);
        padding-bottom: 50px;
    }

	.rtfc-youth__image img {
		width: 30%;
	}

	.rtfc-youth__inner {
        background: linear-gradient(0deg, rgba(10, 0, 0, 0) 0%, rgba(10, 0, 0, 1) 50%, rgba(10, 0, 0, 1) 100%);
        padding: 20px;
        text-align: center;
        padding-bottom: 350px;
        line-height: 36px;
        padding-top: 50px;
    }

	.rtfc-youth__link {
		text-align: center;
	}

	.wp-block-buttons.is-content-justification-right {
		justify-content: center;
	}

	.wpcm-view-link, .wp-block-button__link {
		padding: 10px 20px !important;
	}

	.match-row {
		text-align: center;
	}

	.date {
		display: flex;
		justify-content: space-between;
		margin: 10px 0;
	}

	.date__date,
	.date__time {
		margin: 0 10px;
	}

	.score span,
	.match-centre-link a {
		display: block;
		margin: 5px 0;
	}

	.competition {
		margin: 5px 0 10px 0;
	}

	.victory-title {
		text-align: center;
	}

	.wpcm-view-link {
		float: none;
		width: 50%;
		text-align: center;
		margin-left: auto;
		margin-right: auto;
	}

	.team-info__kit:first-child {
		padding-bottom: 50px;
	}

	.team-info {
		padding: 50px;
	}

	.wpcm-staff-list {
		padding: 50px;
		padding-top: 0;
	}

	.wpcm-player {
		flex-basis: 47%;
	}

	.rtfc-block p,
	.rtfc-row p,
	.supporters-contact__text {
		text-align: center;
	}

	.rtfc-block ul {
		text-align: center;
	}

	header .sub-menu .current-menu-item {
		background: var(--primary);
	}

	header .sub-menu .current-menu-item a {
		color: var(--secondary);
	}

	.rtfc-row.download {
		flex-direction: row;
	}

	.download__link a {
		padding: 6px 16px 12px 16px;
	}

	.history-img {
		order: 1;
		border-top: solid 1px #f0f0f0 !important;
		padding-top: 50px !important;
		margin-top: 50px !important;
	}

	.history-text {
		border-top: 0;
		padding-top: 0;
		margin-top: 0;
	}

	span.victory-title {
		display: inline
	}

	.privacy-policy .victory-title {
        text-align: left;
    }
	
	.ngg-galleryoverview.default-view .ngg-gallery-thumbnail {
		padding: 0 20px;
	}

	.ngg-galleryoverview.default-view .ngg-gallery-thumbnail-box:nth-of-type(2n) .ngg-gallery-thumbnail {
		border-right: none;
	}

	.ngg-galleryoverview.default-view .ngg-gallery-thumbnail-box {
		padding: 10px 0;
	}

	.page-banner__img,
	.find-us__img {
		display: none;
	}

	.page-banner__mobile,
	.find-us__mobile {
		display: block;
	}

	.wpcm-single-match {
		padding: 50px 20px;
	}

	.scoreboard-club {
		flex-basis: 40%;
	}

	.scoreboard-score {
		padding: 10px;
	}

	.scoreboard-meta {
		padding: 10px;
		text-align: center;
		line-height: var(--small);
	}

	.wpcm-subs-table {
		margin-left: 0;
		padding-left: 0;
		border-left: none;
		margin-top: 50px;
		padding-top: 30px;
		border-top: solid 1px #f0f0f0;
	}

}