html {
  box-sizing: border-box;
  scroll-behavior: smooth; }

*,
*:before,
*:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  transition: all 0.3s cubic-bezier(0.755, 0.116, 0.25, 0.757); }

body {
  font-family: 'Lato', Helvetica, sans-serif;
  padding-top: 0; }

.home main {
  padding: 0px; }

img {
  max-width: 100%; }

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block; }

blockquote,
q {
  quotes: none; }

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Bokor', serif; }

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none; }

table {
  border-collapse: collapse;
  border-spacing: 0; }

img {
  border: none;
  max-width: 100%;
  height: auto; }

embed,
iframe,
object {
  max-width: 100%; }

input,
select,
option,
textarea {
  font-family: inherit; }

hr {
  background-color: #ccc;
  border: 0;
  height: 1px;
  margin-bottom: 1.5em; }

ul,
ol {
  margin: 0 0 1.5em 3em; }

ul {
  list-style: disc; }

ol {
  list-style: decimal; }

li > ul,
li > ol {
  margin-bottom: 0;
  margin-left: 1.5em; }

p {
  margin: 0 0 1.5em;
  line-height: 1.6; }

li {
  line-height: 1.6; }

strong {
  font-weight: bold; }

em {
  font-style: italic; }

input[type=search],
input[type=submit],
input[type=search]::-webkit-search-decoration,
input[type=search]::-webkit-search-cancel-button,
input[type=search]::-webkit-search-results-button,
input[type=search]::-webkit-search-results-decoration {
  -webkit-appearance: none; }

a {
  color: inherit;
  -webkit-text-decoration-color: inherit;
          text-decoration-color: inherit; }
  a:hover {
    -webkit-text-decoration-color: #ebb201;
            text-decoration-color: #ebb201; }

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important; }

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  -webkit-clip-path: none;
  clip-path: none;
  color: #21759b;
  display: block;
  font-size: 0.875rem;
  font-weight: bold;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
  /* Above WP toolbar. */ }

main {
  padding-top: 81px; }

/* Header Section */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(31, 31, 31, 0.85);
  box-shadow: 0 0 7px rgba(0, 0, 0, 0.1) !important;
  color: white;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 5%;
  padding-right: 5%;
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: center; }
  header ul,
  header li {
    list-style: none;
    margin: 0;
    padding: 0; }
  header ul {
    display: flex;
    justify-content: space-between;
    gap: 20px; }
  header a {
    color: white;
    -webkit-text-decoration-color: transparent;
            text-decoration-color: transparent; }
    header a:hover {
      -webkit-text-decoration-color: white;
              text-decoration-color: white; }
  header .header_logo {
    font-family: 'Bokor', serif;
    font-size: 1.75rem;
    font-weight: bold;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px; }
  header .nav_logo {
    width: 70px;
    height: auto; }

.logged-in header {
  top: 32px; }

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  padding-top: 105px;
  padding-bottom: 105px; }

.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1; }
  .video-background::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-color: rgba(0, 0, 0, 0.5); }

.video-background video {
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -o-object-fit: cover;
     object-fit: cover; }

.hero-content {
  z-index: 1;
  padding: 20px;
  max-width: 800px;
  width: 90%; }

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem; }

.hero-content p {
  font-size: 1.25rem;
  line-height: 1.6; }

/* Events Section */
section,
article {
  width: 100%;
  padding-top: 105px;
  padding-bottom: 105px; }
  section .container,
  article .container {
    max-width: 90%;
    width: 90%;
    margin: auto; }
    section .container h1,
    article .container h1 {
      text-align: center;
      font-size: 65px;
      margin-bottom: 25px; }
  section .hero_section,
  article .hero_section {
    width: 90%;
    margin: auto;
    margin-bottom: 75px; }

.single .container {
  width: 1000px; }

.event-placeholder {
  width: 80%;
  height: auto;
  margin-top: 25px;
  margin-bottom: 25px; }

.event-image {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat; }

.hero_section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row-reverse;
  max-width: 100%;
  margin-bottom: 75px; }
  .hero_section img {
    width: 50%;
    max-width: 800px;
    border-radius: 10px; }

.events-section h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 80px; }

.event-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 50px; }

.event-item {
  width: calc(33% - 20px);
  background-color: #fff;
  min-width: 300px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 7px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: inherit;
  -webkit-text-decoration-color: transparent;
          text-decoration-color: transparent; }
  .event-item:hover {
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); }

