/* Doplnky – realizácie, certifikáty, cookie lišta, prístupnosť */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
p.h4.heading_with_border, h2.h4.heading_with_border { margin-top: 0; }
.about_service_discount p.h1 { margin-top: 0; }
.service_details_contact p.h2 { margin: 0; }
.breadcrumb_section .breadcrumb { margin-bottom: 20px; }
.page-intro p { font-size: 18px; color: #87868a; margin-bottom: 50px; }

/* Rich text z editora */
.rich-text h2 { font-size: 30px; font-weight: 600; margin: 35px 0 20px; }
.rich-text h3 { font-size: 24px; font-weight: 600; margin: 30px 0 15px; }
.rich-text ul, .rich-text ol { margin: 0 0 20px 20px; padding-left: 20px; color: #87868a; font-size: 16px; line-height: 1.7; }
.rich-text ul { list-style: disc; }
.rich-text ol { list-style: decimal; }
.rich-text a { color: #09aeb8; text-decoration: underline; }
.rich-text blockquote { border-left: 4px solid #ffd763; padding: 5px 20px; margin: 0 0 20px; color: #38373c; }
.about_style_3_details.rich-text p { text-align: justify; }

/* Karty realizácií */
.real-grid { margin-bottom: 30px; }
.real-grid > div { margin-bottom: 30px; }
@media (min-width: 768px) {
	.real-grid { display: flex; flex-wrap: wrap; }
	.real-grid > div { display: flex; }
}
.real-card { background: #fff; box-shadow: 0 5px 25px rgba(0,0,0,.07); border-radius: 4px; overflow: hidden; width: 100%; transition: transform .2s, box-shadow .2s; }
.real-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,.12); }
.real-card-img { display: block; position: relative; aspect-ratio: 4 / 3; background: #f1f1f1; overflow: hidden; }
.real-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.real-card:hover .real-card-img img { transform: scale(1.04); }
.real-card-count { position: absolute; right: 12px; bottom: 12px; background: rgba(56,55,60,.8); color: #fff; font-size: 13px; padding: 3px 10px; border-radius: 20px; }
.real-card-body { padding: 22px 24px 10px; }
.real-card-body h3 { font-size: 21px; font-weight: 600; line-height: 1.3; margin: 0 0 10px; }
.real-card-body h3 a { color: #38373c; }
.real-card-body h3 a:hover { color: #09aeb8; }
.real-card-body p { color: #87868a; font-size: 15px; margin-bottom: 12px; }
.real-card-meta { font-size: 14px !important; }
.real-card-meta i { color: #09aeb8; margin-right: 3px; }
.real-card-meta time { margin-left: 10px; }
.home-realizations .hero-section-title { margin-bottom: 50px; }
.real-detail-meta span { display: inline-block; margin: 0 12px 15px; color: #87868a; font-size: 17px; }
.real-detail-meta i { color: #09aeb8; margin-right: 5px; }
.real-detail .lead { font-size: 20px; color: #38373c; margin-bottom: 30px; }
.real-detail #grid { margin-top: 30px; }
.real-back { margin: 50px 0 40px; }

/* Certifikáty */
.cert-grid > div { margin-bottom: 30px; }
@media (min-width: 768px) {
	.cert-grid { display: flex; flex-wrap: wrap; }
	.cert-grid > div { display: flex; }
}
.cert-card { background: #fff; box-shadow: 0 5px 25px rgba(0,0,0,.07); border-radius: 4px; overflow: hidden; width: 100%; }
.cert-card-img { display: flex; align-items: center; justify-content: center; background: #f6f7f8; aspect-ratio: 3 / 4; max-height: 420px; padding: 20px; }
.cert-card-img img { max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: 0 3px 15px rgba(0,0,0,.12); }
.cert-card-pdf i { font-size: 90px; color: #d9534f; }
.cert-card-body { padding: 22px 24px; }
.cert-card-body h2 { font-size: 21px; font-weight: 600; line-height: 1.3; margin: 0 0 10px; }
.cert-card-body p { color: #87868a; font-size: 15px; margin-bottom: 10px; }
.cert-meta { font-size: 14px !important; }
.cert-pdf-link { color: #09aeb8; font-weight: 600; }
.cert-pdf-link i { color: #d9534f; margin-right: 4px; }

.home-certificates { background: #f6f7f8; }
.home-certificates p { color: #87868a; font-size: 16px; margin-bottom: 30px; }
.cert-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 20px; }
.cert-strip-item { display: block; text-align: center; color: #38373c; }
.cert-strip-item img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; box-shadow: 0 5px 20px rgba(0,0,0,.1); background: #fff; margin-bottom: 10px; }
.cert-strip-item .cert-pdf { display: flex; align-items: center; justify-content: center; aspect-ratio: 3 / 4; background: #fff; font-size: 60px; color: #d9534f; margin-bottom: 10px; box-shadow: 0 5px 20px rgba(0,0,0,.1); }
.cert-strip-item span { font-size: 14px; line-height: 1.3; display: block; }
@media (max-width: 991px) { .cert-strip { margin-top: 30px; } }

/* Kontakt */
.contact_details address { font-style: normal; }
.opening-hours { margin-top: 25px; color: #87868a; }
.opening-hours i { color: #09aeb8; margin-right: 6px; }
.contact-map { margin-top: 60px; }
.contact-map iframe { display: block; }

/* Cookie lišta */
.cookie-bar { position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 9999; max-width: 600px; background: #38373c; color: #fff; padding: 20px 24px; border-radius: 6px; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.cookie-bar[hidden], .cookie-modal[hidden] { display: none; }
.cookie-bar p { color: #fff; margin: 0 0 12px; font-size: 15px; line-height: 1.5; }
.cookie-bar a { color: #fff; text-decoration: underline; }
.cookie-bar-title { font-size: 18px !important; font-weight: 700; margin-bottom: 6px !important; }
.cookie-bar-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 6px; }
.cookie-btn { background: #09aeb8; color: #fff; border: 0; padding: 10px 20px; font-weight: 600; cursor: pointer; border-radius: 3px; flex: 1 1 auto; }
.cookie-btn:hover, .cookie-btn:focus { background: #078c94; }
.cookie-link, .link-button { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; cursor: pointer; font: inherit; }
.cookie-bar .cookie-link { color: #fff; padding: 10px 6px; }
.cookie-modal { position: fixed; inset: 0; z-index: 10000; background: rgba(0,0,0,.55); display: flex; align-items: center; justify-content: center; padding: 16px; }
.cookie-modal-box { position: relative; background: #fff; color: #38373c; width: 100%; max-width: 560px; max-height: calc(100vh - 32px); overflow-y: auto; padding: 26px 24px 18px; border-radius: 6px; }
.cookie-modal-box p { font-size: 14px; line-height: 1.5; margin: 0 0 10px; color: #6b6a70; }
.cookie-modal-box .cookie-bar-title { color: #38373c; }
.cookie-close { position: absolute; top: 8px; right: 12px; background: none; border: 0; font-size: 28px; line-height: 1; cursor: pointer; color: #6b6a70; }
.cookie-cat { border-top: 1px solid #e6e6e8; padding: 12px 0 2px; }
.cookie-cat label { display: flex; justify-content: space-between; align-items: center; margin: 0 0 4px; cursor: pointer; font-weight: 600; color: #38373c; }
.cookie-cat input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cookie-switch { width: 42px; height: 24px; border-radius: 12px; background: #c9c9ce; position: relative; flex: none; transition: background .2s; }
.cookie-switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: left .2s; }
.cookie-cat input:checked + .cookie-switch { background: #09aeb8; }
.cookie-cat input:checked + .cookie-switch::after { left: 21px; }
.cookie-cat input:disabled + .cookie-switch { opacity: .6; }
.cookie-cat input:focus-visible + .cookie-switch { outline: 2px solid #38373c; outline-offset: 2px; }
.cookie-more { margin-top: 12px !important; text-align: center; }
.footer-legal { display: inline-block; margin-left: 12px; }
.footer-legal a, .footer-legal .link-button { color: inherit; margin-right: 12px; font-size: inherit; }
/* GDPR */
.gdpr-consent { margin: 4px 0 18px; }
.gdpr-consent label { display: flex; gap: 10px; align-items: flex-start; font-weight: normal; font-size: 14px; line-height: 1.5; cursor: pointer; color: #6b6a70; }
.gdpr-consent input { margin-top: 3px; width: 18px; height: 18px; flex: none; }
.gdpr-consent a { text-decoration: underline; }
.gdpr-consent.is-invalid label { color: #c0392b; }
.privacy-text h2 { font-size: 24px; margin: 36px 0 14px; }
.privacy-text h3 { font-size: 19px; margin: 26px 0 10px; }
.privacy-text p, .privacy-text li { font-size: 16px; line-height: 1.7; color: #55545a; }
.privacy-text ul { padding-left: 22px; margin-bottom: 16px; }
.privacy-text ul li { list-style: disc; margin-bottom: 6px; }
.privacy-text a { text-decoration: underline; }
.privacy-cookie-btn { margin-top: 30px; }
.privacy-cookie-btn .btn-yellow { border: 0; cursor: pointer; }
.map-consent { background: #f1f2f4; min-height: 260px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 30px 20px; margin-top: 40px; }
.map-consent .btn-yellow { border: 0; cursor: pointer; margin: 6px 0 10px; }
@media (max-width: 575px) {
	.cookie-bar { left: 10px; right: 10px; bottom: 10px; padding: 16px; }
	.footer-legal { display: block; margin: 6px 0 0; }
}

/* Menu – 7 položiek (pribudli Certifikáty) */
@media (min-width: 992px) {
	.main_menu_area .nav.navbar-nav.main_nav_2 > li > a { padding-left: 18px; padding-right: 18px; }
}
@media (min-width: 992px) and (max-width: 1399px) {
	.main_menu_area .nav.navbar-nav.main_nav_2 > li > a { padding-left: 11px; padding-right: 11px; font-size: 16px; }
}
@media (min-width: 992px) and (max-width: 1199px) {
	.main_menu_area .nav.navbar-nav.main_nav_2 > li > a { padding-left: 7px; padding-right: 7px; font-size: 15px; }
}

@media (min-width: 768px) { .real-grid, .cert-grid { justify-content: center; } }

/* Galéria realizácie – zachovať pomer strán (img má width/height atribúty) */
#posts .post img { height: auto; max-width: 100%; }
