/* Single Post Layout */
.single-post-layout {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    overflow: visible;
    min-height: 100vh;
}

.single-post-content {
    flex: 1;
    min-width: 0;
}

.single-post-content .post-header,
.single-post-content .post-content {
    padding: 0 96px;
}

.single-post-content .wp-block-image,
.single-post-content .wp-block-gallery {
    margin-left: -96px;
    /* margin-right: -96px; */
    width: calc(100% + 192px);
}

.single-post-sidebar {
    flex-shrink: 0;
    flex-grow: 0;
    width: 312px;
    max-width: 312px;
    min-height: 100vh;
    height: fit-content;
    margin-bottom: 24px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .single-post-layout {
        flex-direction: column;
    }
    
    .single-post-content,
    .single-post-sidebar {
        width: 100%;
        flex: 1 1 auto;
        max-width: max-content;
        margin-bottom: 12px;
    }
}

@media (max-width: 768px) {
    .single-post-content .post-header,
    .single-post-content .post-content {
        padding: 0 24px;
    }
}

@media (max-width: 480px) {
    .single-post-content .post-header,
    .single-post-content .post-content {
        padding: 0;
    }
}

/* Breadcrumbs */
.breadcrumbs {
    margin-bottom: 32px;
    font-size: 14px;
    display: none;
}

.breadcrumbs a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumbs a:hover {
    color: #3B00DD;
}

.breadcrumb-separator {
    margin: 0 8px;
    color: #999;
}

.current-page {
    color: #000;
    font-weight: 500;
}

/* Post Header */
.post-header {
    margin-bottom: 32px;
}

.post-title {
    font-size: 36px;
    font-weight: 800;
    color: #000000;
    line-height: 1.2;
    margin: 0 0 24px 0;
    font-family: 'Jost', sans-serif;
}

.post-meta {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    color: #666;
    font-size: 14px;
    display: none;
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.post-meta svg {
    width: 16px;
    height: 16px;
    opacity: 0.7;
}

/* Featured Image */
.post-featured-image {
    margin-bottom: 40px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

.post-featured-image:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: #3B00DD;
    opacity: .1;
}

.featured-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Post Content */
.post-content {
    font-size: 18px;
    line-height: 1.7;
    color: #000000;
    margin-bottom: 40px;
}

.post-content h2 {
    font-size: 28px;
    font-weight: 700;
    color: #000000;
    margin: 40px 0 20px 0;
    line-height: 1.3;
    font-family: 'Jost', sans-serif;
}

.post-content h3 {
    font-size: 24px;
    font-weight: 600;
    color: #000000;
    margin: 32px 0 16px 0;
    line-height: 1.3;
    font-family: 'Jost', sans-serif;
}

.post-content h4 {
    font-size: 20px;
    font-weight: 600;
    color: #000000;
    margin: 24px 0 12px 0;
    font-family: 'Jost', sans-serif;
}

.post-content p {
    margin-bottom: 24px;
}

.post-content ul,
.post-content ol {
    margin: 24px 0;
    padding-left: 24px;
}

.post-content li {
    margin-bottom: 8px;
}

.post-content a {
    color: #3B00DD;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.post-content a:hover {
    color: #4711E9;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    /* margin: 24px 0; */
}

.post-content blockquote {
    padding: 32px;
    padding-top: 70px;
    margin: 32px 0;
    background: #F3F3F3;
    border-radius: 6px;
    font-style: italic;
    font-size: 18px;
    font-weight: 400;
    position: relative;
}

.post-content blockquote::before {
    content: '';
    position: absolute;
    left: 32px;
    top: 32px;
    width: 32px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3Csvg width='36' height='29' viewBox='0 0 36 29' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M17.3125 9.39844L16.3945 9.47363C15.5615 9.54198 14.702 9.81707 13.8105 10.3291L13.7969 10.3369L13.7832 10.3438C12.9442 10.7912 12.2334 11.4494 11.6514 12.3447L11.6455 12.3525L11.6406 12.3604C11.2552 12.9296 10.9968 13.6131 10.8818 14.4307H17.3125V28H1V16.7227C1.00006 13.4717 1.69414 10.734 3.17188 8.59277C4.60849 6.4711 6.50191 4.87322 8.83594 3.8125L8.84277 3.80957L9.2793 3.62109C11.4722 2.70189 13.7966 2.1628 16.2471 2.00195L17.3125 1.93262V9.39844ZM35 9.39844L34.082 9.47363C33.249 9.54198 32.3895 9.81708 31.498 10.3291L31.4844 10.3369L31.4707 10.3438C30.6317 10.7912 29.9209 11.4494 29.3389 12.3447L29.333 12.3525L29.3281 12.3604C28.9427 12.9296 28.6843 13.6131 28.5693 14.4307H35V28H18.6875V16.7227C18.6876 13.4717 19.3816 10.734 20.8594 8.59277C22.296 6.4711 24.1894 4.87322 26.5234 3.8125C28.8078 2.7744 31.2817 2.1733 33.9355 2.00195L35 1.93359V9.39844Z' stroke='%2300E5B9' stroke-width='2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
}

.wp-block-quote > cite {
    font-style: normal;
}

.wp-block-quote > cite:before {
    content: "- ";
}

.highlight-text {
    background-color: #F3F3F3;
    padding: 32px;
    border-radius: 6px;
    margin: 20px 0;
    font-size: 24px;
    line-height: 1.7;
}

.post-content code {
    background: #f4f4f4;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Monaco', 'Consolas', monospace;
    font-size: 0.9em;
}

.post-content pre {
    background: #f4f4f4;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 24px 0;
}

/* Post Tags */
.post-tags {
    padding: 24px 0;
    border-top: 1px solid #e0e0e0;
}

.tags-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 12px 0;
    color: #000000;
}

