/*
Theme Name: Taipansheaven
Author: Taipan
Description: This is a pitch perfect theme
Version: 1.0
Text Domain: bravoecho
*/
.top-ad-holder {
	margin: 0px auto 20px auto;
	max-width: 1200px;
}
.admin-ad-box {
	background: red;
	height: 100px;
	width: 100%;
}
body {
  margin: 0;

  background-color: #f9f9f9;
  color: #222;
}
body {
  overflow-x: hidden;
}
/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  overflow-x: hidden;
  background: #ebebeb;
}
body.no-scroll {
  overflow: hidden;
}
.site-footer {
  background-color: #0c5460;
  color: white;
  padding: 2rem;
  text-align: center;
}
/* NEW DESIGN */
.pagination {
    margin-top: 30px;
    text-align: center;
}

.pagination .page-numbers {
    display: inline-block;
    margin: 0 6px;
    padding: 8px 14px;
    background-color: #f0f0f0;
    color: #333;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.2s ease;
}

.pagination .page-numbers:hover {
    background-color: #ddd;
}

.pagination .current {
    background-color: #0c5460;
    color: #fff;
    font-weight: 700;
}

.pagination .dots {
    background: none;
    color: #999;
    padding: 8px 0;
    pointer-events: none;
}

.main-container {
    display: flex;
    gap: 20px;
    max-width: 1200px;
    margin: auto auto 20px auto;
}
.main-container .section-holder:last-of-type {
	margin-bottom: 0px;
}

.main-content {
    flex: 1;
    
}

.sidebar-right {
    width: 300px;
}
.section-header-holder h2, .section-header-holder h1 {
  font-size: 18px;
  font-weight: 600;
  margin: 0px;

}
.section-header-holder {
  padding: 15px 16px 11px;
  text-transform: uppercase;
  /* border-top: 2px solid #0c5460; */

}
.section-holder {
    margin: 0px 0px 20px 0px;
}

.section-image-holder {
    height: 300px;
    overflow: hidden;
}

.section-image-holder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.article-list-item {
  background: white;
  padding: 20px;
}
.article-list-item a {
  color: black;
  text-decoration: none;
}
.article-link {
    display: block;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}

.article-link:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Style title to look like the link */
.section-box-heading {
    color: black;
    
    font-weight: bold;
    margin-bottom: 8px;
}

.section-box-heading {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
  display: block;
}
.section-box-content, .article-box-content {
  background: white;
  padding: 20px 20px;
}
.section-box-content p:first-of-type {
  margin-top: 0px;
}
.section-box-content p:last-of-type {
  margin-bottom: 0px;
}
.article-box-content h1 {
margin: 0px;
}
.article-box-content .meta {
  margin-top: 0px;
  font-size: 13px;
}
.job-card-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    background: white;
    padding: 20px;
}
.job-card-inner-heading {
  margin: 0px;
  font-size: 16px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 5px;
  font-weight: 800;
}
.job-card-inner p {
  margin: 0px;
}
.job-info {
    flex: 1 1 auto;
    min-width: 200px;
}

.job-action {
    flex-shrink: 0;
}

.read-more-button {
    padding: 10px 16px;
    border-radius: 6px;
    text-decoration: none;
    white-space: nowrap;
}
.footer-menus {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 20px;
}

.footer-menu {
    flex: 1 1 200px;
    text-align: left;
    color: white;
}
.footer-heading {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  display: block;
}
.footer-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}
.footer-menu-list a {
  color: white;
  text-decoration: none;
}
.footer-menu-list li {
    margin-bottom: 8px;
}

/* END NEW DESIGN */
.site-footer p {
  margin: 0.5rem 0;
  font-size: 0.95rem;
}

.site-footer small {
  display: block;
  margin-top: 1rem;
  color: #aaa;
}
/* Admin Meta Box */
#last_application_date_field {
  margin-top: 1rem;
  max-width: 300px;
}
/* Navigation */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  margin-bottom: 20px;
  background-color: white;
  border-bottom: 1px solid #eee;
  position: relative;
  z-index: 12;
  border-bottom: 3px solid #0c5460;
}

.site-logo img {
  max-height: 50px;
}

