/*
Theme Name: Webdesign Theme
Theme URI: https://ditdesign.hu
Author: DIT Design
Author URI: https://ditdesign.hu/
Description: Webdesign Theme is a responsive, modern, and feature-rich WordPress theme designed for all kinds of websites. It comes with a custom homepage layout, multiple widget areas, and full compatibility with popular plugins.
Version: 1.0.0
License: DIT Design License v1 or later
License URI: https://ditdesign.hu
Text Domain: webdesign-theme
Tags: responsive, modern, custom-background, custom-header, custom-menu, featured-images, threaded-comments, translation-ready
*/
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@1,200;0,400;0,600;1,600;0,700&display=swap');

:root {
    --dark: rgba(0, 0, 0, 0.4);
    --body-bg: #FDF8F2;
    /* Parchment (Pergamen, világos) */
    --body-txt: #5D5E61;
    /* Text-gray */
    --light-bg: #A7B8A8;
    /* Ash Grey (Hamuszürke) */
    --title: #1F2937;
    /* címsorok, kiemelések és sötét háttér színe: Jet Black (Koromfekete) */
    --light-violet: #EDE9FE;
    /* box és címke háttérszín: Violet 50 (halvány lila) */
    --violet: #6D28D9;
    /* kiemelések: Violet (Ibolya) */
    --ochre: #D97706;
    /* másodlagos kiemelő szín: Ochre (Okker) */
    --light-text: #D2D4D7;
    /* Lábléc sötét háttéren világos fehér szöveg */
    --white: #FFFFFF;
    --radius: 1.35rem;
    --gradiens-lila-okker: linear-gradient(90deg, #6D28D9 0%, #D97706 100%);
    --gradiens-lila-okker-border: linear-gradient(90deg, #6D28D9 0%, #D97706 100%);
    --gradiens-lila-okker-blockq: linear-gradient(180deg, #6D28D9 0%, #D97706 100%);
}

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

html {
    font-size: 1.15vw;
    /* 22px */
}

@media only screen and (max-width: 1281px) {
    html {
        font-size: 20px;
    }
}

@media only screen and (max-width: 768px) {
    html {
        font-size: 18px;
    }
}

@media only screen and (max-width: 480px) {
    html {
        font-size: 16px;
    }
}

body {
    margin: 0;
    padding: 0;
    background: var(--body-bg);
    color: var(--body-txt);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 400;
    overflow-x: hidden;
}

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

a {
    color: var(--violet);
    text-decoration: none;
}

a:hover {
    color: var(--violet);
}

p,
li {
    line-height: 1.5;
}

ul {
    list-style-type: none;
    padding-left: 25px;
}

ul li::marker {
    color: var(--ochre);
}

ol {
    padding-left: 1.5rem;
}

ol li::marker {
    font-weight: bold;
}

ol li {
    position: relative;
    z-index: 1;
    margin-bottom: 10px;
    padding-left: 10px;
}

ol li::before {
    content: "";
    width: 1.5rem;
    height: 1.5rem;
    background: var(--ochre);
    display: block;
    position: absolute;
    left: -1.5rem;
    top: 0;
    z-index: -1;
}

h1,
h2,
h3 {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    color: var(--title);
}

h1 {
    font-size: 2.9rem;
    position: relative;
    line-height: 3.6rem;
    margin: 0;
}

h2 {
    font-size: 2.35rem;
    line-height: 2.9rem;
    margin: 0;
    padding-bottom: 0.75rem;
    position: relative;
}

h3 {
    font-size: 1.27rem;
    margin: 1.35rem 0 0.75rem 0;
}

h4 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
}

h2 a,
h3 a {
    color: inherit;
}

.wp-block-buttons {
    gap: 3rem;
}

/* Primary CTA */
.button,
.primary-cta a,
input[type=submit] {
    display: inline-block;
    padding: 0.55rem 1.1rem;
    color: var(--white);
    background: var(--violet);
    font-weight: 700;
    border: 1.5px solid var(--violet);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 0.9rem;
    line-height: 1.5;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}

.button:hover,
.primary-cta a:hover,
input[type=submit]:hover {
    border-color: var(--violet);
    color: var(--violet);
    background: var(--light-violet);
    transform: translateX(10px);
}

/* Secondary CTA */
.button,
.secondary-cta a {
    display: inline-block;
    padding: 0.55rem 1.1rem;
    color: var(--title);
    background: transparent;
    font-weight: 700;
    border: 1.5px solid var(--body-txt);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 0.9rem;
    line-height: 1.5;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}

.button:hover,
.secondary-cta a:hover {
    border-color: var(--violet);
    color: var(--violet);
    background: var(--light-violet);
    transform: translateX(10px);
}

blockquote {
    position: relative;
    background: var(--light-violet);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 0.5rem 1rem;
    margin: 1.5rem 0 1.5rem 0;
    box-shadow: -2px -2px 4px 0 rgba(31, 41, 55, 0.12), 2px 2px 4px 0 rgba(31, 41, 55, 0.12);
}

blockquote::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0.35rem;
    height: 100%;
    background: var(--gradiens-lila-okker-blockq);
}

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

.align-left {
    text-align: left;
}

header {
    position: relative;
    padding: 0.75rem 0;
}

header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0.35rem;
    background: var(--gradiens-lila-okker-border);
}