.tags-list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag-item {
    background: #f0f0f0;
    color: #666;
    padding: 6px 12px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
}

.tag-item:hover {
    background: #3B00DD;
    color: white;
}

/* Social Share */
.social-share {
    padding: 24px 0;
    border-top: 1px solid #e0e0e0;
    margin-bottom: 32px;
}

.share-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 16px 0;
    color: #000000;
}

.share-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.share-btn.facebook {
    background: #1877f2;
    color: white;
}

.share-btn.facebook:hover {
    background: #166fe5;
}

.share-btn.twitter {
    background: #1da1f2;
    color: white;
}

.share-btn.twitter:hover {
    background: #1a94da;
}

.share-btn.linkedin {
    background: #0077b5;
    color: white;
}

.share-btn.linkedin:hover {
    background: #006ca3;
}

.share-btn.copy-link {
    background: #666;
    color: white;
}

.share-btn.copy-link:hover {
    background: #555;
}

/* Post Navigation */
.post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding: 32px 0;
    border-top: 1px solid #e0e0e0;
}

.nav-previous,
.nav-next {
    display: flex;
    flex-direction: column;
}

.nav-next {
    text-align: right;
}

.nav-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
    font-weight: 500;
}

.nav-title {
    font-size: 16px;
    font-weight: 600;
    color: #000000;
    text-decoration: none;
    line-height: 1.3;
    transition: color 0.2s ease;
}

.nav-title:hover {
    color: #3B00DD;
}

/* Related Posts Widget */
.related-posts-widget {
    border: 1px solid #e0e0e0;
    padding: 24px;
}

.related-posts-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.related-post-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.related-post-image {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
}

