/* Globális alapértelmezett betűtípus a teljes frontendhez */
html,
body,
button,
input,
select,
textarea {
    font-family: 'Encode Sans Expanded', Arial, sans-serif;
}

main>.container,
main>.container-fluid {
    padding: 30px 15px 20px;
}

@media(max-width:767px) {

    main>.container,
    main>.container-fluid {
        padding: 30px 0 0 0;
    }
}

.footer {
    background-color: #f5f5f5;
    font-size: .9em;
    height: 60px;
}

.footer>.container,
.footer>.container-fluid {
    padding-right: 15px;
    padding-left: 15px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after,
a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th,
.grid-view td:last-child {
    white-space: nowrap;
}

.grid-view .filters input,
.grid-view .filters select {
    min-width: 50px;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.navbar form>button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

@media(max-width:767px) {
    .navbar form>button.logout {
        display: block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

.navbar form>button.logout:focus,
.navbar form>button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.navbar form>button.logout:focus {
    outline: none;
}

/* style breadcrumb widget as in previous bootstrap versions */
.breadcrumb {
    background-color: var(--bs-gray-200);
    border-radius: .25rem;
    padding: .75rem 1rem;
}

.breadcrumb-item>a {
    text-decoration: none;
}

/* Headings and list items font */
h1,
h2,
h3,
h4,
h5,
h6,
li {
    font-family: "Bungee", arial, sans-serif;
    color: #0f172a;
}

/* Kör alakú scroll jelző gomb (jobb alsó sarok) */
.scroll-progress-btn {
    position: fixed;
    right: 18px;
    bottom: 45px;
    /* bottom: 18px; */
    width: 56px;
    height: 56px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
    z-index: 999;
    transition: transform .2s ease, opacity .2s ease;
    opacity: 0;
    pointer-events: none;
}

.scroll-progress-btn.show {
    opacity: 1;
    pointer-events: auto;
}

.scroll-progress-btn:active {
    transform: scale(0.98);
}

.scroll-progress-btn svg {
    width: 42px;
    height: 42px;
}

/* Külső világosabb zöld kör (track) */
.scroll-progress-track {
    fill: none;
    stroke: #7ad1c2;
    stroke-width: 4;
    opacity: .6;
}

/* Belső keskeny, sötétebb zöld sáv: aktuális pozíció */
.scroll-progress-bar {
    fill: none;
    stroke: #098c80;
    stroke-width: 4;
    stroke-linecap: round;
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
    stroke-dasharray: 138.2;
    /* 2 * PI * r (r=22) */
    stroke-dashoffset: 138.2;
    transition: stroke-dashoffset .1s linear;
}

/* Fel nyíl középen */
.scroll-progress-arrow {
    fill: none;
    stroke: #046c62;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@media (prefers-reduced-motion: reduce) {
    .scroll-progress-btn {
        transition: none;
    }

    .scroll-progress-bar {
        transition: none;
    }
}

.btn-outline-primary-kozter {
    background: #007770;
    color: #ffc82e !important;
    font-size: 15px;
    font-family: 'Bungee';
    border-radius: 20px;
    padding: 0.375rem 1rem;
}

/*hover*/

.btn-outline-primary-kozter:hover {
    background: var(--kozter-light-blue);
    color: #007770!important;
    transition: none !important;
}

.btn:first-child:active:active {
    background: var(--kozter-light-blue);
    color: #007770;
    border: solid 1px;
}

.team-name {
    margin-top: 10px;
}

/* Műsorok bemutató szekció */
.programs-section {
    background-color: var(--kozter-light-blue, #7bd3c7);
    padding: 40px;
    width: 100%;
    margin: 0;
}

.program-card {
    background-color: transparent;
    padding: 20px 40px;
    margin: 0 auto;
}

.program-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.program-logo {
    width: 140px;
    height: 140px;
    object-fit: contain;
}

.program-description {
    text-align: justify;
}

.why-title {
    font-family: "Bungee", arial, sans-serif !important;
    font-size: 18px !important;
    margin-bottom: 20px !important;
    margin-top: 30px !important;
    color: var(--kozter-black) !important;
}

.program-features {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.program-features li {
    font-family: 'Encode Sans Expanded', Arial, sans-serif !important;
    font-size: 16px;
    margin-bottom: 12px;
    position: relative;
    padding-left: 20px;
    line-height: 1.5;
}

.program-features li:before {
    content: "•";
    color: #2d5e58;
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 18px;
}

/* Responsive beállítások */
@media (max-width: 768px) {
    .programs-section {
        padding: 20px;
        min-height: auto;
    }

    .program-card {
        padding: 20px 0px;
    }

    .program-header {
        gap: 15px;
        margin-bottom: 20px;
    }

    .program-logo {
        width: 110px;
        height: 110px;
    }

    .program-title {
        font-size: 22px !important;
        letter-spacing: 1px;
    }

    .program-description {
        font-size: 14px;
        line-height: 1.6;
    }

    .why-title {
        font-size: 16px !important;
    }

    .program-features li {
        font-size: 14px;
        margin-bottom: 10px;
    }
}

.video-section {
    margin-bottom: 80px;
    margin-top: 90px;
}

a {
    color: var(--kozter-black);
}

.sidebar-widget {
    border-bottom: 1px solid #f0b915;
}

.post-content {
    text-align: justify;
    color: var(--kozter-black);
}

/* Közösségi média megosztás gombok */
.social-share-btn {
    background-color: var(--kozter-black);
    border: 1px solid var(--kozter-black) !important;
    color: #ffc82e !important;
    transition: all 0.3s ease;
}

.social-share-btn:hover {
    background-color: var(--kozter-black);
    border: 1px solid var(--kozter-black) !important;
    color: #007770 !important;
}

/* Sticky sidebar */
.sticky-sidebar {
    position: sticky;
    top: 20px;
    z-index: 10;
}

/* Responsive sticky sidebar beállítások */
@media (max-width: 991.98px) {
    .sticky-sidebar {
        position: static;
    }
}

/** ------------------------------------------------------------ */
/** POST STÍLUSOK */
/* ------------------------------------------------------------ */

.sidebar-widget-kozter .badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-weight: 500;
    background-color: var(--kozter-black) !important;
    color: #ffc82e !important;
    border: none;
    text-transform: uppercase;
}

#kozter-post .badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-weight: 500;
    background-color: var(--kozter-black) !important;
    color: #ffc82e !important;
    border: none;
    text-transform: uppercase;
}

#kozter-post .border-top {

    border-top: 1px solid #f0b915 !important;
}

#kozter-post a {
    color: #007770;
    text-decoration: none;
}

#youtube-subscribe-btn {
    background-color: #FF0000;
    border-radius: 4px;
    padding: 0;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.2s ease;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* #kozter-post br {
    display: none !important;
} */

#kozter-post .line-break {
    margin: 5px 0;
    height: 1px;
    display: block;
}

