@import url('https://fonts.googleapis.com/css2?family=PT+Sans:ital,wght@0,400;0,700;1,400;1,700&family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&display=swap');

.pt-sans-regular {
    font-family: "PT Sans", sans-serif;
    font-weight: 400;
    font-style: normal;
  }
  
  .pt-sans-bold {
    font-family: "PT Sans", sans-serif;
    font-weight: 700;
    font-style: normal;
  }
  
  .pt-sans-regular-italic {
    font-family: "PT Sans", sans-serif;
    font-weight: 400;
    font-style: italic;
  }
  
  .pt-sans-bold-italic {
    font-family: "PT Sans", sans-serif;
    font-weight: 700;
    font-style: italic;
  }  

  .pt-serif-regular {
    font-family: "PT Serif", serif;
    font-weight: 400;
    font-style: normal;
  }
  
  .pt-serif-bold {
    font-family: "PT Serif", serif;
    font-weight: 700;
    font-style: normal;
  }
  
  .pt-serif-regular-italic {
    font-family: "PT Serif", serif;
    font-weight: 400;
    font-style: italic;
  }
  
  .pt-serif-bold-italic {
    font-family: "PT Serif", serif;
    font-weight: 700;
    font-style: italic;
  }
  

:root {
    --content-padding: 1.7em;

    --color-primary: #8e7652;
    --color-primary-light: #9b825c;
    --color-primary-dark: #6b5739;

    --content-width: 1100px;
    --header-height: 60px;
}

body {
    /*padding-top: var(--header-height);*/
    background-color: #f4f4f4;
}

@media screen and (max-width: 768px) {
    body{
        overflow: hidden;
    }
}

.site-header {
    position: relative;
    background-color: #000000;
    width: 100%;
    z-index: 2;
    max-width: 1000px;
    margin: auto;
}

.site-header-inner {
    height: var(--header-height);
    padding: 0 calc(0.8 * var(--content-padding));

    display: flex;
    align-items: center;
}

.site-header-content {
    display: flex;
    align-items: center;
    flex: 1;
}

.site-header-toggler {
    display: none;
    width: 44px;
    height: 44px;
    background: no-repeat center center url("../img/menu-toggler.png");
    background-color: rgba(255,255,255,.2);
    background-size: 55% auto;
    margin-left: auto;
    border-radius: 6px;
    transition: background-color 199ms ease-out;
}

body.menu-open .site-header-toggler,
.site-header-toggler:active {
    background-color: #7a6440;
}

body.menu-open .site-header-toggler {
    background-image: url("../img/menu-close.svg?v3");
}

.site-header-additional {
    margin-left: auto;

    display: flex;
    align-items: center;
}

.site-header-additional-search {

}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
    display: none;
}

.site-header-additional-search-form {
    position: relative;
    display: flex;
}

.site-header-additional-search-input {
    display: block;
    flex: 1;
    height: calc(1.7 * var(--content-padding));
    background-color: white;
    border-radius: 5px;
    transition: all 199ms ease-out;
    width: 250px;
    padding: 0;
    max-width: 0;

    position: absolute;
    right: 40px;
    top: 0;
}

.site-header-additional-search-input::placeholder {
    color: #aaa;
}


.site-header-additional-search-btn {
    display: block;
    width: calc(1.7 * var(--content-padding));
    height: calc(1.7 * var(--content-padding));
    flex-shrink: 0;
    background-size: 50% auto;
    border-radius: 5px;
    transition: background-color 199ms ease-out;
}

.site-header-additional-search-form.open .site-header-additional-search-btn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.site-header-additional-search-form.open .site-header-additional-search-input {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    max-width: 300px;

    padding-left: .7em;
    padding-right: .7em;
}

.site-header-additional-search-form.open .site-header-additional-search-btn,
.site-header-additional-search-btn:hover{
    background-color: rgba(0,0,0,.1);
}

.site-logo {
    text-decoration: none;
    display: block;
    width: 117px;
    height: auto;
}

.site-logo img {
    display: block;
    width: 100%;
}

.site-nav {
    display: flex;
    width: 100%;
}

.site-nav .menu {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: center;
    gap: 15px;
}

.site-nav .menu {
    display: flex;
    align-items: center;
}

.site-nav .menu li {
    position: relative;
}

.site-nav .menu li a {
    font-weight: 600;
    color: white;
    display: block;
    padding:.7em 1.3em;
    border-radius: 5px;
    text-decoration: none;

    transition: background-color 147ms ease-out;
}

