/*
Theme Name: GeneratePress Child
Theme URI: https://example.com/
Description: 우리동네 24시 약국용 GeneratePress 자식 테마
Author: Site Admin
Template: generatepress
Version: 1.6.0
Text Domain: generatepress-child
*/

.pharmacy-single {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

.pharmacy-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.pharmacy-title {
    margin-top: 0;
    margin-bottom: 24px;
}

.pharmacy-info {
    display: grid;
    gap: 14px;
    margin: 0;
}

.pharmacy-info-row {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid #eeeeee;
}

.pharmacy-info-row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.pharmacy-info dt {
    font-weight: 700;
}

.pharmacy-info dd {
    margin: 0;
}

@media (max-width: 600px) {
    .pharmacy-info-row {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}

/* =========================================================
   약국 지역 목록
   ========================================================= */

.pharmacy-region-page {
    background: #f7f9fc;
    color: #18202b;
    padding: 30px 20px 56px;
}

.pharmacy-region-shell {
    width: min(1180px, 100%);
    margin: 0 auto;
}

.pharmacy-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
    color: #64748b;
    font-size: 14px;
}

.pharmacy-breadcrumb a {
    color: inherit;
    text-decoration: none;
}

.pharmacy-region-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    min-height: 220px;
    overflow: hidden;
    margin-bottom: 26px;
    padding: 34px 38px;
    border: 1px solid #e1e8f2;
    border-radius: 22px;
    background: linear-gradient(135deg, #ffffff 0%, #f1f6ff 100%);
}

.pharmacy-region-hero__content {
    position: relative;
    z-index: 2;
    align-self: center;
}

.pharmacy-region-hero__eyebrow {
    margin: 0 0 8px;
    color: #2563eb;
    font-size: 14px;
    font-weight: 700;
}

.pharmacy-region-hero h1 {
    margin: 0 0 14px;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.18;
    letter-spacing: -0.04em;
}

.pharmacy-region-hero h1 strong {
    color: #2563eb;
}

.pharmacy-region-hero p {
    margin: 0 0 15px;
    color: #536174;
}

.pharmacy-region-count {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #334155;
    font-size: 14px;
    font-weight: 600;
}

.pharmacy-region-count span {
    color: #2563eb;
}

.pharmacy-region-hero__art {
    position: relative;
    min-height: 150px;
}

.pharmacy-region-hero__moon {
    position: absolute;
    top: 0;
    right: 70px;
    color: #b9d4ff;
    font-size: 64px;
}

.pharmacy-region-hero__cross {
    position: absolute;
    right: 85px;
    bottom: 38px;
    z-index: 2;
    color: #ffffff;
    font-size: 50px;
    text-shadow: 0 8px 20px rgba(37, 99, 235, .25);
}

.pharmacy-region-hero__building {
    position: absolute;
    right: 20px;
    bottom: 0;
    width: 190px;
    padding: 42px 15px 25px;
    border-radius: 18px 18px 6px 6px;
    background: linear-gradient(180deg, #4d8cff 0%, #2563eb 100%);
    color: #ffffff;
    text-align: center;
    font-weight: 800;
    letter-spacing: .08em;
    box-shadow: 0 20px 40px rgba(37, 99, 235, .2);
}

.pharmacy-region-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 26px;
    align-items: start;
}

.pharmacy-list {
    display: grid;
    gap: 11px;
}

.pharmacy-list-card {
    margin: 0;
    border: 1px solid #e1e7ef;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 4px 14px rgba(15, 23, 42, .035);
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.pharmacy-list-card:hover {
    transform: translateY(-2px);
    border-color: #9fc0ff;
    box-shadow: 0 10px 24px rgba(37, 99, 235, .1);
}

.pharmacy-list-card__link {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    min-height: 132px;
    padding: 20px 22px;
    color: inherit;
    text-decoration: none;
}

.pharmacy-list-card__number {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #eef4ff;
    color: #1d5fd1;
    font-weight: 800;
}

.pharmacy-list-card__heading {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 5px;
}

.pharmacy-list-card h2 {
    margin: 0;
    font-size: 19px;
    line-height: 1.3;
    letter-spacing: -0.02em;
}


.pharmacy-list-card p {
    margin: 4px 0 0;
}


.pharmacy-list-card__meta {
    display: flex;
    gap: 6px;
    align-items: flex-start;
    color: #657386;
    font-size: 14px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.pharmacy-list-card__meta span {
    flex: 0 0 auto;
    color: #7ba7ef;
}

.pharmacy-list-card__more {
    white-space: nowrap;
    color: #1f65d6;
    font-size: 13px;
    font-weight: 700;
}

.pharmacy-list-ad {
    min-height: 106px;
    padding: 12px 18px 18px;
    border: 1px solid #8cb5ff;
    border-radius: 12px;
    background: #ffffff;
    text-align: center;
}

.pharmacy-list-ad__label {
    display: block;
    margin-bottom: 7px;
    color: #657386;
    font-size: 11px;
}

.pharmacy-list-ad__placeholder {
    display: grid;
    gap: 3px;
    place-items: center;
    min-height: 56px;
    color: #445268;
}

.pharmacy-list-ad__placeholder strong {
    font-size: 20px;
    font-weight: 500;
}

.pharmacy-list-ad__placeholder span {
    font-size: 12px;
}

.pharmacy-region-sidebar {
    display: grid;
    gap: 18px;
    position: sticky;
    top: 30px;
}

.pharmacy-sidebar-box {
    padding: 21px;
    border: 1px solid #e1e7ef;
    border-radius: 14px;
    background: #ffffff;
}

.pharmacy-sidebar-box h2 {
    margin: 0 0 15px;
    font-size: 19px;
}

.pharmacy-sidebar-current {
    margin: 0 0 12px;
    padding: 12px;
    border-radius: 9px;
    background: #eff5ff;
    color: #1d5fd1;
    font-weight: 700;
}

.pharmacy-sidebar-box select {
    width: 100%;
    min-height: 44px;
    border: 1px solid #cfd8e5;
    border-radius: 8px;
    background: #ffffff;
}

.pharmacy-sidebar-regions ul,
.pharmacy-sidebar-guide ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.pharmacy-sidebar-regions li + li {
    margin-top: 4px;
}

.pharmacy-sidebar-regions a {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 7px 2px;
    color: #364152;
    text-decoration: none;
}

.pharmacy-sidebar-regions a:hover {
    color: #2563eb;
}

.pharmacy-sidebar-regions a span {
    color: #8491a3;
}

.pharmacy-sidebar-guide li {
    position: relative;
    padding-left: 14px;
    color: #5b6778;
    font-size: 14px;
    line-height: 1.65;
}

.pharmacy-sidebar-guide li + li {
    margin-top: 8px;
}

.pharmacy-sidebar-guide li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #2563eb;
}

.pharmacy-pagination {
    margin-top: 24px;
}

.pharmacy-pagination .page-numbers {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pharmacy-pagination a,
.pharmacy-pagination span {
    display: grid;
    place-items: center;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    border: 1px solid #dce3ec;
    border-radius: 7px;
    background: #ffffff;
    color: #465366;
    text-decoration: none;
}

.pharmacy-pagination .current {
    border-color: #2563eb;
    background: #2563eb;
    color: #ffffff;
}

.pharmacy-empty {
    padding: 50px 25px;
    border: 1px solid #e1e7ef;
    border-radius: 14px;
    background: #ffffff;
    text-align: center;
}

/* 태블릿 */
@media (max-width: 960px) {
    .pharmacy-region-hero {
        grid-template-columns: minmax(0, 1fr) 230px;
    }

    .pharmacy-region-layout {
        grid-template-columns: 1fr;
    }

    .pharmacy-region-sidebar {
        grid-row: 1;
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pharmacy-sidebar-guide {
        display: none;
    }
}

/* 모바일 */
@media (max-width: 680px) {
    .pharmacy-region-page {
        padding: 18px 12px 38px;
    }

    .pharmacy-breadcrumb {
        margin-bottom: 14px;
        font-size: 12px;
    }

    .pharmacy-region-hero {
        display: block;
        min-height: 0;
        margin-bottom: 16px;
        padding: 24px 20px;
        border-radius: 16px;
    }

    .pharmacy-region-hero h1 {
        margin-bottom: 10px;
        font-size: 30px;
    }

    .pharmacy-region-hero__art {
        display: none;
    }

    .pharmacy-region-layout {
        gap: 14px;
    }

    .pharmacy-region-sidebar {
        display: block;
    }

    .pharmacy-sidebar-box {
        padding: 16px;
        border-radius: 12px;
    }

    .pharmacy-sidebar-regions,
    .pharmacy-sidebar-guide {
        display: none;
    }

    .pharmacy-sidebar-box h2 {
        margin-bottom: 10px;
        font-size: 17px;
    }

    .pharmacy-sidebar-current {
        display: none;
    }

    .pharmacy-list {
        gap: 9px;
    }

    .pharmacy-list-card__link {
        grid-template-columns: 38px minmax(0, 1fr);
        gap: 12px;
        min-height: 0;
        padding: 17px 15px;
    }

    .pharmacy-list-card__number {
        align-self: start;
        width: 36px;
        height: 36px;
        font-size: 13px;
    }

    .pharmacy-list-card h2 {
        font-size: 17px;
    }

    .pharmacy-list-card__meta {
        font-size: 13px;
    }

    .pharmacy-list-card__more {
        grid-column: 2;
        justify-self: end;
        margin-top: 7px;
    }

    .pharmacy-list-ad {
        min-height: 92px;
        padding: 10px 12px 14px;
    }

    .pharmacy-list-ad__placeholder strong {
        font-size: 18px;
    }
}

/* =========================================================
   약국 목록 운영시간 및 빠른 실행 버튼
   ========================================================= */

.pharmacy-list-card__inner {
    overflow: hidden;
    border-radius: inherit;
}

.pharmacy-list-card__content-link {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    min-height: 132px;
    padding: 20px 22px 16px;
    color: inherit;
    text-decoration: none;
}

.pharmacy-list-hours {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px 12px;
    margin-top: 13px;
}

.pharmacy-list-hours span {
    display: flex;
    min-width: 0;
    gap: 7px;
    color: #5f6d80;
    font-size: 13px;
    line-height: 1.35;
}

.pharmacy-list-hours strong {
    flex: 0 0 auto;
    min-width: 44px;
    color: #244b86;
    font-weight: 700;
}

.pharmacy-list-card__actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 0 22px 18px 92px;
}

.pharmacy-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 38px;
    padding: 8px 14px;
    border: 1px solid #cfd9e7;
    border-radius: 8px;
    background: #ffffff;
    color: #334155;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

.pharmacy-action:hover {
    border-color: #7faaff;
    background: #f4f8ff;
    color: #1859c9;
}

.pharmacy-action--phone {
    border-color: #9dc0ff;
    background: #edf4ff;
    color: #1859c9;
}

@media (max-width: 680px) {
    .pharmacy-list-card__content-link {
        grid-template-columns: 38px minmax(0, 1fr);
        gap: 12px;
        min-height: 0;
        padding: 17px 15px 12px;
    }

    .pharmacy-list-hours {
        grid-template-columns: 1fr;
        gap: 5px;
        margin-top: 11px;
    }

    .pharmacy-list-card__more {
        grid-column: 2;
        justify-self: end;
        margin-top: 7px;
    }

    .pharmacy-list-card__actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        padding: 0 15px 15px 65px;
    }

    .pharmacy-action {
        width: 100%;
        min-height: 44px;
        padding: 9px 8px;
    }
}

/* =========================================================
   약국 상세페이지
   ========================================================= */

.pharmacy-single-page {
    background: #f7f9fc;
    color: #18202b;
    padding: 30px 20px 56px;
}

.pharmacy-single-shell {
    width: min(1100px, 100%);
    margin: 0 auto;
}

.pharmacy-single-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 28px;
    align-items: center;
    margin-bottom: 20px;
    padding: 34px 38px;
    border: 1px solid #e1e8f2;
    border-radius: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f4f8ff 100%);
}

