/**
 * Single Automation Block - Single-specifické styly
 * Sdílené styly jsou v assets/css/cards-shared.css
 */

/* Single automation wrapper */
.single-automation-card {
    width: 100%;
    margin: 2rem 0;
  	height: 100%;
}

.single-automation-card__link {
    overflow: hidden;
    box-shadow: var(--card-shadow);
    height: 100%;
}

/* Body layout - specifické pro single */
.single-automation-card__body {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    align-items: center;
    margin-bottom: 2rem;
}

.single-automation-card__text {
    flex: 1;
}

/* Logo sekce - specifické pro single */
.single-automation-card__logo {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1rem;
}

.single-automation-card__logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Centered variant */
.single-automation-card--centered .single-automation-card__header {
    text-align: center;
    justify-content: center;
}

.single-automation-card--centered .single-automation-card__body {
    grid-template-columns: 1fr;
    text-align: center;
}

.single-automation-card--centered .single-automation-card__text {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.single-automation-card--centered .single-automation-card__title,
.single-automation-card--centered .single-automation-card__excerpt {
    text-align: center;
}

.single-automation-card--centered .single-automation-card__logo {
    margin: 2rem auto 0;
}

.single-automation-card--centered .single-automation-card__footer {
    justify-content: center;
}

/* Footer varianty */
.single-automation-card__footer--arrow-only {
    justify-content: center;
    border-top: none;
    padding-top: 1rem;
}

.single-automation-card__footer--arrow-only .single-automation-card__arrow {
    position: static;
    margin: 0 auto;
}

/* Editor placeholder */
.single-automation-placeholder,
.single-automation-error {
    padding: 2rem;
    text-align: center;
    background: #f8f9fa;
    border: 2px dashed #ddd;
    border-radius: 8px;
    color: #666;
}

/* Responzivita - single-specifické */
@media (max-width: 768px) {
    .single-automation-card__body {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .single-automation-card__logo {
        width: 80px;
        height: 80px;
        margin: 0 auto;
    }
}