.site-nav .menu > li + li {
    margin-left: .3em;
}

.site-nav .menu li.current-menu-item > a,
.site-nav .menu li.current-menu-parent > a,
.site-nav .menu li:hover > a {
    background-color: var(--color-primary-dark);
}

.site-nav .menu li.menu-item-has-children:hover a {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.site-nav .menu li.menu-item-has-children > a {
    padding-right: 2.5em;
}

.site-nav .menu li.menu-item-has-children::after {
    display: block;
    position: absolute;
    right: 12px;
    content: "";
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 5px;
    background: no-repeat url('../img/icon/chevron-light-down.png') center center;
    background-size: 100% 100%;
}

.site-nav .menu li .sub-menu {
    display: none;

    padding-top: .7em;
    padding-bottom: .7em;

    position: absolute;
    top:100%;
    left: 0;
    width: 200%;

    border-top-right-radius: 5px;

    background-color: var(--color-primary-dark);
}

.site-nav .menu li:hover .sub-menu {
    display: block;
}

.site-nav .menu li:hover .sub-menu li + li {
    margin-top: .3em;
}

.site-nav .menu li .sub-menu li a {
    display: block;
}

.site-nav .menu li .sub-menu li:hover a {
    text-decoration: underline;
}

.site-nav .menu li .sub-menu li.current-menu-item a {
    text-decoration: underline;
}

/* Tag navigation */

.tag-nav {
    background: #F1EEEA;
    padding: 0;
}

.tag-nav ul{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 0 var(--content-padding);
}

.tag-nav ul > li > a {
    font-family: PT Sans;
    font-size: 16px;
    font-weight: 700;
    line-height: 20.7px;
    text-align: center;
    border-radius: 6px;
    color: #8E7652;
    display: inline-block;
    padding: 6px 10px;
    margin: 10px;
    text-decoration: none;
}

.tag-nav  .menu li.current-menu-item > a,
.tag-nav  .menu li.current-menu-parent > a,
.tag-nav  .menu li:hover > a {
    background: #FFFFFF;
}

.tag-nav ul > li > a:hover {
    background: #FFFFFF;
    text-decoration: none;
}
/* Tag navigation END */

/* Team component */

.author-cards-about-us-page {
    background: #F1EEEA;
    padding: 25px 25px 0 25px;
    border-radius: 6px;
    display: flex;
    flex-wrap: wrap;
}

.author-cards-about-us-page a {
    text-decoration: none!important;
}

.author-card-about-us-page {
    width: 50%;
    display: flex;
    margin-bottom: 25px;
    gap: 25px;
}

.author-card-about-us-page-image img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.author-card-about-us-page-image {
    width: 90px;
    border-radius: 6px;
    overflow: hidden;
    height: 90px;
    /* fill image intro this div */
    background-color: #eee;
    background-size: cover;
    background-position: center center;
}

.author-card-about-us-page-info {
    font-family: PT Sans;
    font-size: 16px;
    font-weight: 400;
    line-height: 20.7px;
    text-align: left;
}

.author-card-about-us-page-name {
    text-decoration: underline;
}

.author-card-about-us-page:hover .author-card-about-us-page-name {
    text-decoration: none;
}

.author-card-about-us-page-position {
    margin-top: 20px;
    font-size: 14px;
}

/* Team component END */

/* Accordeon */

.accordeon-container {
    border: 1px solid #8E7652;
    padding: 15px 24px;
    border-radius: 6px;
    position: relative;
}

.accordeon-header {
    display: flex;
    align-items: center;
    color: #8E7652;
}

.accordeon-header h4{
    margin: 0!important;
    font-family: PT Sans!important;
    font-size: 16px!important;
    font-weight: 700!important;
    line-height: 20.7px!important;
    text-align: left!important;
    color: #8E7652!important;
    text-decoration: underline!important;;
}

a.author-link {
    color: #8E7652;
    font-family: PT Sans;
    font-size: 16px;
    font-weight: 700;
    line-height: 20.7px;
    text-align: left;
    padding-right: 5px;
    text-decoration: underline;
}

a.author-email {
    font-family: PT Sans;
    font-size: 16px;
    font-weight: 400;
    line-height: 20.7px;
    text-align: left;
    color: #8E7652;
}

a.author-linkedin {
    text-align: left;
    color: #8E7652;
    font-size: 16px;
}

.abc-discover-list-wrapper a::after,
.adFull a::after,
.entry-tags-list a::after,
.wpd-login a::after,
.instagram-media a::after {
    content: none !important;
}

.abc-discover-list-wrapper a,
.entry-tags-list a,
.wpd-login a,
.instagram-media a {
    white-space: normal !important;
}

.abc-discover-list-wrapper a[href^="http"]:not([href$=".jpg"]):not([href$=".jpeg"]):not([href$=".png"]):not([href$=".gif"]):not([href$=".webp"]):not([href$=".svg"]),
.entry-footer a[href^="http"]:not([href$=".jpg"]):not([href$=".jpeg"]):not([href$=".png"]):not([href$=".gif"]):not([href$=".webp"]):not([href$=".svg"]),
.mce a[href^="http"]:not([href$=".jpg"]):not([href$=".jpeg"]):not([href$=".png"]):not([href$=".gif"]):not([href$=".webp"]):not([href$=".svg"]){
    white-space: nowrap;
}

.entry-footer a[href^="http"]:not([href$=".jpg"]):not([href$=".jpeg"]):not([href$=".png"]):not([href$=".gif"]):not([href$=".webp"]):not([href$=".svg"])::after,
.mce a[href^="http"]:not([href$=".jpg"]):not([href$=".jpeg"]):not([href$=".png"]):not([href$=".gif"]):not([href$=".webp"]):not([href$=".svg"])::after {
    content: "\e925";
    display: inline-block;
    margin-left: 5px;
    margin-right: 2px;
    font-family: 'webmagazin' !important;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


.toggle-accordeon-icon {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 20px;
    padding: 15px;
    cursor: pointer;
}

.accordeon-post-content .toggle-accordeon-icon {
    width: 100%;
    text-align: right;
}

.toggle-accordeon-icon:hover {
    opacity: 0.7;
}

.accordeon-content-container {
    padding-top: 10px;
}

.accordeon-content-container ul,
.accordeon-content-container ol {
    font-family: PT Sans;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    text-align: left;
    color: #8E7652;
}

.accordeon-invisible-block {
    display: flex;
    align-items: center;
    gap: 6px;
}

.accordeon-content-container,
.accordeon-toggle-content {
    display: none;
}

.accordeon-content-container.show {
    display: block;
}

.accordeon-toggle-content.show {
    display: flex;
}

.accordeon-author-box {
    padding: 24px 0;
}

.accordeon-post-content {
    margin-top: 25px;
}
/* Accordeon END */

/* Table of contents */

.table-special th {
    border: 1px solid #8E7652;
    padding: 15px;
    vertical-align: middle;
    background-color: #8E7652;
    color: white;
}

.table-special td {
    border: 1px solid #8E7652;
    padding: 13px 10px;
    vertical-align: middle;
    font-family: 'PT Sans', sans-serif!important;
    font-size: 12px;
    font-weight: 400;
}

td.center-text {
    text-align: center;
}

td.author-post-table {
    font-family: 'PT Sans', sans-serif!important;
    font-size: 12px;
    font-weight: 700;
    line-height: 44.16px;
    text-align: left;
}

/* Table of contents END */

.author-post-section {
    padding-top: 80px; 
}

.home-category-articles > h4,
.author-most-read-articles > h4 {
    font-family: PT Sans;
    font-size: 24px;
    font-weight: 700;
    line-height: 31.06px;
    text-align: left;
    color: #8E7652;
}


.author-most-read-articles > h4 {
    margin-top: 45px;
    margin-bottom: 25px;
}

/* author page */
.author-info-section-image-block {
    width: 250px;
    text-decoration: none;
    height: 250px;
    border-radius: 6px;
    overflow: hidden;
    backface-visibility: hidden;
}

.author-info-section-image-block img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: #eee;
    backface-visibility: hidden;
    transition: transform 199ms cubic-bezier(0, 0, 0.15, 1.17);
}

.author-info-section-education {
    background: #F1EEEA;
    padding: 10px 15px;
    margin-top: 15px;
    border-radius: 6px;
}

.author-info-section {
    display: flex;
    gap: 25px;
}

.author-info-section-sidebar-block {
    max-width: 250px;
}

.author-info-section-content-block {
    width: 100%;
}

.author-most-read-articles {
    margin-top: 25px;
}

.author-most-read-articles {
    margin-top: 25px;
}

.author-education-list ul {
    font-family: PT Sans;
    font-size: 14px;
    font-weight: 400;
    line-height: 28px;
    text-align: left;
    list-style-type: disc;
    padding-left: 15px;
}

.author-education-list ul li {
    display: list-item;
    line-height: 28px;
}

.author-info-section-header h1 {
    font-family: 'PT Sans', sans-serif!important;
    font-size: 32px;
    font-weight: 400;
    line-height: 42.4px;
    text-align: left;
}

.author-info-section-header h3 {
    font-family: 'PT Sans', sans-serif!important;
    font-size: 14px;
    font-weight: 400;
    line-height: 18.55px;
    text-align: left;
}

.author-info-section-contact-block {
    margin-top: 15px;
}

.author-info-section-social-block {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.author-info-section-social-block a {
    padding: 5px 0;
    color: #000;
    text-decoration: none;
}

.author-info-section-social-block a > span {
    color: #000;
    font-size: 18px;
}

/* author END */

.site-content {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin: auto;
}


.page-content{
    display: flex;
    justify-content: center;
}

.page-content-inner {
    width: 100%;
    max-width: var(--content-width);
    background-color: white;
    padding: 24px var(--content-padding);
    border-radius: 0;
    padding-bottom: 35px;
}

.site-footer {
    max-width: 1000px;
    margin: 0 auto;
}

.site-footer-a {
    display: flex;
    justify-content: center;
    background-color: #262626;

    color: white;
}

.site-footer-inner {
    width: 100%;
    max-width: var(--content-width);
    border-radius: 20px;
    padding: calc(1.4 * var(--content-padding));
}


.site-footer-inner p {
    font-family: PT Sans;
    font-size: 12px;
    font-weight: 400;
    line-height: 15.53px;
    text-align: left;
    margin-top: 0!important;
}

.site-footer-b {
    display: flex;
    justify-content: center;

    background-color: #f4f4f4;
    color: #aaa;
}


.site-footer-main-cols {
    display: flex;
}

.site-footer-main-col {
    flex: 1;

    display: flex;
}

.site-footer-main-col + .site-footer-main-col {
    margin-left: 2em;
}

.site-footer-main-col-title {
    font-size: 1.2em;
    margin-bottom: .7em;
}

.site-footer-main-col-text {
    line-height: 1.5;
}

.site-footer-main-col-text + .site-footer-social {
    margin-top: var(--content-padding);
}

.site-footer-main-col-contacts  {
    margin-top: 1em;
}

.site-footer-main-col-contacts li {
    line-height: 1.3;
    padding-left: 2em;
    background: no-repeat left center;
    background-size: auto 1em;
}

.site-footer-main-col-contacts li[data-icon="mail"] {
    background-image: url("../img/icon/mail.png");
}

.site-footer-main-col-contacts li[data-icon="phone"] {
    background-image: url("../img/icon/phone.png");
}

.site-footer-main-col-contacts li a {
}

.site-footer-main-col-contacts li + li {
    margin-top: .7em;
}

.site-footer-logo {
    text-decoration: none;
    width: 150px;
    display: block;
}

.site-footer-logo img {
    width: 100%;
    height: auto;
    display: block;
}

.sources-list-wrapper ul {
    list-style-type: disc;
    padding-left: 25px;
    margin-bottom: 45px;
}

.sources-list-wrapper ul li {
    display: list-item;
    line-height: 1.5;
    margin-top: 20px;
}

.sources-list-wrapper ul li a {
    text-decoration: underline;
}

ul#menu-footer-column,
ul#menu-footer-column-1,
ul#menu-footer,
ul#menu-footer-1 {
    display: flex;
    white-space: nowrap;
    gap: 25px;
    padding-left: 25px;
    font-family: PT Sans;
    font-size: 12px;
    font-weight: 400;
    margin-bottom: 4px;
}

.site-footer-social {
    display: flex;
    display: none;
    align-items: center;

    margin-top: auto;
    margin-left: 50px;
}

.site-footer-social a {
    width: 1.3em;
    height: 1.3em;
    background: no-repeat center center;
    background-size: 100% 100%;

    text-decoration: none;
    position: relative;
    top: 0;
    backface-visibility: hidden;
    transition: top 199ms ease-out;
}

.site-footer-social a:hover {
    top: -.2em;
}

.site-footer-social a + a {
    margin-left: 1em;
}

.site-footer-social a[data-icon="facebook"] {
    background-image: url("../img/social/facebook.png");
}

.site-footer-social a[data-icon="instagram"] {
    background-image: url("../img/social/instagram.png");
}

.site-footer-social a[data-icon="linkedin"] {
    background-image: url("../img/social/linkedin.png?v2");
}

.site-footer-main-col-links-column {

}

.site-footer-main-col-links-column li {
    line-height: 1.3;
}

.site-footer-main-col-links-column li  {
    margin-left: .7em;
}

.site-footer-main-col-links-column li a {

}

.site-footer-additional {
    margin-top: 12px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255);
}

