/*
Theme Name: Pstruháreň
Theme URI: https://pstruharen.sk/
Author: Pstruháreň Kolačkov
Description: Minimálna vlastná téma pre pstruharen.sk. Dodáva len obal stránky a základné štýly; hlavička, pätička a dizajn prichádzajú z blokov „PK global" (WPCode snippet). Nahrádza OceanWP, zachováva jej značky a háčiky, ktoré web používa.
Version: 1.0.5
Requires at least: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pstruharen
Update URI: false
*/

/* Základné štýly. Výber pravidiel z OceanWP 4.1.5 (GPL-2.0-or-later), ktoré web reálne používa:
   168 z 1501 pravidiel, overené na všetkých stránkach a článkoch 15. 11. 2026. */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { margin: 0px; padding: 0px; border: 0px; outline: 0px; font-variant: inherit; font-stretch: inherit; line-height: inherit; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; font-language-override: inherit; vertical-align: baseline; font-family: inherit; font-size: 100%; font-style: inherit; font-weight: inherit; }
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; }
html { font-size: 62.5%; overflow-y: scroll; text-size-adjust: 100%; }
*, ::before, ::after { box-sizing: border-box; }
article, aside, details, figcaption, figure, footer, header, main, nav, section { display: block; }
table { border-collapse: collapse; border-spacing: 0px; }
caption, th, td { font-weight: normal; text-align: left; }
blockquote::before, blockquote::after, q::before, q::after { content: none; }
blockquote, q { quotes: none; }
a:focus { outline: solid 1px !important; }
a:hover, a:active { outline: 0px; }
a img { border: 0px; }
img { max-width: 100%; height: auto; }
select { max-width: 100%; }
em { font-style: italic; }
* html { font-size: 87.5%; }
html { overflow-x: hidden; }
body { font-family: "Open Sans", sans-serif; font-size: 14px; line-height: 1.8; color: rgb(74, 74, 74); overflow-wrap: break-word; }
body { background-color: rgb(255, 255, 255); }
dfn, cite, em, i { font-style: italic; }
.screen-reader-text { border: 0px; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; font-weight: 400; overflow: hidden; padding: 0px; width: 1px; font-size: 14px !important; position: absolute !important; overflow-wrap: normal !important; }
.screen-reader-text:focus { background-color: rgb(241, 241, 241); border-radius: 3px; box-shadow: rgba(0, 0, 0, 0.6) 0px 0px 2px 2px; clip-path: none; color: rgb(33, 117, 155); display: block; font-size: 0.875rem; font-weight: bold; height: auto; left: 5px; line-height: normal; padding: 15px 23px 14px; text-decoration: none; top: 5px; width: auto; z-index: 100000; clip: auto !important; }
::selection { color: rgb(255, 255, 255); background: rgb(51, 51, 51); text-shadow: none; }
html { font-family: sans-serif; text-size-adjust: 100%; }
body { margin: 0px; }
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary { display: block; }
audio, canvas, progress, video { display: inline-block; vertical-align: baseline; }
[hidden], template { display: none; }
a { background-color: rgba(0, 0, 0, 0); }
a:active, a:hover { outline: 0px; }
b, strong { font-weight: 600; }
dfn { font-style: italic; }
mark { background: rgb(255, 255, 0); color: rgb(0, 0, 0); }
small { font-size: 80%; }
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }
img { border: 0px; }
svg:not(:root) { overflow: hidden; }
hr { box-sizing: content-box; height: 0px; }
pre { overflow: auto; }
code, kbd, pre, samp { font-family: monospace, monospace; font-size: 1em; }
button, input, optgroup, select, textarea { color: inherit; font: inherit; margin: 0px; }
button { overflow: visible; }
button, select { text-transform: none; }
button, html input[type="button"], input[type="reset"], input[type="submit"] { appearance: button; cursor: pointer; }
input { line-height: normal; }
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; padding: 0px; }
input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration { appearance: none; }
fieldset { border: 1px solid silver; margin: 0px 2px; padding: 0.35em 0.625em 0.75em; }
legend { border: 0px; padding: 0px; }
textarea { overflow: auto; }
optgroup { font-weight: bold; }
table { border-collapse: collapse; border-spacing: 0px; }
td, th { padding: 0px; }
.container { width: 1200px; max-width: 90%; margin: 0px auto; }
#wrap { position: relative; }
#main { position: relative; }
#main #content-wrap { padding-top: 50px; padding-bottom: 50px; }
.no-margins #main #content-wrap, .no-margins.separate-layout #main #content-wrap, .landing-page #main #content-wrap { padding-top: 0px; padding-bottom: 0px; }
.content-area { float: left; position: relative; width: 72%; padding-right: 30px; border-right: 1px solid rgb(241, 241, 241); border-top-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(241, 241, 241); border-bottom-color: rgb(241, 241, 241); border-left-color: rgb(241, 241, 241); }
.content-full-width .content-area, body.content-full-screen #content-wrap { width: 100% !important; max-width: none !important; padding: 0px !important; border: 0px !important; }
@media only screen and (max-width: 959px) {
  .container, body.content-full-screen .elementor-section-wrap > .elementor-section.elementor-section-boxed > .elementor-container { max-width: 90%; }
  .content-area, .content-left-sidebar .content-area { width: 100%; margin-bottom: 40px; border: 0px; float: none !important; }
  body:not(.separate-layout) .content-area, .content-left-sidebar:not(.separate-layout) .content-area { padding: 0px !important; }
  #main #content-wrap.container { width: auto !important; }
}
@media only screen and (max-width: 767px) {
  #wrap { width: 100% !important; }
}
figure > img { display: block; margin: 0px auto; }
img { max-width: 100%; height: auto; vertical-align: middle; }
img[class*="align"], img[class*="attachment-"] { height: auto; }
details > summary { display: list-item; }
embed, iframe, object { width: 100%; max-width: 100%; }
.page .entry .alignwide { margin-left: -3%; width: 106%; max-width: 106%; }
table { width: 100%; margin-bottom: 2.618em; }
table th, table td { padding: 10px; text-align: left; vertical-align: top; border-bottom: 1px solid rgb(233, 233, 233); }
table th { text-transform: uppercase; }
.col::after, .clr::after, .group::after, dl::after, .left_float::after, .right_float::after { content: ""; display: block; visibility: hidden; clear: both; zoom: 1; height: 0px; }
a { color: rgb(51, 51, 51); }
a:hover { color: rgb(19, 175, 240); }
a, a:hover, a:focus { text-decoration: none; transition: 0.3s; }
.single-post:not(.elementor-page) .entry-content a:not(.wp-block-button__link):not(.wp-block-file__button), .page:not(.elementor-page):not(.woocommerce-page) .entry a:not(.wp-block-button__link):not(.wp-block-file__button) { cursor: pointer; text-underline-offset: 3px; text-decoration: underline; text-decoration-skip-ink: all; transition: 0.3s; }
.single-post:not(.elementor-page) .entry-content a:not(.wp-block-button__link):not(.wp-block-file__button):hover, .page:not(.elementor-page):not(.woocommerce-page) .entry a:not(.wp-block-button__link):not(.wp-block-file__button):hover { text-decoration: underline dotted; text-decoration-skip-ink: none; transition: 0.3s; }
.single-post:not(.elementor-page) .entry-content a:not(.wp-block-button__link):not(.wp-block-file__button):focus:not(.wp-block-button__link):not(.wp-block-file__button), .page:not(.elementor-page):not(.woocommerce-page) .entry a:not(.wp-block-button__link):not(.wp-block-file__button):focus:not(.wp-block-button__link):not(.wp-block-file__button) { outline: rgba(0, 0, 0, 0) solid 2px; text-decoration: underline 1px dotted rgb(19, 175, 240); text-decoration-skip-ink: none; transition: 0.3s; }
h1, h2, h3, h4, h5, h6 { font-weight: 600; margin: 0px 0px 20px; color: rgb(51, 51, 51); line-height: 1.4; }
h1 { font-size: 23px; }
h2 { font-size: 20px; }
h3 { font-size: 18px; }
h4 { font-size: 17px; }
h5 { font-size: 15px; }
h6 { font-size: 14px; }
p { margin: 0px 0px 20px; }
del { vertical-align: baseline; text-decoration: line-through; color: rgb(170, 170, 170); }
code, kbd, pre, samp { font-size: 16px; }
pre { margin: 20px 0px; padding: 20px; color: rgb(32, 128, 173); background-color: rgb(250, 250, 250); }
code { color: rgb(32, 128, 173); }
.wp-block-quote { margin: 1.5em auto; padding-left: 20px; border-left: 3px solid rgb(19, 175, 240); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; }
blockquote { font-style: italic; margin: 20px 40px; padding-left: 20px; border-left: 3px solid rgb(19, 175, 240); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; }
blockquote cite { position: relative; display: block; padding: 10px 0px 0px 20px; color: rgb(85, 85, 85); }
blockquote cite::before { position: absolute; left: 0px; content: "—"; }
q::before, q::after, blockquote::before, blockquote::after { content: ""; }
address { display: block; margin: 0px 0px 20px; }
ul, ol { margin: 15px 0px 15px 20px; }
ol { list-style-type: decimal; }
ol ol { list-style: upper-alpha; }
ol ol ol { list-style: lower-roman; }
ol ol ol ol { list-style: lower-alpha; }
li ul, li ol { margin: 0px 0px 0px 25px; }
dl { margin: 20px; }
dt { font-weight: 700; }
dd { margin-bottom: 20px; }
hr { clear: both; height: 1px; min-height: 0px; margin: 20px 0px; border-width: 1px 0px 0px; border-style: solid none none; border-color: rgb(233, 233, 233) currentcolor currentcolor; }
@media print {
  * { background: rgba(0, 0, 0, 0) !important; box-shadow: none !important; text-shadow: none !important; }
  a, a:visited { text-decoration: underline; }
  a[href]::after { content: " (" attr(href) ")"; }
  .ir a::after, a[href^="javascript:"]::after, a[href^="#"]::after { content: ""; }
  pre, blockquote { border: 1px solid rgb(153, 153, 153); break-inside: avoid; }
  thead { display: table-header-group; }
  tr, img { break-inside: avoid; }
  img { max-width: 100% !important; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3 { break-after: avoid; }
}
@media only screen and (max-width: 480px) {
  blockquote { margin: 20px 0px; }
}
form input[type="text"], form input[type="password"], form input[type="email"], form input[type="url"], form input[type="date"], form input[type="month"], form input[type="time"], form input[type="datetime"], form input[type="datetime-local"], form input[type="week"], form input[type="number"], form input[type="search"], form input[type="tel"], form input[type="color"], form select, form textarea { display: inline-block; min-height: 40px; width: 100%; font-size: 14px; line-height: 1.8; padding: 6px 12px; vertical-align: middle; background-color: rgba(0, 0, 0, 0); color: rgb(51, 51, 51); border: 1px solid rgb(221, 221, 221); border-radius: 3px; transition: 0.3s; }
form select { padding-top: 0px !important; padding-bottom: 0px !important; }
input[type="text"], input[type="password"], input[type="email"], input[type="url"], input[type="search"], textarea { appearance: none; }
input[type="search"]::-webkit-search-decoration, input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-results-button, input[type="search"]::-webkit-search-results-decoration { display: none; }
form textarea { min-height: 150px; line-height: 1.5; resize: vertical; }
input[type="checkbox"] { display: inline-block; background-color: rgb(255, 255, 255); border: 1px solid rgb(187, 187, 187); line-height: 0; width: 16px; min-width: 16px; height: 16px; margin: -3px 10px 0px 0px; outline: 0px; text-align: center; vertical-align: middle; clear: none; cursor: pointer; appearance: none; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 2px inset; transition: border-color 0.05s ease-in-out; }
input[type="radio"]:checked::before, input[type="checkbox"]:checked::before { float: left; display: inline-block; vertical-align: middle; width: 16px; line-height: 14px; font-family: "Font Awesome 5 Free"; text-rendering: auto; }
input[type="checkbox"]:checked::before { content: ""; margin-bottom: -1px; color: rgb(19, 175, 240); font-weight: 600; }
form input[type="text"]:focus, form input[type="password"]:focus, form input[type="email"]:focus, form input[type="url"]:focus, form input[type="date"]:focus, form input[type="month"]:focus, form input[type="time"]:focus, form input[type="datetime"]:focus, form input[type="datetime-local"]:focus, form input[type="week"]:focus, form input[type="number"]:focus, form input[type="search"]:focus, form input[type="tel"]:focus, form input[type="color"]:focus, form select:focus, form textarea:focus { border-color: rgb(187, 187, 187); outline: 0px; }
form input:focus:invalid, form textarea:focus:invalid, form select:focus:invalid { color: rgb(185, 74, 72); border-color: rgb(233, 50, 45); }
select { width: 100%; height: 2.25em; min-height: auto; border: 1px solid rgb(221, 221, 221); background-color: rgb(255, 255, 255); cursor: pointer; padding: 0px 15px; margin: 0px; }
form label { margin-bottom: 3px; }
form fieldset { margin: 0px; padding: 0.35em 0px 0.75em; border: 0px; }
form legend { display: block; width: 100%; margin-bottom: 0.3em; padding: 0.3em 0px; color: rgb(51, 51, 51); border-bottom: 1px solid rgb(229, 229, 229); }
input[type="button"], input[type="reset"], input[type="submit"], button[type="submit"], .button, body div.wpforms-container-full .wpforms-form input[type="submit"], body div.wpforms-container-full .wpforms-form button[type="submit"], body div.wpforms-container-full .wpforms-form .wpforms-page-button, .woocommerce-cart .wp-element-button, .woocommerce-checkout .wp-element-button, .wp-block-button__link { display: inline-block; font-family: inherit; background-color: rgb(19, 175, 240); color: rgb(255, 255, 255); font-size: 12px; font-weight: 600; text-transform: uppercase; margin: 0px; padding: 14px 20px; border: 0px; cursor: pointer; text-align: center; letter-spacing: 0.1em; line-height: 1; transition: 0.3s; }
input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover, button[type="submit"]:hover, input[type="button"]:focus, input[type="reset"]:focus, input[type="submit"]:focus, button[type="submit"]:focus, .button:hover, .button:focus, body div.wpforms-container-full .wpforms-form input[type="submit"]:hover, body div.wpforms-container-full .wpforms-form button[type="submit"]:hover, body div.wpforms-container-full .wpforms-form .wpforms-page-button:hover, .woocommerce-cart .wp-element-button:hover, .woocommerce-checkout .wp-element-button:hover { background-color: rgb(11, 124, 172); color: rgb(255, 255, 255); }
input[type="button"]:focus, input[type="reset"]:focus, input[type="submit"]:focus, button[type="submit"]:focus, button:focus { outline: 0px; }
.thumbnail-caption { font-size: 13px; margin-top: 0.5em; text-align: center; }
.single .thumbnail { position: relative; margin-bottom: 20px; }
.single .thumbnail img { width: 100%; }
.single .entry-title { font-size: 34px; padding: 0px 0px 20px; margin: 0px 0px 15px; border-bottom: 1px solid rgb(241, 241, 241); letter-spacing: 0.6px; }
.wp-block-cover-image, .wp-block-image { margin-bottom: 20px; }
.wp-block-separator { margin: 30px auto; }
@media only screen and (max-width: 480px) {
  .single-post .entry-title { font-size: 26px; }
}
.single .entry-content { margin-bottom: 20px; }
ul.page-numbers { display: inline-block; width: 100%; margin: 0px; padding: 10px 0px 0px; list-style: none; text-align: right; clear: both; }
ul.page-numbers li { display: inline-block; }
.page-numbers a, .page-numbers span:not(.elementor-screen-only), .page-links span { position: relative; display: inline-block; min-width: 38px; line-height: 38px; margin: 0px 8px 0px 0px; text-align: center; color: rgb(85, 85, 85); border: 1px solid rgb(233, 233, 233); font-size: 18px; cursor: pointer; white-space: nowrap; border-radius: 2px; transition: 0.3s; box-sizing: content-box; }
.page-numbers a span:not(.elementor-screen-only) { padding: 0px; }
.page-numbers a:hover, .page-links a:hover span, .page-numbers.current, .page-numbers.current:hover, .page-links > span { background-color: rgb(248, 248, 248); color: rgb(51, 51, 51); }
.search-results article { position: relative; width: 100%; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid rgb(233, 233, 233); }
.search-results article .search-entry-inner { display: flex; align-items: center; }
.search-results article .thumbnail { min-width: 120px; margin-right: 20px; }
.search-results article .thumbnail img { border-radius: 5px; box-shadow: rgba(0, 0, 0, 0.3) 0px 0px 5px; }
.search-results article .search-entry-title { font-size: 24px; margin: 0px 0px 6px; }
.search-results article .search-entry-summary p:last-child { margin-bottom: 0px; }
.search-results article .search-entry-readmore a { display: inline-block; font-size: 12px; font-weight: 600; line-height: 1; padding-bottom: 3px; border-bottom: 1px solid; text-transform: uppercase; letter-spacing: 0.6px; }
@media only screen and (max-width: 480px) {
  .search-results article .thumbnail { display: none; }
}
.error404-content { position: relative; margin: 0px auto; text-align: center; }
.error404-content .error-title { font-size: 46px; margin: 0px 0px 25px; }
.error404-content .error-text { font-size: 18px; font-weight: 300; margin-bottom: 35px; }
.error404-content .searchform { max-width: 390px; margin: 0px auto; }
.error404-content .error-btn { font-size: 13px; padding: 14px 26px; margin-top: 60px; }
.error404-content .error-btn:hover { color: rgb(255, 255, 255); }
@media only screen and (max-width: 480px) {
  .error404-content .searchform { width: 100%; }
  .error404-content .error-btn { margin-top: 40px; }
}
