/* ==========================================
   TRAVLUNO TRAVEL FORUM
   WP CODER + BBPRESS
========================================== */

.travluno-forum-page {
  --tf-navy: #073c4b;
  --tf-teal: #079eac;
  --tf-orange: #f3a13b;
  --tf-text: #233b45;
  --tf-muted: #617781;
  --tf-border: #e3edf0;
  --tf-soft: #f4fafb;
  font-family: inherit;
  color: var(--tf-text);
}

.travluno-forum-page *,
.travluno-forum-page *::before,
.travluno-forum-page *::after {
  box-sizing: border-box;
}

.travluno-forum-page .tf-container {
  max-width: 1180px;
  width: calc(100% - 40px);
  margin: 0 auto;
}

.travluno-forum-page h1,
.travluno-forum-page h2,
.travluno-forum-page h3,
.travluno-forum-page p {
  margin-top: 0;
}

.travluno-forum-page h2 {
  font-size: clamp(27px, 3.2vw, 38px);
  line-height: 1.2;
  color: var(--tf-navy);
  font-weight: 800;
}

.travluno-forum-page p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--tf-muted);
}

.travluno-forum-page .tf-small-label,
.travluno-forum-page .tf-eyebrow {
  display: inline-block;
  color: var(--tf-teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  margin-bottom: 14px;
}

.travluno-forum-page .tf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 14px 24px;
  min-height: 48px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all .2s ease;
}

.travluno-forum-page .tf-btn-primary {
  background: var(--tf-teal);
  color: #fff;
}

.travluno-forum-page .tf-btn-primary:hover {
  background: #067e89;
  color: #fff;
  transform: translateY(-2px);
}

/* HERO */


.travluno-forum-page .tf-hero {
    background:
        linear-gradient(
            rgba(3, 38, 49, 0.70),
            rgba(3, 63, 73, 0.70)
        ),
        url("https://travluno.com/wp-content/uploads/2026/10/Phuket-Thailand.jpg") center center / cover no-repeat !important;

    padding: 100px 0 105px;
    text-align: center;
}


.travluno-forum-page .tf-hero .tf-eyebrow {
  color: #91e9e9;
}

.travluno-forum-page .tf-hero h1 {
  font-size: clamp(38px, 5.5vw, 64px);
  line-height: 1.12;
  color: #fff;
  font-weight: 850;
  letter-spacing: -1.5px;
  margin-bottom: 22px;
}

.travluno-forum-page .tf-hero p {
  max-width: 700px;
  margin: 0 auto 30px;
  color: #d4e9ed;
  font-size: 17px;
}

.travluno-forum-page .tf-hero-actions,
.travluno-forum-page .tf-community-actions,
.travluno-forum-page .tf-final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.travluno-forum-page .tf-btn-outline {
  border: 1px solid rgba(255,255,255,.6);
  color: #fff;
}

.travluno-forum-page .tf-btn-outline:hover {
  background: #fff;
  color: var(--tf-navy);
}

/* SEARCH */

.travluno-forum-page .tf-search-section {
  margin-top: -48px;
  position: relative;
  z-index: 2;
}

.travluno-forum-page .tf-search-card {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 35px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--tf-border);
  box-shadow: 0 15px 45px rgba(7,60,75,.09);
  padding: 35px 40px;
  border-radius: 18px;
}

.travluno-forum-page .tf-search-card h2 {
  font-size: 25px;
  margin-bottom: 8px;
}

.travluno-forum-page .tf-search-card p {
  font-size: 14px;
  margin-bottom: 0;
}

.travluno-forum-page .tf-search-form {
  display: flex;
  padding: 6px;
  gap: 8px;
  border: 1px solid #d6e6ea;
  border-radius: 11px;
  background: #f8fbfc;
}

.travluno-forum-page .tf-search-form input {
  flex: 1;
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  box-shadow: none;
  background: transparent;
  padding: 12px 13px;
  color: var(--tf-navy);
  font-size: 15px;
}

.travluno-forum-page .tf-search-form button {
  border: 0;
  border-radius: 8px;
  background: var(--tf-teal);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 20px;
  cursor: pointer;
}

