/* ======================================
   RH DENTAL - FEJLÉC
====================================== */

.navbar-brand {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 12px;
    flex-wrap: nowrap !important;
}

.brand-logo {
    display: flex !important;
    align-items: center !important;
}

.brand-logo::after {
    content: "R.H. Dental Bt.";
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-left: 12px;
    white-space: nowrap;
}

.site-description {
    margin: 0 !important;
    color: #f7c948 !important;
    font-style: italic;
    font-size: 0.9rem;
    font-weight: 300;
    white-space: nowrap;
}


/* ======================================
   RH DENTAL - KÖZÖS DOBOZOK
====================================== */

.rh-intro-box,
.rh-fullintro-box,
.rh-box {
    background: #ffffff;
    border: 1px solid #d6d6d6;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.rh-intro-box {
    max-width: 1350px;
    margin: 20px auto 40px auto;
    padding: 30px;
}

.rh-fullintro-box {
    max-width: 90%;
    margin: 20px auto 40px auto;
    padding: 30px;
}

.rh-intro-box h1,
.rh-fullintro-box h1 {
    margin-top: 0;
    color: #1d2f6f;
}

.rh-intro-box strong,
.rh-fullintro-box strong {
    display: block;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #e5e5e5;
}


/* ======================================
   RH DENTAL - KÁRTYÁS BLOKKOK
====================================== */

.rh-services {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 40px auto;
    max-width: 1400px;
    flex-wrap: wrap;
}

.rh-box {
    flex: 1;
    min-width: 280px;
    max-width: 420px;
    padding: 25px;
}

.rh-box h4 {
    text-align: center;
    margin-bottom: 20px;
    color: #1d2f6f;
}

.rh-box ul {
    margin: 0;
    padding-left: 20px;
}

.rh-box li {
    margin-bottom: 8px;
}

.rh-box p {
    margin: 0;
    line-height: 1.8;
}


/* ======================================
   RH DENTAL - BLOG / KÁRTYÁS KATEGÓRIA
====================================== */

.com-content-category-blog .blog-items,
.com-content-category .blog-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 30px;
}