.site-footer-additional ul {
    display: flex;
    align-items: center;
    font-family: PT Sans;
    font-size: 12px;
    font-weight: 400;
}

.site-footer-additional ul li {

}

.site-footer-additional ul li  + li {
    margin-left: 3em;
}




/** footer links **/
.sidebar-links-link-list {

}

.sidebar-links-link-list-cols {
    margin-top: calc(2 * var(--content-padding));
    display: flex;
}

.sidebar-links-link-list-col {
    display: flex;
    flex-direction: column;

    flex: 1;
}

.sidebar-links-link-list-col + .sidebar-links-link-list-col {
    margin-left: var(--content-padding);
}

.sidebar-links-link-list-col-title {
    font-size: 1.1em;
    padding-left: 1em;
    margin-bottom: .7em;
    background: no-repeat left center url("../img/icon/udalosti247.png");
    background-size: .7em auto;
}

.sidebar-links-link-list-col-items {
    display: flex;
    flex-direction: column;
}

.sidebar-links-link-list-col-items li {
    display: block;
    line-height: 1.3;
}

.sidebar-links-link-list-col-items li + li {
    margin-top: .3em;
}

.sidebar-links-link-list-col-items li a {

}

.pagination{
    margin-top: 40px;
    text-align: center;
}

.pagination a{
    text-decoration: none;  
    display: inline-block;
}