.travluno-forum-page .tf-search-form button:hover {
  background: #067e89;
}

/* FORUM INTRO */

.travluno-forum-page .tf-forums-intro {
  text-align: center;
  padding: 85px 0 28px;
}

.travluno-forum-page .tf-forums-intro p {
  max-width: 680px;
  margin: 0 auto;
}

/* COMMUNITY */

.travluno-forum-page .tf-community-section {
  padding: 70px 0;
}

.travluno-forum-page .tf-community-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  border-radius: 20px;
  background: linear-gradient(120deg, #073c4b, #0b6470);
  padding: 55px 60px;
  overflow: hidden;
}

.travluno-forum-page .tf-community-copy {
  max-width: 660px;
  position: relative;
  z-index: 1;
}

.travluno-forum-page .tf-community-card h2 {
  color: #fff;
}

.travluno-forum-page .tf-community-card p {
  color: #d6e9ed;
}

.travluno-forum-page .tf-community-card .tf-small-label {
  color: #9be9e7;
}

.travluno-forum-page .tf-community-actions {
  justify-content: flex-start;
  margin-top: 25px;
}

.travluno-forum-page .tf-btn-light {
  background: #fff;
  color: var(--tf-navy);
}

.travluno-forum-page .tf-community-symbol {
  font-size: 140px;
  color: rgba(255,255,255,.17);
  transform: rotate(-18deg);
}

/* GUIDELINES */

.travluno-forum-page .tf-guidelines {
  background: var(--tf-soft);
  padding: 85px 0 95px;
}

.travluno-forum-page .tf-section-heading {
  text-align: center;
  margin-bottom: 35px;
}

.travluno-forum-page .tf-guideline-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.travluno-forum-page .tf-guideline-card {
  background: #fff;
  border: 1px solid var(--tf-border);
  border-radius: 15px;
  padding: 32px 27px;
}

.travluno-forum-page .tf-guideline-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #e5f7f8;
  color: var(--tf-teal);
  font-weight: 800;
  margin-bottom: 22px;
}

.travluno-forum-page .tf-guideline-card h3 {
  color: var(--tf-navy);
  font-size: 19px;
  margin-bottom: 12px;
}

.travluno-forum-page .tf-guideline-card p {
  font-size: 14px;
  margin: 0;
}

/* FINAL CTA */

.travluno-forum-page .tf-final-cta {
  text-align: center;
  padding: 85px 0 100px;
}

.travluno-forum-page .tf-final-cta p {
  max-width: 650px;
  margin: 0 auto 28px;
}

.travluno-forum-page .tf-btn-outline-dark {
  color: var(--tf-navy);
  border: 1px solid #cbdde1;
}

.travluno-forum-page .tf-btn-outline-dark:hover {
  border-color: var(--tf-teal);
  color: var(--tf-teal);
}

/* ==========================================
   BBPRESS LIVE FORUM STYLING
   Applied to the Elementor shortcode widget
========================================== */

body.page #bbpress-forums {
  width: 100% !important;
  max-width: 1180px;
  margin: 20px auto 55px !important;
  padding: 0 20px;
  font-size: 15px !important;
  color: #233b45 !important;
  overflow: visible;
}

body.page #bbpress-forums *,
body.page #bbpress-forums *::before,
body.page #bbpress-forums *::after {
  box-sizing: border-box;
}

body.page #bbpress-forums a {
  color: #087f8d;
  text-decoration: none;
  font-size: inherit;
}

body.page #bbpress-forums a:hover {
  color: #073c4b;
  text-decoration: underline;
}

body.page #bbpress-forums ul.bbp-forums,
body.page #bbpress-forums ul.bbp-topics {
  border: 1px solid #dce9ed !important;
  border-radius: 14px;
  overflow: hidden;
  background: #fff !important;
  font-size: 15px !important;
  padding: 0 !important;
  margin: 0 0 24px !important;
}

body.page #bbpress-forums li.bbp-header {
  background: #073c4b !important;
  color: #fff !important;
  padding: 19px 22px !important;
  font-size: 13px !important;
  font-weight: 700;
  border: 0 !important;
}

body.page #bbpress-forums li.bbp-header *,
body.page #bbpress-forums li.bbp-header a {
  color: #fff !important;
}

