/*
 * 대전여성기업인협회 테마 푸터 전용 CSS
 * 설치 위치: /theme/dwea/css/tail.css
 */

/* =========================================================
   푸터 전용 변수
   전체 사이트 폰트는 head.php에서 적용합니다.
========================================================= */
:root {
    --dwca-footer-blue: #6842b8;
    --dwca-footer-blue-dark: #6842b8;
    --dwca-footer-white: #ffffff;
    --dwca-footer-muted: #707984;
    --dwca-footer-line: #e3e6ea;
    --dwca-footer-max: 1400px;
}

/* =========================================================
   푸터 초기화
========================================================= */
#dwca_ft,
#dwca_ft * {
    box-sizing: border-box;
}

#dwca_ft {
    position: relative;
    z-index: 10;
    width: 100%;
    margin: 0;
    padding: 0;
    color: #fff;
    background: #fff;
}

#dwca_ft a {
    color: inherit;
    text-decoration: none;
}

#dwca_ft ul,
#dwca_ft ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

#dwca_ft p {
    margin: 0;
}

#dwca_ft .dwca-ft-inner {
    width: min(var(--dwca-footer-max), calc(100% - 64px));
    margin: 0 auto;
}

/* =========================================================
   회원사 로고 슬라이더
========================================================= */
#dwca_ft .dwca-member-strip {
    width: 100%;
    border-top: 1px solid #dedede;
    border-bottom: 1px solid #dedede;
    background: #fff;
}

#dwca_ft .dwca-member-strip-inner {
    display: grid;
    width: min(var(--dwca-footer-max), calc(100% - 64px));
    min-height: 102px;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    align-items: center;
    gap: 18px;
    margin: 0 auto;
}

#dwca_ft .dwca-member-viewport {
    min-width: 0;
    overflow: hidden;
}

#dwca_ft .dwca-member-track {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 32px;
    transform: translate3d(0, 0, 0);
    transition: transform .45s ease;
    will-change: transform;
}

#dwca_ft .dwca-member-item {
    flex: 0 0 calc((100% - 160px) / 6);
    min-width: 0;
}

#dwca_ft .dwca-member-link {
    display: flex;
    width: 100%;
    height: 72px;
    align-items: center;
    justify-content: center;
    padding: 8px 10px;
    border-radius: 8px;
    background: #fff;
}

#dwca_ft .dwca-member-link img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 54px;
    object-fit: contain;
    object-position: center;
    filter: none;
    transition:
        opacity .2s ease,
        transform .2s ease;
}

#dwca_ft .dwca-member-link:hover img,
#dwca_ft .dwca-member-link:focus img {
    opacity: .78;
    transform: scale(1.025);
}

#dwca_ft .dwca-member-nav {
    position: relative;
    display: block;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    color: #111;
    background: transparent;
    cursor: pointer;
}

#dwca_ft .dwca-member-nav::before {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 17px;
    height: 17px;
    border-top: 1.7px solid currentColor;
    border-left: 1.7px solid currentColor;
    content: "";
}

#dwca_ft .dwca-member-prev::before {
    transform: translate(-34%, -50%) rotate(-45deg);
}

#dwca_ft .dwca-member-next::before {
    transform: translate(-66%, -50%) rotate(135deg);
}

#dwca_ft .dwca-member-nav:hover,
#dwca_ft .dwca-member-nav:focus {
    color: var(--dwca-footer-blue);
    outline: none;
}

#dwca_ft .dwca-member-slider.is-static .dwca-member-nav {
    visibility: hidden;
    pointer-events: none;
}

#dwca_ft .dwca-member-slider.is-static .dwca-member-track {
    justify-content: center;
}

#dwca_ft .dwca-member-nav span {
    position: absolute;
    overflow: hidden;
    width: 1px;
    height: 1px;
    clip: rect(0, 0, 0, 0);
}

/* =========================================================
   상단 보라색 안내 영역
========================================================= */
#dwca_ft .dwca-ft-top {
    color: #fff;
	/*
    background: #6842b8 !important;
    background-color: #6842b8 !important;
	*/
    background: #494949 !important;
    background-color: #494949 !important;	
	
    background-image: none !important;
}

#dwca_ft .dwca-ft-top .dwca-ft-inner {
    display: flex;
    min-height: 94px;
    align-items: center;
    justify-content: space-between;
    gap: 45px;
}

#dwca_ft .dwca-ft-policy {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
}

#dwca_ft .dwca-ft-policy li {
    display: flex;
    align-items: center;
}

#dwca_ft .dwca-ft-policy li + li::before {
    width: 4px;
    height: 4px;
    margin: 0 20px;
    border-radius: 50%;
    content: "";
    background: rgba(255, 255, 255, .72);
}

#dwca_ft .dwca-ft-policy a {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    color: rgba(255, 255, 255, .72);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    transition: color .2s ease;
}

