/* =====================================================================
   THEME TOKENS — this is the ONLY place you need to touch to re-theme.
   Palette: Career — plum and amber
   ===================================================================== */
:root {
  --color-navy-900: #2a1038;
  --color-navy-800: #3f1a54;
  --color-navy-700: #5a2874;
  --color-gold-600: #b45309;
  --color-gold-500: #e09a2b;
  --color-gold-200: #f8ead0;
  --color-cream: #faf6f2;
  --color-panel-bg: #f6f0ea;
  --color-footer-bg: #faf7f4;
  --color-white: #ffffff;
  --color-text: #1a1a1a;
  --color-muted: #6b6b6b;
  --color-error: #c0392b;
  --color-contact-overlay: rgba(224, 154, 43, 0.92);
  --color-hero-overlay: rgba(42, 16, 56, 0.84);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body,
input,
button,
textarea {
  font-family: 'Libre Franklin', sans-serif;
}

p,
strong,
button {
  font-family: 'Libre Franklin', sans-serif;
}

button {
  border: none;
  background: inherit;
  font-size: inherit;
  font-family: inherit;
  color: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: inherit;
}

html {
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
}

/* ============ top / hero section ============ */
.top-section {
  min-height: 650px;
  background: linear-gradient(135deg, var(--color-navy-800) 0%, var(--color-navy-900) 100%);
  width: 100%;
  border-radius: 0 0 64px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 0 20px;
}

.top-section:after {
  content: "";
  background: radial-gradient(circle at 80% 20%, rgba(224, 154, 43, 0.18), transparent 60%),
    var(--color-hero-overlay);
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
}

.header-section {
  display: flex;
  position: static;
  justify-content: space-around;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

#navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 46px;
  padding-top: 18px;
}

#navigation .logo {
  color: var(--color-cream);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: .3px;
}

#navigation .hamburger {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  position: absolute;
  top: 19px;
  right: 20px;
  z-index: 1000;
}

#navigation .hamburger span:nth-child(2) {
  margin: 4px auto;
}

#navigation .hamburger span {
  width: 20px;
  height: 2.18px;
  background-color: var(--color-cream);
  transition: all 0.3s ease;
  border-radius: 5px;
}

#navigation .hamburger.open span:nth-child(1) {
  transform: rotate(45deg);
  position: relative;
  top: 5px;
}

#navigation .hamburger.open span:nth-child(2) {
  opacity: 0;
}

#navigation .hamburger.open span:nth-child(3) {
  transform: rotate(-45deg);
  position: relative;
  top: -8px;
}

#navigation ul.menu-left {
  position: absolute;
  margin-right: 0;
  display: block;
  width: 100%;
  left: 0;
  margin-top: 0;
  overflow: hidden;
  transition: all .3s ease-out;
  z-index: 10;
  max-height: 0;
  top: 45px;
}

#navigation ul.menu-left li {
  display: flex;
  position: relative;
  transition: color .35s ease;
  color: var(--color-navy-800);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 16px;
  justify-content: center;
  list-style: none;
  text-align: center;
  padding: 0;
}

#navigation .menu-left li a {
  color: var(--color-navy-800);
  text-align: center;
  text-decoration: none;
  padding: .5em 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 16px;
}

#navigation .menu-left li:last-child {
  border: 0;
  padding-right: 0;
}

#navigation ul.menu-left.collapse {
  max-height: 15em;
  background: var(--color-white);
}

/* ============ featured posts ============ */
.featured-articles {
  display: flex;
  column-gap: 32px;
}

.featured-articles .articles {
  width: 100%;
}

.featured-articles img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
}

.top-featured-section {
  padding: 0 20px;
}

div#featured-posts a:not(:first-child) img {
  filter: blur(12px);
}

div#featured-posts a:not(:first-child) .post-section {
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding-top: 40px;
}

div#featured-posts a:not(:first-child) .post-section div {
  justify-self: flex-end;
}

div#featured-posts a:not(:first-child) .post-section div p {
  -webkit-line-clamp: 5;
}

