/* Recreated Travel Log look: colours, type, header and footer.
   Original, not a verbatim copy of the theme stylesheet. */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  max-width: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  max-width: 100%;
  background: #f9f9f9;
  color: #555555;
  font-family: "Roboto", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}

img {
  max-width: 100%;
  height: auto;
  border: 0;
  vertical-align: middle;
}

a {
  color: #f83531;
  text-decoration: none;
}

a:hover,
a:focus {
  color: #df1814;
}

h1,
h2,
h3 {
  font-weight: 600;
  line-height: 1.1;
}

h1 {
  color: #555555;
  font-size: 36px;
  margin: 0 0 20px;
}

h2 {
  color: #787878;
  font-size: 26px;
  margin: 28px 0 14px;
}

h3 {
  color: #555555;
  font-size: 20px;
  margin: 22px 0 12px;
}

p {
  margin: 0 0 16px;
}

.container {
  width: 100%;
  max-width: 1170px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 100;
  padding: 8px 12px;
  background: #252525;
  color: #ffffff;
}

.skip-link:focus {
  left: 15px;
  top: 8px;
}

/* Header: white bar, title left, nav right, ~80px */
.site-header {
  background: #ffffff;
  padding: 10px 0;
  min-height: 80px;
  position: relative;
  z-index: 40;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1 1 auto;
}

.brand a.logo-link {
  display: block;
  flex: 0 0 auto;
  line-height: 0;
}

.site-logo {
  height: 60px;
  width: auto;
  display: block;
}

.brand-text {
  min-width: 0;
}

.site-title {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
}

.site-title a,
.site-title a:visited {
  color: #555555;
}

.site-title a:hover,
.site-title a:focus {
  color: #f83531;
}

.site-tagline {
  margin: 3px 0 0;
  font-size: 13px;
  font-weight: 400;
  color: #787878;
  line-height: 1.3;
}

.nav-toggle {
  display: none;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 0;
  appearance: none;
  background: #f83531;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle:hover,
.nav-toggle:focus {
  background: #df1814;
}

.nav-toggle-bars {
  display: block;
  width: 20px;
  height: 14px;
  position: relative;
}

.nav-toggle-bars span,
.nav-toggle-bars span::before,
.nav-toggle-bars span::after {
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: #ffffff;
  content: "";
}

.nav-toggle-bars span {
  top: 6px;
}

.nav-toggle-bars span::before {
  top: -6px;
}

.nav-toggle-bars span::after {
  top: 6px;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  display: block;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #555555;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a:focus,
.site-nav a[aria-current="page"] {
  color: #f83531;
}

/* Featured slider: same look, overflow contained */
.hero {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  background: #252525;
}

.hero-viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.hero-slide {
  display: none;
  position: relative;
  width: 100%;
  overflow: hidden;
}

.hero-slide.is-active {
  display: block;
}

.hero-slide img {
  width: 100%;
  height: 700px;
  object-fit: cover;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  pointer-events: none;
}

.hero-caption {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  padding: 40px 56px;
}

.hero-caption h2 {
  color: #ffffff;
  font-size: 36px;
  font-weight: 600;
  margin: 0 0 12px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

.hero-caption p {
  color: #ffffff;
  max-width: 720px;
  margin: 0 auto 18px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45);
}

.btn-meer {
  display: inline-block;
  border: 2px solid #ffffff;
  color: #ffffff;
  padding: 8px 22px;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: transparent;
}

.btn-meer:hover,
.btn-meer:focus {
  background: #ffffff;
  color: #f83531;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 0;
  appearance: none;
  background: #f83531;
  color: #ffffff;
  cursor: pointer;
  font-size: 22px;
  line-height: 42px;
  text-align: center;
}

.hero-arrow:hover,
.hero-arrow:focus {
  background: #df1814;
}

.hero-prev {
  left: 10px;
}

.hero-next {
  right: 10px;
}

.hero-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.hero-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
}

.hero-dots button[aria-current="true"] {
  background: #f83531;
}

/* Content */
.site-main {
  padding: 40px 0 60px;
}

.breadcrumb {
  font-size: 13px;
  color: #787878;
  margin: 0 0 18px;
}

.breadcrumb a {
  color: #f83531;
}

.breadcrumb .sep {
  margin: 0 6px;
  color: #aaaaaa;
}

.entry img {
  margin: 20px auto;
  display: block;
}

.featured-image {
  margin: 0 0 24px;
}

.featured-image img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0;
}

/* Footer: dark bar, small centred copyright */
.site-footer {
  background: #252525;
  color: #a6a6a6;
  font-size: 12px;
  font-weight: 500;
  text-align: center;
  border-top: 10px solid #f83531;
  padding: 22px 0 20px;
}

.site-footer p {
  margin: 0 0 6px;
  color: #a6a6a6;
}

.site-footer a,
.site-footer a:visited {
  color: #a6a6a6;
}

.site-footer a:hover,
.site-footer a:focus {
  color: #ffffff;
}

.site-footer nav {
  display: inline;
}

/* 404 */
.page-404 {
  text-align: center;
  padding: 40px 0 20px;
}

.page-404 h1 {
  font-size: 36px;
}

/* Mobile */
@media (max-width: 782px) {
  h1 {
    font-size: 26px;
  }

  h2 {
    font-size: 22px;
  }

  .site-logo {
    height: 48px;
  }

  .site-title {
    font-size: 20px;
  }

  .site-tagline {
    font-size: 12px;
  }

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

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
    z-index: 50;
    overflow: hidden;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    justify-content: flex-start;
  }

  .site-nav a {
    padding: 12px 20px;
    border-top: 1px solid #eeeeee;
    white-space: normal;
  }

  .hero-caption {
    padding: 24px 48px 40px;
  }

  .hero-caption h2 {
    font-size: 22px;
  }

  .hero-slide img {
    height: min(50vh, 360px);
  }
}

@media (max-width: 480px) {
  .hero-caption p {
    font-size: 13px;
  }

  .hero-arrow {
    width: 34px;
    height: 34px;
    font-size: 18px;
    line-height: 34px;
  }
}
