/*
Theme Name: design Child
Template: design
Description: design pro web child
Author: HOTdesign
Author URI: 
Version: 2024/1
*/



/* ============================================
   ALNUS TIMBER – HLAVNÍ SLIDER
   Desktop: 440px
   Tablet: 380px
   Mobil: 330px
============================================ */

.alnus-slider {
    position: relative;
    width: 100%;
    height: 440px;
    overflow: hidden;
    background: #173522;
    color: #fff;
}


/* Jednotlivé snímky */

.alnus-slider__slides,
.alnus-slider__slide {
    position: absolute;
    inset: 0;
}

.alnus-slider__slide {
    opacity: 0;
    visibility: hidden;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    transition: opacity .65s ease, visibility .65s;
}

.alnus-slider__slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

/* Ztmavení fotografie */

.alnus-slider__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, .76) 0%,
        rgba(0, 0, 0, .45) 36%,
        rgba(0, 0, 0, .05) 80%
    );
}

/* Obsah slideru */

.alnus-slider__inner {
    position: relative;
    z-index: 2;
    max-width: 1240px;
    height: 100%;
    margin: 0 auto;
    padding: 35px 50px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

/* Nadpis z ACF WYSIWYG editoru */

.alnus-slider__title {
    max-width: 750px;
    margin-bottom: 18px;
    color: #fff;
}

.alnus-slider__title h1,
.alnus-slider__title h2,
.alnus-slider__title h3,
.alnus-slider__title p {
    color: #fff;
    margin: 0;
    line-height: 1.08;
    font-weight: 800;
    font-size: clamp(32px, 4vw, 58px);
    letter-spacing: -.025em;
}

.alnus-slider__title p + p {
    margin-top: 3px;
}

.alnus-slider__title strong,
.alnus-slider__title b {
    font-weight: 900;
}

/* Popis */

.alnus-slider__description {
    max-width: 590px;
    margin: 0 0 22px;
    color: #fff;
    font-size: 18px;
    line-height: 1.5;
}

/* Tlačítko */

.alnus-slider__button {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 13px 25px;
    background: #337c22;
    color: #fff !important;
    border-radius: 3px;
    font-size: 14px;
    font-weight: 400 !important;
    text-decoration: none;
    transition: background .2s ease;
    text-transform: uppercase;
}

.alnus-slider__button:hover {
    background: #246017;
    color: #fff !important;
}

/* Šipky */

.alnus-slider__arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    transform: translateY(-50%);
    padding: 8px 15px;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 44px;
    line-height: 1;
    cursor: pointer;
    opacity: .9;
}

.alnus-slider__arrow:hover {
    color: #fff;
    opacity: 1;
}

.alnus-slider__prev {
    left: 10px;
}

.alnus-slider__next {
    right: 10px;
}

/* Navigační tečky */

.alnus-slider__dots {
    display:none
}

.alnus-slider__dot {
  display:none
}

.alnus-slider__dot.is-active {
    background: #fff;
    transform: scale(1.2);
}

/* Tablet */

@media (max-width: 849px) {

    .alnus-slider {
        height: 380px;
    }

    .alnus-slider__inner {
        padding: 30px 45px;
    }

    .alnus-slider__title h1,
    .alnus-slider__title h2,
    .alnus-slider__title h3,
    .alnus-slider__title p {
        font-size: clamp(30px, 5vw, 45px);
    }

    .alnus-slider__description {
        font-size: 16px;
    }

}

/* Mobil */

@media (max-width: 549px) {

    .alnus-slider {
        height: 330px;
    }

    .alnus-slider__inner {
        padding: 25px 38px;
    }

    .alnus-slider__title {
        margin-bottom: 12px;
    }

    .alnus-slider__title h1,
    .alnus-slider__title h2,
    .alnus-slider__title h3,
    .alnus-slider__title p {
        font-size: clamp(26px, 7vw, 36px);
    }

    .alnus-slider__description {
        font-size: 14px;
        line-height: 1.4;
        margin-bottom: 15px;
    }

    .alnus-slider__button {
        padding: 10px 16px;
        font-size: 12px;
    }

    .alnus-slider__arrow {
        font-size: 30px;
        padding: 5px;
    }

    .alnus-slider__prev {
        left: 2px;
    }

    .alnus-slider__next {
        right: 2px;
    }

    .alnus-slider__dots {
        bottom: 12px;
    }

}

/* Omezení animací */

@media (prefers-reduced-motion: reduce) {

    .alnus-slider__slide {
        transition: none;
    }

}