header .content-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#head-social-contacts ul li {
    background-color: var(--light-violet);
    color: var(--violet);
    font-size: 1.5rem;
    padding: .1em;
}

#head-social-contacts ul li:hover {
    background-color: var(--violet);
}

#head-social-contacts ul li a {
    padding: 0;
}

#head-social-contacts ul li a:hover {
    color: var(--light-violet);
}

#logo {
    flex-shrink: 0;
    width: 19rem;
}

#logo a svg {
    display: block;
    width: 100%;
    height: auto;
    transition: all 0.3s ease-in-out;
}

#logo a:hover svg {
    transform: translateX(10px);
}

.highlight,
.hl-gradiens,
.hl-okker {
    display: inline-block;
    font-size: 0.64rem;
    font-weight: 700;
    line-height: 0.9rem;
    letter-spacing: 0.095rem;
    text-transform: uppercase;
    background: var(--gradiens-lila-okker);
    background-repeat: no-repeat;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.highlight::after {
    content: '';
    display: inline-block;
    width: 1.45rem;
    height: 3px;
    background: var(--ochre);
    margin-left: 0.4rem;
    vertical-align: 0.18rem;
}

.hero {
    background-color: var(--light-bg);
    overflow: hidden;
    padding: 9vw 0;
}

.page-hero {
    background-color: var(--light-bg);
    overflow: hidden;
    padding: 9vw 0 3vw 0;
}

.home-hero {
    background-image: url('img/home-hero-img.png');
    /* Régi böngészőknek */
    background-image: -webkit-image-set(url('img/home-hero-img.webp') type('image/webp'),
            url('img/home-hero-img.png') type('image/png'));
    background-image: image-set(url('img/home-hero-img.webp') type('image/webp'),
            url('img/home-hero-img.png') type('image/png'));
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
}

.rolam-hero {
    background-image: url('img/rolam-hero-img.png');
    background-image: -webkit-image-set(url('img/rolam-hero-img.webp') type('image/webp'),
            url('img/rolam-hero-img.png') type('image/png'));
    background-image: image-set(url('img/rolam-hero-img.webp') type('image/webp'),
            url('img/rolam-hero-img.png') type('image/png'));
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
}

.szolgaltatasaim-hero {
    background-image: url('img/szolgaltatasaim-hero-img.png');
    background-image: -webkit-image-set(url('img/szolgaltatasaim-hero-img.webp') type('image/webp'),
            url('img/szolgaltatasaim-hero-img.png') type('image/png'));
    background-image: image-set(url('img/szolgaltatasaim-hero-img.webp') type('image/webp'),
            url('img/szolgaltatasaim-hero-img.png') type('image/png'));
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
}

.portfolio-hero {
    background-image: url('img/portfolio-hero-img.png');
    background-image: -webkit-image-set(url('img/portfolio-hero-img.webp') type('image/webp'),
            url('img/portfolio-hero-img.png') type('image/png'));
    background-image: image-set(url('img/portfolio-hero-img.webp') type('image/webp'),
            url('img/portfolio-hero-img.png') type('image/png'));
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
}

.kapcsolat-hero {
    background-image: url('img/kapcsolat-hero-img.png');
    background-image: -webkit-image-set(url('img/kapcsolat-hero-img.webp') type('image/webp'),
            url('img/kapcsolat-hero-img.png') type('image/png'));
    background-image: image-set(url('img/kapcsolat-hero-img.webp') type('image/webp'),
            url('img/kapcsolat-hero-img.png') type('image/png'));
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
}

.lead {
    font-size: 1.35rem;
    line-height: 1.8rem;
    max-width: 40rem;
    padding-bottom: 1rem;
}

.ashgrey-bg {
    background-color: var(--light-bg);
}

.dark-bg {
    background-color: var(--title);
    color: var(--white);
    overflow: hidden;
}

.trustbar {
    background: var(--title);
    color: var(--white);
    padding: 1.25rem 0;
}

.trustbar img {
    max-width: 60px;
}

.trustbar figure {
    margin: 0;
}

.trustbar p {
    margin: 0.55rem 0 0 0;
}

.trustbar .wp-block-columns {
    margin: 0;
}

.box-style {
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: -2px -2px 4px 0 rgba(31, 41, 55, 0.12), 2px 2px 4px 0 rgba(31, 41, 55, 0.12);
    padding: 0 1.35rem 1.35rem 1.35rem;
    text-align: left;
    overflow: hidden;
}

.box-style:hover {
    position: relative;
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: -6px -6px 8px 0 rgba(31, 41, 55, 0.16), 6px 6px 8px 0 rgba(31, 41, 55, 0.16);
    cursor: pointer;
}

.box-style:hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0.35rem;
    background: var(--gradiens-lila-okker-border);
}

