/*
 Theme Name:   Physeo Child
 Theme URI:    https://physeo.wpengine.com/
 Description:  Physeo Child Theme
 Author:       the WeDesignTech team
 Author URI:   https://wedesignthemes.com/
 Template:     physeo
 Version:      1.1.0
 Text Domain:  physeo-child
 Tested up to: 6.8 
 Requires PHP: 7.4
 Tags: Blog,Portfolio
 License: GNU General Public License v2 or later License URI: https: //www.gnu.org/licenses/gpl-2.0.html
 Copyright (C) 2025 designthemes. All rights reserved.
*/

/* =====================================================================
   kalavritinos.gr – child theme overrides (parent theme is never edited)
   ===================================================================== */

/* Contact Form 7: message field spans the full row (parent only targets the demo field name). */
.wdt-custom p span[data-name="your-message"] { grid-column: span 2; }
@media (max-width: 479px) {
	.wdt-custom p span[data-name="your-message"] { grid-column: auto; }
}
.wpcf7 .wpcf7-acceptance { display: block; margin-top: 18px; font-size: .9375rem; line-height: 1.5; }
.wpcf7 .wpcf7-acceptance .wpcf7-list-item { margin: 0; }
.wpcf7 .wpcf7-acceptance input[type="checkbox"] { width: 18px; height: 18px; margin: 0 8px 0 0; vertical-align: -3px; accent-color: var(--wdtSecondaryColor); }
.wpcf7 .wpcf7-acceptance a { text-decoration: underline; }

/* Circular image of the "steps" section stays a circle whatever image is chosen. */
.wdt-rc-template-animated-image img { aspect-ratio: 1 / 1; object-fit: cover; }

/* Google map on the contact page. */
.klv-map-embed .elementor-widget-container,
.klv-map-embed iframe { border-radius: 40px; overflow: hidden; display: block; }

/* The heading letter animation forces upper/lower case per letter; in Greek that drops accents
   (e.g. "Έργο" -> "Εργο"). Texts are already written in proper case, so keep them as typed. */
html[lang] .wdt-heading-holder .wdt-heading-title-wrapper .wdt-split-heading-title,
html[lang] .wdt-heading-holder .wdt-heading-title-wrapper .wdt-split-heading-title:nth-child(1) { text-transform: none; }

/* Header/footer text blocks: no trailing paragraph margin, so they line up with icons and links. */
#header-wrapper .elementor-widget-text-editor p:last-child,
#footer .elementor-widget-text-editor p:last-child { margin-bottom: 0; }

/* Contact boxes (phone / mobile / hours): calmer sizes than the parent's 22px display size. */
html[lang] .wdt-image-box-holder.wdt-rc-template-contact-box .wdt-content-item .wdt-content-detail-group .wdt-content-description,
html[lang] .wdt-cus-sidebar-column .wdt-image-box-holder.wdt-rc-template-contact-box .wdt-content-item .wdt-content-detail-group .wdt-content-description {
	font-size: 1.0625rem; line-height: 1.5;
}
html[lang] .wdt-cus-sidebar-column .wdt-image-box-holder.wdt-rc-template-contact-box .wdt-content-item .wdt-content-button > a { font-size: 1.1875rem; }

/* Laptop widths (1281–1439px): Greek menu labels are longer than the demo's English ones,
   so tighten the item spacing to keep the menu on one line next to the logo and phone button. */
@media (min-width: 1281px) and (max-width: 1439px) {
	html[lang] .elementor-widget-wdt-header-menu .wdt-primary-nav > li > a { padding-left: 12px; padding-right: 12px; }
}

/* Long Greek words: allow wrapping instead of overflowing on small screens. */
.wdt-heading-title, .elementor-heading-title, .klv-card__title, .klv-services__title { overflow-wrap: anywhere; hyphens: auto; }

/* Medical illustrations (old site figures) sit on white cards; never upscale beyond their size. */
.elementor-widget-image img { max-width: 100%; height: auto; }