body.page #bbpress-forums li.bbp-body {
  background: #fff !important;
}

body.page #bbpress-forums li.bbp-body ul.forum,
body.page #bbpress-forums li.bbp-body ul.topic {
  background: #fff !important;
  padding: 22px !important;
  margin: 0 !important;
  border-bottom: 1px solid #e7eff1 !important;
  min-height: 0 !important;
  height: auto !important;
  display: flow-root;
  font-size: 15px !important;
  line-height: 1.65 !important;
}

body.page #bbpress-forums li.bbp-body ul.forum:nth-child(even),
body.page #bbpress-forums li.bbp-body ul.topic:nth-child(even) {
  background: #f8fbfc !important;
}

body.page #bbpress-forums li.bbp-body ul.forum:last-child,
body.page #bbpress-forums li.bbp-body ul.topic:last-child {
  border-bottom: 0 !important;
}

body.page #bbpress-forums .bbp-forum-title,
body.page #bbpress-forums .bbp-topic-permalink {
  font-size: 17px !important;
  line-height: 1.45 !important;
  font-weight: 750 !important;
  color: #073c4b !important;
}

body.page #bbpress-forums .bbp-forum-content,
body.page #bbpress-forums .bbp-topic-meta,
body.page #bbpress-forums .bbp-forum-description {
  font-size: 13px !important;
  color: #617781 !important;
  line-height: 1.7 !important;
}

body.page #bbpress-forums .bbp-forum-topic-count,
body.page #bbpress-forums .bbp-forum-reply-count,
body.page #bbpress-forums .bbp-topic-voice-count,
body.page #bbpress-forums .bbp-topic-reply-count,
body.page #bbpress-forums .bbp-forum-freshness,
body.page #bbpress-forums .bbp-topic-freshness {
  font-size: 13px !important;
  color: #506b75 !important;
}

body.page #bbpress-forums li.bbp-footer {
  background: #f3f8f9 !important;
  padding: 12px 22px !important;
  border: 0 !important;
}

body.page #bbpress-forums .bbp-search-form {
  margin-bottom: 22px;
}

body.page #bbpress-forums #bbp-search-form input[type="text"] {
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid #d7e5e9;
  border-radius: 8px;
  font-size: 14px;
}

body.page #bbpress-forums input[type="submit"],
body.page #bbpress-forums button,
body.page #bbpress-forums .button {
  background: #079eac !important;
  border: 0 !important;
  color: #fff !important;
  border-radius: 8px !important;
  padding: 11px 18px !important;
  font-size: 14px !important;
  cursor: pointer;
}

body.page #bbpress-forums input[type="submit"]:hover,
body.page #bbpress-forums button:hover {
  background: #067e89 !important;
}

body.page #bbpress-forums .bbp-breadcrumb {
  font-size: 13px !important;
  margin-bottom: 15px;
}

body.page #bbpress-forums .bbp-template-notice {
  border-radius: 9px;
  padding: 12px;
}

body.page #bbpress-forums fieldset.bbp-form {
  border: 1px solid #dce9ed;
  border-radius: 12px;
  padding: 20px;
}

body.page #bbpress-forums textarea,
body.page #bbpress-forums input[type="text"],
body.page #bbpress-forums select {
  max-width: 100%;
  border: 1px solid #d7e5e9;
  border-radius: 7px;
}

/* RESPONSIVE */

@media (max-width: 767px) {
  .travluno-forum-page .tf-container {
    width: calc(100% - 30px);
  }

  .travluno-forum-page .tf-hero {
    padding: 75px 0 90px;
  }

  .travluno-forum-page .tf-search-card {
    grid-template-columns: 1fr;
    padding: 25px 20px;
    gap: 20px;
  }

  .travluno-forum-page .tf-search-form {
    flex-direction: column;
  }

  .travluno-forum-page .tf-search-form button {
    width: 100%;
  }

  .travluno-forum-page .tf-forums-intro {
    padding-top: 65px;
  }

  .travluno-forum-page .tf-guideline-grid {
    grid-template-columns: 1fr;
  }

  .travluno-forum-page .tf-community-card {
    padding: 35px 25px;
  }

  .travluno-forum-page .tf-community-symbol {
    display: none;
  }

  body.page #bbpress-forums {
    padding: 0 12px;
    font-size: 13px !important;
  }

  body.page #bbpress-forums li.bbp-body ul.forum,
  body.page #bbpress-forums li.bbp-body ul.topic {
    padding: 16px 12px !important;
  }

  body.page #bbpress-forums .bbp-forum-title,
  body.page #bbpress-forums .bbp-topic-permalink {
    font-size: 15px !important;
  }

  body.page #bbpress-forums .bbp-forum-freshness,
  body.page #bbpress-forums .bbp-topic-freshness {
    display: none;
  }
}



