/* Font */
@font-face {
  font-family: "Lambda";
  src: url("../fonts/Lambda-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Aleo";
  src: url("../fonts/Aleo-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --text-color: rgba(255, 255, 255, 0.9);
  --text-color-2: rgba(255, 255, 255, 0.68);
  --text-accent-color: rgb(255, 193, 23);
  --accent-color: #edb92e;

  --bg-color: #161616;

  --site-height: 2404px;

  --section-width: 1480px;

  color: var(--text-color);
  font-family: "Aleo";
}
::-moz-focus-inner,
:active,
:focus {
  outline: none;
  border: 0;
  text-decoration: none;
  -moz-outline-style: none;
}
a:-webkit-any-link {
  text-decoration: none;
}
a::-moz-focus-inner {
  border: 0;
}
a:visited {
  background-color: transparent;
  text-decoration: none;
}
body,
button,
input {
  margin: 0;
  font-family: "Lambda", sans-serif;
}
p {
  margin-block-start: 0;
  margin-block-end: 0;
}

.section {
  display: flex;
  width: var(--section-width);
  margin: 0 auto;
}
.section.column {
  flex-direction: column;
}
.section.center {
  align-items: center;
}
.section.divider {
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin-top: 80px;
  margin-bottom: 30px;
  opacity: 0.7;
  filter: blur(0.4px);
}
.section > .ttl,
.section > h2 {
  color: var(--text-color-2);
  font-size: 24px;
  margin-bottom: 40px;
  text-decoration: none;
  transition: 0.2s ease;
}

.section h2 {
  font-size: 24px;
  color: var(--text-color-1);
}
.section h2 span.larger {
  font-size: 70px;
  line-height: 70px;
  text-shadow: rgba(11, 11, 11, 0.5) 2px 2px 5px;
  --icon-size: 40px;
  --icon-margin: 5px;
  margin-left: calc(-1 * var(--icon-size) - var(--icon-margin));
  margin-right: calc(-1 * var(--icon-size) - var(--icon-margin));
}

.section h2 span.larger::before {
  content: "";
  position: relative;
  display: inline-block;
  width: var(--icon-size);
  height: var(--icon-size);
  top: -4px;
  background-image: url("../img/star_transparent.png");
  background-size: contain;
  filter: brightness(1.3);
  margin-right: var(--icon-margin);
}
.section h2 span.larger::after {
  content: "";
  position: relative;
  display: inline-block;
  width: var(--icon-size);
  height: var(--icon-size);
  top: -4px;
  background-image: url("../img/star_transparent.png");
  background-size: contain;
  filter: brightness(1.3);
  margin-left: var(--icon-margin);
}
body {
  position: relative;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-color);
}

/* Header */
header {
  --logo-width: 500px;
  display: flex;
  position: fixed;
  width: 100vw;
  justify-content: center;
  padding: 60px 0 0 0;
  z-index: 10;
  transition: padding 0.2s ease;
}
header.scrolled {
}
header:not(.scrolled) .top-shadow {
  opacity: 0;
}
header.scrolled .top-shadow {
  opacity: 1;
  pointer-events: none;
}
header.scrolled .social-container,
header.scrolled nav {
}
header .inner {
  display: flex;
  width: var(--section-width);
  flex-direction: row;
}
header nav {
  position: relative;
  right: 0;
  top: 4px;
}
header nav a {
  font-size: 24px;
  color: var(--text-color);
  margin-left: 14px;
  text-decoration: none;
  transition: color 0.2s ease;
  pointer-events: all;
}
header nav a.selected {
  position: relative;
  color: var(--text-accent-color);
}
header nav a.selected::before {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  background-color: var(--text-accent-color);
  bottom: -10px;
  left: calc(50% - 2.5px);
}
header nav a:hover {
  color: var(--text-accent-color);
}
header #header-logo {
  position: absolute;
  width: var(--logo-width);
  height: var(--header-height);
  margin: 0 auto;
  object-fit: contain;
  left: calc(50% - var(--logo-width) / 2);
  transition: all 10.2s ease;
  z-index: 10;
}
.index header #header-logo {
  display: none;
}
.blog header,
.blog-post header {
  --logo-width: 140px;
  --header-height: 140px;
}
.blog header #header-logo,
.blog-post header #header-logo {
  top: 18px;
  filter: brightness(1.2);
}
.social-container {
  height: min-content;
  margin-right: auto;
  padding: 0 20px;
}
.social-container a:not(:first-of-type) {
  margin-left: 10px;
}

