/* Frontend styly pro Forcorp SEO Plugin */

.forcorp-lokality-list {
    margin: 20px 0;
    padding: 15px 0;
}

.forcorp-lokality-title {
    margin-bottom: 10px;
    font-size: 1em;
    font-weight: normal;
}

.forcorp-lokality-title strong {
    font-weight: bold;
}

.forcorp-lokality-items {
    text-align: center;
    margin: 0;
    line-height: 1.8;
    font-size: 0.95em;
}

.forcorp-lokality-separator {
    margin: 0 5px;
    color: #666;
    font-weight: normal;
}

.forcorp-lokality-link {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

.forcorp-lokality-link:hover {
    text-decoration: underline;
    color: #0073aa;
}

.forcorp-lokality-highlight {
    font-weight: bold;
    text-decoration: underline;
}

.forcorp-lokality-highlight:hover {
    text-decoration: underline;
}

.forcorp-lokality-featured {
    font-size: 1.3em;
    font-weight: bold;
}

.forcorp-lokality-empty {
    color: #999;
    font-style: italic;
    padding: 10px 0;
}

/* Responzivní design */
@media (max-width: 768px) {
    .forcorp-lokality-items {
        font-size: 0.9em;
        line-height: 2;
    }
    
    .forcorp-lokality-separator {
        margin: 0 3px;
    }
}

/* Styly pro SEO stránky - layout vlevo text, vpravo obrázek */
.forcorp-seo-page {
    background: #fff;
    padding: 2em 0;
    min-height: 60vh;
}

.forcorp-seo-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2em;
}

.forcorp-seo-article {
    margin: 0;
}

.forcorp-seo-content-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 2em;
    flex-wrap: wrap;
}

.forcorp-seo-text-column {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
}

.forcorp-seo-image-column {
    flex: 0 0 auto;
    width: 400px;
    max-width: 100%;
}

.forcorp-seo-entry-content {
    color: #333;
    line-height: 1.8;
}

.forcorp-seo-entry-content h1,
.forcorp-seo-entry-content h1.forcorp-seo-main-heading {
    font-size: 2.5em;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 15px 0;
    line-height: 1.2;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.forcorp-seo-entry-content h1.forcorp-seo-main-heading::after,
.forcorp-seo-entry-content h1:first-of-type::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #dc3232;
    margin: 15px 0 20px 0;
}

.forcorp-seo-entry-content h2 {
    font-size: 1.5em;
    font-weight: 600;
    color: #1a1a1a;
    margin: 30px 0 15px 0;
    line-height: 1.3;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.forcorp-seo-entry-content p {
    font-size: 1.1em;
    margin: 0 0 20px 0;
    color: #444;
    line-height: 1.8;
}

.forcorp-seo-entry-content p:first-of-type {
    margin-top: 0;
}

.forcorp-seo-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 100%;
    background: unset;
    border-radius: 4px;
    overflow: hidden;
}

.forcorp-seo-featured-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

/* Responzivní design pro SEO stránky */
@media (max-width: 992px) {
    .forcorp-seo-content-wrapper {
        gap: 40px;
    }
    
    .forcorp-seo-image-column {
        width: 350px;
    }
    
    .forcorp-seo-entry-content h1 {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .forcorp-seo-page {
        padding: 2em 0;
    }
    
    .forcorp-seo-container {
        padding: 0 2em;
    }
    
    .forcorp-seo-content-wrapper {
        flex-direction: column;
        gap: 2em;
    }
    
    .forcorp-seo-text-column {
        max-width: 100%;
        order: 1;
    }
    
    .forcorp-seo-image-column {
        width: 100%;
        max-width: 100%;
        order: 2;
    }
    
    .forcorp-seo-entry-content h1 {
        font-size: 1.75em;
    }
    
    .forcorp-seo-entry-content h2 {
        font-size: 1.3em;
    }
    
    .forcorp-seo-entry-content p {
        font-size: 1em;
    }
    
    .forcorp-seo-image-wrapper {
        padding-top: 75%; /* Méně vysoký obrázek na mobilu */
    }
}

@media (max-width: 480px) {
    .forcorp-seo-container {
        padding: 0 2em;
    }
    
    .forcorp-seo-entry-content h1 {
        font-size: 1.5em;
    }
    
    .forcorp-seo-entry-content h1::after {
        width: 50px;
        height: 2px;
    }
}

/* Styly pro archive stránku města */
.forcorp-location-archive {
    background: #fff;
    padding: 9em 0;
}

.forcorp-location-header {
    margin-bottom: 2em;
    text-align: center;
}

.forcorp-location-title {
    font-size: 2.5em;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 15px 0;
    line-height: 1.2;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.forcorp-location-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #dc3232;
    margin: 15px auto 20px auto;
}

.forcorp-location-description {
    font-size: 1.2em;
    color: #666;
    margin: 0;
}

.forcorp-services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2em;
    margin-top: 2em;
}

.forcorp-service-card {
    display: block;
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 2em;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.forcorp-service-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
    border-color: #dc3232;
}

.forcorp-service-title {
    margin: 0 0 15px 0;
    font-size: 1.5em;
    font-weight: 600;
    color: #1a1a1a;
}

.forcorp-service-description {
    margin: 0 0 15px 0;
    color: #666;
    font-size: 1em;
    line-height: 1.6;
}

