/*
Theme Name: Travel26
Description: Travel and tour agency theme: tours, destinations, bookings and travel guides, built with Elementor and the Inoforest Core and Travel26 Core plugins.
Author: Inoforest
Version: 1.4.1
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: travel26
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* =========================================================================
   Design tokens
   Kirki (via the functionality plugin) may override --primary-color and
   --secondary-color on :root; the fallbacks below keep the theme cohesive
   on its own.
   ========================================================================= */
:root {
    --primary-color: #007cba;
    --secondary-color: #666666;

    --cp-primary: var(--primary-color, #007cba);
    --cp-primary-hover: #006ba3;
    --cp-primary-dark: #005a8c;

    --cp-text: #1f2933;
    --cp-text-muted: #5a6573;
    --cp-heading: #14202b;

    --cp-bg: #ffffff;
    --cp-bg-subtle: #f6f8fa;
    --cp-bg-accent: #f0f7fc;

    --cp-border: #e6eaef;
    --cp-border-strong: #d0d7de;

    --cp-radius: 12px;
    --cp-radius-sm: 8px;
    --cp-shadow-sm: 0 2px 12px rgba(15, 23, 42, 0.05);
    --cp-shadow: 0 8px 28px rgba(15, 23, 42, 0.08);

    --cp-container: 1200px;
    --cp-content: 760px;

    --cp-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

/* Reset and base styles */
*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: var(--cp-font);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--cp-text);
    background: var(--cp-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--cp-heading);
    line-height: 1.25;
    font-weight: 700;
}

a {
    color: var(--cp-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--cp-primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

/* Icons without a size of their own (Elementor's saved copy of a page, shown while Elementor is off) stay the size of
   the text instead of filling the column. Only without Elementor (no .elementor-default on <body>), and with zero
   specificity, so any widget's own icon rule wins. */
:where(body:not(.elementor-default) .entry-content) svg:where(:not([width])) {
    width: 1em;
    height: 1em;
}

.container {
    max-width: var(--cp-container);
    margin: 0 auto;
    padding: 0 20px;
}

/* Accessibility helpers */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    width: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    word-wrap: normal !important;
}

/* Logical properties keep the hidden link on the side a page cannot scroll to, in right-to-left languages too. */
.skip-link {
    position: absolute;
    inset-inline-start: -9999px;
    top: 0;
    z-index: 1000;
    padding: 0.75rem 1.25rem;
    background: var(--cp-primary);
    color: #fff;
    border-end-end-radius: var(--cp-radius-sm);
}

.skip-link:focus {
    inset-inline-start: 0;
    color: #fff;
}

/* Right-to-left languages: arrows and chevrons that mean "forward" or "back" point the other way. The scale property
   leaves the icons' own transform (hover nudges) working. */
[dir="rtl"] :is(
    .e-fas-arrow-right, .e-fas-arrow-left, .e-fas-long-arrow-alt-right, .e-fas-long-arrow-alt-left,
    .e-fas-chevron-right, .e-fas-chevron-left, .e-fas-angle-right, .e-fas-angle-left,
    .e-fas-caret-right, .e-fas-caret-left, .e-fas-arrow-circle-right, .e-fas-arrow-circle-left,
    .fa-arrow-right, .fa-arrow-left, .fa-chevron-right, .fa-chevron-left, .fa-angle-right, .fa-angle-left
) {
    scale: -1 1;
}

/* =========================================================================
   Header
   ========================================================================= */
.site-header {
    background: var(--cp-bg);
    border-bottom: 1px solid var(--cp-border);
    box-shadow: var(--cp-shadow-sm);
    position: relative;
    z-index: 100;
}

/* An Elementor header template brings its own design: neither the wrapper nor a row in the template that uses the
   class site-header (as the HTML design does) gets the theme's background, line or shadow. The template's own
   settings still apply (Elementor's selectors are more specific). */
.site-header--builder,
.site-header--builder .site-header {
    background: none;
    border-bottom: 0;
    box-shadow: none;
}

.site-header .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.site-branding {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.site-branding .custom-logo-link img {
    display: block;
    max-height: 56px;
    width: auto;
}

.site-title {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0;
    line-height: 1.2;
}

.site-title a {
    color: var(--cp-heading);
}

.site-title a:hover {
    color: var(--cp-primary);
}

.site-description {
    color: var(--cp-text-muted);
    font-size: 0.9375rem;
    margin: 0.15rem 0 0;
}

/* =========================================================================
   Primary navigation
   ========================================================================= */
.main-navigation {
    display: flex;
    align-items: center;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem;
    margin: 0;
    padding: 0;
}

.main-navigation li {
    position: relative;
}

.main-navigation a {
    display: block;
    padding: 0.55rem 0.9rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--cp-text);
    border-radius: var(--cp-radius-sm);
    transition: color 0.2s ease, background 0.2s ease;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a {
    color: var(--cp-primary);
    background: var(--cp-bg-accent);
}

/* Sub-menus */
.main-navigation ul ul {
    position: absolute;
    top: 100%;
    left: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    min-width: 220px;
    padding: 0.4rem;
    background: var(--cp-bg);
    border: 1px solid var(--cp-border);
    border-radius: var(--cp-radius-sm);
    box-shadow: var(--cp-shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 200;
}

.main-navigation li:hover > ul,
.main-navigation li.focus > ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-navigation ul ul a {
    padding: 0.5rem 0.75rem;
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.9rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--cp-text);
    background: var(--cp-bg-subtle);
    border: 1px solid var(--cp-border);
    border-radius: var(--cp-radius-sm);
    cursor: pointer;
}

.menu-toggle:hover {
    border-color: var(--cp-primary);
    color: var(--cp-primary);
}

/* Header cart icon */
.header-cart-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    color: var(--cp-text);
}

.header-cart-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.25rem;
    height: 1.25rem;
    padding: 0 0.35rem;
    margin-left: 0.35rem;
    font-size: 0.7rem;
    font-weight: 700;
    color: #fff;
    background: var(--cp-primary);
    border-radius: 999px;
}