.pharmacy-single-eyebrow {
    margin: 0 0 8px;
    color: #2563eb;
    font-size: 14px;
    font-weight: 700;
}

.pharmacy-single-hero h1 {
    margin: 0 0 12px;
    font-size: clamp(32px, 5vw, 48px);
    line-height: 1.15;
    letter-spacing: -0.04em;
}

.pharmacy-single-address {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    margin: 0;
    color: #5d6a7c;
    line-height: 1.55;
}

.pharmacy-single-address span {
    color: #2563eb;
}

.pharmacy-single-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.pharmacy-single-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 138px;
    min-height: 50px;
    padding: 12px 20px;
    border-radius: 10px;
    color: #ffffff;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(37, 99, 235, .16);
}

.pharmacy-single-button:hover {
    color: #ffffff;
    transform: translateY(-1px);
}

.pharmacy-single-button--phone {
    background: #2563eb;
}

.pharmacy-single-button--map {
    background: #10a85a;
}

.pharmacy-single-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
    gap: 20px;
    margin-top: 20px;
}

.pharmacy-single-card {
    padding: 26px;
    border: 1px solid #e1e7ef;
    border-radius: 16px;
    background: #ffffff;
}

.pharmacy-single-card h2 {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 20px;
    font-size: 22px;
}

