/*
Theme Name: GSO Black
Theme URI: https://gecsesimon.hu/
Author: Gecse-Simon
Description: Egyedi, fekete alapú WordPress téma Gecse-Simon Orsolya szupervizori és coaching honlapjához.
Version: 0.1.0
Text Domain: gso-black
Requires at least: 6.5
Requires PHP: 8.0
*/

/* =========================================================
   LOCAL VARIABLE FONTS
   ========================================================= */

@font-face {
    font-family: "Arimo";
    src: url("assets/fonts/arimo/Arimo-VariableFont_wght.ttf") format("truetype");
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
}

@font-face {
    font-family: "Arimo";
    src: url("assets/fonts/arimo/Arimo-Italic-VariableFont_wght.ttf") format("truetype");
    font-style: italic;
    font-weight: 400 700;
    font-display: swap;
}

@font-face {
    font-family: "Oswald";
    src: url("assets/fonts/oswald/Oswald-VariableFont_wght.ttf") format("truetype");
    font-style: normal;
    font-weight: 200 700;
    font-display: swap;
}

*, *::before, *::after {
    box-sizing: border-box;
}

:root {
    --gso-black: #000000;
    --gso-off-black: #1d1d1d;
    --gso-white: #ffffff;
    --gso-soft-white: #f2f2f2;
    --gso-light-gray: #a6a6a6;
	--gso-gray: #555555;
    --gso-line: #2b2b2b;
	
	 --gso-accent: #808080;
	
    --gso-content: 1280px;
    --gso-narrow: 820px;
	--gso-mobile-gutter: 14px;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--gso-black);
    color: var(--gso-white);
    font-family: "Arimo", Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

body.admin-bar .site-header {
    top: 32px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Oswald", Arial, Helvetica, sans-serif;
    font-weight: 500;
}

a {
    color: inherit;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.2em;
}

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

p {
	text-align: justify;
	margin-top: 12px;
}

/*=======================
  HOME content
  =======================*/
.home-content {
    width: 100%;
    margin: 0;
    padding: 0;
}

@media (max-width: 1024px) {

    .home-content > *:not(.alignfull),
    .page-content > *:not(.alignfull) {
       padding-left: var(--gso-mobile-gutter);
       padding-right: var(--gso-mobile-gutter);
    }
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    background: rgba(0, 0, 0, 0.94);
    border-bottom: 1px solid var(--gso-line);
}

.header-inner {
    width: min(100% - 40px, var(--gso-content));
    min-height: 78px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

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

.site-title {
    color: var(--gso-white);
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-decoration: none;
    text-transform: uppercase;
}

.custom-logo-link {
    display: inline-flex;
    align-items: center;
}

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

.site-nav {
    margin-left: auto;
}

.primary-menu {
    display: flex;
    align-items: center;
    gap: 30px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.primary-menu a {
    position: relative;

    color: var(--gso-white);
    font-size: 0.9rem;
    text-decoration: none;
}

.primary-menu a::after {
    content: "";
    position: absolute;

    left: 0;
    bottom: -6px;

    width: 100%;
    height: 2px;

    background: var(--gso-white);

    opacity: 0;
    transition: opacity 0.25s ease;
}

.primary-menu a:hover::after,
.primary-menu a:focus-visible::after {
    opacity: 1;
}

.menu-toggle {
    display: none;
    appearance: none;
    border: 0;
    background: transparent;
    color: var(--gso-white);
    padding: 8px 0;
    font: inherit;
    cursor: pointer;
}

.menu-toggle__icon,
.menu-toggle__icon::before,
.menu-toggle__icon::after {
    display: block;
    width: 24px;
    height: 1px;
    background: currentColor;
    content: "";
}

.menu-toggle__icon {
    position: relative;
    margin-left: 10px;
}

.menu-toggle__icon::before {
    position: absolute;
    top: -7px;
    left: 0;
}

.menu-toggle__icon::after {
    position: absolute;
    top: 7px;
    left: 0;
}

.site-main {
    flex: 1 0 auto;
    width: min(100% - 40px, var(--gso-content));
    margin: 0 auto;
    padding: 72px 0;
}

.site-main.front-page {
    width: 100%;
    max-width: none;
    padding: 0;
}

.entry,
.page-entry,
.single-entry {
    width: min(100%, var(--gso-narrow));
    margin: 0 auto;
}

.entry-title {
    margin: 0 0 28px;
    color: var(--gso-white);
    font-size: clamp(2rem, 5vw, 4.5rem);
    font-weight: 500;
    line-height: 1.05;
}

.entry-content > *:first-child {
    margin-top: 0;
}

.entry-content > *:last-child {
    margin-bottom: 0;
}

.entry-content p {
    color: var(--gso-soft-white);
}

.site-footer {
    flex-shrink: 0;
    border-top: 1px solid var(--gso-line);
    background: var(--gso-black);
}

.footer-inner {
    width: min(100% - 40px, var(--gso-content));
    margin: 0 auto;
    padding: 30px 0;
}

.site-footer p {
    margin: 0;
    color: var(--gso-light-gray);
    font-size: 0.82rem;
}

.to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 900;
    width: 44px;
    height: 44px;
    border: 0.8px solid var(--gso-soft-white);
    background: var(--gso-black);
    color: var(--gso-white);
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.to-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.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;
}

@media (max-width: 782px) {
    body.admin-bar .site-header {
        top: 46px;
    }
}

@media (max-width: 900px) {

    .header-inner {
        min-height: 68px;
    }

    /* Mobil menü gomb */
    .menu-toggle {
        display: inline-flex;
        align-items: center;
    }

    /* Leníló mobil menü */
    .site-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;

        width: 100%;
        margin: 0;
        padding: 32px 24px 36px;

        background: var(--gso-off-black);
        border-bottom: 1px solid var(--gso-line);
    }

    .site-nav.is-open {
        display: block;
    }

    .primary-menu {
        width: 100%;

        align-items: stretch;
        flex-direction: column;

        gap: 24px;
    }

    .primary-menu li {
        width: 100%;
    }

    .primary-menu a {
        position: relative;

        display: flex;
        align-items: center;

        width: 100%;
        padding-right: 2.5rem;

        font-size: 1.2rem;
        line-height: 1.35;
    }

    /* Desktop aláhúzás helyett mobilon nyíl */
    .primary-menu a::after {
        content: "→";

        position: absolute;
        top: 50%;
        right: 0;
        left: auto;
        bottom: auto;

        width: auto;
        height: auto;

        background: none;

        color: var(--gso-light-gray);
        font-size: 1.2rem;
        font-weight: 400;
        line-height: 1;

        opacity: 1;

        transform: translateY(-50%);

        transition:
            color 0.25s ease,
            transform 0.25s ease;
    }

    .primary-menu a:hover::after,
    .primary-menu a:focus-visible::after {
        color: var(--gso-white);
        transform: translate(4px, -50%);
    }
}