.featured-articles .articlebanner-title {
  position: absolute;
  bottom: 0;
  color: var(--color-white);
  text-shadow: 0 0 5px rgba(0, 0, 0, .5);
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: 100%;
  padding: 0 12px 12px;
  min-height: 72px;
  background: linear-gradient(181deg, rgba(63, 26, 84, 0) 7.62%, rgba(63, 26, 84, .95) 99.38%);
}

.featured-articles p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--color-white);
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

/* ============ hero copy ============ */
.hero-section {
  padding: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-section-title {
  color: var(--color-cream);
  font-size: 40px;
  font-weight: 500;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: normal;
  max-width: 328px;
  margin: 0 auto 32px;
}

.hero-section-btn {
  border-radius: 4px;
  background: var(--color-gold-500);
  box-shadow: 0px 0px 8.406px 0px rgba(0, 0, 0, 0.10);
  border: none;
  color: var(--color-navy-900);
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  cursor: pointer;
  display: flex;
  margin: 0px auto 10px;
  position: relative;
  align-items: center;
  justify-content: center;
  text-transform: capitalize;
  max-width: 216px;
  width: 100%;
  min-height: 58px;
  height: auto;
  transition: all 0.3s ease;
}

.hero-section-btn button {
  text-transform: capitalize;
}

/* ============ trending slider ============ */
#trending-posts {
  position: relative;
  max-width: 1200px;
  margin: 34px auto 0;
}

.trending-section {
  margin-top: 80px;
  flex-direction: column;
  border-radius: 80px 80px 0px 0px;
  background: var(--color-panel-bg);
  backdrop-filter: blur(2px);
  padding: 80px 20px 190px;
}

.trending-post-title {
  color: var(--color-navy-800);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  line-height: normal;
  text-transform: uppercase;
  margin-top: 20px;
}