.pharmacy-single-card h2 span {
    color: #2563eb;
}

.pharmacy-hours-table {
    margin: 0;
}

.pharmacy-hours-table > div {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    min-height: 54px;
    border-bottom: 1px solid #edf1f6;
}

.pharmacy-hours-table > div:first-child {
    border-top: 1px solid #edf1f6;
}

.pharmacy-hours-table dt,
.pharmacy-hours-table dd {
    margin: 0;
}

.pharmacy-hours-table dt {
    display: flex;
    align-items: center;
    gap: 7px;
    font-weight: 700;
}

.pharmacy-hours-table dd {
    text-align: right;
    color: #344154;
}

.pharmacy-hours-table .is-today dt,
.pharmacy-hours-table .is-today dd {
    color: #2563eb;
}

.pharmacy-today-badge {
    padding: 2px 7px;
    border-radius: 999px;
    background: #eaf2ff;
    color: #2563eb;
    font-size: 11px;
    font-weight: 700;
}

.pharmacy-hours-note {
    margin: 18px 0 0;
    color: #6b7788;
    font-size: 13px;
    line-height: 1.6;
}

.pharmacy-info-row + .pharmacy-info-row {
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid #edf1f6;
}

.pharmacy-info-row h3 {
    margin: 0 0 7px;
    color: #5f6b7a;
    font-size: 13px;
}

