@import url('https://fonts.googleapis.com/css2?family=Catamaran:wght@500;700;800&family=Quicksand:wght@400;500;600;700&display=swap');

:root {
  --cm-bg: #0f1713;
  --cm-surface: #17231c;
  --cm-surface-alt: #121b16;
  --cm-text: #f5efe2;
  --cm-muted: rgba(245, 239, 226, 0.75);
  --cm-mint: #2fa34d;
  --cm-mint-bright: #5fd37c;
  --cm-yellow: #f4d03f;
  --cm-gold: #eab63f;
  --cm-orange: #d9822b;
  --cm-border: rgba(244, 208, 63, 0.25);
  --cm-nav-grad: linear-gradient(90deg, #f4d03f 0%, #eab63f 52%, #2fa34d 100%);
  --cm-nav-grad-hover: linear-gradient(90deg, #f4d03f 0%, #5fd37c 65%, #2fa34d 100%);
}

html {
  font-size: 10px; /* 1.8rem = 18px */
}

body {
  font-family: 'Quicksand', sans-serif;
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1.8;
  color: var(--cm-text);
  background-color: var(--cm-bg);
  overflow-x: hidden;
}

p {
  font-size: 1.8rem;
  line-height: 1.85;
  margin: 1.4rem 0;
}

a {
  color: var(--cm-yellow);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover,
a:focus {
  color: var(--cm-gold);
}

h1,
h2,
h3,
h4,
.prettyfont {
  font-family: 'Catamaran', sans-serif !important;
  font-weight: 700 !important;
}

h1 {
  font-size: clamp(3.6rem, 4.5vw, 4.8rem);
  line-height: 1.15;
}

h2 {
  font-size: clamp(2.8rem, 3.5vw, 3.6rem);
  line-height: 1.2;
}

h3 {
  font-size: clamp(2.1rem, 2.5vw, 2.5rem);
  line-height: 1.25;
}

h4 {
  font-size: 1.9rem;
  line-height: 1.3;
}

img {
  max-width: 100%;
  height: auto;
}

blockquote {
  color: var(--cm-text);
  background: var(--cm-surface-alt);
  border-left: 4px solid var(--cm-orange);
  border-radius: 0 12px 12px 0;
  padding: 1.4rem 1.8rem;
  margin: 2rem 0;
  font-size: 1.85rem;
  font-style: italic;
}

hr.small {
  max-width: 120px;
  margin: 1.2rem auto;
  border: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cm-gold), transparent);
  opacity: 0.85;
}

/* NAVBAR */

.navbar-custom {
  left: 0;
  width: 100%;
  z-index: 30;
  font-family: 'Catamaran', sans-serif;
  border: 0;
  border-bottom: 1px solid var(--cm-border);
  border-radius: 0;
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
  background-color: rgba(15, 23, 19, 0.96);
  backdrop-filter: blur(8px);
}

.navbar-custom .navbar-brand,
.navbar-brand {
  font-family: 'Kalam', sans-serif !important;
  font-size: 3rem;
  font-weight: 800 !important;
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  background-image: var(--cm-nav-grad) !important;
  background-color: transparent !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  margin-right: 2rem;
  padding: 0;
}

.navbar-brand img {
  height: 52px;
  display: inline-block;
}

@media only screen and (max-width: 768px) {
  .navbar-custom .navbar-brand,
  .navbar-brand {
    font-size: 2.2rem;
  }

  .navbar-brand img {
    height: 36px;
  }
}

.navbar-custom .nav > li > a,
.navbar-custom .nav > li.active > a,
.navbar-default .navbar-nav > li > a,
.navbar-collapse .nav-item a,
.navbar-collapse .nav-link {
  display: inline-block;
  font-family: 'Quicksand', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 8px;
  padding: 0.8rem 1.3rem;
  background-image: var(--cm-nav-grad) !important;
  background-color: transparent !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.navbar-custom .nav > li > a:hover,
.navbar-custom .nav > li > a:focus,
.navbar-custom .nav > li.active > a,
.navbar-custom .nav > li.active > a:hover,
.navbar-custom .nav > li.active > a:focus,
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus,
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus,
.navbar-default .navbar-nav > .open > a,
.navbar-default .navbar-nav > .open > a:hover,
.navbar-default .navbar-nav > .open > a:focus,
.navbar-collapse .nav-item a:hover,
.navbar-collapse .nav-item a:focus,
.navbar-collapse .nav-item.active a {
  background-image: var(--cm-nav-grad-hover) !important;
  background-color: transparent !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  transform: translateY(-1px);
  filter: brightness(1.06);
}

.navbar-nav > li > form[name="langSwitcher"] {
  margin: 0;
  padding: 0.4rem 0.6rem;
}

/* HERO / INTRO HEADER */

.intro-header {
  background: linear-gradient(135deg, #0f1713 0%, #17241c 58%, #212e1d 100%);
  background-attachment: scroll;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-bottom: 2px solid var(--cm-gold);
  margin-bottom: 4rem;
}

.intro-header .site-heading,
.intro-header .post-heading,
.intro-header .page-heading {
  padding: 8rem 0 5rem;
  color: var(--cm-text);
}

@media only screen and (min-width: 768px) {
  .intro-header .site-heading,
  .intro-header .post-heading,
  .intro-header .page-heading {
    padding: 10rem 0 6.5rem;
  }
}

.intro-header .site-heading,
.intro-header .page-heading {
  text-align: center;
}

.intro-header .site-heading h1,
.intro-header .page-heading h1 {
  margin-top: 0;
  font-size: clamp(3.8rem, 5vw, 5.2rem);
  color: var(--cm-yellow);
}

.intro-header .site-heading .subheading,
.intro-header .page-heading .subheading {
  font-size: 2rem;
  line-height: 1.55;
  display: block;
  font-family: 'Quicksand', sans-serif;
  font-weight: 500;
  color: var(--cm-muted);
  margin: 1rem auto 0;
  max-width: 760px;
}

.intro-header .post-heading h1 {
  font-size: clamp(3.6rem, 4.8vw, 4.8rem);
  color: var(--cm-yellow);
}

.intro-header .post-heading .subheading {
  font-family: 'Quicksand', sans-serif;
  font-size: 2.1rem;
  line-height: 1.5;
  margin: 1rem 0 1.4rem;
  font-weight: 600;
  color: var(--cm-text);
}

.intro-header .post-heading .meta {
  font-family: 'Quicksand', sans-serif;
  font-style: italic;
  font-weight: 500;
  font-size: 1.8rem;
  color: var(--cm-muted);
}

.intro-header .post-heading .meta a {
  color: var(--cm-yellow);
}

/* POST LIST & ARTICLES */

.post-preview {
  background: var(--cm-surface);
  border: 1px solid rgba(245, 239, 226, 0.12);
  border-top: 3px solid var(--cm-gold);
  border-radius: 18px;
  padding: 2.6rem 3rem;
  margin-bottom: 3rem;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.25);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.post-preview:hover {
  transform: translateY(-4px);
  border-top-color: var(--cm-yellow);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.post-preview > a {
  color: var(--cm-yellow);
}

.post-preview > a:hover,
.post-preview > a:focus {
  text-decoration: none;
  color: var(--cm-gold);
}

.post-preview > a > .post-cover {
  max-width: 100%;
  border-radius: 12px;
  margin-bottom: 1.4rem;
}

.post-preview > a > .post-title {
  font-size: clamp(2.8rem, 3.6vw, 3.6rem);
  line-height: 1.2;
  margin-top: 0.4rem;
  margin-bottom: 0.8rem;
  color: var(--cm-yellow);
}

.post-preview > a > .post-subtitle {
  margin: 0 0 1rem;
  font-size: 1.85rem;
  line-height: 1.55;
  font-weight: 500;
  color: var(--cm-text);
}

.post-preview > .post-meta {
  color: var(--cm-muted);
  font-size: 1.8rem;
  line-height: 1.5;
  font-style: italic;
  margin-top: 0.6rem;
}

.post-preview > .post-meta > a {
  color: var(--cm-yellow);
}

.post-preview > .post-meta > a:hover,
.post-preview > .post-meta > a:focus {
  color: var(--cm-gold);
  text-decoration: underline;
}

.section-heading {
  font-size: 3rem;
  margin-top: 3.2rem;
  color: var(--cm-yellow);
}

.caption {
  text-align: center;
  font-size: 1.8rem;
  padding: 0.8rem;
  font-style: italic;
  color: var(--cm-muted);
  display: block;
}

h1.page-title {
  color: var(--cm-yellow);
  font-size: clamp(3.4rem, 4.5vw, 4.4rem);
  position: relative;
  text-align: center;
  padding: 0 0 1.4rem;
  margin: 0 0 2.2rem;
}

h1.page-title:after {
  content: "";
  position: absolute;
  height: 2px;
  background: linear-gradient(90deg, var(--cm-yellow), var(--cm-mint));
  border-radius: 999px;
  bottom: 0;
  left: 35%;
  right: 35%;
}

.posts article {
  background: var(--cm-surface);
  border: 1px solid rgba(245, 239, 226, 0.12);
  border-top: 3px solid var(--cm-gold);
  border-radius: 18px;
  padding: 2.8rem 3.2rem;
  margin-bottom: 3.5rem;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.25);
}

.posts article .post-image img {
  width: 100%;
  border-radius: 12px;
}

.posts article .post-header h2 {
  font-size: 2.8rem;
  color: var(--cm-yellow);
  padding-bottom: 0.6rem;
  margin: 0;
}

.posts article .post-content {
  font-size: 1.8rem;
  line-height: 1.85;
  color: var(--cm-text);
  padding: 1.4rem 0;
  text-align: left;
}

.posts article .post-content p {
  font-size: 1.8rem;
  margin: 1.3rem 0;
}

.posts article .post-meta {
  padding-top: 0;
  padding-bottom: 1rem;
  font-size: 1.8rem;
  color: var(--cm-muted);
}

.posts article .post-footer {
  background: var(--cm-surface-alt);
  border: 1px solid var(--cm-border);
  border-radius: 12px;
  padding: 1.2rem 1.5rem;
  font-size: 1.8rem;
}

.posts article .post-footer a {
  font-size: 1.8rem;
  margin: 0 0.4rem;
  color: var(--cm-yellow);
}

.posts article .post-profile {
  margin: 1.8rem 0 0;
  padding: 1.6rem 1.8rem;
  background: var(--cm-surface-alt);
  border: 1px solid var(--cm-border);
  border-radius: 14px;
  font-size: 1.8rem;
}

.posts article .post-profile img {
  width: 72px;
  float: left;
  margin-right: 1.5rem;
  margin-bottom: 0.6rem;
  border-radius: 50%;
  border: 2px solid var(--cm-gold);
}

.posts article .post-profile h2 {
  font-size: 2.4rem;
  color: var(--cm-yellow);
  margin: 0.2rem 0 0.6rem;
  padding: 0;
}

/* SIDEBAR */

.sidebar {
  padding-left: 1.8rem;
  padding-bottom: 4rem;
}

@media only screen and (max-width: 767px) {
  .sidebar {
    padding-left: 0;
  }
}

.sidebar .sidebar-content {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar .sidebar-content .widget {
  background: var(--cm-surface);
  border: 1px solid rgba(245, 239, 226, 0.12);
  border-top: 3px solid var(--cm-mint);
  border-radius: 16px;
  padding: 2rem 2.2rem;
  margin-bottom: 2.4rem;
  font-size: 1.8rem;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.sidebar .sidebar-content .widget h3 {
  padding: 0 0 1rem;
  margin: 0 0 1.2rem;
  font-size: 2.1rem;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--cm-border);
  color: var(--cm-yellow);
}

.sidebar .sidebar-content .widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar .sidebar-content .widget ul li {
  padding: 0.9rem 0.2rem;
  border-bottom: 1px solid rgba(245, 239, 226, 0.08);
  font-size: 1.8rem;
  line-height: 1.45;
}

.sidebar .sidebar-content .widget ul li:last-child {
  border-bottom: 0;
}

.sidebar .sidebar-content .widget ul li a {
  font-size: 1.8rem;
  line-height: 1.45;
  font-weight: 600;
  color: var(--cm-text);
}

.sidebar .sidebar-content .widget ul li a:hover {
  color: var(--cm-yellow);
}

.sidebar .sidebar-content .widget.profile {
  text-align: center;
}

.sidebar .sidebar-content .widget.profile img {
  padding: 0.4rem;
  border-radius: 50%;
  border: 2px solid var(--cm-gold);
  max-width: 150px;
  margin-bottom: 1rem;
}

/* FORMS, BUTTONS & PAGINATION */

.form-control {
  background-color: var(--cm-surface-alt);
  color: var(--cm-text);
  border: 1px solid var(--cm-border);
  border-radius: 10px;
  font-size: 1.8rem;
  height: auto;
  padding: 0.8rem 1.2rem;
}

.form-control:focus {
  background-color: var(--cm-surface-alt);
  color: var(--cm-text);
  border-color: var(--cm-yellow);
  box-shadow: 0 0 0 0.2rem rgba(244, 208, 63, 0.2);
}

.form-group {
  font-size: 1.8rem;
  position: relative;
  margin-bottom: 1.4rem;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--cm-border);
}

.form-group input,
.form-group textarea {
  color: var(--cm-text);
  border: none;
  font-size: 1.8rem;
  background: none;
  box-shadow: none !important;
}

.form-group label {
  color: var(--cm-muted);
  font-size: 1.8rem;
}

.form-group-with-focus label {
  color: var(--cm-yellow);
}

input::placeholder,
textarea::placeholder {
  color: var(--cm-muted) !important;
  opacity: 1;
  font-size: 1.8rem;
}

.btn,
.buttonCTA {
  font-family: 'Quicksand', sans-serif;
  text-transform: none;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: 999px;
  padding: 0.9rem 2.2rem;
  border: 1.5px solid var(--cm-yellow);
  background: rgba(15, 23, 19, 0.65);
  color: var(--cm-yellow);
  transition: transform 0.16s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover,
.btn:focus,
.buttonCTA:hover,
.buttonCTA:focus-visible,
.buttonCTA:active {
  background: var(--cm-yellow);
  border-color: var(--cm-yellow);
  color: var(--cm-bg);
  transform: translateY(-1px);
}

.pager {
  margin: 2rem 0 0;
}

.pager li > a,
.pager li > span {
  font-family: 'Quicksand', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  padding: 0.9rem 2rem;
  background-color: var(--cm-surface);
  color: var(--cm-yellow);
  border: 1.5px solid var(--cm-yellow);
  border-radius: 999px;
}

.pager li > a:hover,
.pager li > a:focus {
  color: var(--cm-bg);
  background-color: var(--cm-yellow);
  border-color: var(--cm-yellow);
}

.pager .disabled > a,
.pager .disabled > a:hover,
.pager .disabled > a:focus,
.pager .disabled > span {
  color: var(--cm-muted);
  background-color: var(--cm-surface-alt);
  border-color: rgba(245, 239, 226, 0.15);
  cursor: not-allowed;
}

.pagination > li > a,
.pagination > li > span {
  font-size: 1.8rem;
  color: var(--cm-text);
  background-color: var(--cm-surface);
  border-color: var(--cm-border);
}

.pagination > li > a:hover,
.pagination > li > span:hover {
  color: var(--cm-yellow);
  background-color: var(--cm-surface-alt);
}

.pagination > .active > a,
.pagination > .active > a:focus,
.pagination > .active > a:hover,
.pagination > .active > span,
.pagination > .active > span:focus,
.pagination > .active > span:hover {
  border-color: var(--cm-yellow);
  background: var(--cm-yellow);
  color: var(--cm-bg);
}

::selection {
  color: var(--cm-bg);
  background: var(--cm-yellow);
}

/* GALLERY & EXTRAS */

.gallery > div[class*="col-"] .thumbnail {
  position: relative;
  overflow: hidden;
  margin-bottom: 1rem;
  border-radius: 12px;
  border: 1px solid var(--cm-border);
}

.gallery > div[class*="col-"] .thumbnail img {
  transform: scale(1.05);
  transition: transform 0.5s ease;
}

.gallery > div[class*="col-"] .thumbnail img:hover {
  transform: scale(1.12);
}

#disqus_thread {
  margin-top: 2.5rem;
  background: var(--cm-surface);
  border: 1px solid var(--cm-border);
  border-radius: 16px;
  padding: 2rem;
  font-size: 1.8rem;
}

.blackglass {
  background-color: rgba(15, 23, 19, 0.82);
}

form[name="langSwitcher"] > .form-control {
  background-color: var(--cm-surface);
  color: var(--cm-text);
  border-color: var(--cm-border);
  font-size: 1.8rem;
}

/* FOOTER */

footer {
  min-height: 100px;
  height: auto;
  background: linear-gradient(90deg, #e8c547 0%, #eab63f 100%);
  color: var(--cm-bg);
  text-align: center;
  border-top: 2px solid var(--cm-bg);
  padding: 1.8rem 1.5rem;
  font-size: 1.8rem;
}

footer a {
  color: var(--cm-bg);
  font-size: 1.8rem;
  font-weight: 700;
}

footer a:hover {
  text-decoration: underline;
}

footer .list-inline {
  margin: 0;
  padding: 0;
}

footer .copyright {
  font-size: 1.8rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 0;
}