/* =========================================================
   FRONT PAGE HERO
   ========================================================= */

.home .site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
    border-bottom: 0;
}

.admin-bar.home .site-header {
    top: 32px;
}

.home-hero {
    position: relative;
    width: 100%;
    min-height: 100svh;
    background: #000;
    overflow: hidden;
}

.home-hero__inner {
    width: 100%;
    min-height: 100svh;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.home-hero__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-left: clamp(70px, 9vw, 180px);
    padding-right: 40px;
}

.home-hero__title {
    margin: 0;
    max-width: 720px;

    font-family: "Oswald", Arial, Helvetica, sans-serif;
    font-size: clamp(2.5rem, 5vw, 5rem);
    font-weight: 400;
    line-height: 0.95;
    letter-spacing: -0.02em;

    color: #fff;
}

.home-hero__subtitle {
    margin: 24px 0 0;

    font-family: "Arimo", Arial, Helvetica, sans-serif;
    font-size: clamp(1.1rem, 1.5vw, 1.5rem);
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: 0.04em;

    color: #fff;
}

.home-hero__image {
    position: relative;
    min-height: 100svh;
    overflow: hidden;
}

.home-hero__portrait {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center center;
}

/* Menü a hero felett */

.home .header-inner {
    width: min(100% - 80px, 1440px);
    min-height: 90px;
}

.home .site-title,
.home .primary-menu a,
.home .menu-toggle {
    color: #fff;
}

/* Mobil */

@media (max-width: 900px) {

    .home .header-inner {
        width: min(100% - 40px, 1440px);
    }

    .home-hero__inner {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr;
    }

    .home-hero__image {
        position: absolute;
        inset: 0;
        min-height: 100%;
    }

    .home-hero__image::after {
        content: "";
        position: absolute;
        inset: 0;
        background:
            linear-gradient(
                to bottom,
                rgba(0, 0, 0, 0.15) 0%,
                rgba(0, 0, 0, 0.25) 35%,
                rgba(0, 0, 0, 0.78) 100%
            );
    }

    .home-hero__portrait {
        object-position: center top;
    }

    .home-hero__content {
        justify-content: flex-end;
        padding:
            120px
            30px
            70px;
    }

    .home-hero__title {
        position: relative;
        z-index: 2;
        font-size: clamp(3rem, 13vw, 5rem);
    }

    .home-hero__subtitle {
        position: relative;
        z-index: 2;
        margin-top: 16px;
        font-size: 1rem;
    }
}

@media (max-width: 782px) {

    .admin-bar.home .site-header {
        top: 46px;
    }
}

/* =========================================================
   STANDARD PAGE HERO
   ========================================================= */

.page-main {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.page-content {
    width: 100%;
    margin: 0;
    padding: 0;
}

/* A fejléc a hero fölött jelenik meg */

.page:not(.home) .site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
    border-bottom: 0;
}

.admin-bar.page:not(.home) .site-header {
    top: 32px;
}

.page:not(.home) .header-inner {
    width: min(100% - 80px, 1440px);
    min-height: 90px;
}