.social-container a:hover img {
  filter: brightness(1.4);
}

.footer-social-container a:hover img {
  transition: 0.5s ease;
  filter: brightness(1.2);
}
.social-container a img {
  width: 30px;
  height: 30px;
  filter: brightness(1.2);
  transition: 0.5s ease;
}
header .top-shadow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 154px;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(22, 22, 22, 0.68) 0%,
    rgba(22, 22, 22, 0.38) 50%,
    rgba(22, 22, 22, 0) 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

/* Footer */
.footer {
  display: flex;
  position: relative;
  flex-direction: column;
  align-items: center;
  margin-top: auto;
}

#sunbox-logo {
  margin-bottom: 20px;
}

.tc-txt {
  display: flex;
  gap: 5px;
  justify-content: center;
  align-items: center;
  font-size: 14px;
}

.tc-txt a {
  color: #ffffffea;
  font-size: 16px;
}

.footer .bottom-shadow {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 224px;
  z-index: -1;
  background: linear-gradient(
    0deg,
    rgba(22, 22, 22, 0.58) 0%,
    rgba(22, 22, 22, 0) 100%
  );
}
.footer .txt {
  color: #ffc117af;
  margin: 10px 0 30px 0;
}

.footer-nav {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.footer-nav a {
  font-size: 24px;
  color: #fff;
}

.tc-txt a:hover,
.footer-nav a:hover,
.footer-nav a:active {
  color: var(--accent-color);
}

/* Index  */
.logo {
  display: flex;
  justify-content: center;
  margin-top: 60px;
  filter: brightness(1.2);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Index blog posts container */
.posts-container {
  display: flex;
  justify-content: space-between;
  margin-top: 29px;
}
.post-container {
  display: flex;
  flex-direction: column;
  max-width: 475px;
  width: 100%;
  background-color: rgba(17, 17, 17, 0.75);
  overflow: hidden;
  text-decoration: none;
  transition: box-shadow 0.5s ease;
}

.post-container.dummy {
  display: flex;
  flex-direction: column;
  max-width: 475px;
  height: 100%;
  min-height: 712px;
  width: 100%;
  background-color: rgba(17, 17, 17, 0.411);
  overflow: hidden;
  text-decoration: none;
  transition: box-shadow 0.5s ease;
  pointer-events: none !important;
}

.post-container.dummy:hover {
  pointer-events: none;
}

.post-container:hover,
.featured-post-content:hover {
  cursor: pointer;
  box-shadow: rgba(0, 0, 0, 0.15) 0px 6px 12px, rgba(0, 0, 0, 0.1) 0px 4px 6px;
}

.featured-post-content:hover .featured-thumbnail {
  scale: 1.05;
}

.post-container:hover .detail-content .ttl,
.featured-post-content:hover .ttl {
  color: var(--text-accent-color);
  transition: color 0.5s ease;
}

/* Wraps the image to constrain scaling */
.thumb-wrapper {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
}

/* Regular post image */
.thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transition: transform 0.5s ease;
}

/* Hover scaling */
.post-container:hover .thumbnail {
  transform: scale(1.05);
}

.post-container .shadow {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  z-index: 1;
  background: linear-gradient(
    0deg,
    rgba(22, 22, 22, 0.3) 0%,
    rgba(22, 22, 22, 0) 100%
  );
}

.post-container .detail-content {
  display: flex;
  gap: 15px;
  padding: 25px;
  margin-top: auto;
  flex-direction: column;
  flex-grow: 1;
  color: var(--text-color);
  z-index: 3;
  text-shadow: rgba(11, 11, 11, 0.6) 2px 2px 5px;
}

.featured-post .ttl,
.post-container .detail-content .ttl {
  font-size: 36px;
  margin: 6px 0 10px 0;
  transition: color 0.5s ease;
  text-shadow: rgba(11, 11, 11, 0.6) 2px 2px 5px;
  text-decoration: none;
  color: var(--text-color);
}

.featured-post .synopsis,
.post-container .detail-content .synopsis {
  font-size: 20px;
  line-height: 28px;
  color: var(--text-color);
  font-family: "Aleo";
  height: 140px;
  text-shadow: rgba(11, 11, 11, 0.6) 2px 2px 5px;
  margin-bottom: 20px;
}
.post-container .detail-content .date,
.featured-post-content .detail-content .date {
  color: var(--accent-color);
  margin-left: 3px;
}

#view-all-blog {
  margin: 40px auto 140px auto;
  color: var(--accent-color);
  border: 1px solid var(--accent-color);
  font-size: 1.6rem;
  text-decoration: none;
  transition: 0.2s ease;
  text-align: center;
  padding: 10px 40px;
}

