/* Nemaproblem.com - country landing pages */

.adriatic-search {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(20, 33, 44, .18);
    padding: 8px;
    max-width: 1120px;
    margin: 0 auto;
}

.adriatic-search__inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr .85fr 1.4fr auto;
    align-items: stretch;
}

.adriatic-search__field {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding: 12px 20px;
    border-right: 1px solid #F2F4F8;
}

.adriatic-search__field:last-of-type {
    border-right: 0;
}

.adriatic-search__field label {
    font-size: 10px;
    line-height: 1;
    letter-spacing: .1em;
    text-transform: uppercase;
    font-weight: 700;
    color: #73818C;
}

.adriatic-search__control {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.adriatic-search__icon {
    flex: 0 0 auto;
    color: #537CD9;
}

.adriatic-search select,
.adriatic-search input {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    font-size: 15px;
    font-weight: 600;
    color: #314352;
    outline: none;
    cursor: pointer;
}

.adriatic-search input[type="search"] {
    cursor: text;
    font-weight: 500;
}

.adriatic-search input[type="search"]::placeholder {
    color: #A8B4BE;
    font-weight: 400;
}

.adriatic-search select {
    padding-right: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%2373818C' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right center;
}

.adriatic-search__actions {
    display: flex;
    align-items: center;
    padding: 8px;
}

.adriatic-search__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 100%;
    min-height: 54px;
    padding: 0 26px;
    border: 0;
    border-radius: 14px;
    background: #537CD9;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
    transition: background .2s ease;
}

.adriatic-search__submit:hover {
    background: #3f66c4;
}

@media (max-width: 1080px) {
    .adriatic-search__inner {
        grid-template-columns: 1fr 1fr;
    }

    .adriatic-search__field {
        border-right: 0;
        border-bottom: 1px solid #F2F4F8;
    }

    .adriatic-search__field--destination,
    .adriatic-search__field--keyword {
        grid-column: 1 / -1;
    }

    .adriatic-search__field--keyword {
        border-bottom: 0;
    }

    .adriatic-search__actions {
        grid-column: 1 / -1;
        padding-top: 10px;
    }

    .adriatic-search__submit {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .adriatic-search__inner {
        grid-template-columns: 1fr;
    }

    .adriatic-search__field {
        grid-column: 1 / -1;
        border-right: 0;
        border-bottom: 1px solid #F2F4F8;
    }

    .adriatic-search__field--keyword {
        border-bottom: 1px solid #F2F4F8;
    }
}

/* Destination cards */

.adriatic-destinations {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 26px;
}

.adriatic-destination {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #F2F4F8;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(49, 67, 82, .06);
    transition: transform .25s ease, box-shadow .25s ease;
}

.adriatic-destination:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(49, 67, 82, .12);
}

.adriatic-destination__media {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    background: #D5E3EE;
}

.adriatic-destination__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.adriatic-destination__count {
    position: absolute;
    left: 14px;
    bottom: 14px;
    padding: 6px 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .95);
    color: #314352;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

.adriatic-destination__body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px 22px 22px;
}

.adriatic-destination__title {
    margin: 0;
    font-size: 20px;
    line-height: 1.25;
}

.adriatic-destination__title a {
    color: #314352;
    text-decoration: none;
}

.adriatic-destination__title a:hover {
    color: #537CD9;
}

.adriatic-destination__text {
    margin: 0;
    color: #73818C;
    font-size: 14px;
    line-height: 1.55;
}

.adriatic-destination__cities {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 4px 0 0;
    padding: 0;
}

.adriatic-destination__cities a {
    display: inline-block;
    padding: 5px 11px;
    border-radius: 999px;
    background: #F2F4F8;
    color: #314352;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: background .2s ease;
}

.adriatic-destination__cities a:hover {
    background: #D5E3EE;
}

.adriatic-destinations__also {
    margin: 24px 0 0;
    color: #73818C;
    font-size: 14px;
    line-height: 1.6;
}

.adriatic-destinations__also a {
    color: #537CD9;
    font-weight: 600;
}

/* Country cross-links */

.adriatic-countries {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 18px;
}

.adriatic-country {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    background: #314352;
}

.adriatic-country__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.adriatic-country__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(20, 33, 44, 0) 30%, rgba(20, 33, 44, .8) 100%);
}

.adriatic-country__body {
    position: absolute;
    inset: auto 0 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 18px;
    color: #fff;
}

.adriatic-country__name {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
}

.adriatic-country__tagline {
    font-size: 13px;
    line-height: 1.4;
    opacity: .85;
}

.adriatic-country__count {
    margin-top: 4px;
    font-size: 12px;
    opacity: .75;
}


/* Photo credits */

.np-credits {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 16px;
}

.np-credit {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px;
    background: #fff;
    border: 1px solid #F2F4F8;
    border-radius: 12px;
}

.np-credit img {
    width: 96px;
    height: 72px;
    object-fit: cover;
    border-radius: 8px;
    flex: 0 0 auto;
}

.np-credit__body {
    font-size: 13px;
    line-height: 1.5;
    color: #73818C;
}

/* Listing page cross-link */

.adriatic-listing-country {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 18px;
}

.adriatic-listing-country__label {
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
    font-weight: 700;
    color: #73818C;
}

.adriatic-listing-country__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 700;
    color: #537CD9;
    text-decoration: none;
}

.adriatic-listing-country__link:hover {
    color: #3f66c4;
}

.adriatic-listing-country__sub {
    font-size: 13px;
    color: #73818C;
    text-decoration: none;
}

.adriatic-listing-country__sub:hover {
    color: #537CD9;
}

/* Landing page typography helpers */

.adriatic-page .elementor-widget-text-editor p:last-child {
    margin-bottom: 0;
}

.adriatic-fact-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.adriatic-fact-list li {
    display: grid;
    grid-template-columns: 132px 1fr;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #F2F4F8;
    font-size: 14px;
    line-height: 1.5;
    color: #314352;
}

.adriatic-fact-list li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.adriatic-fact-list span {
    color: #73818C;
    font-weight: 600;
}

@media (max-width: 640px) {
    .adriatic-fact-list li {
        grid-template-columns: 1fr;
        gap: 2px;
    }
}

/* Hero copy width */

.adriatic-hero-copy {
    max-width: 760px;
}

/* Country page accordion */

.adriatic-country-page .elementor-accordion .elementor-accordion-item {
    margin-bottom: 10px;
    border: 1px solid #E6ECF4;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
}

.adriatic-country-page .elementor-accordion .elementor-tab-title {
    padding: 18px 20px;
    font-weight: 600;
    color: #314352;
}

.adriatic-country-page .elementor-accordion .elementor-tab-title.elementor-active {
    color: #537CD9;
}

.adriatic-country-page .elementor-accordion .elementor-tab-content {
    padding: 4px 20px 20px;
    border-top: 1px solid #F2F4F8;
    color: #4A5B69;
    font-size: 15px;
    line-height: 1.7;
}

.adriatic-country-page .elementor-accordion .elementor-accordion-icon {
    color: #537CD9;
}