.pharmacy-info-row p {
    margin: 0;
    color: #1f2937;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.pharmacy-info-row a {
    color: #2563eb;
    font-size: 20px;
    font-weight: 800;
    text-decoration: none;
}

.pharmacy-visit-notice {
    margin-top: 20px;
    padding: 24px 26px;
    border: 1px solid #efd986;
    border-radius: 15px;
    background: #fffaf0;
}

.pharmacy-visit-notice h2 {
    margin: 0 0 10px;
    font-size: 20px;
}

.pharmacy-visit-notice h2 span {
    color: #c39a21;
}

.pharmacy-visit-notice p {
    margin: 0;
    color: #5f5846;
    line-height: 1.75;
}

.pharmacy-verified-date {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 20px;
    padding: 17px 20px;
    border: 1px solid #e1e7ef;
    border-radius: 12px;
    background: #ffffff;
    color: #4b5768;
}

.pharmacy-verified-date span {
    color: #64748b;
}

.pharmacy-back-region {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 9px;
    margin-top: 20px;
    min-height: 58px;
    padding: 14px 18px;
    border: 1px solid #7ba7ef;
    border-radius: 11px;
    background: #ffffff;
    color: #1859c9;
    font-weight: 800;
    text-decoration: none;
}

.pharmacy-back-region:hover {
    background: #f3f7ff;
    color: #1859c9;
}

.pharmacy-single-shell > .pharmacy-list-ad {
    margin-top: 20px;
}

@media (max-width: 780px) {
    .pharmacy-single-hero {
        grid-template-columns: 1fr;
        padding: 26px 24px;
    }

    .pharmacy-single-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pharmacy-single-button {
        width: 100%;
        min-width: 0;
    }

    .pharmacy-single-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .pharmacy-single-page {
        padding: 18px 12px 40px;
    }

    .pharmacy-single-hero {
        gap: 20px;
        padding: 22px 18px;
        border-radius: 15px;
    }

    .pharmacy-single-hero h1 {
        font-size: 31px;
    }

    .pharmacy-single-actions {
        gap: 8px;
    }

    .pharmacy-single-button {
        min-height: 46px;
        padding: 10px 8px;
        font-size: 14px;
    }

    .pharmacy-single-card {
        padding: 20px 18px;
    }

    .pharmacy-hours-table > div {
        grid-template-columns: 92px minmax(0, 1fr);
        gap: 10px;
        min-height: 49px;
    }

    .pharmacy-visit-notice {
        padding: 20px 18px;
    }

    .pharmacy-back-region {
        font-size: 14px;
        text-align: center;
    }
}

/* =========================================================
   홈페이지
   ========================================================= */

