/*
Theme Name: Medin Child
Theme URI: https://sofiaimplantcentre.com
Description: Child theme for Medin - Sofia Implant Centre custom pages
Author: Sofia Implant Centre
Author URI: https://sofiaimplantcentre.com
Template: medin
Version: 1.1.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: medin-child
*/

/* Footer — all text white */
.footer,
.footer .container,
.footer h3,
.footer p,
.footer a,
.footer li,
.footer span,
.footer .footer-text,
.footer .icn-list,
.footer .icn-list li,
.footer .textwidget,
.footer .widget_custom_html,
.footer .tt-newsletter-notice,
.footer .tt-footer-widgets__posts,
.footer .footer-col1 {
    color: #fff !important;
}

.footer a:hover,
.footer a:focus {
    color: #fff !important;
    opacity: 0.75;
    text-decoration: underline;
}

/* Footer social icons — keep visible on hover (no blue swap) */
.footer .footer-social a,
.footer .footer-social a [class*='icon-'],
.footer .footer-social a svg {
    color: #fff !important;
    fill: currentColor;
}

.footer .footer-social a:hover,
.footer .footer-social a:focus,
.footer .footer-social a:hover [class*='icon-'],
.footer .footer-social a:focus [class*='icon-'],
.footer .footer-social a:hover svg,
.footer .footer-social a:focus svg {
    color: #fff !important;
    fill: currentColor !important;
    opacity: 0.75;
    text-decoration: none;
}

/* Footer bottom — all text black */
.footer-bottom,
.footer-bottom p,
.footer-bottom a,
.footer-bottom span {
    color: #000 !important;
}

.footer-bottom a:hover {
    color: #00afc5 !important;
}

/* Footer spacing */
.footer {
    margin-top: 0 !important;
}

/* Contact page — breathing room between the form/submit button and footer */
.page .entry-content .wpcf7,
.page .page-main .wpcf7,
.page-content .wpcf7,
.page .entry-content form.wpcf7-form {
    margin-bottom: 60px;
}

.page .entry-content,
.page .page-main > .container,
.page .page-main > .sic-container {
    padding-bottom: 40px;
}

@media (max-width: 767px) {
    .ch-woo-no .header-lang {
        margin-top: -54px;
    }
}

.header-topline__left {
    width: 100%;
    justify-content: space-between;
}

.header-topline .row,
.header-topline .container {
    width: 100%;
}

.header-info + *:before, .header-phone + *:before {
    display: none;
}

/* ==========================================================================
   Footer "Request a call" form
   ========================================================================== */

.tt-newsletter-notice {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 12px !important;
}

.footer .wpcf7 {
    max-width: 100%;
}

.tt-footer-newsletter {
    display: flex !important;
    align-items: center;
    gap: 10px;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    position: static !important;
    float: none !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
}

/* Footer 3-column layout */
.footer > .container > .row {
    display: flex !important;
    justify-content: space-between;
}

.footer .footer-col1 {
    flex: 0 0 30%;
    max-width: 30%;
}

.footer .tt-footer-widgets__posts {
    flex: 0 0 35%;
    max-width: 35%;
}

.footer .ch-footer-right {
    flex: 0 0 30%;
    max-width: 30%;
    text-align: right;
}

/* Footer logo */
.footer .footer-logo img {
    max-width: 350px !important;
    filter: brightness(0) invert(1);
}

/* Fix the footer phone input */
.footer .intl-tel-input > div.flag-container {
    left: 0 !important;
}

.footer .intl-tel-input input,
.footer .intl-tel-input input[type="tel"],
.footer .intl-tel-input input[type="text"] {
    margin-left: 0 !important;
    padding-left: 92px !important;
}

/* Our Contacts — align heading with content */
.footer .tt-footer-widgets__posts {
    padding-left: 30px;
}

.footer .tt-footer-widgets__posts h3 {
    margin-top: 0;
    padding-left: 30px;
}

.footer .icn-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.footer .icn-list li {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px;
    margin-bottom: 12px;
}

.footer .icn-list li svg {
    flex-shrink: 0;
    margin-top: 3px;
}

@media (max-width: 991px) {
    .footer > .container > .row {
        flex-direction: column !important;
    }

    .footer .footer-col1,
    .footer .tt-footer-widgets__posts,
    .footer .ch-footer-right {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        margin-bottom: 30px;
    }

    .footer .tt-footer-widgets__posts {
        padding-left: 0;
    }

    .footer .tt-footer-widgets__posts h3 {
        padding-left: 30px;
    }

    .footer .ch-footer-right {
        text-align: left;
    }
}

.tt-footer-newsletter__input {
    flex: 1;
    min-width: 0;
}

.tt-footer-newsletter__input p {
    margin: 0 !important;
}

.footer .intl-tel-input {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.footer .tt-footer-newsletter__input,
.footer .tt-footer-newsletter__input p,
.footer .tt-footer-newsletter__input span,
.footer .tt-footer-newsletter__input div {
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.footer .intl-tel-input.allow-dropdown {
    margin-left: 0 !important;
    left: 0 !important;
    position: relative !important;
}

.footer .dropup,
.footer .intl-tel-input .dropup,
.tt-footer-newsletter__input > p > span > div > div > ul {
    left: 0 !important;
}

.tt-footer-newsletter__btn > p > input {
    margin-left: 0 !important;
    width: auto !important;
}

.tt-footer-newsletter__btn {
    width: auto !important;
    display: flex !important;
}

.footer .tt-footer-newsletter input.wpcf7-text,
.footer .tt-footer-newsletter input[type="text"] {
    width: 100% !important;
    height: 40px;
    padding: 0 12px;
    border: 1px solid rgba(255,255,255,0.35);
    border-radius: 6px;
    background: rgba(255,255,255,0.1);
    color: #fff !important;
    font-size: 14px;
    outline: none;
    box-sizing: border-box;
}

.footer .tt-footer-newsletter input::placeholder {
    color: rgba(255,255,255,0.5) !important;
}

.footer .tt-footer-newsletter input:focus {
    border-color: #fff;
}

.tt-footer-newsletter__btn {
    flex-shrink: 0;
}

.tt-footer-newsletter__btn p {
    margin: 0 !important;
    display: flex;
    align-items: center;
}

.tt-footer-newsletter__btn input[type="submit"] {
    height: 40px;
    padding: 0 20px;
    border: none;
    border-radius: 6px;
    background: #fff;
    color: #00afc5;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tt-footer-newsletter__btn input[type="submit"]:hover {
    background: #00afc5;
    color: #fff;
}

.tt-footer-newsletter__btn .icon {
    display: none;
}

.footer .intl-tel-input .selected-dial-code {
    color: #fff !important;
}

.footer .intl-tel-input .country-list {
    z-index: 9999 !important;
}

.footer .intl-tel-input .country-list .country-name,
.footer .intl-tel-input .country-list .dial-code {
    color: #000 !important;
}

.footer .wpcf7-response-output {
    margin: 8px 0 0 !important;
    padding: 6px 12px !important;
    font-size: 13px;
}

/* Hide the default theme page-title / breadcrumb wrapper */
.page-title.tt-bc-wrapper {
    display: none;
}