#view-all-blog:hover {
  color: #000;
  background-color: var(--accent-color);
}

.post-read-more-btn:hover {
  opacity: 0.6;
}

.detail-content .post-read-more-btn {
  color: var(--accent-color);
  background-color: transparent;
  border: none;
  max-width: 200px;
  font-size: 1.6rem;
  text-align: left;
}

.feat-post-read-more-btn {
  color: var(--accent-color);
  padding: 10px 20px;
  border: 1px solid var(--accent-color);
  font-size: 1.6rem;
  text-decoration: none;
}

.feat-post-read-more-btn:hover {
  background-color: var(--accent-color);
  color: #000;
  transition: ease 0.2s;
}

.read-more-othr-post-container {
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  margin-top: auto;
  gap: 20px;
}

img.read-more-stripe-img {
  max-width: 200px;
}

/* About the game */
.section-wrapper {
  background: linear-gradient(
    90deg,
    rgba(22, 22, 22, 0.5) 0%,
    rgba(22, 22, 22, 0) 50%
  );
}

.section.about {
  display: flex;
  width: 100%;
}
.about-container {
  display: flex;
  align-items: center;
  position: relative;
  width: var(--section-width);
  margin: 0 auto;
  padding: 50px 0;
  font-size: 24px;
  line-height: 29px;
  color: var(--text-color);
  font-family: "Aleo";
  flex-direction: row;
}
.about-container .content {
  width: 600px;
}
.about-container .image-container {
  position: relative;
  display: block;
  width: 765px;
  height: 430px;
  margin-top: 60px;
  margin-left: auto;
}
.about-container .image-container img {
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.section.about.right .about-container .content {
  order: 1;
}
.section.about.right .about-container .image-container {
  order: 0;
}
.section.about.right .about-container .image-container {
  margin-left: 0;
  margin-right: auto;
}
.about-container span {
  display: block;
}
.section.about.right > div span {
  display: block;
  margin-left: auto;
  text-align: right;
}
.section.about.right h2 span {
  width: 100%;
}
.section.about.right h2 {
  text-align: right;
}

/* Socials and news letter */

#community {
  margin-bottom: 120px;
}

.section.socials {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.section.socials form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

#subscribe-form input[type="checkbox"] {
  appearance: none; /* Remove default style */
  width: 20px;
  height: 20px;
  background-color: rgba(17, 17, 17, 0.75) !important;
  border: 2px solid #444;
  cursor: pointer;
  position: relative;
}

#subscribe-form input[type="checkbox"]:checked::after {
  content: "✔";
  color: var(--accent-color);
  font-size: 14px;
  position: absolute;
  top: 0;
  left: 4px;
}

.section.socials .form-row {
  display: flex;
}

.privacy-policy-row label {
  display: flex;
  gap: 10px;
  font-size: 21px;
}

.privacy-policy-row a {
  color: var(--accent-color);
}

input#id_agree_to_privacy {
  max-width: fit-content;
}

.section.socials input,
.section.socials button {
  display: block;
  border-width: 0;
  padding-inline: 0;
  font-size: 28px;
}
.section.socials button {
  background-color: #edb92e;
  margin-left: 20px;
  transition: 0.2s ease;
  padding: 10px 30px;
}
.section.socials button:hover {
  opacity: 0.8;
  cursor: pointer;
}
.section.socials input {
  width: 410px;
  padding: 10px;
  background-color: rgba(17, 17, 17, 0.75);
  color: var(--accent-color);
}
.section.socials label[for="id_email"],
.section.socials label[for="id_captcha"] {
  display: none;
}
/* .section.socials .g-recaptcha {
  position: absolute;
  top: 90px;
  left: calc(50% - 75px);
} */
.section.socials .social-container {
  margin: 200px auto 100px auto;
}

