/**
Theme Name: Astra Child
Author: Pointus
Author URI: https://pointus.cz/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

:root {
  --dark-blue-hover: #0B253C;
}

@media screen and (max-width:767px) {.hide-on-mobile{display:none;}}
@media screen and (min-width:768px) {.hide-on-tablet-desktop{display:none;}}
@media screen and (max-width:1024px) {.hide-on-tablet{display:none;}}
@media screen and (min-width:1025px) {.hide-on-desktop{display:none;}}

.mb-30 {
    margin-bottom: 30px !important;
}

.mb-60 {
    margin-bottom: 60px !important;
}

.mw-1200 {
    max-width: 1200px;
    margin: 0 auto !important;
}

.mw-1100 {
    max-width: 1100px;
    margin: 0 auto !important;
}

.mw-1000 {
    max-width: 1000px;
    margin: 0 auto !important;
}

.mw-800 {
    max-width: 800px;
    margin: 0 auto !important;
}

.btn {
    border-radius: 8px;
    font-weight: 400;
    transition: 0.25s ease;
}

.ast-container #primary {
    padding: 0;
}

@media (min-width: 1200px) {
    .ast-container #primary {
        margin-top: 60px;
        margin-bottom: 60px;
    }
}

@media (max-width:1199px) {
    .ast-plain-container.ast-no-sidebar #primary {
    margin-top: 30px;
    margin-bottom: 30px;
}

    .ast-container #primary {
    margin-top: 30px;
    margin-bottom: 30px;
}
}

@media screen and (min-width:1025px) {
    #content {
    margin-bottom: 60px;
}
    .home #content {
        margin-bottom: 100px;
    }
}

/* Header */
@media (min-width:1025px) {
    .ast-header-break-point .ast-icon.icon-arrow svg {
        margin-left: 0 !important;
    }
}

.sub-menu a {
    line-height: 1.3em !important;
}

@media (max-width:1024px) {
    .sub-menu a {
    line-height: 2em !important;
}
}

.custom-search-box {
    position: relative;
    width: 300px;
}

@media (max-width:1176px) {
    .custom-search-box {
        width: 250px;
    }
}

.custom-search-input {
    width: 100%;
    border-radius: 12px;
    border: 1px solid var(--wp--preset--color--ast-global-color-1) !important;
    color: var(--wp--preset--color--ast-global-color-1) !important;
    height: unset !important;
    padding: 20px;
}

.custom-search-input::placeholder {
    color: #5C89B5;
}

.custom-search-icon {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    padding: 10px;
    background-color: var(--wp--preset--color--ast-global-color-1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-search-icon img {
    width: 20px;
    height: 20px;
}

@media (max-width: 767px) {
    .custom-search-input {
        height: 60px;
        font-size: 1.4rem;
        padding-left: 24px;
    }

    .custom-search-icon {
        width: 48px;
        height: 48px;
    }
}

header #search-field::placeholder {
    opacity: 0;
}

/* END: Header */

/* Footer */

@media (max-width:1024px) {
	.ast-builder-footer-grid-columns {
		row-gap:20px;	
	}
	.footer-widget-area {
		text-align:center !important;
	}
	.footer-widget-area ul li.icon, .footer-widget-area .email-icon {
		justify-content:center;
	}
}

.footer-widget-area ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-widget-area ul li, .footer-widget-area p, .footer-widget-area section {
    font-weight: 400;
}

.footer-widget-area ul li.icon, .footer-widget-area .email-icon {
    display: flex;
    gap: 5px;
    align-items: center;
}

.footer-widget-area .email-icon a {
    text-decoration: underline;
}

.footer-widget-area .widget_block p {
    margin-bottom: 20px !important;
}

@media (max-width: 1125px) {
    footer .ast-builder-grid-row {
        gap: 30px;
    }

    footer .ast-builder-grid-row aside {
        text-align: center !important;
    }

    .footer-widget-area ul li.icon, .footer-widget-area .email-icon {
        justify-content: center;
    }
}

/* END: Footer */

/* Hero - posts */
.hero-posts {
    margin-bottom: 120px;
}

@media (max-width: 767px) {
    .hero-posts {
    margin-bottom: 60px;
}
}

.hero-grid {
    display: grid;
    grid-template-columns: 577fr 677fr;
    gap: 30px;
}

.hero-item {
    position: relative;
    overflow: hidden;
    border-radius: 25px;
    display: flex;
    justify-content: flex-end;
    flex-direction: column;
}

.hero-item a, .hero-item a:hover {
    color: inherit !important;
}

.hero-main {
    grid-row: 1 / 4;
    grid-column: 1 / 2;
    position: relative;
}

.hero-small {
    aspect-ratio: 3 / 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    border-radius: 25px;
    pointer-events: none;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 1) 100%
    );
}

.hero-content {
    z-index: 10;
    position: relative;
    padding: 30px;
}

