/*
Theme Name: WCDBA
Theme URI: https://wcdba.com.au
Author: hamish.com.au
Author URI: https://hamish.com.au
Description: West Coast Dirt Bike Adventures custom theme, adapted from Webflow export to Bootstrap 5. Built and hosted on PHAS — premium Australian web hosting for businesses that demand performance and reliability. Visit phas.au to host your next project.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wcdba
Tags: bootstrap
Requires at least: 6.9.1
Requires PHP: 8.4
*/

/* =====================================================
   TYPOGRAPHY & BASE
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Archivo:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

body {
    color: #0a1d35;
    letter-spacing: 0.5px;
    font-family: Archivo, sans-serif;
    font-size: 18px;
    font-style: italic;
    line-height: 25px;
}

h1 {
    color: #fff;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
    font-family: Archivo, sans-serif;
    font-size: 60px;
    font-style: italic;
    font-weight: 700;
    line-height: 60px;
}

h2 {
    color: #fff;
    letter-spacing: 1px;
    text-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
    font-size: 48px;
    font-style: italic;
    font-weight: 700;
    line-height: 48px;
}

h3 {
    font-size: 24px;
    font-weight: 700;
    line-height: 30px;
}

h4 {
    font-size: 18px;
    font-weight: 700;
    line-height: 24px;
}

a {
    color: inherit;
    text-decoration: none;
}

/* =====================================================
   NAVIGATION — SPLIT BAR (non-home pages)
   ===================================================== */

.navbar-page {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    z-index: 9999;
    overflow: hidden;
    padding: 0;
}

/* Diagonal grey stripe background */
.navbar-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50px;
    width: 80%;
    height: 80px;
    background-image: linear-gradient(90deg, #ededed, #c4c4c4);
    transform: skewX(-15deg);
    z-index: 0;
}

/* White/transparent right strip */
.navbar-page::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 45%;
    height: 80px;
    background-color: #0088db;
    transform: skewX(-15deg);
    transform-origin: top right;
    z-index: 0;
    /* This creates the right-side phone button backing – hidden on large, shown implicitly */
    display: none;
}

.navbar-page .navbar-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 160px 1fr auto;
    align-items: center;
    height: 80px;
    max-width: 940px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Centre column: nav links */
.navbar-page .navbar-links {
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar-brand-logo {
    background-image: var(--logo, url(images/logo-slim.svg));
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 160px;
    height: 80px;
    flex-shrink: 0;
    margin-right: 40px;
    display: block;
}

/* Nav links */
.nav-link-page {
    color: #0a1d35;
    font-family: Archivo, sans-serif;
    font-size: 18px;
    font-style: italic;
    font-weight: 700;
    padding: 10px 15px;
    text-decoration: none;
    display: inline-block;
    position: relative;
}

/* Animated underline via pseudo-element */
.nav-link-page:not(.phone)::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 15px;
    right: 15px;
    height: 2px;
    background-color: #0088db;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.25s ease;
}

.nav-link-page:not(.phone):hover::after {
    transform: scaleX(1);
}

.nav-link-page:hover {
    color: #0a1d35;
}

/* Active state */
.nav-link-page.active {
    color: #0088db;
}

.nav-link-page.active::after {
    transform: scaleX(1);
}

/* Phone link — blue skewed pill */
.nav-link-page.phone {
    color: #fff;
    background-color: #0088db;
    margin-left: 30px;
    padding: 15px 20px;
    transform: skewX(-15deg);
    box-shadow: 4px 3px 10px rgba(0, 0, 0, 0.25);
    transition: background-color 0.2s;
    text-align: left;
    line-height: 1;
}

.nav-link-page.phone:hover {
    opacity: 1;
    color: #fff;
    background-color: #0099f6;
}

.nav-link-page.phone .nav-text,
.nav-link-page.phone .nav-phone {
    display: block;
    transform: skewX(15deg);
}

.nav-text {
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 400;
    line-height: 12px;
    margin-bottom: 4px;
}

.nav-phone {
    letter-spacing: 0.78px;
    font-size: 18px;
    line-height: 18px;
    font-style: normal;
}