.section.socials .social-container a img {
  width: 50px;
  height: 50px;
}

.footer-social-container {
  display: flex;
  gap: 40px;
  margin: 40px 0;
}

.section .footer-social-container a img {
  width: 65px;
  height: 65px;
}

.section.socials .message-container {
  display: flex;
  position: fixed;
  width: 100%;
  height: 100px;
  background-color: rgba(17, 17, 17, 0.75);
  justify-content: center;
  align-items: center;
  pointer-events: none;
  opacity: 0;
  z-index: 10;
  bottom: -100px;
}
.section.socials .message-container .message {
  font-size: 24px;
  color: var(--accent-color);
}
.section.socials .message-container .message.error {
  color: var(--accent-color);
}

/* Blog list */
.blog .post-list {
  display: grid;
  grid-template-rows: 475px;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 20px;
  row-gap: 20px;
  margin-top: 50px;
}

.blog-section {
  padding-top: 200px;
}

.blog-section .heading-container {
  margin-bottom: 40px;
}

.post-list .thumb-wrapper {
  min-height: 300px;
}

.blog .tag-container {
  margin: auto;
  font-size: 24px;
  justify-content: center;
  padding: 5px 60px;
  background: linear-gradient(
    90deg,
    rgba(22, 22, 22, 0) 0%,
    rgba(22, 22, 22, 0.65) 50%,
    rgba(22, 22, 22, 0) 100%
  );
}
.blog .tag-container a {
  color: var(--text-color-2);
  text-transform: uppercase;
  text-decoration: none;
}

.blog .tag-container a:hover {
  color: var(--accent-color);
}

.blog .tag-container a.selected {
  color: var(--text-accent-color);
}
.blog .tag-container a:not(:first-of-type) {
  margin-left: 20px;
}
.blog .pagination {
  margin: 40px auto 300px auto;
}
.blog .pagination .step-links {
  display: flex;
  flex-direction: row;
  margin: 0 auto;
}
.blog .pagination a {
  display: flex;
  width: fit-content;
  margin: 0 auto;
  color: var(--text-color-2);
  font-size: 24px;
  text-decoration: none;
  transition: 0.2s ease;
}
.blog .pagination a:hover,
.blog .pagination a.selected {
  color: var(--text-accent-color);
}
.blog .pagination a:not(:first-of-type) {
  margin-left: 25px;
}

/* Blog post */
body.blog-post h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: normal;
  position: relative;
  color: var(--text-color);
  font-family: "Lambda", sans-serif;
}
/*body.blog-post h1:after, h2:after, h3:after, h4:after, h5:after, h6:after {
	content: "";
	position: absolute;
	width: 100%;
	height: 2px;
	left: 0;
	bottom: -4px;
	background-color: rgba(255, 255, 255, 0.2);
}*/
body.blog-post {
  position: relative;
  height: auto;
}

.blog-post-container {
  display: flex;
  width: 990px;
  margin: 200px auto 100px auto;
  flex-direction: column;
  background-color: var(--bg-color);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
  color: rgba(188, 188, 188, 1);
  font-family: "Aleo";
  font-size: 18px;
}

.blog-post-container li::marker {
  color: var(--text-accent-color);
}

.blog-post-container .title {
  font-size: 38px;
  color: var(--text-color);
  font-family: "Lambda", sans-serif;
}
.blog-post-container .inner {
  padding: 60px 80px;
}
.blog-post-container .date-container {
  font-size: 14px;
  margin-top: 10px;
  margin-bottom: 35px;
  text-shadow: rgba(11, 11, 11, 0.6) 2px 2px 2px;
}

.blog-post-container .date-container .tag {
  color: var(--text-color-2);
}
.blog-post-container .banner {
  object-fit: cover;
}
.blog-post-container .date-container .date {
  margin-left: 5px;
  color: var(--text-accent-color);
}
.blog-post-container .post-image {
  width: 100%;
  height: 480px;
  object-fit: cover;
}
.blog-post-container p {
  line-height: 26px;
}
.blog-post-container a {
  color: var(--text-accent-color);
  text-decoration: underline;
}

/* Privacy policy page */

.page-background-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.4);
  z-index: 0;
  pointer-events: none;
}

.privacy-policy-content {
  display: flex;
  max-width: 990px;
  margin: 200px auto 100px auto;
  flex-direction: column;
  color: rgb(217, 217, 217);
  font-family: "Aleo";
  font-size: 1.2rem;
  position: relative;
  z-index: 1;
}