.hero-small .hero-content {
    display: grid;
    grid-template-columns: 75% 25%;
    align-items: center;
}

.hero-meta {
    position: absolute;
    top: 30px;
    left: 30px;
    font-size: 0.9rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 6px;
}

.hero-main .hero-meta {
    top: 60px;
}

.hero-meta-icon {
    width: 16px;
    height: 16px;
    color: #fff;
    flex-shrink: 0;
}

.hero-meta .hero-date {
    font-weight: 600;
}

.hero-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
}

.hero-main .hero-title {
    font-size: 1.7rem;
}

.hero-excerpt {
    margin: 20px 0 30px !important;
    color: #fff;
}

.hero-excerpt p {
    margin-bottom: 0 !important;
}

.hero-readmore {
    display: flex;
    justify-content: flex-end;
}

.hero-readmore span {
    display: block;
    padding: 8px 22px;
    border: 1px solid #fff;
    font-size: 14px;
    color: #fff;
    width: fit-content;
    font-weight: 400;
    font-size: 1.1rem;
}

.hero-readmore span:hover {
    background-color: var(--wp--preset--color--ast-global-color-6);
    border-color: var(--wp--preset--color--ast-global-color-6);
    text-shadow: 0 0 1px #fff;
}

@media (max-width: 1200px) {

    .hero-grid {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: auto;
    }

    .hero-main {
        grid-row: auto;
        grid-column: auto;
        aspect-ratio: 3 / 2;
    }

    .hero-small {
        aspect-ratio: 3 / 2;
    }

    .hero-excerpt {
        display: none;
    }

    .hero-main .hero-meta, .hero-meta {
        top: 20px;
        left: 20px;
    }

     .hero-content {
        grid-template-columns: 1fr !important;
        justify-items: end;
        padding: 20px;
    }

    .hero-readmore {
        justify-content: flex-end;
        margin-top: 10px;
    }
}

@media (max-width: 767px) {

    .hero-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
        gap: 20px;
    }

    .hero-main,
    .hero-small {
        aspect-ratio: 3 / 2;
    }    

    .hero-content {
        padding: 20px;
    }
}

/* END: Hero - posts */

/* Headline section */

.headline-section {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap:20px;
}

.home .headline-section {
    margin-bottom: 60px;
}

@media screen and (min-width:768px) {
    .archive .headline-section {
        margin-bottom: 120px;
    }
}

.headline-section.pattern {
    position: relative;
    width: 100%;
    padding: 60px 0;
    background-image: url('/wp-content/themes/astra-child/img/pattern-blue.svg');
    background-repeat: repeat;
    background-size: contain;
    background-position: center;
    border-radius: 18px;
}

.headline-title {
    margin: 0;
    text-align: center;
    color: var(--ast-global-color-2);
}

.headline-section.pattern .headline-text {
    background: #fff;
    padding: 10px 30px;
    border-radius: 12px;
    display: inline-block;
}

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

.underline-word {
    position: relative;
    display: inline-block;
    padding-bottom: 8px;
}

.underline-word::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 12px;
    background-image: url('/wp-content/themes/astra-child/img/underline-1.svg');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: bottom left;
    pointer-events: none;
}

@media screen and (max-width:767px) {
    .headline-section {
        margin: 60px 0;
    }
}

/* END: Headline section */

/* Featured posts */

.featured-posts {
    margin-bottom: 120px !important;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.featured-grid.cols-5 {
    grid-template-columns: repeat(5, 1fr);
}

@media (max-width: 1200px) {
    .featured-grid, .featured-grid.cols-5 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .featured-posts {
        margin-bottom: 60px !important;
    }
}

@media (max-width: 767px) {
    .featured-grid, .featured-grid.cols-5 {
        grid-template-columns: 1fr;
        gap:60px;
    }
}

.featured-item {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.featured-title {
    margin: 10px 0 15px;
}

.featured-readmore {
    margin-top: auto;
}

.featured-readmore a {
    display: inline-block;
    padding: 8px 25px;
    background-color: var(--ast-global-color-6);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 400;
}

.featured-readmore a:hover {
background-color: var(--wp--preset--color--ast-global-color-7);
text-shadow: 0 0 1px #fff;
}

.featured-image {
    position: relative;
}

.featured-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 11px;
}

@media (min-width:1201px) {
    .home .featured-image img {
        max-width: 250px;
    }
}

.featured-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: #fff;
    position: absolute;
    bottom: 10px;
    left: 15px;
}

.featured-date {
    font-weight: 600;
}