.pagination .page-numbers{
    background-color: #f2efec;
    color: var(--color-primary);
    border-radius: 5px;
    margin: 0.3em;
    padding: 0.7em 1em;
    transition: all 199ms ease-out;
}

.pagination .page-numbers:hover{
    color: #f0f3fe;
    background-color: var(--color-primary);
}

.pagination .current{
    background-color: #8e7652;
    color: #f0f3fe;
    border-radius: 5px;
    margin: 0.3em;
    padding: 0.7em 1em;
}

/* New footer START */

.footerLogoPagesWrap{
    background-color: black;
    display: flex;
    justify-content: center;
}

.footerLogoPages {
    background-color: black;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    text-align: center;
    padding-top: 20px;
    max-width: var(--content-width);
    width: 100%;
    padding-left: 10px;
}

.footerLogoPages a {
    width: 190px;
    margin-bottom: 15px;
}

.footer-tabs {
    margin-bottom: 24px;
}

.label-interaction {
    display: block;
    font-family: PT Sans;
    font-size: 20px;
    font-weight: 700;
    line-height: 25.88px;
    text-align: left;
    color: #000000;
    margin-bottom: 16px;
}

span.nav-tab-item {
    padding: 7px 8px;
    display: inline-block;
    border-radius: 6px;
    margin-right: 12px;
    line-height: 1;
    cursor: pointer;
    border: 1px solid #ffffff;
}