/* ==========================================
   TRAVLUNO - MODERN BBPRESS FORUM CARDS
   Only affects .travluno-live-forum
========================================== */

.travluno-live-forum {
  max-width: 1180px;
  width: 100%;
  margin: 0 auto 55px;
  padding: 0 15px;
}

.travluno-live-forum #bbpress-forums {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
}

.travluno-live-forum #bbpress-forums *,
.travluno-live-forum #bbpress-forums *::before,
.travluno-live-forum #bbpress-forums *::after {
  box-sizing: border-box;
}

/* Remove original table styling */

.travluno-live-forum #bbpress-forums ul.bbp-forums {
  display: block !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: visible !important;
  list-style: none !important;
}

.travluno-live-forum #bbpress-forums ul.bbp-forums > li.bbp-header,
.travluno-live-forum #bbpress-forums ul.bbp-forums > li.bbp-footer {
  display: none !important;
}

.travluno-live-forum #bbpress-forums ul.bbp-forums > li.bbp-body {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  list-style: none !important;
}

/* Individual forum cards */

.travluno-live-forum #bbpress-forums li.bbp-body > ul.forum {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 68px 68px;
  grid-template-rows: auto auto;
  align-content: start;
  align-items: start;
  gap: 14px 10px !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 185px !important;
  height: auto !important;
  padding: 28px !important;
  margin: 0 !important;
  border: 1px solid #dce9ed !important;
  border-radius: 16px !important;
  background: #fff !important;
  box-shadow: 0 6px 25px rgba(7,60,75,.05);
  list-style: none !important;
  transition: transform .2s ease, box-shadow .2s ease;
}

.travluno-live-forum #bbpress-forums li.bbp-body > ul.forum:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(7,60,75,.11);
  border-color: #a9dce0 !important;
}

/* Reset bbPress float layout */

.travluno-live-forum #bbpress-forums li.bbp-body > ul.forum > li {
  float: none !important;
  clear: none !important;
  width: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  text-align: left !important;
  line-height: 1.6 !important;
}

/* Title and description */

.travluno-live-forum #bbpress-forums li.bbp-body > ul.forum > .bbp-forum-info {
  grid-column: 1 / -1;
  grid-row: 1;
}

.travluno-live-forum #bbpress-forums a.bbp-forum-title {
  display: inline-block !important;
  color: #073c4b !important;
  font-size: 19px !important;
  line-height: 1.4 !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  margin-bottom: 10px !important;
}

.travluno-live-forum #bbpress-forums a.bbp-forum-title:hover {
  color: #079eac !important;
}

.travluno-live-forum #bbpress-forums .bbp-forum-content {
  color: #617781 !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.75 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.travluno-live-forum #bbpress-forums .bbp-forum-content p {
  margin: 0 !important;
  font-size: inherit !important;
  line-height: inherit !important;
}

/* Topics and posts */

.travluno-live-forum #bbpress-forums li.bbp-body > ul.forum > .bbp-forum-topic-count {
  grid-column: 2;
  grid-row: 2;
}

.travluno-live-forum #bbpress-forums li.bbp-body > ul.forum > .bbp-forum-reply-count {
  grid-column: 3;
  grid-row: 2;
}

.travluno-live-forum #bbpress-forums li.bbp-body > ul.forum > .bbp-forum-topic-count,
.travluno-live-forum #bbpress-forums li.bbp-body > ul.forum > .bbp-forum-reply-count {
  padding: 8px 6px !important;
  text-align: center !important;
  background: #edf8f9 !important;
  color: #073c4b !important;
  border-radius: 9px !important;
  font-size: 15px !important;
  font-weight: 800 !important;
}