/* Generated: Greek does not use Title Case – neutralise the theme's text-transform: capitalize. */
html[lang] *[role="button"],
html[lang] .blog-single-entry.post-minimal .post-meta .single-entry-author .meta-author-info > a,
html[lang] .blog-single-entry.post-minimal .post-meta .single-entry-author .meta-author-info span,
html[lang] .blog-single-entry.post-minimal .single-entry-author .meta-author-info a,
html[lang] .blog-single-entry.post-minimal .single-entry-author .meta-author-info span,
html[lang] .button,
html[lang] .elementor-button.wdt-elementor-button,
html[lang] .elementor-element .elementor-button,
html[lang] .elementor-widget-button .elementor-button,
html[lang] .entry-post-navigation-wrapper > .entry-post-navigation[class*="type"] > div > .nav-title-wrap h3,
html[lang] .error404 .type1 a.wdt-button,
html[lang] .error404 .type1 h2,
html[lang] .error404 .type1 h4,
html[lang] .physeo-pro-title.physeo-pro-login-title h2,
html[lang] .related-article .content span,
html[lang] .wdt-advanced-video-container .wdt-play-button span,
html[lang] .wdt-animation-item.text-item,
html[lang] .wdt-button,
html[lang] .wdt-button-holder .wdt-button,
html[lang] .wdt-button-holder.wdt-button-size-sm .wdt-button,
html[lang] .wdt-content-item .wdt-content-title h5,
html[lang] .wdt-counter-holder.wdt-rc-template-standard .wdt-content-item .wdt-content-counter,
html[lang] .wdt-counter-holder.wdt-rc-template-standard .wdt-content-item .wdt-content-title h5,
html[lang] .wdt-header-icons-list-item div[class*="menu-icon"] > a .icotype-label,
html[lang] .wdt-header-icons-list>div.search-item:not(.search-default) .wdt-search-form-container #searchform input[type="text"],
html[lang] .wdt-heading-holder .wdt-heading-title-wrapper,
html[lang] .wdt-heading-holder .wdt-heading-title-wrapper .wdt-heading-colored-elements,
html[lang] .wdt-image-box-holder.wdt-rc-template-faq-box .wdt-content-item .wdt-content-description,
html[lang] .wdt-image-box-holder.wdt-rc-template-faq-box .wdt-content-item .wdt-content-title h5,
html[lang] .wdt-image-box-holder.wdt-rc-template-icon-below-content .wdt-content-item .wdt-content-description,
html[lang] .wdt-image-box-holder.wdt-rc-template-icon-below-content .wdt-content-item .wdt-content-title h5,
html[lang] .wdt-image-box-holder.wdt-rc-template-icon-below-content .wdt-content-item .wdt-content-title h5 a,
html[lang] .wdt-image-box-holder.wdt-rc-template-overlay-box .wdt-content-item .wdt-content-detail-group .wdt-content-description,
html[lang] .wdt-image-box-holder.wdt-rc-template-overlay-box .wdt-content-item .wdt-content-title h5,
html[lang] .wdt-pricing-table-holder[class*='-template-default'] .wdt-pricing-table-footer .wdt-content-button > a,
html[lang] .wdt-rc-template-icon-aside-content .wdt-content-item .wdt-content-description,
html[lang] .wdt-rc-template-icon-aside-content .wdt-content-item .wdt-content-title h5,
html[lang] .wdt-registration-form .physeo-custom-auth-sc-border-title h2,
html[lang] .wdt-tabs-container .wdt-tabs-list li .ui-tabs-anchor,
html[lang] .wdt-template-bordered.wdt-accordion-toggle-holder .wdt-accordion-toggle-title-holder,
html[lang] .wdt-testimonial-holder.wdt-rc-template-default .wdt-content-item .wdt-content-description,
html[lang] .wdt-testimonial-holder.wdt-rc-template-default .wdt-content-item .wdt-content-subtitle,
html[lang] .wdt-testimonial-holder.wdt-rc-template-default .wdt-content-item .wdt-content-title h5,
html[lang] .wdt-testimonial-holder.wdt-rc-template-default .wdt-content-item .wdt-content-title h5 a,
html[lang] .wdt-timeline-button .wdt-button,
html[lang] .wdt-wcsg-button,
html[lang] .widget .recent-posts-widget li .post-details > .post-date > p,
html[lang] .widget .wp-block-search__label,
html[lang] .widget_block .wp-block-group .wp-block-group__inner-container > h2,
html[lang] .widget_block > h2,
html[lang] .widgettitle,
html[lang] .yith-wcqv-button,
html[lang] .yith-wcwl-add-to-wishlist a,
html[lang] a.button,
html[lang] body > .wdt-search-form-container #searchform input[type="text"],
html[lang] button,
html[lang] button[type="button"],
html[lang] div[class*="meta-elements"].single-entry-author,
html[lang] div[class*="meta-elements"].single-entry-categories,
html[lang] div[class*="meta-elements"].single-entry-comments,
html[lang] div[class*="meta-elements"].single-entry-date,
html[lang] div[class*="meta-elements"].single-entry-likes-views,
html[lang] div[class*="meta-elements"].single-entry-likes-views .wdt-like-views > div,
html[lang] div[class*="meta-elements"].single-entry-social-share,
html[lang] div[class*="meta-elements"].single-entry-tags,
html[lang] div[class*="metagroup-"] .single-entry-author,
html[lang] div[class*="metagroup-"] .single-entry-categories,
html[lang] div[class*="metagroup-"] .single-entry-comments,
html[lang] div[class*="metagroup-"] .single-entry-date,
html[lang] div[class*="metagroup-"] .single-entry-likes-views,
html[lang] div[class*="metagroup-"] .single-entry-likes-views .wdt-like-views > div,
html[lang] div[class*="metagroup-"] .single-entry-social-share,
html[lang] div[class*="metagroup-"] .single-entry-tags,
html[lang] h1,
html[lang] h2,
html[lang] h3,
html[lang] h4,
html[lang] h5,
html[lang] h6,
html[lang] input[type="button"],
html[lang] input[type="reset"],
html[lang] input[type="submit"] {
	text-transform: none;
}