/* Hamburger toggler */
.navbar-page .navbar-toggler {
    position: relative;
    z-index: 2;
    background-image: linear-gradient(90deg, #ededed, #c4c4c4);
    border: 1px solid #b0b0b0;
    border-radius: 6px;
    color: #0088db;
    padding: 8px;
}

.navbar-page .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%230088db' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Mobile offcanvas */
#mobileNav {
    background-color: #0a1d35;
    width: 280px;
    z-index: 99999;
}

.offcanvas-backdrop {
    z-index: 99998;
}

#mobileNav .offcanvas-header {
    background-image: linear-gradient(90deg, #ededed, #c4c4c4);
    border-bottom: none;
    padding: 20px 24px;
}

#mobileNav .btn-close {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230088db'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e");
    opacity: 1;
}

.offcanvas-brand {
    display: block;
    width: 120px;
    height: 40px;
    background-image: var(--logo, url('images/logo-slim.svg'));
    background-repeat: no-repeat;
    background-size: contain;
    background-position: left center;
}

#mobileNav .offcanvas-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 24px;
}

.mobile-nav-link {
    display: block;
    color: #fff;
    font-family: 'Archivo', sans-serif;
    font-size: 15px;
    font-weight: 700;
    font-style: italic;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    transition: color 0.2s;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: #0088db;
}