.featured-posts .tag-section-header {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.featured-posts .tag-section-header .tag-section-description p:last-child {
    margin-bottom: 0;
}

/* END: Featured posts */

/* GOTO Button */

.goto-btn {
    text-align: center;
    margin-top: 60px;
    transition: 0.25s ease;
}

.goto-btn:hover {
    transform: scale(1.1);
    transition: 0.25s ease;
}

.goto-btn a {
    background-color: var(--ast-global-color-2);
    color: #fff;
    font-size:1.5rem;
    font-weight: 400;
    padding: 8px 45px;
}

.goto-btn a:hover {
    background-color: var(--dark-blue-hover);
    text-shadow: 0 0 1px #fff;
}

/* END: GOTO Button */

/* Search block */

.search-block {
    position: relative;
    background-color: var(--ast-global-color-2);
    background-image: url('/wp-content/themes/astra-child/img/hp-search-block-bg.webp');
    background-size: cover;
    background-position: center;
    border-radius: 28px;
    padding: 70px 20px;
    margin: 120px 0;
    overflow: hidden;
}

.search-block-inner {
    text-align: center;
}

.search-block h2 {
    color: #fff;
    margin-bottom: 10px;
}

.search-block-subtitle {
    color: #fff;
    margin-bottom: 30px;
}

.search-block form {
    display: flex;
    justify-content: center;
    max-width: 500px;
    margin: 0 auto;
    position: relative;
}

.search-block form input {
    width: 100%;
    padding: 25px 12px;
    border-radius: 12px;
    border: 1px solid #fff;
    background: transparent;
    color: #fff;
    font-size: 1.1rem;
}

.search-block form input::placeholder {
    color: rgba(255, 255, 255, 0.8);
}

.search-block form button {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border: none;
    border-radius: 12px;
    width: 36px;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: 0.25s;
    padding: 0;
}

.search-block form button:hover {
    background: var(--ast-global-color-6);
}

@media screen and (max-width:1024px) {
    .search-block {
        background-position: center left;
    }
}

/* END: Search block */

/* HP Psi plemena */

.psi-plemena {
    background-color: #7bb8e9;
    background: url("/wp-content/themes/astra-child/img/hp-psi-plemena-bg.webp");
    background-size: cover;
    background-position: right center;
    border-radius: 28px;
    padding: 120px 50px;
    margin: 80px 0;
    overflow: hidden;
}

.psi-plemena-content {
    max-width: 420px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.psi-plemena-content h2 {
    font-size: 1.7rem;
    color: #fff;
}

.psi-plemena-content p {
    color: #fff;
    margin-bottom: 0;
}

.psi-plemena .btn {
    padding: 8px 25px;
    background-color: var(--ast-global-color-6);
    color: #fff !important;
    width: fit-content;
}

.psi-plemena .btn:hover {
    text-shadow: 0 0 1px #fff;
    transform: scale(1.1);
}

@media (max-width: 1280px) {
    .psi-plemena {
        flex-direction: column;
        text-align: center;
        padding: 60px 20px;
        background: none;
        background-color: #6192BC;
    }

    .psi-plemena-content {
        max-width: 100%;
        align-items: center;
    }
}

.psi-plemena-featured {
	margin-bottom: 120px;
}

/* END: HP Psi plemena */

/* HP O nas */

.hp-o-nas {
    width: 100%;
    padding: 40px;
    border-radius: 28px;
    background: linear-gradient(
        to right,
        #ffffff 0%,
        #f8fcff 100%
    );

    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 100px;
    align-items: center;
    position: relative;
}

@media (min-width: 1025px) {
    .hp-o-nas .o-nas-img {
    margin-bottom: -80px;
}
}

.hp-o-nas .o-nas-img img {
    width: 100%;
    border-radius: 28px;
}

.hp-o-nas .o-nas-content {
    display: flex;
    flex-direction: column;
    gap:30px;
}

.hp-o-nas .o-nas-content h2 {
    color: var(--ast-global-color-6);
}

.hp-o-nas .o-nas-content p {
    margin-bottom: 0;
}

.hp-o-nas .btn {
    background: var(--ast-global-color-6);
    color: #fff;
    padding: 8px 25px;
    width: fit-content;
    font-size: 1.5rem;
}

.hp-o-nas .btn:hover {
    text-shadow: 0 0 1px #fff;
    transform: scale(1.1);
}

@media (max-width: 1024px) {
    .hp-o-nas {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
        padding: 20px;
    }

    .hp-o-nas .o-nas-content {
        align-items: center;
    }
}

/* END: HP O nas */

/* Footer */

.ast-footer-copyright {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ast-footer-copyright hr {
    width: 50%;
    background-color: var(--ast-global-color-2);
}

/* END: Footer */

/* Pagination */

@media (min-width: 768px) {
    .ast-pagination {
        padding-top: 120px;
}
}

.ast-pagination a:hover, .ast-pagination a:focus, .ast-pagination > span:hover:not(.dots) {
    color: var(--dark-blue-hover);
}

@media (max-width: 518px) {
    .prev.page-numbers, .next.page-numbers {
        display: block !important;
        float: none !important;
    }

    .prev.page-numbers {
        margin-bottom: 10px;
    }

    .next.page-numbers {
        margin-top: 10px;
    }
}

/* END: Pagination */

/* Single post */
.single-post article .post-thumb img {
    border-radius: 25px;
}

.single-post article .post-date {
    font-weight: 600;
}

.post-navigation {
    display: none;
}

.author-box {
    margin: 30px 0;
}

.single-post .featured-posts {
    margin-top: 60px;
}

@media (max-width:1024px) {
    .single-post .featured-posts {
    padding: 0 10px;
}
}

.author-box-inner {
    display: flex;
    gap: 20px;
    align-items: center;
}

.author-box-inner .author-avatar img {
    width: 50px;
    border-radius: 28px;
}

@media (max-width: 1024px) {
    .author-box-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
        padding: 20px;
    }
}

@media (min-width: 768px) {
    .single-post article {
    padding: 0 !important;
}
    .single-post article .post-thumb {
        margin-bottom: 60px !important;
    }
}

@media (max-width: 767px) {
    .single-post article {
        padding-top: 0 !important;
    }
    
    .single-post article .post-thumb img {
        aspect-ratio: 4/2 !important;
    }
}

.single-post #comments {
    background: linear-gradient(
        to top,
        #ffffff 0%,
        #f8fcff 100%
    );
    border-radius: 28px;
    padding: 60px;
}

.single-post #comments #disqus_thread {
    max-width: 800px;
    margin: 0 auto;
}

