/*
Theme Name: Tagungshotels Online
Theme URI: https://www.tagungshotels-online.de/blog/
Author: Tagungshotels online
Description: Das Blog im gemeinsamen Layout von tagungshotels-online.de: responsive Navigation, Hotelsuche und identischer Website-Footer.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: tgh-online
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/* Bootstrap is the same local stylesheet used by /home. Only the website's
   relevant visual rules are carried over, avoiding its old fixed-width IDs. */
body.tgh-blog { background: #fff; color: #212529; }
.tgh-blog a { color: #0066cc; }
.tgh-blog a:hover { color: #004c99; }
.tgh-blog :focus-visible { outline: 3px solid #2a6ba0; outline-offset: 3px; }
.tgh-site-header { padding: 16px 0; }
.tgh-brand { position: relative; width: 429px; max-width: 100%; }
.tgh-brand img { display: block; max-width: 100%; height: auto; }
.tgh-slogan { position: absolute; left: 174px; top: 46px; color: #668bb2; font-size: 10px; font-weight: 700; white-space: nowrap; }
.tgh-slogan span { color: #cd0b33; font-size: 12px; font-style: italic; }
.tgh-red-rule { height: 24px; background: #db031a; }
.tgh-site-nav { border-bottom: 1px solid #dee2e6; }
.tgh-site-nav .navbar-nav { flex-wrap: wrap; }
.tgh-site-nav .navbar-collapse { display: block; }
.tgh-site-nav a.nav-link { color: rgba(0, 0, 0, .5); }
.tgh-site-nav a.nav-link:hover { color: rgba(0, 0, 0, .7); }
.tgh-site-nav.navbar-light .navbar-nav a.nav-link.active { color: #0066cc; }
.tgh-site-nav.navbar-light .navbar-nav a.tgh-hotels-link { color: #000; white-space: nowrap; }
.tgh-menu-toggle { display: none; }
.tgh-menu-label { font-size: 16px; margin-left: 8px; vertical-align: middle; }
.tgh-breadcrumb { padding: 8px 0; font-size: .7em; color: #666; overflow-wrap: anywhere; }
.tgh-layout { display: grid; grid-template-columns: calc((100% - 90px) / 4) minmax(0, 1fr); gap: 30px; align-items: start; }
.tgh-main, .tgh-sidebar { min-width: 0; }
.tgh-main { overflow-wrap: anywhere; }
.tgh-page-header { margin-bottom: 24px; }
.tgh-page-header h1 { color: #0066cc; font-size: 20px; font-weight: 500; line-height: 1.4; margin: 0 0 8px; }
.tgh-page-header p { color: #666; margin: 0; }
.tgh-post { padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px solid #dee2e6; }
.tgh-post-title { color: #0066cc; font-size: 1.4rem; line-height: 1.3; font-weight: 500; margin: 0 0 8px; }
.tgh-post-title a:hover { text-decoration: underline; }
.tgh-post-meta { color: #666; font-size: .8125rem; margin-bottom: 16px; }
.tgh-post-meta a { color: #666; }
.tgh-post-footer { color: #666; font-size: .8125rem; margin-top: 20px; }
.entry-content { line-height: 1.6; }
.entry-content::after { display: block; clear: both; content: ''; }
.entry-content p { margin-bottom: 16px; }
.entry-content h2 { color: #0066cc; font-size: 1.4rem; margin: 24px 0 12px; }
.entry-content h3 { font-size: 1.2rem; margin: 20px 0 12px; }
.entry-content h4, .entry-content h5, .entry-content h6 { font-size: 1rem; margin: 20px 0 12px; }
.entry-content img, .entry-content video { max-width: 100%; height: auto; }
.entry-content iframe, .entry-content embed, .entry-content object { max-width: 100%; }
.entry-content figure, .entry-content .wp-caption { max-width: 100%; margin-bottom: 20px; }
.entry-content figure img { display: block; }
.entry-content figcaption, .entry-content .wp-caption-text { color: #666; font-size: .8125rem; line-height: 1.5; margin-top: 8px; }
.entry-content .alignleft { float: left; margin: 4px 20px 16px 0; }
.entry-content .alignright { float: right; margin: 4px 0 16px 20px; }
.entry-content .aligncenter { display: block; margin-left: auto; margin-right: auto; }
.entry-content blockquote { border-left: 3px solid #2a6ba0; margin: 20px 0; padding-left: 20px; color: #555; }
.entry-content pre { white-space: pre-wrap; overflow-wrap: anywhere; padding: 16px; background: #f8f9fa; }
.entry-content table { max-width: 100%; display: block; overflow-x: auto; }
.entry-content td, .entry-content th { border: 1px solid #dee2e6; padding: 8px; }
.entry-content .gallery { display: flex; flex-wrap: wrap; gap: 16px; }
.entry-content .gallery-item { flex: 1 1 180px; max-width: 100%; text-align: center; }
.entry-content .gallery-item img { border: 0 !important; }
.entry-content .more-link { display: inline-block; font-weight: 500; margin-top: 8px; }
.tgh-card, .tgh-widget { border: 1px solid rgba(0, 0, 0, .125); border-radius: 4px; margin: 0 0 24px; overflow: hidden; }
.tgh-card-title, .tgh-widget .widget-title { margin: 0; padding: 12px 20px; color: #fff; background: #2a6ba0; font-size: 16px; line-height: 20px; font-weight: 400; }
.tgh-hotel-search .tgh-card-title { background: #ca332c; }
.tgh-card-body { padding: 20px; }
.tgh-form-field { margin-bottom: 16px; }
.tgh-sidebar label { font-size: .875rem; }
.tgh-sidebar input:not([type=checkbox]):not([type=radio]), .tgh-sidebar select { width: 100%; min-width: 0; }
.tgh-sidebar input[type=search], .tgh-sidebar input[type=text], .tgh-sidebar select,
.comment-form input:not([type=checkbox]):not([type=submit]), .comment-form textarea,
.post-password-form input[type=password] { display: block; padding: 6px 12px; min-height: 38px; border: 1px solid #ced4da; border-radius: 4px; background: #fff; color: #495057; font: inherit; max-width: 100%; }
.tgh-blog .btn-primary, .tgh-blog input[type=submit], .tgh-blog button[type=submit] { background: #007bff; border: 1px solid #007bff; color: #fff; border-radius: 4px; padding: 6px 12px; min-height: 38px; cursor: pointer; font: inherit; }
.tgh-blog .btn-primary:hover, .tgh-blog input[type=submit]:hover, .tgh-blog button[type=submit]:hover { background: #0069d9; border-color: #0062cc; }
.tgh-sidebar button[type=submit] { width: 100%; }
.tgh-service-card { display: block; margin: 0 0 24px; }
.tgh-service-card img { display: block; width: 100%; height: auto; }
.tgh-widget ul, .tgh-widget ol { list-style: none; padding: 16px 20px; margin: 0; }
.tgh-widget ul ul, .tgh-widget ol ol { padding: 8px 0 0 12px; }
.tgh-widget li { font-size: .875rem; line-height: 1.5; margin-bottom: 10px; }
.tgh-widget li:last-child { margin-bottom: 0; }
.tgh-widget > select, .tgh-widget > label { margin: 16px 20px; max-width: calc(100% - 40px); }
.tgh-widget > label + select { margin-top: 0; }
.tgh-widget .search-form, .tgh-widget .tgh-search-form { padding: 20px; }
.tgh-widget .textwidget, .tgh-widget .calendar_wrap, .tgh-widget .wp-block-group { padding: 20px; }
.tgh-widget .wp-block-group .wp-block-group { padding: 0; }
.tgh-search-form label, .search-form label { display: block; margin-bottom: 12px; }
.tgh-search-form input[type=search], .search-form input[type=search] { width: 100%; }
.tgh-search-form button, .search-form button { margin-top: 12px; }
.tgh-pagination { margin: 24px 0 40px; }
.tgh-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.tgh-pagination .page-numbers { display: inline-block; border: 1px solid #dee2e6; padding: 6px 12px; border-radius: 4px; }
.tgh-pagination .page-numbers.current { background: #2a6ba0; border-color: #2a6ba0; color: #fff; }
.tgh-post-navigation { margin-bottom: 32px; }
.tgh-post-navigation .nav-links { display: flex; justify-content: space-between; gap: 24px; }
.tgh-post-navigation .nav-previous, .tgh-post-navigation .nav-next { max-width: 48%; }
.tgh-post-navigation .nav-next { text-align: right; }
.tgh-nav-label { display: block; color: #666; font-size: .8125rem; margin-bottom: 4px; }
.tgh-nav-title { display: block; }
.tgh-content-pagination { clear: both; margin: 16px 0; }
.tgh-content-pagination .page-number { display: inline-block; padding: 4px 8px; border: 1px solid #dee2e6; border-radius: 4px; }
.tgh-comments { border-top: 1px solid #dee2e6; padding-top: 24px; }
.tgh-comments h2, .tgh-comments h3 { color: #0066cc; font-size: 1.4rem; margin-bottom: 20px; }
.comment-list { list-style: none; padding: 0; }
.comment-list .children { list-style: none; padding-left: 24px; }
.comment-body { margin-bottom: 24px; }
.comment-author .avatar { border-radius: 50%; margin-right: 8px; }
.comment-metadata { font-size: .8125rem; margin: 8px 0; }
.comment-form label { display: block; }
.comment-form textarea { width: 100%; }
.comment-form-cookies-consent label { display: inline; margin-left: 8px; }
.tgh-site-footer { clear: both; margin-top: 32px; }
.tgh-hotel-footer { background: #5a5a5a; color: #fff; padding: 20px; }
.tgh-hotel-footer ul { list-style: none; line-height: 20px; padding-left: 40px; }
.tgh-hotel-footer a, .tgh-hotel-footer a:hover { color: #fff; }
.tgh-hotel-footer address { margin-bottom: 0; font-style: normal; overflow-wrap: anywhere; }
.tgh-copyright { font-size: .7em; text-align: center; margin-top: 8px; }
.screen-reader-text, .tgh-skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.tgh-skip-link:focus { position: fixed; left: 16px; top: 16px; z-index: 100001; padding: 12px 20px; background: #fff; border: 2px solid #0066cc; }
@media (max-width: 991.98px) {
    .tgh-js .tgh-menu-toggle { display: block; }
    .tgh-js .tgh-site-nav .navbar-collapse:not(.show) { display: none; }
    .tgh-site-nav .navbar-collapse { flex-basis: 100%; }
    .tgh-site-nav .nav-link { padding: 10px 0; }
    .tgh-layout { grid-template-columns: 220px minmax(0, 1fr); gap: 24px; }
    .tgh-hotel-footer ul { padding-left: 0; }
}
@media (max-width: 767.98px) {
    .tgh-layout { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .tgh-main { grid-row: 1; }
    .tgh-sidebar { grid-row: 2; }
    .tgh-post-title { font-size: 1.3rem; }
    .tgh-post-navigation .nav-links { flex-direction: column; gap: 16px; }
    .tgh-post-navigation .nav-previous, .tgh-post-navigation .nav-next { max-width: 100%; text-align: left; }
    .entry-content .alignleft, .entry-content .alignright { float: none; margin-left: 0; margin-right: 0; }
    .tgh-hotel-footer .col-md-4 + .col-md-4 { margin-top: 16px; }
    .tgh-service-card img { max-width: 270px; margin: 0 auto; }
}
@media (max-width: 575.98px) {
    .tgh-slogan { position: static; font-size: 8px; text-align: right; white-space: normal; }
    .tgh-slogan span { font-size: 10px; }
    .tgh-site-header { padding-bottom: 12px; }
}
@media print {
    .tgh-site-nav, .tgh-sidebar, .tgh-post-navigation, .tgh-pagination, .tgh-comments, .tgh-skip-link { display: none; }
    .tgh-layout { display: block; }
    .tgh-site { max-width: none; }
    .tgh-hotel-footer { background: #fff; color: #000; }
    .tgh-hotel-footer a { color: #000; }
    .entry-content a { text-decoration: underline; }
}
