/* =============================================================================
 * ARTICOL SEO — CSS
 * =============================================================================
 * Stiluri pentru paginile editoriale SEO (articol-seo.php).
 * BEM-like naming. Responsive la 768px.
 * ============================================================================= */

/* ── HERO ──────────────────────────────────────────────────────────────────── */
.articol-seo-hero {
    padding: 24px 0 16px;
}
.articol-seo-hero h1 {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 8px;
    line-height: 1.3;
    color: #222;
}
.articol-seo-hero__desc {
    font-size: 15px;
    color: #555;
    max-width: 700px;
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 768px) {
    .articol-seo-hero {
        padding: 16px 0 12px;
    }
    .articol-seo-hero h1 {
        font-size: 22px;
    }
    .articol-seo-hero__desc {
        font-size: 14px;
    }
}

/* ── SEARCH FORM ──────────────────────────────────────────────────────────── */
.articol-seo-search {
    background: #f7f9fc;
    padding: 24px 0;
    border-bottom: 1px solid #e8ecf1;
}
.articol-seo-search__form {
    max-width: 900px;
    margin: 0 auto;
}
.articol-seo-search__row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-end;
}
.articol-seo-search__field {
    flex: 1 1 140px;
    min-width: 120px;
}
.articol-seo-search__field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #555;
    margin-bottom: 4px;
}
.articol-seo-search__field select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccd3dc;
    border-radius: 6px;
    font-size: 14px;
    background: #fff;
    color: #333;
    appearance: auto;
}
.articol-seo-search__field--btn {
    flex: 0 0 auto;
}
.articol-seo-search__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 24px;
    background: #1680FF;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
}
.articol-seo-search__btn:hover {
    background: #0d6be0;
}

@media (max-width: 768px) {
    .articol-seo-search__row {
        gap: 10px;
    }
    .articol-seo-search__field {
        flex: 1 1 45%;
        min-width: 0;
    }
    .articol-seo-search__field--btn {
        flex: 1 1 100%;
    }
    .articol-seo-search__btn {
        width: 100%;
        justify-content: center;
        padding: 12px 24px;
    }
}

/* ── HOTEL CARDS ──────────────────────────────────────────────────────────── */
.articol-seo-hotels {
    padding: 40px 0;
}
.articol-seo-hotels__title {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 24px;
    color: #1a1a2e;
}
.articol-seo-hotels__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.hotel-card-seo {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: box-shadow 0.2s, transform 0.2s;
}
.hotel-card-seo:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.13);
    transform: translateY(-2px);
}
.hotel-card-seo__link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    height: 100%;
}
.hotel-card-seo__img-wrap {
    position: relative;
    width: 100%;
    padding-top: 62%;
    overflow: hidden;
    background: #e8ecf1;
}
.hotel-card-seo__img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
}
/* Badge pe imagine */
.hotel-card-seo__badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    z-index: 2;
}
.hotel-card-seo__badge--tratament {
    background: #2e7d32;
    color: #fff;
}
.hotel-card-seo__badge--ai {
    background: #e65100;
    color: #fff;
}

.hotel-card-seo__info {
    padding: 14px 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.hotel-card-seo__name {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 8px;
    color: #1a1a2e;
    line-height: 1.3;
}

/* Stele + localitate stânga, preț dreapta */
.hotel-card-seo__meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 10px;
}
.hotel-card-seo__meta-left {
    flex: 1;
}
.hotel-card-seo__meta-right {
    flex: 0 0 auto;
    text-align: right;
}
.hotel-card-seo__stars {
    margin-bottom: 4px;
}
.hotel-card-seo__stars .fa-star {
    color: #f5a623;
    font-size: 13px;
}
.hotel-card-seo__loc {
    font-size: 13px;
    color: #666;
    margin: 0;
}
.hotel-card-seo__loc .fa-map-marker-alt {
    color: #1680FF;
    margin-right: 3px;
}
.hotel-card-seo__price-label {
    display: block;
    font-size: 10px;
    color: #888;
}
.hotel-card-seo__price-main {
    display: block;
    font-size: 14px;
    color: #333;
    white-space: nowrap;
}
.hotel-card-seo__price-main strong {
    color: #1565C0;
    font-size: 18px;
    font-weight: 700;
}
.hotel-card-seo__price-details {
    display: block;
    font-size: 10px;
    color: #888;
    margin-top: 1px;
    white-space: nowrap;
}

