/**
 * Travel House child theme styles.
 * V360 Core is loaded before this file.
 */


	/* Brand tokens — replace with final Travel House CVI values. */
	:root {
	--th-color-primary: #143642;
	--th-color-secondary: #86b7d6;
	--th-color-accent: #da723a;
	--th-color-text: #143642;
	--th-color-muted: #1f4454;

	--th-radius: 20px;
	--th-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}
.awards{
	max-width:900px !important;
	padding: 0px 5% 100px !important;
}
   .th-popular-destination-label {
   
    color: #8a98a7 !important;
    font-weight: 400 !important;
    font-size: 12px !important;
    padding: 25px 16px !important;
    text-align: center !important;
} 
.theme-travelhouse {
	color: var(--th-color-text);
}
.page-template-template-offers header {
    margin-bottom: 20px;
    text-align: center !important;
}
.travelhouse-hero {
	padding-block: clamp(64px, 9vw, 140px);
}

.travelhouse-hero .lead {
	max-width: 760px;
	font-size: clamp(1.125rem, 2vw, 1.5rem);
}
.section-header-content {
    max-width: 400px !important;
    margin: 0 auto;
}
.section.section-post-waavo .text.text-lg {
    text-align: center;
    margin: 0 auto;
}
.page-header {
	margin-bottom: 32px;
}

.posts-grid {
  	display: flex;
    gap: 25px 2.5%;
    margin: 50px 0;
    flex-wrap: wrap;
}
.page-template-template-hotel .search-travel h2, .page-template-template-hotel .search-travel p{
   color: var(--th-color-text) !important;
}
.page-template-template-hotel li.pakkumised {
	display:none;
}
.content-card {
	overflow: hidden;
	border-radius: var(--th-radius);
	background: #fff;
	box-shadow: var(--th-shadow);
}

.content-card .post-thumbnail {
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
}

.content-card .post-thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.content-card__body {
	padding: 24px;
}

.entry-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	font-size: 0.875rem;
	color: var(--th-color-muted);
}

.entry-footer {
	margin-top: 24px;
}

.entry-footer > * + * {
	margin-left: 12px;
}
.navigation.post-navigation{
	display:none;
}

/* ==========================================
   TRAVEL HOUSE – GLOBAL DROPDOWNS
   ========================================== */

:root {
    --th-dropdown-text: #173743;
    --th-dropdown-border: #d8e0e3;
    --th-dropdown-accent: #e67536;
    --th-dropdown-selected: #fcf0ea;
    --th-dropdown-radius: 14px;
}

/* Dropdown väli */
.field-dropdown {
    position: relative;
    width: 100%;
}

/*.field-dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    min-height: 58px;
    padding: 14px 20px;
    background: #fff;
    border: 1px solid var(--th-dropdown-border);
    border-radius: var(--th-dropdown-radius);
    color: var(--th-dropdown-text);
    font: inherit;
    cursor: pointer;
    transition: border-color .2s ease, box-shadow .2s ease;
}*/

.field-dropdown-toggle:hover,
.field-dropdown.is-open .field-dropdown-toggle {
    border-color: #b8c7cd;
    box-shadow: 0 2px 8px rgba(23, 55, 67, .06);
}

/* Avanev paneel */
.field-dropdown-panel {
    background: #fff;
    border: 1px solid #e3e8eb;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(23, 55, 67, .12);
    overflow: hidden;
    z-index: 100;
}

/* Valikud */
.field-dropdown-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 48px;
    padding: 12px 16px;
    background: transparent;
    border: 0;
    border-radius: 10px;
    color: var(--th-dropdown-text);
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
}

.field-dropdown-option:hover {
    background: #f8f5f2;
}

/* Valitud element */
.field-dropdown-option.is-selected,
.field-dropdown-option[aria-selected="true"] {
    background: var(--th-dropdown-selected);
    color: var(--th-dropdown-accent);
}

/* Nool */
.field-dropdown-arrow {
    flex-shrink: 0;
    transition: transform .2s ease;
}

.field-dropdown.is-open .field-dropdown-arrow {
    transform: rotate(180deg);
}
/* Globaalne checkbox – oranž linnuke */
input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    min-width: 18px;
    border: 1px solid #d8e0e4;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
    display: inline-grid;
    place-content: center;
    vertical-align: middle;
}