/* ALNUS TIMBER – telefon a e-mail */

.alnus-contact-phone,
.alnus-contact-email {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #fff;
    font-size: 14px !important;
    font-weight: 500;
    text-decoration: none;
}

.alnus-contact-phone:hover,
.alnus-contact-email:hover {
    color: #a6d959;
}

.alnus-contact-phone i,
.alnus-contact-email i {
    font-size: 17px !important;
}
.absolute-footer a  {
    color: #fff !important;
}
.absolute-footer a:hover  {
    color: #b2da70 !important;
}

/* =========================================
   ALNUS TIMBER – ČTYŘI HLAVNÍ SLUŽBY
========================================= */

.alnus-services {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
    padding: 24px 0;
    background: #fff;
}

.alnus-services .alnus-service {
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 0;
    padding: 8px 24px;
    border-right: 1px solid #e8e8e8;
    text-decoration: none;
    transition: background .25s ease;
}

.alnus-services .alnus-service:last-child {
    border-right: none;
}

.alnus-services .alnus-service:hover {
    background: #f6faf5;
}

/* Ikony */

.alnus-services .alnus-service-icon {
    flex: 0 0 68px;
    width: 68px;
    height: 68px;
    color: #20572e;
}

.alnus-services .alnus-service-icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

/* Text */

.alnus-services .alnus-service-content {
    flex: 1;
    min-width: 0;
}

.alnus-services .alnus-service-content h3 {
    margin: 0 0 5px;
    color: #202020;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.3;
}

.alnus-services .alnus-service-bottom {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #555;
    font-size: 14px;
    line-height: 1.4;
}

.alnus-services .alnus-service-arrow {
    margin-left: auto;
    color: #20572e;
    font-size: 22px;
    font-weight: 400;
    transition: transform .2s ease;
}

.alnus-services .alnus-service:hover .alnus-service-arrow {
    transform: translateX(5px);
}

/* Tablet */