@media (max-width: 767px) {
    .single-post #comments {
    padding: 40px 20px;
}
}

/* Hero text and image */

.hero-text-image {
    width: 100%;
    margin-bottom: 120px;
}

.hero-text-image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 120px;
    align-items: center;
}

.hero-text-image-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.hero-text-image-content h1 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 400;
    text-transform: uppercase;
    color: rgba(19, 52, 81, 0.5);;
}

.hero-text-image-content h2 {
    margin: 0;
}

.hero-text-image-text {
    font-weight: 400;
}

.hero-text-image-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
    object-fit: cover;
}

@media (max-width: 1024px) {
    .hero-text-image-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
}

@media (max-width: 767px) {
    .hero-text-image {
    margin-bottom: 60px;
}
}

/* END: Hero text and image */

/* O nas - kdo jsme */
.page-o-nas .underline-word::after {
    background-image: url('/wp-content/themes/astra-child/img/underline-2.svg');
}

.category .tag-section .underline-word::after {
    background-image: url('/wp-content/themes/astra-child/img/underline-3.svg');
}

.o-nas-kdo-jsme {
    margin-bottom: 120px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.o-nas-kdo-jsme .section-title {
    text-align: center;
}

.kdo-jsme-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.kdo-jsme-grid p {
    margin: 0;
}

.kdo-jsme-signature {
    margin-top: 20px;
}

.kdo-jsme-signature strong {
    font-family: 'Allison', cursive;
    font-weight: 400;
    font-style: normal;
    font-size: 2.8rem;
}

.kdo-jsme-signature span {
    font-size: 0.9rem;
    display: block;
    margin-top: 10px;
}

.kdo-jsme-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.kdo-jsme-images img {
    aspect-ratio: 4 / 2;
    border-radius: 12px;
    object-fit: cover;
}

@media (max-width: 1024px) {
    .o-nas-kdo-jsme {
        gap: 30px;
    }
    
    .kdo-jsme-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .kdo-jsme-text {
        text-align: center;
    }

    .kdo-jsme-images {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .kdo-jsme-signature {
        text-align: center;
    }

    .kdo-jsme-signature strong {
        font-size: 36px;
    }
}

@media (max-width: 767px) {
    .o-nas-kdo-jsme {
    margin-bottom: 60px;
}
}

/* END: O nas - kdo jsme */

/* O nas - citat */

.o-nas-citat {
    margin-bottom: 120px;
    padding: 60px 80px;
    background: var(--ast-global-color-6);
    border-radius: 28px;
    text-align: center;
    position: relative;
}

.o-nas-citat blockquote {
    margin: 0;
    padding: 0;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    border: none;
    display: flex;
    flex-direction: column;
    gap: 30px;
    font-style: normal;
    line-height: 1.3em;
}

.o-nas-citat blockquote::before, .o-nas-citat blockquote::after {
    content: none;
}

.o-nas-citat blockquote p {
    margin: 0;
}

.o-nas-citat cite {
    display: block;
    font-size: 1.1rem;
    font-weight: 300;
    font-style: normal;
}

@media (max-width: 1024px) {
    .o-nas-citat {
        padding: 40px 24px;
    }

    .o-nas-citat blockquote {
        
    }
}

@media (max-width: 767px) {
    .o-nas-citat {
    margin-bottom: 60px;
}
}

/* END: O nas - citat */

/* O nas - medailonek */

.o-nas-medailonek {
    margin: 120px 0;
}

.medailonek-grid {
    display: grid;
    grid-template-columns: 500fr 740fr;
    gap: 40px;
    align-items: center;
}

#medailonek .medailonek-grid:not(first-child) {
	margin-top:60px;
}

.medailonek-image img {
    width: 100%;
    border-radius: 24px;
}

.medailonek-content {
    background: linear-gradient(
        to right,
        #ffffff 0%,
        #f8fcff 100%
    );
    padding: 40px 20px;
    border-radius: 28px;
}

@media (max-width:1024px) {
	.medailonek-content {
		padding:0;
		background:none;
}
}

.medailonek-name {
    font-size: 2rem;
    margin-bottom: 16px;
    color: #8B4E2E;
}

.medailonek-text {
    font-size: 1rem;
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .medailonek-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
}
/* END: O nas - medailonek */

/* O nas - poslani */

.o-nas-poslani {
    margin-bottom: 120px;
}

.o-nas-poslani .section-title {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 400;
    color: rgba(19, 52, 81, 0.5);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.poslani-text {
    font-size: 1.4rem;
    margin-bottom: 60px;
    text-align: center;
}

.poslani-text p {
    margin: 0;
    line-height: 1.3em;
}

.poslani-icons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.poslani-icon-box {
    display: flex;
    gap: 20px;
    padding: 32px;
    background: #F8FCFF;
    border: 1px solid #6192BC;
    border-radius: 16px;
    align-items: flex-start;
}

.poslani-icon-box img {
    width: 38px;
    height: 38px;
    background: #6192BC;
    padding: 10px;
    border-radius: 10px;
}

.poslani-icon-box-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.poslani-icon-box p {
    margin: 0;
}

@media (max-width: 1024px) {
    .poslani-icons {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .poslani-icon-box {
        padding: 24px;
    }
}

@media (max-width: 767px) {
    .o-nas-poslani {
        margin-bottom: 60px;
    }

    .poslani-text {
        margin-bottom: 30px;
    }
}

/* END: O nas - poslani */

/* O nas - spolupracujeme */

.o-nas-spoluprace {
    margin-bottom: 120px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

@media (max-width:1024px) {
    .o-nas-spoluprace {
    gap: 20px;
}
}

.o-nas-spoluprace .section-title {
    text-align: center;
}

/* END: O nas - spolupracujeme */

/* O nas - jak pomoct */

.o-nas-jak-pomoct {
    margin-bottom: 120px;
}

.o-nas-jak-pomoct .section-title {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 400;
    color: rgba(19, 52, 81, 0.5);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.o-nas-jak-pomoct .jak-pomoct-text {
    font-size: 1.4rem;
    margin-bottom: 60px;
    text-align: center;
}

.o-nas-jak-pomoct .jak-pomoct-text p {
    margin: 0;
    line-height: 1.3em;
}

.jak-pomoct-icons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 80px;
}

.jak-pomoct-icon-box {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: center;
    justify-content: center;
    align-items: center;
}

.jak-pomoct-icon-box img {
    width: 74px;
    height: 74px;
    background: #6192BC;
    padding: 20px;
    border-radius: 17px;
}

.poslani-icon-box p {
    margin: 0;
}

@media (max-width: 1024px) {
    .jak-pomoct-icons {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 767px) {
    .o-nas-jak-pomoct {
        margin-bottom: 60px;
    }

    .jak-pomoct-text {
        margin-bottom: 30px;
    }
}

/* END: O nas - poslani */

/* Globální sekce - partner */

.partner-global-inner {
    display: grid;
    grid-template-columns: 500fr 740fr;
    gap: 40px;
    align-items: center;
}

.partner-global-image img {
    width: 100%;
    height: auto;
    border-radius: 25px;
    object-fit: cover;
}

.partner-global-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.partner-global-title {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 700;
}

.partner-global-text {
    margin-bottom: 20px;
}

.partner-global-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.partner-global-meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.partner-global-meta-item a {
    color: inherit;
    text-decoration: none;
}

.partner-global-meta-item a:hover {
    color: var(--ast-global-color-1);
}

@media (max-width: 1024px) {
    .partner-global-inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .partner-global-content {
        text-align: center;
    }

    .page-o-nas .partner-global-content {
        order:-1;
    }
    
    .partner-global-meta {
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .partner-global-meta {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }
}

/* END: Globální sekce - partner */

/* ===========================
   Psi plemeno - single
   =========================== */

.single-plemeno, body.category {
    padding: 0 10px;
}

.plemeno-hero {
    position: relative;
    margin-bottom: 80px;
    text-align: center;
}

.plemeno-hero-image img {
    width: 100%;
    aspect-ratio: 2 / 1;
    object-fit: cover;
    border-radius: 16px;
    display: block;
}

.plemeno-title {
    position: absolute;
    left: 50%;
    bottom: -32px;
    transform: translateX(-50%);
    background: #fff;
    padding: 20px 40px;
    border-radius: 12px;
    font-size: 2.1rem;
    z-index: 2;
    min-width: 50%;
}

@media (max-width: 1024px) {
    .plemeno-hero-image img {
        aspect-ratio: 2/1;
    }

    .plemeno-title {
        padding: 14px 28px;
        bottom: -24px;
    }
}

@media (max-width: 767px) {
    .plemeno-hero {
        margin-bottom: 40px;
    }

    .plemeno-title {
        width: 100%;
        position: relative;
        padding: 0;
        background: none;
    }
}

.plemeno-taxonomy-table {
    display: grid;
    gap: 6px;
    margin: 0 auto 80px;
    max-width: 800px;
}

.plemeno-taxonomy-row {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 20px;
    padding: 12px 40px;
    border-radius: 6px;
}

.plemeno-taxonomy-row:nth-child(odd) {
    background: #F8FCFF;
}

.plemeno-taxonomy-row:nth-child(even) {
    background: #fff;
}

.taxonomy-label {
    font-weight: 700;
}

.taxonomy-value {
    font-weight: 400;
}

@media (max-width: 767px) {
    .plemeno-taxonomy-table {
        margin-bottom: 60px;
    }

    .plemeno-taxonomy-row {
        grid-template-columns: 1fr;
        gap: 4px;
        padding: 12px 14px;
    }

    .taxonomy-label {
        font-size: 0.85rem;
        opacity: 0.75;
    }

    .taxonomy-value {
        font-size: 1rem;
    }
}

.plemeno-section {
    margin-bottom: 80px;
}

.plemeno-section h2 {
    margin-bottom: 20px;
}

.plemeno-section.has-image .plemeno-section-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.plemeno-section-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
    object-fit: cover;
}

.plemeno-content > section.has-image.is-odd .plemeno-section-text {
    order: 2;
}

.plemeno-content > section.has-image.is-odd .plemeno-section-image {
    order: 1;
}

.plemeno-content > section.has-image.is-even .plemeno-section-text {
    order: 1;
}

.plemeno-content > section.has-image.is-even .plemeno-section-image {
    order: 2;
}

.plemeno-content .plemeno-section-text ul {
    margin: 0 0 1.5em 1.5em;
}

@media (max-width: 1024px) {
    .plemeno-section {
        margin-bottom: 60px;
    }
    
    .plemeno-section.has-image .plemeno-section-inner {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .plemeno-section.has-image .plemeno-section-image {
        order: 1;
    }

    .plemeno-section.has-image .plemeno-section-text {
        order: 2;
    }
}

@media (max-width: 767px) {
    .plemeno-section {
        margin-bottom: 40px;
    }
}

.plemeno-zajimavosti ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.plemeno-zajimavosti li {
    background: #f4faff;
    border-radius: 8px;
    padding: 15px;
    display: flex;
    flex-direction: column;
}

.plemeno-zajimavosti li h3 {
    font-size: 1.1rem;
}

@media (max-width: 1024px) {
    .plemeno-zajimavosti ul {
        gap: 20px;
    }

    .plemeno-zajimavosti ul li {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .plemeno-zajimavosti {
        margin: 60px auto;
    }

    .plemeno-zajimavosti ul {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .plemeno-zajimavosti li {
        padding: 18px 20px;
    }
}

.plemeno-pro-nepro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 80px 0;
}

.plemeno-list {
    background: #F8FCFF;
    padding: 60px 80px;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.plemeno-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.plemeno-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
}

.plemeno-list.is-positive li::before {
    content: "\2714";
    position: absolute;
    left: 0;
}

.plemeno-list.is-negative li::before {
    content: "\2716";
    position: absolute;
    left: 0;
}

@media (max-width: 1024px) {
    .plemeno-pro-nepro {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .plemeno-list {
        padding: 20px;
    }
}


/* ===== C I T Á T ===== */

.plemeno-citat {
    position: relative;
    margin-top: 120px;
    padding: 60px 20px;
    background: #F8FCFF;
    border-radius: 6px;
    text-align: center;
}

.plemeno-citat h3 {
    margin: 0 0 20px;
    font-size: 2.1rem;
}

.citat-text {
    font-weight: 400;
}

.citat-text p {
    margin-bottom: 0;
}

.plemeno-citat::before {
    content: "";
    position: absolute;
    top: -64px;
    left: 32px;
    width: 106px;
    height: 134px;
    background: url("/wp-content/themes/astra-child/img/quote-left.svg")
        no-repeat center / contain;
}

.plemeno-citat::after {
    content: "";
    position: absolute;
    bottom: -64px;
    right: 32px;
    width: 106px;
    height: 134px;
    background: url("/wp-content/themes/astra-child/img/quote-right.svg")
        no-repeat center / contain;
}

@media (max-width: 1024px) {
    .plemeno-citat {
        padding: 40px 56px;
    }

    .plemeno-citat::before, .plemeno-citat::after {
        width: 77px;
        height: 97px;
    }

    .plemeno-citat::before {
        top:-44px;
    }

    .plemeno-citat::after {
        bottom: -44px;
    }
}

@media (max-width: 767px) {
    .plemeno-citat {
        margin: 60px auto;
        padding: 40px 30px;
    }

    .plemeno-citat h3 {
        font-size: 1.5rem;
    }

    .plemeno-citat::before,
    .plemeno-citat::after {
        width: 28px;
        height: 28px;
    }

    .plemeno-citat::before {
        top: 16px;
        left: 16px;
    }

    .plemeno-citat::after {
        bottom: 16px;
        right: 16px;
    }
}

/* ===========================
   END: Psi plemeno - single
   =========================== */


/* ===========================
Psi plemeno - archive
=========================== */
.archive-plemeno {
    padding: 0 10px !important;
}

.archive-plemeno .headline-section.fp {
    margin-bottom: 60px;
}

@media screen and (max-width: 767px) {
    .archive-plemeno .headline-section.fp {
        margin-bottom: 30px;
    }
}

.archive-plemeno .plemeno-search {
    display: flex;
    flex-direction: column;
    gap: 30px;
    text-align: center;
    margin-bottom: 60px;
}

.plemeno-search-bar {
    position: relative;
    width: 640px;
    margin: 0 auto;
}

@media (max-width: 1024px) {
    .plemeno-search-bar {
    width: 100%;
}
}

#plemeno-search-input {
    width: 100%;
    padding: 30px 20px;
    border-radius: 10px;
    border: 1px solid var(--wp--preset--color--ast-global-color-1);
}

#plemeno-search-input::placeholder {
    color: var(--wp--preset--color--ast-global-color-1);
}

.plemeno-search-icon {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background-color: #5b8fc2;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor:pointer;
}

.plemeno-search-icon::before {
    content: "";
    width: 20px;
    height: 20px;
    background-image: url('/wp-content/themes/astra-child/img/search.svg');
    background-size: contain;
    background-repeat: no-repeat;
}

.plemeno-output {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 40px;
    margin-bottom: 120px;
}

.plemeno-filters-toggle {
    display: none;
}

#plemeno-filter-form {
    background: linear-gradient(
        to top,
        #ffffff 0%,
        #f8fcff 100%
    );
    border-radius: 28px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

@media (max-width:1024px) {
    .plemeno-filters-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 20px;
        border-radius: 10px;
        background: var(--wp--preset--color--ast-global-color-1);
        font-size: 1rem;
        cursor: pointer;
        color: #fff !important;
    }

    .plemeno-filters-toggle[aria-expanded="true"] {
        background: var(--wp--preset--color--ast-global-color-2);
    }

    /* šipka */
    .plemeno-filters-toggle .chevron {
        width: 10px;
        height: 10px;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        transform: rotate(45deg);
        transition: transform .25s ease;
    }

    .plemeno-filters-toggle[aria-expanded="true"] .chevron {
        transform: rotate(-135deg);
    }

    /* Filtry sbalené */
    .plemeno-filters {
        display: none;
    }

    .plemeno-filters.is-open {
        display: block;
    }
}

@media (min-width:1025px) {
    #plemeno-filter-form > * + * {
    position: relative;
    padding-top: 30px;
}

    #plemeno-filter-form > * + *::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 1px;
        background-color: var(--wp--preset--color--ast-global-color-1);
    }
}

.plemeno-filter-group h4 {
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.plemeno-filter-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    cursor: pointer;
    margin-bottom: 8px;
}

#plemeno-results.plemeno-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.plemeno-card {
    background-color: #F8FCFF;
    padding: 15px;
    border-radius: 12px;
}

.plemeno-card-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
}

.plemeno-card img {
    border-radius: 11px;
    width: 100%;
}

.plemeno-card h3 {
    font-size: 1.1rem;
}

.plemeno-card .short-desc {
    font-size: 0.9rem;
    line-height: 1.3em;
}

.plemeno-card .read-more {
    margin-top: auto;
    color:var(--wp--preset--color--ast-global-color-6);
    text-decoration: underline;
}

.plemeno-card .read-more:hover {
    text-shadow: 0 0 1px var(--wp--preset--color--ast-global-color-6);
    color:var(--wp--preset--color--ast-global-color-6);
}

#plemeno-pagination {
    margin-top: 40px;
    text-align: center;
	display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

#plemeno-pagination button {
    background: none;
    border: none;
    margin: 0 4px;
    cursor: pointer;
    font-size: 0.9rem;
	color:var(--ast-global-color-2);
}