/* =========================================================================
   Main content layout
   ========================================================================= */
.site-main {
    padding: 2.5rem 0;
    /* Full-width blocks (alignfull) span 100vw; clip the scrollbar's width instead of scrolling sideways. */
    overflow-x: clip;
}

.site-main > .container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.page-header {
    margin-bottom: 2rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--cp-border);
}

.page-title {
    font-size: clamp(1.6rem, 4vw, 2.25rem);
    margin: 0;
}

.archive-description {
    margin-top: 0.75rem;
    color: var(--cp-text-muted);
}

/* Post / article cards in listings */
.site-main article {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--cp-border);
}

.site-main article:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
}

/* A sticky post at the top of the blog: a tinted card with the primary colour along its edge. */
.site-main article.sticky {
    padding: 1.5rem;
    border: 1px solid var(--cp-border);
    border-left: 3px solid var(--cp-primary);
    border-radius: var(--cp-radius-sm);
    background: var(--cp-bg-accent);
}

.entry-header {
    margin-bottom: 1rem;
}

.entry-title {
    font-size: clamp(1.4rem, 3vw, 2rem);
    margin: 0 0 0.5rem;
    line-height: 1.25;
}

.entry-title a {
    color: var(--cp-heading);
}

.entry-title a:hover {
    color: var(--cp-primary);
}

.entry-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 1rem;
    color: var(--cp-text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.entry-meta a {
    color: var(--cp-text-muted);
}

.entry-meta a:hover {
    color: var(--cp-primary);
}

.post-thumbnail {
    display: block;
    margin: 1rem 0 1.25rem;
    border-radius: var(--cp-radius);
    overflow: hidden;
}

.post-thumbnail img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.4s ease;
}

a.post-thumbnail:hover img {
    transform: scale(1.03);
}

.entry-content,
.entry-summary {
    margin-bottom: 1.25rem;
}

/* Block content inside .entry-content is styled by assets/css/blocks.css (front end and block editor alike). */
.entry-summary p {
    margin: 0 0 1.15em;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 600;
    color: var(--cp-primary);
}

.read-more::after {
    content: "\2192";
    transition: transform 0.2s ease;
}

.read-more:hover::after {
    transform: translateX(3px);
}

.entry-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
    font-size: 0.9rem;
    color: var(--cp-text-muted);
}

.entry-footer a {
    color: var(--cp-text-muted);
}

.entry-footer a:hover {
    color: var(--cp-primary);
}

/* No results */
.no-results {
    padding: 2.5rem;
    text-align: center;
    background: var(--cp-bg-subtle);
    border: 1px solid var(--cp-border);
    border-radius: var(--cp-radius);
}

.no-results .page-content > * + * {
    margin-top: 1rem;
}

/* =========================================================================
   Buttons & form controls (base)
   ========================================================================= */