@media (max-width: 1100px) {

    .alnus-services {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .alnus-services .alnus-service:nth-child(2) {
        border-right: none;
    }

    .alnus-services .alnus-service:nth-child(-n+2) {
        border-bottom: 1px solid #e8e8e8;
    }

}

/* Mobil */

@media (max-width: 549px) {

    .alnus-services {
        grid-template-columns: 1fr;
        padding: 10px 0;
    }

    .alnus-services .alnus-service {
        padding: 15px 20px;
        border-right: none;
        border-bottom: 1px solid #e8e8e8;
    }

    .alnus-services .alnus-service:last-child {
        border-bottom: none;
    }

    .alnus-services .alnus-service-icon {
        flex-basis: 56px;
        width: 56px;
        height: 56px;
    }

    .alnus-services .alnus-service-content h3 {
        font-size: 14px;
    }

    .alnus-services .alnus-service-bottom {
        font-size: 13px;
    }

}

/* =====================================================
   ALNUS TIMBER – NABÍDKA SLUŽEB
   Shortcode: [alnus_nabidka]
===================================================== */


/* ==================================================
   ALNUS TIMBER – SLUŽBY
   Flatsome + ACF
================================================== */

.alnus-sluzby {
    align-items: stretch;
}

/* Sloupce */
.alnus-sluzby > .col {
    display: flex;
}

.alnus-sluzby > .col > .col-inner {
    display: flex;
    width: 100%;
}

/* Celá klikací karta */
.alnus-sluzby .alnus-sluzby-karta {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    background: #fff;
    border: 1px solid #e2e2e2;
    color: inherit;
    text-decoration: none;
    overflow: hidden;
    transition: border-color .25s ease,
                box-shadow .25s ease;
}

.alnus-sluzby a.alnus-sluzby-karta:hover {
    border-color: #34742b;
    box-shadow: 0 5px 18px rgba(0,0,0,.08);
    color: inherit;
}

/* Fotografie */
.alnus-sluzby .alnus-sluzby-foto {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    flex-shrink: 0;
    background: #eef1eb;
}

.alnus-sluzby .alnus-sluzby-obrazek {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.alnus-sluzby .alnus-sluzby-karta:hover .alnus-sluzby-obrazek {
    transform: scale(1.04);
}

/* Obsah */
.alnus-sluzby .alnus-sluzby-obsah {
    display: flex;
    flex-direction: column;
    flex: 1;
    width: 100%;
    padding: 22px;
    text-align: left;
}

/* Nadpis – 2 řádky */
.alnus-sluzby .alnus-sluzby-nadpis {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    height: 2.8em;
    margin: 0 0 12px;
    color: #222;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

/* Popis – 4 řádky */
.alnus-sluzby .alnus-sluzby-popis {
    font-size: 14px;
    line-height: 1.6;
    height: 6.4em;
    margin: 0 0 20px;
    color: #555;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    line-clamp: 4;
}

/* Tlačítko vždy dole */
.alnus-sluzby .alnus-sluzby-button {
    align-self: flex-start;
    margin-top: auto;
    margin-bottom: 0;
    pointer-events: none;
}

/* Klávesnice */
.alnus-sluzby a.alnus-sluzby-karta:focus-visible {
    outline: 2px solid #34742b;
    outline-offset: 3px;
}

/* ALNUS TIMBER – DOKUMENTY KE STAŽENÍ */

.alnus-dokumenty .alnus-dokument-karta {
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: 105px;
    padding: 20px;
    border: 1px solid #e1e1e1;
    border-radius: 5px;
    background: #fdfdfd;
    color: #222;
    text-decoration: none;
    transition: border-color .2s, box-shadow .2s;
}

.alnus-dokumenty .alnus-dokument-karta:hover {
    border-color: #196430;
    box-shadow: 0 4px 15px rgba(0,0,0,.06);
    color: #222;
}

/* Ikona PDF */
.alnus-dokument-pdf {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 52px;
    color: #196430;
}

.alnus-dokument-pdf i {
    font-size: 34px;
}

.alnus-dokument-pdf small {
    font-size: 13px;
    font-weight: 800;
}

/* Název a velikost */
.alnus-dokument-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.alnus-dokument-info strong {
    font-size: 17px;
    line-height: 1.4;
    font-weight: 700;
}

.alnus-dokument-info small {
    margin-top: 5px;
    font-size: 13px;
    color: #888;
}

/* Ikona vpravo */
.alnus-dokument-stahnout {
    flex-shrink: 0;
    padding-left: 18px;
    border-left: 1px solid #eee;
    color: #196430;
    font-size: 24px;
}

/* ==========================================
   ALNUS TIMBER – INFORMAČNÍ BLOKY DOPRAVY
   Shortcode: [alnus_doprava_bloky]
   ========================================== */

.alnus-doprava-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    width: 100%;
}

.alnus-doprava-karta {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.035);
}

.alnus-doprava-foto {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f5f5f5;
}

.alnus-doprava-foto img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.alnus-doprava-obsah {
    padding: 20px;
    flex: 1;
}

.alnus-doprava-nadpis {
    font-size: 19px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 10px;
}

.alnus-doprava-popis {
    font-size: 14px;
    line-height: 1.65;
    color: #666;
}

.alnus-doprava-popis p {
    margin: 0;
}

/* Tablet */
@media (max-width: 849px) {
    .alnus-doprava-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }
}

/* Mobil */
@media (max-width: 549px) {
    .alnus-doprava-grid {
        grid-template-columns: 1fr;
    }
}
/* obrázek služby / banner nahoře v kartě */
.box.box-normal .box-image,
.box .box-image,
.box-image {
	width: 100%;
	height: 220px;
	overflow: hidden;
	margin: 0;
}

.box.box-normal .box-image img,
.box .box-image img,
.box-image img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	object-position: center center;
}

/* když Flatsome používá image-cover wrapper */
.box-image .image-cover {
	padding-top: 0 !important;
	height: 220px !important;
}

.box-image .image-cover img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
}
/* ALNUS – horní banner hlavní služby */
.alnus-service-header .page-title-inner {
    min-height: 220px;
}

.alnus-service-header .title-bg {
    background-position: center center;
    background-size: cover;
}

.alnus-service-header .title-overlay {
    background-color: rgba(0, 0, 0, 0.227);
}

/* ALNUS – obrázky karet služeb */
.alnus-service-grid .alnus-service-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.alnus-service-grid .alnus-service-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

/* ALNUS – karty podle vzoru */
.alnus-service-grid .col-inner {
    height: 100%;
}

.alnus-service-grid .alnus-service-card {
    height: 100%;
    border: 1px solid #e5e5e5;
}

.alnus-service-grid .box-text {
    padding: 25px;
}
.woocommerce-layout__header {
    background: #fff;
    box-sizing: border-box;
    padding: 0;
    position: static !important;
    width: calc(100% - 160px);
    top: 32px;
    z-index: 1001;
}
@media (max-width: 767px) {
    .agrowood-logo {
        text-align: center !important;
    }
}