#dwca_ft .dwca-ft-policy li:first-child a {
    color: #fff;
    font-weight: 800;
}

#dwca_ft .dwca-ft-policy a:hover,
#dwca_ft .dwca-ft-policy a:focus {
    color: #fff;
}

#dwca_ft .dwca-ft-contact {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 0 0 auto;
    gap: 14px;
    color: #fff;
}

#dwca_ft .dwca-ft-contact-label {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    white-space: nowrap;
}

#dwca_ft .dwca-ft-phone-icon {
    position: relative;
    flex: 0 0 23px;
    width: 23px;
    height: 23px;
    border: 2px solid rgba(255, 255, 255, .9);
    border-radius: 50%;
}

#dwca_ft .dwca-ft-phone-icon::before {
    position: absolute;
    top: 5px;
    left: 6px;
    width: 8px;
    height: 10px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    border-radius: 0 0 7px 0;
    content: "";
    transform: rotate(-36deg);
}

#dwca_ft .dwca-ft-phone {
    color: #fff;
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.035em;
    white-space: nowrap;
}

#dwca_ft .dwca-ft-hours {
    color: rgba(255, 255, 255, .62);
    font-size: 12px;
    line-height: 1.55;
    white-space: nowrap;
}

/* =========================================================
   하단 흰색 정보 영역
========================================================= */
#dwca_ft .dwca-ft-bottom {
    color: #555e68;
    background: #fff;
}

#dwca_ft .dwca-ft-bottom .dwca-ft-inner {
    display: grid;
    min-height: 188px;
    grid-template-columns: 300px minmax(0, 1fr);
    align-items: center;
    gap: 54px;
    padding-top: 34px;
    padding-bottom: 34px;
}

#dwca_ft .dwca-ft-logo {
    display: flex;
    width: 280px;
    max-width: 100%;
    min-height: 74px;
    align-items: center;
    justify-content: flex-start;
}

#dwca_ft .dwca-ft-logo img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 74px;
    object-fit: contain;
    object-position: left center;
}

#dwca_ft .dwca-ft-info {
    min-width: 0;
}

#dwca_ft .dwca-ft-name {
    margin-bottom: 11px;
    color: #24303b;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.5;
}

#dwca_ft .dwca-ft-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    row-gap: 7px;
    color: #6e7680;
    font-size: 14px;
    line-height: 1.65;
}

#dwca_ft .dwca-ft-meta span {
    display: inline-flex;
    align-items: center;
}

#dwca_ft .dwca-ft-meta span + span::before {
    width: 1px;
    height: 12px;
    margin: 0 14px;
    content: "";
    background: #cfd4d9;
}

#dwca_ft .dwca-ft-copyright {
    margin-top: 4px;
    color: #747c85;
    font-size: 13px;
    line-height: 1.6;
    letter-spacing: -.01em;
}

/* =========================================================
   상단 이동 버튼
========================================================= */
#top_btn {
    position: fixed;
    z-index: 80;
    right: 28px;
    bottom: 28px;
    display: flex;
    width: 50px;
    height: 50px;
    align-items: center;
    justify-content: center;
    border: 1px solid #d8dde2;
    border-radius: 50%;
    color: #26313c;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 10px 28px rgba(17, 25, 35, .12);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition:
        opacity .2s ease,
        visibility .2s ease,
        transform .2s ease,
        color .2s ease,
        border-color .2s ease;
}

#top_btn.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#top_btn:hover,
#top_btn:focus {
    border-color: var(--dwca-footer-blue);
    color: var(--dwca-footer-blue);
    outline: none;
}

#top_btn::before,
#top_btn::after {
    position: absolute;
    content: "";
}

#top_btn::before {
    width: 10px;
    height: 10px;
    margin-top: 5px;
    border-top: 2px solid currentColor;
    border-left: 2px solid currentColor;
    transform: rotate(45deg);
}

#top_btn::after {
    width: 2px;
    height: 15px;
    margin-top: 11px;
    background: currentColor;
}

#top_btn span {
    position: absolute;
    overflow: hidden;
    width: 1px;
    height: 1px;
    clip: rect(0, 0, 0, 0);
}

/* =========================================================
   반응형
========================================================= */
@media (max-width: 1024px) {
    #dwca_ft .dwca-member-strip-inner {
        width: calc(100% - 40px);
        grid-template-columns: 38px minmax(0, 1fr) 38px;
        gap: 12px;
    }

    #dwca_ft .dwca-member-track {
        gap: 24px;
    }

    #dwca_ft .dwca-member-item {
        flex-basis: calc((100% - 96px) / 5);
    }

    #dwca_ft .dwca-ft-inner {
        width: calc(100% - 40px);
    }

    #dwca_ft .dwca-ft-top .dwca-ft-inner {
        min-height: 108px;
        gap: 24px;
    }

    #dwca_ft .dwca-ft-policy a {
        font-size: 14px;
    }

    #dwca_ft .dwca-ft-policy li + li::before {
        margin: 0 13px;
    }

    #dwca_ft .dwca-ft-phone {
        font-size: 27px;
    }

    #dwca_ft .dwca-ft-bottom .dwca-ft-inner {
        grid-template-columns: 240px minmax(0, 1fr);
        gap: 36px;
    }

    #dwca_ft .dwca-ft-logo {
        width: 225px;
    }
}