#kozter-post .post-content blockquote {
    margin: 1rem 0;
}

#kozter-post .post-content h2 {
    margin-top: 1.5rem;
}

#kozter-post .post-content h2 a,
#kozter-post .post-content h2 a:hover,
#kozter-post .post-content h2 a:focus {
    color: var(--kozter-black);
}

/* Kapcsolat oldal stílusok */

.kapcsolat-card {
    background: none;
    border: none;
}

.kapcsolat-card .card-body {
    background: #007770;
    border: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    color: var(--kozter-yellow);
    font-family: 'Bungee', Arial, sans-serif;
}

.kapcsolat-card .btn-warning {
    background: var(--kozter-yellow);
    color: var(--kozter-black);
    border: none;
    border-radius: 20px;
}

.kapcsolat-card .btn-warning:hover {
    background: var(--kozter-black);
    color: var(--kozter-yellow);
}

.kapcsolat-card .form-control {
    background-color: var(--kozter-light-blue);
    border-color: #74c9be;
}

.kapcsolat-card .form-control:focus {
    background-color: var(--kozter-light-blue);
    border-color: #74c9be;
    outline: 0;
    box-shadow: 0 0 0 .25rem #74c9be42;
}

.kapcsolat-card .form-control::placeholder {
    color: var(--kozter-black);
}

.kapcsolat-card .form-control:focus::placeholder {
    color: var(--kozter-black);
}