#plemeno-pagination button.active {
    font-weight: 700;
    text-decoration: underline;
}

@media (max-width: 1024px) {
    #plemeno-filter-form {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    
    .plemeno-output {
        grid-template-columns: 1fr;
        margin-bottom: 60px;
    }

    #plemeno-results.plemeno-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    #plemeno-filter-form {
        grid-template-columns: 1fr;
    }
    
    #plemeno-results.plemeno-grid {
        grid-template-columns: 1fr;
    }
}

/* ===========================
END: Psi plemeno - archive
=========================== */


/* ===========================
Pes adopce - single
=========================== */
.pes-adopce {
    padding: 0 10px;
}

.pes-adopce-about {
    display: flex;
    flex-direction: column;
    gap:30px;
    margin-bottom: 120px;
}

.pes-adopce-about .text p:last-of-type {
    margin-bottom: 0;
}

@media (min-width:1025px) {
    .pes-adopce-about {
    margin-bottom: 60px;
}
}

@media (max-width:1024px) {
    .pes-adopce-about h2 {
    text-align: center;
    font-size: 1.5rem;
}
}

@media (max-width:767px) {
    .pes-adopce-about {
    margin-bottom: 60px;
}
}

.o-nas-spoluprace-text {
    text-align: center;
}

@media (min-width:1025px) {
    .o-nas-spoluprace-text {
    margin-bottom: 30px;
}
}