input[type="checkbox"]::before {
    content: "";
    width: 10px;
    height: 6px;
    border-left: 2px solid #e87332;
    border-bottom: 2px solid #e87332;
    transform: rotate(-45deg) scale(0);
    transition: transform 0.15s ease;
    margin-top: -2px;
}

input[type="checkbox"]:checked::before {
    transform: rotate(-45deg) scale(1);
}

input[type="checkbox"]:focus-visible {
    outline: 2px solid #e87332;
    outline-offset: 3px;
}
/* ========================================
   TRAVEL HOUSE – PAGINATION
======================================== */

.nav-links:has(.page-numbers) {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 60px auto 30px;
}

/* Kõik leheküljenumbrid */
.nav-links .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 14px;

    border: 1px solid #e5e8e8;
    border-radius: 12px;

    background: #fff;
    color: #263c3b;

    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;

    transition:
        background .25s ease,
        color .25s ease,
        border-color .25s ease,
        transform .25s ease;
}

/* Hover */
.nav-links a.page-numbers:hover {
    background: #f2f6f5;
    border-color: #cddbd7;
    color: #183b36;
    transform: translateY(-2px);
}

/* Aktiivne leht */
.nav-links .page-numbers.current {
    background: #183b36;
    border-color: #183b36;
    color: #fff;
    font-weight: 600;
    pointer-events: none;
}

/* Järgmine / Eelmine */
.nav-links .page-numbers.next,
.nav-links .page-numbers.prev {
    min-width: auto;
    padding: 0 18px;
    gap: 12px;
    background: transparent;
    border-color: transparent;
    font-weight: 600;
}

/* Nool */
.nav-links .page-numbers.next::after {
    content: "→";
    font-size: 19px;
    font-weight: 400;
    transition: transform .25s ease;
}

.nav-links .page-numbers.prev::before {
    content: "←";
    font-size: 19px;
    font-weight: 400;
    transition: transform .25s ease;
}

/* Noole animatsioon */
.nav-links .page-numbers.next:hover::after {
    transform: translateX(4px);
}

.nav-links .page-numbers.prev:hover::before {
    transform: translateX(-4px);
}

/* Mobiil */
@media (max-width: 600px) {

    .nav-links:has(.page-numbers) {
        gap: 6px;
        margin: 40px auto 20px;
    }

    .nav-links .page-numbers {
        min-width: 40px;
        height: 40px;
        padding: 0 11px;
        border-radius: 10px;
        font-size: 13px;
    }

    .nav-links .page-numbers.next,
    .nav-links .page-numbers.prev {
        padding: 0 10px;
    }
}

/* =========================================================
   TRAVEL TYPES
   ========================================================= */

.home #reisituubid {
    max-width: 100%;
    background-color: #fafafa;
    padding: 75px 5%;
	margin-bottom:25px;
}
/* Peida "Näita rohkem", kui otsingutulemused puuduvad */
.travel-catalog-more:has(
    ~ .travel-catalog-empty:not([hidden])
) {
    display: none !important;
}

.travel-catalog-empty{
	margin: 0px auto 100px;
	text-align:center;
}
/* =========================================================
   TRAVEL HOUSE - GLOBAL OFFERS / HOTEL CARDS
   ========================================================= */

.section-offers {
 
    padding: 50px 0px;
}

.section-offers .section-header {
	margin-bottom: 10px;
}

.section-offers .card {
	overflow: hidden;
	border-radius: 18px;
	background: #fff;
	/*box-shadow: 0 10px 30px rgba(20, 54, 66, .09);*/
}

.section-offers .card-link {
	display: block;
	height: 100%;
	color: inherit;
	text-decoration: none;
}

.section-offers .card-media {
	position: relative;
	overflow: hidden;
	aspect-ratio: 1.25 / 1;
	display: flex;
	align-items: flex-end;
}

.section-offers .card-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .35s ease;
}

.section-offers .card:hover .card-image {
	transform: scale(1.04);
}

.section-offers .card-content {
	padding: 18px;
}

.section-offers .card-rating {
	position: absolute;
	left: 5px;
	bottom: 5px;
	padding: 3px 5px;
	border-radius: 5px;
	background: var(--th-color-accent);
	color: #fff;
	font-weight: 600;
}