@media (max-width: 760px) {
    #dwca_ft .dwca-member-strip-inner {
        min-height: 94px;
        grid-template-columns: 34px minmax(0, 1fr) 34px;
        gap: 8px;
    }

    #dwca_ft .dwca-member-track {
        gap: 18px;
    }

    #dwca_ft .dwca-member-item {
        flex-basis: calc((100% - 54px) / 4);
    }

    #dwca_ft .dwca-member-link {
        height: 66px;
        padding: 8px;
    }

    #dwca_ft .dwca-member-link img {
        max-height: 48px;
    }

    #dwca_ft .dwca-member-nav {
        width: 34px;
        height: 40px;
    }

    #dwca_ft .dwca-ft-top .dwca-ft-inner {
        display: block;
        min-height: 0;
        padding-top: 24px;
        padding-bottom: 24px;
    }

    #dwca_ft .dwca-ft-policy {
        row-gap: 2px;
    }

    #dwca_ft .dwca-ft-contact {
        justify-content: flex-start;
        margin-top: 20px;
        padding-top: 18px;
        border-top: 1px solid rgba(255, 255, 255, .16);
    }

    #dwca_ft .dwca-ft-phone {
        font-size: 26px;
    }

    #dwca_ft .dwca-ft-bottom .dwca-ft-inner {
        display: block;
        min-height: 0;
        padding-top: 34px;
        padding-bottom: 38px;
    }

    #dwca_ft .dwca-ft-logo {
        width: 230px;
        min-height: 60px;
        margin-bottom: 24px;
    }

    #dwca_ft .dwca-ft-logo img {
        max-height: 60px;
    }
}

@media (max-width: 520px) {
    #dwca_ft .dwca-member-strip-inner {
        width: calc(100% - 20px);
        min-height: 88px;
        grid-template-columns: 30px minmax(0, 1fr) 30px;
        gap: 4px;
    }

    #dwca_ft .dwca-member-track {
        gap: 14px;
    }

    #dwca_ft .dwca-member-item {
        flex-basis: calc((100% - 14px) / 2);
    }

    #dwca_ft .dwca-member-link {
        height: 62px;
        padding: 7px;
    }

    #dwca_ft .dwca-member-link img {
        max-height: 44px;
    }

    #dwca_ft .dwca-member-nav {
        width: 30px;
        height: 38px;
    }

    #dwca_ft .dwca-member-nav::before {
        width: 14px;
        height: 14px;
    }

    #dwca_ft .dwca-ft-inner {
        width: calc(100% - 32px);
    }

    #dwca_ft .dwca-ft-policy {
        display: block;
    }

    #dwca_ft .dwca-ft-policy li {
        display: inline-flex;
        margin-right: 15px;
    }

    #dwca_ft .dwca-ft-policy li + li::before {
        display: none;
    }

    #dwca_ft .dwca-ft-policy a {
        min-height: 34px;
        font-size: 13px;
    }

    #dwca_ft .dwca-ft-contact {
        display: grid;
        grid-template-columns: auto auto minmax(0, 1fr);
        gap: 9px;
    }

    #dwca_ft .dwca-ft-contact-label {
        font-size: 13px;
    }

    #dwca_ft .dwca-ft-phone-icon {
        width: 20px;
        height: 20px;
        flex-basis: 20px;
    }

    #dwca_ft .dwca-ft-phone {
        font-size: 23px;
    }

    #dwca_ft .dwca-ft-hours {
        grid-column: 1 / -1;
        padding-left: 0;
    }

    #dwca_ft .dwca-ft-name {
        font-size: 15px;
    }

    #dwca_ft .dwca-ft-meta {
        display: block;
        font-size: 13px;
    }

    #dwca_ft .dwca-ft-meta span {
        display: block;
    }

    #dwca_ft .dwca-ft-meta span + span::before {
        display: none;
    }

    #dwca_ft .dwca-ft-copyright {
        margin-top: 10px;
        font-size: 12px;
    }

    #top_btn {
        right: 16px;
        bottom: 16px;
        width: 46px;
        height: 46px;
    }
}

@media print {
    #dwca_ft,
    #top_btn {
        display: none !important;
    }
}

/* =========================================================
   푸터 바로 위 불필요 공백 제거
========================================================= */
#container_wr,
.dwea-content-shell,
#container,
.dwea-content-layout,
.con {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

#container {
    min-height: auto !important;
}

.con > *:last-child,
.dwea-content-layout > *:last-child {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}