span.nav-tab-item:hover {
    border: 1px solid #8E7652;
}

span.nav-tab-item.active {
    border: 1px solid #8E7652;
}


span.nav-tab-item span.tag-text {
    font-family: PT Sans;
    font-size: 16px;
    font-weight: 400;
    line-height: 20.7px;
    text-align: left;
}


span.nav-tab-item.active span.tag-text {
    text-decoration: underline;
}




.abc-discover-list-item {
    padding-bottom: 23px!important;
    margin-bottom: 24px!important;
}

.abc-discover-content h2 a, .abc-discover-content h2 {
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -moz-box-orient: vertical;
    -webkit-box-orient: vertical;
    overflow: hidden;
    display: -webkit-box;
    display: -moz-box;
}

.abc-discover-image img {
    max-width: 145px;
    min-height: 96px;
    border-radius: 6px;
    object-fit: cover;
}

.abc-discover-action {
    margin-top: 12px;
}

.abc-discover-list-container .abc-discover-list-item:last-child {
    margin-bottom: 0!important;
    padding-bottom: 0!important;
    border-bottom: none;
}

.home-column-main-content .abc-discover-article-list {
    padding-bottom: 0;
    margin-bottom: 0;
}

.seznam-comment-count {
    display: none;
}

@media (max-width: 1200px) {
    .footerLogoPages {
        margin: 0 -3vw;
    }
}