.privacy-policy-content a {
  text-decoration: none;
  color: var(--accent-color);
}

/* 404 */
body.index.error h2 {
  margin: auto;
  font-size: 50px;
  color: var(--accent-color);
  padding: 10px;
  text-align: center;
}
body.index.error .inner {
  display: none;
}

/* Background */
.background {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  overflow: hidden;
  z-index: -10;
  -webkit-filter: grayscale(50%);
  -moz-filter: grayscale(50%);
  -ms-filter: grayscale(50%);
  -o-filter: grayscale(50%);
}
.blog-banner-background {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  /*background-color: var(--bg-color);*/
}
.blog-banner-background .banner {
  width: 100%;
  height: 1000px;
  object-fit: cover;
  filter: blur(2px) brightness(0.6);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent);
  mask-image: linear-gradient(180deg, #000, transparent);
  z-index: 0;
}
.blog-banner-background .shadow {
  display: block;
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5) blur(10px) grayscale(0.6);
  z-index: -1;
}

.background img {
  width: 100%;
  max-height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

/* FAQ section */
.faq-section {
  max-width: 910px;
  margin: 0 auto;
  width: 100%;
  margin-bottom: 100px;
  background-color: var(--bg-color);
  padding: 40px;
  height: 555px;
}

.faq-container {
  border-bottom: 1px solid #595959;
  padding: 25px 0;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.faq-header {
  font-size: 70px;
  line-height: 70px;
  margin-bottom: 20px;
}

.faq-title-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-title {
  font-size: 28px;
  color: var(--accent-color);
  margin: 0;
  text-transform: capitalize;
}

.faq-title:hover {
  opacity: 0.8;
  cursor: pointer;
}

.faq-answer {
  font-size: 18px;
  font-family: "Aleo";
  line-height: 26px;
}

.faq-toggle {
  font-size: 34px;
  color: var(--accent-color);
  /* transition: transform 0.2s ease; */
  user-select: none;
}

.faq-toggle {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 3px solid var(--accent-color);
  border-bottom: 3px solid var(--accent-color);
  transform: rotate(45deg);
  /* transition: transform 0.2s ease; */
  margin-left: 10px;
}

.faq-toggle.open {
  transform: rotate(-135deg); /* Points down */
}

/* Cookie banner */
.cookie-card {
  position: fixed;
  bottom: 30px;
  right: 30px;
  max-width: 400px;
  width: 90%;
  background-color: #181818e8;
  color: #ffffff;
  padding: 25px 30px;
  border-radius: 2px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: row;
  z-index: 9999;
  font-family: system-ui, sans-serif;
}
.cookie-icon {
  margin-right: 20px;
  font-size: 32px;
}
#cookie-banner .cookie-title {
  color: var(--accent-color);
  margin-top: 0;
  font-size: 1.3rem;
}
.cookie-content p {
  margin: 12px 0 25px 0;
  font-size: 1rem;
  line-height: 1.5;
  font-family: "Aleo";
}
.cookie-content a {
  color: #fff;
}

.cookie-content .cookie-link {
  color: var(--accent-color);
  text-decoration: none;
}

.cookie-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}
.cookie-actions .btn {
  padding: 10px 16px;
  border-radius: 2px;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.cookie-actions .outline {
  background: white;
  border: 2px solid #00a9c9;
  color: #00a9c9;
}
.cookie-actions .reject {
  background-color: #e6e6e6;
  color: #000;
}
.cookie-actions .accept {
  background-color: var(--accent-color);
  color: #000;
}

.privacy-policy-row a:hover,
.cookie-content .cookie-link:hover,
.cookie-actions .btn:hover {
  opacity: 0.8;
  transition: ease 0.2s;
}

@media only screen and (max-width: 1520px) {
  :root {
    --section-width: 700px;
  }
  header .inner {
    max-width: var(--section-width);
  }
  header nav {
    margin-left: auto;
  }
  .social-container {
    margin-right: 20px;
  }
  .logo {
    margin-top: 110px;
  }
  .posts-container {
    flex-direction: column;
  }
  .post-container {
    width: 100%;
    min-width: unset;
    height: fit-content;
  }
  .post-container:not(:last-of-type) {
    margin-right: 0;
    margin-bottom: 20px;
  }
  .post-container .shadow {
    background: linear-gradient(
      0deg,
      rgba(22, 22, 22, 0.5) 0%,
      rgba(22, 22, 22, 0) 100%
    );
  }

  .post-container .detail-content {
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .post-container img {
  }
  .about-container {
    flex-direction: column;
    text-align: center;
    gap: 50px;
  }

  #community .content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  #community .image-container {
    display: none;
  }

  .privacy-policy-row label,
  #community .socials,
  #community .socials .footer-social-container {
    justify-content: center;
  }

  .captcha-row {
    display: flex;
    justify-content: center;
  }

  .section.divider img {
    max-width: 700px;
  }

  .section.socials {
    align-items: center;
  }

  .section.socials .message-container {
    justify-content: center;
  }
  .about-container .content {
    width: 100%;
  }
  .about-container span {
    margin: 0 auto;
  }
  .about-container .image-container {
    margin: 0 auto;
    width: 100%;
  }
  .section.about.right .about-container .image-container {
    margin: 0 auto;
  }
  .section.about.right .about-container .content {
    order: 0;
  }
  .section.about.right h2 {
    text-align: center;
  }
  .section.about.right > div span {
    text-align: center;
    margin: 0;
  }

  .blog .post-list {
    grid-template-columns: repeat(2, 1fr);
    max-width: 780px;
  }

  .blog .post-list .post-container {
    min-width: auto;
    height: 100%;
  }
  .blog .post-container .detail-content {
    padding: 20px;
  }

  .blog-post-container {
    width: var(--section-width);
  }
  .blog-post-container .inner {
    padding: 40px 40px;
  }

  .featured-post {
    margin-top: 40px !important;
  }

  .featured-right {
    padding: 40px 20px !important;
  }

  .featured-post .ttl {
    font-size: 36px !important;
    font-weight: normal !important;
  }

  .featured-post .synopsis {
    line-height: 28px !important;
    font-size: 20px !important;
    font-family: "Aleo";
  }

  .read-more-feat-post-container {
    display: flex;
    justify-content: center;
  }

  .featured-post-content {
    flex-direction: column;
    gap: 0 !important;
    max-height: unset !important;
  }

  .featured-left,
  .featured-right {
    flex: 1 1 100%;
  }

  .thumb-wrapper,
  .featured-left {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    position: unset;
  }

  .blog .blog-section .thumbnail {
    max-height: 250px;
  }
  .blog .blog-section .thumb-wrapper {
    min-height: 250px;
  }

  .latest-news-section .post-container .thumbnail,
  .featured-thumbnail {
    position: unset !important;
    width: 100% !important;
    height: 500px !important;
    object-fit: cover;
  }

  .feat-post-read-more-btn {
    font-size: 1.2rem;
  }
  .about-container .image-container {
    height: 300px;
  }

  #view-all-blog {
    font-size: 1.2rem;
  }

  .latest-news-section .post-container {
    max-width: unset;
  }

  .post-container.dummy {
    display: none;
  }

  .post-container .detail-content .ttl {
    font-size: 24px;
  }

  .blog .post-list {
    grid-template-rows: 400px;
  }

  .faq-section {
    max-width: calc(var(--section-width) - 80px);
  }
}