.mobile-nav-phone {
    display: flex;
    flex-direction: column;
    color: #fff;
    text-decoration: none;
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.mobile-nav-phone .nav-text {
    font-family: 'Archivo', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
}

.mobile-nav-phone .nav-phone {
    font-family: 'Archivo', sans-serif;
    font-size: 20px;
    font-weight: 700;
    font-style: italic;
    color: #0088db;
}


/* =====================================================
   HERO SECTION (home page)
   ===================================================== */

.hero {
    background-image: var(--hero-bg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Gradient overlays via pseudo-elements */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)),
        linear-gradient(to bottom, #0066a9 0%, transparent 20%),
        linear-gradient(to top, #000 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 80px 20px;
    background-image: radial-gradient(circle farthest-side at 50% 40%, rgba(191, 191, 191, 0.4), rgba(2, 2, 2, 0.01) 70%, transparent 80%);
    max-width: 770px;
    margin: 0 auto;
}

.hero-logo {
    max-width: 280px;
    width: 100%;
}

.hero-heading {
    text-align: center;
    margin-top: 60px;
    margin-bottom: 60px;
    font-family: Archivo, sans-serif;
    font-size: 60px;
    font-style: italic;
    font-weight: 700;
    line-height: 60px;
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
}

/* =====================================================
   BUTTONS — skewed outline style
   ===================================================== */

.outline-button {
    background-color: transparent;
    border: 2px solid #fff;
    margin: 0 10px;
    padding: 10px 40px;
    font-style: italic;
    text-decoration: none;
    transition: opacity 0.2s;
    transform: skewX(-15deg);
    display: inline-block;
}

.outline-button:hover {
    opacity: 0.7;
}

.outline-button.blue {
    border-color: #0088db;
}

.outline-text {
    color: #fff;
    letter-spacing: 0.5px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transform: skewX(15deg);
    display: block;
}

.outline-text.blue {
    color: #0088db;
}

/* =====================================================
   SINGLE POST — meta badges (date + author)
   ===================================================== */

.post-meta-badge {
    display: inline-block;
    background: #0088db;
    transform: skewX(-15deg);
    padding: 4px 16px;
}

.post-meta-badge--author {
    background: #0a1d35;
}

.post-meta-badge .post-meta-inner {
    display: inline-block;
    transform: skewX(15deg);
    color: #fff;
    font-family: 'Archivo', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* =====================================================
   CONTENT SECTION (news + tours columns)
   ===================================================== */

.content-section {
    padding-top: 80px;
    padding-bottom: 80px;
}

/* Linked image block wrapper */
a.content-image-link {
    display: block;
    text-decoration: none;
}
a.content-image-link:hover .content-image-left,
a.content-image-link:hover .content-image-right {
    filter: brightness(1.1);
}

/* Background image boxes with blue header overlay */
.content-image-left {
    background-image: var(--bg, url(images/content-left.jpg));
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 260px;
    margin-bottom: 20px;
    padding-top: 40px;
    padding-right: 160px;
}

.content-image-right {
    background-image: var(--bg, url(images/content-right.jpg));
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 260px;
    margin-bottom: 20px;
    padding-top: 40px;
    padding-right: 160px;
}

/* Blue diagonal heading box */
.content-header {
    background-color: #0088db;
    margin-left: -30px;
    padding: 5px 20px;
    transform: skewX(-15deg);
    box-shadow: 3px 4px 10px rgba(0, 0, 0, 0.25);
    display: inline-block;
}

.content-heading {
    color: #fff;
    margin: 10px 0;
    font-weight: 500;
    transform: skewX(15deg);
    display: block;
}

.content-text {
    margin-bottom: 20px;
}

.content-button {
    text-align: right;
}

/* News preview cards */
.news-preview {
    border-left: 3px solid #0088db;
    padding-left: 12px;
    margin-bottom: 16px;
}

.news-preview .article-date {
    color: #0088db;
    font-size: 13px;
    line-height: 1.4;
    margin-bottom: 4px;
}

.news-preview h4 a {
    color: #0088db;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    font-style: normal;
}

.news-preview h4 a:hover {
    opacity: 0.7;
}

.news-preview .pagination-summary {
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 0;
}

/* Tour preview cards */
.tour-preview {
    border-left: 3px solid #0088db;
    padding-left: 12px;
    margin-bottom: 16px;
}

.tour-preview h4 a {
    color: #0088db;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    font-style: normal;
}

.tour-preview h4 a:hover {
    opacity: 0.7;
}

.tour-preview .pagination-summary {
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 0;
}

/* =====================================================
   CTA SECTION — upcoming dates (dark blue bg)
   ===================================================== */

.cta-section {
    padding-top: 80px;
    padding-bottom: 80px;
    background-color: #0a1d35;
}

.cta-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.cta-heading {
    text-align: center;
    color: #fff;
}

.text-white-italic {
    color: #fff;
    font-style: italic;
    max-width: 700px;
}

.date-block {
    margin-top: 40px;
    margin-bottom: 40px;
    width: 100%;
}

/* Date tiles */
.tour-dates-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.date-tile {
    text-decoration: none;
    transform: skewX(-15deg);
    transition: opacity 0.2s;
    display: inline-block;
    min-width: 100px;
}

.date-tile:hover {
    opacity: 0.7;
}

.date-tile-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px;
}

.date-tile.light .date-tile-inner {
    background-color: #0088db;
}

.date-tile.dark .date-tile-inner {
    background-color: #0a1d35;
    border: 1px solid #0088db;
}

.date-month {
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    font-size: 12px;
    font-style: italic;
    font-weight: 500;
    line-height: 12px;
    transform: skewX(15deg);
    padding: 6px 6px 2px;
}

.date-day {
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    font-size: 12px;
    font-style: italic;
    line-height: 12px;
    transform: skewX(15deg);
    padding: 2px 6px;
}

.date-num {
    color: #fff;
    text-align: center;
    font-size: 24px;
    font-style: italic;
    font-weight: 700;
    line-height: 24px;
    transform: skewX(15deg);
    padding: 4px 6px 8px;
}

.date-tour-name {
    color: #fff;
    text-align: center;
    font-size: 10px;
    font-style: italic;
    line-height: 1.2;
    transform: skewX(15deg);
    padding: 0 6px 6px;
    max-width: 70px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* =====================================================
   FOOTER
   ===================================================== */

.site-footer {
    background-image: linear-gradient(225deg, #d8d8d8, #fff);
    padding-top: 80px;
    padding-bottom: 160px;
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 0.3fr 0.3fr;
    gap: 80px;
    margin-bottom: 80px;
}

.footer-phone {
    letter-spacing: 0;
    font-size: 30px;
    font-weight: 700;
    line-height: 32px;
}

.social-icon {
    width: 35px;
    height: 35px;
    margin-right: 20px;
    transition: opacity 0.2s;
    display: inline-block;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.social-icon:hover { opacity: 0.7; }
.social-icon.instagram { background-image: url(images/instagram.svg); }
.social-icon.facebook  { background-image: url(images/facebook.svg); }
.social-icon.youtube   { background-image: url(images/youtube.svg); }
.social-icon.twitter   { background-image: url(images/twitter.svg); }

.footer-stripe {
    background-image: linear-gradient(37deg, #ededed, #c4c4c4);
    height: 85px;
    display: flex;
    align-items: center;
}

.copyright-text {
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
}

.copyright-links {
    margin-top: 5px;
    margin-bottom: 0;
    padding-left: 0;
    list-style-type: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}

.copyright-links .list-item {
    margin-right: 20px;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
}

.copyright-links .link,
.copyright-links li a {
    color: #0a1d35;
    text-decoration: underline;
    transition: opacity 0.2s;
}

.copyright-links .link:hover,
.copyright-links li a:hover { opacity: 0.7; }

/* wp_nav_menu wraps items in <li class="menu-item ..."> — style to match .list-item */
.copyright-links li {
    float: left;
    margin-right: 20px;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    list-style: none;
}

.footer-img {
    position: absolute;
    right: 20px;
    bottom: 88px;
    width: 320px;
    height: auto;
}

/* =====================================================
   PAGE HERO (non-home)
   ===================================================== */

.hero-page {
    background-image: linear-gradient(rgba(4, 3, 34, 0.5), rgba(4, 3, 34, 0.5)), var(--hero-bg, none);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding-top: 180px;
    padding-bottom: 100px;
    min-height: 280px;
}

.hero-page h1 {
    font-size: 60px;
    line-height: 60px;
}

/* =====================================================
   BLOCK QUOTE
   ===================================================== */

.block-quote {
    color: #0088db;
    background-image: url(images/quote-right.svg), url(images/quote-left.svg);
    background-position: 100% 100%, 0 0;
    background-repeat: no-repeat, no-repeat;
    border-left: none;
    margin-bottom: 20px;
    padding: 20px 60px 15px;
    font-size: 24px;
    line-height: 30px;
}

.quote-name {
    color: #0088db;
    padding-left: 60px;
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
}

/* =====================================================
   TOUR CARDS (tours listing page)
   ===================================================== */

.tours-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.tour-card {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 0;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
}

.tour-card-image-wrap {
    display: block;
    overflow: hidden;
}

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

.tour-card-image--placeholder {
    background-color: #0a1d35;
}

.tour-card-image-wrap:hover .tour-card-image {
    transform: scale(1.04);
}

.tour-card-body {
    padding: 36px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    background: #fff;
}

.tour-card-title {
    font-size: 28px;
    font-weight: 800;
    font-style: italic;
    margin-bottom: 6px;
}

.tour-card-title a {
    color: #0a1d35;
    text-decoration: none;
    transition: color 0.2s;
}

.tour-card-title a:hover {
    color: #0088db;
}

.tour-card-subheading {
    color: #0088db;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.tour-card-excerpt {
    color: #444;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.tour-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.tour-meta-item {
    font-size: 13px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    white-space: nowrap;
}

.tour-meta-duration {
    background: #0a1d35;
    color: #fff;
}

.tour-meta-cost {
    background: #0088db;
    color: #fff;
}

.tour-meta-date {
    background: #f0f4f8;
    color: #0a1d35;
}

@media (max-width: 900px) {
    .tour-card {
        grid-template-columns: 280px 1fr;
    }
}

@media (max-width: 767px) {
    .tour-card {
        grid-template-columns: 1fr;
    }
    .tour-card-image-wrap {
        height: 220px;
    }
    .tour-card-body {
        padding: 24px;
    }
}

/* =====================================================
   NEWS / BLOG POSTS — home.php
   ===================================================== */

/* Featured first post — horizontal card */
.news-featured-card {
    display: grid;
    grid-template-columns: 480px 1fr;
    border: 1px solid #e8ecf0;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,.07);
}

.news-featured-image-wrap {
    display: block;
    overflow: hidden;
}

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

.news-featured-image-wrap:hover .news-featured-image {
    transform: scale(1.04);
}

.news-featured-body {
    padding: 40px 44px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 16px;
}


.news-featured-excerpt {
    color: #444;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

/* Date pill — shared by featured and grid cards */
.news-date-pill {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    background: #0088db;
    color: #fff;
    padding: 4px 10px;
    border-radius: 3px;
}

/* 3-column card grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.news-card {
    border: 1px solid #e8ecf0;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
    display: flex;
    flex-direction: column;
}

.news-card-image-wrap {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

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

.news-card-image--placeholder {
    background-color: #0a1d35;
}

.news-card-image-wrap:hover .news-card-image {
    transform: scale(1.04);
}

.news-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    flex: 1;
}

.news-card-title {
    font-size: 18px;
    font-weight: 800;
    margin: 0;
    line-height: 1.25;
}

.news-card-title a {
    color: #0a1d35;
    text-decoration: none;
}

.news-card-title a:hover {
    color: #0088db;
}

.news-card-excerpt {
    color: #555;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* Pagination */
.news-pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.news-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 2px solid #0a1d35;
    color: #0a1d35;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    border-radius: 3px;
    transition: background .2s, color .2s;
}

.news-pagination .page-numbers:hover,
.news-pagination .page-numbers.current {
    background: #0a1d35;
    color: #fff;
}

.news-pagination .page-numbers.dots {
    border-color: transparent;
    cursor: default;
}

/* Responsive */
@media (max-width: 1100px) {
    .news-featured-card {
        grid-template-columns: 380px 1fr;
    }
}

@media (max-width: 900px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .news-featured-card {
        grid-template-columns: 1fr;
    }
    .news-featured-image-wrap {
        height: 240px;
    }
    .news-featured-body {
        padding: 28px 24px;
    }
    .news-grid {
        grid-template-columns: 1fr;
    }
}

.article-date {
    color: #0088db;
    font-size: 14px;
    line-height: 15px;
}

.h3-article {
    color: #0088db;
    margin-top: 10px;
    font-size: 20px;
}

.paginated-image {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 260px;
}

/* =====================================================
   INDIVIDUAL TOUR PAGE
   ===================================================== */


/* Hero subheading */
.tour-hero-title {
    color: #fff;
    text-shadow: 0 0 12px rgba(0,0,0,0.7);
    margin-bottom: 12px;
}

.tour-hero-subheading {
    color: rgba(255,255,255,0.85);
    font-size: 20px;
    font-style: italic;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin: 0;
    text-shadow: 0 0 8px rgba(0,0,0,0.5);
}

/* Full-width photo gallery — 4 columns, square */
.tour-gallery-fullwidth {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.tour-gallery-item {
    display: block;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

.tour-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

.tour-gallery-item:hover img {
    transform: scale(1.05);
}

/* Booking info rows */
.booking-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 6px;
}

.booking-row .cost-info {
    margin-left: 0;
}

/* Tour dates — Bootstrap list group (right column) */
.tour-date-list-item {
    border-color: #e0e6ed;
    padding: 12px 14px;
    color: inherit;
}

.tour-date-list-item:hover,
.tour-date-list-item:focus {
    background-color: #f0f6fb;
    color: inherit;
}

.tour-date-list-item:hover .tour-date-book-link {
    text-decoration: underline;
}

.tour-date-cal {
    background: #0088db;
    color: #fff;
    text-align: center;
    min-width: 48px;
    padding: 5px 8px;
    flex-shrink: 0;
}

.date-cal-month {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.date-cal-day {
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
}

.tour-date-range {
    font-weight: 700;
    font-size: 14px;
    color: #0a1d35;
}

.tour-date-spaces {
    font-size: 12px;
    color: #0088db;
    font-weight: 600;
    margin-top: 2px;
}

.tour-date-book-link {
    font-size: 13px;
    color: #0088db;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Book Tour Modal */
.book-tour-modal-content {
    border: none;
    border-radius: 0;
}

.book-tour-modal-header {
    background: #0a1d35;
    color: #fff;
    border-radius: 0;
    padding: 20px 24px;
}

.book-tour-modal-header .modal-title {
    font-style: italic;
    font-weight: 700;
    font-size: 22px;
    color: #fff;
}

.book-tour-modal-body {
    padding: 30px 24px;
}

/* =====================================================
   CONTACT FORM 7
   ===================================================== */

.wpcf7 .form-label {
    font-weight: 700;
    font-size: 14px;
    color: #0a1d35;
    margin-bottom: 6px;
}

.wpcf7 .form-control {
    border: 1px solid #ccd3db;
    border-radius: 0;
    padding: 10px 14px;
    font-size: 15px;
    color: #0a1d35;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.wpcf7 .form-control:focus {
    border-color: #0088db;
    box-shadow: 0 0 0 3px rgba(0, 136, 219, 0.15);
    outline: none;
}

.wpcf7 .form-control[readonly] {
    background-color: #f0f4f8;
    color: #0a1d35;
    font-weight: 700;
    cursor: default;
}

.wpcf7 span.wpcf7-not-valid-tip {
    font-size: 12px;
    color: #dc3545;
    margin-top: 4px;
    display: block;
}

.wpcf7 .wpcf7-response-output {
    border-radius: 0;
    font-size: 14px;
    padding: 10px 16px;
    margin-top: 16px;
}

/* Submit button */
.wcdba-btn-submit {
    background-color: #0088db;
    color: #fff;
    border: none;
    border-radius: 0;
    padding: 12px 36px;
    font-size: 16px;
    font-weight: 700;
    font-style: italic;
    letter-spacing: 0.5px;
    width: 100%;
    transition: background-color 0.2s;
    cursor: pointer;
}

.wcdba-btn-submit:hover {
    background-color: #0070b8;
    color: #fff;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.tour-h2 {
    color: #0088db;
    text-shadow: none;
    font-size: 36px;
    line-height: 40px;
    margin-bottom: 20px;
}

.cost {
    font-weight: 700;
    display: inline;
}

.cost-info {
    margin-left: 10px;
    display: inline;
}

.available-dates {
    margin-bottom: 70px;
}

.available-dates-heading {
    color: #0088db;
    margin-top: 40px;
    font-size: 18px;
    font-weight: 700;
}

.available-description {
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 20px;
}

/* =====================================================
   PAGE SIDEBAR IMAGE
   ===================================================== */

.page-sidebar-col {
    display: flex;
}

.page-sidebar-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

/* =====================================================
   RICH TEXT (tour content area)
   ===================================================== */

.content-rich h2,
.home-page-content h2,
.wp-block-heading {
    color: #0088db;
    text-shadow: none;
    font-size: 36px;
    line-height: 40px;
}

.content-rich h4 {
    color: #0088db;
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: 20px;
}

.content-rich.tour {
    margin-top: 20px;
    margin-bottom: 60px;
}

/* YouTube / oEmbed — full-width responsive */
.content-rich .wp-block-embed,
.content-rich figure.wp-block-embed {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.content-rich .wp-block-embed__wrapper,
.content-rich .wp-block-embed__wrapper iframe,
.content-rich iframe[src*="youtube"],
.content-rich iframe[src*="youtu.be"] {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
}

/* =====================================================
   FEATURED ARTICLE (news page)
   ===================================================== */

.featured-section {
    height: 500px;
    position: relative;
    overflow: hidden;
}

.featured-bg-left {
    position: absolute;
    top: 0;
    left: 0;
    width: 70%;
    height: 100%;
    background-image: linear-gradient(90deg, #ddd, #ededed);
    z-index: 1;
}

.featured-bg-right {
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background-color: #fff;
    transform: skewX(-15deg);
    z-index: 0;
}

.featured-content-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    z-index: 2;
}

.featured-image {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 300px;
}

/* =====================================================
   THANK YOU PAGE — page-thank-you.php
   ===================================================== */

.thankyou-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    height: 100%;
    padding: 36px 32px;
    border: 2px solid #e8ecf0;
    border-radius: 4px;
    text-decoration: none;
    color: inherit;
    transition: border-color .2s, box-shadow .2s;
}

.thankyou-card:hover {
    border-color: #0088db;
    box-shadow: 0 4px 16px rgba(0, 136, 219, .12);
    color: inherit;
    text-decoration: none;
}

.thankyou-card-icon {
    font-size: 40px;
    line-height: 1;
    color: #0088db;
}

.thankyou-card-title {
    font-size: 22px;
    font-weight: 800;
    color: #0a1d35;
    margin: 0;
}

.thankyou-card-text {
    color: #555;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
    flex: 1;
}

/* =====================================================
   CONTACT PAGE — page-contact-us.php
   ===================================================== */

.contact-info-block {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 8px 0;
    height: 100%;
    justify-content: center;
}

.contact-info-item {
    border-left: 4px solid #0088db;
    padding-left: 20px;
}

.contact-info-label {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: #0088db;
    margin-bottom: 6px;
}

.contact-info-value {
    font-size: 18px;
    font-weight: 600;
    color: #0a1d35;
    line-height: 1.5;
}

.contact-info-value a {
    color: #0a1d35;
    text-decoration: none;
}

.contact-info-value a:hover {
    color: #0088db;
}

/* Map */
.contact-map-section {
    width: 100%;
    line-height: 0;
}

.contact-map {
    width: 100%;
    height: 420px;
    border: 0;
    display: block;
}



.contact-form-intro {
    color: #555;
    font-size: 16px;
    margin-bottom: 32px;
}

/* Labels */
.contact-form-wrap .form-label {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #0a1d35;
    margin-bottom: 6px;
}

.contact-form-wrap .form-label abbr {
    color: #0088db;
    text-decoration: none;
    margin-left: 2px;
}

/* Inputs */
.contact-form-wrap .form-control {
    padding: 12px 16px;
    border: 2px solid #dce3ea;
    border-radius: 3px;
    font-size: 15px;
    font-family: inherit;
    color: #0a1d35;
    background: #fff;
    transition: border-color .2s, box-shadow .2s;
}

.contact-form-wrap .form-control:focus {
    border-color: #0088db;
    box-shadow: 0 0 0 3px rgba(0, 136, 219, .15);
    outline: none;
}

/* CF7 wraps [submit] in a <p> — style that <p> as the outline button shape */
.contact-form-wrap p:has(.wcdba-submit) {
    display: inline-block;
    background-color: transparent;
    border: 2px solid #0088db;
    margin: 10px 10px 0;
    padding: 10px 40px;
    transform: skewX(-15deg);
    transition: opacity 0.2s;
    line-height: normal;
    font-size: initial;
}

.contact-form-wrap p:has(.wcdba-submit):hover {
    opacity: 0.7;
}

/* Counter-skew the input so the text reads straight, matching .outline-text.blue */
.contact-form-wrap .wcdba-submit {
    background: transparent;
    border: none;
    color: #0088db;
    font-size: 18px;
    font-weight: 700;
    font-style: italic;
    letter-spacing: 0.5px;
    transform: skewX(15deg);
    display: inline-block;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    font-family: inherit;
}

/* Validation & responses */
.contact-form-wrap .wpcf7-spinner,
.book-tour-modal-body .wpcf7-spinner {
    display: none;
}

.contact-form-wrap .wpcf7-not-valid-tip {
    color: #c0392b;
    font-size: 13px;
    margin-top: 4px;
    display: block;
}

.contact-form-wrap .wpcf7-response-output {
    margin-top: 20px;
    padding: 14px 18px;
    border-radius: 3px;
    font-size: 14px;
    border: none;
}

.contact-form-wrap .wpcf7-mail-sent-ok {
    background: #e8f7ee;
    color: #1a6b3a;
}

.contact-form-wrap .wpcf7-validation-errors,
.contact-form-wrap .wpcf7-spam-blocked {
    background: #fdecea;
    color: #c0392b;
}

@media (max-width: 767px) {
    .contact-map {
        height: 280px;
    }
}

/* =====================================================
   DATES CALENDAR PAGE
   ===================================================== */

.cal-page {
    padding: 50px 30px 70px;
    max-width: 100%;
}

.cal-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.cal-nav-btn {
    background: #0a1d35;
    color: #fff;
    border: none;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    flex-shrink: 0;
}

.cal-nav-btn:hover:not(:disabled) {
    background: #0088db;
}

.cal-nav-btn:disabled {
    background: #ddd;
    color: #aaa;
    cursor: default;
}

.cal-month-label {
    font-size: 30px;
    font-weight: 800;
    font-style: italic;
    color: #0a1d35;
    text-shadow: none;
    min-width: 260px;
    text-align: center;
    margin: 0;
}

.cal-wrap {
    width: 100%;
    overflow-x: auto;
}

.cal-grid {
    width: 100%;
    min-width: 560px;
    border: 1px solid #ddd;
    border-bottom: none;
}

.cal-row {
    display: flex;
    border-bottom: 1px solid #ddd;
}

.cal-header-row {
    background: #0a1d35;
}

.cal-hdr-cell {
    flex: 1;
    text-align: center;
    padding: 10px 4px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.cal-hdr-cell:last-child {
    border-right: none;
}

.cal-week-row {
    position: relative;
}

.cal-day-cell {
    flex: 1;
    padding: 8px 6px 6px;
    border-right: 1px solid #ddd;
    min-width: 0;
}

.cal-day-cell:last-child {
    border-right: none;
}

.cal-day-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    font-size: 13px;
    font-weight: 600;
    color: #0a1d35;
    border-radius: 50%;
}

.cal-other-month .cal-day-num {
    color: #ccc;
}

.cal-today .cal-day-num {
    background: #0a1d35;
    color: #fff;
}

.cal-bars-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.cal-bar {
    position: absolute;
    height: 22px;
    display: flex;
    align-items: center;
    padding: 0 8px;
    pointer-events: all;
    overflow: hidden;
    white-space: nowrap;
}

.cal-bar a {
    color: #fff;
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
    width: 100%;
}

.cal-bar a:hover {
    text-decoration: underline;
}

.cal-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 24px;
}

.cal-legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #0a1d35;
}

.cal-legend-swatch {
    width: 28px;
    height: 14px;
    border-radius: 7px;
    flex-shrink: 0;
}

/* =====================================================
   NON-HERO PAGES — push content below fixed nav
   Pages that use .hero-page already have padding-top: 180px.
   Plain content pages (page.php etc.) should add pt-nav themselves.
   ===================================================== */

.pt-nav {
    padding-top: 60px;
    padding-bottom: 60px;
}

.footer-email a {
    color: inherit;
    font-size: 16px;
}

.copyright-text a {
    color: inherit;
}

.no-results {
    color: #666;
    font-style: italic;
}

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

@media (max-width: 991px) {
    .hero { min-height: 100vh; }
    .hero-logo { width: 240px; margin-top: 80px; }
    .hero-heading { font-size: 48px; line-height: 48px; }
    .content-section { padding: 40px 20px; }
    .cta-section { padding: 40px 20px; }
    .site-footer { padding: 40px 0px; }
    .footer-grid { gap: 40px; }
    .content-grid { gap: 40px; }
    .navbar-brand-logo { width: 120px; margin-right: 10px; }
    .nav-link-page { font-size: 16px; padding: 10px; }
}

@media (min-width: 768px) and (max-width: 991px) {
    .nav-link-page { font-size: 16px; padding: 10px 6px; }
    .nav-link-page.phone { margin-left: 16px; padding: 6px 14px; }
}

@media (max-width: 767px) {
    h1, .hero-heading { font-size: 40px; line-height: 40px; }
    .hero { padding: 30px; min-height: auto; }
    .navbar-home { display: none; }
    .featured-section { height: auto; }
    .featured-bg-left, .featured-bg-right { display: none; }
    .content-grid { grid-template-columns: 1fr; gap: 20px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
    .footer-img { display: none; }
    .content-image-left, .content-image-right { padding-right: 60px; }
    .content-header { margin-left: -10px; }
    .social-icon { width: 24px; height: 24px; margin-right: 10px; }
    .footer-phone { font-size: 20px; }
    .site-footer { padding-bottom: 0px; }
    .footer-stripe { height: auto; padding: 16px 0; }
    .tour-gallery-fullwidth { grid-template-columns: repeat(2, 1fr); }
    .tour-hero-title { font-size: 40px; line-height: 44px; }
    .tour-hero-subheading { font-size: 16px; }
}

@media (max-width: 576px) {
    .outline-button {
        width: 100%;
        text-align: center;
        margin: 0 0 15px 0;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding: 0 20px;
    }
    .hero-logo { display: none; }
    .hero-content { padding-top: 80px; padding-bottom: 40px; }
    .tour-dates-grid { gap: 8px; }
    .date-tile { min-width: 55px; }
    .nav-link-page.phone { margin-left: 0; margin-top: 10px; }
}