.box-style-nohover {
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: -2px -2px 4px 0 rgba(31, 41, 55, 0.12), 2px 2px 4px 0 rgba(31, 41, 55, 0.12);
    padding: 0 1.35rem 1.35rem 1.35rem;
    text-align: left;
    overflow: hidden;
}

.box-style-gradiens {
    position: relative;
    border-radius: 0 0 var(--radius) var(--radius);
    background: var(--white);
    box-shadow: -2px -2px 4px 0 rgba(31, 41, 55, 0.12), 2px 2px 4px 0 rgba(31, 41, 55, 0.12);
    padding: 0 1.35rem 1.35rem 1.35rem;
    text-align: left;
    overflow: hidden;
}

.box-style-gradiens::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0.35rem;
    background: var(--gradiens-lila-okker-border);
}

.box-style figure,
.box-style-nohover figure,
.box-style-gradiens figure {
    margin: 0 -1.35rem;
}

.box-style .icon,
.box-style-nohover .icon,
.box-style-gradiens .icon {
    max-width: 4.55rem;
    height: auto;
    border-radius: var(--radius);
    background: var(--light-violet);
    padding: 0.8rem;
    margin: 1.7rem 0 0.25rem 0;
}

.box-style img,
.box-style-nohover img,
.box-style-gradiens img {
    max-width: 100%;
    height: auto;
    margin-bottom: 0.25rem;
}

.box-style p,
.box-style-nohover p,
.box-style-gradiens p {
    margin-top: 0.75rem;
}

.rolam-img figure {
    position: relative;
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: -2px -2px 4px 0 rgba(31, 41, 55, 0.12), 2px 2px 4px 0 rgba(31, 41, 55, 0.12);
    text-align: left;
    overflow: hidden;
}

.rolam-img figure::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0.35rem;
    background: var(--gradiens-lila-okker-border);
}

.gradiens-border {
    position: relative;
    padding-top: 0.35rem;
}

.gradiens-border::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0.35rem;
    background: var(--gradiens-lila-okker-border);
}

.gradiens-border .box-style-gradiens {
    text-align: center;
}

.gradiens-border .box-style-gradiens::before {
    content: none;
}

.gradiens-border img {
    max-width: 3.86rem;
    height: auto;
    margin-top: 1.35rem;
}

.wide {
    width: calc(100vw - 16px);
    position: relative;
    left: calc(50% + 8px);
    margin-left: -50vw;
}

.vertical-center {
    align-items: center;
}

.narrow {
    max-width: 54rem;
    margin: 0 auto;
    padding-top: 0.75rem;
}