.pharmacy-home-page {
    background: #ffffff;
    color: #172033;
}

.pharmacy-home-shell {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

.pharmacy-home-hero {
    padding: 70px 0 64px;
    background:
        radial-gradient(circle at 75% 30%, rgba(80, 149, 255, .16), transparent 25%),
        linear-gradient(135deg, #f7fbff 0%, #edf6ff 100%);
    border-bottom: 1px solid #e4edf7;
}

.pharmacy-home-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
    gap: 54px;
    align-items: center;
}

.pharmacy-home-eyebrow,
.pharmacy-home-section-kicker {
    display: inline-flex;
    margin: 0 0 14px;
    padding: 7px 12px;
    border-radius: 999px;
    background: #e7f1ff;
    color: #1458c6;
    font-size: 13px;
    font-weight: 800;
}

.pharmacy-home-hero h1 {
    margin: 0;
    font-size: clamp(38px, 5.7vw, 62px);
    line-height: 1.15;
    letter-spacing: -0.045em;
}

.pharmacy-home-hero h1 strong {
    color: #1e63d7;
}

.pharmacy-home-lead {
    max-width: 590px;
    margin: 20px 0 26px;
    color: #536176;
    font-size: 17px;
    line-height: 1.75;
}

.pharmacy-home-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    max-width: 650px;
    overflow: hidden;
    border: 1px solid #d8e1ec;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(47, 78, 117, .13);
}

.pharmacy-home-search input {
    width: 100%;
    min-height: 60px;
    padding: 0 20px;
    border: 0;
    background: transparent;
    font-size: 16px;
    outline: none;
}

.pharmacy-home-search button {
    min-width: 126px;
    border: 0;
    background: #1f63d8;
    color: #ffffff;
    font-weight: 800;
    cursor: pointer;
}

.pharmacy-home-search button:hover {
    background: #174fae;
}

.pharmacy-home-search-example {
    margin: 15px 0 0;
    color: #7a8797;
    font-size: 14px;
}

.pharmacy-home-hero__art {
    position: relative;
    min-height: 310px;
}

.pharmacy-home-building {
    position: absolute;
    right: 8%;
    bottom: 0;
    width: 260px;
    height: 190px;
    border-radius: 14px 14px 5px 5px;
    background: linear-gradient(#ffffff, #dbeaff);
    border: 8px solid #c5dcfb;
    box-shadow: 0 20px 40px rgba(51, 99, 161, .18);
}

.pharmacy-home-building > span {
    position: absolute;
    top: -36px;
    left: 36px;
    right: 36px;
    padding: 9px;
    border-radius: 7px 7px 0 0;
    background: #1e63d7;
    color: #ffffff;
    text-align: center;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: .04em;
}

.pharmacy-home-building i {
    position: relative;
    display: inline-block;
    width: 42px;
    height: 52px;
    margin: 28px 7px 0 16px;
    background: #7fb2f7;
    border: 5px solid #ffffff;
}

.pharmacy-home-building b {
    position: absolute;
    right: -22px;
    top: 58px;
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 8px;
    background: #2f7be5;
    color: #ffffff;
    font-size: 30px;
}

.pharmacy-home-pin {
    position: absolute;
    top: 4px;
    right: 28%;
    display: grid;
    place-items: center;
    width: 86px;
    height: 86px;
    border-radius: 50% 50% 50% 12px;
    transform: rotate(-45deg);
    background: #5f9ff5;
    color: #ddecff;
    font-size: 28px;
    box-shadow: 0 12px 25px rgba(45, 105, 185, .18);
}

.pharmacy-home-pin::first-letter {
    transform: rotate(45deg);
}

.pharmacy-home-page .pharmacy-list-ad {
    margin: 32px 0;
}

.pharmacy-home-regions {
    padding: 20px 0 8px;
}

.pharmacy-home-section-heading {
    margin-bottom: 24px;
}

.pharmacy-home-section-heading h2 {
    margin: 0 0 8px;
    font-size: 29px;
    letter-spacing: -0.025em;
}

.pharmacy-home-section-heading p:last-child {
    margin: 0;
    color: #6c7889;
}

.pharmacy-home-region-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.pharmacy-home-region-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    min-height: 68px;
    padding: 14px 16px;
    border: 1px solid #dfe7f0;
    border-radius: 11px;
    background: #ffffff;
    color: #1d2939;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(35, 58, 86, .04);
}

