/* Location landing pages (/clonal-casuarina-plants-in-*).

   Deliberately small. The sections are built from the theme's own components
   -- .default-padding, .bg-gray, .site-heading with its .sub-title and
   .devider, .accordion-regular -- so this file only styles the few pieces the
   theme has no equivalent for: the outlet card, the clone pills, the town
   chips and the closing band.

   Palette from child-style.css: #49a760 primary, #1f4e3d dark, #f3f4f6 tint. */

/* ---------- shared ---------- */

.location-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-bottom: 10px;
}

/* The theme's .btn-theme is a solid green fill. The secondary actions reuse it
   as an outline so three buttons in a row do not all shout at once. */
/* A real border, not box-shadow: style.css sets `box-shadow: none !important`
   on .btn. The border also has to be the full shorthand -- the theme resets
   border-width to 0, so setting border-color alone renders nothing. Padding is
   trimmed by the 2px the border adds, so outline and solid buttons match. */
.location-btn--alt.btn.btn-theme {
    background: transparent;
    color: #1f4e3d;
    border: 2px solid #49a760;
    padding: 14px 50px;
}

.location-btn--alt.btn.btn-theme:hover,
.location-btn--alt.btn.btn-theme:focus {
    background: #49a760;
    color: #fff;
}

.location-note {
    max-width: 860px;
    margin: 35px auto 0;
    text-align: center;
    font-size: 15px;
    color: #5b6470;
}

.location-cta .location-note,
.location-note a {
    color: #1f4e3d;
    font-weight: 600;
}

/* ---------- 2. local introduction ---------- */

.location-about__thumb img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 18px 40px rgba(4, 0, 11, .12);
}

.location-about__info .title {
    margin-bottom: 20px;
}

.location-about__info p {
    line-height: 1.9;
}

@media (max-width: 991px) {
    .location-about__thumb {
        margin-bottom: 35px;
    }
}

/* ---------- 3. reason cards ---------- */

.location-card {
    background: #fff;
    border-radius: 12px;
    padding: 35px 28px;
    height: 100%;
    margin-bottom: 30px;
    transition: transform .25s ease, box-shadow .25s ease;
}

.location-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(4, 0, 11, .1);
}

.location-card__icon {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: #eaf5ee;
    color: #49a760;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 22px;
}

.location-card h4 {
    font-size: 19px;
    line-height: 1.4;
    margin-bottom: 12px;
}

.location-card p {
    font-size: 15px;
    line-height: 1.8;
    margin: 0;
}

/* ---------- 4. products ---------- */

.location-product {
    background: #fff;
    border: 1px solid #e8ebee;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    margin-bottom: 30px;
}

.location-product__thumb img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}

.location-product__info {
    padding: 30px 28px;
}

.location-product__info h4 {
    margin-bottom: 15px;
}

.location-product__info p {
    line-height: 1.85;
}

.location-clones {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

.location-clones li {
    background: #1f4e3d;
    color: #fff;
    border-radius: 6px;
    padding: 5px 16px;
    font-weight: 600;
    font-size: 15px;
}

/* ---------- 5. plantation notes ---------- */

.location-note-item {
    background: #fff;
    border-radius: 12px;
    padding: 30px 28px;
    height: 100%;
    margin-bottom: 30px;
}

.location-note-item h4 {
    font-size: 19px;
    margin-bottom: 12px;
    padding-left: 16px;
    border-left: 4px solid #49a760;
}

.location-note-item p {
    line-height: 1.85;
    margin: 0;
}

/* ---------- 6. towns ---------- */

.location-towns {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.location-towns li {
    background: #fff;
    border: 1px solid #cfe6d6;
    border-radius: 30px;
    padding: 9px 22px;
    font-weight: 500;
}

/* ---------- 7. the outlet ---------- */

.location-outlet__details {
    background: #fff;
    border-radius: 12px;
    padding: 35px 32px;
    height: 100%;
}

.location-outlet__details h4 {
    margin-bottom: 25px;
    padding-bottom: 18px;
    border-bottom: 1px solid #e8ebee;
}

.location-outlet__list {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
}

.location-outlet__list li {
    display: flex;
    gap: 15px;
    padding: 14px 0;
    border-bottom: 1px solid #f0f2f4;
    line-height: 1.7;
}

.location-outlet__list li:last-child {
    border-bottom: 0;
}

.location-outlet__list i {
    color: #49a760;
    font-size: 20px;
    line-height: 1.5;
}

.location-outlet__list strong {
    display: block;
    color: #04000b;
}

.location-outlet__list address {
    display: inline;
    font-style: normal;
    margin: 0;
}

.location-outlet__map,
.location-outlet__map iframe {
    width: 100%;
    height: 100%;
    min-height: 420px;
    border: 0;
    border-radius: 12px;
    display: block;
}

@media (max-width: 991px) {
    .location-outlet__map {
        margin-top: 30px;
    }

    .location-outlet__map,
    .location-outlet__map iframe {
        min-height: 320px;
    }
}

/* ---------- 8. related pages ---------- */

.location-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.location-links a {
    background: #fff;
    border: 1px solid #cfe6d6;
    border-radius: 30px;
    padding: 11px 26px;
    font-weight: 600;
    color: #1f4e3d;
}

.location-links a:hover {
    background: #49a760;
    border-color: #49a760;
    color: #fff;
}

/* ---------- 10. closing band ---------- */

.location-cta {
    background: #1f4e3d;
}

/* child-style.css sets `p { color: inherit !important }` site-wide, so a colour
   put on the paragraph itself never applies. The band has to colour the
   container and let the paragraph inherit it. */
.location-cta .site-heading,
.location-cta .site-heading .title,
.location-cta .site-heading p {
    color: #fff;
}

.location-cta .location-btn--light.btn.btn-theme {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, .7);
    padding: 14px 50px;
}

.location-cta .location-btn--light.btn.btn-theme:hover {
    background: #fff;
    color: #1f4e3d;
}

/* ---------- the Location menu ---------- */

/* Nine items is taller than any other menu on the site; two columns keep the
   dropdown inside the viewport on a laptop. */
#menu-item-location .dropdown-menu {
    min-width: 420px;
    columns: 2;
    column-gap: 0;
}

@media (max-width: 1023px) {
    #menu-item-location .dropdown-menu {
        min-width: 0;
        columns: 1;
    }
}
