/*!
Theme Name: Hamkes theme
Author: Izabel & Anastasia
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: hamkes-theme
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.

Hamkes theme 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.
 */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@300;400;500;700&family=Syncopate:wght@400;700&display=swap');

html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

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

body {
    overflow-x: hidden;
	margin: 0 auto;
}

/**
 * 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: #ffffff;
	font-family: "Kdam Thmor Pro", sans-serif;   
	font-size: 1em;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	font-family: "Kdam Thmor Pro", sans-serif;
}

h1 {
    font-size: clamp(1.6rem, 4vw, 2.7rem);
}

h2 {
    font-size: clamp(1.4rem, 3vw, 2rem);
}

h3 {
    font-size: clamp(1.25rem, 2.2vw, 1.5rem);
}

p {
    font-family: "Kdam Thmor Pro", sans-serif;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

a {
    font-family: "Kdam Thmor Pro", sans-serif;
    font-size: clamp(0.9rem, 2vw, 1rem);
    text-decoration: none;
}


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: #000000;
}

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
--------------------------------------------- */

.site-footer {
    padding: 60px 40px 50px;
    color: #fff;
}

.footer-top {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 80px;
    align-items: start;
    margin-bottom: 8rem;
}

.footer-logo {
    align-self: start;
    justify-self: start;
    margin-top: -30px;
}

.footer-logo img {
    width: 290px;
    min-width: 200px;
    max-width: 100%;
    height: auto;
}


.footer-navigation {
    display: flex;
    gap: 80px;
    align-items: start;
}

.footer-col-1,
.footer-col-2 {
    display: flex;
    flex-direction: column;
    font-size: clamp(0.8rem, 1vw, 1.5rem);
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-navigation li {
    margin: 0;
    position: relative;
}

.footer-navigation a,
.menu-item-has-children summary {
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
    letter-spacing: .5px;
    cursor: pointer;
    list-style:none;
    font-size: clamp(0.8rem, 1vw, 1.5rem);
    transition: color .3s;
}

.footer-navigation a:hover,
.menu-item-has-children summary:hover {
    color: #f97316;
    opacity: 1;
}

.sub-menu a {
    text-transform: uppercase;
    color: #ccc;
    text-decoration: none;
}

.sub-menu a:hover {
    color: #f97316;
}

.footer-contact {
    display: flex;
    flex-direction: row;
    align-items: start;
    gap: 20px;
}

.footer-contact-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-email,
.footer-social {
    display: flex;
    align-items: center;
}

.footer-email {
    gap: 10px;
}

.footer-social {
    gap: 14px;
}

.footer-email img,
.footer-social img {
    width: 30px;
    height: 30px;
    display: block;
    padding: 6px;
    box-sizing: content-box;
}

.footer-email a {
    color: #fff;
    text-decoration: none;
    font-size: clamp(0.7rem, 1vw, 1.2rem);
    letter-spacing: .5px;
    transition: color .3s;
}

.footer-email a:hover {
    color: #f97316;
}

.footer-bottom {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 32px;
    margin-top: 120px;
    padding-top: 20px;
}

.footer-bottom p {
    margin: 0;
    font-size: clamp(0.65rem, 0.8vw, 0.9rem);
}

.footer-bottom .footer-legal-links {
    display: flex;
    flex-direction: row;
    list-style: none;
    margin: 0;              
    padding: 0;
    gap: 24px;
}

.footer-bottom .footer-legal-links a {
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: clamp(0.6rem, 0.8vw, 0.85rem);
    transition: opacity 0.3s;
    
}

.footer-bottom .footer-legal-links a:hover {
    opacity: 0.7;
}



/* 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;
}






/* HOME PAGE
--------------------------------------------- */

/* My custom changes */

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

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

.custom-logo {
    display: block;
    max-height: 60px;
    width: auto;
}

/* Navigation */


.main-navigation {
    margin-left: auto;
    padding: 20px;
}

.main-navigation ul {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 30px;

    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation li {
    margin: 0;
    padding: 0;
}

.main-navigation a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
	text-transform: uppercase;
	white-space: nowrap;
}

.main-navigation a:hover {
    color: orange;
}

.main-navigation {
    margin-left: auto;
}

.site-branding {
    flex-shrink: 0;
}


/* Hero section */

.hero {
    height: 60vh;
    background-image: url("images/wave.png");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 0 20px; 
}

.hero-logo .custom-logo {
    width: clamp(280px, 60vw, 900px);
    height: auto;
    max-height: none;
    margin-bottom: clamp(1rem, 3vw, 2rem);
    transform: translateX(-22%); 
}

/* Main page / Front page */

.home .site-branding {
    visibility: hidden;
}

.gradient-line {
    height: 3px;
    background: linear-gradient(90deg, #7c3aed, #f97316);

    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;

    margin-top: 6rem;
    margin-bottom: 6rem;
}

/* Front page - stats ribbon */

.stats-grid {
    display: flex;
    justify-content: center;
    gap: 150px;
    margin: 8rem 0;
    padding: 0 20px;
}

.stats-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(15px, 4vw, 70px); 
    background: rgba(255, 255, 255, 0.048);
    border-radius: 16px;
    padding: clamp(1.2rem, 3vw, 3rem) clamp(2rem, 6vw, 6rem);
    max-width: 100%;
    transition: border-color 0.3s ease;
}

.stats-wrapper:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.stats-item {
    width: clamp(70px, 18vw, 250px);
    text-align: center;
}

.stats-item h1 {
    font-size: clamp(1.6rem, 4vw, 2.7rem);
    margin-bottom: 4px;   
}

.stats-item h3 {
    font-size: clamp(1.2rem, 2.2vw, 1.5rem);
    color: rgba(255, 255, 255, 0.65);
    font-weight: 400;
}

.stats-divider {
    width: 3px;
    height: clamp(50px, 12vw, 120px);
    background: #fff;
}

.stats-item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: clamp(-30px, -4vw, -50px);
    top: 10%;
    height: 80%;
    width: 4px;
    background: #fff;
}

