/* ========================================
   CSS pro Info Icon 2 - PHP & CSS COORDINATED
   ======================================== */

/**
 * Globální wrapper - ŽÁDNÉ inline styles!
 */
.stronghold-info-icon-wrapper-2 {
    text-align: center;
    position: relative;
    margin-bottom: 30px;
}

/**
 * Icon + Content wrapper - řídí layout podle zarovnání
 */
.icon-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

/**
 * TOP zarovnání (DEFAULT)
 */
.stronghold-info-icon-wrapper-2.align-top .icon-content-wrapper {
    flex-direction: column;
    align-items: center;
}

/**
 * LEFT zarovnání
 */
.stronghold-info-icon-wrapper-2.align-left .icon-content-wrapper {
    flex-direction: row;
    align-items: flex-start;
    gap: 15px;
}

/**
 * MIDDLE zarovnání
 */
.stronghold-info-icon-wrapper-2.align-middle .icon-content-wrapper {
    flex-direction: row;
    align-items: center;
    gap: 15px;
}

/**
 * Icon wrapper - Bez transition!
 */
.stronghold-icon-wrapper-2 {
    margin: 0;
    position: relative;
    display: inline-block;
    flex-shrink: 0;
}

/**
 * IKONA - Default 50px
 * Transition POUZE na ikonu!
 */
.stronghold-info-icon-wrapper-2 .stronghold-icon-wrapper-2 i {
    height: auto !important;
    width: auto !important;
    line-height: 1 !important;
    vertical-align: middle !important;
    display: inline-block;

    /* Transition POUZE na ikonu */
    transition: transform 0.6s ease-in-out;
    -webkit-transition: -webkit-transform 0.6s ease-in-out;
    -moz-transition: -moz-transform 0.6s ease-in-out;
    -o-transition: -o-transform 0.6s ease-in-out;
}

/**
 * Hover efekt - Scale se aplikuje JEN na ikonu!
 */
.stronghold-info-icon-wrapper-2:hover .stronghold-icon-wrapper-2 i {
    transform: scale(1.1);
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
}

/**
 * Text content wrapper - Flexibilní
 */
.text-content-wrapper {
    flex: 1;
}

/**
 * Nadpis - Správné zarovnání
 */
.stronghold-info-icon-title-2 h4 {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 20px;
    font-weight: 600;
    color: #222;
}

/**
 * Popis text
 */
.stronghold-info-icon-desc-2 {
    font-size: 14px;
    color: #797878;
    line-height: 1.8;
    margin-top: 10px;
}

/**
 * Kruh ikony (pokud je aktivovaná)
 */
.stronghold-info-icon-circle-2 {
    border-radius: 50%;
    display: inline-block;
}

/**
 * LEFT zarovnání - Ikona se nezměnší
 */
.stronghold-info-icon-wrapper-2.align-left .stronghold-icon-wrapper-2 {
    min-width: 50px;
}

/**
 * Responsive
 */
@media screen and (max-width: 768px) {
    .stronghold-info-icon-title-2 h4 {
        font-size: 18px;
    }

    .stronghold-info-icon-desc-2 {
        font-size: 13px;
    }

    /* Na mobilech všechno na top zarovnání */
    .stronghold-info-icon-wrapper-2.align-left .icon-content-wrapper,
    .stronghold-info-icon-wrapper-2.align-middle .icon-content-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .stronghold-info-icon-wrapper-2.align-left .stronghold-icon-wrapper-2,
    .stronghold-info-icon-wrapper-2.align-middle .stronghold-icon-wrapper-2 {
        margin-bottom: 10px;
    }
}