.pes-adopce-galerie {
    margin: 120px 0;
}

@media (max-width:1024px) {
    .pes-adopce-galerie {
        margin: 60px 0;
    }
}

.pes-adopce-galerie-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.pes-adopce-galerie-item {
    flex-grow: 0;
    flex-shrink: 0;
}

.pes-adopce-galerie-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    display: block;
}

@media screen and (min-width: 1025px) {

    .pes-adopce-galerie-item:nth-child(6n + 1) {
        flex-basis: calc(27% - (20px * 2 / 3));
    }

    .pes-adopce-galerie-item:nth-child(6n + 2) {
        flex-basis: calc(33% - (20px * 2 / 3));
    }

    .pes-adopce-galerie-item:nth-child(6n + 3) {
        flex-basis: calc(40% - (20px * 2 / 3));
    }

    .pes-adopce-galerie-item:nth-child(6n + 4) {
        flex-basis: calc(33% - (20px * 2 / 3));
    }

    .pes-adopce-galerie-item:nth-child(6n + 5) {
        flex-basis: calc(40% - (20px * 2 / 3));
    }

    .pes-adopce-galerie-item:nth-child(6n) {
        flex-basis: calc(27% - (20px * 2 / 3));
    }
}

@media (max-width: 1024px) {
    .pes-adopce-galerie-item {
        flex-basis: calc(50% - 10px);
    }
}