/* Front page - services */

.services {
    margin: 10rem 0;
}

.services-title {
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 6rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.service-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.service-card-link:visited,
.service-card-link:hover,
.service-card-link:active {
    color: inherit;
    text-decoration: none;
}

.service-item {
    width: 350px;
    border: 1px solid transparent;
    border-radius: 30px;
    padding: 40px 24px;

    transition: transform 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}

.service-card-link:hover .service-item {
    transform: translateY(-10px) scale(1.03);
    border-color: #fff;
    background-color: rgba(255, 255, 255, 0.05);
    cursor: pointer;
}

.service-icon {
    width: 22px;
    height: 22px;

    display: block;

    border: 2px solid #fff;
    border-radius: 10px;
    padding: 6px;
    box-sizing: content-box;

    margin-bottom: 1.5rem;
}

.service-name {
    margin-bottom: 1rem;
}

.service-description {
    line-height: 1.6;
    margin-bottom: 2rem;
}

.service-divider {
    border: none;
    border-top: 1px solid #fff;
    margin: 2rem 0 1rem;
}

.service-number {
    font-size: 1.5rem;
    font-weight: 700;
}


/* Front page - news */

.news-feed {
    margin: 10rem 0;
}

.news-title {
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    margin: 0 0 6rem;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    align-items: stretch;  
}

.news-item {
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100%;
    box-sizing: border-box;

    padding: 2rem;

    border: 1px solid transparent;
    border-radius: 20px;
    transition: transform 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}

.news-item:hover {
    transform: translateY(-10px);
    border-color: #fff;
    background-color: rgba(255, 255, 255, 0.05);
    cursor: pointer;
}

.news-image {
    display: block;

    width: 100%;
    height: 240px;

    margin: 0 0 2rem;

    object-fit: cover;
}

.news-item-title {
    margin-bottom: 0 0 0.75rem;
}

.news-date {
    opacity: 0.7;
    margin-bottom: 0 0 1.5rem;
}

.news-description {
    line-height: 1.6;
    margin-bottom: 0 0 2.5rem;
}

.news-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: fit-content;
    margin: auto auto 0;

    padding: 0.65rem 3rem;

    background: #fff;
    color: #000;

    border: 1px solid #fff;
    border-radius: 9999px;

    text-align: center;
    text-decoration: none;

    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;

    transition:
        background-color 0.3s ease,
        color 0.3s ease;
}

.news-button:hover {
    background: transparent;
    color: #fff;
}

.news-controls {
    display: flex;
    justify-content: center;
    align-items: center;

    margin-top: 3rem;
}

