/***************************
// Font Imports
***************************/

@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/Open_Sans/OpenSans-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/Open_Sans/OpenSans-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/Open_Sans/OpenSans-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/Open_Sans/OpenSans-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/Open_Sans/OpenSans-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/Open_Sans/OpenSans-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Sen';
    src: url('../fonts/Sen/Sen-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Sen';
    src: url('../fonts/Sen/Sen-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: 'Sen';
    src: url('../fonts/Sen/Sen-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Sen';
    src: url('../fonts/Sen/Sen-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Sen';
    src: url('../fonts/Sen/Sen-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins/Poppins-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Newsreader';
    src: url('../fonts/Newsreader/Newsreader_24pt-ExtraLight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: 'Newsreader';
    src: url('../fonts/Newsreader/Newsreader_24pt-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Newsreader';
    src: url('../fonts/Newsreader/Newsreader_24pt-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Newsreader';
    src: url('../fonts/Newsreader/Newsreader_24pt-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Newsreader';
    src: url('../fonts/Newsreader/Newsreader_24pt-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Newsreader';
    src: url('../fonts/Newsreader/Newsreader_24pt-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Newsreader';
    src: url('../fonts/Newsreader/Newsreader_24pt-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
}



/***************************
// End Font Imports
***************************/
/***************************
// Default Styles
***************************/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --font-family-open-sans: 'Open Sans', sans-serif;
}

body {
    letter-spacing: 0;
    font-family: var(--font-family-open-sans) !important;
    color: #000000;
    background-color: #fff;
    overflow-x: hidden;
}

/***********
// Segéd
***********/

.font-family-sen * {
    font-family: 'Sen', sans-serif !important;
}

.font-family-poppins * {
    font-family: 'Poppins', sans-serif !important;
}

.font-family-newsreader * {
    font-family: 'Newsreader', serif !important;
}

.font-color-1C4E63 * {
    color: #1C4E63 !important;
}

.font-color-C65A3A * {
    color: #C65A3A !important;
}

.font-color-41484C * {
    color: #41484C !important;
}

.font-color-00374A * {
    color: #00374A !important;
}

.padding-bottom-0 * {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

.opacity-70 * {
    opacity: 0.7 !important;
}

/***********
// Segéd Vége
***********/

a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-bottom: 0;
}

.pt-6 {
    padding-top: 6rem !important;
}

.pb-6 {
    padding-bottom: 6rem !important;
}

[class*="max-"] * {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.letter-spacing-02 * {
    letter-spacing: 0.2px !important;
}

.max-5-row-text * {
    -webkit-line-clamp: 5;
    line-clamp: 5;
}

.max-4-row-text * {
    -webkit-line-clamp: 4;
    line-clamp: 4;
}

.max-3-row-text * {
    -webkit-line-clamp: 3;
    line-clamp: 3;
}

.max-2-row-text * {
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

.max-1-row-text * {
    -webkit-line-clamp: 1;
    line-clamp: 1;
}

.font-size-128 * {
    font-size: 128px !important;
}

.font-size-100 * {
    font-size: 100px !important;
}

.font-size-99 * {
    font-size: 99px !important;
}

.font-size-98 * {
    font-size: 98px !important;
}

.font-size-97 * {
    font-size: 97px !important;
}

.font-size-96 * {
    font-size: 96px !important;
}

.font-size-95 * {
    font-size: 95px !important;
}

.font-size-94 * {
    font-size: 94px !important;
}

.font-size-93 * {
    font-size: 93px !important;
}

.font-size-92 * {
    font-size: 92px !important;
}

.font-size-91 * {
    font-size: 91px !important;
}

.font-size-90 * {
    font-size: 90px !important;
}

.font-size-89 * {
    font-size: 89px !important;
}

.font-size-88 * {
    font-size: 88px !important;
}

.font-size-87 * {
    font-size: 87px !important;
}

.font-size-86 * {
    font-size: 86px !important;
}

.font-size-85 * {
    font-size: 85px !important;
}

.font-size-84 * {
    font-size: 84px !important;
}

.font-size-83 * {
    font-size: 83px !important;
}

.font-size-82 * {
    font-size: 82px !important;
}

.font-size-81 * {
    font-size: 81px !important;
}

.font-size-80 * {
    font-size: 80px !important;
}

.font-size-79 * {
    font-size: 79px !important;
}

.font-size-78 * {
    font-size: 78px !important;
}

.font-size-77 * {
    font-size: 77px !important;
}

.font-size-76 * {
    font-size: 76px !important;
}

.font-size-75 * {
    font-size: 75px !important;
}

.font-size-74 * {
    font-size: 74px !important;
}

.font-size-73 * {
    font-size: 73px !important;
}

.font-size-72 * {
    font-size: 72px !important;
}

.font-size-71 * {
    font-size: 71px !important;
}

.font-size-70 * {
    font-size: 70px !important;
}

.font-size-69 * {
    font-size: 69px !important;
}

.font-size-68 * {
    font-size: 68px !important;
}

.font-size-67 * {
    font-size: 67px !important;
}

.font-size-66 * {
    font-size: 66px !important;
}


.font-size-65 * {
    font-size: 65px !important;
}

.font-size-64 * {
    font-size: 64px !important;
}

.font-size-63 * {
    font-size: 63px !important;
}

.font-size-62 * {
    font-size: 62px !important;
}

.font-size-61 * {
    font-size: 61px !important;
}

.font-size-60 * {
    font-size: 60px !important;
}

.font-size-59 * {
    font-size: 59px !important;
}

.font-size-58 * {
    font-size: 58px !important;
}

.font-size-57 * {
    font-size: 57px !important;
}

.font-size-56 * {
    font-size: 56px !important;
}

.font-size-55 * {
    font-size: 55px !important;
}

.font-size-54 * {
    font-size: 54px !important;
}

.font-size-53 * {
    font-size: 53px !important;
}

.font-size-52 * {
    font-size: 52px !important;
}

.font-size-51 * {
    font-size: 51px !important;
}

.font-size-50 * {
    font-size: 50px !important;
}

.font-size-49 * {
    font-size: 49px !important;
}

.font-size-48 * {
    font-size: 48px !important;
}

.font-size-47 * {
    font-size: 47px !important;
}

.font-size-46 * {
    font-size: 46px !important;
}

.font-size-45 * {
    font-size: 45px !important;
}

.font-size-44 * {
    font-size: 44px !important;
}

.font-size-43 * {
    font-size: 43px !important;
}

.font-size-42 * {
    font-size: 42px !important;
}

.font-size-41 * {
    font-size: 41px !important;
}

.font-size-40 * {
    font-size: 40px !important;
}

.font-size-39 * {
    font-size: 39px !important;
}

.font-size-38 * {
    font-size: 38px !important;
}

.font-size-37 * {
    font-size: 37px !important;
}

.font-size-36 * {
    font-size: 36px !important;
}

.font-size-35 * {
    font-size: 35px !important;
}

.font-size-34 * {
    font-size: 34px !important;
}

.font-size-33 * {
    font-size: 33px !important;
}

.font-size-32 * {
    font-size: 32px !important;
}

.font-size-31 * {
    font-size: 31px !important;
}

.font-size-30 * {
    font-size: 30px !important;
}

.font-size-29 * {
    font-size: 29px !important;
}

.font-size-28 * {
    font-size: 28px !important;
}

.font-size-27 * {
    font-size: 27px !important;
}

.font-size-26 * {
    font-size: 26px !important;
}

.font-size-25 * {
    font-size: 30px !important;
}

.font-size-24 * {
    font-size: 24px !important;
}

.font-size-23 * {
    font-size: 23px !important;
}

.font-size-22 * {
    font-size: 22px !important;
}

.font-size-21 * {
    font-size: 21px !important;
}

.font-size-20 * {
    font-size: 20px !important;
}

.font-size-19 * {
    font-size: 19px !important;
}

.font-size-18 * {
    font-size: 18px !important;
}

.font-size-17 * {
    font-size: 17px !important;
}

.font-size-16 * {
    font-size: 16px !important;
}

.font-size-15 * {
    font-size: 15px !important;
}

.font-size-14 * {
    font-size: 14px !important;
}

.font-size-13 * {
    font-size: 13px !important;
}

.font-size-12 * {
    font-size: 12px !important;
}

.font-size-11 * {
    font-size: 11px !important;
}

.font-size-10 * {
    font-size: 10px !important;
}

.font-size-9 * {
    font-size: 9px !important;
}

.font-size-8 * {
    font-size: 8px !important;
}



strong {
    font-weight: 700 !important;
}

.font-weight-900 *:not(strong) {
    font-weight: 900 !important;
}

.font-weight-800 *:not(strong) {
    font-weight: 800 !important;
}

.font-weight-700 *:not(strong) {
    font-weight: 700 !important;
}

.font-weight-600 *:not(strong) {
    font-weight: 600 !important;
}

.font-weight-500 *:not(strong) {
    font-weight: 500 !important;
}

.font-weight-400 *:not(strong) {
    font-weight: 400 !important;
}

.font-weight-300 *:not(strong) {
    font-weight: 300 !important;
}

.font-weight-200 *:not(strong) {
    font-weight: 200 !important;
}

.font-weight-100 *:not(strong) {
    font-weight: 100 !important;
}



.line-height-200 * {
    line-height: 200% !important;
}

.line-height-190 * {
    line-height: 190% !important;
}

.line-height-180 * {
    line-height: 180% !important;
}

.line-height-170 * {
    line-height: 170% !important;
}

.line-height-160 * {
    line-height: 160% !important;
}

.line-height-150 * {
    line-height: 150% !important;
}

.line-height-140 * {
    line-height: 140% !important;
}

.line-height-130 * {
    line-height: 130% !important;
}

.line-height-120 * {
    line-height: 120% !important;
}

.line-height-110 * {
    line-height: 110% !important;
}

.line-height-100 * {
    line-height: 100% !important;
}

.line-height-24 * {
    line-height: 24px !important;
}

/***************************
// End Default Styles
***************************/

/***************************
// Buttons
***************************/
.btn img {
    transform: translateX(0);
    transition: transform 0.3s ease;
}

.nav-link.btn {
    display: flex;
    align-items: center;
    gap: 4px;
}

.btn.btn-filled-orange {
    background: #C65A3A;
    color: #fff;
    padding: 19px 45px;
    border-radius: 10px;
}

.btn.btn-filled-orange:hover {
    background: #b85030;
}

.btn.btn-slide {
    background: #3A708778;
    border: 1px solid #05222D8A;
    color: #fff;
    padding: 1rem;
    border-radius: 5px;
}

.btn.btn-filled-blue {
    background: #1C4E63;
    color: #fff;
    padding: 15px 0px;
    border-radius: 5px;
    width: 100%;
}

/***************************
// End Buttons
***************************/
/***************************
// Navbar
***************************/
.navbar {
    padding: 10px 0;
    transition: all 0.3s ease;
}

.navbar-custom {
    width: 100%;
    z-index: 1030;
    background: #24597096;
}

.navbar-absolute {
    position: absolute;
    top: 0;
    left: 0;
}

.navbar-custom.navbar-static {
    background: #245970;
}


/* Logó méretezése */
.navbar-brand img {
    height: 62px;
    width: auto;
    object-fit: contain;
    transition: height 0.3s ease;
}

.navbar-toggler:focus,
.navbar-toggler:active {
    outline: none;
    box-shadow: none;
}

.navbar-toggler-icon.white {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255,1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.navbar-custom .nav-link {
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    padding: 10px 15px;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link.show {
    color: #ffffff !important;
}

.navbar-custom .nav-link:focus,
.navbar-custom .dropdown-toggle:focus {
    outline: none !important;
    box-shadow: none !important;
}

.navbar-custom .nav-link:hover {
    color: #73a1e6 !important;
}

/* Custom Dropdown Styling */
@media (min-width: 1200px) {
    .navbar-custom .dropdown:hover .dropdown-menu {
        display: block;
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
    }

    .navbar-custom .dropdown-menu {
        display: block;
        visibility: hidden;
        opacity: 0;
        transform: translateY(10px);
        transition: all 0.3s ease;
        background-color: #1C4E63;
        border: none;
        border-radius: 0;
        padding: 0;
        margin: 0;
    }

    .navbar-custom .dropdown-item {
        color: #ffffff;
        font-weight: 600;
        font-size: 15px;
        padding: 15px 20px;
        transition: background-color 0.3s ease;
        white-space: normal;
        letter-spacing: 0.5px;
    }

    .navbar-custom .dropdown-item:hover,
    .navbar-custom .dropdown-item:focus {
        background-color: #0E445B;
        color: #fff;
    }
}

@media (max-width: 1199.98px) {
    .navbar-custom .nav-item.dropdown {
        position: relative;
    }

    .navbar-custom .dropdown-menu {
        background-color: #ffffff !important;
        border: 1px solid #e2e6eb !important;
        box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.15) !important;
        padding: 5px 0 !important;
        margin: 0 !important;
        position: absolute !important;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        width: max-content;
        min-width: 100%;
        z-index: 1050;
        border-radius: 12px;
    }

    .navbar-custom .dropdown-item {
        color: #333333 !important;
        font-weight: 600;
        font-size: 15px;
        padding: 12px 20px;
        text-align: center;
        border-bottom: 1px solid #e2e6eb;
        transition: all 0.2s ease;
        white-space: normal;
    }

    .navbar-custom .dropdown-menu li:last-child .dropdown-item {
        border-bottom: none;
    }

    .navbar-custom .dropdown-item:hover,
    .navbar-custom .dropdown-item:focus {
        color: #73a1e6 !important;
        background-color: #f8f9fa !important;
    }

    .navbar-custom .dropdown-toggle[aria-expanded="true"] {
        color: #73a1e6 !important;
    }
}

@media (max-width: 1199.98px) {

    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: auto;
        right: 25px;
        width: max-content;
        min-width: 220px;
        margin-top: -1rem;
    }

    .navbar-nav {
        background-color: #ffffff;
        padding: 0;
        border-radius: 16px;
        gap: 0 !important;
    }

    .navbar-custom .nav-link {
        color: #333333 !important;
        padding: 12px 20px;
        text-align: center;
        width: 100%;
        font-size: 16px;
        border-bottom: 1px solid #f0f0f0;
        transition: all 0.2s ease;
    }

    .navbar-custom .btn-filled-blue .nav-link {
        color: white !important;
    }

    .navbar-nav .nav-item:last-child .nav-link {
        border-bottom: none;
    }
}


/***************************
// End Navbar
***************************/

/***************************
// Hero Section
***************************/
.hero {
    position: relative;
    height: 777px;
    max-height: 777px;
    overflow: hidden;
}

.hero.little {
    height: 504px;
    max-height: 504px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0000004D;
    z-index: 2;
}

/* Űrlap kártya stílusai */
.contact-form-card .form-control {
    border-radius: 6px;
    padding: 15px;
    border: 1px solid #CCCCCC;
}

.contact-form-card .form-control::placeholder {
    color: #00000080;
}

.contact-form-card .form-control:focus {
    border-color: #777777;
}

.contact-form-card .custom-flex-checkbox {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 0 10px !important;
}

.contact-form-card .custom-checkbox {
    flex: 0 0 24px !important;
    width: 24px !important;
    height: 24px !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    border: 1px solid #CCCCCC !important;
    background-color: #F9F9F9 !important;
    border-radius: 0px;
    cursor: pointer;
    box-shadow: 4px 2px 6.7px 0px #00000014;
}

.contact-form-card .custom-flex-checkbox .form-check-label {
    flex: 1 1 0% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.contact-form-card .custom-flex-checkbox .invalid-feedback {
    flex: 0 0 100% !important;
}

.contact-form-card .custom-checkbox:checked {
    background-color: #12295F !important;
    border-color: #12295F !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e") !important;
    background-size: 90% !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

/***************************
// End Hero Section
***************************/

/***************************
// image-text-split Section
***************************/
.image-text-split {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.image-text-split .image-column {
    display: flex;
    align-items: stretch;
}

/* Kiterjesztjük a stílust a képekre ÉS az iframe térképre is */
.image-text-split .image-wrapper img,
.image-text-split .image-wrapper iframe {
    height: 600px !important;
    width: 100% !important;
    object-fit: cover;
    border-radius: 20px;
    border: none;
    /* Levesszük a böngésző alapértelmezett iframe keretét */
}

@media (min-width: 992px) {
    .image-text-split .col-lg-5.image-column {
        width: 40.666667%;
    }

    .image-text-split .col-lg-7 {
        width: 59.333333%;
    }
}

/***************************
// End image-text-split Section
***************************/

/***************************
// Content Sections
***************************/

/* 1. Global Container Styles */
.static-content,
.statikus-content {
    font-weight: 400;
    line-height: 1.4;
}

.alapkepzes-content,
.esemenyek-content,
.tanszek-content {
    font-weight: 400;
    line-height: 1.8;
}

/* 2. Body Text (p, li, span) */
.static-content p,
.static-content li,
.static-content span,
.alapkepzes-content p,
.alapkepzes-content li,
.alapkepzes-content span {
    font-size: 20px;
}

.statikus-content p,
.statikus-content li,
.statikus-content span {
    font-size: 18px;
}

.esemenyek-content p,
.esemenyek-content li,
.esemenyek-content span,
.tanszek-content p,
.tanszek-content li,
.tanszek-content span {
    font-size: 18px;
    margin-bottom: 1.5rem;
}

/* 3. Global Headings (h1-h6) */
.static-content h1,
.static-content h2,
.static-content h3,
.static-content h4,
.static-content h5,
.static-content h6,
.statikus-content h1,
.statikus-content h2,
.statikus-content h3,
.statikus-content h4,
.statikus-content h5,
.statikus-content h6,
.alapkepzes-content h1,
.alapkepzes-content h2,
.alapkepzes-content h3,
.alapkepzes-content h4,
.alapkepzes-content h5,
.alapkepzes-content h6,
.esemenyek-content h1,
.esemenyek-content h2,
.esemenyek-content h3,
.esemenyek-content h4,
.esemenyek-content h5,
.esemenyek-content h6,
.tanszek-content h1,
.tanszek-content h2,
.tanszek-content h3,
.tanszek-content h4,
.tanszek-content h5,
.tanszek-content h6 {
    font-weight: 400;
}

/* Heading Margins & Transforms */
.static-content h1,
.static-content h2,
.static-content h3,
.static-content h4,
.static-content h5,
.static-content h6,
.statikus-content h1,
.statikus-content h2,
.statikus-content h3,
.statikus-content h4,
.statikus-content h5,
.statikus-content h6 {
    margin-bottom: 1rem;
}

.alapkepzes-content h1,
.alapkepzes-content h2,
.alapkepzes-content h3,
.alapkepzes-content h4,
.alapkepzes-content h5,
.alapkepzes-content h6 {
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.tanszek-content h1,
.tanszek-content h2,
.tanszek-content h3,
.tanszek-content h4,
.tanszek-content h5,
.tanszek-content h6 {
    margin-bottom: 1.5rem;
    font-family: inherit;
}

.esemenyek-content h1,
.esemenyek-content h2,
.esemenyek-content h3,
.esemenyek-content h4,
.esemenyek-content h5,
.esemenyek-content h6 {
    margin-bottom: 2rem;
    text-transform: uppercase;
    font-family: inherit;
}

/* 4. Specific Heading Sizes */
/* H1 */
.static-content h1 {
    font-size: 64px !important;
}

.statikus-content h1 {
    font-size: 96px !important;
}

/* H2 */
.static-content h2,
.statikus-content h2 {
    font-size: 36px !important;
}

.alapkepzes-content h2,
.esemenyek-content h2 {
    font-size: 50px !important;
}

/* H3 */
.static-content h3 {
    font-size: 48px !important;
    color: #1C4E63;
}

.statikus-content h3 {
    font-size: 128px !important;
    color: #1C4E63;
    font-family: 'Newsreader', serif;
}

.alapkepzes-content h3,
.esemenyek-content h3 {
    font-size: 36px !important;
}

/* H4 */
.static-content h4,
.alapkepzes-content h4,
.esemenyek-content h4 {
    font-size: 24px !important;
}

.statikus-content h4 {
    font-size: 96px !important;
    font-family: 'Newsreader', serif;
}

/* H5 */
.static-content h5,
.alapkepzes-content h5,
.esemenyek-content h5 {
    font-size: 20px !important;
}

.statikus-content h5 {
    font-size: 50px !important;
    font-family: 'Newsreader', serif;
}

/* H6 */
.static-content h6,
.statikus-content h6,
.alapkepzes-content h6,
.esemenyek-content h6 {
    font-size: 18px !important;
}

/* 5. Year Header Component */
.tanszek-content .year-header,
.statikus-content .year-header {
    margin-bottom: 2rem;
}

.statikus-content .year-title,
.tanszek-content .year-title {
    font-size: 64px !important;
    color: #cecece !important;
    text-transform: none;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.statikus-content .year-divider,
.tanszek-content .year-divider {
    width: 48px;
    height: 4px;
    background-color: #C65A3A;
    margin-bottom: 1rem;
}

.statikus-content .year-subtitle,
.tanszek-content .year-subtitle {
    font-size: 24px !important;
    text-transform: none;
    margin-bottom: 0;
}

/* 6. Specific Components */
.tanszek-content a {
    text-decoration: underline;
}

.esemenyek-quote {
    background-color: #F3F4F2;
    border-left: 4px solid #A13F21;
    padding: 2rem;
    margin: 3rem 0;
    font-style: italic;
    font-size: 24px;
    color: #00374A;
    font-family: 'Newsreader', serif;
    border-radius: 10px;
}

/***************************
// End Content Sections
***************************/

/***************************
// Info Card Section
***************************/

.info-card {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 21 / 9;
    border-radius: 5px;
    overflow: hidden;
    text-decoration: none;
}

.info-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.info-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #00000033;
    z-index: 1;
}

.info-card-title {
    position: absolute;
    bottom: 12px;
    left: 15px;
    margin: 0;
    z-index: 2;
    color: #fff;
}

.info-card:hover img {
    transform: scale(1.05);
}

@media (max-width: 991.98px) {
    .info-card {
        aspect-ratio: 16 / 9;
    }
}

/***************************
// End Info Card Section
***************************/

/***************************
// Custom Slider Section
***************************/

.slider-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    background-color: #244b5a;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.slider-track {
    cursor: grab;
    user-select: none;
}

.slider-track:active {
    cursor: grabbing;
}

.slide-item img {
    pointer-events: none;
}

.slide-item {
    min-width: 100%;
    display: flex;
    flex-direction: row;
    align-items: stretch;
}

.slide-img-col {
    flex: 0 0 55%;
    max-width: 55%;
}

.slide-img-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slide-content-col {
    flex: 0 0 45%;
    max-width: 45%;
    padding: 50px 45px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #ffffff;
}

.slide-pagination {
    display: flex;
    gap: 8px;
    align-items: center;
}

.slide-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #FFFFFF63;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.slide-dot.active {
    background-color: #ffffff;
}

@media (max-width: 991.98px) {
    .slide-item {
        flex-direction: column;
    }

    .slide-img-col {
        flex: none;
        /* TRÜKK: Levesszük a flex-et, hogy ne a magasságot akarja 100%-ra húzni */
        width: 100%;
        max-width: 100%;
        height: 250px;
        /* Kicsit kisebbre is veheted mobilon, hogy több szöveg látszódjon azonnal */
    }

    .slide-content-col {
        flex: none;
        /* Itt is levesszük a flex-et */
        width: 100%;
        max-width: 100%;
        padding: 30px 20px;
        /* Mobilon érdemes picit kisebb belső margót (padding) használni */
    }
}

/***************************
// End Custom Slider Section
***************************/

/***************************
// Education Feature Section
***************************/
.edu-feature-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    padding: 1rem;
}

/* Ikon burkoló */
.edu-feature-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}

/* Ikon méretezése */
.edu-feature-icon img {
    width: 85px;
    height: 85px;
    fill: currentColor;
}

.edu-feature-desc {
    padding: 0 10px;
}

/***************************
// End Education Feature Section
***************************/

.divider {
    border: 1px solid #00000033;
}

/***************************
// News Section
***************************/
.news-main-title {
    padding-left: 20px;
    border-left: 10px solid #C65A3A;
}

.news-card {
    background-color: #1C4E6329;
    border-radius: 10px;
    padding: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card h3 {
    min-height: 3.6em;
}

.news-img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}

.news-date {
    font-style: italic;
    color: #C65A3A;
}

.more-news-link {
    color: #1C4E63;
}

/***************************
// End News Section
****************************/

/***************************
// FAQ Section
***************************/
.faq-item {
    background-color: #ffffff;
    border: 1px solid #00000030;
    border-radius: 5px;
    margin-bottom: 15px;
    box-shadow: 0px 28.17px 37.56px -16.9px #95959540;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-header {
    display: flex;
    align-items: flex-start;
    padding: 25px 30px;
    cursor: pointer;
    user-select: none;
}

.faq-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 600;
    color: #3b5c6e;
    margin-right: 15px;
    line-height: 1;
    transition: transform 0.3s ease;
}

.faq-icon::before {
    content: '+';
}

.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 30px;
}

.faq-answer {
    margin-bottom: 0;
    padding-bottom: 40px;
    padding-left: 40px;
    padding-top: 15px;
}

.faq-item.active {
    background-color: #1C4E6329;
    box-shadow: none;
    border: 1px solid #00000030;
}

.faq-item.active .faq-icon::before {
    content: '−';
}

.faq-item.active .faq-body {
    max-height: 500px;
}

/***************************
// End FAQ Section
***************************/

/***************************
// Contact Info Section
***************************/
.contact-info-section {
    background-color: #1C4E6329;
}

.contact-info-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 15px;
    height: 100%;
}

.contact-info-icon {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-info-icon img {
    width: 75px;
    height: 75px;
    object-fit: contain;
}

.contact-info-detail {
    text-decoration: none;
    margin-top: auto;
}

.contact-info-detail:hover {
    text-decoration: underline;
}

/***************************
// End Contact Info Section
***************************/

/* =========================================
       KÖZÖS KÉP BEÁLLÍTÁSOK
       ========================================= */

.training-img,
.master-img {
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
    position: relative;
    z-index: 1;
    height: 480px;
    /* Árnyék mindkét képnek */
}

.felveteli-img {
    width: 100%;
    max-width: 180px;
    opacity: 0.2;
    border-radius: 10px;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

/* =========================================
       1. SZEKCIÓ: ALAPKÉPZÉS
       ========================================= */
.training-image-wrapper {
    position: relative;
    z-index: 1;
    padding-left: 25px;
    margin-top: 30px;
}

/* Kék, bal felső sarkán lekerekített alakzat */
.training-decorative-shape {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    left: 0px;
    width: 70px;
    height: 100px;
    background-color: #194a5c;
    border-top-left-radius: 35px;
    z-index: 2;
}

/* =========================================
       2. SZEKCIÓ: MESTERKÉPZÉS
       ========================================= */
.master-image-wrapper {
    position: relative;
    z-index: 1;
    margin-bottom: 50px;
}

/* Narancssárga díszítő kör a kép alján */
.master-decorative-circle {
    position: absolute;
    bottom: -35px;
    left: 15%;
    width: 75px;
    height: 75px;
    background-color: #cb5a3c;
    border-radius: 50%;
    z-index: 2;
}

/* =========================================
       ASZTALI NÉZET FINOMHANGOLÁSA (MD / LG)
       ========================================= */
@media (min-width: 992px) {

    /* Alapképzés */
    .training-image-wrapper {
        padding-left: 0;
        margin-top: 0;
    }

    .training-decorative-shape {
        left: -60px;
        width: 106px;
        height: 116px;
        border-top-left-radius: 45px;
    }

    .left-text-column {
        padding-right: 100px;
    }

    /* Mesterképzés */
    .master-image-wrapper {
        margin-bottom: 0;
    }

    .right-text-column {
        padding-left: 60px;
        /* Kicsit eltoljuk a szöveget a képtől */
    }

    .felveteli-img {
        max-width: 360px;
        height: auto;
    }
}

/***************************
// University Section
***************************/

.university-section {
    background-color: #3E6C8029;
}

.university-img-wrapper {
    position: relative;
    z-index: 1;
}

.university-img {
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
    aspect-ratio: 1 / 1.1;
}

.university-badge {
    position: absolute;
    top: 0;
    left: 40px;
    background-color: #1C4E63;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    box-shadow: 0px 4px 4px 0px #00000040;
    z-index: 2;
}

.university-badge img {
    width: 73px;
    height: 73px;
}

.university-steps {
    display: flex;
    flex-direction: column;
    gap: 50px;
    padding-left: 30px;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 70px;
}

.step-number-wrapper {
    position: relative;
    width: 70px;
    height: 60px;
    flex-shrink: 0;
}

.step-shape {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 91px;
    height: 63px;
    border-radius: 5px 38px 5px 38px;
    z-index: 1;
}

.step-shape-1 {
    background-color: #D0785E;
}

.step-shape-2 {
    background-color: #FE8432;
}

.step-shape-3 {
    background-color: #C65A3A;
}

.step-number {
    position: absolute;
    top: -25px;
    right: -35px;
    z-index: 2;
}

@media (max-width: 991.98px) {
    .university-steps {
        padding-left: 0;
        margin-top: 50px;
    }

    .university-badge {
        left: 20px;
    }

    .step-number {
        top: -10px;
        right: -20px;
    }

    .kapcsolat-map iframe,
    .portrait-image,
    .news-img,
    .training-img,
    .master-img,
    .university-img {
        max-height: 300px !important;
        object-fit: cover;
    }
}

/***************************
// End University Section
****************************/

/***************************
// Footer
***************************/
.custom-footer {
    background-color: #1C4E63;
    color: white;
}

/* --- 1. Oszlop: Logó és Kapcsolat --- */
.footer-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    text-decoration: none;
    color: #ffffff;
}

.footer-brand img {
    width: 97px;
    height: auto;
}

.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-contact-list img {
    width: 30px;
    height: 40px;
    flex-shrink: 0;
    margin-top: 2px;
}

/* --- 2. és 3. Oszlop: Menük --- */
.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 15px;
}

.footer-menu a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-menu a:hover {
    color: #ffffff;
}

/* --- 4. Oszlop: Közösségi média --- */
.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    display: inline-flex;
    color: #ffffff;
    transition: opacity 0.3s ease;
}

.footer-social a:hover {
    text-decoration: underline;
}

.footer-social img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

/* --- Alsó sáv (Copyright és linkek) --- */
.footer-divider {
    border-top: 1px solid rgba(10, 20, 47, 0.2);
    margin: 40px 0 20px 0;
}

.footer-bottom {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: #ffffff;
}

/* Ensure footer links show underline on hover (global `a` removes underlines) */
.footer-contact-list a,
.footer-menu a,
.footer-bottom a {
    text-decoration: none;
}

.footer-contact-list a:hover,
.footer-menu a:hover,
.footer-bottom a:hover {
    text-decoration: underline;
}

/* Reszponzív finomhangolás */
@media (max-width: 991.98px) {
    .footer-social {
        margin-top: 20px;
        justify-content: flex-start;
    }
}

@media (max-width: 767.98px) {
    .footer-bottom-row {
        text-align: center;
        gap: 15px;
    }

    .footer-bottom-row>div {
        text-align: center !important;
    }
}

/***************************
// End Footer
***************************/

/***************************
// Infrastructure Section
***************************/
.infra-image-container {
    margin-top: 40px;
    width: 100%;
    overflow: hidden;
}

.infra-hero-img {
    width: 100%;
    aspect-ratio: 21 / 9;
    object-fit: cover;
    display: block;
    max-height: 562px;
}

@media (min-width: 992px) {

    .infra-left-col {
        border-right: 6px solid #C65A3A;
        padding-right: 40px !important;
    }
}

@media (max-width: 991.98px) {
    .infra-left-col {
        border-right: none;
        margin-bottom: 15px;
    }

    .infra-hero-img {
        aspect-ratio: 16 / 9;
    }
}

/***************************
// End Infrastructure Section
***************************/

/***************************
// Rooms Section
***************************/
.room-img-wrapper {
    width: 100%;
}

.room-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 10px;
}

/***************************
// End Rooms Section
***************************/

/***************************
// Teachers Section
***************************/

.teacher-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    margin-bottom: 20px;
    text-decoration: none;
}

.teacher-img-wrapper {
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.teacher-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.teacher-card:hover .teacher-img-wrapper img {
    filter: grayscale(0%);
}

/***************************
// End Teachers Section
***************************/

.portrait-image {
    max-width: 500px;
    width: 100%;
    height: auto;
    max-height: 700px;
}

/***************************
// Kartyák Section
***************************/

.kartyak-section {
    background-color: #1C4E6329;
}

.kartyak-section .card-box {
    background-color: #ffffff;
    padding: 1rem;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: inherit;
    border-radius: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.kartyak-section .icon-wrapper img {
    width: 36px;
    height: 36px;
}

/***************************
// End Kartyák Section
***************************/

/***************************
// Képzés Section
***************************/
.kepzesek-section {
    background-color: #1C4E6329;
}

.kepzes-card {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    height: 420px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0px 20px 40px 0px #1A1C1B0A;
    text-decoration: none;
}

.kepzes-card:hover {
    transform: translateY(-5px);
}

.kepzes-badge {
    display: inline-block;
    background-color: #C65A3A;
    padding: 4px 12px;
    border-radius: 2px;
    margin-bottom: 1rem;
    width: max-content;
}

.kepzes-text {
    flex-grow: 1;
}

.kepzes-link {
    color: #1C4E63;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: color 0.3s ease;
}

.kepzes-link img {
    margin-left: 6px;
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
    object-fit: contain;
}

.kepzes-link:hover img {
    transform: translateX(5px);
}

/***************************
// End Képzés Section
***************************/

/***************************
// Alapképzés Section
***************************/

.alapkepzes-top-bar {
    background-color: #1C4E6329;
    padding: 1.5rem 0;
    margin-bottom: 4rem;
}

.alapkepzes-top-bar .info-item {
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .alapkepzes-top-bar .info-item {
        margin-bottom: 0;
    }
}

.alapkepzes-features {
    margin: 3rem 0;
}

.alapkepzes-feature-card {
    background-color: #1C4E6329;
    border-radius: 10px;
    padding: 2rem;
    height: 100%;
}

.alapkepzes-feature-title img {
    width: 20px;
    height: 20px;
}

/***************************
// End Alapképzés Section
***************************/

/***************************
// YouTube Section
***************************/
.youtube-main-video {
    background-color: #EEEEEE;
    border: 1px solid #0000001A;
    border-radius: 12px;
    width: 100%;
    aspect-ratio: 16/9;
}

.youtube-channel-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding-left: 0;
}

@media (min-width: 992px) {
    .youtube-channel-info {
        padding-left: 2rem;
    }
}

.youtube-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.youtube-icon-wrapper {
    background-color: #C65A3A;
    border-radius: 50%;
    width: 62px;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    flex-shrink: 0;
    position: relative;
}

.youtube-icon-wrapper img {
    color: white;
    width: 25px;
    height: 20px;
}

.youtube-stats {
    display: flex;
    gap: 3rem;
    margin-bottom: 2.5rem;
}

.youtube-stat-item {
    display: flex;
    flex-direction: column;
}

.youtube-thumbnails {
    margin-top: 3rem;
}

.youtube-thumb-item {
    margin-bottom: 2rem;
}

.youtube-thumb-box {
    background-color: #EEEEEE;
    border-radius: 10px;
    width: 100%;
    aspect-ratio: 16/9;
    margin-bottom: 1rem;
    border: 1px solid #0000001A;
}

/***************************
// End YouTube Section
***************************/

/***************************
// Photo Gallery Section
***************************/
.photo-gallery-section {
    background-color: #1C4E6329;
}

.gallery-item {
    display: block;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.gallery-item img {
    width: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0);
    transition: background-color 0.4s ease;
    z-index: 1;
}

.gallery-item:hover .gallery-item-overlay {
    background-color: rgba(0, 0, 0, 0.15);
}

@media (min-width: 992px) {
    .gallery-img-tall {
        height: 350px;
    }

    .gallery-img-short {
        height: 260px;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {

    .gallery-img-tall,
    .gallery-img-short {
        height: 220px;
    }
}

/* Mobilos magasság */
@media (max-width: 767.98px) {

    .gallery-img-tall,
    .gallery-img-short {
        height: 250px;
    }
}

/***************************
// End Photo Gallery Section
***************************/

/***************************
// Kapcsolat Section
***************************/

.kapcsolat-map iframe {
    width: 100%;
    height: 500px;
    display: block;
}

.contact-block {
    margin-bottom: 4rem;
}

.contact-card {
    background-color: #1C4E6329;
    padding: 3rem;
    border-radius: 8px;
    height: 100%;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-info-item:last-child {
    margin-bottom: 0;
}

.contact-icon {
    margin-right: 1.25rem;
    margin-top: 0.25rem;
}

.contact-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.contact-label {
    text-transform: uppercase;
    color: #1C4E6399;
    letter-spacing: 1px;
    margin-bottom: 0.25rem;
}

.contact-value a {
    color: #A13F21;
    text-decoration: none;
}

.contact-value a:hover {
    text-decoration: underline;
}

.opening-hours-container {
    height: 100%;
    display: flex;
    align-items: start;
    padding-left: 2rem;
    padding-top: 2rem;
}

.opening-hours-wrapper {
    border-left: 4px solid #C65A3A;
    padding-left: 3rem;
    width: 100%;
}

.opening-day {
    color: #41484C;
    text-transform: none;
}

.opening-day-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid #C1C7CC4D;
    margin-bottom: 1rem;
}

.opening-day-row:last-of-type {
    border-bottom: none;
    margin-bottom: 1.5rem;
    padding-bottom: 0;
}

.opening-time.closed {
    color: #A13F21;
}

@media (max-width: 991px) {
    .opening-hours-container {
        padding-left: 0;
        margin-top: 2rem;
        align-items: flex-start;
    }

    .opening-hours-wrapper {
        padding-left: 1.5rem;
    }

    .contact-card {
        padding: 2rem;
    }
}

/***************************
// End Kapcsolat Section
***************************/