.page:not(.home) .site-title,
.page:not(.home) .primary-menu a,
.page:not(.home) .menu-toggle {
    color: #fff;
}


/* Hero */

.page-hero {
    position: relative;
    width: 100%;
    min-height: 100svh;
    background: #000;
    overflow: hidden;
}

.page-hero__inner {
    width: 100%;
    min-height: 100svh;

    display: grid;
    grid-template-columns: 1fr 1fr;
}

.page-hero__content {
    position: relative;
    z-index: 2;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;

    padding-left: clamp(70px, 9vw, 180px);
    padding-right: clamp(70px, 9vw, 180px);
}

.page-hero__title {
    margin: 0;
    max-width: 720px;

    font-family: "Oswald", Arial, Helvetica, sans-serif;
    font-size: clamp(2.5rem, 4vw, 4rem);
    font-weight: 400;
    line-height: 0.95;
    letter-spacing: -0.02em;

    color: #fff;
}

.page-hero__image {
    position: relative;
    min-height: 100svh;
    overflow: hidden;
}

.page-hero__portrait {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center center;
}

@media (min-width: 901px) {

    .page-hero {
        width: 70%;
        min-height: 70vh;
        height: 70vh;
        margin: 0 auto;
        background: var(--gso-soft-white);
    }

    .page-hero__inner {
        min-height: 70vh;
        height: 70vh;
    }

    .page-hero__image {
        min-height: 70vh;
        height: 70vh;
    }

    .page-hero__title {
        color: var(--gso-black);
    }
}

.page-hero__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin-top: 2.5rem;
    padding: 1.2rem 1.6rem;

    background-color: var(--gso-soft-white);
    color: var(--gso-off-black);

    font-family: "Arimo", Arial, Helvetica, sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.2;

    text-decoration: none;
    border: 1px solid var(--gso-off-black);
    border-radius: 0;

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

.page-hero__cta:hover,
.page-hero__cta:focus-visible {
    background-color: var(--gso-white);
    color: var(--gso-black);
}

@media (max-width: 1920px) {
	.page-hero__title {
		font-size: clamp(2.1rem, 4.5vw, 4rem);
		font-weight: 360;
	}
	
	.page-hero__cta {
		margin-top: 2.4rem;
		padding: 1.2rem 1.5rem;
		font-size: 0.8rem;
	}
}

/* Mobil */

@media (max-width: 900px) {

    .page:not(.home) .header-inner {
        width: min(100% - 40px, 1440px);
    }

    .page-hero__inner {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr;
    }

    .page-hero__image {
        position: absolute;
        inset: 0;
        min-height: 100%;
    }

    .page-hero__image::after {
        content: "";
        position: absolute;
        inset: 0;

        background:
            linear-gradient(
                to bottom,
                rgba(0, 0, 0, 0.15) 0%,
                rgba(0, 0, 0, 0.25) 35%,
                rgba(0, 0, 0, 0.78) 100%
            );
    }

    .page-hero__portrait {
        object-position: center top;
    }

    .page-hero__content {
        justify-content: flex-end;
        padding: 120px 30px 70px;
    }

    .page-hero__title {
        position: relative;
        z-index: 2;

        font-size: clamp(3rem, 13vw, 5rem);
    }
	
	.page-hero__content p {
		text-align: left;
		line-height: 1.2;
	}
}

@media (max-width: 782px) {

    .admin-bar.page:not(.home) .site-header {
        top: 46px;
    }
}

/* =========================================================
   HOME – MAIN NAVIGATION BLOCK
   ========================================================= */

.main-navi-block {
    width: 100%;
}

.column-block-3 {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    gap: 1.5rem;
    align-items: stretch;
}

.column-block-3 > .main-column {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
}

.main-column {
    position: relative;
}

/* Sarokkeretek */

.main-column::before,
.main-column::after {
    content: "";
    position: absolute;
    inset: 14px;
    z-index: 4;
    pointer-events: none;

    opacity: 0;
    transition: opacity 0.35s ease;
}

.main-column::before {
    background:
        linear-gradient(var(--gso-accent), var(--gso-accent)) left top / 20px 2px no-repeat,
        linear-gradient(var(--gso-accent), var(--gso-accent)) left top / 2px 20px no-repeat,
        linear-gradient(var(--gso-accent), var(--gso-accent)) right top / 20px 2px no-repeat,
        linear-gradient(var(--gso-accent), var(--gso-accent)) right top / 2px 20px no-repeat;
}

.main-column::after {
    background:
        linear-gradient(var(--gso-accent), var(--gso-accent)) left bottom / 20px 2px no-repeat,
        linear-gradient(var(--gso-accent), var(--gso-accent)) left bottom / 2px 20px no-repeat,
        linear-gradient(var(--gso-accent), var(--gso-accent)) right bottom / 20px 2px no-repeat,
        linear-gradient(var(--gso-accent), var(--gso-accent)) right bottom / 2px 20px no-repeat;
}

.main-column:hover::before,
.main-column:hover::after {
    opacity: 1;
}