@media only screen and (max-width: 720px) {
  :root {
    --screen-padding: 20px;
    --section-width: 100%;
  }
  header {
    padding-top: 40px;
  }
  header .social-container {
    display: none;
  }
  header nav {
    margin-right: var(--screen-padding);
  }

  header nav a {
    font-size: 18px;
  }

  .blog header #header-logo,
  .blog-post header #header-logo {
    width: 120px;
    height: 120px;
    top: 4px;
  }
  .section {
    box-sizing: border-box;
    padding: 0 var(--screen-padding);
  }
  .section.divider img {
    width: 100%;
  }
  .logo img {
    max-width: 250px;
    width: 100%;
    height: 250px;
    object-fit: contain;
  }
  header .inner {
    max-width: var(--section-width);
  }
  header nav {
    margin-left: auto;
  }
  .social-container {
    margin-right: 20px;
  }
  .logo {
    margin-top: 60px;
  }
  .posts-container {
    width: 100%;
    flex-direction: column;
  }

  .post-container .thumbnail {
    height: 250px;
  }
  .post-container {
    height: fit-content;
    width: 100%;
    min-width: var(--section-width);
  }

  .thumb-wrapper {
    max-height: 250px;
  }

  .post-list .thumb-wrapper {
    min-height: 250px;
  }

  .about-container {
    font-size: 18px;
  }

  .heading-container .larger {
    font-size: 35px !important;
  }

  .featured-post {
    margin-top: 40px !important;
  }

  .featured-right {
    padding: 40px 20px !important;
  }

  .featured-post .ttl {
    font-size: 24px !important;
    font-weight: normal !important;
    margin-top: 0 !important;
  }

  .featured-post .synopsis {
    line-height: 28px !important;
    font-size: 16px !important;
    font-family: "Aleo";
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .read-more-feat-post-container {
    display: flex;
    justify-content: center;
  }

  .feat-post-read-more-btn {
    font-size: 1.2rem;
  }
  .about-container .image-container {
    height: 300px;
  }

  #view-all-blog {
    font-size: 1.2rem;
  }

  .post-container:not(:last-of-type) {
    margin-right: 0;
    margin-bottom: 20px;
  }
  .post-container .shadow {
    background: linear-gradient(
      0deg,
      rgba(22, 22, 22, 0.5) 0%,
      rgba(22, 22, 22, 0) 100%
    );
  }
  .latest-news-section .post-container .thumbnail {
    height: 250px !important;
    object-fit: cover;
  }

  .post-container.dummy {
    display: none;
  }

  .latest-news-section .date-container {
    font-size: 16px !important;
  }

  .detail-content .post-read-more-btn {
    font-size: 1.2rem;
  }

  img.read-more-pasica-img {
    max-width: 150px;
  }

  .post-container .detail-content .synopsis {
    font-size: 16px;
  }

  .post-container .detail-content .ttl {
    font-size: 24px;
  }

  .post-container .detail-content {
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .section.socials button {
    font-size: 20px;
    width: 170px;
    margin: 0 auto;
  }
  .section.socials input {
    width: 100%;
    font-size: 20px;
    max-width: 400px;
  }
  .blog-btn-section {
    justify-content: center;
  }
  #view-all-blog {
    margin: 20px 0 40px 0;
  }
  .about-container {
    padding: 20px 0 0 0;
  }
  .section.divider {
    display: none;
  }
  .about-container {
    text-align: center;
  }
  .about-container span {
    width: 100%;
  }
  .about-container .image-container {
    width: 100%;
    margin: 0 auto;
  }
  .section.about.right .about-container .image-container {
    width: 100%;
    margin: 0 auto;
  }

  .section h2 {
    font-size: 20px;
  }
  .section h2 span.larger {
    display: block;
    width: 100%;
    font-size: 35px;
    margin: 0;
  }
  .section h2 span.larger::before,
  .section h2 span.larger::after {
    --icon-size: 25px;
    top: 0;
  }

  .blog-section {
    padding-top: 130px;
  }

  .blog .post-list {
    grid-template-columns: repeat(1, 1fr) !important;
    grid-template-rows: none !important;
    column-gap: 20px;
    row-gap: 20px;
    justify-items: center;
  }
  .blog .post-list .post-container {
    min-width: auto;
  }
  .blog .post-container .detail-content {
    padding: 20px;
  }

  .blog .pagination {
    margin: 40px auto 30px auto;
  }

  .blog .pagination .step-links {
    width: 100%;
    justify-content: space-between;
  }

  .blog-post-container {
    width: calc(var(--section-width) - 2 * var(--screen-padding));
  }
  .blog-post-container .banner {
    height: 350px;
  }
  .blog-post-container .inner {
    padding: 40px 30px;
  }
  .blog-post-container .title {
    font-size: 30px;
  }
  .blog-post-container blockquote {
    margin: 0;
  }

  .blog-post-container .post-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
  }

  .heading-decoration {
    display: none;
  }

  .footer-social-container {
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
  }

  .section .footer-social-container a img {
    height: 40px;
    width: 40px;
  }

  #community .image-container {
    display: none;
  }

  .section.socials #subscribe-form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    width: 100%;
  }

  #subscribe-form label {
    font-size: 16px;
    justify-content: center;
    gap: 10px;
  }

  .form-row {
    flex-direction: column;
    gap: 30px;
    align-items: center;
  }

  #id_captcha {
    display: flex;
    justify-content: center;
  }

  .section.socials .message-container {
    margin-bottom: 40px;
  }

  .section.socials .message-container .message {
    font-size: 20px;
  }

  #community {
    margin-bottom: 90px;
  }

  .footer.center {
    padding: 0 20px;
  }

  .footer .txt {
    text-align: center;
  }

  .privacy-policy-content {
    padding: 20px;
    font-size: 16px;
  }

  .faq-section {
    max-width: -moz-available;
    height: unset;
    padding: 0px 20px 100px 20px;
    margin-bottom: 0;
  }

  .faq-header {
    font-size: 35px;
    text-align: center;
  }

  .faq-title {
    font-size: 22px;
  }

  .faq-answer {
    font-size: 16px;
    line-height: 24px;
  }

  .faq-toggle {
    width: 6px;
    height: 6px;
    border-right: 2px solid var(--accent-color);
    border-bottom: 2px solid var(--accent-color);
  }

  .cookie-card {
    max-width: fit-content;
    padding: 25px 20px;
    bottom: 0;
    right: 0;
  }
}