.related-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-placeholder {
    width: 100%;
    height: 100%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

.related-post-content {
    flex: 1;
    min-width: 0;
}

.related-post-title {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 6px 0;
    line-height: 1.3;
}

.related-post-title a {
    color: #000000;
    text-decoration: none;
    transition: color 0.2s ease;
}

.related-post-title a:hover {
    color: #3B00DD;
}

.related-post-date {
    font-size: 12px;
    color: #666;
}

.sidebar-title {
    color: #000000;
    margin-bottom: 20px;
    font-family: Jost;
    font-weight: 800;
    font-size: 24px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .single-post-layout {
        grid-template-columns: 1fr 280px;
        gap: 24px;
    }
    
    .post-title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .single-post-layout {
        grid-template-columns: 1fr;
        gap: 0px;
    }
    
    .post-title {
        font-size: 28px;
    }
    
    .post-meta {
        gap: 16px;
    }
    
    .post-content {
        font-size: 16px;
    }
    
    .post-content h2 {
        font-size: 24px;
    }
    
    .post-content h3 {
        font-size: 20px;
    }
    
    .post-navigation {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .nav-next {
        text-align: left;
    }
    
    .share-buttons {
        gap: 8px;
    }
    
    .share-btn {
        flex: 1;
        justify-content: center;
        min-width: 0;
    }
}

@media (max-width: 480px) {
    .single-post-layout {
        margin-bottom: 0px;
    }
    
    .post-header {
        margin-bottom: 24px;
    }
    
    .post-content {
        margin-bottom: 32px;
    }
    
    .post-tags,
    .social-share {
        margin-bottom: 24px;
    }
    
    .share-btn {
        font-size: 13px;
        padding: 8px 12px;
    }
    
    .post-navigation {
        gap: 20px;
    }

    .post-featured-image {
        margin-bottom: 24px;
    }
}



/* WordPress Gallery - 2 coloane cu gap 24px */
.wp-block-gallery.columns-2 {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 24px !important;
}

.wp-block-gallery.columns-2 .wp-block-image {
    margin: 0 !important;
    width: 100% !important;
}

.wp-block-gallery.columns-2 .wp-block-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

/* Responsive - pe mobile o singură coloană */
@media (max-width: 768px) {
    .wp-block-gallery.columns-2 {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}


.why-us-container {
    background-color: #3B00DD;
    border-radius: 16px;
    padding: 48px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
    position: relative;
    margin-bottom: 24px;
}

.why-us-content {
    max-width: 55%;
    z-index: 2;
}

.why-us-title {
    font-family: Jost;
    font-weight: 800;
    font-size: 48px;
    line-height: 100%;
}

.why-us-subtitle {
    font-family: Jost;
    font-weight: 700;
    font-size: 18px;
    line-height: 100%;
}

.why-us-text {
    font-family: Jost;
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    margin-bottom: 24px;
}

.why-us-button {
    display: inline-flex;
    align-items: center;
    background-color: #00E5B9;
    color: #3B00DD;
    font-weight: 600;
    font-size: 18px;
    padding: 12px 24px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.2s;
}

.why-us-button:hover {
    background-color: #00E5B9;
}

.why-us-button svg {
    margin-left: 8px;
}

.why-us-image {
    position: absolute;
    right: 48px;
    top: 0;
    height: 100%;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-us-image img {
    height: 100%;
    max-height: 400px;
    object-fit: contain;
}

/* Responsive styles */
@media (max-width: 992px) {
    .why-us-container {
        padding: 30px 40px;
    }
    
    .why-us-title {
        font-size: 42px;
    }
    
    .why-us-subtitle {
        font-size: 22px;
    }
}

@media (max-width: 768px) {
    .why-us-container {
        flex-direction: column;
        padding: 30px;
        padding-bottom: 0;
        margin-bottom: 12px;
    }
    
    .why-us-content {
        max-width: 100%;
        margin-bottom: 30px;
    }
    
    .why-us-image {
        position: relative;
        width: 100%;
        right: auto;
    }
    
    .why-us-title {
        font-size: 36px;
    }
    
    .why-us-subtitle {
        font-size: 20px;
    }
    
    .why-us-text {
        font-size: 16px;
    }

    .why-us-image img {
        max-height: 200px;
    }
}

/* Stiluri pentru secțiunea de beneficii */
.cipauto-benefits-section {
    width: 100%;
    margin-bottom: 24px;
}

.cipauto-benefits-container {
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    width: 100%;
}

.cipauto-benefit-card {
    flex: 1;
    min-width: 160px;
    background-color: #00E5B9;
    border-radius: 16px;
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: transform 0.3s ease;
}

/* .cipauto-benefit-card:hover {
    transform: translateY(-5px);
} */

.cipauto-benefit-icon {
    display: inline-block;
}

.cipauto-benefit-icon svg {
    width: 24px;
    height: 24px;
}

.cipauto-benefit-title {
    color: #000;
    font-family: Jost;
    font-size: 24px;
    font-style: normal;
    font-weight: 800;
    line-height: 14px;
    margin-bottom: 12px;
    margin-top: 12px;
}

.cipauto-benefit-description {
    color: #000;
    font-family: Jost;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 130%;
}

/* Responsive pentru secțiunea de beneficii */
@media (max-width: 1200px) {
    .cipauto-benefits-container {
        justify-content: center;
    }

    .cipauto-benefit-card {
        flex: 0 0 calc(33.33% - 16px);
        min-width: 107px;
    }
}

@media (max-width: 768px) {
    .cipauto-benefits-container {
        justify-content: center;
    }
    .cipauto-benefit-card {
        flex: 0 0 calc(33.33% - 16px);
        min-width: 107px;
    }
}

@media (max-width: 768px) {
    .cipauto-benefits-container {
        gap: 12px;
        /* margin: 0 -12px; */
        /* width: calc(100% + 24px); */
    }
    .cipauto-benefit-title {
        font-size: 16px;
        margin-bottom: 8px;
        margin-top: 2px;
    }
    .cipauto-benefit-description {
        font-size: 10px;
    }
    .cipauto-benefit-card {
        /* flex: 0 0 calc(50% - 12px);
        min-width: 107px; */
        padding: 16px;
    }
}

/* CSS pentru secțiunea Alte articole */
.related-articles-section {
    padding-top: 48px;
    border-top: 1px solid #e0e0e0;
}

.related-articles-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 48px;
}

.related-articles-title {
    font-size: 36px;
    font-weight: 700;
    color: #000000;
    margin: 0;
    font-family: 'Jost', sans-serif;
}

.view-all-articles {
    color: #3B00DD;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.2s ease;
}

.view-all-articles:hover {
    color: #4711E9;
}

.related-articles-grid {
    display: inline-bloc;
    width: 100%;
}

/* Reutilizează stilurile din blog.css pentru .blog-card */
.blog-card {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 50% - 50% */
    gap: 24px;
    background: transparent;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #cccccc;
    padding: 24px;
    margin-bottom: 24px;
}

.blog-card-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 16/12; /* Aspect ratio mai echilibrat pentru 50% */
    width: 100%;
}

.blog-post-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-post-image {
    transform: scale(1.05);
}

.blog-post-placeholder {
    width: 100%;
    height: 100%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

.blog-card-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 0;
}

.blog-card-title {
    font-size: 30px;
    font-weight: 700;
    line-height: 1.5;
    margin: 0 0 16px 0;
    font-family: 'Jost', sans-serif;
}

.blog-card-title a {
    color: #000000;
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-card-title a:hover {
    color: #3B00DD;
}

.blog-card-excerpt {
    font-size: 18px;
    line-height: 1.6;
    color: #000000;
    margin-bottom: 24px;
}

.blog-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* margin-top: auto; */
}

.blog-date {
    font-size: 14px;
    color: #666;
}

.read-more-link,
.view-all-articles {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    padding: 12px 14px;
    background-color: #f3f3f3;
    color: #3B00DD;
    border: none;
    border-radius: 6px;
    font-family: 'Jost', sans-serif;
    font-weight: 800;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    align-items: center;
    justify-content: space-between;
    line-height: 16px;
}

.read-more-link:hover,
.view-all-articles:hover {
    color: #3B00DD;
    background-color: #f3f3f3;
}

.read-more-link svg,
.view-all-articles svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
    margin-left: 4px;
}

.read-more-link:hover svg,
.view-all-articles:hover svg {
    transform: translateX(4px);
}

.special-paragraph {
    padding: 32px;
    justify-content: center;
    align-items: center;
    gap: 4px;
    align-self: stretch;
    border-radius: 6px;
    background: #F3F3F3;
    color: #000;
    font-family: Jost;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    margin-bottom: 48px;
}

.special-paragraph h3:first-of-type {
    margin-top: 0;
}

.special-paragraph p.small {
    font-size: 18px;
    line-height: 1.7;
}

.special-paragraph span.small {
    font-size: 18px;
    line-height: 1.7;
    margin-top: 24px;
    display: inline-block;
    width: 100%;
}

.cipauto-comanda-apel-button {
    display: inline-flex;
    padding: 14px 24px 15px 24px;
    justify-content: center;
    align-items: center;
    gap: 4px;
    flex: 1 0 0;
    transition: background-color 0.3s ease !important;
    border-radius: 6px;
    background: #3B00DD;

    color: #FFF !important;
    font-family: Jost;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 16px;
    text-decoration: none !important;
    margin-top: 24px;
    margin-bottom: 24px;
}

.cipauto-comanda-apel-button:hover {
    background-color: #4711E9;
}

.cipauto-comanda-apel-button svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.cipauto-comanda-apel-button:hover svg {
    transform: translateX(4px);
}

.contact-info-block {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 12px 0;
}

.contact-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #00E5B9;
    padding-bottom: 15px;
}

.contact-label {
    font-family: 'Jost', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #000;
}

.contact-value {
    font-family: 'Jost', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #3B00DD;
    text-decoration: none !important;
}

.contact-value:hover {
    text-decoration: underline;
}

.contact-social {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-icons-contact {
    display: flex;
    gap: 15px;
}

.social-icon-contact {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F3F3F3;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icon-contact:hover {
    background: #3B00DD;
}

.social-icon-contact svg {
    width: 16px;
    height: 16px;
    fill: #3B00DD;
}

.social-icon-contact:hover svg path {
    fill: #fff;
}

/* Mobile */
@media (max-width: 768px) {
    .contact-row,
    .contact-social {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .contact-label {
        font-size: 18px;
    }
    
    .contact-value {
        font-size: 20px;
    }
    
    .social-icons-contact {
        justify-content: flex-start;
        width: 100%;
    }

    .special-paragraph {
        margin-bottom: 12px;
        padding: 12px;
        font-size: 18px;
    }

    .related-articles-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .blog-card {
        grid-template-columns: 1fr;
        padding: 12px;
    }
    .related-articles-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .related-articles-title {
        font-size: 28px;
    }

    .blog-card-title {
        font-size: 20px;
    }
}