.dark-bg .narrow {
    max-width: 36rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.dark-bg h2 {
    color: var(--white);
    text-align: center;
    max-width: 54rem;
    margin: 0 auto;
}

.dark-bg h2 span {
    background: var(--gradiens-lila-okker);
    background-repeat: no-repeat;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.dark-bg .secondary-cta a {
    color: var(--white);
}

.dark-bg .secondary-cta a:hover {
    color: var(--title);
}

.timeline {
    display: flex;
    flex-direction: column;
    margin-top: 0.5rem !important;
    position: relative;
    gap: 1.35rem;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0.35rem;
    height: 100%;
    background: var(--gradiens-lila-okker-blockq);
}

.timeline .box-style-nohover {
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 0 1.35rem 1.35rem 1.82rem;
}

.timeline .box-style-nohover .highlight {
    margin: 0 0 0 -1.6rem;
}

.timeline .box-style-nohover .highlight::before {
    content: '';
    display: inline-block;
    width: 1.35rem;
    height: 2.5rem;
    background: var(--violet);
    border-radius: 0 2.3rem 2.3rem 0;
    margin-right: 10px;
    vertical-align: -1.05rem;
}

.timeline .box-style-nohover .hl-gradiens::before {
    content: '';
    display: inline-block;
    width: 1.35rem;
    height: 2.5rem;
    background: #AB5291;
    border-radius: 0 2.3rem 2.3rem 0;
    margin-right: 10px;
    vertical-align: -1.05rem;
}

.timeline .box-style-nohover .hl-okker::before {
    content: '';
    display: inline-block;
    width: 1.35rem;
    height: 2.5rem;
    background: var(--ochre);
    border-radius: 0 2.3rem 2.3rem 0;
    margin-right: 10px;
    vertical-align: -1.05rem;
}

.timeline .box-style-nohover h3 {
    font-size: 1rem;
}

.timeline .box-style-nohover p {
    margin-bottom: 0;
}

.box-style-szolg {
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: -2px -2px 4px 0 rgba(31, 41, 55, 0.12), 2px 2px 4px 0 rgba(31, 41, 55, 0.12);
    padding: 0;
    overflow: hidden;
    gap: 0;
}

.box-style-szolg .wp-block-group {
    background: var(--light-bg);
}

.box-style-szolg .wp-block-group h3 {
    margin: 0;
    padding: 1.35rem;
}

.box-style-szolg p {
    padding: 0 1.35rem;
}

.box-style-szolg ul li,
#alapcsomag ul li,
#haladocsomag ul li,
#premiumcsomag ul li {
    padding-bottom: 0.5rem;
}

.box-style-szolg ul li img,
.box-style ul li img,
#alapcsomag ul li img,
#haladocsomag ul li img,
#premiumcsomag ul li img {
    max-width: 1.2rem;
    max-height: 1.2rem;
    vertical-align: middle;
    margin-top: -4px;
    margin-right: 0.5rem;
}

.box-style-szolg .primary-cta {
    margin: 0 1.35rem 1.35rem 1.35rem;
}

.box-style-szolg figure,
.box-style-szolg figure img {
    margin: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

#alapcsomag .wp-block-group,
#premiumcsomag .wp-block-group {
    background: var(--body-bg);
    margin: -1.35rem -1.35rem 2.2rem -1.35rem;
    padding: 1.35rem 1.35rem 0 1.35rem;
    overflow: hidden;
}

#alapcsomag .wp-block-group .wp-block-group__inner-container,
#haladocsomag .wp-block-group .wp-block-group__inner-container,
#premiumcsomag .wp-block-group .wp-block-group__inner-container {
    padding: 0;
    overflow: hidden;
}

#alapcsomag ul,
#haladocsomag ul,
#premiumcsomag ul {
    padding-left: 0;
}

#alapcsomag blockquote,
#haladocsomag blockquote,
#premiumcsomag blockquote {
    background: var(--body-bg);
}

#haladocsomag blockquote {
    background: var(--light-violet);
}

#haladocsomag .wp-block-group {
    background: var(--light-violet);
    margin: -1.35rem -1.35rem 0.7rem -1.35rem;
    padding: 1.35rem 1.35rem 0 1.35rem;
    overflow: hidden;
}

#legnepszerubb {
    display: block;
    margin: 0 auto;
    width: fit-content;
}

#haladocsomag .highlight::before {
    content: '';
    display: inline-block;
    width: 1.45rem;
    height: 3px;
    background: var(--violet);
    margin-right: 0.4rem;
    vertical-align: 0.18rem;
}

.portfolio-head {
    background: var(--light-bg);
    margin: 0 -1.35rem 1.35rem -1.35rem;
    padding: 0 1.35rem;
}

.portfolio-head h3 {
    margin-bottom: 0;
}

.portfolio-head p {
    margin-top: 0;
    margin-bottom: 1.35rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--ochre);
}

.portfolio-category {
    display: flex;
    align-items: center;
    min-height: 100%;
    justify-content: end;
}

.portfolio-category ul {
    display: flex;
    justify-content: right;
}

.portfolio-category ul li {
    margin-left: 1rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--violet);
    padding: 0.45rem;
    background: var(--light-violet);
    border-radius: var(--radius);
}

.metaslider .flexslider {
    margin: 1.5rem 0 2rem 0 !important;
}