.news-arrow {
    padding: 0;
    margin: 0 1.5rem;

    background: none;
    border: none;

    color: #fff;

    font-size: 4rem;
    line-height: 1;

    cursor: pointer;

    transition: color 0.3s ease;
}

.news-arrow:hover {
    color: #f97316;
}

/* Front page - newsletter/subscribe */

.newsletter {
    margin: 10rem 0;
    text-align: center;
}

.newsletter-text {
    width: 100%;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 1.5rem;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    min-width: 0;
    padding: 1rem 1.2rem;

    border: 1px solid #fff;
    border-radius: 4px;

    font: inherit;
}


.newsletter-button {
    flex: 0 0 auto;

    padding: 1rem 2.5rem;

    border: 1px solid #f97316;
    border-radius: 9999px;

    background: #f97316;
    color: #000;

    font-weight: 700;
    text-transform: uppercase;

    cursor: pointer;
}

input.newsletter-input {
    padding-left: 1rem;
}

/* Front page - social media icons / follow us */

.social {
    margin: 0 0 10rem 0;
    text-align: center;
}

.social-text {
    margin-bottom: 2rem;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.social-icon {
    width: 40px;
    height: 40px;

    display: block;
    transition: 0.3s;
}

.social-icon:hover {
    border-color: #f97316;
}

/* Sponsors */

.sponsors {
    margin: 10rem 0;
    text-align: center;
}

.sponsors-title {
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10rem;
}

.sponsors-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem;

    width: 100%;
    margin: 0 auto;
}

.sponsor-placeholder {
    width: 210px;
    height: 100px;
    flex: 0 0 210px;

    border: 2px solid #fff;
    border-radius: 8px;
    box-sizing: border-box;
}


/* ABOUT PAGE
--------------------------------------------- */

.page-hero {
    height: 60vh;
    background-image: url("images/wave.png");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;

    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding-left: clamp(5%, 20%, 20%)
}

.page-hero-title {
    font-size: clamp(2.2rem, 8vw, 6rem);
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
}

.page-intro {
    max-width: 1000px;
    margin: clamp(2rem, 4vw, 6rem) auto 0;
    padding: 0 20px;
    line-height: 1.6;
}

.page-intro p{
    margin: 0;
}

.page-intro p + p {
    margin-top: 2rem;
}

/* About page */


.about-page-container {
    margin: 0 auto;
    padding: 0 20px;
}

.history{
    margin: 9rem 0 ;
}

.mvv{
    margin: 12rem 0;
}

.mvv-card {
    margin-bottom: 120px;
    padding-left: 24px;
    border-left: 2px solid rgba(255, 255, 255, 0.15);
}

.mvv-card h2{
    margin: 0 0 48px 0; 
}

.mvv-card p{
    line-height: 1.6;
    margin: 0;
}

.about-our-services{
    margin: 15rem 0;
}

.about-our-services-title{
    text-transform: uppercase;
    margin-bottom: 8rem;
	text-align: center;
}

.service-card {
    margin-bottom: 70px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.service-card:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.service-card h3{
	font-weight: 600;
    margin: 0 0 48px 0;
}

.service-card p{
    line-height: 1.6;
    margin: 0;
}
.about-our-services-grid {
    grid-template-columns: 1fr;
}



/*==================== 
News - page 
====================*/

.news-layout{
    display:grid;
    grid-template-columns:3fr 1fr;
    gap:40px;
}

.news-content{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}


/* News sidebar - archive */
.news-sidebar {
    color: #ffffff;
}

.archive-year {
    margin-bottom: 20px;
}

/* Year button */
.archive-year__toggle {
    display: flex;
    align-items: center;
    gap: 8px;

    width: 100%;
    padding: 10px 0;

    background: transparent;
    border: 0;

    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;

    cursor: pointer;
}

/* Arrow */
.archive-year__arrow {
    display: inline-block;
    width: 14px;

    transition: transform 0.2s ease;
}

.archive-year.open .archive-year__arrow {
    transform: rotate(90deg);
}


/* Months list */
.archive-months {
    display: none;

    margin: 5px 0 0 22px;
    padding: 0;

    list-style: none;
}

/* Show months */
.archive-year.open .archive-months {
    display: block;
}


/* Month links */
.archive-months li {
    margin-bottom: 8px;
}

.archive-months a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.95rem;
}