/* === FEATURED POST SECTION === */
.latest-news-section .date-container {
  font-size: 20px;
  opacity: 0.9;
}

.latest-news-section .date-container .tag {
  color: var(--text-color-2);
}
.heading-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
}

.heading-container .larger {
  font-size: 60px;
  line-height: 70px;
  text-shadow: rgba(11, 11, 11, 0.5) 2px 2px 5px;
  margin: 0;
}

.heading-decoration {
  max-width: 310px;
  width: 100%;
}

.featured-post .left,
.featured-post .right {
  flex: 1 1 50%;
}

.featured-post .thumbnail {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

/* .featured-post .ttl {
  font-size: 2.6rem;
  text-decoration: none;
  color: var(--text-color);
  margin: 6px 0 10px 0;
} */

.btn-link {
  text-decoration: none;
  transition: color 0.2s ease;
  pointer-events: all;
}
.btn-link.selected {
  position: relative;
  color: var(--text-accent-color);
}
.btn-link.selected::before {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  background-color: var(--text-accent-color);
  bottom: -10px;
  left: calc(50% - 2.5px);
}
.btn-link:hover {
  color: var(--text-accent-color);
}

.post-container .synopsis {
  font-size: 2rem;
  margin-bottom: 1rem;
  word-break: break-word;
  display: -webkit-box;
  line-clamp: 5;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.featured-post .read-more {
  display: inline-block;
  margin-top: 1rem;
  color: #fff;
  background-color: #444;
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.featured-post .read-more:hover {
  background-color: #666;
}

.featured-post {
  max-width: 1480px;
  margin-top: 60px;
}

.featured-post-content {
  display: flex !important;
  gap: 30px;
  align-items: flex-start;
  background-color: rgba(17, 17, 17, 0.75);
  width: 100%;
  margin: auto;
  max-height: 450px;
  overflow: hidden;
  transition: box-shadow 0.5s ease;
  text-decoration: none;
}

.markdown-content {
  width: 100%;
  overflow: hidden;
  word-wrap: break-word;
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.featured-left {
  display: flex;
  position: relative;
  width: 100%;
  max-width: 475px;
  height: 480px;
  overflow: hidden;
  flex: 1 1 50%;
  text-decoration: none;
}

.featured-right {
  padding: 40px;
  flex: 1 1 50%;
  max-width: 1000px;
}

.featured-right .detail-content {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.featured-thumbnail {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  z-index: 0;
  object-fit: cover;
  scale: 1;
  transition: scale 0.5s ease;
}

.tag-date {
  margin-bottom: 10px;
}

.featured-title {
  font-size: 28px;
  margin: 10px 0;
  color: #fff;
}

.featured-synopsis {
  font-size: 16px;
  line-height: 1.5;
  color: #ccc;
}

.read-more {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  background-color: #444;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.read-more:hover {
  background-color: #666;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  .featured-post-content {
    flex-direction: column;
    gap: 0;
    max-height: unset;
  }

  .featured-left,
  .featured-right {
    flex: 1 1 100%;
  }

  .featured-left {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    position: unset;
  }

  .featured-thumbnail {
    position: unset;
    width: 100% !important;
    height: 250px !important;
    object-fit: cover;
  }
}