.btn {
  display: block;
  padding: 10px 20px;
  background-color: #333;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  transition: all 0.3s cubic-bezier(0.755, 0.116, 0.25, 0.757);
  margin: auto;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content; }
  .btn:hover {
    background-color: #ebb201;
    color: #333; }

.gallery-section {
  padding: 0px; }

.gallery {
  display: flex; }
  @media (max-width: 750px) {
    .gallery {
      flex-wrap: wrap; } }
  .gallery .gallery-item {
    width: calc(100% / 6);
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.755, 0.116, 0.25, 0.757);
    aspect-ratio: 1/1; }
    .gallery .gallery-item:hover {
      background-size: 110% 110%; }
    @media (max-width: 750px) {
      .gallery .gallery-item {
        width: calc(100% / 3); } }
    @media (max-width: 500px) {
      .gallery .gallery-item {
        width: calc(100% / 2); } }

.contact-section {
  position: relative; }
  .contact-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    z-index: 0;
    background-image: url("../images/logo_square.png");
    background-color: white;
    width: 100px;
    height: 100px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: translateX(-50%) translateY(-50%);
    z-index: 2; }
  .contact-section::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    background-color: #ebb201;
    width: 100%;
    height: 2px; }
  .contact-section .container {
    position: relative;
    z-index: 1; }
  .contact-section h2 {
    font-size: 50px;
    text-align: center; }

.footer-section {
  background-color: #333;
  color: #fff; }
  .footer-section .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: space-between;
    gap: 20px; }
    .footer-section .container .row {
      display: flex;
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
      gap: 20px; }
      .footer-section .container .row .footer_logo {
        width: 300px;
        max-width: 33%;
        height: auto; }

.events-section {
  background-image: url("../images/trees.png"), url("../images/trees.png"), url("../images/castle.png");
  background-size: 150px;
  background-position-x: 2.5%, 12.5%, 97.5%;
  background-position-y: 18%, 21%, 19%;
  background-repeat: no-repeat; }

#post-23 {
  padding-top: 0; }

/* About Section */
.about-section {
  background-color: #333;
  color: #fff;
  /* Light background to distinguish it */ }
  .about-section .about-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px; }
  .about-section .about-image {
    flex: 1; }
    .about-section .about-image img {
      width: 100%;
      height: auto;
      border-radius: 10px;
      box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
      transform: rotate(-2deg);
      /* Slight tilt for character */
      transition: transform 0.3s ease; }
      .about-section .about-image img:hover {
        transform: rotate(0deg); }
  .about-section .about-text {
    flex: 1; }
    .about-section .about-text h2 {
      font-size: 60px;
      margin-bottom: 30px;
      color: #fff;
      text-align: left;
      /* Override center alignment if inherited */ }
    .about-section .about-text p {
      font-size: 1.2rem;
      line-height: 1.8;
      color: #fff; }

@media (max-width: 900px) {
  .about-section .about-content {
    flex-direction: column;
    gap: 40px; }
  .about-section .about-image {
    width: 100%;
    max-width: 600px;
    margin: 0 auto; }
    .about-section .about-image img {
      transform: rotate(0); }
  .about-section .about-text {
    width: 100%;
    text-align: center; }
    .about-section .about-text h2 {
      text-align: center; } }
/* Staff Section */
.staff-section {
  background-image: url("../images/prince.png"), url("../images/princess.png");
  background-size: 200px;
  background-position-x: 2.5%, 97.5%;
  background-position-y: 10%, 2%;
  background-repeat: no-repeat; }
  .staff-section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 60px; }

.staff-list {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center; }

.staff-item {
  width: calc(25% - 30px);
  /* (100% - (3 * 40px)) / 4 */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  -webkit-text-decoration-color: transparent;
          text-decoration-color: transparent;
  color: inherit;
  cursor: pointer;
  border-radius: 15px;
  padding-bottom: 15px; }
  .staff-item:hover {
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); }
  .staff-item img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 15px;
    -o-object-fit: cover;
       object-fit: cover;
    aspect-ratio: 1 / 1;
    -o-object-position: top;
       object-position: top; }
  .staff-item h3 {
    margin-bottom: 5px;
    font-size: 1.5rem; }
  .staff-item .subtitle {
    color: #666;
    font-size: 1rem;
    margin-bottom: 0; }

@media (max-width: 900px) {
  .staff-item {
    width: calc(50% - 20px); } }
@media (max-width: 600px) {
  .staff-item {
    width: 100%; } }