.trending-post-copy {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--color-navy-700);
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.trnding-content {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.trnding-content img {
  width: 100%;
  height: 180px;
  display: flex;
  margin: 0;
  object-fit: cover;
  border-radius: 20px;
  cursor: pointer;
  transition: .25s ease-in-out;
  position: static;
  background: var(--color-gold-200);
}

.trending-content-inner {
  display: flex;
  align-items: flex-start;
  margin-top: 16px;
  color: var(--color-navy-700);
}

.trending-content-inner img {
  width: auto;
  height: auto;
  object-fit: none;
  display: flex;
}

.control-prev-btn,
.control-next-btn {
  position: absolute;
  top: 29%;
  background-color: transparent;
  height: auto;
  line-height: normal;
  width: 44px;
  text-align: center;
  box-shadow: none;
  user-select: none;
  color: var(--color-navy-800);
  cursor: pointer;
}

.control-prev-btn {
  left: 0;
}

.control-next-btn {
  right: 0;
}

.slider {
  display: flex;
  height: auto;
  position: relative;
  width: 100%;
  justify-content: space-between;
  column-gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
}

.slide {
  position: relative;
  margin: 0;
  max-width: 276px;
  min-width: 276px;
  width: 100%;
}

.slider::-webkit-scrollbar {
  height: 5px;
  width: 150px;
  display: none;
}

.slider::-webkit-scrollbar-track {
  background: transparent;
}

.slider::-webkit-scrollbar-thumb {
  background: var(--color-gold-500);
}

.slider::-webkit-scrollbar-thumb:hover {
  background: var(--color-gold-600);
}

/* ============ shared containers ============ */
.bg-color {
  display: flex;
  justify-content: center;
  max-width: 1200px;
  margin: auto;
  align-items: center;
  flex-direction: column;
}

.container {
  margin: 0 auto;
}

/* ============ footer ============ */
.footer {
  background: var(--color-footer-bg);
  padding: 29px 84px;
  border-top: 1px solid rgba(63, 26, 84, 0.12);
}

.footer ul {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.footer ul li {
  list-style: none;
  text-decoration: none;
  color: var(--color-navy-800);
  text-align: center;
  font-size: 16px;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
}

.footer ul li a {
  color: inherit;
}

.footer ul li:hover {
  text-decoration: underline;
}

.footer ul li::after {
  content: "|";
  margin: 0 3px;
  color: var(--color-navy-800);
  font-size: inherit;
  font-family: inherit;
}

.footer ul li:last-child::after {
  display: none;
}

/* ============ latest post / featured grid section ============ */
.latest-post-section {
  display: block;
  padding: 64px 0 98px;
  background: var(--color-white);
  position: relative;
}

.lp-post-wrapper {
  margin-top: 40px;
  width: 100%;
  max-width: 1200px;
  margin: 40px auto 0;
}

h2.lp-title {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  color: var(--color-navy-800);
  font-size: 40px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  text-transform: capitalize;
}

.lp-post {
  margin-top: 37px;
}

.lp-post-articles {
  max-width: 544px;
  margin: 0 auto;
  transition: transform 0.3s ease-in-out;
}

.lp-article-desp h2 {
  color: var(--color-text);
  font-size: 22px;
  font-weight: 600;
  line-height: 26px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 11px auto 13px;
}

.lp-article-desp h3 {
  color: var(--color-muted);
  font-size: 13px;
  font-weight: 300;
  line-height: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.lp-article-desp button {
  color: var(--color-gold-600);
  font-size: 14px;
  font-weight: 600;
  line-height: 19px;
  text-transform: capitalize;
  margin-top: 17px;
}

.lp-article-desp button svg {
  margin-left: 5px;
}

/* ============ featured post cards ============ */
.featured-post-section {
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  min-height: 360px;
  background: var(--color-gold-200);
  padding: 0;
  flex-direction: column;
  position: relative;
  width: 100%;
  justify-content: end;
  color: var(--color-white);
}

.featured-post-section:first-child {
  padding-top: 0;
  max-width: 584px;
  width: 50%;
}

.featured-post-section:not(:first-child) {
  flex: 1;
  max-width: 100%;
  justify-content: center;
  min-height: 180px;
}

.featured-post-section::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 0;
  background: linear-gradient(180deg, rgba(63, 26, 84, 0.08) 0%, rgba(63, 26, 84, 0.78) 100%);
}

.featured-post-section:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.post-section {
  display: flex;
  column-gap: 0;
  position: relative;
  width: 100%;
  padding: 0 40px 40px;
  z-index: 1;
  align-items: end;
}

.post-content {
  width: 100%;
}

#featured-posts .featured-post-section .post-section img {
  position: static;
  object-fit: none;
  width: auto;
  height: auto;
  filter: none;
}

.post-content p {
  color: var(--color-white);
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin-top: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-thumb {
  color: var(--color-gold-500);
  flex-shrink: 0;
}

/* ============ contact us ============ */
.contact-bg-color {
  padding: 80px 22px 0;
  border-radius: 80px 80px 0 0;
  background: linear-gradient(135deg, var(--color-navy-800) 0%, var(--color-navy-900) 100%);
  width: 100%;
  margin-top: -170px;
  z-index: 1;
  position: relative;
  overflow: hidden;
}

.contact-bg-color:after {
  content: "";
  background: var(--color-contact-overlay);
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
}

.contact-us {
  display: flex;
  margin: 0 auto;
  flex-direction: column;
  max-width: 1200px;
}

.contact-us-left {
  align-self: center;
  text-align: center;
  display: flex;
  flex-direction: column;
  width: 100%;
  justify-content: center;
}

.contactuslabel {
  text-align: left;
  position: relative;
}

h2.contact-us-title {
  color: var(--color-navy-900);
  font-size: 48px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  text-transform: capitalize;
  text-align: center;
  margin: 0;
}

p.contact-sec-text {
  color: var(--color-navy-900);
  font-size: 28px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  text-align: center;
  margin: 16px 0 0;
}

.form-flex {
  display: flex;
  column-gap: 30px;
  justify-content: space-between;
}

.contact-form {
  margin: 0 auto;
  background: var(--color-panel-bg);
  border-radius: 20px;
  padding: 20px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  min-height: 70px;
  height: auto;
  background: var(--color-white);
  padding: 0 20px 0 16px;
  border-radius: 10px;
  box-shadow: 1.426px 1.426px 5.702px 0px rgba(0, 0, 0, 0.15);
  color: var(--color-muted);
  font-size: 20px;
  font-style: normal;
  font-weight: 300;
  line-height: 150%;
  border: 0;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: 2px solid var(--color-gold-500);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-muted);
  font-size: inherit;
}

.form-group textarea {
  height: 152px;
  padding: 10px 20px 10px 16px;
}

.form-group button {
  width: 100%;
  min-height: 69px;
  height: auto;
  color: var(--color-navy-900);
  cursor: pointer;
  border-radius: 10px;
  border: none;
  background: var(--color-gold-500);
  transition: background-color 0.3s ease;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.form-group button:disabled {
  opacity: .6;
  cursor: not-allowed;
}

.form-status {
  margin-top: 12px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-navy-900);
}

.form-status.is-error {
  color: var(--color-error);
}

.error-text-msg {
  font-size: 16px;
  color: var(--color-error);
  font-weight: 300;
  padding-top: 0;
  display: block;
}

.dp-child-50 {
  margin-bottom: 20px;
  width: 100%;
}

.form-group:nth-child(3) .dp-child-50 {
  margin-bottom: 7px;
}

.contact-us-right {
  padding: 24px 0 40px;
}

/* ============ responsive — mirrors original breakpoints ============ */
@media screen and (max-width: 1170px) {
  .featured-post-section:first-child {
    max-width: 45%;
  }

  div#featured-posts a:not(:first-child) .post-section {
    padding: 20px;
  }

  .post-section {
    padding: 0 20px 20px;
  }

  .featured-articles p {
    font-size: 18px;
  }
}