@media (max-width: 520px) {
    .footerLogoPages a {
        width: 175px !important;
    }
        
    .author-card-about-us-page {
        width: 100%;
    }
}

@media (max-width: 520px) {
    .footer__links__desktop {
        display: none;
    }
}

@media(min-width: 520px){
    .footer__links__mobile{
        display: none;
    }
}

/* New footer END */

.site-footer-main-col-links-column{
    display: flex;
    align-items: end;
}

#menu-footer-column,
#menu-footer-column-1{
    display: flex;
}

.armadniZpravodajDesktop{
    display: none;
}

.armadniZpravodajDesktopSecond{
    display: block;
}

.footerMobile{
    display: none;
}

.wm-lightbox-wrapper{
    display: flex;
}

.footer-nav-special-box {
    border-radius: 0;
    padding: calc(var(--content-padding));
    margin: 0 auto 0;
}

.block-container-600 {
    width: 600px;
    margin: 0 auto;
}

.block-container-300 {
    width: 300px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .wm-lightbox-wrapper{
        position: relative;
    }
    
    .block-container-600 {
        width: 300px;
        margin: 0 auto;
    }
    
    .block-container-300 {
        width: 300px;
        margin: 0 auto;
    }
}

#sitebarAdGallery{
    -ms-flex-negative: 0;
    -ms-flex-preferred-size: 368px;
    background-color: #444;
    box-shadow: -6px -5px 15px rgba(0,0,0,.5);
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-flex-basis: 368px;
    flex-basis: 368px;
    -webkit-flex-shrink: 0;
    flex-shrink: 0;
    padding: 0px 34px;
    border-radius: 8px;
}

@media (min-width: 980px) {
    /* Width for Branding ad */
    .page-content-inner {
        width: 1000px !important;
    }
  }

.entry-social-interaction.entry-social-interactions-comments {
    margin-top: 1px;
}

.home-category-articles-list .entry-social-interaction.entry-social-interactions-comments,
.home-second-articles-list .entry-social-interaction.entry-social-interactions-comments,
.listing-horizontal-item-wrapper .entry-social-interaction.entry-social-interactions-comments {
    margin-top: 0;
}

.category-list-flex-wrapper {
    display: flex;
    gap: 10px;
}
.ads-sticky-wrapper {
    min-width: 320px;
}

.category-list-flex-wrapper time,
.category-list-flex-wrapper .branded-article-author {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.megamenu-action-block {
    width: 100%;
    display: flex;
    justify-content: right;
}

.site-header-megamenu {
    width: 100%;
    justify-content: center;
    align-items: center;
    display: flex;
}

.mega-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 9999;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.mega-menu.active {
    display: flex;
}

.mega-menu-inner {
    max-width: 1000px;
    width: 100%;
}

.mega-menu-close {
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
}

.mega-menu-nav {
    margin-bottom: 20px;
}

.mega-menu-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}


.mega-menu-nav a {
    text-decoration: none;
    font-size: 1.5rem;
    color: #333;
}

.mega-menu-social {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.mega-menu-social a {
    text-decoration: none;
}

.mega-menu-social a:hover {
    background-color: #B9B9B9;
}

/* Mega Menu specific styles */
.mega-menu-header {
    justify-content: flex-end;
    display: flex;
    align-items: center;
    flex: 1;
}

button.site-header-megamenu-button.mega-menu-toggler,
.icon-burger-menu {
    font-size: 21px;
}

.mega-menu-toggler {
    display: block !important; /* Force display on all screen sizes */
    margin-left: 20px;
    z-index: 10000; /* Ensure the button stays on top */
}

.mega-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    z-index: 9999;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    overflow-y: auto;
}

.mega-menu.active {
    display: flex !important; /* Force display when active */
}

.mega-menu-inner {
    max-width: 1000px;
    width: 100%;
}

.mega-menu-close {
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
}

.mega-menu-nav {
    margin-bottom: 20px;
}

.mega-menu-nav > ul {
    display: flex;
    flex-wrap: wrap;
}

.mega-menu-nav > ul > li {
    width: 24%;
    margin-bottom: 15px !important;
}