.kapcs-form .box-style-gradiens {
    padding-top: 1.35rem;
}

.kapcs-form .box-style-gradiens h2 {
    font-size: 2rem;
}

.kapcs-form .dark-box {
    background: var(--title);
    color: var(--white);
    margin-top: 2rem;
}

.kapcs-form .dark-box h2 {
    font-size: 1.27rem;
    color: var(--white);
}

.kapcs-form .secondary-cta a {
    color: var(--white);
}

.kapcs-form .secondary-cta a:hover {
    color: var(--violet);
}

input[type=text],
input[type=tel],
input[type=email],
select,
textarea {
    border: solid 1.5px var(--light-text);
    background: var(--light-violet);
    box-shadow: -2px -2px 4px 0 rgba(31, 41, 55, 0.06), 2px 2px 4px 0 rgba(31, 41, 55, 0.06);
    padding: 0.5rem;
    border-radius: 5px;
    margin-bottom: 1rem;
    width: 100%;
}

.wp-block-contact-form-7-contact-form-selector p {
    margin-top: 0;
    margin-bottom: 0;
}

input[type=checkbox] {
    margin-bottom: 1.5rem;
    margin-left: -1em;
}

.gyik .wp-block-details {
    border-radius: var(--radius);
    background: var(--body-bg);
    box-shadow: -2px -2px 4px 0 rgba(31, 41, 55, 0.12), 2px 2px 4px 0 rgba(31, 41, 55, 0.12);
    padding: 1.35rem;
    margin-bottom: 1rem;
}

.gyik summary {
    font-weight: bold;
    color: var(--title);
}

footer {
    background: var(--title);
    color: var(--light-text);
    font-size: smaller;
    padding: 4.6rem 0 3.15rem 0;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0.35rem;
    background: var(--gradiens-lila-okker-border);
}

.footer-column-center {
    padding-left: 7rem;
}

footer a {
    color: var(--light-text);
}

footer a:hover {
    color: var(--violet);
}

footer li img {
    max-height: 1.2rem;
    max-width: 1.2rem;
    vertical-align: middle;
}

footer figure img {
    width: 18rem;
}

footer ul {
    padding: 0;
}

footer ul li {
    padding-bottom: 0.5rem;
}

footer em {
    font-weight: 200;
    padding-left: 1.35rem;
}

#copyright {
    background: var(--title);
    color: rgba(255, 255, 255, 0.6);
    border-top: solid 1px rgba(255, 255, 255, 0.4);
    overflow: hidden;
    font-size: 0.72rem;
    padding-bottom: 1.25rem;
}

#copyright a {
    color: var(--light-text);
}

#copyright a:hover {
    color: var(--violet);
}

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

    .home-hero,
    .rolam-hero {
        background-position: bottom right -8vw;
        background-size: 110% auto;
        padding-bottom: 10vw;
    }

    .szolgaltatasaim-hero {
        background-position: bottom right -8vw;
        background-size: 120% auto;
        padding-bottom: 27vw;
    }

    .portfolio-hero {
        background-position: bottom right -9vw;
        background-size: 120% auto;
        padding-bottom: 30vw;
    }

    .kapcsolat-hero {
        background-position: bottom right -9vw;
        background-size: 120% auto;
        padding-bottom: 35vw;
    }

    #head-social-contacts .is-layout-flex {
        gap: 0.2em;
    }

    .wide {
        width: 100vw;
        left: 50%;
    }

    .home-szolg .box-style,
    .gradiens-border .box-style-gradiens {
        padding: 0 1rem 1rem 1rem;
    }

    .home-szolg .box-style .icon,
    .rolam-ertek .box-style-nohover .icon {
        max-width: 4rem;
        margin: 1rem 0 0.25rem 0;
    }

    .home-szolg .box-style img,
    .gradiens-border .box-style-gradiens img,
    .rolam-ertek .box-style-nohover img {
        margin-bottom: 0;
    }
}