@media screen and (max-width: 767px) {
  .top-featured-section {
    padding: 0 16px;
  }

  div#featured-posts {
    max-width: none;
    width: 100%;
    margin-top: 40px;
    flex-direction: column;
    row-gap: 20px;
  }

  .featured-post-section:first-child {
    max-width: 100%;
    width: 100%;
    min-height: 360px;
  }

  div#featured-posts a:not(:first-child) .post-section div p {
    -webkit-line-clamp: 2;
    margin-bottom: 22px;
    font-size: 16px;
  }

  .post-thumb {
    max-width: 120px;
    height: 80px;
  }

  .post-section {
    column-gap: 10px;
  }

  .post-section .post-content h3 {
    font-size: 10px;
  }

  .post-content p {
    font-size: 12px;
    margin-top: 0;
    -webkit-line-clamp: 3;
  }

  .trending-section {
    margin-top: 120px;
    padding: 80px 16px 178px;
    border-radius: 64px 64px 0 0;
  }

  #trending-posts {
    margin-top: 32px;
  }

  .footer {
    padding: 16px 6px 20px;
  }

  .footer ul li {
    font-size: 12px;
    line-height: 21px;
  }

  .footer ul li:hover {
    text-decoration: none;
  }

  .contact-bg-color {
    border-radius: 64px 64px 0 0;
    padding: 80px 16px 40px;
    margin-top: -156px;
  }

  .contact-us {
    flex-direction: column;
  }

  .contactuslabel {
    background: transparent;
    width: auto;
    height: auto;
    padding: 0;
    text-align: center;
  }

  h2.contact-us-title {
    margin: 0;
    text-align: center;
    font-size: 40px;
  }

  p.contact-sec-text {
    text-align: center;
    margin: 12px auto 0;
    font-size: 20px;
    line-height: normal;
    display: flex;
    justify-content: center;
  }

  p.contact-sec-text br {
    display: none;
  }

  .contact-us-right {
    padding: 24px 0 0px;
  }

  .contact-form {
    max-width: 100%;
    padding: 20px;
    border-radius: 8px;
    margin-top: 0;
  }

  .form-flex {
    flex-direction: column;
  }

  .dp-child-50 {
    margin-bottom: 16px;
  }

  .form-group input,
  .form-group textarea {
    border-radius: 4px;
    background: var(--color-white);
    box-shadow: 1.14px 1.14px 4.562px 0px rgba(0, 0, 0, 0.15);
    min-height: 56px;
    font-size: 16px;
  }

  .form-group:nth-child(3) .dp-child-50 {
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
  }

  .form-group button {
    min-height: 58px;
    font-size: 20px;
    border-radius: 4px;
  }

  .control-prev-btn,
  .control-next-btn {
    display: none;
  }

  .slider {
    flex-direction: column;
    overflow-x: visible;
  }

  .slide {
    width: 100%;
    max-width: none;
    min-width: 0;
    display: flex;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(63, 26, 84, 0.12);
    padding: 0 0 10px;
  }

  .slide:last-child {
    border: 0;
    margin-bottom: 0;
    padding-bottom: 0;
  }

  .trnding-content {
    display: flex;
    column-gap: 10px;
    flex-direction: column;
  }

  .trnding-content img {
    width: 100%;
    height: 180px;
    border-radius: 20px;
  }

  .trending-content-inner {
    margin-top: 16px;
  }

  .trending-content-inner img {
    width: auto;
    height: auto;
  }

  .trending-post-title {
    margin-top: 0;
  }

  .trending-post-copy {
    font-size: 16px;
    -webkit-line-clamp: 2;
    margin-top: 0px;
  }

  h2.lp-title {
    justify-content: center;
  }

  h2.lp-title p {
    margin-right: 0;
  }
}