.main-column > .wp-block-group {
    position: relative;
    width: 100%;
    aspect-ratio: 2 / 3;
    min-height: 0 !important;
    overflow: hidden;
}

.main-column .wp-block-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
}

.main-column .wp-block-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.main-column .wp-block-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
	transition: transform 0.5s ease;
}

/* enyhe sötétítés a fehér cím jobb olvashatóságához */
.main-column > .wp-block-group::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;

    background: rgba(0, 0, 0, 0.22);
    pointer-events: none;

    transition: background-color 0.5s ease;
}

.main-column:hover .wp-block-image img {
    transform: scale(1.015);
}

.main-column:hover > .wp-block-group::after {
    background: rgba(0, 0, 0, 0.34);
}

.main-column .wp-block-heading {
    position: absolute;
    inset: 0;
    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0;
    padding: 2rem;

    color: #fff;
    text-align: center;

    font-family: "Oswald", Arial, Helvetica, sans-serif;
    font-size: clamp(1.4rem, 1.8vw, 2.2rem);
    font-weight: 400;
    line-height: 1.15;

    pointer-events: none;
}

/* Tablet */

@media (max-width: 900px) {

    .column-block-3 {
        width: min(100% - 2rem, 900px);
        gap: 1rem;
    }

    .main-column .wp-block-heading {
        padding: 1.5rem;
        font-size: clamp(1.5rem, 4vw, 2.2rem);
    }
}

/* Mobil */

@media (max-width: 700px) {

    .column-block-3 {
        width: min(100% - 2rem, 620px);
        gap: 1.5rem;
    }

    .column-block-3 > .main-column {
        flex-basis: 100% !important;
    }
}

/* =========================================================
   HEADER SCROLL BACKGROUND
   ========================================================= */

.home .site-header,
.page:not(.home) .site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;

    background-color: rgba(0, 0, 0, 0);
    border-bottom: 0;

    transition: background-color 0.5s ease;
}

/* Görgetés után */

.home .site-header.is-scrolled,
.page:not(.home) .site-header.is-scrolled {
    background-color: rgba(0, 0, 0, 0.72);
}

@media (min-width: 901px) {

    .home .site-header:hover,
    .page:not(.home) .site-header:hover {
        background-color: rgba(0, 0, 0, 0.72);
    }

}

/* WP admin sáv */

.admin-bar.home .site-header,
.admin-bar.page:not(.home) .site-header {
    top: 32px;
}

@media (max-width: 782px) {

    .admin-bar.home .site-header,
    .admin-bar.page:not(.home) .site-header {
        top: 46px;
    }
}

/* =========================================================
   GUTENBERG LISTS
   ========================================================= */

.page-content .wp-block-list,
.home-content .wp-block-list {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.page-content .wp-block-list li,
.home-content .wp-block-list li {
    position: relative;
    margin: 0 0 0.45rem;
    padding-left: 1.15rem;

    font-size: inherit;
    line-height: inherit;
}

.page-content .wp-block-list li::before,
.home-content .wp-block-list li::before {
    content: "";
    position: absolute;

    left: 0;
    top: 0.64em;

    width: 6px;
    height: 6px;

    background: var(--gso-accent);
}

/* =========================================================
   CONTACT PAGE HERO
   ========================================================= */

.contact-hero__details {
    margin-top: 2.5rem;
}

.contact-hero__details p {
    margin: 0 0 0.8rem;
    color: var(--gso-line);

    font-size: 1rem;
    line-height: 1.4;
    text-align: left;
}

.contact-hero__details a {
    color: inherit;
    text-decoration: none;

    transition: color 0.25s ease;
}

.contact-hero__details a:hover,
.contact-hero__details a:focus-visible {
    color: var(--gso-accent);
}

.contact-hero__label {
    display: inline-block;
    min-width: 5.5rem;

    color: var(--gso-line);

    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    flex-shrink: 0;
    border-top: 1px solid var(--gso-line);
    background: var(--gso-black);
}

.footer-inner {
    width: min(100% - 40px, var(--gso-content));
    margin: 0 auto;
    padding: 50px 0 24px;
}


/* Három fő oszlop */

.footer-columns {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 3rem;

    padding-bottom: 40px;
}


/* Logók */

.footer-logos {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.footer-logo {
    display: block;
    width: auto;
    height: 40px;
    object-fit: contain;
}


/* Footer menük */

.footer-menu {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    gap: 0.7rem;

    margin: 0;
    padding: 0;

    list-style: none;
}

.footer-menu li {
    margin: 0;
    padding: 0;
}

.footer-menu a {
    position: relative;

    color: var(--gso-light-gray);

    font-size: 0.9rem;
    line-height: 1.4;

    text-decoration: none;

    transition: color 0.25s ease;
}

.footer-menu a:hover,
.footer-menu a:focus-visible {
    color: var(--gso-white);
}


/* Alsó copyright sor */

.footer-bottom {
    padding-top: 22px;
    border-top: 1px solid var(--gso-line);
}

.footer-copyright {
    margin: 0;

    color: var(--gso-light-gray);

    font-size: 0.8rem;
    text-align: center;
}


/* Tablet / mobil */

@media (max-width: 900px) {

    .footer-inner {
        width: calc(100% - 2 * var(--gso-mobile-gutter));
        padding-top: 40px;
    }

    .footer-columns {
        grid-template-columns: 1fr;
        gap: 2.5rem;

        padding-bottom: 32px;
    }

    .footer-logos {
        gap: 14px;
    }

    .footer-menu {
        gap: 0.85rem;
    }
}


/* =========================================================
   WORKSHOP ARCHIVE
   ========================================================= */

.workshop-archive {
    width: min(100% - 40px, 1200px);
    max-width: none;
    padding-top: 40px;
    padding-bottom: 90px;
}

.workshop-archive__header {
    margin-bottom: 3.5rem;
}

.workshop-archive__title {
    margin: 0;
    font-family: "Oswald", Arial, Helvetica, sans-serif;
    font-size: clamp(1.5rem, 2.5vw, 2.5rem);
    font-weight: 360;
    line-height: 1;
}

.workshop-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 30px;
    row-gap: 30px;
    align-items: stretch;
    width: 100%;
}

.workshop-card {
    position: relative;

    display: block;
    height: 100%;

    background: var(--gso-soft-white);
    color: var(--gso-off-black);

    text-decoration: none;

    overflow: hidden;
}

.workshop-card::after {
    content: "";

    position: absolute;
    inset: 0;
    z-index: 5;

    background: rgba(0, 0, 0, 0);

    pointer-events: none;

    transition: background-color 0.35s ease;
}

.workshop-card:hover::after,
.workshop-card:focus-visible::after {
    background: rgba(0, 0, 0, 0.1);
}

.workshop-card__article {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.workshop-card__media {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--gso-line);
}

.workshop-card__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;

    transform: scale(1);
    transition: transform 0.5s ease;
}