.com-content-category-blog .blog-item,
.com-content-category .blog-item {
    background: #ffffff;
    border: 1px solid #d6d6d6;
    border-radius: 10px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.com-content-category-blog .blog-item h2,
.com-content-category .blog-item h2 {
    color: #1d2f6f;
    font-size: 1.4rem;
    margin-top: 0;
}

.com-content-category-blog .blog-item h2 a,
.com-content-category .blog-item h2 a {
    color: #1d2f6f;
    text-decoration: none;
}

.com-content-category-blog .blog-item h2 a:hover,
.com-content-category .blog-item h2 a:hover {
    text-decoration: underline;
}


/* ======================================
   RH DENTAL - RENDELŐK / KATEGÓRIALISTA
====================================== */

.com-content-category table.category {
    max-width: 900px;
    margin: 30px auto;
    background: #ffffff;
    border: 1px solid #d6d6d6;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.com-content-category table.category th {
    background: #ffffff;
    color: #1d2f6f;
    padding: 14px 16px;
    text-align: center;
    font-size: 1.15rem;
    border-bottom: 1px solid #d6d6d6;
}

.com-content-category table.category th a {
    color: #1d2f6f !important;
    text-decoration: none;
}

.com-content-category table.category td {
    padding: 14px 16px;
    vertical-align: middle;
    border-bottom: 1px solid #eeeeee;
}

.com-content-category table.category tr:last-child td {
    border-bottom: none;
}

.com-content-category table.category td a {
    font-weight: 600;
    color: #1d2f6f;
    text-decoration: none;
}

.com-content-category table.category td a:hover {
    text-decoration: underline;
}

.com-content-category table.category tr:nth-child(even) {
    background: #f7f8fc;
}


/* ======================================
   RH DENTAL - KATEGÓRIALISTA OSZLOPOK
   Szerző és találatok elrejtése
====================================== */

.com-content-category table.category th:nth-child(2),
.com-content-category table.category td:nth-child(2),
.com-content-category table.category th:nth-child(3),
.com-content-category table.category td:nth-child(3),
.com-content-category table.category .list-author,
.com-content-category table.category .list-hits {
    display: none !important;
}

.com-content-category table.category th:first-child,
.com-content-category table.category td:first-child {
    width: 100% !important;
}


/* ======================================
   RH DENTAL - MOBIL NÉZET
====================================== */

@media (max-width: 768px) {
    .navbar-brand {
        flex-wrap: wrap !important;
        gap: 8px;
    }

    .brand-logo::after {
        font-size: 1rem;
    }

    .site-description {
        white-space: normal;
        font-size: 0.85rem;
    }

    .rh-intro-box,
    .rh-fullintro-box {
        padding: 20px;
        margin: 15px auto 25px auto;
    }

    .rh-services {
        gap: 20px;
        margin: 25px auto;
    }

    .rh-box {
        min-width: 100%;
        max-width: 100%;
    }

    .com-content-category table.category {
        max-width: 100%;
    }
}

/*menü formázás mobilhoz is*/
@media (max-width: 991.98px) {
    .container-header .navbar-toggler {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
    }

    .container-header .navbar-collapse {
        width: 100%;
        margin-top: 12px;
    }

    .container-header .navbar-collapse.show {
        display: block;
    }

    .container-header .mod-menu {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        width: 100%;
    }

    .container-header .mod-menu > li {
        width: 100%;
    }

    .container-header .mod-menu > li > a,
    .container-header .mod-menu > li > button,
    .container-header .mod-menu > li > .nav-header {
        display: block;
        width: 100%;
        padding: 10px 14px;
        text-align: left;
    }

    .container-header .mod-menu .dropdown-menu {
        position: static;
        float: none;
        width: 100%;
        margin-top: 6px;
        box-shadow: none;
    }
}

/* mobilmenü */
.rh-mobile-menu-wrap .rh-mobile-menu-toggle {
    display: none !important;
}

@media (min-width: 992px) {
    .rh-mobile-menu-wrap .rh-mobile-menu-toggle {
        display: none !important;
    }

    .rh-mobile-menu-wrap .rh-main-menu {
        display: block !important;
    }
}

@media (max-width: 991.98px) {
    .rh-mobile-menu-wrap .rh-mobile-menu-toggle {
        display: block !important;
        width: 100%;
        padding: 12px 14px;
        border: 1px solid rgba(255,255,255,0.22);
        border-radius: 12px;
        background: #2d356f;
        color: #fff;
        font-weight: 700;
        text-align: left;
        cursor: pointer;
        margin-top: 10px;
    }

    .rh-mobile-menu-wrap .rh-main-menu {
        display: none !important;
        width: 100%;
        margin-top: 10px;
    }

    .rh-mobile-menu-wrap .rh-main-menu.is-open {
        display: block !important;
    }

    .rh-mobile-menu-wrap .rh-main-menu .mod-menu {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        width: 100%;
    }

    .rh-mobile-menu-wrap .rh-main-menu .mod-menu > li {
        width: 100%;
    }

    .rh-mobile-menu-wrap .rh-main-menu .mod-menu > li > a,
    .rh-mobile-menu-wrap .rh-main-menu .mod-menu > li > button,
    .rh-mobile-menu-wrap .rh-main-menu .mod-menu > li > .nav-header {
        display: block;
        width: 100%;
        padding: 10px 12px;
        text-align: left;
    }

    .rh-mobile-menu-wrap .rh-main-menu .mod-menu .dropdown-menu {
        position: static;
        display: block;
        width: 100%;
        margin-top: 6px;
        box-shadow: none;
        border: 0;
        background: transparent;
    }
}