.archive-months a:hover {
    text-decoration: underline;
}

.news-content.loading {
    opacity: 0.5;
    pointer-events: none;
}
 
.archive-months a.active {
    font-weight: bold;
    color: #0073aa;
}

/* News search form */
.news-search-form {
    display: flex;
    gap: 1rem;
    margin: 2rem 0 3rem;
    max-width: 600px;
}

.news-search-input {
    flex: 1;
    padding: 1rem 1.5rem;

    background: #fff;
    color: #414141;

    border: 1px solid #fff;
    border-radius: 9999px;

    font-family: "IBM Plex Mono", monospace;
    font-size: 1rem;
}

.news-search-input:focus {
    outline: 2px solid #f97316;
    outline-offset: 2px;
}

.news-search-button {
    padding: 1rem 2rem;

    background: #f97316;
    color: #000;

    border: none;
    border-radius: 9999px;

    font-family: "IBM Plex Mono", monospace;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;

    transition: background 0.3s;
}

.news-search-button:hover {
    background: #ea580c;
}

.news-filter-reset {
    display: block;
    margin-bottom: 1.5rem;
    color: #ffffff;
    text-decoration: underline;
    cursor: pointer;
}

.news-filter-reset:hover {
    color: #f97316;
}





/*=================== 
Contact - page 
=====================*/

.contact-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 5rem; 
    justify-content: center;
    margin: 10rem 0 15rem 0;
}

.contact-card {
    width: 320px;
    height: 570px;      
    flex-shrink: 0;
    flex-grow: 0;
    box-sizing: border-box;
}

.contact-card__image {
    width: 100%;
    aspect-ratio: 4 / 3; 
    background-color: #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.contact-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.contact-card__location {
    margin-bottom: 1rem; 
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15); 
}

.contact-card__curator p:first-child {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #777777;
    margin-bottom: 1rem;
    font-weight: 600;
}

.contact-card__curator a {
    color: #fff;
    text-decoration: none;
}

.contact-form-section {
    max-width: 800px;
    margin: 0 auto;
}

/*=================== 
Contact form
=====================*/

.contact-form-title {
    text-align: center;
    letter-spacing: 0.05em;
    margin-bottom: 5rem;
}

.contact-form-wrapper .wpcf7-form label {
    display: block;
    width: 100%;
    margin-bottom: 1.5rem;
    color: #fff;
}

.contact-form-wrapper .wpcf7-form select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center; 
    padding-right: 3.5rem; 
}

.contact-form-wrapper .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
    margin-top: 0.4rem;
}

.contact-form-wrapper .wpcf7-form input[type="text"],
.contact-form-wrapper .wpcf7-form input[type="email"],
.contact-form-wrapper .wpcf7-form select,
.contact-form-wrapper .wpcf7-form textarea {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 4px;
    background-color: #fff;
    color: #000; 
}

.contact-form-wrapper .wpcf7-form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form-wrapper .wpcf7-form input[type="submit"] {
    width: 100%;
    padding: 0.9rem;
    background-color: #e8542a;
    color: #070707;
    font-weight: 700;
    text-transform: uppercase;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    letter-spacing: 0.05em;
}

.contact-form-wrapper .wpcf7-form input[type="submit"]:hover {
    background-color: #d1481f;
}

.contact-form-bottom-text {
    margin: 6rem 0 8rem 0;
    text-align: center;
}

.contact-form-bottom-text p {
    line-height: 1.6;
    color: #ccc;
}

.contact-form-bottom-text .contact-form-email,
.contact-form-bottom-text .contact-form-email strong {
    color: #fff !important;
    margin-top: 1.5rem !important;
    letter-spacing: 0.02em !important;
}



/* BOARD PAGE
--------------------------------------------- */

.board-content {
    display: flex;
    flex-direction: column;
    align-items: center;      
    width: 100%;
    margin-top: 6rem;
}

.board-grid {
    display: grid;
    grid-template-columns: repeat(3, 280px);
    justify-content: center;
    gap: 100px;
    width: 100%;
    margin: 70px 0 0 0; 
}

.board-card {
    border: 1px solid transparent;
    border-radius: 30px;
    padding: 40px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-color: rgb(255, 255, 255);

    width: 300px;         
    height: 470px;         
    box-sizing: border-box;
    box-shadow: none;
    outline: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}