.workshop-card:hover .workshop-card__image,
.workshop-card:focus-visible .workshop-card__image {
    transform: scale(1.02);
}

.workshop-card__body {
    padding: 2rem 2rem 1.5rem;
}

.workshop-card__title {
    margin: 0;

    font-size: clamp(1.3rem, 1.7vw, 1.7rem);
    font-weight: 360;
    line-height: 1.08;
}

.workshop-card__topic {
    margin: 0.7rem 0 0;
    color: var(--gso-off-black);
    font-size: 1.2rem;
	font-weight: 360;
    line-height: 1.35;
    text-align: left;
}

.workshop-card__excerpt {
    margin-top: 1.6rem;
}

.workshop-card__excerpt p {
    margin: 0 0 0.85rem;

    color: var(--gso-off-black);

    font-size: 1rem;
    line-height: 1.5;
    text-align: left;
}

.workshop-card__excerpt p:last-child {
    margin-bottom: 0;
}

.workshop-card__more {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;

    margin-top: 1.4rem;

    color: #666666;

    font-size: 0.82rem;
    font-weight: 500;
    line-height: 1.2;
}

.workshop-card__more span {
    display: inline-block;

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

    transition: transform 0.25s ease;
}

.workshop-card:hover .workshop-card__more span,
.workshop-card:focus-visible .workshop-card__more span {
    transform: translateX(4px);
}

.workshop-card__meta {
    margin-top: auto;
    padding: 1.5rem 2rem 2rem;

    border-top: 1px solid #d8d8d8;
}

.workshop-card__meta p {
    margin: 0 0 0.75rem;

    color: var(--gso-off-black);

    font-size: 0.92rem;
    line-height: 1.4;
    text-align: left;
}

.workshop-card__meta p:last-child {
    margin-bottom: 0;
}

