/* Theme Name: Gimont Child Theme
Theme URI: https://themeforest.net/user/ovatheme/portfolio
Description: This is child theme of gimont
Author: Ovatheme
Author URI: https://themeforest.net/user/ovatheme
Template: gimont
Version: 1.0.0
Tags: two-columns, three-columns, left-sidebar, right-sidebar, custom-menu, editor-style, featured-images, flexible-header, full-width-template, post-formats, rtl-language-support, sticky-post, translation-ready
Text Domain:  gimont-child
*/

:root {
     --zelena: #538536;
     --modra: #1b3f78;
     --text: #58585b;
     --light: #efefef;
}

/*********************
     EFEKT LINKY <a>
**********************/

.child-page-title,
.fg_title_link,
.ud-item h3 a,
.akt-title a,
.orz-list__item a,
.orz-list__item a,
.child-page-item a,
.sme-event-title {
     position: relative;
     display: inline-block;
     padding-bottom: 2px;
}

.fg_title_link:hover::after,
.orz-list__item a:hover::after,
.child-page-title:hover::after,
.ud-item h3 a:hover::after,
.akt-title a:hover::after,
.orz-list__item a:hover::after,
.child-page-item a:hover::after,
.sme-event-title:hover::after,
.child-page-link:hover .child-page-title::after {
     width: 100%;
}

.fg_title_link::after,
.orz-list__item a::after,
.child-page-title::after,
.ud-item h3 a::after,
.akt-title a::after,
.orz-list__item a::after,
.child-page-item a:after,
.sme-event-title::after {
     content: "";
     position: absolute;
     left: 0;
     bottom: 0;
     height: 2px;
     width: 0;
     background: var(--zelena);
     transition: width 400ms ease;
}

.child-page-item a:after,
.fg_title_link:after {
     background: var(--light);
}

.sme-event-title,
.orz-list__item a,
.akt-title a,
.ud-item h3 a {
     color: var(--modra);
}

.akt-title,
.ud-title,
.orz-list__item,
.sme-event-row2 {
     margin-top: -5px;
     font-size: 125%;
     line-height: 1.4;
}

.akt-title,
.ud-title {
     margin-top: 0;
     margin-bottom: 0;
     padding-bottom: 0;
}

.ud-item,
.akt-item,
.sme-event-item {
     background-color: #fff;
     overflow: hidden;
     margin-bottom: 1px;
     padding: 1rem !important;
}

.ud-filter-form .ud-filter-search input[type=text] {
     border-color: #e0e0e0;
     ;
}

/*****************
     CHILD - PAGE
*****************/
.child-pages-grid {
     display: grid;
     gap: 1.2rem;
}

.child-pages-cols-1 {
     grid-template-columns: 1fr;
}

.child-pages-cols-2 {
     grid-template-columns: repeat(2, 1fr);
}

.child-pages-cols-3 {
     grid-template-columns: repeat(3, 1fr);
}

.child-pages-cols-4 {
     grid-template-columns: repeat(4, 1fr);
}

.child-page-item {
     padding: 0.6rem 1rem;
     background: var(--zelena);
     color: var(--light) !important;
}

.child-page-item a,
.child-page-item a:hover {
     color: var(--light) !important;
}

.child-page-item a .dashicons.dashicons-open-folder {
     color: var(--light) !important;
}

.child-page-link {
     text-decoration: none;
     color: var(--modra);
}

.child-page-thumb img {
     display: block;
     width: 100%;
     height: auto;
     border-radius: 8px;
}

.child-page-title {
     margin: 0.6rem 0 0.2rem;
     font-size: 1.1rem;
}

.child-page-excerpt {
     font-size: 0.95rem;
     opacity: 0.9;
}

.child-page-title .dashicons {
     font-size: 1.1em;
     margin-top: 4px;
     margin-right: 6px;
     color: var(--zelena);
}

/* Výchozí: mobil (1 sloupec) */
.child-pages-grid.child-pages-cols-3 {
  grid-template-columns: 1fr;
}

/* Tablet ~≥ 640px: 2 sloupce */
@media (min-width: 640px) {
  .child-pages-grid.child-pages-cols-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Desktop ~≥ 960px: 3 sloupce */
@media (min-width: 960px) {
  .child-pages-grid.child-pages-cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/*****************
     CALENDAR
*****************/

.sme-cal-bar button {}

.sme-cal-bar .sme-nav {
     color: var(--text);
}

.sme-cal-title {
     color: var(--light);
}

/******************************/

.big-list .akt-title,
.big-list .ud-title,
.big-list .orz-list__item a {
     font-size: 160% !important;
}

.elementor-3989 .elementor-element.elementor-element-0281934 .ova-menu-footer .menu li.current-menu-item>a {
     color: var(--zelena) !important;
}

.mik-sekce {
     padding-top: 3rem;
     padding-bottom: 3rem;
}

.fg-cat-select {
     width: 300px !important;
}

.wpcf7 form.sent .wpcf7-response-output {
     color: var(--zelena);
}

select:not([size]):not([multiple]) {
     padding: 20px 30px;
}

.form-newsletter {
     display: flex;
     align-items: stretch;
     /* stejné výšky */
     gap: .75rem;
     /* mezera mezi polem a tlačítkem */
     flex-wrap: nowrap;
}

/* pole e-mailu roztáhnout */
.form-newsletter .mail {
     flex: 1 1 auto;
}

/* CF7 obvykle vkládá wrap span – držet to jako blok a roztáhnout input */
.form-newsletter .mail label,
.form-newsletter .mail .wpcf7-form-control-wrap {
     display: block;
}

.form-newsletter .mail input[type="email"] {
     width: 100%;
     box-sizing: border-box;
     height: 44px;
     padding: 1.6rem;
     /* dolaď dle designu */
}

/* tlačítko držet na obsah */
.form-newsletter .btn {
     flex: 0 0 auto;
}

.form-newsletter .btn .wpcf7-submit,
.form-newsletter .btn button {

     /* sladit s inputem */
     padding: 1rem;
     display: inline-flex;
     align-items: center;
     white-space: nowrap;
}

.form-newsletter .btn {
     padding: 0;
}

.form-newsletter button {

     margin-top: -2px;
     background-color: var(--modra);
}

.form-newsletter p {
     margin-bottom: 0;
}

.form-newsletter ~ .wpcf7-response-output {
     color: var(--light) !important;
     border-color: var(--light) !important;
     margin: 1rem 0 0 0 !important;
}

.form-newsletter .wpcf7-spinner {
     position: absolute;
     right: 20px;
     top: -30px;
}

.sme-events-empty{
     background-color: #fff;
     padding:1rem;
}

.cmplz-btn.cmplz-manage-consent{
     display: none;
}

/* mobil: pod sebe a tlačítko na 100 % */
@media (max-width: 600px) {
     .form-newsletter {
          flex-direction: column;
     }

     .form-newsletter .btn .wpcf7-submit,
     .form-newsletter .btn button {
          width: 100%;
     }
}