/* Make the UL flex, not just .main-menu */
.main-menu ul {
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Remove list styling */
.main-menu li {
  list-style: none;
}

/* Style the links inside the menu */
.main-menu a {
  text-decoration: none;
  font-weight: 600;
  color: #111;
}
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.burger span {
  width: 25px;
  height: 3px;
  background-color: #333;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100%;
  background-color: white;
  padding: 0px 2rem 2rem 2rem;
  z-index: 999;
}

.mobile-nav.active {
  display: flex;
}

.mobile-nav .close-nav {
  align-self: flex-end;
  font-size: 2rem;
  cursor: pointer;
  margin-bottom: 2rem;
}
.close-nav {
	font-size: 20px;
	color: black;
}

.mobile-nav a {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  text-decoration: none;
  font-weight: 600;
  color: #111;
}

.container {

  padding: 20px;
}
.container-job-list {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px 0px;
}
.container-job-content {
  
}
.job-meta {
	list-style: none;
	margin: 0px;
	padding: 0px;
}
.job-meta li {
	display: inline;
}
.job-meta li::after {
	content: " | ";
}

.sub-hero {

    border-color: none;
	padding: 40px;
	text-align: center;
	color: white;
	border-radius: 25px;
}
.sub-hero h1 {
	font-size: 2.3rem;

}
.sub-hero p {
	font-size: 1.5rem;
	color: #0c5460;
	margin-top: -20px;
}
h1, h2, h3, h4, h5 {
  font-weight: 700;
  color: #111;
}

p {
  line-height: 1.6;
  margin-bottom: 1em;
}

.btn, button.btn {
  display: inline-block;
  padding: 15px;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
  cursor: pointer;
  margin-top: 10px;
  font-size: 16px;
    appearance: none;
  -webkit-appearance: none;
}

/* Hero */
.hero {
    background-color: #d1ecf1;
    border-color: #bee5eb;;
  padding: 6rem 0;
  text-align: center;

}

.hero h1 {
	color: #0c5460;
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero p {
		color: #0c5460;
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

/* About & Features */
.about,
.feature {
  background-color: #fff;
  padding: 4rem 0;
}

.feature.reverse .row {
  flex-direction: row-reverse;
}

.apply-button-padding-top {
	padding-top: 2rem;
}
.row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
}

.row .text, .row .image {
  flex: 1;
  min-width: 300px;
}

.row img {
  width: 100%;
  border-radius: 10px;
}

/* Archive Posts */
.archive-posts .grid,
.related-posts .grid,
.job-listings .grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.post-card, .job-card {
  background: white;
  padding: 1.5rem;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  transition: box-shadow 0.3s ease;
  cursor: pointer;
}
.post-card, .job-card a {
	text-decoration: none;

}

.post-card:hover,
.job-card:hover {
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.post-card h2, .job-card h2 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.read-more {
  color: #0c5460;
  font-weight: 600;
}

/* Single Post */
.single-post-header,
.job-detail-header {
  background-color: #f1f1f1;
  padding: 3rem 0;
}

.featured-image img {
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 2rem;
}

/* Application Form */
.application-form form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.application-form input,
.application-form textarea,
.application-form select {
  padding: 0.75rem;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-size: 1rem;
  width: 100%;
}

.application-form select[multiple] {
  height: auto;
  min-height: 100px;
}

.application-form label {
  font-weight: 600;
}

/* Breadcrumbs */
.breadcrumbs {
  font-size: 0.9rem;
  margin-bottom: 5px;
  color: #0c5460;
}

.breadcrumbs a {
  color: #0c5460;
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

/* Thank You Page */
.thank-you {
  background-color: #ffffff;
  padding: 5rem 2rem;
  text-align: center;
}

.thank-you h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.thank-you p {
  max-width: 600px;
  margin: 0 auto 2rem auto;
  font-size: 1.1rem;
}
/* Chosen.js Styling */
.chosen-container {
  width: 100% !important;
}

.chosen-container-multi .chosen-choices {
  border: 1px solid #ccc;
  padding: 0.5rem;
  border-radius: 5px;
  min-height: 42px;
  background: white;
}

.chosen-container .chosen-results li.highlighted {
  background: #0057b7;
  color: white;
}
/* Responsive Design */
@media (max-width: 768px) {
  .main-container {
  	display: block;
  }
  .sidebar-right {
    display: none;
  }
  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .row {
    flex-direction: column;
    gap: 1.5rem;
  }

  .btn {
    text-align: center;
  }

  .container {
    padding: 1.5rem 0rem;
  }

  .archive-posts .grid,
  .related-posts .grid,
  .job-listings .grid {
    grid-template-columns: 1fr;
    background-color: white;
  }
  .main-menu {
    display: none;
  }
  .burger {
    display: flex;
  }
  .mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 0;
  list-style: none;
}

.mobile-nav li {
  list-style: none;
}

.mobile-nav a {
  font-size: 1.25rem;
  text-decoration: none;
  font-weight: 600;
  color: #111;
}
}

@media (max-width: 480px) {
	.section-box-content, .article-box-content {
		padding: 10px;
	}
  .hero {
    padding: 4rem 1rem;
  }

  .application-form input,
  .application-form textarea,
  .application-form select {
    font-size: 0.95rem;
  }

  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.25rem;
  }

  .thank-you h1 {
    font-size: 2rem;
  }

  .thank-you p {
    font-size: 1rem;
    padding: 0 1rem;
  }
  .main-menu {
    display: none;
  }
  .burger {
    display: flex;
  }
  .mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 0;
  list-style: none;
}

.mobile-nav li {
  list-style: none;
}

.mobile-nav a {
  font-size: 1.25rem;
  text-decoration: none;
  font-weight: 600;
  color: #111;
}
}