/*
Theme Name: HotelRev Villas Sofia
Template: hotelrev-custom
Description: Villas Sofia (villassofia.gr): Elementor child theme, look of the old Astrid 1.19 + custom_child site. HotelRev 2026-12-01.
Version: 1.0.0
Text Domain: hotelrev-villassofia
*/

/* ---------- base (Astrid + custom_child: Fira Sans 300 14/26.6 #656d6d, letter-spacing 1px; headings Fira Sans Condensed 300 #272727) ---------- */
html { overflow-x: hidden; }
body { font-family: 'Fira Sans', sans-serif; font-size: 14px; line-height: 1.9; font-weight: 300; color: #656d6d; letter-spacing: 1px; background: #fff; }
body .elementor-widget-text-editor, body .elementor-widget-html, body .elementor-widget-shortcode { font-size: 14px; line-height: 1.9; color: #656d6d; }
h1, h2, h3, h4, h5, h6, .elementor-heading-title { font-family: 'Fira Sans Condensed', sans-serif; font-weight: 300; color: #272727; margin: 20px 0; line-height: 1.2; letter-spacing: 1px; }
h1, .elementor-widget-heading h1.elementor-heading-title { font-size: 36px; }
h2, .elementor-widget-heading h2.elementor-heading-title { font-size: 30px; }
h3, .elementor-widget-heading h3.elementor-heading-title { font-size: 24px; }
h4 { font-size: 16px; }
h5 { font-size: 14px; }
h6 { font-size: 12px; }
.elementor-widget-heading .elementor-heading-title { margin: 20px 0; }
p { margin: 0 0 20px; }
a { color: #1bbf9c; text-decoration: none; }
a:hover, a:focus { color: #1bbf9c; text-decoration: underline; }
strong, b { font-weight: 400; }
ul, ol { margin: 0 0 10px; padding-left: 40px; }
blockquote { margin: 0; padding: 0 0 0 15px; border-left: 5px solid #ebebeb; font-size: 14px; }
img { max-width: 100%; height: auto; }
/* hotelrev-custom button reset (nowrap / pink hover) */
.elementor button, .elementor input[type=submit] { white-space: normal; }

/* one H1 per page: the first content heading became H1 and keeps its look */
.hr-sr-h1 { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
body h1.hr-h1-as-h2, body .elementor-widget.hr-h1-as-h2 h1.elementor-heading-title { font-size: 30px; }
body h1.hr-h1-as-h3, body .elementor-widget.hr-h1-as-h3 h1.elementor-heading-title { font-size: 24px; }
body h1.hr-h1-as-h4 { font-size: 16px; }
body h2.hr-h2-as-h1 { font-size: 36px; }

/* ---------- page layout: Astrid container (bootstrap) minus the article padding; VC gutter 15px ---------- */
body .elementor .e-con.hr-main { --hr-row-w: 1050px; overflow-x: clip; }
@media (max-width: 1199px) { body .elementor .e-con.hr-main { --hr-row-w: 870px; } }
@media (max-width: 991px) { body .elementor .e-con.hr-main { --hr-row-w: 720px; } }
@media (max-width: 767px) { body .elementor .e-con.hr-main { --hr-row-w: 100%; } }
body .elementor .e-con.hr-vc-boxed { width: 100% !important; max-width: var(--hr-row-w, 1050px) !important; margin-left: auto !important; margin-right: auto !important; }
body .elementor .e-con.hr-vc-stretch > .e-con-inner { width: 100%; max-width: var(--hr-row-w, 1050px); }
/* custom_child: .wpb_content_element{margin:0 !important} */
body .e-con .elementor-widget.wpb_content_element { margin-bottom: 0; margin-block-end: 0; }
.wpb_text_column p:last-child { margin-bottom: 20px; }
.elementor .wpb_text_column :last-child { margin-bottom: 0; }
/* Astrid content area: top space when the page does not start with a header image; bottom space before the footer */
body .elementor .e-con.hr-main { padding-bottom: 149px !important; }
body .elementor .e-con.hr-main.hr-astrid-notop { padding-top: 203px !important; }
/* Top of the first row (hero / page header image) exactly as live: custom_child moved the articles with per-page negative margins
   (article#post-53 -230px, #post-430/491/493 -220px, .page-headers -160px, contact rows -260px, no article padding on #post-55/#post-21),
   so the image starts at a different height on each page. Values measured on live at 1366 / 1024 / 375 px. */
body .elementor .hr-main > .e-con.page-headers, body .elementor .hr-main.hr-astrid-top > .e-con:first-child { --hr-top-d: 43px; --hr-top-t: 60px; --hr-top-m: 15px; margin-top: var(--hr-top-d) !important; }
body.page-id-55 .elementor .hr-main > .e-con.page-headers, body.page-id-21 .elementor .hr-main > .e-con.page-headers { --hr-top-d: -17px; --hr-top-t: 0px; --hr-top-m: 0px; }
body.page-id-491 .elementor .hr-main > .e-con.page-headers, body.page-id-493 .elementor .hr-main > .e-con.page-headers { --hr-top-d: -177px; --hr-top-t: -160px; --hr-top-m: -65px; }
body.page-id-49 .elementor .hr-main > .e-con.page-headers, body.page-id-504 .elementor .hr-main > .e-con.page-headers, body.page-id-569 .elementor .hr-main > .e-con.page-headers, body.page-id-571 .elementor .hr-main > .e-con.page-headers { --hr-top-d: -57px; --hr-top-t: -40px; --hr-top-m: -85px; }
body.page-id-53 .elementor .hr-main.hr-astrid-top > .e-con:first-child { --hr-top-d: -27px; --hr-top-t: -10px; --hr-top-m: -55px; }
body.page-id-430 .elementor .hr-main.hr-astrid-top > .e-con:first-child { --hr-top-d: -17px; --hr-top-t: 0px; --hr-top-m: 95px; }
@media (max-width: 1024px) { body .elementor .hr-main > .e-con.page-headers, body .elementor .hr-main.hr-astrid-top > .e-con:first-child { margin-top: var(--hr-top-t) !important; } }
@media (max-width: 767px) { body .elementor .hr-main > .e-con.page-headers, body .elementor .hr-main.hr-astrid-top > .e-con:first-child { margin-top: var(--hr-top-m) !important; } }
body .elementor .e-con.hr-main > .e-con:last-child { margin-bottom: 0 !important; } /* WPBakery: the last row's bottom margin collapsed */
.page-headers .elementor-widget-image img { display: block; width: 100%; }
@media (max-width: 1024px) { body .elementor .e-con.hr-main.hr-astrid-notop { padding-top: 220px !important; } }
@media (max-width: 767px) {
	body .elementor .e-con.hr-main { padding-bottom: 104px !important; }
	body .elementor .e-con.hr-main.hr-astrid-notop { padding-top: 175px !important; }
}

/* ---------- WPBakery elements ---------- */
.elementor-widget-heading.vc_custom_heading .elementor-heading-title { font-weight: 400; }
.vc_btn3-container { margin-bottom: 21.735px; display: block; max-width: 100%; }
.vc_btn3-container.vc_btn3-center { text-align: center; }
.vc_btn3-container.vc_btn3-right { text-align: right; }
.vc_btn3-container.vc_btn3-left { text-align: left; }
.vc_btn3 { display: inline-block; margin: 0; text-align: center; vertical-align: middle; cursor: pointer; border: 1px solid transparent; box-sizing: border-box; word-wrap: break-word; user-select: none; text-decoration: none !important; position: relative; top: 0; transition: all .2s ease-in-out; line-height: normal; font-family: 'Fira Sans', sans-serif; font-weight: 300; letter-spacing: 1px; }
.vc_btn3.vc_btn3-size-lg { font-size: 16px; padding: 18px 25px; }
.vc_btn3.vc_btn3-size-md { font-size: 14px; padding: 14px 20px; }
.vc_btn3.vc_btn3-size-sm { font-size: 12px; padding: 11px 16px; }
.vc_btn3.vc_btn3-shape-rounded { border-radius: 5px; }
.vc_btn3.vc_btn3-shape-square { border-radius: 0; }
.vc_btn3.vc_btn3-color-vista-blue, .vc_btn3.vc_btn3-color-vista-blue.vc_btn3-style-flat { color: #fff; background-color: #46C5D1; }
.vc_btn3.vc_btn3-color-vista-blue:hover, .vc_btn3.vc_btn3-color-vista-blue:focus { color: #fff; background-color: #359098; }
.wpb_gmaps_widget .wpb_wrapper { background-color: #f7f7f7; padding: 5px; }
.wpb_gmaps_widget iframe { display: block; width: 100%; height: 600px; border: 0; }
.elementor-widget-gallery.vc_grid-container { margin-bottom: 0; }

/* ---------- forms (WPForms in the Astrid look) ---------- */
body .wpforms-container .wpforms-form .wpforms-field-label { font: 400 14px/1.9 'Fira Sans', sans-serif !important; letter-spacing: 1px; color: #656d6d !important; margin: 0 0 5px !important; }
body .wpforms-container .wpforms-form .wpforms-field-sublabel { font: 400 11.2px/1.9 'Fira Sans', sans-serif !important; letter-spacing: 1px; color: #656d6d !important; }
body .wpforms-container .wpforms-form input[type=text], body .wpforms-container .wpforms-form input[type=email], body .wpforms-container .wpforms-form input[type=tel], body .wpforms-container .wpforms-form input[type=number] { height: auto !important; padding: 13px !important; font: 400 14px/1.9 'Fira Sans', sans-serif !important; color: #666 !important; background: #fff !important; border: 1px solid #ebebeb !important; border-radius: 3px !important; box-shadow: none !important; }
body .wpforms-container .wpforms-form textarea { height: 220px !important; padding: 15px 15px 15px 8px !important; font: 400 14px/1.3 'Fira Sans', sans-serif !important; color: #666 !important; background: #fff !important; border: 1px solid #ebebeb !important; border-radius: 3px !important; box-shadow: none !important; }
body .wpforms-container .wpforms-form button[type=submit] { height: auto !important; padding: 12px 30px !important; font: 300 14px/1.9 'Fira Sans', sans-serif !important; letter-spacing: 4px; text-transform: uppercase; color: #1bbf9c !important; background: transparent !important; border: 1px solid #1bbf9c !important; border-radius: 0 !important; box-shadow: none !important; }
body .wpforms-container .wpforms-form button[type=submit]:hover { color: #fff !important; background: #1bbf9c !important; }

/* ---------- header (Astrid: fixed dark bar 100px, logo left third, menu right) ---------- */
.elementor-location-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; }
body.admin-bar .elementor-location-header { top: 32px; }
.hr-header { background-color: rgba(32,37,41,.7); }
body .elementor .e-con.hr-header { --padding-top: 0px; --padding-right: 0px; --padding-bottom: 0px; --padding-left: 0px; padding: 0; }
/* custom_child: header container 1440px wide (centred, logo centred in the first column): logo at 50%-544px, menu ends at 50%+614px */
.elementor .e-con.hr-header-in { width: auto; max-width: none; margin-left: max(15px, calc(50% - 544px)); margin-right: max(15px, calc(50% - 614px)); padding-left: 0 !important; padding-right: 0 !important; }
@media (max-width: 1024px) { .elementor .e-con.hr-header-in { margin-left: 0; margin-right: 0; } }
.hr-logo { flex: 0 0 auto; text-align: left; }
.hr-logo a { display: inline-block; line-height: 0; }
.hr-logo img { display: block; width: 200px; max-height: 160px; height: auto; }
.hr-mainmenu { flex: 1 1 auto; }
.hr-mainmenu .elementor-nav-menu--main .elementor-nav-menu > li { padding: 10px 16px; }
.hr-mainmenu .elementor-nav-menu--main .elementor-item { font: 300 14px/26.6px 'Fira Sans', sans-serif; letter-spacing: 2px; color: #fff !important; padding: 3px 0 !important; background: transparent; }
.hr-mainmenu .elementor-nav-menu--main .elementor-item:hover, .hr-mainmenu .elementor-nav-menu--main .elementor-item:focus { color: #4e9b98 !important; }
.hr-mainmenu .elementor-nav-menu--main .elementor-nav-menu > li.booknow { background-color: #F0BE63; }
.hr-mainmenu .elementor-nav-menu--main .elementor-nav-menu > li.booknow:hover { background-color: #efb242; }
.hr-mainmenu .elementor-nav-menu--main li.booknow > a.elementor-item { color: #000 !important; background-color: #F0BE63; }
.hr-mainmenu .elementor-nav-menu--main li.booknow:hover > a.elementor-item { color: #fff !important; background-color: #efb242; }
/* Astrid sub menu: top 160% of the item, at the item text, 200px links in 10px 16px items */
.hr-mainmenu .elementor-nav-menu--main .sub-menu { background: #1c1e21; min-width: 232px !important; width: 232px !important; margin-top: 32px !important; margin-left: 16px !important; }
.hr-mainmenu .elementor-nav-menu--main .sub-menu li { padding: 10px 16px; }
.hr-mainmenu .elementor-nav-menu--main .sub-menu a.elementor-sub-item { font: 300 14px/1.9 'Fira Sans', sans-serif; letter-spacing: 2px; color: #fff !important; padding: 0 !important; width: 200px; border: 0; background: transparent !important; white-space: normal; }
/* Astrid hover lines (custom_child colour #4e9b98) */
.hr-mainmenu .elementor-nav-menu--main > .elementor-nav-menu > li > a.elementor-item { position: relative; }
.hr-mainmenu .elementor-nav-menu--main > .elementor-nav-menu > li > a.elementor-item::before, .hr-mainmenu .elementor-nav-menu--main > .elementor-nav-menu > li > a.elementor-item::after { content: ""; position: absolute; bottom: 0; width: 0; height: 100%; z-index: -1; transition: width .5s; opacity: 1 !important; background: transparent !important; transform: none !important; }
.hr-mainmenu .elementor-nav-menu--main > .elementor-nav-menu > li > a.elementor-item::before { right: 0; left: auto; top: auto; border-top: 1px solid #4e9b98; }
.hr-mainmenu .elementor-nav-menu--main > .elementor-nav-menu > li > a.elementor-item::after { left: 0; right: auto; top: auto; border-bottom: 1px solid #4e9b98; }
.hr-mainmenu .elementor-nav-menu--main > .elementor-nav-menu > li > a.elementor-item:hover::before, .hr-mainmenu .elementor-nav-menu--main > .elementor-nav-menu > li > a.elementor-item:hover::after { width: 100%; }
.hr-mainmenu .elementor-nav-menu--main .sub-menu a.elementor-sub-item:hover { color: #4e9b98 !important; }
.hr-mainmenu ._mi.dashicons { font-size: 16.8px; width: 1em; height: 1em; vertical-align: middle; margin-top: -4px; }
.hr-mainmenu .visuallyhidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hr-mainmenu .sub-arrow { display: none !important; }
/* tablet + phone: header scrolls with the page (Astrid relative header), burger right, dark dropdown */
@media (max-width: 1024px) {
	.elementor-location-header { position: absolute; }
	.hr-logo { flex: 0 0 50%; max-width: 50%; text-align: left; padding-left: 30px; padding-top: 10px; }
	.hr-logo img { width: 142px; }
	.hr-mainmenu { flex: 0 0 50%; max-width: 50%; padding-right: 30px; }
	.hr-mainmenu .elementor-menu-toggle { margin-left: auto; background: transparent !important; color: #fff !important; padding: 0; font-size: 28px; }
	.hr-mainmenu .elementor-menu-toggle svg { fill: #fff; width: 28px; height: 28px; }
	.hr-mainmenu nav.elementor-nav-menu--dropdown.elementor-nav-menu__container { margin-top: 50px !important; z-index: 300; }
	.hr-mainmenu .elementor-nav-menu--dropdown { background: #1c1e21; max-height: calc(100vh - 110px); overflow-y: auto; }
	.hr-mainmenu .elementor-nav-menu--dropdown a { font: 300 14px/1.9 'Fira Sans', sans-serif; letter-spacing: 2px; color: #fff !important; padding: 10px 20px !important; border-bottom: 1px solid rgba(255,255,255,.08); background: transparent !important; }
	.hr-mainmenu .elementor-nav-menu--dropdown .sub-menu a { padding-left: 40px !important; }
	.hr-mainmenu .elementor-nav-menu--dropdown a:hover, .hr-mainmenu .elementor-nav-menu--dropdown a.elementor-item-active { color: #4e9b98 !important; }
	.hr-mainmenu .elementor-nav-menu--dropdown li.booknow > a { background: #F0BE63 !important; color: #000 !important; }
	.hr-mainmenu .elementor-nav-menu--dropdown .sub-arrow { display: inline-flex !important; }
}

/* ---------- footer (Astrid: widgets / footer-info / copyright, #202529) ---------- */
.hr-footer { background: #202529; color: #a3aaaa; font-size: 14px; line-height: 1.9; }
.hr-footer a { color: #a3aaaa; }
body .hr-footer .elementor-widget-shortcode, body .hr-footer .elementor-widget-html { color: #a3aaaa; }
.hr-footer-widgets { max-width: 1140px; margin: 0 auto; padding: 25px 15px 1px; }
.hr-fcol { padding: 0 20px; margin-bottom: 25px; }
.hr-fcol ul { list-style: none; margin: 0; padding: 0; text-align: center; }
.hr-faccess a { display: inline-flex; align-items: center; color: #a3aaaa; }
.hr-faccess a i { font-size: 2em !important; margin-right: 7px; }
.hr-fsocial ul { display: flex; justify-content: center; }
.hr-fsocial li { padding: 2px 0; }
.hr-fsocial a { display: block; width: 40px; height: 40px; line-height: 40px; margin: 8px; text-align: center; background: #1bbf9c; color: #fff !important; font-size: 18px; }
.hr-fsocial a:hover { background: #303539; text-decoration: none; }
.hr-fimg img { display: block; width: 260px; height: auto; }
.hr-footer-info { border-top: 1px solid rgba(255,255,255,.04); }
.hr-footer-info-in { max-width: 1140px; margin: 0 auto; padding: 0 15px; text-align: center; }
.hr-fbrand { display: flex; align-items: center; justify-content: center; padding: 30px 30px 15px 15px; border-right: 1px solid rgba(255,255,255,.08); }
.hr-fbrand .site-title-footer { margin: 20px 0; font: 300 30px/36px 'Fira Sans Condensed', sans-serif; letter-spacing: 1px; }
.hr-fbrand .site-title-footer a { color: #a3aaaa; }
.hr-fcontact { display: flex; padding: 60px 15px; }
.hr-fcontact .footer-contact-block { flex: 1 1 33.333%; padding: 0 20px; text-align: center; }
.hr-fcontact .footer-contact-block i { font-size: 22px; color: #a3aaaa; }
.hr-fcontact .footer-contact-block span { display: block; margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.08); }
.hr-copyright { padding: 30px 0; text-align: center; }
.hr-copyright .hr-copy-title { display: inline-block; margin: 0; padding: 0; color: #a3aaaa; font: 300 14px/1.2 'Fira Sans Condensed', sans-serif; letter-spacing: 1px; }
.hr-copyright img { width: 74px; margin-left: 8px; margin-top: -9px; vertical-align: middle; display: inline; }
/* Astrid: footer columns (col-md-4) and footer-info blocks stack below 992px */
@media (max-width: 991px) {
	body .elementor .e-con.hr-fcol, body .elementor .e-con.hr-fbrand-col, body .elementor .e-con.hr-fcontact-col { --width: 100%; width: 100% !important; }
	.hr-fbrand { border-right: 0; }
	.hr-fcontact { flex-direction: column; }
}
@media (max-width: 767px) {
	.hr-fcontact .footer-contact-block { margin-bottom: 30px; }
	.hr-fcontact .footer-contact-block:last-child { margin-bottom: 0; }
}
/* Astrid: h3 20px on small phones */
@media (max-width: 500px) {
	h3, body h1.hr-h1-as-h3, body .home-highlights-section h3, body .home-highlights-section h1.hr-h1, .elementor-widget-heading h3.elementor-heading-title { font-size: 20px !important; }
}

/* pages without Elementor (sample page, empty reservation page, 404): content under the fixed header */
body:not(.elementor-page) main#content, body:not(.elementor-page) main.site-main { max-width: 1140px; margin: 0 auto; padding: 160px 15px 120px; }
/* archives (archive.php): Astrid post list */
.hr-archive-title { font-size: 36px; margin: 0 0 40px; }
.hr-archive-title i { color: #1bbf9c; font-size: 30px; margin-right: 10px; }
.hr-archive-item { margin-bottom: 60px; }
.hr-archive-item .entry-title { font-size: 30px; margin: 0 0 20px; }
.hr-archive-item .entry-title a { color: #272727; }
.hr-archive-body { display: flex; gap: 30px; align-items: flex-start; }
.hr-archive-body .entry-thumb { flex: 0 0 40%; }
.hr-archive-body .entry-thumb img { display: block; width: 100%; height: auto; }
.hr-archive-body .entry-summary { flex: 1 1 auto; }
.hr-archive .read-more { margin-top: 20px; }
.hr-archive .post-button { display: inline-block; padding: 12px 30px; border: 1px solid #1bbf9c; color: #1bbf9c; text-transform: uppercase; letter-spacing: 4px; }
.hr-archive .post-button:hover { background: #1bbf9c; color: #fff; text-decoration: none; }
@media (max-width: 767px) { .hr-archive-body { flex-direction: column; } }