.section-offers .card-stars {
	padding-bottom: 5px;
	color: var(--th-color-accent);
}

.section-offers .card-hotel-price {
	font-weight: 700;
}

.section-offers .card-hotel-meta {
	font-size: 13px;
}
.page-featured-image {
	padding: 60px 0 0;
}

.page-featured-media {
	overflow: hidden;
	border-radius: var(--th-radius);
}

.page-featured-image-img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 7;
	object-fit: cover;
}

.page-hero {
	padding: 60px 0 30px;
}

.page-content {
	padding: 0 0 100px;
}

.page-content .content {
	max-width: 900px;
}
.section.page-content{
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    padding: 0px 5% 100px;

}
.section.page-hero{
	  max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    padding: 50px 5% 0px;
}
img.alignleft,
img.alignright {
    width: 45%;
    max-width: 100%;
    height: auto;
	    border-radius: var(--th-radius);
}

img.alignleft {
    float: left;
    margin: 0 4% 30px 0;
	    border-radius: var(--th-radius);
}

img.alignright {
    float: right;
    margin: 0 0 30px 4%;
	    border-radius: var(--th-radius);
}

img.aligncenter {
    display: block;
    float: none;
    width: auto;
    max-width: 100%;
    height: auto;
    margin: 0 auto 30px;
	    border-radius: var(--th-radius);
}
/* =========================================================
   TRAVEL HOUSE – FORMS
   Contact Form 7 + Typeform
   ========================================================= */