@media only screen and (max-width: 1023px) {
    header .content-box {
        flex-wrap: wrap;
    }

    #head-menu {
        width: 100%;
        margin-top: 0.75rem;
    }

    #head-social-contacts {
        display: none;
    }

    h1 {
        font-size: 2.2rem;
        line-height: 2.6rem;
    }

    h2 {
        font-size: 1.9rem;
        line-height: 2.3rem;
    }

    .home-hero {
        background-position: bottom right -10.5vw;
        background-size: 145% auto;
        padding-bottom: 30vw;
    }

    .rolam-hero {
        background-position: bottom right -11.5vw;
        background-size: 135% auto;
        padding-bottom: 7vw;
    }

    .szolgaltatasaim-hero {
        background-position: bottom right -9.5vw;
        background-size: 135% auto;
        padding-bottom: 52vw;
    }

    .portfolio-hero {
        background-position: bottom right -9.5vw;
        background-size: 135% auto;
        padding-bottom: 42vw;
    }

    .kapcsolat-hero {
        background-position: bottom -15vw right -9.5vw;
        background-size: 130%;
        padding-bottom: 35vw;
    }

    .home-hero .content-box,
    .rolam-hero .content-box,
    .szolgaltatasaim-hero .content-box,
    .portfolio-hero .content-box,
    .kapcsolat-hero .content-box {
        max-width: 800px;
    }

    .trustbar .wp-block-group__inner-container .wp-block-columns {
        flex-wrap: nowrap !important;
    }

    .home-szolg .wp-block-columns,
    .process .wp-block-columns,
    .rolam-ertek .wp-block-columns {
        display: block;
        column-count: 2;
        margin-bottom: 0;
    }

    .home-szolg .wp-block-columns .box-style,
    .process .wp-block-columns .box-style-gradiens,
    .rolam-ertek .wp-block-columns .box-style-nohover {
        margin-bottom: 2em;
        padding: 0 2rem 2rem 2rem;
    }

    .szolg .wp-block-columns {
        margin-bottom: 0;
    }

    .szolg .box-style-szolg {
        margin-bottom: 2em;
    }

    .no-reverse {
        flex-direction: column;
    }

    .reverse {
        flex-direction: column-reverse;
    }

    .portfolio-head {
        flex-direction: column;
        text-align: left;
    }

    .portfolio-head p {
        margin-bottom: 0;
    }

    .portfolio-category {
        justify-content: left;
    }

    .portfolio-category ul {
        justify-content: left;
        padding: 0;
        margin: -1rem 0 1rem 0;
    }

    .portfolio-category ul li {
        margin-left: 0;
        margin-right: 1rem;
    }

    .kapcs-form .box-style-gradiens h2 {
        font-size: 1.4rem;
        line-height: 1.9rem;
    }

    .kapcs-form .wp-block-buttons {
        gap: 1rem;
    }
}

@media only screen and (max-width: 768px) {
    h1 {
        font-size: 2rem;
        line-height: 2.4rem;
    }

    h2 {
        font-size: 1.75rem;
        line-height: 2.1rem;
    }

    .home-hero {
        background-position: bottom -15vw right;
        background-size: 220% auto;
        padding-bottom: 75vw;
    }

    .rolam-hero {
        background-position: bottom -15vw right -25vw;
        background-size: 240% auto;
        padding-bottom: 45vw;
    }

    .szolgaltatasaim-hero,
    .portfolio-hero,
    .kapcsolat-hero {
        background-position: bottom right -10vw;
        background-size: 175% auto;
        padding-bottom: 80vw;
    }

    .trustbar img {
        max-width: 45px;
    }

    .wp-block-spacer {
        max-height: 50px;
    }

    footer .column-3 > div {
        width: 100%;
    }

    .footer-column-center {
        padding: 0;
    }
}

@media only screen and (max-width: 480px) {
    #logo svg {
        width: 80%;
        height: auto;
    }

    .home-hero .wp-block-buttons {
        gap: 1rem;
    }

    .home-hero {
        background-position: bottom -15vw right;
        background-size: 220% auto;
        padding-bottom: 65vw;
    }

    .home-szolg .wp-block-columns,
    .process .wp-block-columns,
    .rolam-ertek .wp-block-columns {
        display: block;
        column-count: 1;
        margin-bottom: 0;
    }

    .home-szolg .wp-block-columns .box-style,
    .process .wp-block-columns .box-style-gradiens,
    .rolam-ertek .wp-block-columns .box-style-nohover {
        margin-bottom: 2em;
        padding: 0 2rem 2rem 2rem;
    }

    .rolam-hero {
        background-position: bottom -10vw right -25vw;
        background-size: 240% auto;
        padding-bottom: 45vw;
    }

    .szolgaltatasaim-hero,
    .portfolio-hero,
    .kapcsolat-hero {
        background-position: bottom right -10vw;
        background-size: 175% auto;
        padding-bottom: 75vw;
    }

    .portfolio-category ul {
        flex-wrap: wrap;
    }

    .portfolio-category ul li {
        margin-bottom: 0.6rem;
    }
}