.mega-menu-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-menu-nav a {
    text-decoration: none;
    font-size: 1.5rem;
    color: #333;
    transition: color 0.3s;
}

.mega-menu-nav a:hover {
    color: var(--color-primary);
}

.mega-menu-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    border-top: 1px solid #D9D9D9;
    padding-top: 24px;
}

.mega-menu-social-label {
    font-family: PT Sans;
    font-weight: 400;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: 0%;
}

a.mega-menu-all-categories-link {
    font-family: PT Sans;
    font-weight: 700;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 0%;
}


/* Make sure the mega menu is absolutely hidden by default */
.mega-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.98);
    z-index: 9999;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    overflow-y: auto;
}

/* Make it clearly visible when active */
.mega-menu.active {
    display: flex !important;
}

/* MEGA MENU CRITICAL STYLES - DO NOT MODIFY */
.mega-menu {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100vh !important;
    background-color: #ffffff !important;
    z-index: 99999 !important;
    display: none !important;
    padding: 60px 20px 20px !important;
    overflow-y: auto !important;
}
.mega-menu-head-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
a.mega-menu-logo {
    width: 200px;
    display: block;
}

/* This style must override everything else */
.mega-menu.active {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.mega-menu-inner {
    position: relative !important;
    max-width: 1000px !important;
    width: 100% !important;
    margin: 0 auto !important;
}

.mega-menu-close {
    top: 20px !important;
    right: 20px !important;
    background: none !important;
    border: none !important;
    font-size: 40px !important;
    cursor: pointer !important;
    z-index: 99999 !important;
    display: flex;
    align-items: center;
    gap: 5px;
}

.mega-menu-close span {
    font-size: 16px;
    text-decoration: underline;
    font-family: 'PT SANS';
    font-weight: 700;
}

.mega-menu-nav {
    margin: 30px 0 !important;
}

.mega-menu-nav ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.mega-menu-nav li {
    margin: 5px 0 !important;
}

.mega-menu-nav a {
    text-decoration: none !important;
    font-size: 24px !important;
    color: #333 !important;
    font-weight: bold !important;
}

.mega-menu-toggler {
    cursor: pointer !important;
}

/* Mega menu styles for search functionality */
.mega-menu-search {
    width: 100%;
    margin: 30px auto 30px;
}

.mega-menu-search .site-header-additional-search-form {
    position: relative;
    display: flex;
    width: 100%;
}

.mega-menu-search .site-header-additional-search-input {
    display: block;
    flex: 1;
    position: relative;
    width: 100%;
    max-width: 100% !important;
    height: 50px;
    background-color: #E7E7E7;
    border: 1px solid #E7E7E7;
    border-radius: 6px!important;
    padding: 0 25px !important;
    font-size: 16px;
    right: auto;
    top: auto;
}

.mega-menu-search .site-header-additional-search-input:focus {
    background-color: #ffffff;
    border: 1px solid #000000;
}

/* Placeholder color */
.mega-menu-search .site-header-additional-search-input::placeholder {
    color: #B9B9B9;
    font-family: PT Sans;
    font-weight: 400;
    font-style: italic;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0%;
}

.mega-menu-search .site-header-additional-search-btn {
    width: 50px;
    height: 50px;
    background-color: transparent!important;
    color: rgb(0, 0, 0);
    border-radius: 0 5px 5px 0;
    border: none;
    position: absolute;
    right: 0;
}

nav.mega-menu-nav > ul > li > a {
    display: inline-block;
    color: var(--primary-color) !important;
    font-family: PT Sans;
    font-weight: 700 !important;
    font-size: 20px !important;
    padding-bottom: 8px;
    line-height: 100%;
    letter-spacing: 0%;
}

nav.mega-menu-nav > ul > li > ul > li > a{
font-family: PT Sans!important;
font-weight: 400!important;
font-size: 18px!important;
line-height: 155%!important;
letter-spacing: 0%!important;
color: #000000 !important;
}

nav.mega-menu-nav > ul > li > ul > li > a:hover{
    text-decoration: underline !important;
}

.site-header-megamenu-button [class^="icon-"],
.site-header-megamenu-button [class*=" icon-"],
.site-header-additional-search-btn [class^="icon-"],
.site-header-additional-search-btn  [class*=" icon-"] {
    color: #ffffff!important;
}

.mega-menu-search .site-header-additional-search-btn .icon-search-new,
.mega-menu-search .site-header-additional-search-btn .icon-search {
    color: rgb(0, 0, 0)!important;
    font-size: 21px!important;
}

/* Adjustments for the mega menu header buttons */
.mega-menu-header {
    justify-content: flex-end;
}

.button-icon-link {
    background-color: #D9D9D9;
    border-radius: 6px;
    text-align: center;
    padding: 10px;
    color: black;
    font-size: 16px !important;
    width: 36px;
    height: 36px;
}

.mega-menu-header .site-header-additional {
    display: flex;
    gap: 10px;
}

.mega-menu-header .site-header-toggler {
    margin-left: 0;
}

.mega-menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

a.mega-menu-logo {
    width: 200px;
}

a.mega-menu-logo img {
    width: 100%;
}

@media (max-width: 768px) {
    .category-list-flex-wrapper {
        display: block;
    }
    /* Ensure mega menu is properly positioned on mobile */
    .mega-menu {
        padding: 20px!important;
    }
    a.mega-menu-logo {
        width: 160px;
    }
    .mega-menu-nav a {
        font-size: 1.2rem;
    }
    .mega-menu-social-label {
        display: none;
    }
    .mega-menu-nav > ul > li {
        width: 100%;
    }

    .mega-menu-search {
        width: 100%;
        margin: 10px auto 0;
    }

    .mega-menu-head-wrapper {
        position: fixed;
        width: 100%;
        top: 0;
        z-index: 9999999;
        left: 0;
        padding: 12px 20px;
        background: white;
    }

    .mega-menu-nav {
        margin: 120px 0 50px !important;
    }

    .mega-menu-nav > ul > li > ul {
        display: flex;
        flex-wrap: wrap;
        border-top: 1px solid grey;
        padding-top: 5px !important;
    }

    .mega-menu-nav > ul > li > ul > li {
        width: 50%;
    }

    .mega-menu-footer {
        position: fixed;
        bottom: 0;
        left: 0;
        background: white;
        padding: 12px 20px;
        box-shadow: 0px 80px 100px 20px black;
    }
}


/* sitemap - Rozcestnik */

.sitemap-content-wrapper h1.home-column-main-content-title {
    margin: 48px 0 24px;
    font-family: PT Sans;
    font-weight: 700;
    font-size: 24px;
    line-height: 100%;
    letter-spacing: 0%;
}

ul.sitemap-list {
    list-style: none;
    list-style-type: none;
    padding: 12px 0;
    display: flex;
    flex-wrap: wrap;
    border-top: 1px solid grey;
    margin-top: 12px;
    margin-bottom: 36px;
}

ul.sitemap-list li {
    list-style: none;
    list-style-type: none;
    width: 33.3%;
    font-family: PT Sans;
    font-weight: 400;
    font-size: 16px;
    line-height: 155%;
    letter-spacing: 0%;
}

ul.sitemap-list li::before {
    display: none;
}
.sitemap-content h3 {
    font-family: PT Sans;
    font-weight: 700;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 0%;
}

.sitemap-content li > a {
    font-family: PT Sans;
    font-weight: 400;
    font-size: 16px;
    line-height: 155%;
    letter-spacing: 0%;
    text-decoration: underline;
    text-decoration-style: solid;
    text-decoration-offset: 0%;
    text-decoration-thickness: 0%;
    text-decoration-skip-ink: auto;
}

.sitemap-content li > a {
    text-decoration: underline;
    text-decoration-style: solid;
    text-decoration-offset: 0%;
    text-decoration-thickness: 0%;
    text-decoration-skip-ink: auto;
}

.sitemap-content li > a:hover {
    text-decoration: none !important;
}

/* block for ads */
.wp-special-block {
    /* text-align: center; */
    /* margin: auto; */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

@media (max-width: 768px) {
    .sitemap-content-wrapper h1.home-column-main-content-title {
        margin: 36px 0 36px;
    }

    ul.sitemap-list li {
        width: 50%;
    }
}

/* Webform marketing */
.se-webform-inner li:before {
    content: none!important;
    display: none!important;
}

button.site-header-megamenu-button.mega-menu-toggler,
.icon-burger-menu {
    padding: 0;
    margin-top: 2px;
}

.icon-search-new,
.icon-burger-menu {
    padding: 6px;
    margin: 0;
}

span.icon-search-new:hover,
span.icon-burger-menu:hover {
    background: #FF674F;
    border-radius: 6px;
    transition: all 0.3s ease;
}