/* =========================================================
   CONTACT FORM 7 – VÄLJAD
   ========================================================= */

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="number"],
.wpcf7 input[type="date"],
.wpcf7 input[type="url"],
.wpcf7 select,
.wpcf7 textarea {
    width: 100%;
    max-width: 100%;
    padding: 16px 18px;

    background: #fff;
    color: var(--th-color-primary, #143642);

    border: 1px solid rgba(20, 54, 66, 0.18);
    border-radius: 12px;

    font-family: inherit;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


/* Textarea */

.wpcf7 textarea {
    min-height: 150px;
    resize: vertical;
}


/* Placeholder */

.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
    color: rgba(20, 54, 66, 0.55);
    opacity: 1;
}


/* Focus */

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 input[type="number"]:focus,
.wpcf7 input[type="date"]:focus,
.wpcf7 input[type="url"]:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
    border-color: var(--th-color-primary, #143642);
    box-shadow: 0 0 0 3px rgba(20, 54, 66, 0.08);
}


/* CF7 tekitatud lõigud */

.wpcf7 form > p {
    margin: 0 0 14px;
}


/* =========================================================
   SUBMIT NUPP
   CONTACT FORM 7
   ========================================================= */

.wpcf7 input[type="submit"],
.wpcf7 button[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 52px;
    padding: 14px 28px;

    background: var(--th-color-primary, #143642) !important;
    color: #fff !important;

    border: 0 !important;
    border-radius: 999px !important;

    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;

    text-decoration: none;
    cursor: pointer;

    appearance: none;
    -webkit-appearance: none;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}


.wpcf7 input[type="submit"]:hover,
.wpcf7 button[type="submit"]:hover {
    background: var(--th-color-accent, #da723a) !important;
    color: #fff !important;
}


.wpcf7 input[type="submit"]:active,
.wpcf7 button[type="submit"]:active {
    transform: translateY(1px);
}


/* Saatmise ajal */

.wpcf7 input[type="submit"]:disabled,
.wpcf7 button[type="submit"]:disabled {
    opacity: 0.6;
    cursor: wait;
}


/* =========================================================
   CONTACT FORM 7 – TEAVITUSED
   ========================================================= */

.wpcf7 .wpcf7-response-output {
    position: relative;

    margin: 20px 0 0 !important;
    padding: 16px 20px 16px 52px !important;

    background: #f4f7f5;
    color: var(--th-color-primary, #143642);

    border: 0 !important;
    border-radius: 14px !important;

    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;

    box-shadow: none;
}


/* Teavituse ikoon */

.wpcf7 .wpcf7-response-output::before {
    content: "i";

    position: absolute;
    left: 18px;
    top: 50%;

    transform: translateY(-50%);

    display: flex;
    align-items: center;
    justify-content: center;

    width: 22px;
    height: 22px;

    border: 2px solid currentColor;
    border-radius: 50%;

    font-size: 13px;
    font-weight: 700;
    line-height: 1;
}


/* Edu */

.wpcf7 form.sent .wpcf7-response-output {
    background: #edf7f2;
    color: #23634b;
}

.wpcf7 form.sent .wpcf7-response-output::before {
    content: "✓";
    border: 0;
    font-size: 20px;
}


/* Valideerimise viga */

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
    background: #fff5ed;
    color: var(--th-color-accent, #da723a);
}

.wpcf7 form.invalid .wpcf7-response-output::before,
.wpcf7 form.unaccepted .wpcf7-response-output::before,
.wpcf7 form.payment-required .wpcf7-response-output::before {
    content: "!";
}


/* Saatmise viga */

.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output,
.wpcf7 form.spam .wpcf7-response-output {
    background: #fff1ef;
    color: #b8473d;
}

.wpcf7 form.failed .wpcf7-response-output::before,
.wpcf7 form.aborted .wpcf7-response-output::before,
.wpcf7 form.spam .wpcf7-response-output::before {
    content: "!";
}


/* Üksiku välja veateade */

.wpcf7 .wpcf7-not-valid-tip {
    display: block;

    margin-top: 7px;

    color: #b8473d;

    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
}


/* Vigane väli */

.wpcf7 .wpcf7-not-valid {
    border-color: #d98279 !important;
}

.wpcf7 .wpcf7-not-valid:focus {
    border-color: #b8473d !important;
    box-shadow: 0 0 0 3px rgba(184, 71, 61, 0.08);
}


/* CF7 spinner */

.wpcf7 .wpcf7-spinner {
    margin: 0 0 0 12px;
}


/* =========================================================
   TYPEFORM – WRAPPER
   ========================================================= */

.travelhouse-typeform {
    width: 100%;
    overflow: hidden;

    background: #fff;

    border-radius: var(--th-radius, 20px);
}


.travelhouse-typeform iframe {
    display: block;

    width: 100% !important;
    max-width: 100% !important;

    border: 0 !important;
    border-radius: var(--th-radius, 20px);
}


.travelhouse-typeform [data-tf-live],
.travelhouse-typeform [data-tf-widget] {
    width: 100%;
}


/* =========================================================
   TYPEFORM – SUBMIT NUPP
   Ainult Typeformist väljaspool olev nupp
   ========================================================= */
.site-main .wpcf7, .reisivorm.th-qi-form {
    background-color: #fafafa;
    padding: 50px 5%;
    border-radius: 20px;
}
.travelhouse-typeform button[type="submit"],
.travelhouse-typeform input[type="submit"],
.travelhouse-typeform .typeform-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 52px;
    padding: 14px 28px;

    background: var(--th-color-primary, #143642) !important;
    color: #fff !important;

    border: 0 !important;
    border-radius: 999px !important;

    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;

    cursor: pointer;

    appearance: none;
    -webkit-appearance: none;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}


.travelhouse-typeform button[type="submit"]:hover,
.travelhouse-typeform input[type="submit"]:hover,
.travelhouse-typeform .typeform-submit:hover {
    background: var(--th-color-accent, #da723a) !important;
    color: #fff !important;
}


.travelhouse-typeform button[type="submit"]:active,
.travelhouse-typeform input[type="submit"]:active,
.travelhouse-typeform .typeform-submit:active {
    transform: translateY(1px);
}

/* Travel House: sihtkohtade riigid ja piirkonnad */
.th-destination-groups .th-destination-country-row { display:flex; align-items:center; }
.th-destination-groups .th-destination-country { flex:1; min-width:0; font-weight:600; }

/* Travel House – riikide nooled ülemise dropdown'iga samaks */

.form-search .th-destination-country-row {
    display: flex;
    align-items: center;
    width: 100%;
}

.form-search .th-destination-country {
    flex: 1;
    min-width: 0;
    text-align: left;
}

.form-search .th-destination-expand {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    margin-left: auto;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font-size: 0;
    cursor: pointer;
}

/* Sama noole kuju */

.form-search .th-destination-expand::after {
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.25s ease;
}

/* Avatud riigi nool */

.form-search .th-destination-expand[aria-expanded="true"]::after {
    transform: rotate(225deg);
}


.th-destination-groups .th-destination-regions { padding:2px 0 8px 16px; }
.th-destination-groups .th-destination-regions[hidden] { display:none !important; }
.th-destination-groups .th-destination-region { font-weight:400; }
.th-destination-groups .th-destination-orphan-title { padding:12px; font-weight:600; }
.th-destination-groups .th-destination-group + .th-destination-group { border-top:0px solid rgba(20,54,66,.09); }

  .form-search
    .field[data-search-label="Sihtkoht"]
    .field-dropdown-panel {
        width: 360px;
        min-width: 360px;
        max-width: none;
    }
/* =========================================================
   TYPEFORM – TEAVITUSED
   ========================================================= */

.travelhouse-typeform-message {
    position: relative;

    margin: 20px 0 0;
    padding: 16px 20px 16px 52px;

    background: #f4f7f5;
    color: var(--th-color-primary, #143642);

    border: 0;
    border-radius: 14px;

    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
}


.travelhouse-typeform-message::before {
    content: "i";

    position: absolute;
    left: 18px;
    top: 50%;

    transform: translateY(-50%);

    display: flex;
    align-items: center;
    justify-content: center;

    width: 22px;
    height: 22px;

    border: 2px solid currentColor;
    border-radius: 50%;

    font-size: 13px;
    font-weight: 700;
    line-height: 1;
}


/* Typeform edu */

.travelhouse-typeform-message.is-success {
    background: #edf7f2;
    color: #23634b;
}

.travelhouse-typeform-message.is-success::before {
    content: "✓";
    border: 0;
    font-size: 20px;
}


/* Typeform hoiatus */

.travelhouse-typeform-message.is-warning {
    background: #fff5ed;
    color: var(--th-color-accent, #da723a);
}

.travelhouse-typeform-message.is-warning::before {
    content: "!";
}


/* Typeform viga */

.travelhouse-typeform-message.is-error {
    background: #fff1ef;
    color: #b8473d;
}

.travelhouse-typeform-message.is-error::before {
    content: "!";
}


/* =========================================================
   MOBIIL
   ========================================================= */

@media (max-width: 600px) {

    .wpcf7 input[type="text"],
    .wpcf7 input[type="email"],
    .wpcf7 input[type="tel"],
    .wpcf7 input[type="number"],
    .wpcf7 input[type="date"],
    .wpcf7 input[type="url"],
    .wpcf7 select,
    .wpcf7 textarea {
        padding: 14px 16px;
        font-size: 16px;
    }


    .wpcf7 input[type="submit"],
    .wpcf7 button[type="submit"],
    .travelhouse-typeform button[type="submit"],
    .travelhouse-typeform input[type="submit"],
    .travelhouse-typeform .typeform-submit {
        width: 100%;
        min-height: 50px;
    }


    .wpcf7 .wpcf7-response-output,
    .travelhouse-typeform-message {
        margin-top: 18px !important;
        padding: 14px 16px 14px 46px !important;

        font-size: 14px;
    }


    .wpcf7 .wpcf7-response-output::before,
    .travelhouse-typeform-message::before {
        left: 15px;
    }


    .travelhouse-typeform,
    .travelhouse-typeform iframe {
        border-radius: 16px;
    }
}
/* =========================================================
IFRAME
========================================================= */
iframe{
    width: 100% !important;
    height: 450px;
	border-radius:20px;
	margin:50px 0px 0px;
}
/* =========================================================
TRAVEL DIARY / SUUNAMUDIJAD
========================================================= */

.section-diary {
	padding: 90px 0;
}
.section-diary .button-link{
	margin-top:30px;
}

/* =========================================================
GRID
========================================================= */

.diary-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 30px;
}


/* 1 suunamudija */
.diary-grid-1 {
	grid-template-columns: 1fr;
}


/* 3 suunamudijat:
esimene täislaiuses, järgmised kaks kõrvuti */
.diary-grid-3 .banner-diary:first-child {
	grid-column: 1 / -1;
}


/* =========================================================
BANNER
========================================================= */

.banner-diary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch;
    min-height: 450px;
    overflow: hidden;
    /* background: #f3f3f3; */
    border-radius: 40px;
    box-shadow: 0 18px 60px rgba(17, 17, 17, .08);
}


/* =========================================================
IMAGE
========================================================= */

.banner-diary .banner-media {
	position: relative;

	min-width: 0;
	min-height: 100%;

	overflow: hidden;
}


.banner-diary .media-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right;
    position: absolute;
    inset: 0;
    /* background-color: #ececec; */
}


/* =========================================================
CONTENT
========================================================= */

.banner-diary .banner-content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;

	min-width: 0;

	padding: 60px 8%;
}


/* =========================================================
TITLE
========================================================= */

.banner-diary .heading {
    margin: 0;
    color: var(--th-color-primary);
    font-size: 40px !important;
}


.banner-diary .heading b,
.banner-diary .heading strong {
	display: block;
	font-size:125%;
	color: var(--th-color-accent);
}


/* =========================================================
TEXT
========================================================= */

.banner-diary .text {
	max-width: 560px;


	color: var(--th-color-primary);
}


.banner-diary .text p {
	margin: 0;
}


/* =========================================================
BUTTON
========================================================= */

.banner-diary .button {
	margin-top: 35px;
}


/* =========================================================
2 / 4 SUUNAMUDIJAT
========================================================= */

/*
Kui bännereid on mitu ja nad on poole containeri laiused,
muudame kaardi vertikaalsemaks.
*/

.diary-grid-2 .banner-diary,
.diary-grid-3 .banner-diary:not(:first-child),
.diary-grid-4 .banner-diary {
	grid-template-columns: 1fr;

	min-height: 0;
}


.diary-grid-2 .banner-media,
.diary-grid-3 .banner-diary:not(:first-child) .banner-media,
.diary-grid-4 .banner-media {
	min-height: 0;

	aspect-ratio: 16 / 10;
}


.diary-grid-2 .banner-content,
.diary-grid-3 .banner-diary:not(:first-child) .banner-content,
.diary-grid-4 .banner-content {
	padding: 40px;
}


.diary-grid-2 .banner-media .media-image,
.diary-grid-3 .banner-diary:not(:first-child) .banner-media .media-image,
.diary-grid-4 .banner-media .media-image {
	position: absolute;
}


/* =========================================================
3 SUUNAMUDIJAT – ESIMENE SUUR
========================================================= */

.diary-grid-3 .banner-diary:first-child {
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);

	min-height: 450px;
}


/* =========================================================
TABLET
========================================================= */

@media (max-width: 1024px) {

	.section-diary {
		padding: 75px 0;
	}


	.banner-diary {
		min-height: 400px;

		border-radius: 32px;
	}


	.banner-diary .banner-content {
		padding: 45px 7%;
	}


	.banner-diary .text {
		margin-top: 24px;

		font-size: 17px;
	}


	.diary-grid-2 .banner-content,
	.diary-grid-3 .banner-diary:not(:first-child) .banner-content,
	.diary-grid-4 .banner-content {
		padding: 32px;
	}

}


/* =========================================================
MOBILE
========================================================= */

@media (max-width: 767px) {
.awards{
	max-width:900px;
	padding: 0px 5% 0px;
}
	.section-diary {
		padding: 60px 0;
	}


	.diary-grid {
		grid-template-columns: 1fr;

		gap: 24px;
	}


	.diary-grid-3 .banner-diary:first-child {
		grid-column: auto;
	}


	.banner-diary,
	.diary-grid-3 .banner-diary:first-child {
		display: grid;

		grid-template-columns: 1fr;

		min-height: 0;

		border-radius: 24px;
	}


	.banner-diary .banner-media,
	.diary-grid-3 .banner-diary:first-child .banner-media {
		min-height: 0;

		aspect-ratio: 16 / 10;
	}


	.banner-diary .banner-content,
	.diary-grid-3 .banner-diary:first-child .banner-content {
		padding: 32px 25px 36px;
	}


	.banner-diary .heading {
		line-height: 1;
	}


	.banner-diary .text {
		margin-top: 20px;

		font-size: 16px;
	}


	.banner-diary .button {
		margin-top: 25px;
	}

}
/* =========================================================
   RESPONSIVE
   ========================================================= */




@media (max-width: 980px) {
.posts-grid {
  
    gap: 25px 2%;
	margin-bottom:75px;
   
}
}
@media (max-width: 767px) {
	.th-destination-regions button{
		border-top: 0px solid rgba(20, 54, 66, .10) !important;
		font-size: 13px !important;
		border-bottom: 0px solid rgba(20, 54, 66, .10) !important;
		min-height: 40px !important;
        padding: 10px 44px 10px 0 !important;
	}
.th-destination-group button{
		border-bottom: 0px solid rgba(20, 54, 66, .10) !important;
		
	}
	.section-offers {
		padding-top: 50px;
		padding-bottom: 50px;
	}

	.section-offers .card-content {
		padding: 16px;
	}
	    img.alignleft,
    img.alignright,
    img.aligncenter {
        float: none;
        display: block;
        width: 100%;
        max-width: 100%;
        margin: 0 0 30px;
    }
	.banner-diary .media-image {

    background-color: #ececec;
}

}
@media (max-width: 700px) {

	.page-featured-image {
		padding-top: 30px;
	}

	.page-featured-image-img {
		aspect-ratio: 4 / 3;
	}

	.page-hero {
		padding: 40px 0 20px;
	}

	.page-content {
		padding-bottom: 70px;
	}
	iframe{
    
    height: 375px;
	
}

}
@media (max-width: 640px) {
	.posts-grid {
		grid-template-columns: 1fr;
	}
	iframe{
    
    height: 300px;
	
}
}

/* ==========================================
   TRAVEL HOUSE – UNIFIED DROPDOWNS
========================================== */

:root {
    --th-dd-text: #153844;
    --th-dd-accent: #e47736;
    --th-dd-border: #e0e6e9;
    --th-dd-hover: #f1f3f4;
    --th-dd-active: #fcf0e9;
    --th-dd-radius: 16px;
}

/* Otsinguvormi rippmenüüde paneelid */
.form-search .field-dropdown-panel {
    background: #fff;
    border: 1px solid var(--th-dd-border);
    border-radius: var(--th-dd-radius);
    box-shadow: 0 14px 40px rgba(21, 56, 68, .10);
}

/* Otsinguvormi valikute hover */
.form-search .field-dropdown-option,
.form-search .th-destination-region {
    color: var(--th-dd-text);
    border-radius: 10px;
    transition: background .2s ease, color .2s ease;
}

.form-search .field-dropdown-option:hover,
.form-search .th-destination-region:hover {
    background: var(--th-dd-hover);
    color: var(--th-dd-text);
}

/* Aktiivsed valikud */
.form-search .field-dropdown-option.is-selected,
.form-search .field-dropdown-option[aria-selected="true"],
.form-search .th-destination-region.is-selected {
    background: var(--th-dd-active);
    color: var(--th-dd-accent);
    font-weight: 600;
}

/* Reisijate paneel */
.form-search .th-travellers-dropdown .field-dropdown-panel {
    border-radius: var(--th-dd-radius);
}

/* Reisijate arvu nupud */
.form-search .th-travellers-counter button {
    border: 1px solid var(--th-dd-border);
    color: var(--th-dd-text);
    border-radius: 10px;
}

.form-search .th-travellers-counter button:hover:not(:disabled) {
    background: var(--th-dd-hover);
    border-color: var(--th-dd-accent);
}

/* Lapse vanuse select */
.form-search .th-travellers-age-row select {
    border: 1px solid var(--th-dd-border);
    border-radius: 10px;
    background: #fff;
    color: var(--th-dd-text);
    font: inherit;
    cursor: pointer;
}

.form-search .th-travellers-age-row select:focus {
    outline: none;
    border-color: var(--th-dd-accent);
    box-shadow: 0 0 0 3px rgba(228,119,54,.12);
}

/* Salvesta nupp */
.form-search .th-travellers-save {
    background: var(--th-dd-text);
    color: #fff;
    border-radius: 10px;
}

.form-search .th-travellers-save:hover {
    background: #24505d;
}

/* Peidetud paneelid jäävad peidetuks */
.form-search .field-dropdown-panel[hidden] {
    display: none !important;
}
@media (max-width: 450px) {
.th-awards .th-awards-item > .th-awards-link, .th-awards .th-awards-item > .th-awards-card-inner {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start !important;
    gap: 22px !important;
    width: 100% !important;
    min-height: 0 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 22px 26px !important;
    border: 0 !important;
    background: transparent !important;
    color: var(--th-awards-ink) !important;
    text-decoration: none !important;
    box-shadow: none !important;
}}