/* Farmatrading: homepage identity across the existing interior pages. */
body.ft-inner-page { background: #f5f8f2 !important; color: #263a43; }
body.ft-inner-page .rh_blog.rh_blog__listing.rh_blog__single { background: transparent !important; }
body.ft-inner-page .rh_page { padding-bottom: 0 !important; }
body.ft-inner-page .rh_banner, body.ft-inner-page .rh_page__head { display: none !important; }
body.ft-inner-page .rh_section.rh_wrap--topPadding { max-width: none; padding: 28px 24px 44px !important; }
body.ft-inner-page article.page.rh_blog__post.entry-header-margin-fix { margin: 0 !important; background: transparent; box-shadow: none; }
body.ft-inner-page .rh_content.entry-content { max-width: 1180px; margin: 0 auto; padding: 0; background: transparent; }
body.ft-inner-page .rh_content.entry-content > .elementor { background: transparent; }
body.ft-inner-page .rh_content .elementor-section-stretched { width: 100% !important; left: 0 !important; }
body.ft-inner-page .rh_content .elementor-section > .elementor-container { max-width: 1180px; }
body.ft-inner-page .ft-inner-intro { margin: 0 0 30px; padding: 32px 38px; border-radius: 22px; background: radial-gradient(circle at 92% 0,rgba(66,184,177,.22),transparent 38%),linear-gradient(115deg,#102f3c,#155864); }
body.ft-inner-page .ft-inner-intro h1 { max-width: 900px; margin: 0 0 12px; color: #fff !important; font-family: Karla,sans-serif; font-size: clamp(28px,3vw,42px); font-weight: 700; line-height: 1.12; letter-spacing: -.03em; }
body.ft-inner-page .ft-inner-intro .ft-inner-intro__eyebrow { margin: 0 0 12px; color: #c6ee8a; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
body.ft-inner-page .ft-inner-intro .ft-inner-intro__description { max-width: 760px; margin: 0; color: #dcebed; font-size: 17px; line-height: 1.5; }
body.ft-inner-page .rh_content h2, body.ft-inner-page .rh_content h3, body.ft-inner-page .rh_content h4 { font-family: Karla,sans-serif; color: #173d4d; line-height: 1.25; }
body.ft-inner-page .rh_content .elementor-heading-title { color: #173d4d; font-weight: 700; }
body.ft-inner-page .rh_content .elementor-button { padding: 13px 22px; background: #c6ee8a !important; color: #10343e !important; border-radius: 999px; font-weight: 700; }
body.ft-inner-page .rh_content .elementor-button:hover { background: #b4e46e !important; }

/* Blog: strong typography, consistent images, green accent and white cards. */
body.ft-blog-page .elementor-element-83c220f { padding: 0; background: transparent; }
body.ft-blog-page .elementor-posts-container { gap: 24px !important; }
body.ft-blog-page .rh_content .elementor-post { display: flex; flex-direction: column; padding: 0 !important; margin: 0 !important; border: 1px solid #dfe9e2; border-radius: 20px !important; overflow: hidden; background: #fff; box-shadow: 0 10px 26px rgba(18,60,74,.08) !important; }
body.ft-blog-page .elementor-post__thumbnail__link { display: block; margin-bottom: 0 !important; }
body.ft-blog-page .elementor-post__thumbnail { padding-bottom: 0 !important; height: 200px !important; }
body.ft-blog-page .elementor-post__thumbnail img { position: static !important; display: block; width: 100% !important; height: 200px !important; object-fit: cover; transform: none !important; border-radius: 0 !important; }
body.ft-blog-page .elementor-post__text { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; border-top: 4px solid #a9d97b; }
body.ft-blog-page .elementor-post__title { margin: 0 0 12px !important; }
body.ft-blog-page .elementor-post__title a { font-family: Karla,sans-serif; font-size: 22px !important; font-weight: 700; line-height: 1.2; color: #173d4d !important; }
body.ft-blog-page .elementor-post__excerpt p { margin-bottom: 18px; font-size: 15px !important; line-height: 1.55; color: #51646b; }
body.ft-blog-page .elementor-post__read-more { align-self: flex-start; margin-top: auto; padding: 8px 13px; border-radius: 8px; color: #173d4d !important; background: #e8f2df; font-size: 14px !important; font-weight: 700; }

/* Services overview and detail pages. */
body.ft-service-page .rh_content .elementor-widget-text-editor { font-size: 17px; line-height: 1.7; color: #3e555f; }
body.ft-service-page .rh_content .elementor-widget-text-editor p { text-align: left !important; }
body.ft-service-page .rh_content .elementor-widget-text-editor .elementor-widget-container { text-align: left !important; }
body.ft-service-page .elementor-element-58b424a { display: none; }
body.page-id-5491 .elementor-element-c58cee4 { display: none; }
body.page-id-5491 .elementor-element-7b6ec1e { margin: 0 0 24px; padding: 0; }
body.page-id-5491 .elementor-element-7b6ec1e > .elementor-container { gap: 20px; }
body.page-id-5491 .elementor-element-7b6ec1e > .elementor-container > .elementor-column { flex: 1; }
body.page-id-5491 .elementor-element-7b6ec1e > .elementor-container > .elementor-column > .elementor-widget-wrap { padding: 26px !important; border-radius: 20px; border: 1px solid #dbe9df; border-top: 4px solid #a9d97b; background: #fff; box-shadow: 0 10px 26px rgba(18,60,74,.06); }
body.page-id-5491 .elementor-element-7b6ec1e .elementor-widget-heading { margin-bottom: 14px; }
body.page-id-5491 .elementor-element-7b6ec1e .elementor-heading-title { font-size: 26px; }
body.page-id-5491 .elementor-element-2bcb2814 { padding: 20px 0 28px; }
body.page-id-5491 .elementor-widget-image-box { padding: 22px 18px; border: 1px solid #dce9e2; border-radius: 18px; background: #fff; box-shadow: 0 8px 22px rgba(18,60,74,.05); }
body.page-id-5491 .elementor-image-box-img img { width: 48px; height: 48px; object-fit: contain; }
body.page-id-5491 .elementor-image-box-title a { color: #173d4d; font-size: 22px; font-weight: 700; }
body.page-id-5491 .elementor-image-box-description { color: #51646b; font-size: 15px; line-height: 1.55; }
body.ft-service-page.parent-pageid-5491 .rh_content .elementor-top-section { padding: 10px 0 24px; }
body.ft-service-page.parent-pageid-5491 .rh_content .elementor-widget-spacer { display: none; }
body.ft-service-page.parent-pageid-5491 .rh_content .elementor-widget-image img { border-radius: 20px; box-shadow: 0 12px 28px rgba(18,60,74,.09); }
body.ft-service-page .rh_content .elementor-top-section:last-child { margin-top: 24px; padding: 26px !important; border-radius: 20px; background: linear-gradient(115deg,#102f3c,#155864) !important; }
body.ft-service-page .rh_content .elementor-top-section:last-child h2, body.ft-service-page .rh_content .elementor-top-section:last-child h3, body.ft-service-page .rh_content .elementor-top-section:last-child p, body.ft-service-page .rh_content .elementor-top-section:last-child .elementor-widget-text-editor { color: #fff !important; }
body.ft-service-page .rh_content .elementor-top-section:last-child .elementor-heading-title { font-size: 26px; }

/* Contact: compact office cards and the same existing Contact Form 7 fields. */
/* Reset legacy Elementor spacing, including the negative footer overlap. */
body.ft-service-page .rh_content .elementor-top-section:last-child { margin: 24px 0 0 !important; padding: 20px 24px !important; }
body.ft-service-page .rh_content .elementor-top-section:last-child .elementor-widget { margin-bottom: 10px !important; }
body.ft-service-page .rh_content .elementor-top-section:last-child .elementor-widget:last-child { margin-bottom: 0 !important; }
body.ft-service-page .rh_content .elementor-top-section:last-child .elementor-widget-container { margin: 0 !important; }
body.ft-service-page .rh_content .elementor-top-section:last-child h2,
body.ft-service-page .rh_content .elementor-top-section:last-child h3,
body.ft-service-page .rh_content .elementor-top-section:last-child p { margin: 0 !important; }
body.ft-service-page .elementor-element-f4e03e7 { display: none; }
body.page-id-5491 .elementor-element-7b6ec1e { margin: 0 0 28px !important; }
body.page-id-5491 .elementor-element-2bcb2814 { padding: 0 !important; }
body.page-id-5491 .elementor-element-8406169 { margin: 0 0 20px !important; }
body.page-id-5491 .elementor-element-8406169 .elementor-widget-container,
body.page-id-5491 .elementor-element-8406169 h2 { margin: 0 !important; }
body.page-id-5491 .elementor-element-8406169 h2 { font-size: 30px !important; }
body.page-id-5491 .elementor-element-4958bf0 { display: none; }
body.page-id-5491 .elementor-element-2bcb2814 .elementor-inner-section { padding: 0 !important; margin: 0 0 16px !important; }
body.page-id-5491 .elementor-element-2bcb2814 .elementor-inner-column > .elementor-widget-wrap { padding: 0 !important; margin: 0 8px !important; box-shadow: none !important; align-content: stretch; }
body.page-id-5491 .elementor-element-2bcb2814 .elementor-widget-image-box { margin: 0 !important; height: 100%; padding: 20px 18px !important; }
body.page-id-5491 .elementor-element-2bcb2814 .elementor-image-box-title { margin: 8px 0 10px !important; }
body.page-id-5491 .elementor-element-2bcb2814 .elementor-image-box-description { margin: 0 !important; }
body.ft-contact-page .elementor-element-9b53fb2 { padding: 0 !important; }
body.ft-contact-page .elementor-element-9b53fb2 > .elementor-container { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
body.ft-contact-page .elementor-element-9b53fb2 .elementor-top-column { width: auto; min-width: 0; }
body.ft-contact-page .elementor-element-9b53fb2 .elementor-top-column > .elementor-widget-wrap { display: flex; align-content: start; gap: 0; padding: 18px 14px 0 !important; border-top: 4px solid #a9d97b; border-radius: 18px; }
body.ft-contact-page .elementor-element-9b53fb2 .elementor-widget-heading { margin: 0 0 16px; padding: 0; }
body.ft-contact-page .elementor-element-9b53fb2 .elementor-heading-title { font-size: 19px; line-height: 1.2; text-align: left; }
body.ft-contact-page .elementor-element-9b53fb2 .elementor-heading-title { margin-bottom: 0 !important; }
body.ft-contact-page .elementor-element-9b53fb2 .elementor-widget-icon-list > .elementor-widget-container { margin: 0 !important; }
body.ft-contact-page .elementor-element-9b53fb2 .elementor-icon-list-item { margin: 0 !important; padding: 5px 0 !important; }
body.ft-contact-page .elementor-element-9b53fb2 .elementor-widget-icon-list { padding: 0; margin: 0 0 16px; }
body.ft-contact-page .elementor-element-9b53fb2 .elementor-icon-list-item { padding: 5px 0; }
body.ft-contact-page .elementor-element-9b53fb2 .elementor-icon-list-text { font-size: 14px; line-height: 1.4; overflow-wrap: anywhere; }
body.ft-contact-page .elementor-element-9b53fb2 .elementor-widget-google_maps { margin-top: auto; margin-bottom: 0; }
body.ft-contact-page .elementor-element-9b53fb2 iframe { height: 150px !important; }
body.ft-contact-page .elementor-element-40dfec0 { display: none; }
body.ft-contact-page .elementor-element-5dcd5f8 { max-width: 800px; margin: 32px auto 0; padding: 26px 30px !important; border: 1px solid #dce9e2; border-top: 4px solid #a9d97b; border-radius: 22px; background: #fff; box-shadow: 0 12px 28px rgba(18,60,74,.07); }
body.ft-contact-page .elementor-element-5dcd5f8 > .elementor-container > .elementor-column > .elementor-widget-wrap { padding: 0 !important; }
body.ft-contact-page .elementor-element-5dcd5f8 .elementor-widget-text-editor { width: 100% !important; max-width: none; padding: 0 !important; margin: 0; }
body.ft-contact-page .elementor-element-5dcd5f8 #formu { margin-bottom: 12px; }
body.ft-contact-page .elementor-element-5dcd5f8 #formu h3 { font-size: 29px; text-align: left; }
body.ft-contact-page .elementor-element-5dcd5f8 #formu h3 { margin-bottom: 0 !important; }
body.ft-contact-page .wpcf7 { width: 100%; max-width: 740px; margin: 0 auto; }
body.ft-contact-page .wpcf7 .form-h { margin: 0 0 16px; text-align: left; color: #51646b; font-size: 16px; }
body.ft-contact-page .wpcf7 .form-h span { font-size: inherit; }
body.ft-contact-page .wpcf7 .form-info-farmacia2 { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 4px 20px; }
body.ft-contact-page .wpcf7 .form-info-farmacia2 > p { float: none; width: auto !important; margin: 0; padding: 0; font-size: 14px; line-height: 1.4; }
body.ft-contact-page .wpcf7 .form-info-farmacia2 > p:nth-child(4n+1), body.ft-contact-page .wpcf7 .form-info-farmacia2 > p:nth-child(4n+2) { grid-column: 1; }
body.ft-contact-page .wpcf7 .form-info-farmacia2 > p:nth-child(4n+3), body.ft-contact-page .wpcf7 .form-info-farmacia2 > p:nth-child(4n+4) { grid-column: 2; }
body.ft-contact-page .wpcf7 .form-info-farmacia2 > p:nth-child(1), body.ft-contact-page .wpcf7 .form-info-farmacia2 > p:nth-child(3) { grid-row: 1; }
body.ft-contact-page .wpcf7 .form-info-farmacia2 > p:nth-child(2), body.ft-contact-page .wpcf7 .form-info-farmacia2 > p:nth-child(4) { grid-row: 2; }
body.ft-contact-page .wpcf7 .form-info-farmacia2 > p:nth-child(5), body.ft-contact-page .wpcf7 .form-info-farmacia2 > p:nth-child(7) { grid-row: 3; }
body.ft-contact-page .wpcf7 .form-info-farmacia2 > p:nth-child(6), body.ft-contact-page .wpcf7 .form-info-farmacia2 > p:nth-child(8) { grid-row: 4; }
body.ft-contact-page .wpcf7 .form-info-farmacia2 > p:nth-child(9), body.ft-contact-page .wpcf7 .form-info-farmacia2 > p:nth-child(11) { grid-row: 5; }
body.ft-contact-page .wpcf7 .form-info-farmacia2 > p:nth-child(10), body.ft-contact-page .wpcf7 .form-info-farmacia2 > p:nth-child(12) { grid-row: 6; }
body.ft-contact-page .wpcf7 .form-info-farmacia2 > p:nth-child(13), body.ft-contact-page .wpcf7 .form-info-farmacia2 > p:nth-child(15) { grid-row: 7; }
body.ft-contact-page .wpcf7 .form-info-farmacia2 > p:nth-child(14), body.ft-contact-page .wpcf7 .form-info-farmacia2 > p:nth-child(16) { grid-row: 8; }
body.ft-contact-page .wpcf7 .form-info-farmacia2 > p:nth-child(even) { margin-bottom: 10px; }
body.ft-contact-page .wpcf7 input:not([type=hidden]):not([type=checkbox]):not([type=submit]), body.ft-contact-page .wpcf7 select { width: 100%; height: 44px !important; min-height: 44px; margin: 0; padding: 9px 11px; border: 1px solid #cddfe2; border-radius: 8px; background: #fbfdfc; font-size: 16px; line-height: 1.3; }
body.ft-contact-page .wpcf7 textarea { width: 100%; height: 110px !important; min-height: 110px; padding: 10px 12px; border: 1px solid #cddfe2; border-radius: 8px; font-size: 16px; resize: vertical; }
body.ft-contact-page .wpcf7 form > p { margin: 0 0 8px; font-size: 14px; line-height: 1.45; }
body.ft-contact-page .wpcf7 form > .clear { height: 4px; }
body.ft-contact-page .wpcf7 .privacidad { display: flex; align-items: baseline; gap: 7px; padding: 0; font-size: 13px; }
body.ft-contact-page .wpcf7 .wpcf7-list-item { margin: 0; }
body.ft-contact-page .wpcf7 input[type=submit] { width: auto; min-width: 140px; min-height: 44px; margin: 4px 0 0; padding: 11px 24px; border-radius: 999px; background: #c6ee8a; color: #10343e; font-size: 16px; font-weight: 700; }
body.ft-contact-page .wpcf7 input:focus, body.ft-contact-page .wpcf7 select:focus, body.ft-contact-page .wpcf7 textarea:focus { outline: 2px solid #a9d97b; outline-offset: 2px; }
@media (max-width: 1024px) {
    body.ft-contact-page .elementor-element-9b53fb2 > .elementor-container { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 767px) {
    body.ft-inner-page .rh_section.rh_wrap--topPadding { padding: 18px 16px 30px !important; }
    body.ft-inner-page .ft-inner-intro { padding: 25px 22px; margin-bottom: 22px; border-radius: 18px; }
    body.ft-inner-page .ft-inner-intro h1 { font-size: 30px; }
    body.ft-inner-page .ft-inner-intro .ft-inner-intro__description { font-size: 16px; }
    body.ft-inner-page .rh_content .elementor-column { min-width: 0; }
    body.ft-blog-page .elementor-posts-container { grid-template-columns: minmax(0,1fr) !important; gap: 20px !important; }
    body.ft-blog-page .elementor-post__title a { font-size: 22px !important; }
    body.page-id-5491 .elementor-element-7b6ec1e > .elementor-container { flex-direction: column; }
    body.page-id-5491 .elementor-element-7b6ec1e > .elementor-container > .elementor-column { width: 100%; }
    body.ft-service-page .rh_content .elementor-top-section:last-child { padding: 22px 18px !important; }
    body.ft-contact-page .elementor-element-9b53fb2 > .elementor-container { grid-template-columns: minmax(0,1fr); }
    body.ft-contact-page .elementor-element-9b53fb2 .elementor-top-column { margin-bottom: 0; }
    body.ft-contact-page .elementor-element-5dcd5f8 { margin-top: 24px; padding: 20px 18px !important; }
    body.ft-contact-page .wpcf7 .form-info-farmacia2 { display: block; }
    body.ft-contact-page .wpcf7 .form-h { display: none; }
    body.page-id-5491 .elementor-element-2bcb2814 .elementor-inner-column > .elementor-widget-wrap { margin: 0 0 14px !important; }
    body.ft-contact-page .wpcf7 .form-info-farmacia2 > p:nth-child(odd) { margin-bottom: 4px; }
}
