/*
Theme Name:  KTN
Theme URL:   https://ktntours.com
Description: Custom theme for KTN Services.
Author:      James Alborough
Author URL:  https://ktntours.com
Template:    Divi
Version:     1.0.0
*/




h2.et_pb_module_header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 15px; /* Controls space between lines and text */
  text-align: center;
  text-transform:uppercase;
}

h2.et_pb_module_header::before,
h2.et_pb_module_header::after {
  content: "";
  height: 2px; /* Line thickness */
  background-color: #000; /* Line color */
  max-width: 200px; /* Forces lines to stop at this length */
  width: 100%; /* Allows lines to shrink on small screens */
}

.light h2.et_pb_module_header::before,
.light h2.et_pb_module_header::after {background-color: #F5F5E6}

/* Centers the left line to the right side of its grid cell */
h2.et_pb_module_header::before {
  justify-self: end;
}

/* Centers the right line to the left side of its grid cell */
h2.et_pb_module_header::after {
  justify-self: start;
}

#phone-socials {
  padding-bottom: 0;
  display: grid !important;
  gap: 0px;
  grid-template-columns: 1fr 1fr;
  align-content: center;
  font-size: 16px;
}

#phone-socials a {color:rgb(245, 245, 231) !important;}
.socials span {display:none;}

ul.et-social-icons {
	list-style: none;
  display: flex !important;
  gap: 20px;
  justify-content: center;
  padding-bottom: 0;
  padding-top: 3px;
  }

#et-info-phone:before  {
  content: "\e090";
  position: relative;
  top: 2px;
  margin-right: 5px;
}

.home-icon a {
color:rgb(245, 245, 231) !important;
font-size: 16px !important;
}

.home-icon a:before  {
  content: "\e009";
  font-family:etmodules;
  position: relative;
  top: 2px;
  margin-right: 5px;
}

.et_pb_menu_1_tb_header.et_pb_menu ul li li a {font-size:15px !important;line-height:1.2 !important;font-weight:400 !important;}

.nav li li {
  padding: 0;
  margin: 0;
  width: 100%;
}

.et_pb_menu .et_pb_menu__menu > nav > ul {
  align-items: center;
}

.et_pb_menu .et_pb_menu__menu > nav > ul > li > ul {
  display: flex;
  flex-direction: column;
}

.et_pb_menu--without-logo .et_pb_menu__menu > nav > ul > li > a {
  padding: 20px;
}

.et-menu li li a {
  padding: 6px 20px;
  width: 100%;
  font-size:16px !important;
  font-weight: 400 !important;
}
.et_pb_menu .et_pb_menu__menu > nav > ul .et_pb_button {padding:0 !important;}
.et_pb_menu .et_pb_menu__menu > nav > ul .et_pb_button a {color:#fff !important;font-size:18px;padding: 20px 1em;}

.et-menu .menu-item-has-children > a:first-child::after {

	top: 20px;}

.et_pb_menu .et_pb_menu__menu > nav > ul .et_pb_button {height: 50px;
  display: grid;
align-content: center;}

.et_pb_button.wildwolf {background:#A92923 !important;color:#F5F5E7 !important}

.et_pb_button.getaway {background:#395574;color:#F5F5E7 !important}

.et_pb_button.kps {background:#E1C54A;}

.et_pb_menu .et-menu > li {
  padding-left: 21px;
  padding-right: 21px;
}

#menu-secondary-menu a {padding:0 0 10px !important}

#et-info {padding-bottom:0;display: flex;
  gap: 50px;}
  
  
/* TOUR CARDS */

#tours .dp-dfg-custom-content,#tours .dp-dfg-item {padding:0 !important;}

.dp-dfg-custom-content img {width:100%;max-height: 400px;}

.promo {background:#E1C54A;padding:5px 10px;position:absolute;top:15px;left:15px;color:#000;}

.details {display:grid;
grid-template-columns:2fr 1fr;color:rgb(245, 245, 231);padding:20px;grid-column-gap:20px;min-height: 260px;
  margin-bottom: 15px;}

.tour-category-ketchikan-photo-safari {background:#384120 !important;}
.getaway .dp-dfg-item,.tour-category-gateway-getaway {background:#395574 !important}
.wolf .dp-dfg-item,.tour-category-wild-wolf-tours {background:#A92923 !important}

.details h3 {color:rgb(245, 245, 231) !important;font-size:24px !important}

.details .right {display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  gap: 30px;
  }

.duration {text-align: right;}

.price p {font-size:20px;padding-bottom:15px !important;}

.duration span {width:auto;position:relative;font-size:20px;}

.duration span:before {background:url(/wp-content/uploads/2026/04/KTN-ICON-Clock-Cloud.png) center center no-repeat;content:"";height:20px;width:20px;background-size:cover;display:block;position:absolute;left:-25px;}

.price {text-align: right;}

.price span {font-size:22px;font-weight:bold}

.details .bookbutton a {border:2px solid rgb(245, 245, 231);background:transparent;color:rgb(245, 245, 231) !important;padding:10px;border-radius:3px;text-align:center;font-size:20px;white-space:nowrap;}

/* BLOG */

.dp-dfg-header {padding-top:15px !important;}


/* MEDIA */

@media screen and (max-width:640px) {
	.details {
  grid-template-columns: 100% !important;}
  .details .right {
  display: flex;flex-direction:column;
}
}