/* Buton — același stil ca pe pagina de zonă */
.hotel-card-seo__cta {
    display: block;
    text-align: center;
    margin-top: auto;
    padding: 10px 20px;
    background-color: #279500;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.15s ease;
}
.hotel-card-seo__cta .fa-arrow-right {
    margin-left: 4px;
    font-size: 12px;
}
.hotel-card-seo:hover .hotel-card-seo__cta {
    background-color: #1e7a00;
}

/* 2 columns on tablet */
@media (max-width: 992px) {
    .articol-seo-hotels__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Horizontal cards on mobile */
@media (max-width: 768px) {
    .articol-seo-hotels {
        padding: 28px 0;
    }
    .articol-seo-hotels__title {
        font-size: 20px;
        margin-bottom: 16px;
    }
    .articol-seo-hotels__grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .hotel-card-seo__link {
        flex-direction: row;
    }
    .hotel-card-seo__img-wrap {
        flex: 0 0 130px;
        width: 130px;
        padding-top: 0;
        min-height: 130px;
    }
    .hotel-card-seo__badge {
        top: 6px; left: 6px;
        font-size: 9px;
        padding: 3px 6px;
    }
    .hotel-card-seo__info {
        flex: 1;
        padding: 12px 14px;
    }
    .hotel-card-seo__name {
        font-size: 15px;
    }
    .hotel-card-seo__meta {
        flex-direction: column;
        gap: 4px;
    }
    .hotel-card-seo__meta-right {
        text-align: left;
    }
    .hotel-card-seo__price-main strong {
        font-size: 15px;
    }
    .hotel-card-seo__cta {
        padding: 8px 12px;
        font-size: 13px;
    }
}

/* ── LOCALITĂȚI ───────────────────────────────────────────────────────────── */
.articol-seo-localitati {
    padding: 24px 0;
    border-top: 1px solid #eee;
}
.articol-seo-localitati h2 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 16px;
}
.articol-seo-localitati__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.articol-seo-localitati__card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: #fff;
    border: 1px solid #e8ecf1;
    border-radius: 10px;
    text-decoration: none;
    color: #1a1a2e;
    transition: box-shadow 0.2s, border-color 0.2s;
}
.articol-seo-localitati__card:hover {
    box-shadow: 0 3px 12px rgba(0,0,0,0.1);
    border-color: #1680FF;
    color: #1680FF;
}
.articol-seo-localitati__img {
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    border-radius: 8px;
    overflow: hidden;
    background: #f0f3f7;
}
.articol-seo-localitati__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.articol-seo-localitati__img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bbb;
    font-size: 20px;
}
.articol-seo-localitati__name {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
}

@media (max-width: 992px) {
    .articol-seo-localitati__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 768px) {
    .articol-seo-localitati__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .articol-seo-localitati__img {
        flex: 0 0 44px;
        width: 44px;
        height: 44px;
    }
    .articol-seo-localitati__name {
        font-size: 13px;
    }
}