.pharmacy-home-region-card:hover {
    border-color: #74a6ec;
    background: #f5f9ff;
    color: #1458c6;
    transform: translateY(-1px);
}

.pharmacy-home-region-icon {
    color: #1e63d7;
    font-size: 20px;
}

.pharmacy-home-region-card small {
    color: #8a95a5;
    font-size: 12px;
    font-weight: 600;
}

.pharmacy-home-notice {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    margin: 0 0 52px;
    padding: 26px 30px;
    border: 1px solid #eed88b;
    border-radius: 14px;
    background: #fffaf0;
}

.pharmacy-home-notice h2 {
    margin: 0 0 9px;
    font-size: 20px;
}

.pharmacy-home-notice h2 span {
    color: #c79d23;
}

.pharmacy-home-notice p {
    margin: 0;
    color: #625b48;
    line-height: 1.75;
}

.pharmacy-home-notice__phone {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    border: 2px solid #d5dce5;
    border-radius: 10px;
    background: #ffffff;
    color: #1e63d7;
    font-size: 30px;
}

.pharmacy-search-results {
    width: min(820px, 100%);
    margin-top: 24px;
}

.pharmacy-search-region {
    display: inline-block;
    margin: 8px 0 0;
    padding: 4px 9px;
    border-radius: 999px;
    background: #eef5ff;
    color: #2465c7;
    font-size: 12px;
    font-weight: 700;
}

@media (max-width: 900px) {
    .pharmacy-home-hero__inner {
        grid-template-columns: 1fr;
    }

    .pharmacy-home-hero__art {
        display: none;
    }

    .pharmacy-home-region-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .pharmacy-home-shell {
        width: min(100% - 24px, 1120px);
    }

    .pharmacy-home-hero {
        padding: 42px 0 38px;
        text-align: center;
    }

    .pharmacy-home-eyebrow {
        margin-left: auto;
        margin-right: auto;
    }

    .pharmacy-home-hero h1 {
        font-size: 37px;
    }

    .pharmacy-home-lead {
        font-size: 15px;
    }

    .pharmacy-home-search {
        grid-template-columns: 1fr;
    }

    .pharmacy-home-search input {
        min-height: 54px;
    }

    .pharmacy-home-search button {
        min-height: 48px;
    }

    .pharmacy-home-region-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
    }

    .pharmacy-home-region-card {
        grid-template-columns: auto minmax(0, 1fr);
        min-height: 58px;
        padding: 11px 12px;
        font-size: 13px;
    }

    .pharmacy-home-region-card small {
        display: none;
    }

    .pharmacy-home-notice {
        grid-template-columns: 1fr;
        padding: 22px 20px;
    }

    .pharmacy-home-notice__phone {
        display: none;
    }
}

/* =========================================================
   홈페이지 v1.3.1 보정
   ========================================================= */

@media (min-width: 901px) {
    .pharmacy-home-hero__inner {
        grid-template-columns: minmax(0, 1.45fr) minmax(250px, .55fr);
        gap: 34px;
    }

    .pharmacy-home-hero h1 {
        white-space: nowrap;
        font-size: clamp(38px, 4.15vw, 58px);
    }

    .pharmacy-home-hero__art {
        min-width: 280px;
    }
}

/* =========================================================
   홈페이지 모바일 제목 한 줄 보정 v1.3.2
   ========================================================= */

@media (max-width: 680px) {
    .pharmacy-home-hero h1 {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        white-space: nowrap;
        word-break: keep-all;
        font-size: clamp(25px, 7.7vw, 34px);
        letter-spacing: -0.055em;
    }
}

@media (max-width: 360px) {
    .pharmacy-home-hero h1 {
        font-size: 24px;
        letter-spacing: -0.065em;
    }
}


/* 실제 Google AdSense 광고 */
.pharmacy-list-ad--live {
    min-height: 90px;
    overflow: hidden;
}

.pharmacy-list-ad--live .adsbygoogle {
    width: 100%;
    min-height: 90px;
}

.pharmacy-list-ad--live .pharmacy-list-ad__label {
    display: block;
    margin-bottom: 8px;
    color: #8a94a3;
    font-size: 11px;
    text-align: center;
}

@media (max-width: 680px) {
    .pharmacy-list-ad--live,
    .pharmacy-list-ad--live .adsbygoogle {
        min-height: 100px;
    }
}