.forcorp-service-link-text {
    color: #0073aa;
    text-decoration: none;
    font-weight: 500;
    margin: 0;
}

.forcorp-service-card:hover .forcorp-service-link-text {
    color: #dc3232;
    text-decoration: underline;
}

.forcorp-no-services {
    text-align: center;
    padding: 60px 20px;
    color: #999;
    font-style: italic;
}

/* Responzivní design pro archive */
@media (max-width: 768px) {
    .forcorp-location-title {
        font-size: 2em;
    }
    
    .forcorp-services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .forcorp-service-card {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .forcorp-location-title {
        font-size: 1.75em;
    }
    
    .forcorp-location-description {
        font-size: 1em;
    }
}

/* Styly pro další sekce na detail stránce */
.forcorp-seo-additional-sections {
    margin-top: 2em;
    padding-top: 2em;
    border-top: 1px solid #e0e0e0;
}

.forcorp-section-title {
    font-size: 2em;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 1em 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.forcorp-section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #dc3232;
    margin: 15px 0 0 0;
}

/* Další služby v městě */
.forcorp-other-services {
    margin-bottom: 2em;
}

.forcorp-services-list {
    display: flex;
    flex-wrap: wrap;
    gap: 2em;
}

.forcorp-service-item {
    display: inline-block;
    padding: 1em 2em;
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    text-decoration: none;
    color: #1a1a1a;
    transition: all 0.3s ease;
    font-weight: 500;
}

.forcorp-service-item:hover {
    background: #fff;
    border-color: #dc3232;
    color: #dc3232;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Recenze */
.forcorp-reviews {
    margin-bottom: 2em;
}

.forcorp-reviews-list {
    display: grid;
    gap: 2em;
    margin-bottom: 2em;
}

.forcorp-review-item {
    background: #fff;
    border: 1px solid #e0e0e0;
    padding: 2em;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.forcorp-review-header {
    display: flex;
    align-items: center;
    gap: 2em;
    margin-bottom: 2em;
    padding-bottom: 2em;
    border-bottom: 1px solid #f0f0f0;
}

.forcorp-review-avatar {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #e0e0e0;
}

.forcorp-review-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.forcorp-review-author-info {
    flex: 1;
}

.forcorp-review-author-name {
    display: block;
    font-size: 1.1em;
    color: #1a1a1a;
    margin-bottom: 0.5em;
}

.forcorp-review-rating {
    color: #ffa500;
    font-size: 1.2em;
    letter-spacing: 2px;
    margin-bottom: 0.5em;
}

.forcorp-review-date {
    font-size: 0.9em;
    color: #999;
}

.forcorp-reviews-disclaimer {
    margin-top: 2em;
    padding-top: 2em;
    border-top: 1px solid #e0e0e0;
}

.forcorp-reviews-disclaimer p {
    margin: 0;
    color: #999;
    font-size: 0.9em;
    font-style: italic;
}

.forcorp-review-text {
    margin: 0;
    color: #444;
    line-height: 1.7;
    font-size: 1em;
}

/* Kontaktní formulář */
.forcorp-contact-form-section {
    margin-top: 2em;
    padding-top: 2em;
    border-top: 1px solid #e0e0e0;
}

.forcorp-contact-form {
    max-width: 700px;
    margin: 0 auto;
}

.forcorp-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2em;
    margin-bottom: 2em;
}

.forcorp-form-group {
    margin-bottom: 2em;
}

.forcorp-form-group label {
    display: block;
    margin-bottom: 0.5em;
    font-weight: 600;
    color: #1a1a1a;
}

.forcorp-form-group input[type="text"],
.forcorp-form-group input[type="email"],
.forcorp-form-group input[type="tel"],
.forcorp-form-group textarea {
    width: 100%;
    padding: 1em;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1em;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.forcorp-form-group input:focus,
.forcorp-form-group textarea:focus {
    outline: none;
    border-color: #dc3232;
}

.forcorp-form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.forcorp-form-submit {
    margin-top: 2em;
}

.forcorp-submit-button {
    background: #dc3232;
    color: #fff;
    border: none;
    padding: 1em 2em;
    font-size: 1.1em;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.forcorp-submit-button:hover {
    background: #b82828;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 50, 50, 0.3);
}

.forcorp-form-success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 1em 2em;
    border-radius: 4px;
    margin-top: 2em;
}

/* Responzivní design pro další sekce */
@media (max-width: 768px) {
    .forcorp-seo-additional-sections {
        margin-top: 2em;
        padding-top: 2em;
    }
    
    .forcorp-section-title {
        font-size: 1.75em;
    }
    
    .forcorp-form-row {
        grid-template-columns: 1fr;
    }
    
    .forcorp-contact-form-section {
        margin-top: 2em;
        padding-top: 2em;
    }
}

@media (max-width: 480px) {
    .forcorp-section-title {
        font-size: 1.5em;
    }
    
    .forcorp-service-item {
        padding: 10px 20px;
        font-size: 0.95em;
    }
    
    .forcorp-review-item {
        padding: 15px;
    }
}

/* Astra theme kompatibilita */
.ast-separate-container .ast-article-post, 
.ast-separate-container .ast-article-single, 
.ast-separate-container .comment-respond {
    padding: unset;
    padding-top: 7em;
}