/* ── EDITORIAL CONTENT ────────────────────────────────────────────────────── */
.articol-seo-content {
    padding: 40px 0;
}
.articol-seo-content .container {
    max-width: 800px;
}
.articol-seo-content h2 {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 32px 0 14px;
}
.articol-seo-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a2e;
    margin: 24px 0 10px;
}
.articol-seo-content p {
    font-size: 16px;
    line-height: 1.7;
    color: #444;
    margin: 0 0 16px;
}
.articol-seo-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 16px 0;
}
.articol-seo-content ul,
.articol-seo-content ol {
    margin: 0 0 16px 20px;
    color: #444;
    line-height: 1.7;
}
.articol-seo-content a {
    color: #1680FF;
    text-decoration: underline;
}
.articol-seo-content blockquote {
    border-left: 4px solid #1680FF;
    background: #f7f9fc;
    padding: 16px 20px;
    margin: 16px 0;
    border-radius: 0 8px 8px 0;
    color: #555;
    font-style: italic;
}
.articol-seo-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
}
.articol-seo-content th,
.articol-seo-content td {
    padding: 10px 14px;
    border: 1px solid #dde2e8;
    text-align: left;
    font-size: 14px;
}
.articol-seo-content th {
    background: #f0f3f7;
    font-weight: 600;
}

@media (max-width: 768px) {
    .articol-seo-content {
        padding: 28px 0;
    }
    .articol-seo-content h2 {
        font-size: 20px;
    }
    .articol-seo-content h3 {
        font-size: 18px;
    }
    .articol-seo-content p {
        font-size: 15px;
    }
    .articol-seo-content table {
        display: block;
        overflow-x: auto;
    }
}

/* ── FAQ ACCORDION ────────────────────────────────────────────────────────── */
.articol-seo-faq {
    padding: 40px 0;
    background: #f7f9fc;
}
.articol-seo-faq__title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 24px;
}
.articol-seo-faq__list {
    max-width: 800px;
}
.articol-seo-faq__item {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 10px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
    overflow: hidden;
}
.articol-seo-faq__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 20px;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: #1a1a2e;
    text-align: left;
    gap: 12px;
}
.articol-seo-faq__question:hover {
    background: #f0f3f7;
}
.articol-seo-faq__question .fa-chevron-down {
    font-size: 13px;
    color: #888;
    transition: transform 0.25s;
    flex-shrink: 0;
}
.articol-seo-faq__question[aria-expanded="true"] .fa-chevron-down {
    transform: rotate(180deg);
}
.articol-seo-faq__answer {
    display: none;
    padding: 0 20px 16px;
    font-size: 15px;
    line-height: 1.6;
    color: #555;
}
.articol-seo-faq__answer.is-open {
    display: block;
}

@media (max-width: 768px) {
    .articol-seo-faq {
        padding: 28px 0;
    }
    .articol-seo-faq__title {
        font-size: 20px;
    }
    .articol-seo-faq__question {
        font-size: 15px;
        padding: 14px 16px;
    }
    .articol-seo-faq__answer {
        padding: 0 16px 14px;
        font-size: 14px;
    }
}

/* ── SIMILAR PAGES ────────────────────────────────────────────────────────── */
.articol-seo-similare {
    padding: 40px 0;
}
.articol-seo-similare__title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 24px;
}
.articol-seo-similare__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.articol-seo-similare__card {
    display: block;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s, transform 0.2s;
}
.articol-seo-similare__card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.13);
    transform: translateY(-2px);
    color: inherit;
    text-decoration: none;
}
.articol-seo-similare__img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}
.articol-seo-similare__img-placeholder {
    width: 100%;
    height: 160px;
    background: linear-gradient(135deg, #e8ecf1, #d0d6df);
}
.articol-seo-similare__name {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a2e;
    padding: 12px 14px;
    margin: 0;
    line-height: 1.3;
}

@media (max-width: 992px) {
    .articol-seo-similare__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .articol-seo-similare {
        padding: 28px 0;
    }
    .articol-seo-similare__title {
        font-size: 20px;
    }
    .articol-seo-similare__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .articol-seo-similare__img {
        height: 120px;
    }
    .articol-seo-similare__name {
        font-size: 14px;
        padding: 10px 12px;
    }
}