@media (max-width: 767px) {
    .pes-adopce-galerie-item {
        flex-basis: 100%;
    }
}

.pes-adopce-related {
    margin-top: 120px;
}

.pes-adopce-related h2 {
    text-align: center;
}

.pes-adopce-related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.pes-adopce-related-cta .btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 8px;
}

@media (max-width: 1024px) {
    .pes-adopce-related {
    margin-top: 60px;
}

    .pes-adopce-related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .pes-adopce-related-grid {
        grid-template-columns: 1fr;
    }
}

.pes-adopce-card {
    background: #F8FCFF;
    border-radius: 16px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 100%;
}

@media (max-width: 1024px) {
    .pes-adopce-card {
    padding: 32px 16px;
}
}

.pes-adopce-card-image img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
}

.pes-adopce-card-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pes-adopce-card-content h3 {
    font-size: 1.1rem;
}

.pes-adopce-card-content .desc {
    font-size: 0.9rem;
    line-height: 1.3em;
}

.pes-adopce-card .read-more {
    margin-top: auto;
    font-size: 1.1rem;
    text-decoration: underline;
    color: var(--wp--preset--color--ast-global-color-6);
}

.goto-btn.orange .btn {
    background-color: var(--wp--preset--color--ast-global-color-6);
}

/* ===========================
END: Pes adopce - single
=========================== */

/* ===========================
Pes adopce - archive
=========================== */
.archive-pes_adopce {
    padding: 0 10px !important;
}

@media (max-width:1024px) {
    .archive-pes_adopce .hero-text-image-image {
        display: none;
}
}

.pes-adopce-archive {
    margin-bottom: 120px;
}

.pes-adopce-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

@media (max-width: 1024px) {
    .pes-adopce-archive {
    margin-bottom: 60px;
    }

    .pes-adopce-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .pes-adopce-grid {
        grid-template-columns: 1fr;
    }
}

/* ===========================
END: Pes adopce - archive
=========================== */

/* ===========================
Search results
=========================== */

.search-results .featured-posts {
    margin: 120px 0;
}

@media (max-width:1024px) {
    .search-results .featured-posts {
    margin: 60px 0;
}
}

/* ===========================
END: Search results
=========================== */

/* ===========================
Category
=========================== */

@media screen and (max-width: 767px) {
    body.category .headline-section, body.tag .headline-section {
        margin-top: 0;
    }
}

/* ===========================
END: Category
=========================== */