.board-card:hover {
    transform: translateY(-10px) scale(1.03);
    border-color: rgb(255, 255, 255);
    background-color: rgba(255, 255, 255, 0.05);
    cursor: pointer;
}

/*first version*/

/*.board-card {
    border: 1px solid #ffffff48;
    border-radius: 30px;
    padding: 40px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;

    width: 280px;         
    height: 470px;         
    box-sizing: border-box;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.board-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
    cursor: pointer;
}
*/
.board-photo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 24px;
    flex-shrink: 0;
}

.board-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.board-name {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.35;
    margin: 0 0 10px 0;

    min-height: 58px; 
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.board-role {
    font-size: 14px;
    color: #ffffffd7;
    font-weight: 400;
    text-shadow: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.4;
    margin: 0 0 10px 0;

    min-height: 40px; 
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.board-contact-inner {
    margin-top: auto; 
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.board-email {
    font-size: 13px;
    color: #ffffffd7;
    word-break: break-word;
    margin: 10px 0 10px 0;
    min-height: 30px; 
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.board-icon a {
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 30px;
    height: 30px;
    box-sizing: content-box;

    transition: border-color 0.3s ease, transform 0.3s ease;
}

.board-icon svg {
    width: 10px;
    height: 10px;
}

/*LAST YEAR BOARD */

.old-board {
    display: block;
    width: 100%;
    max-width: 960px;
    margin-top: 170px;
    padding-top: 20px;
}

.old-board > summary {
    cursor: pointer;
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 0;
    margin-bottom: 40px;
    list-style: none;
}

.old-board > summary::-webkit-details-marker {
    display: none;
}

.old-board > summary::after {
    content: " ▼";
}

.old-board[open] > summary::after {
    content: " ▲";
}

.year-block {
    display: block;
    width: 100%;
    border-bottom: 1px solid #222;
    padding: 8px 0 8px 16px;
    margin: 20px 0 20px 0;
}

.year-block > summary {
    cursor: pointer;
    font-size: 1.3rem;
    font-weight: 600;
    list-style: none;
}

.year-block > summary::-webkit-details-marker {
    display: none;
}

.year-list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 20px 0 20px 0;
    padding: 0;
    gap: 8px 20px;
    width: 100%;
}

.year-list li {
    font-size: 0.9rem;
    color: #ccc;
    padding: 0 20px 0 0;
    border-right: 1px solid #444;
}

.year-list li:last-child {
    border-right: none;
    padding-right: 0;
}

.year-list .role {
    font-size: 0.9rem;
    color: #fff;
    font-weight: 600;
}

/*--------------------------------------------------------------
# Events page
--------------------------------------------------------------*/

.events-page-intro {
	max-width: 800px;
	margin: 0 auto 40px;
	padding: 0 20px;
	text-align: center;
}

.events-page-intro p {
	font-size: 1.1rem;
	line-height: 1.6;
	color: #666;
}

.events-layout {
	display: flex;
	gap: 40px;
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 20px;
}

.events-sidebar {
	flex: 0 0 280px;
	min-width: 280px;
}

.events-content {
	flex: 1;
	min-width: 0;
}

/* Filters */
.events-filters {
	background: #000;
	padding: 25px;
	border-radius: 8px;
	border: 1px solid #e0e0e0;
}

.filters-title {
	font-size: 1.5rem;
	margin: 0 0 20px;
	padding-bottom: 10px;
	border-bottom: 2px solid #fff;
}

.filter-group {
	margin-bottom: 25px;
}

.filter-group:last-of-type {
	margin-bottom: 20px;
}

.filter-group-title {
	font-size: 1.1rem;
	margin: 0 0 12px;
	font-weight: 600;
}

.filter-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.filter-item {
	margin-bottom: 8px;
}

.filter-label {
	display: flex;
	align-items: center;
	cursor: pointer;
	opacity: 1;
	transition: opacity 0.2s ease;
}

.filter-label:hover {
	opacity: 0.8;
}

.filter-label input[type="checkbox"],
.filter-label input[type="radio"] {
	margin-right: 10px;
	cursor: pointer;
}

.filter-label input[type="checkbox"]:disabled,
.filter-label input[type="radio"]:disabled {
	cursor: not-allowed;
}

.filter-date-inputs {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.filter-date-input {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.filter-date-label {
	font-size: 0.9rem;
	font-weight: 500;
	color: #fff
    
}

.filter-date-field {
	padding: 8px 10px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 0.95rem;
	font-family: inherit;
	background: #fff;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.filter-date-field:hover {
	border-color: #999;
}

.filter-date-field:focus {
	outline: none;
	border-color: #0073aa;
	box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.2);
}

.filter-label:has(input:disabled) {
	cursor: not-allowed;
	opacity: 0.6;
}

.filter-label:has(input:disabled):hover {
	opacity: 0.6;
}

.filter-empty {
	color: #000;
	font-style: italic;
}

.filter-actions {
	display: flex;
	gap: 10px;
	margin-top: 20px;
}

.filter-actions .button {
	flex: 1;
}

.filter-actions .button[data-filter-action="apply"] {
	display: none;
}

.filter-notice {
	margin-top: 15px;
	padding: 10px;
	background: #000;
	border-left: 3px solid #ffc107;
	font-size: 0.9rem;
	color: #856404;
}

/* Events Grid */
.events-grid-wrapper {
	min-height: 400px;
}

.events-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 30px;
	margin-bottom: 40px;
}

.events-empty {
	text-align: center;
	padding: 60px 20px;
	background: #f9f9f9;
	border-radius: 8px;
}

.events-empty h2 {
	margin: 0 0 15px;
	color: #333;
}

.events-empty p {
	margin: 0;
	color: #666;
}

/* Event Card */
.event-card {
	background: #000;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	overflow: hidden;
	transition: box-shadow 0.3s ease, transform 0.3s ease;
	display: flex;
	flex-direction: column;
}

.event-card:hover {
	box-shadow: 0 5px 20px #000;
	transform: translateY(-3px);
}

.event-card-image {
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #f0f0f0;
}

.event-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.event-card:hover .event-card-image img {
	transform: scale(1.05);
}

.event-card-image a {
	display: block;
	width: 100%;
	height: 100%;
}

.event-card-content {
	padding: 20px;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.event-card-category {
	display: inline-block;
	padding: 4px 12px;
	background: #333;
	color: #fff;
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	border-radius: 3px;
	margin-bottom: 12px;
	align-self: flex-start;
}

.event-card-status {
	display: inline-block;
	padding: 4px 12px;
	border-radius: 3px;
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 12px;
	align-self: flex-start;
}

.event-card-status--past {
	background: #e37d00;
	color: #fff;
}

.event-card-title {
	font-size: 1.3rem;
	margin: 0 0 15px;
	line-height: 1.3;
}

.event-card-title a {
	color: #fff;
	text-decoration: none;
	transition: color 0.2s ease;
}

.event-card-title a:hover {
	color: #fff;
}

.event-card-datetime {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 10px;
	font-size: 0.9rem;
	color: #fff;
	align-items: center;
}

.event-card-date-separator {
	margin: 0 5px;
}

.event-card-date {
	font-weight: 500;
}

.event-card-time {
	color: #fff;
}

.event-card-location {
	margin-bottom: 12px;
	font-size: 0.9rem;
	color: #fff;
	display: flex;
	align-items: center;
}

.event-card-location::before {
	content: "📍";
	margin-right: 6px;
}

.event-card-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 12px;
}

.event-card-tag {
	display: inline-block;
	padding: 4px 10px;
	background: #444;
	border-radius: 3px;
	font-size: 0.75rem;
	font-weight: 500;
	color: #fff;
	text-transform: uppercase;
	letter-spacing: 0.3px;
}

.event-card-excerpt {
	margin: 0 0 20px;
	font-size: 0.95rem;
	line-height: 1.6;
	color: #fff;
	flex: 1;
}

.event-card-footer {
	margin-top: auto;
}

.event-card-link {
	display: inline-block;
	padding: 10px 20px;
	background: #fff;
	color: #000;
	text-decoration: none;
	font-weight: 600;
	border-radius: 4px;
	transition: background 0.2s ease;
}

.event-card-link:hover {
	background: #e6e6e6;
}

/* Pagination */
.events-pagination {
	margin-top: 40px;
	padding-top: 30px;
	border-top: 1px solid #e0e0e0;
}

.pagination-links {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 5px;
}

.pagination-links ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 5px;
}

.pagination-links li {
	margin: 0;
}

.pagination-links a,
.pagination-links span {
	display: inline-block;
	min-width: 40px;
	height: 40px;
	line-height: 38px;
	text-align: center;
	padding: 0 12px;
	border: 1px solid #e0e0e0;
	border-radius: 4px;
	text-decoration: none;
	color: #333;
	transition: all 0.2s ease;
}

.pagination-links a:hover,
.pagination-links span:hover {
	background: #f0f0f0;
	border-color: #ccc;
}

.pagination-links .current {
	background: #333;
	color: #fff;
	border-color: #333;
}

.pagination-links .dots {
	border: none;
	background: none;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Responsive */
@media (max-width: 1024px) {
	.events-layout {
		flex-direction: column;
	}

	.events-sidebar {
		flex: none;
		width: 100%;
		min-width: 0;
	}

	.events-grid {
		grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	}
}

@media (max-width: 640px) {
	.events-grid {
		grid-template-columns: 1fr;
	}

	.event-card-title {
		font-size: 1.1rem;
	}

	.filter-actions {
		flex-direction: column;
	}
}


/* ------------------RESPONSIVE 
   -------------------------------------------------- */

@media (max-width: 1024px) {

    .site-header {
        padding: 18px 30px;
    }

    .custom-logo {
        max-height: 52px;
    }

    .main-navigation ul {
        gap: 22px;
    }

    .main-navigation a {
        font-size: 1.05rem;
    }

    .hero {
        height: 40vh;
    }

    .news-feed {
        margin: 8rem 0;
    }

    .news-title {
        margin-bottom: 5rem;
    }

    .news-grid {
        gap: 1.5rem;
    }

    .news-item {
        padding: 1.5rem;
    }

    .news-image {
        height: 200px;
    }

    .about-page-container{
        padding: 0 50px;
    }

}

/* ------------------TABLET 
   -------------------------------------------------- */


@media (max-width: 800px) {

    /*-------------HEADER-------------------*/
    .site-header {
        padding: 16px 24px;
    }

    .custom-logo {
        max-height: 46px;
    }

    .main-navigation ul {
        gap: 14px;
    }

    .main-navigation a {
        font-size: 0.9rem;
    }

    .hero {
        height: 20vh;
        min-height: 300px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .service-item {
        width: 100%;
        max-width: 350px;
        padding: 20px 14px;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .news-item {
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }

    .news-image {
        height: 220px;
    }

    .newsletter {
        margin: 8rem 0;
    }

    .newsletter-text {
        max-width: 600px;
        padding: 0 1.5rem;
        box-sizing: border-box;
    }

    .newsletter-form {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        max-width: 400px;
    }

    .newsletter-input {
        width: 100%;
        min-height: 40px;
        padding: 1rem 1.2rem;
        box-sizing: border-box;
    }

    .newsletter-button {
        width: fit-content;
        padding: 0.85rem 2rem;
    }

    .sponsors-grid {
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 1.5rem;
    }

    .sponsor-placeholder {
        width: 210px;
        height: 100px;
        flex: 0 0 100px;
    }

    .board-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 50px;
        justify-items: center;
    }

    .old-board {
        padding: 0 24px;
        box-sizing: border-box;
    }

    .contact-form-section {
        padding: 0 24px;
    }

    .about-page-container{
        padding: 0 50px;
    }

}


/* ------------------PHONE
   -------------------------------------------------- */


@media (max-width: 640px) {

    /*-------------HEADER-------------------*/
    .site-header {
        position: relative;
        padding: 14px 20px;
        flex-wrap: nowrap;
    }

    .main-navigation {
    width: 100%;
    margin-left: 0;
    display: flex;
    justify-content: flex-end;
    }   

    .menu-toggle {
        display: block;
        width: 28px;
        height: 20px;
        padding: 0;
        margin: 0;
        border: none;
        background:
            linear-gradient(#fff, #fff) no-repeat top,
            linear-gradient(#fff, #fff) no-repeat center,
            linear-gradient(#fff, #fff) no-repeat bottom;
        background-size: 100% 3px;
        cursor: pointer;

        font-size: 0;
        line-height: 0;
        color: transparent;
        overflow: hidden;
        white-space: nowrap;
    }

    .main-navigation ul {
        display: none;
    }

    .main-navigation.toggled ul {
        display: flex;
        flex-direction: column;
        align-items: flex-end;

        position: absolute;
        top: 100%;
        right: 20px;

        margin-right: 15px;
        padding: 0;

        background: #000;
        border-radius: 8px;
        gap: 16px;
        z-index: 999;
    }

    .main-navigation a {
        font-size: 1rem;
    }

    /*-------------HERO / PAGE-HERO -------------------*/
    .hero {
        height: 300px;
        min-height: 0;
        padding: 0;
        position: relative;  

        background-image: url(http://localhost:10011/wp-content/uploads/2026/07/blob-2.png);
        background-repeat: no-repeat;
        background-position: right 0 bottom 0;
        background-size: 280px auto;   
    }

    .hero-logo {
        position: absolute;
        right: 140px;                     
        bottom: 110px; 
        z-index: 2;
    }

    .hero-logo .custom-logo {
        width: 200px; 
    }

    .page-hero {
        height: 300px;
        min-height: 0;
        padding: 0;
        position: relative;

        background-image: url(http://localhost:10011/wp-content/uploads/2026/07/blob-2.png);
        background-repeat: no-repeat;
        background-position: right 0 bottom 0;
        background-size: 280px auto;
    }

    .page-hero-title {
        position: absolute;
        right: 220px;                     
        bottom: 150px; 
        z-index: 2;
        margin: 0;
        font-size: clamp(1.8rem, 9vw, 2rem);
    }

    
    .services {
        margin: 5rem 0;
    }

    .services-title {
        margin-bottom: 3rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 2rem;
    }

    .service-item {
        width: 100%;
        max-width: 320px;
        padding: 24px 20px;
        border-radius: 22px;
    }

    .service-icon {
        width: 18px;
        height: 18px;
        margin-bottom: 1rem;
    }

    .service-name {
        font-size: 1.5rem;
        margin-bottom: .75rem;
    }

    .service-description {
        font-size: .9rem;
        line-height: 1.5;
        margin-bottom: 1.25rem;
    }

    .service-divider {
        margin: 1.25rem 0 .75rem;
    }

    .service-number {
        font-size: 1.3rem;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-item:not(:first-child) {
        display: none;
    }

    .news-item {
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
        padding: 1.5rem;
    }

    .news-image {
        height: 220px;
    }

    .news-controls {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        margin-top: 2rem;
    }

    .news-arrow {
        margin: 0;
        font-size: 3rem;
    }

    .sponsors-grid {
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 1.5rem;
    }

    .sponsor-placeholder {
        width: 210px;
        height: 100px;
        flex: 0 0 100px;
    }

    .board-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        justify-items: center;
    }

    .board-card {
        width: 100%;
        max-width: 320px;
        height: auto;
        min-height: 420px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-logo,
    .footer-navigation,
    .footer-contact {
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .footer-logo {
        justify-self: center;
        width: 200px;
        margin-top: 0;
    }

    .footer-navigation {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .footer-col-1,
    .footer-col-2 {
        align-items: center;
    }

    .footer-contact-wrapper {
        flex-direction: column;
        gap: 20px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
        margin-top: 60px;
    }

    .footer-bottom .footer-legal-links {
        justify-content: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-bottom .footer-legal-links a {
        font-size: 11px;
    }

    .footer-navigation a {
        font-size: 0.95rem;
    }

    .old-board {
        margin-top: 80px;
        padding: 0 20px;
        box-sizing: border-box;
    }

    .old-board > summary {
        font-size: 1.2rem;
    }

    .year-block {
        padding-left: 16px;
    }

    .year-block > summary {
        font-size: 1.05rem;
    }

    .year-list {
        padding: 0;
    }

    .year-list li {
        font-size: 0.75rem;
        border-right: none;
        padding-right: 0;
        white-space: nowrap;
    }

    .year-list .role {
        font-size: 0.75rem;
    }

    .contact-form-section {
        padding: 0 28px;
    }

    .contact-form-title {
        font-size: 1.6rem;
        margin-bottom: 3rem;
    }

    .contact-form-wrapper .wpcf7-form textarea {
        min-height: 120px;
    }

    .contact-form-bottom-text {
        margin: 4rem 0 5rem 0;
    }

    .contact-form-bottom-text .contact-form-email,
    .contact-form-bottom-text .contact-form-email strong {
        font-size: 1.2rem !important;
    }

    .about-page-container{
        padding: 0 28px;
    }

}

