/*
Theme Name: Rèm Cửa Duy Phát
Theme URI: https://remduyphat.com
Author: Chuyển đổi từ NINACORE
Description: Theme giữ nguyên giao diện website Rèm Cửa Duy Phát, chuyển từ source NINACORE sang WordPress.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 8.1
Text Domain: remduyphat
*/

.rdp-footer-columns {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
    gap: clamp(24px, 5vw, 72px);
    align-items: start;
    color: #fff3df;
}

.rdp-footer-title {
    margin: 0 0 14px;
    color: #fff3df;
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
}

.rdp-footer-intro {
    max-width: 430px;
    margin: 0 0 20px;
    line-height: 1.65;
}

.rdp-footer-contact .rdp-footer-button,
.rdp-footer-map .rdp-footer-button {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 10px;
    min-height: 44px;
    padding: 9px 16px;
    border: 1px solid #edd09d;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
}

.rdp-footer-contact .rdp-footer-call {
    background: #edd09d;
    color: #3d210f;
}

.rdp-footer-call strong {
    font-size: 1.125rem;
}

.rdp-footer-details {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    gap: 8px 14px;
    margin: 20px 0 0;
}

.rdp-footer-details dd {
    margin: 0;
    overflow-wrap: anywhere;
}

.rdp-footer-details a,
.rdp-footer-social a {
    color: #fff3df;
}

.rdp-footer-details a {
    text-decoration: underline;
}

.rdp-footer-social {
    display: grid;
    gap: 16px;
}

.rdp-footer-social #facebookComponent {
    height: auto;
    min-height: 130px;
    overflow: hidden;
    border-radius: 14px;
}

.rdp-footer-social #facebookComponent iframe {
    display: block;
    max-width: 100%;
    border-radius: 14px;
}

.rdp-footer-map iframe {
    display: block;
    width: 100%;
    border: 0;
    border-radius: 14px;
}

.rdp-footer-map .rdp-footer-directions {
    margin-top: 10px;
    color: #fff3df;
}

.rdp-footer-button:focus-visible {
    outline: 2px solid #fff3df;
    outline-offset: 3px;
}

.hotline-header:hover,
.button-contact-pro-detail a:hover,
.more-newsnb:hover {
    --rdp-icon-hover-fill: var(--color-hover);
}

.toolbar-app .list-phone svg {
    fill: var(--color-main);
}

@media (max-width: 850px) {
    .rdp-footer-columns {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }
}

@media (max-width: 575px) {
    .rdp-footer-map iframe {
        height: 200px;
    }

    .rdp-footer-in-view #social,
    .rdp-footer-in-view .check-toolbar {
        visibility: hidden;
    }
}