.workshop-card__meta span {
    display: block;
    margin-bottom: 0.15rem;

    color: var(--gso-gray);

    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.workshop-pagination {
    margin-top: 3rem;
}

.workshop-empty {
    padding: 3rem 0;
}


/* =========================================================
   WORKSHOP SINGLE
   ========================================================= */

.workshop-single {
    width: min(100% - 40px, 980px);
    max-width: none;
    padding-top: 10px;
    padding-bottom: 90px;
}

.workshop-single__article {
    width: 100%;
}

.workshop-single__featured {
    width: 100%;
    margin: 0;

    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.workshop-single__image {
    display: block;
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center center;
}

.workshop-single__panel {
    width: 100%;
    margin-top: 0;
    padding: 40px;

    background: var(--gso-white);
    color: var(--gso-off-black);
}

.workshop-single__back {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;

    margin: 0 0 2.5rem;

    color: var(--gso-gray);

    font-size: 0.82rem;
    font-weight: 500;
    line-height: 1.2;

    text-decoration: none;

    transition: color 0.25s ease;
}

.workshop-single__back-arrow {
    display: inline-block;

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

    transition: transform 0.25s ease;
}

.workshop-single__back:hover,
.workshop-single__back:focus-visible {
    color: var(--gso-off-black);
}

.workshop-single__back:hover .workshop-single__back-arrow,
.workshop-single__back:focus-visible .workshop-single__back-arrow {
    transform: translateX(-4px);
}

.workshop-single__header {
    width: 100%;
    margin: 0 0 2.5rem;
}

.workshop-single__title {
    margin: 0;

    color: var(--gso-off-black);

    font-family: "Oswald", Arial, Helvetica, sans-serif;
    font-size: clamp(1.3rem, 1.7vw, 1.7rem);
    font-weight: 360;
    line-height: 1.08;
}

.workshop-single__topic {
    margin: 0.7rem 0 0;

    color: var(--gso-off-black);

    font-family: "Oswald", Arial, Helvetica, sans-serif;
    font-size: 1.2rem;
    font-weight: 360;
    line-height: 1.35;
    text-align: left;
}

.workshop-single__content {
    width: 100%;
    margin: 0;

    color: var(--gso-off-black);
}

.workshop-single__content > *:first-child {
    margin-top: 0;
}

.workshop-single__content > *:last-child {
    margin-bottom: 0;
}

.workshop-single__content p,
.workshop-single__content li {
    color: var(--gso-off-black);
}

.workshop-single__meta {
    width: 100%;
    margin: 4rem 0 0;
    padding: 2rem 0;

    color: var(--gso-off-black);

    border-top: 1px solid #d8d8d8;
    border-bottom: 1px solid #d8d8d8;
}

.workshop-single__meta-row {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 25px;
    align-items: baseline;

    padding: 0.75rem 0;

    color: var(--gso-off-black);

    font-size: 1rem;
    line-height: 1.45;
}

.workshop-single__meta-label {
    color: var(--gso-gray);

    font-size: 1rem;
    font-weight: 600;
    line-height: 1.45;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.workshop-single__meta a {
    color: inherit;

    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.2em;
}

.workshop-single__back--bottom {
    margin-top: 2.5rem;
    margin-bottom: 0;
}


/* =========================================================
   WORKSHOP RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {

    .workshop-archive,
    .workshop-single {
    width: calc(100% - 2 * var(--gso-mobile-gutter));
    padding-top: 10px;
    padding-bottom: 60px;
}

    .workshop-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .workshop-archive__header {
        margin-bottom: 2.5rem;
    }

    .workshop-card__body {
        padding: 1.5rem 1.4rem 1.2rem;
    }

    .workshop-card__meta {
        padding: 1.3rem 1.4rem 1.5rem;
    }

    .workshop-single__panel {
        padding: 30px var(--gso-mobile-gutter);
    }

    .workshop-single__back {
        margin-bottom: 2rem;
    }

    .workshop-single__header {
        margin-bottom: 2rem;
    }

    .workshop-single__meta {
        margin-top: 3rem;
    }

    .workshop-single__back--bottom {
        margin-top: 2rem;
        margin-bottom: 0;
    }

    .workshop-single__meta-row {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }

}

/* =========================================================
   HOME – INTRO + KÖVETKEZŐ WORKSHOP
   ========================================================= */

.home-intro-workshop {
    width: 100%;
    margin: 0;
    padding: 80px 20px;

    background: var(--gso-soft-white);
    color: var(--gso-off-black);
}

.home-intro-workshop__columns {
    width: min(100%, 1200px);
    max-width: 1200px;
    margin: 0 auto;
    gap: 60px;
    align-items: stretch;
}

.home-intro-workshop__intro,
.home-intro-workshop__event {
    min-width: 0;
}

.home-intro-workshop__intro {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.home-intro-workshop__intro p {
    margin: 0 0 1.2rem;

    color: var(--gso-off-black);

    font-size: 18px;
    line-height: 1.45;
    text-align: left;
}

.home-intro-workshop__intro p:last-child {
    margin-bottom: 0;
}


/* Következő workshop */

.home-next-workshop {
    height: 100%;
    padding: 38px 40px;

    border-left: 1px solid #d8d8d8;
}

.home-next-workshop__eyebrow {
    margin: 0 0 1.5rem;

    color: var(--gso-gray);

    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: left;
}

.home-next-workshop__title {
    margin: 0;

    color: var(--gso-off-black);

    font-family: "Oswald", Arial, Helvetica, sans-serif;
    font-size: clamp(1.3rem, 1.7vw, 1.7rem);
    font-weight: 360;
    line-height: 1.08;
}

.home-next-workshop__topic {
    margin: 0.7rem 0 2rem;

    color: var(--gso-off-black);

    font-family: "Oswald", Arial, Helvetica, sans-serif;
    font-size: 1.2rem;
    font-weight: 360;
    line-height: 1.35;
}

.home-next-workshop__meta {
    margin: 0 0 1rem;

    color: var(--gso-off-black);

    font-size: 1rem;
    line-height: 1.45;
    text-align: left;
}

.home-next-workshop__label {
    display: block;
    margin-bottom: 0.15rem;

    color: var(--gso-gray);

    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.home-next-workshop__link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;

    margin-top: 1.4rem;

    color: var(--gso-gray);

    font-size: 0.82rem;
    font-weight: 500;
    line-height: 1.2;

    text-decoration: none;
}

.home-next-workshop__link span {
    display: inline-block;

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

    transition: transform 0.25s ease;
}

.home-next-workshop__link:hover span,
.home-next-workshop__link:focus-visible span {
    transform: translateX(4px);
}


/* Tablet / mobil */

@media (max-width: 900px) {

    .home-intro-workshop {
        padding:
            60px
            var(--gso-mobile-gutter);
    }

    .home-intro-workshop__columns {
        gap: 45px;
    }

    .home-next-workshop {
        padding:
            36px
            0
            0;

        border-top: 1px solid #d8d8d8;
        border-left: 0;
    }

}

@media (max-width: 781px) {

    .home-intro-workshop__columns {
        gap: 40px;
    }

}

/* =========================================================
   CONTACT FORM – GSO BLACK
   ========================================================= */

.contact-content {
    width: 70%;
    margin: 0 auto;
    padding: 60px 0 90px;

    background: var(--gso-black);

    scroll-margin-top: 110px;
}

.contact-forms-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
    align-items: stretch;

    width: 100%;
}

.contact-form-block {
    width: 100%;
    margin: 0;
    padding: 34px;

    background: var(--gso-white);
    color: var(--gso-off-black);
}


/* Form alapok */

.kapcsolati-urlap {
    width: 100%;
    margin: 0;
}


.kapcsolati-urlap__title {
    margin: 0 0 2rem;

    color: var(--gso-off-black);

    font-family: "Oswald", Arial, Helvetica, sans-serif;
    font-size: clamp(1.3rem, 1.7vw, 1.7rem);
    font-weight: 360;
    line-height: 1.08;
}

.kapcsolati-urlap p {
    margin: 0 0 1.5rem;

    color: var(--gso-off-black);

    font-size: 0,92rem;
    line-height: 1.4;
    text-align: left;
}

.kapcsolati-urlap p:last-child {
    margin-bottom: 0;
}


/* Címkék */

.kapcsolati-urlap label {
    display: inline-block;
    margin-bottom: 0.45rem;

    color: var(--gso-gray);

    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}


/* Inputok */

.kapcsolati-urlap .input-field {
    display: block;
    width: 100%;

    margin: 0;
    padding: 0.9rem 0;

    appearance: none;

    background: transparent;
    color: var(--gso-off-black);

    font-family: "Arimo", Arial, Helvetica, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.45;

    border: 0;
    border-bottom: 1px solid #b8b8b8;
    border-radius: 0;
    outline: none;

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.kapcsolati-urlap textarea.input-field {
    min-height: 130px;
    padding-top: 0.9rem;

    resize: vertical;
}

.kapcsolati-urlap .input-field:hover {
    border-bottom-color: var(--gso-gray);
}

.kapcsolati-urlap .input-field:focus {
    border-bottom-color: var(--gso-off-black);
    box-shadow: 0 1px 0 var(--gso-off-black);
}


/* Adatkezelés */

.kapcsolat-adatkezeles {
    margin-top: 2rem !important;
}

.kapcsolat-adatkezeles label {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;

    margin: 0;

    color: var(--gso-off-black);

    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.45;
    letter-spacing: 0;
    text-transform: none;

    cursor: pointer;
}

.kapcsolat-adatkezeles input[type="checkbox"] {
    flex: 0 0 auto;

    width: 17px;
    height: 17px;
    margin: 0.12rem 0 0;

    accent-color: var(--gso-off-black);
}

.kapcsolat-adatkezeles a {
    color: var(--gso-off-black);

    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.2em;
}


/* Küldés gomb */

.kapcsolati-urlap .submit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 128px;
    padding: 0.82rem 1.3rem;

    appearance: none;

    background: transparent;
    color: var(--gso-off-black);

    font-family: "Arimo", Arial, Helvetica, sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.08em;

    border: 1px solid var(--gso-off-black);
    border-radius: 0;

    cursor: pointer;

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

.kapcsolati-urlap .submit-button:hover,
.kapcsolati-urlap .submit-button:focus-visible {
    background: var(--gso-off-black);
    color: var(--gso-white);
}


/* Üzenetek */

.kapcsolat-success,
.kapcsolat-error {
    width: min(100%, 980px);
    margin: 0 auto 1rem;
    padding: 1rem 1.2rem;

    font-size: 0.92rem;
    line-height: 1.45;
    text-align: left;

    border-left: 3px solid var(--gso-gray);
}

.kapcsolat-success {
    background: #eaf6ed;
    color: #1f6b35;
    border-left-color: #2f8f4e;
}

.kapcsolat-error {
    background: #fdecec;
    color: #9f2424;
    border-left-color: #c93636;
}


/* Mobil */

@media (max-width: 900px) {

    .contact-content {
        width: 100%;
        padding:
            40px
            var(--gso-mobile-gutter)
            60px;

        scroll-margin-top: 85px;
    }

    .contact-forms-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-form-block {
        padding:
            32px
            var(--gso-mobile-gutter);
    }

    .kapcsolati-urlap .submit-button {
        width: 100%;
    }

}

/* =========================================================
   SUBSCRIBE FORM – GSO BLACK
   ========================================================= */

.contact-form-block .gso-subscribe {
    width: 100%;
    margin: 0;

    color: var(--gso-off-black);
}

.gso-subscribe__intro {
    margin-bottom: 2rem;
}

.gso-subscribe__title {
    margin: 0 0 0.8rem;

    color: var(--gso-off-black);

    font-family: "Oswald", Arial, Helvetica, sans-serif;
    font-size: clamp(1.3rem, 1.7vw, 1.7rem);
    font-weight: 360;
    line-height: 1.08;
}

.gso-subscribe__lead {
    margin: 0;

    color: var(--gso-off-black);

    font-size: 0.92rem;
    line-height: 1.45;
    text-align: left;
}


/* Mezők */

.gso-subscribe__field {
    margin: 0 0 1.5rem;
}

.gso-subscribe__field label {
    display: inline-block;
    margin-bottom: 0.45rem;

    color: var(--gso-gray);

    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.gso-subscribe__field input {
    display: block;
    width: 100%;

    margin: 0;
    padding: 0.9rem 0;

    appearance: none;

    background: transparent;
    color: var(--gso-off-black);

    font-family: "Arimo", Arial, Helvetica, sans-serif;
    font-size: 0.92rem;
    font-weight: 400;
    line-height: 1.45;

    border: 0;
    border-bottom: 1px solid #b8b8b8;
    border-radius: 0;
    outline: none;

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.gso-subscribe__field input:hover {
    border-bottom-color: var(--gso-gray);
}

.gso-subscribe__field input:focus {
    border-bottom-color: var(--gso-off-black);
    box-shadow: 0 1px 0 var(--gso-off-black);
}


/* Honeypot */

.gso-subscribe__honeypot {
    position: absolute !important;
    left: -9999px !important;

    width: 1px !important;
    height: 1px !important;

    overflow: hidden !important;
}


/* Adatkezelés */

.gso-subscribe__consent {
    margin: 2rem 0 1.5rem;
}

.gso-subscribe__consent label {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;

    margin: 0;

    color: var(--gso-off-black);

    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.45;
    letter-spacing: 0;
    text-transform: none;

    cursor: pointer;
}

.gso-subscribe__consent input[type="checkbox"] {
    flex: 0 0 auto;

    width: 17px;
    height: 17px;
    margin: 0.12rem 0 0;

    accent-color: var(--gso-off-black);
}

.gso-subscribe__consent a {
    color: var(--gso-off-black);

    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.2em;
}


/* Feliratkozás gomb */

.gso-subscribe__actions {
    margin: 0;
}

.gso-subscribe__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 150px;
    padding: 0.82rem 1.3rem;

    appearance: none;

    background: transparent;
    color: var(--gso-off-black);

    font-family: "Arimo", Arial, Helvetica, sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.08em;

    border: 1px solid var(--gso-off-black);
    border-radius: 0;

    cursor: pointer;

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

.gso-subscribe__submit:hover,
.gso-subscribe__submit:focus-visible {
    background: var(--gso-off-black);
    color: var(--gso-white);
}


/* Visszajelző üzenetek */

.gso-subscribe__message {
    margin: 0 0 1.5rem;
    padding: 1rem 1.2rem;

    font-size: 0.92rem;
    line-height: 1.45;
    text-align: left;

    border-left: 4px solid;
}

.gso-subscribe__message--success {
    background: #eaf6ed;
    color: #1f6b35;
    border-left-color: #2f8f4e;
}


.gso-subscribe__message--warning {
    background: #fff6df;
    color: #8a5a00;
    border-left-color: #d89a1d;
}

.gso-subscribe__message--error {
    background: #fdecec;
    color: #9f2424;
    border-left-color: #c93636;
}


/* Mobil */

@media (max-width: 900px) {

    .gso-subscribe__submit {
        width: 100%;
    }

}

/* =========================================================
   DISMISSIBLE FORM MESSAGES
   ========================================================= */

.gso-dismissible-message {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding-right: 3.25rem !important;
}

.gso-dismissible-message__text {
    flex: 1 1 auto;
    min-width: 0;
}

.gso-dismissible-message__close {
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 28px;
    height: 28px;
    padding: 0;

    appearance: none;
    background: transparent;
    color: currentColor;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.35rem;
    font-weight: 400;
    line-height: 1;

    border: 0;
    border-radius: 0;

    cursor: pointer;
    opacity: 0.65;

    transition: opacity 0.2s ease;
}

.gso-dismissible-message__close:hover,
.gso-dismissible-message__close:focus-visible {
    opacity: 1;
}

.gso-dismissible-message__close:focus-visible {
    outline: 1px solid currentColor;
    outline-offset: 2px;
}