/* Latest activity */

.travluno-live-forum #bbpress-forums li.bbp-body > ul.forum > .bbp-forum-freshness {
  grid-column: 1;
  grid-row: 2;
  align-self: center;
  overflow-wrap: anywhere;
  color: #6b818a !important;
  font-size: 12px !important;
  line-height: 1.5 !important;
}

.travluno-live-forum #bbpress-forums .bbp-forum-freshness a {
  color: #079eac !important;
  font-size: 12px !important;
  text-decoration: none !important;
}

.travluno-live-forum #bbpress-forums .bbp-topic-meta {
  margin: 4px 0 0 !important;
  padding: 0 !important;
  font-size: 12px !important;
}

.travluno-live-forum #bbpress-forums .bbp-topic-meta img.avatar {
  width: 20px !important;
  height: 20px !important;
  border-radius: 50%;
}

/* Forum links */

.travluno-live-forum #bbpress-forums a {
  text-decoration: none;
}

.travluno-live-forum #bbpress-forums a:hover {
  text-decoration: underline;
}

/* Tablet */

@media (max-width: 900px) {
  .travluno-live-forum #bbpress-forums ul.bbp-forums > li.bbp-body {
    grid-template-columns: 1fr;
  }
}

/* Mobile */

@media (max-width: 600px) {
  .travluno-live-forum {
    padding: 0 12px;
  }

  .travluno-live-forum #bbpress-forums li.bbp-body > ul.forum {
    grid-template-columns: minmax(0, 1fr) 55px 55px;
    padding: 20px !important;
    gap: 12px 6px !important;
    min-height: 0 !important;
  }

  .travluno-live-forum #bbpress-forums a.bbp-forum-title {
    font-size: 17px !important;
  }

  .travluno-live-forum #bbpress-forums .bbp-forum-content {
    font-size: 13px !important;
  }
}


/* TRAVLUNO FORUM CARD HEIGHT FIX */

.travluno-live-forum #bbpress-forums
li.bbp-body > ul.forum {
  min-height: 0 !important;
  height: auto !important;
  grid-template-rows: auto auto !important;
  align-content: start !important;
  align-items: start !important;
  padding: 24px !important;
  gap: 12px !important;
}

/* Remove unwanted tall elements */
.travluno-live-forum #bbpress-forums
li.bbp-body > ul.forum > li {
  min-height: 0 !important;
  height: auto !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Compact forum grid */
.travluno-live-forum #bbpress-forums
ul.bbp-forums > li.bbp-body {
  align-items: start !important;
  grid-auto-rows: auto !important;
  gap: 18px !important;
}

/* Remove extra spacing */
.travluno-live-forum #bbpress-forums
.bbp-forum-info,
.travluno-live-forum #bbpress-forums
.bbp-forum-content,
.travluno-live-forum #bbpress-forums
.bbp-forum-freshness {
  min-height: 0 !important;
  margin-bottom: 0 !important;
}

/* Ensure cards do not stretch vertically */
.travluno-live-forum #bbpress-forums
li.bbp-body > ul.forum {
  align-self: start !important;
}

/* Mobile */
@media (max-width: 767px) {
  .travluno-live-forum #bbpress-forums
  li.bbp-body > ul.forum {
    padding: 18px !important;
  }
}


/* Travluno Travel Forum Hero Background */
.travluno-forum-page .tf-hero {
    background-image:
        linear-gradient(
            90deg,
            rgba(3, 38, 49, 0.84),
            rgba(3, 63, 73, 0.65)
        ),
        url("https://travluno.com/wp-content/uploads/2026/10/Phuket-Thailand.jpg");

    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

/* Keep hero content visible */
.travluno-forum-page .tf-hero h1,
.travluno-forum-page .tf-hero p {
    color: #ffffff;
}

.travluno-forum-page .tf-hero .tf-eyebrow {
    color: #8be9ee;
}

/* Mobile background positioning */
@media (max-width: 767px) {
    .travluno-forum-page .tf-hero {
        background-position: center center;
    }
}

