/* Architect Page – hero 1:1 jak products.php (products-hero-video z products.css) */

.arch-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.arch-hero-cta-secondary {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.85);
    color: #fff;
}

.arch-hero-cta-secondary:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: #fff;
    color: #fff;
}

/* Resources Section – paski minimalnie węższe, podgląd produktu 100vw */
.arch-resources {
    width: 100%;
    padding: 48px 40px 120px;
    box-sizing: border-box;
}

.arch-resources-inner {
    max-width: 1080px;
    margin: 0 auto;
}

.arch-accordion-item {
    margin-bottom: 24px;
    transition: margin-bottom 0.3s ease;
}

.resource-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 24px;
    border-radius: 10px;
    text-decoration: none;
    position: relative;
    z-index: 2;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.resource-title {
    font-size: 15px;
    font-weight: 500;
    margin: 0;
    letter-spacing: 0.01em;
    color: inherit;
}

.resource-bar--product .resource-title {
    text-decoration: none;
}

.resource-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.25s ease;
    flex-shrink: 0;
}

.resource-icon i {
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Kategoria – zawsze zielona, klikalna, rozwijanie zwijanie bloku */
.resource-bar--category {
    background-color: #4A5749;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(74,87,73,0.2);
    margin-bottom: 10px;
    transition: background-color 0.25s ease, box-shadow 0.3s ease;
}

.resource-bar--category:hover {
    box-shadow: 0 4px 14px rgba(74,87,73,0.28);
}

.resource-bar--category .resource-icon i {
    transform: rotate(180deg);
}

.resource-bar--category[aria-expanded="true"] .resource-icon i {
    transform: rotate(0deg);
}

.arch-accordion-category-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s cubic-bezier(0.32, 0.72, 0.38, 1);
}

.resource-bar--category[aria-expanded="true"] + .arch-accordion-category-body {
    overflow: visible;
}

.resource-bar--category .resource-title {
    color: #fff;
}

.resource-icon--category {
    background-color: rgba(255,255,255,0.2);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
}

/* Produkt – jasnoszare tło, cienka linia na dole, ciemne kółko ze strzałką */
.resource-bar--product {
    background-color: #f5f5f5;
    color: #333333;
    border: none;
    border-bottom: 1px solid #e5e5e5;
    box-shadow: none;
    cursor: pointer;
    transition: background-color 0.3s ease, border-bottom-color 0.25s ease, padding-left 0.35s ease;
}

.resource-bar--product:hover {
    background-color: #eeeeee;
}

.resource-bar--product[aria-expanded="true"] {
    background-color: #f0f2f0;
    border-bottom-color: #e0e2e0;
    padding-left: 28px;
}

.resource-bar--product .resource-icon {
    background-color: #3d4c3d;
    color: #fff;
    border: none;
}

.resource-bar--product:hover .resource-icon {
    background-color: #354235;
}

.resource-bar--product[aria-expanded="true"] .resource-icon {
    background-color: #3d4c3d;
    color: #fff;
}

.resource-bar--product:not([aria-expanded="true"]) .resource-icon i {
    transform: rotate(180deg);
}

.resource-bar--product[aria-expanded="true"] .resource-icon i {
    transform: rotate(0deg);
}

/* Accordion Content – podgląd produktu 100vw, płynne przejścia */
.arch-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.32, 0.72, 0.38, 1), box-shadow 0.4s ease;
    background: #fff;
    border-radius: 0 0 10px 10px;
    margin-top: 8px;
    padding-top: 0;
    box-shadow: none;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    box-sizing: border-box;
}

.arch-accordion-content.open {
    box-shadow: 0 10px 40px rgba(0,0,0,0.07);
}

.arch-accordion-product-hero {
    box-shadow: none;
    margin-bottom: 0;
    padding: 32px 40px 40px;
}

.arch-placeholder-text {
    padding: 40px;
    margin: 0;
    color: #666;
}

/* Documents Section – ten sam styl co w product.php (docs-section-bg, docs-grid, doc-card z product-single.css) */
.arch-documents-section {
    background: transparent;
}

.arch-documents-section .docs-section-bg {
    margin-bottom: 0;
    border-radius: 0 0 10px 10px;
    background-color: #f7f8f7;
    padding-top: 48px;
    padding-bottom: 48px;
}

@media (max-width: 768px) {
    .products-hero-content {
        padding-left: 20px;
        padding-right: 20px;
    }
    .products-hero-title {
        font-size: 28px;
    }
    .arch-hero-actions {
        flex-direction: column;
    }
    .arch-hero-actions .products-hero-cta {
        width: 100%;
    }
    .resource-bar {
        padding: 20px 24px;
    }
    .resource-title {
        font-size: 16px;
    }
    .arch-accordion-product-hero {
        padding: 24px 20px;
    }
}