button,
input[type="submit"],
.wp-block-button__link {
    font-family: inherit;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
textarea,
select {
    width: 100%;
    max-width: 100%;
    padding: 0.6rem 0.85rem;
    font-size: 1rem;
    font-family: inherit;
    color: var(--cp-text);
    background: var(--cp-bg-subtle);
    border: 1px solid var(--cp-border-strong);
    border-radius: var(--cp-radius-sm);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--cp-primary);
    background: var(--cp-bg);
    box-shadow: 0 0 0 3px rgba(0, 124, 186, 0.18);
}

/* =========================================================================
   Pagination
   ========================================================================= */
.posts-navigation,
.post-navigation,
.pagination {
    margin-top: 2.5rem;
}

.posts-navigation .nav-links,
.pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
}

.posts-navigation a,
.pagination a,
.page-numbers {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.9rem;
    font-weight: 600;
    color: var(--cp-primary);
    background: var(--cp-bg);
    border: 1px solid var(--cp-border);
    border-radius: var(--cp-radius-sm);
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.posts-navigation a:hover,
.pagination a:hover,
.page-numbers:hover,
.page-numbers.current {
    color: #fff;
    background: var(--cp-primary);
    border-color: var(--cp-primary);
}

/* =========================================================================
   Sidebar / widgets
   ========================================================================= */
.widget-area {
    display: grid;
    gap: 1.5rem;
}

.widget {
    padding: 1.25rem 1.35rem;
    background: var(--cp-bg);
    border: 1px solid var(--cp-border);
    border-radius: var(--cp-radius);
    box-shadow: var(--cp-shadow-sm);
}

.widget-title {
    font-size: 1.05rem;
    margin: 0 0 1rem;
    padding-bottom: 0.65rem;
    border-bottom: 2px solid var(--cp-primary);
}

.widget ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.widget ul li {
    padding: 0.4rem 0;
    border-bottom: 1px solid var(--cp-border);
}

.widget ul li:last-child {
    border-bottom: none;
}

.widget a {
    color: var(--cp-text);
}

.widget a:hover {
    color: var(--cp-primary);
}

/* =========================================================================
   Default search form (used in widgets, no-results, etc.)
   ========================================================================= */
.search-form {
    display: flex;
    gap: 0.5rem;
    align-items: stretch;
}

.search-form label {
    flex: 1 1 auto;
    min-width: 0;
}

.search-form .search-submit {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    padding: 0.6rem 0.95rem;
    color: #fff;
    background: var(--cp-primary);
    border: none;
    border-radius: var(--cp-radius-sm);
    cursor: pointer;
    transition: background 0.2s ease;
}

.search-form .search-submit:hover {
    background: var(--cp-primary-hover);
}

/* =========================================================================
   Footer
   ========================================================================= */
.site-footer {
    margin-top: 3rem;
    padding: 2.5rem 0;
    background: #14202b;
    color: #c7d0d9;
}

/* An Elementor footer template brings its own design: the wrapper adds nothing. On the theme's own templates
   (archives, search, posts, plain pages) it leaves 120px above the footer, so a band that overlaps upwards
   (e.g. the Newsletter widget, -95px) never covers content. Elementor Full Width pages and posts shown through an
   Inoforest Core single template end with their own section padding, as in the design. */
.site-footer--builder {
    margin-top: 0;
    padding: 120px 0 0;
    color: inherit;
    background: none;
}

.page-template-elementor_header_footer .site-footer--builder,
body:has(#inoforest-custom-single) .site-footer--builder {
    padding-top: 0;
}

.site-footer .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.site-footer a {
    color: #fff;
}

.site-footer a:hover {
    color: var(--cp-primary);
    text-decoration: underline;
}

.site-footer .widget {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    color: inherit;
}

.site-footer .widget-title {
    color: #fff;
}

.site-info {
    font-size: 0.9rem;
    color: #9aa7b2;
}

/* Default 404: scope under .travel26-404 only (Theme Builder / Elementor error template does not output this block). */
.travel26-404 {
    max-width: 720px;
    margin: 0 auto;
    padding-bottom: 3rem;
    text-align: center;
}

.travel26-404__hero {
    padding: 2.5rem 1.25rem 2rem;
    margin-bottom: 0.5rem;
    border-radius: 16px;
    background: linear-gradient(160deg, #f0f7fc 0%, #f8f9fa 45%, #fff 100%);
    border: 1px solid rgba(0, 124, 186, 0.12);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.travel26-404__code {
    font-size: clamp(4.5rem, 18vw, 7.5rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.06em;
    margin: 0 0 0.75rem;
    background: linear-gradient(135deg, #007cba 0%, #005a8c 50%, #0a3d5c 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    user-select: none;
}

.travel26-404__header .page-title {
    font-size: clamp(1.35rem, 4vw, 1.75rem);
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 1rem;
    line-height: 1.3;
}

.travel26-404__lead {
    font-size: 1.05rem;
    color: #555;
    max-width: 34em;
    margin: 0 auto 1.5rem;
    line-height: 1.65;
}

.travel26-404__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.travel26-404__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.35rem;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.travel26-404__btn--primary {
    background: #007cba;
    color: #fff;
    box-shadow: 0 4px 14px rgba(0, 124, 186, 0.35);
}

.travel26-404__btn--primary:hover {
    background: #006ba3;
    color: #fff;
    box-shadow: 0 6px 20px rgba(0, 124, 186, 0.4);
    transform: translateY(-1px);
}

.travel26-404__search-wrap {
    margin: 2rem auto 2.5rem;
    max-width: 480px;
    padding: 1.25rem 1.5rem;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e8ecef;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.travel26-404__search-wrap .search-form {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.5rem;
    align-items: stretch;
}

.travel26-404__search-wrap .search-form label {
    flex: 1 1 auto;
    min-width: 0;
    display: block;
}

.travel26-404__search-wrap .search-field {
    width: 100%;
    padding: 0.65rem 0.85rem;
    font-size: 1rem;
    border: 1px solid #d0d7de;
    border-radius: 8px;
    background: #fafbfc;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.travel26-404__search-wrap .search-field:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 0 3px rgba(0, 124, 186, 0.2);
    background: #fff;
}

.travel26-404__search-wrap .search-submit {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 3rem;
    padding: 0.65rem 1rem;
    color: #fff;
    background: #333;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.travel26-404__search-wrap .search-submit:hover {
    background: #1a1a1a;
}

.travel26-404__widgets {
    text-align: start;
    display: grid;
    gap: 1.75rem;
    max-width: 900px;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .travel26-404__widgets {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem 2rem;
    }

    .travel26-404__widgets .widget_tag_cloud {
        grid-column: 1 / -1;
    }
}

.travel26-404__widgets .widget {
    margin: 0;
    padding: 1.25rem 1.35rem;
    background: #fff;
    border: 1px solid #e8ecef;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.travel26-404__widgets .widget-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 1rem;
    padding-bottom: 0.65rem;
    border-bottom: 2px solid #007cba;
}

.travel26-404__widgets ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.travel26-404__widgets ul li {
    padding: 0.4rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.travel26-404__widgets ul li:last-child {
    border-bottom: none;
}

.travel26-404__widgets a {
    color: #007cba;
    text-decoration: none;
}

.travel26-404__widgets a:hover {
    text-decoration: underline;
}

.travel26-404__widgets .post-date,
.travel26-404__widgets .widget_categories li {
    color: #555;
    font-size: 0.9375rem;
}

.travel26-404__widgets select {
    width: 100%;
    max-width: 100%;
    margin-top: 0.5rem;
    padding: 0.55rem 0.75rem;
    font-size: 0.9375rem;
    border: 1px solid #d0d7de;
    border-radius: 8px;
    background: #fafbfc;
}

.travel26-404__widgets .tagcloud a {
    display: inline-block;
    margin: 0.2rem 0.35rem 0.2rem 0;
    padding: 0.25rem 0.5rem;
    background: #f0f7fc;
    border-radius: 6px;
    font-size: 0.875rem !important;
}

.travel26-404__widgets .tagcloud a:hover {
    background: #007cba;
    color: #fff !important;
    text-decoration: none;
}

/* Default single post (Theme Builder / Elementor single template does not output .travel26-single). */
.travel26-single {
    /* Full width up to the reading width: as a flex item with auto margins it would otherwise size to its content,
       and wide content (a classic caption's inline width) pushed it past the screen on phones. */
    width: 100%;
    max-width: var(--travel26-content-width, 860px);
    margin: 0 auto;
    padding: 1.5rem 0 3rem;
}

.travel26-single .entry-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #e8ecef;
}

.travel26-single .entry-title {
    font-size: clamp(1.75rem, 4vw, 2.35rem);
    font-weight: 700;
    line-height: 1.25;
    color: #1a1a1a;
    margin: 0 0 0.85rem;
}

.travel26-single .entry-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 1rem;
    font-size: 0.9375rem;
    color: #555;
    margin: 0;
}

.travel26-single .entry-meta a {
    color: #007cba;
    text-decoration: none;
}

.travel26-single .entry-meta a:hover {
    text-decoration: underline;
}

.travel26-single .posted-on,
.travel26-single .byline {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.travel26-single .post-thumbnail {
    margin: 0 0 1.75rem;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e8ecef;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
}

.travel26-single .post-thumbnail img {
    display: block;
    width: 100%;
    height: auto;
    vertical-align: middle;
}

/* The post content itself (.entry-content), with the password form and page links WordPress prints there, is styled
   by assets/css/blocks.css. */

.travel26-single .entry-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1.25rem;
    padding: 1.25rem 0 0;
    margin-bottom: 2rem;
    border-top: 1px solid #e8ecef;
    font-size: 0.9375rem;
    color: #555;
}

.travel26-single .entry-footer a {
    color: #007cba;
    text-decoration: none;
}

.travel26-single .entry-footer a:hover {
    text-decoration: underline;
}

.travel26-single .entry-footer .cat-links,
.travel26-single .entry-footer .tags-links,
.travel26-single .entry-footer .edit-link {
    display: inline-block;
}

.travel26-single .post-navigation {
    margin: 2.5rem 0 0;
    padding: 0;
    border: none;
}

.travel26-single .post-navigation .nav-links {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: 1fr 1fr;
}

.travel26-single .post-navigation .nav-previous,
.travel26-single .post-navigation .nav-next {
    margin: 0;
    padding: 1rem 1.15rem;
    background: #fff;
    border: 1px solid #e8ecef;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.travel26-single .post-navigation .nav-previous:hover,
.travel26-single .post-navigation .nav-next:hover {
    border-color: rgba(0, 124, 186, 0.35);
    box-shadow: 0 4px 18px rgba(0, 124, 186, 0.12);
}

.travel26-single .post-navigation a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.travel26-single .post-navigation .nav-subtitle {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #888;
    margin-bottom: 0.35rem;
}

.travel26-single .post-navigation .nav-title {
    font-weight: 600;
    color: #007cba;
}

.travel26-single .post-navigation .nav-next {
    text-align: end;
}

.travel26-single .comments-area {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid #e8ecef;
}

.travel26-single .comments-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 1.25rem;
}

.travel26-single .comment-list {
    list-style: none;
    margin: 0 0 1.5rem;
    padding: 0;
}

.travel26-single .comment-list .children {
    list-style: none;
    margin: 0.75rem 0 0 1rem;
    padding: 0;
}

.travel26-single .comment-body {
    padding: 1rem 0;
    border-bottom: 1px solid #f0f0f0;
}

/* Replies by the post's author: the primary colour along their edge. */
.travel26-single .bypostauthor > .comment-body {
    padding-left: 1rem;
    border-left: 3px solid var(--cp-primary);
}

.travel26-single .comment-meta {
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.travel26-single .comment-meta a {
    color: #007cba;
    text-decoration: none;
}

.travel26-single .comment-meta a:hover {
    text-decoration: underline;
}

.travel26-single .reply a {
    font-size: 0.875rem;
    font-weight: 600;
    color: #007cba;
    text-decoration: none;
}

.travel26-single .reply a:hover {
    text-decoration: underline;
}

.travel26-single .comments-area .comment-form label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
    color: #444;
}

.travel26-single .comments-area .comment-form input[type="text"],
.travel26-single .comments-area .comment-form input[type="email"],
.travel26-single .comments-area .comment-form input[type="url"],
.travel26-single .comments-area .comment-form textarea {
    width: 100%;
    max-width: 100%;
    padding: 0.6rem 0.75rem;
    font-size: 1rem;
    font-family: inherit;
    border: 1px solid #d0d7de;
    border-radius: 8px;
    background: #fafbfc;
    margin-bottom: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.travel26-single .comments-area .comment-form input:focus,
.travel26-single .comments-area .comment-form textarea:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 0 3px rgba(0, 124, 186, 0.2);
    background: #fff;
}

.travel26-single .comments-area .comment-form .form-submit input {
    width: auto;
    padding: 0.65rem 1.35rem;
    font-weight: 600;
    color: #fff;
    background: #007cba;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-bottom: 0;
    box-shadow: 0 4px 14px rgba(0, 124, 186, 0.3);
}

.travel26-single .comments-area .comment-form .form-submit input:hover {
    background: #006ba3;
}

.travel26-single .comments-area .no-comments {
    color: #666;
    font-size: 0.9375rem;
    margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .site-header .container {
        flex-wrap: wrap;
    }

    .menu-toggle {
        display: inline-flex;
    }

    /* The button sits beside the logo; the open menu drops below the header, across its width. */
    .site-header .container {
        position: relative;
    }

    /* wp_nav_menu() and the page-list fallback both wrap the list in a <div>. */
    .main-navigation > div > ul,
    .main-navigation > ul {
        position: absolute;
        top: 100%;
        right: 16px;
        left: 16px;
        z-index: 300;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        max-height: 70vh;
        overflow-y: auto;
        padding: 0.4rem;
        background: var(--cp-bg);
        border: 1px solid var(--cp-border);
        border-radius: var(--cp-radius-sm);
        box-shadow: var(--cp-shadow);
    }

    .main-navigation.toggled > div > ul,
    .main-navigation.toggled > ul {
        display: flex;
    }

    .main-navigation ul ul {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        padding-left: 0.75rem;
        min-width: 0;
    }

    .container {
        padding: 0 16px; /* the design's 16px phone gutter */
    }

    .travel26-404__hero {
        padding: 1.75rem 1rem 1.5rem;
    }

    .travel26-404__search-wrap .search-form {
        flex-direction: column;
    }

    .travel26-404__search-wrap .search-submit {
        width: 100%;
    }

    .travel26-single .post-navigation .nav-links {
        grid-template-columns: 1fr;
    }

    .travel26-single .post-navigation .nav-next {
        text-align: start;
    }
}

/* =========================================================================
   Blog sidebar: WordPress widgets shown by Elementor's Sidebar widget
   (the Travel26 blog and single post templates, html/blog.html).
   Scoped to .elementor-widget-sidebar so other widget areas keep the styles
   above. Covers the block widgets an owner adds in Appearance → Widgets
   (heading + search / categories / latest posts / tag cloud) and their
   classic equivalents.
   ========================================================================= */
.elementor-widget-sidebar {
    --t26s-primary: var(--inoforest-color-primary, #0b7a75);
    --t26s-accent: var(--inoforest-color-accent, #ff6a3d);
    --t26s-heading: var(--inoforest-color-heading, #0d1b2a);
    --t26s-text: var(--inoforest-color-text, #5a6a79);
    --t26s-muted: #8b99a6;
    --t26s-border: var(--inoforest-color-border, #e5ebef);
    --t26s-soft: #f4f8f8;
}

.elementor-widget-sidebar .widget {
    margin: 0;
    padding: 30px;
    background: var(--inoforest-color-background, #fff);
    border: 1px solid var(--t26s-border);
    border-radius: 24px;
    box-shadow: none;
}

.elementor-widget-sidebar .widget + .widget {
    margin-top: 30px;
}

.elementor-widget-sidebar .widget .wp-block-group,
.elementor-widget-sidebar .widget .wp-block-group__inner-container > :first-child {
    margin-top: 0;
}

/* Classic themes wrap a group's blocks in .wp-block-group__inner-container; the next rules allow for both. */
.elementor-widget-sidebar .widget .wp-block-group__inner-container > * + *,
.elementor-widget-sidebar .widget .wp-block-group > * + * {
    margin-block-start: 0;
}

.elementor-widget-sidebar .widget-title,
.elementor-widget-sidebar .widget .wp-block-heading:first-child {
    position: relative;
    margin: 0 0 24px;
    padding-bottom: 14px;
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--t26s-heading);
    border-bottom: 1px solid var(--t26s-border);
}

.elementor-widget-sidebar .widget-title::after,
.elementor-widget-sidebar .widget .wp-block-heading:first-child::after {
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 50px;
    height: 2px;
    content: "";
    background: var(--t26s-accent);
}

.elementor-widget-sidebar .widget ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.elementor-widget-sidebar .widget ul li {
    padding: 0;
    border: 0;
}

/* Search (block and classic) */
.elementor-widget-sidebar .wp-block-search__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.elementor-widget-sidebar .wp-block-search__inside-wrapper,
.elementor-widget-sidebar .search-form {
    position: relative;
    display: block;
    padding: 0;
    border: 0;
}

.elementor-widget-sidebar .wp-block-search__input,
.elementor-widget-sidebar .search-form .search-field {
    width: 100%;
    height: 56px;
    margin: 0;
    padding: 0 60px 0 20px;
    font: inherit;
    color: var(--t26s-heading);
    background: var(--t26s-soft);
    border: 1px solid transparent;
    border-radius: 999px;
    outline: 0;
    transition: border-color 0.35s, background-color 0.35s;
}

.elementor-widget-sidebar .wp-block-search__input:focus,
.elementor-widget-sidebar .search-form .search-field:focus {
    background: var(--inoforest-color-background, #fff);
    border-color: var(--t26s-primary);
}

.elementor-widget-sidebar .wp-block-search__button,
.elementor-widget-sidebar .search-form .search-submit {
    position: absolute;
    top: 6px;
    right: 6px;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    color: #fff;
    background: var(--t26s-primary);
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.35s;
}

.elementor-widget-sidebar .wp-block-search__button:hover,
.elementor-widget-sidebar .wp-block-search__button:focus-visible,
.elementor-widget-sidebar .search-form .search-submit:hover {
    background: var(--t26s-accent);
}

.elementor-widget-sidebar .wp-block-search__button svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Categories: name left, count right */
.elementor-widget-sidebar .widget .wp-block-categories-list li,
.elementor-widget-sidebar .widget.widget_categories li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 11px 0;
    color: var(--t26s-muted);
    font-weight: 500;
    border-bottom: 1px dashed var(--t26s-border);
}

.elementor-widget-sidebar .widget .wp-block-categories-list li:last-child,
.elementor-widget-sidebar .widget.widget_categories li:last-child {
    border-bottom: 0;
}

.elementor-widget-sidebar .wp-block-categories-list a,
.elementor-widget-sidebar .widget_categories a {
    font-weight: 600;
    color: var(--t26s-heading);
    transition: color 0.35s, padding 0.35s;
}

.elementor-widget-sidebar .wp-block-categories-list a:hover,
.elementor-widget-sidebar .widget_categories a:hover {
    padding-left: 6px;
    color: var(--t26s-primary);
}

/* Latest posts: photo, then date above the title */
.elementor-widget-sidebar .widget .wp-block-latest-posts__list li {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas: "photo date" "photo title";
    align-content: center;
    column-gap: 16px;
    margin: 0 0 20px;
}

.elementor-widget-sidebar .widget .wp-block-latest-posts__list li:last-child {
    margin-bottom: 0;
}

.elementor-widget-sidebar .wp-block-latest-posts__featured-image {
    grid-area: photo;
    align-self: center;
    float: none;
    margin: 0;
}

.elementor-widget-sidebar .wp-block-latest-posts__featured-image img {
    display: block;
    width: 84px;
    height: 84px;
    max-width: none;
    object-fit: cover;
    border-radius: 16px;
}

.elementor-widget-sidebar .wp-block-latest-posts__post-date {
    grid-area: date;
    align-self: end;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.825rem;
    color: var(--t26s-muted);
}

.elementor-widget-sidebar .wp-block-latest-posts__post-date::before {
    width: 14px;
    height: 14px;
    content: "";
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 1v2h6V1h2v2h4a1 1 0 011 1v16a1 1 0 01-1 1H3a1 1 0 01-1-1V4a1 1 0 011-1h4V1h2zm11 9H4v9h16v-9zM7 5H4v3h16V5h-3v1h-2V5H9v1H7V5z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 1v2h6V1h2v2h4a1 1 0 011 1v16a1 1 0 01-1 1H3a1 1 0 01-1-1V4a1 1 0 011-1h4V1h2zm11 9H4v9h16v-9zM7 5H4v3h16V5h-3v1h-2V5H9v1H7V5z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.elementor-widget-sidebar .wp-block-latest-posts__post-title {
    grid-area: title;
    align-self: start;
    margin-top: 4px;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.4;
    color: var(--t26s-heading);
}

.elementor-widget-sidebar .wp-block-latest-posts__post-title:hover {
    color: var(--t26s-primary);
}

/* Tag cloud: pills */
.elementor-widget-sidebar .wp-block-tag-cloud,
.elementor-widget-sidebar .tagcloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
}

.elementor-widget-sidebar .wp-block-tag-cloud a,
.elementor-widget-sidebar .tagcloud a {
    margin: 0;
    padding: 7px 16px;
    font-size: 0.85rem !important; /* The block prints an inline font size per tag. */
    font-weight: 600;
    line-height: 1.5;
    color: var(--t26s-heading);
    background: var(--t26s-soft);
    border-radius: 999px;
    transition: color 0.35s, background-color 0.35s;
}

.elementor-widget-sidebar .wp-block-tag-cloud a:hover,
.elementor-widget-sidebar .tagcloud a:hover {
    color: #fff;
    background: var(--t26s-primary);
}

@media (max-width: 767px) {
    .elementor-widget-sidebar .widget {
        padding: 24px;
    }
}

/* =========================================================================
   Pages (page.php): banner, reading column, last-updated date
   Pages not built with Elementor (booking terms, privacy policy, WooCommerce pages), as in the Travel26 design's
   terms.html: a dark photo banner with a curved edge, then the block content in an 860 px column. The last section
   keeps 95 px extra at the bottom for the footer's newsletter band, which overlaps it.
   ========================================================================= */
.travel26-page {
    --t26p-primary: var(--inoforest-color-primary, #0b7a75);
    --t26p-accent: var(--inoforest-color-accent, #ff6a3d);
    --t26p-heading: var(--inoforest-color-heading, #0d1b2a);
    --t26p-dark: var(--inoforest-color-dark, #0d1b2a);
    --t26p-soft: var(--inoforest-color-surface, #f4f8f8);
    --t26p-gutter: 24px;
    --t26p-section: 110px;
    padding: 0;
}

.travel26-page .container {
    max-width: calc(1240px + var(--t26p-gutter) * 2);
    padding-inline: var(--t26p-gutter);
}

.travel26-page-banner {
    position: relative;
    padding: 110px 0 90px;
    overflow: hidden;
    color: #fff;
    text-align: center;
    background: var(--t26p-dark);
}

.travel26-page-banner__bg {
    position: absolute;
    inset: 0;
}

.travel26-page-banner__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.travel26-page-banner__bg::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(180deg, rgba(13, 27, 42, 0.55), rgba(13, 27, 42, 0.75));
}

/* The curved bottom edge, in the colour of the content area's top. */
.travel26-page-banner::after {
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    z-index: 2;
    height: 40px;
    content: "";
    background: var(--t26p-soft);
    clip-path: ellipse(55% 100% at 50% 100%);
}

.travel26-page-banner__inner {
    position: relative;
    z-index: 2;
}

.travel26-page .travel26-page-banner__title {
    margin: 0 0 18px;
    font-size: clamp(2.3rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #fff;
}

.travel26-page-banner__text {
    max-width: 620px;
    margin: -4px auto 22px;
    font-size: 1rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.85);
}

.travel26-breadcrumb__list {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0;
    padding: 10px 22px;
    font-size: 0.925rem;
    font-weight: 600;
    line-height: 1.75;
    list-style: none;
    background: rgba(255, 255, 255, 0.12);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
}

.travel26-breadcrumb__item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.travel26-breadcrumb__item + .travel26-breadcrumb__item::before {
    content: "\203A";
    font-size: 1.2em;
    line-height: 1;
    color: var(--t26p-accent);
}

.travel26-breadcrumb a {
    color: #fff;
    text-decoration: none;
}

.travel26-breadcrumb a:hover,
.travel26-breadcrumb a:focus-visible,
.travel26-breadcrumb [aria-current] {
    color: var(--t26p-accent);
}

.travel26-page__section {
    padding: var(--t26p-section) 0 calc(var(--t26p-section) + 95px);
}

.travel26-page .travel26-page-article {
    max-width: 860px;
    margin: 0 auto;
    padding: 0;
    border: 0;
}

.travel26-page-article__updated {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 28px;
    padding: 7px 16px;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.75;
    background: var(--t26p-soft);
    border-radius: 999px;
}

.travel26-page-article__updated-icon {
    flex: none;
    color: var(--t26p-primary);
}

.travel26-page-article .entry-footer {
    margin-top: 2rem;
    font-size: 0.875rem;
}

@media (max-width: 1199px) {
    .travel26-page {
        --t26p-section: 90px;
    }
}

@media (max-width: 991px) {
    .travel26-page {
        --t26p-section: 80px;
    }
}

@media (max-width: 767px) {
    .travel26-page {
        --t26p-gutter: 16px;
        --t26p-section: 70px;
    }

    .travel26-page-banner {
        padding: 90px 0 70px;
    }

    .travel26-page-banner__text {
        font-size: 0.9375rem;
    }
}