@media screen and (min-width: 767px) {
  .top-section {
    min-height: 632px;
    border-radius: 0 0 80px 80px;
  }

  .featured-post-section:hover p,
  .slide:hover p {
    text-decoration: underline;
  }
}

@media screen and (min-width: 921px) {
  #navigation .logo {
    font-size: 28px;
  }

  #navigation .hamburger {
    display: none;
  }

  #navigation ul.menu-left {
    display: flex;
    padding: 0;
    text-align: center;
    align-items: center;
    justify-content: right;
    position: unset;
    min-height: 56px;
    transition: none;
  }

  #navigation .menu-left li a {
    color: var(--color-cream);
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 16px;
    text-decoration: none;
    padding: 0;
    text-transform: capitalize;
  }

  #navigation a:hover {
    text-decoration: underline;
  }

  #navigation ul.menu-left.collapse {
    background: transparent;
  }

  #navigation ul.menu-left li:not(:last-child)::after {
    content: '/';
    padding: 0 18px;
    color: var(--color-cream);
  }

  #navigation .menu-left li a:hover {
    text-decoration: underline;
    color: var(--color-white);
  }

  .hero-section-title {
    width: 100%;
    font-size: 56px;
    font-style: normal;
    line-height: normal;
    max-width: 896px;
    -webkit-line-clamp: 2;
  }

  .hero-section-btn {
    margin: 0;
    min-height: 69px;
    border-radius: 10px;
    font-size: 24px;
    max-width: 253px;
  }

  .hero-section-btn:hover {
    background: var(--color-gold-600);
  }

  .latest-post-section {
    padding: 120px 0px 98px;
  }

  .lp-article-desp h2 {
    font-size: 29px;
    line-height: 33px;
    margin: 15px auto 16px;
  }

  .lp-article-desp h3 {
    font-size: 14px;
    line-height: 19px;
    -webkit-line-clamp: 2;
  }

  .lp-article-desp button {
    font-size: 19px;
    margin-top: 12px;
  }

  .lp-article-desp button svg {
    width: 20px;
    height: 20px;
  }

  .lp-post-articles:hover .lp-article-desp button {
    text-decoration: underline;
  }

  .lp-post {
    margin-top: 32px;
  }

  .contact-bg-color {
    padding: 80px 20px 0;
  }

  .contact-us-left,
  .contact-us-right {
    width: 100%;
  }

  .contact-us-left {
    max-width: 681px;
  }

  .contact-us-right {
    padding: 40px 0 120px;
  }

  .form-group input,
  .form-group textarea {
    min-height: 70px;
    font-size: 20px;
    line-height: 30px;
    padding: 0 21px;
  }

  .form-group textarea {
    padding: 10px 21px;
    height: 190px;
  }

  .form-group:nth-child(3) .dp-child-50 {
    margin-bottom: 20px;
    display: flex;
  }

  .contact-form {
    max-width: 960px;
    padding: 40px;
  }

  .contact-sec-text {
    max-width: 100%;
    font-size: 18px;
    margin-bottom: 30px;
  }

  .dp-child-50 {
    margin-bottom: 20px;
    width: 100%;
  }

  .contact-sec-text br {
    display: none;
  }

  .form-group button {
    min-height: 69px;
    font-size: 24px;
  }

  .form-group button:hover {
    background: var(--color-gold-600);
  }
}

@media screen and (max-width: 359px) {
  .latest-post-section {
    margin: -134px auto 0;
  }
}