.kapcsolat-card .btn-outline-light {
    background-color: var(--kozter-yellow);
    border-color: var(--kozter-yellow);
    color: var(--kozter-black);
}

.kapcsolat-card #contactform-verifycode-image {
    border-radius: 8px;
}

.kapcsolat-card .help-block {
    font-size: 0.8rem;
    font-family: 'Encode Sans Expanded', Arial, sans-serif;
}

/* kategória oldal stílusok */

.recent-post-layout .badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-weight: 500;
    background-color: var(--kozter-black) !important;
    color: #ffc82e !important;
    border: none;
    text-transform: uppercase;
}

.recent-post-layout .post-card {
    border: solid 1px #00000024;
    border-radius: 8px;
    background: #00000017;
}

.recent-post-layout .post-meta {
    color: var(--kozter-black);
}

.recent-post-layout .post-excerpt {
    color: var(--kozter-black);
}

.recent-post-layout .btn-kozter {
    background: #007770;
    color: var(--kozter-yellow);
    border: none;
    border-radius: 20px;
    font-family: Bungee;
}

.recent-post-layout .btn-kozter:hover {
    background: var(--kozter-light-blue);
    color: #007770;
}

.recent-post-layout .post-title {
    font-size: 1.5rem;
}

/*mobil*/
@media (max-width: 576px) {
    .recent-post-layout .post-title {
        font-size: 1.1rem;
    }

    .recent-post-layout .btn-kozter {
        font-size: 0.8rem;
        padding: 0.5rem;
    }

    .recent-post-layout .badge {
        font-size: 0.6rem;
    }
}

/* ------------------------------------------------------------ */
/* PROGRAM CARDS STÍLUSOK (Műsoraink oldal stílusból átvéve) */
/* ------------------------------------------------------------ */

.program-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.program-card {
    background: #74c9be !important;
    border-radius: 15px;
    padding: 30px !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 0 !important;
    border: none !important;
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.program-card-title {
    color: #0f172a !important;
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 20px;
    border-bottom: 2px solid #007770;
    padding-bottom: 10px;
}

.program-card-text {
    font-size: 16px;
    line-height: 1.7;
    color: #0f172a !important;
    margin: 0;
}

/* Responsive beállítások program-cards-hoz */
@media (max-width: 991.98px) {
    .program-cards {
        gap: 20px;
    }
    
    .program-card {
        padding: 25px !important;
    }
    
    .program-card-title {
        font-size: 16px;
    }
}

@media (max-width: 767.98px) {
    .program-card {
        padding: 20px !important;
    }
    
    .program-card-title {
        font-size: 15px;
    }
    
    .program-card-text {
        font-size: 14px;
    }
}

/* pagination stílusok */

.pagination {
    --bs-pagination-color: #0f172a;
    --bs-pagination-bg: #ffc82e;
    --bs-pagination-border-color: #ffc82e;
    --bs-pagination-active-color: #ffc82e;
    --bs-pagination-active-bg: #007770;
    --bs-pagination-active-border-color: #007770;
    --bs-pagination-disabled-bg: #f1ba16;
    --bs-pagination-disabled-border-color: #f2ba17;
    --bs-pagination-hover-bg: #74c9be;
    --bs-pagination-focus-bg: #74c9be;
    --bs-pagination-hover-border-color: #74c9be;
    --bs-pagination-hover-color: #007770;
    --bs-pagination-focus-box-shadow: none;
    --bs-pagination-focus-color: #007770;
}

/*mobil footer stílusok */

@media (max-width: 576px) {
    .footer-mobile {
        gap: 2rem!important;
    }

    .footer-mobile img {
        height: 70px!important;
    }

}

/* Webshop termék képek hover effekt */
.product-image-container {
    height: 300px;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: opacity 0.3s ease;
    top: 0;
    left: 0;
}

.product-image-hover {
    opacity: 0;
}

.product-image-container:hover .product-image-main {
    opacity: 0;
}

.product-image-container:hover .product-image-hover {
    opacity: 1;
}

/* Webshop card-body alsó sarkok lekerekítése */
.tovabbi-termekek .card-body {
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}