/* === TRAVELLING STYLING === */

/* General Layout */
body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f5f5f5;
  color: #333;
}

header#masthead {
  padding-top: unset;
}

nav#site-navigation {
  margin-inline: auto;
}

/* Center the heading and filter form */
.travel-header-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 15px;
}

.travel-header-wrapper h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.travel-header-wrapper form {
  display: inline-flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

.travel-header-wrapper select,
.travel-header-wrapper input[type="submit"] {
  padding: 6px 12px;
  font-size: 14px;
}


/* === TRAVELLING GRID CARD STYLE === */

/* Grid Layout */
.travel-post-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

@media (min-width: 600px) {
  .travel-post-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .travel-post-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Individual card */
.travel-card {
  background: #ffffff;
  border: 1px solid #eaeaea;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
}

.travel-card:hover {
  transform: translateY(-4px);
}

/* Image container */
.travel-thumb img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

/* Content area */
.travel-content {
  padding: 15px;
}

.travel-content h2 {
  font-size: 18px;
  margin: 0 0 10px;
}

.travel-content h2 a {
  text-decoration: none;
  color: #1d3557;
}

.travel-date {
  font-size: 13px;
  color: #888;
  margin-bottom: 10px;
}

.travel-content p {
  font-size: 14px;
  color: #444;
  line-height: 1.6;
}

.travel-readmore {
  margin-top: 10px;
  display: inline-block;
  font-size: 14px;
  color: #0073aa;
  text-decoration: none;
}

.travel-readmore:hover {
  text-decoration: underline;
}



/* Filter Form */
form {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  background-color: #fff;
  padding: 15px 20px;
  border-radius: 8px;
  margin-bottom: 30px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

form select,
form input[type="submit"] {
  padding: 8px 12px;
  font-size: 14px;
  border-radius: 6px;
  border: 1px solid #ccc;
  background-color: #f9f9f9;
  transition: border 0.2s ease;
}

form select:focus,
form input[type="submit"]:hover {
  border-color: #1d3557;
}

/* Pagination */
.pagination {
  text-align: center;
  margin-top: 40px;
}

.pagination .page-numbers {
  display: inline-block;
  padding: 10px 14px;
  margin: 0 5px;
  background: #e0e0e0;
  color: #333;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s;
}

.pagination .current {
  background: #1d3557;
  color: #fff;
}

.pagination .page-numbers:hover {
  background: #457b9d;
  color: #fff;
}

/* Detail Page */
.travel-detail-container {
  max-width: 850px;
  margin: 40px auto;
  padding: 0 20px;
}

.travel-featured-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 30px;
}

.travel-detail-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 10px;
  line-height: 1.3;
}

.travel-detail-meta {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 30px;
}

.travel-detail-meta span {
  margin-right: 10px;
}

.travel-detail-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
}

/* Footer */
@media (min-width: 1024px) {
  aside.widget-area {
    grid-template-columns: repeat(4, 1fr);
  }
}

aside.widget-area {
  margin-top: unset;
  padding-bottom: unset;
}

footer#colophon {
  margin-top: unset;
  padding-bottom: unset;
}

.footer-navigation-wrapper {
	list-style: none;
	padding: 0;
	display: inline-flex;
	gap: 15px;
}

.footer-flex-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 30px 20px;
  border-top: 1px solid #ccc;
  text-align: center;
}

.footer-logo {
  flex: 1;
  text-align: left;
}

.footer-logo .site-logo img {
  max-height: 60px;
}

.footer-logo .site-name {
  font-weight: bold;
  margin-top: 5px;
}

.footer-center-menu {
  flex: 1;
  text-align: center;
}

.custom-footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.custom-footer-menu li {
  margin: 5px 0;
}

.custom-footer-menu a {
  text-decoration: none;
  color: #000;
  font-weight: 500;
}

.custom-footer-menu a:hover {
  color: #0073aa;
  text-decoration: underline;
}

.footer-social-menu {
  flex: 1;
  text-align: right;
}

.footer-navigation-wrapper {
  list-style: none;
  padding: 0;
  margin: 0;
  display: inline-flex;
  gap: 15px;
}

.footer-navigation-wrapper li {
  display: inline-block;
}

.footer-navigation-wrapper a svg {
  width: 20px;
  height: 20px;
  fill: #000;
}

footer#colophon .footer-bottom {
  text-align: center;
  padding: 15px 10px;
  font-size: 14px;
  color: #666;
  border-top: 1px solid #eee;
  margin-top: 10px;
  margin-bottom: unset;
}

.ajax-page {
  display: inline-block;
  padding: 10px 14px;
  margin: 0 5px;
  background: #e0e0e0;
  color: #333;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s;
}

a.ajax-page.active {
  background: #1d3557;
  color: #fff;
}


/* Contact Page */
.contact-form-wrapper {
  max-width: 600px;
  margin: 0 auto;
}

.contact-form-wrapper form input,
.contact-form-wrapper form textarea {
  width: 100%;
  padding: 8px;
  margin: 5px 0 15px;
  box-sizing: border-box;
}

.contact-form-wrapper .error-messages {
  color: red;
  background: #fbeaea;
  padding: 10px;
  margin-bottom: 15px;
}

.contact-form-wrapper .success-message {
  color: green;
  background: #e9fbe9;
  padding: 10px;
  margin-bottom: 15px;
}
