/*
Theme Name: BT Must Reads
Theme URI: https://brandsntrends.hr
Description: Brands & Trends Must Reads - custom tema za BT Platformu 2026
Author: 24sata / BT
Version: 1.0
License: Proprietary
Text Domain: bt-must-reads
*/

@font-face {
  font-family: Dobra;
  src: url(./assets/fonts/Dobra-Book.ttf);
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: DobraBold;
  src: url(./assets/fonts/Dobra-Bold.ttf);
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ========================================
   CSS VARIABLES
   ======================================== */
:root {
  --bt-blue: #1000dd;
  --bt-green: #00ff00;
  --bt-black: #000000;
  --bt-white: #ffffff;
  --font-display: "eurostile-extended", "Impact", sans-serif;
  --font-body: "Dobra", sans-serif;
  --font-small: "Albert Sans", "Helvetica Neue", sans-serif;
  --card-radius: 28px;
  --card-border: 9px;
  --card-shadow: 0px 6px 16px 14px rgba(0, 0, 0, 0.32);
  --nav-radius: 27px;
  --layout-max: 1440px;
  --layout-gutter: 24px;
  --layout-available: calc(100% - var(--layout-gutter) - var(--layout-gutter));
  --max-width: var(--layout-max);
}

/* ========================================
   RESET & BASE
   ======================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  background: var(--bt-black);
  color: var(--bt-white);
  font-family: var(--font-body);
  overflow-x: hidden;
  line-height: 1.5;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ========================================
   BACKGROUND DECORATION
   ======================================== */
.contbg {
  position: relative;
  padding: 8rem 0 16rem 0;
  overflow: hidden;
  background-image: url("./assets/img/oblik-pozadina.png");
  background-repeat: no-repeat;
  background-position: center -10rem;
  background-size: 100%;
}

.bt-bg-shape {
  position: absolute;
  top: -80vh;
  left: 0;
  width: 100%;
  transform: rotate(356deg);
  pointer-events: none;
  z-index: 0;
}

.shapes {
  overflow: hidden;
  background-image: url("./assets/img/s1.png"), url("./assets/img/s2.png");
  background-repeat: no-repeat;
  background-position:
    left top,
    right bottom;
  background-size: 20%, contain;
}

.shape2 {
  background-image: url("./assets/img/bg2.png");
  background-size: cover;
  background-position: 50% -50vh;
}

.bt-bg-shape img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ========================================
   NAVIGATION
   ======================================== */
.bt-nav {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--layout-max);
  background: var(--bt-blue);
  border-radius: var(--nav-radius);
  height: 61px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
  z-index: 1000;
  margin: 1rem auto 0 auto;
}

.bt-nav__logo {
  height: 30px;
  flex-shrink: 0;
}

.bt-nav__logo img {
  height: 100%;
  width: auto;
}

.bt-nav__menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.bt-nav__menu a {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  color: var(--bt-white);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: opacity 0.2s ease;
  white-space: nowrap;
}

.bt-nav__menu a:hover,
.bt-nav__menu a.is-active {
  opacity: 0.7;
}

.bt-nav__hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.bt-nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--bt-white);
  margin: 5px 0;
  transition: 0.3s;
}

/* --- Dropdown podmeni --- */
.bt-nav__menu > li {
  position: relative;
}

.bt-nav__menu > li > a {
  display: block;
  padding: 8px 0;
}

/* Podmeni kontejner */
.bt-nav__menu .sub-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 260px;
  background: var(--bt-blue);
  border-radius: 16px;
  padding: 16px 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
  transform: translateX(-50%) translateY(8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  z-index: 100;
}

/* Nevidljivi bridge tako da hover ne puca kad miš ide prema podmenu */
.bt-nav__menu > li > .sub-menu::before {
  content: "";
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
}

/* Hover otvara podmeni */
.bt-nav__menu > li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* Podmeni linkovi */
.bt-nav__menu .sub-menu li a {
  display: block;
  padding: 8px 24px;
  font-size: 15px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  white-space: nowrap;
  color: var(--bt-white);
  transition:
    background 0.15s ease,
    color 0.15s ease;
}

.bt-nav__menu .sub-menu li a:hover {
  color: #0f0;
  font-weight: 700;
  opacity: 1;
}

/* Zeleni highlight link (za "O čemu želiš čitati..." itd.) */
.bt-nav__menu .sub-menu li a.is-highlight,
.bt-nav__menu .sub-menu li.bt-highlight > a {
  color: var(--bt-green);
  font-weight: 700;
  font-style: italic;
}

/* WP dodaje .menu-item-has-children automatski */
.menu-item-has-children > a::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 6px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--bt-white);
  vertical-align: middle;
  transition: transform 0.2s ease;
}

.menu-item-has-children:hover > a::after {
  transform: rotate(180deg);
}

/* ========================================
   HERO
   ======================================== */
.bt-hero {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 0;
  text-align: center;
}

.hero {
  width: 100%;
  max-width: var(--layout-max);
  margin: -1rem auto 0 auto;
  position: relative;
  z-index: 0;
}

.bt-hero__logo {
  width: min(578px, 80vw);
  margin-bottom: 30px;
}

.mrlogo {
  max-width: 317px;
  margin: 0 auto;
  display: block;
}

.bt-hero__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 66px);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.65em;
  color: var(--bt-white);
}

/* ========================================
   SECTION: OPIS
   ======================================== */
.bt-opis {
  position: relative;
  z-index: 1;
  margin: 40px auto;
  width: 100%;
  max-width: var(--layout-max);
  border-radius: 27px;
  background: #000;
  overflow: hidden;
}

.bt-opis::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid #fff;
  border-radius: 27px;
  pointer-events: none;
  z-index: 3;
}

.bt-opis__bg {
  position: relative;
  width: 100%;
}

.bt-opis__bg img {
  width: 100%;
  height: auto;
}

.bt-opis__content {
  position: relative;
  z-index: 2;
  background: #000;
  padding: 50px 0 50px 50px;
}

.bt-blue {
  background: #1000dd;
}

.bt-opis__text {
  font-family: var(--font-body);
  font-size: clamp(16px, 2vw, 24px);
  font-weight: 400;
  line-height: 1.6;
  color: var(--bt-white);
  max-width: 950px;
  margin: 0 auto;
}

.wp-block-heading {
  color: #fff;
  font-family: "eurostile-extended";
  font-size: 66px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  padding-bottom: 34px;
}

.has-medium-font-size {
  color: #fff;
  font-size: 24px !important;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin-top: 2rem;
}

/* ========================================
   ARTICLES GRID
   ======================================== */
.bt-articles {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 160px auto 60px auto;
  padding: 0;
}

.bt-articles__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* ========================================
   ARTICLE CARD
   ======================================== */
.bt-card {
  background: var(--bt-white);
  border: var(--card-border) solid var(--bt-blue);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.bt-card:hover {
  transform: translateY(-6px);
  box-shadow: 0px 10px 30px 16px rgba(0, 0, 0, 0.4);
}

.bt-card__image {
  width: 100%;
  aspect-ratio: 434 / 212;
  overflow: hidden;
  padding: 14px 14px 0;
}

.bt-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 22px;
}

.bt-card__body {
  padding: 20px 24px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.bt-card__title {
  font-family: var(--font-body);
  font-size: clamp(18px, 1.8vw, 27px);
  font-weight: 700;
  color: var(--bt-black);
  text-transform: uppercase;
  line-height: 1.2;
  margin-bottom: 12px;
}

.bt-card__excerpt {
  font-family: var(--font-body);
  font-size: clamp(14px, 1.2vw, 18px);
  font-weight: 400;
  color: var(--bt-black);
  line-height: 1.5;
}

.bt-card__link {
  display: inline-block;
  margin-top: auto;
  padding-top: 16px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  color: var(--bt-blue);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.bt-card__link:hover {
  text-decoration: underline;
}

/* ========================================
   CTA / PDF POPUP
   ======================================== */
.bt-cta {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 60px 40px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.bt-cta__diamond {
  width: 420px;
  flex-shrink: 0;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
  }
}

.bt-cta__buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bt-cta__btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bt-green);
  color: var(--bt-blue);
  border: 2px solid var(--bt-black);
  border-radius: 34px;
  font-family: var(--font-body);
  font-weight: 900;
  font-size: clamp(28px, 3.5vw, 51px);
  text-transform: uppercase;
  padding: 16px 60px;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    background 0.2s ease;
  text-decoration: none;
}

.bt-cta__btn-primary:hover {
  transform: scale(1.04);
  background: #33ff33;
}

.bt-cta__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bt-black);
  border-radius: 34px;
  padding: 12px 60px;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.bt-cta__btn-secondary:hover {
  transform: scale(1.04);
}

.bt-cta__btn-label {
  font-family: var(--font-body);
  font-size: clamp(20px, 2.5vw, 34px);
  text-transform: uppercase;
  text-align: center;
}

.bt-cta__btn-label span:first-child {
  color: var(--bt-green);
}

.bt-cta__btn-label span:last-child {
  color: var(--bt-white);
  margin-left: 8px;
}

/* ========================================
   FOOTER
   ======================================== */
.bt-footer {
  position: relative;
  z-index: 1;
  background: var(--bt-blue);
  padding: 40px 60px;
  margin-top: 60px;
  max-width: var(--layout-max);
  margin: 0 auto 2rem auto;
  border-radius: 20.222px;
}

.bt-footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bt-footer__logo {
  height: 40px;
}

.bt-footer__logo img {
  height: 100%;
  width: auto;
}

.bt-footer__links {
  display: flex;
  gap: 30px;
  list-style: none;
}

.bt-footer__links a {
  font-family: var(--font-small);
  font-size: 13px;
  font-weight: 500;
  color: var(--bt-white);
  transition: opacity 0.2s;
}

.bt-footer__links a:hover {
  opacity: 0.7;
}

.bt-footer__vl-logo {
  height: 50px;
}

.bt-footer__vl-logo img {
  height: 100%;
  width: auto;
}
/* ========================================
   SINGLE ARTICLE (open layout, no bg)
   ======================================== */
.bt-hero--article {
  padding-bottom: 30px;
}

.bt-article--open {
  position: relative;
  z-index: 1;
  max-width: var(--layout-max);
  margin: 0 auto 60px;
  padding: 0 24px;
}

.bt-article__header {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 20px;
}

.bt-article__author {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  color: var(--bt-green);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.bt-article__date {
  font-family: var(--font-small);
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
}

.bt-article--open .bt-article__title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 64px);
  color: var(--bt-white);
  text-transform: uppercase;
  line-height: 1.15;
  margin-bottom: 32px;
}

.bt-article--open .bt-article__hero-img {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 40px;
}

.bt-article--open .bt-article__hero-img img {
  width: 100%;
  height: auto;
  display: block;
}

.bt-article--open .bt-article__content {
  font-family: var(--font-body);
  font-size: clamp(16px, 1.3vw, 20px);
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.88);
}

.bt-article--open .bt-article__content p {
  padding-bottom: 87px;
  text-align: justify;
  color: #fff;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-indent: 35px;
}

.bt-article--open .bt-article__content h2,
.bt-article--open .bt-article__content h3 {
  color: #fff;
  font-size: 40px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.bt-article--open .bt-article__content img {
  border-radius: 16px;
  margin: 0 0 36px 0;
  width: 100%;
}

.bt-article--open .bt-article__content blockquote {
  border-left: 4px solid var(--bt-blue);
  padding-left: 24px;
  margin: 32px 0;
  font-style: italic;
  color: rgba(255, 255, 255, 0.65);
}

.bt-article--open .bt-article__content a {
  color: var(--bt-green);
  text-decoration: underline;
}

.bt-article--open .bt-article__external {
  margin-top: 40px;
}

.bt-article--open .bt-article__ext-link {
  display: inline-block;
  background: var(--bt-blue);
  color: var(--bt-white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: 30px;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.bt-article--open .bt-article__ext-link:hover {
  background: #0d00b3;
  transform: scale(1.03);
}

.bt-article--open .bt-article__back {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.bt-article--open .bt-article__back a {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  color: var(--bt-blue);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.bt-article--open .bt-article__back a:hover {
  color: var(--bt-green);
}

@media (max-width: 768px) {
  .bt-article__header {
    flex-direction: column;
    gap: 4px;
  }
}

/* ========================================
   PAGINATION
   ======================================== */
.bt-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 40px 0;
  position: relative;
  z-index: 1;
}

.bt-pagination a,
.bt-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  color: var(--bt-white);
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all 0.2s ease;
}

.bt-pagination a:hover {
  border-color: var(--bt-green);
  color: var(--bt-green);
}

.bt-pagination .current {
  background: var(--bt-blue);
  border-color: var(--bt-blue);
}

/* ========================================
   HOMEPAGE: 3 Linka grid
   ======================================== */
.bt-home-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  width: 100%;
  max-width: var(--layout-max);
  margin: 0 auto;
}

.bt-home-link {
  display: block;
  border-radius: var(--card-radius);
  overflow: hidden;
  background: var(--bt-white);
  border: var(--card-border) solid var(--bt-blue);
  box-shadow: var(--card-shadow);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  text-align: center;
  border-radius: 27px;
  border: 1px solid #fff;
  background: #000;
  padding: 1rem;
}

.bt-home-link:hover {
  transform: translateY(-6px);
  box-shadow: 0px 10px 30px 16px rgba(0, 0, 0, 0.4);
}

.bt-home-link__img {
  width: 100%;
  overflow: hidden;
}

.bt-home-link__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.bt-home-link__title {
  font-family: "eurostile-extended";
  font-size: clamp(20px, 2vw, 30px);
  font-weight: 400;
  color: #00ff00;
  text-transform: uppercase;
  padding: 20px;
  letter-spacing: 3px;
}

.minilogo {
  padding-left: 4rem;
  padding-top: 2rem;
}

.bt-home-link__label {
  display: inline-block;
  font-family: var(--font-small);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--bt-white);
  background: var(--bt-blue);
  padding: 4px 14px;
  border-radius: 20px;
  margin: 16px 20px 0;
}

.bt-home-link__label + .bt-home-link__title {
  padding-top: 8px;
}

/* ========================================
   HOMEPAGE: Video + Testimoniali
   ======================================== */
.bt-home-extra {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 60px auto;
  padding: 0 40px;
}

.bt-home-video {
  margin-bottom: 60px;
}

.bt-home-video__wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.bt-home-video__wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.bt-home-testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.bt-testimonial {
  background: rgba(16, 0, 221, 0.3);
  border: 2px solid rgba(16, 0, 221, 0.6);
  border-radius: 20px;
  padding: 30px;
}

.bt-testimonial__quote {
  font-family: var(--font-body);
  font-size: clamp(16px, 1.5vw, 20px);
  font-style: italic;
  color: var(--bt-white);
  line-height: 1.6;
  margin-bottom: 16px;
  border: none;
  padding: 0;
}

.bt-testimonial__author {
  font-family: var(--font-small);
  font-size: 14px;
  font-weight: 500;
  color: var(--bt-green);
}

/* ========================================
   GALLERY: Card za listu galerija
   ======================================== */
.bt-gallery-card {
  display: block;
  border-radius: var(--card-radius);
  overflow: hidden;
  background: var(--bt-white);
  border: var(--card-border) solid var(--bt-blue);
  box-shadow: var(--card-shadow);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  text-align: center;
}

.bt-gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: 0px 10px 30px 16px rgba(0, 0, 0, 0.4);
}

.bt-gallery-card__img {
  width: 100%;
  aspect-ratio: 434 / 280;
  overflow: hidden;
}

.bt-gallery-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.bt-gallery-card:hover .bt-gallery-card__img img {
  transform: scale(1.05);
}

.bt-gallery-card__title {
  font-family: var(--font-body);
  font-size: clamp(18px, 1.6vw, 24px);
  font-weight: 700;
  color: var(--bt-black);
  text-transform: uppercase;
  padding: 16px 20px 4px;
}

.bt-gallery-card__count {
  display: block;
  font-family: var(--font-small);
  font-size: 14px;
  color: #888;
  padding: 0 20px 20px;
}

/* ========================================
   GALLERY: Row layout (listing page)
   ======================================== */
.bt-galleries {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 140px auto 60px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.bt-gallery-row {
  display: flex;
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  max-height: 220px;
}

.bt-gallery-row:hover {
  transform: translateY(-4px);
  box-shadow: 0px 10px 30px 16px rgba(0, 0, 0, 0.4);
}

/* Prva kartica: bijela */
.bt-gallery-row--white {
  background: var(--bt-white);
  border: 3px solid var(--bt-black);
}

.bt-gallery-row--white .bt-gallery-row__title {
  color: var(--bt-black);
}

.bt-gallery-row--white .bt-gallery-row__excerpt {
  color: var(--bt-green);
}

/* Ostale kartice: plave */
.bt-gallery-row--blue {
  background: var(--bt-blue);
  border: 3px solid var(--bt-blue);
}

.bt-gallery-row--blue .bt-gallery-row__title {
  color: var(--bt-white);
}

.bt-gallery-row--blue .bt-gallery-row__excerpt {
  color: var(--bt-green);
}

.bt-gallery-row__img {
  width: 35%;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 20px;
  margin: 16px;
}

.bt-gallery-row__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bt-gallery-row__info {
  flex: 1;
  padding: 24px 40px 24px 16px;
  text-align: right;
}

.bt-gallery-row__title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.5vw, 48px);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  line-height: 1.3;
}

.bt-gallery-row__excerpt {
  font-family: var(--font-display);
  font-size: clamp(20px, 3vw, 42px);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  margin-top: 4px;
}

@media (max-width: 768px) {
  .bt-galleries {
    padding: 0 20px;
  }

  .bt-gallery-row {
    flex-direction: column;
    align-items: stretch;
  }

  .bt-gallery-row__img {
    width: calc(100% - 32px);
    aspect-ratio: 16 / 9;
  }

  .bt-gallery-row__info {
    padding: 16px 20px 24px;
  }
}
/* ========================================
   MASONRY GALLERY
   ======================================== */
.bt-masonry {
  columns: 3;
  column-gap: 16px;
  max-width: var(--layout-max);
  margin: 20px auto 180px auto;
}

.bt-masonry__item {
  display: block;
  break-inside: avoid;
  margin-bottom: 16px;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.bt-masonry__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.2s ease;
}

.bt-masonry__item:hover::after {
  background: rgba(0, 0, 0, 0.2);
}

.bt-masonry__item img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 1024px) {
  .bt-masonry {
    columns: 2;
  }
}

@media (max-width: 600px) {
  .bt-masonry {
    columns: 1;
    column-gap: 12px;
  }
  .bt-masonry__item {
    margin-bottom: 12px;
  }
}

/* ========================================
   LIGHTBOX
   ======================================== */
.bt-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.bt-lightbox.is-open {
  display: flex;
}

.bt-lightbox__img-wrap {
  max-width: 90vw;
  max-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bt-lightbox__img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.bt-lightbox__img.is-loaded {
  opacity: 1;
}

.bt-lightbox__close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: white;
  font-size: 48px;
  cursor: pointer;
  line-height: 1;
  z-index: 10;
  transition: opacity 0.2s;
}

.bt-lightbox__close:hover {
  opacity: 0.6;
}

.bt-lightbox__prev,
.bt-lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: white;
  font-size: 64px;
  cursor: pointer;
  padding: 0 16px;
  z-index: 10;
  transition: opacity 0.2s;
  line-height: 1;
}

.bt-lightbox__prev {
  left: 12px;
}
.bt-lightbox__next {
  right: 12px;
}
.bt-lightbox__prev:hover,
.bt-lightbox__next:hover {
  opacity: 0.6;
}

.bt-lightbox__counter {
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--font-small);
  font-size: 14px;
  margin-top: 16px;
}

/* ========================================
   WORKSHOPS: Aktualni workshop
   ======================================== */
.bt-workshop-current {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--layout-max);
  margin: 0 auto 40px;
  padding: 0;
}

.bt-workshop-current__inner {
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.bt-workshop-current__img {
  width: 100%;
  overflow: hidden;
}

.bt-workshop-current__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bt-workshop-current__content {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  color: #222;
}

.bt-workshop-current__content p {
  margin-bottom: 1em;
}

.bt-workshop-current__content h2,
.bt-workshop-current__content h3 {
  font-weight: 700;
  color: var(--bt-black);
  margin: 1em 0 0.5em;
}

/* ========================================
   SECTION TITLE
   ======================================== */
.bt-section-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--bt-white);
  text-align: center;
  margin-bottom: 40px;
}

/* ========================================
   STATIC PAGES (Let's Connect, Conference, fallback)
   ======================================== */

.wp-block-column {
  border-radius: 27px;
  padding: 32px 26px;
}

.wp-block-buttons .wp-block-button__link {
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 700;
}

strong {
  font-weight: 700;
}

.bt-static-page {
  position: relative;
  z-index: 1;
  max-width: var(--layout-max);
  margin: 0 auto 60px;
  padding: 0;
  background: none;
}

.bt-static-page__inner {
  background: none;
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  padding: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  color: #222;
}

.bt-static-page__inner h1,
.bt-static-page__inner h2,
.bt-static-page__inner h3 {
  font-weight: 700;
  color: var(--bt-black);
  margin: 1em 0 0.5em;
}

.bt-static-page__inner h1 {
  font-size: clamp(24px, 3vw, 38px);
  text-transform: uppercase;
}
.bt-static-page__inner h2 {
  font-size: clamp(20px, 2.5vw, 30px);
}

.bt-static-page__inner p {
  margin-bottom: 1em;
}
.bt-static-page__inner a {
  color: var(--bt-blue);
  text-decoration: underline;
}
.bt-static-page__inner img {
  border-radius: 12px;
  margin: 20px 0;
}
.bt-static-page__inner ul,
.bt-static-page__inner ol {
  padding-left: 1.5em;
  margin-bottom: 1em;
}

/* ========================================
   CONFERENCE (full-width, za position absolute layout)
   ======================================== */
.bt-conference {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto 60px;
  padding: 0 40px;
}

/* ========================================
   3-column modifier za workshops
   ======================================== */
.bt-articles__grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr 2fr;

  gap: 10px;
  width: 100%;
  max-width: var(--layout-max);
  margin: 0 auto;
  padding-top: 1.8rem;
  padding-bottom: 4rem;
}

/*addons*/

.txc {
  text-align: center;
}

.wp-block-buttons > .wp-block-button {
  width: 100%;
  margin-top: 2rem;
}

.wp-block-button__link {
  background: #0f0;
  color: #1e1e1e;
}

.rounded-row {
  border-radius: 27px;
  padding: 40px 80px;
  overflow: hidden;
  text-align: center;
  margin-top: 6rem;
}

h6 {
  color: #000;
  text-align: center;
  font-family: DobraBold !important;
  font-size: 36px !important;
  font-style: normal !important;
  font-weight: 700 !important;
  line-height: normal !important;
  letter-spacing: unset !important;
  margin-bottom: 1rem;
}

.bt-card__date {
  color: #0f0;
  font-size: 27.586px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  text-transform: uppercase;
}

.darkcard {
  border-radius: 28.647px;
  border: 1.006px solid var(--white-stroke, #fff);
  background: #000;
  box-shadow: 0 6.229px 16.662px 14.015px rgba(0, 0, 0, 0.32);
}

.darkcard .bt-card__title {
  font-family: Dobra;
  color: #fff;
  font-size: 27.586px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  text-transform: uppercase;
  margin-bottom: 0;
}

.darkcard .bt-card__excerpt {
  font-family: Dobra;
  color: #fff;
  font-size: 18.687px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .bt-articles__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bt-articles__grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .bt-home-links {
    grid-template-columns: repeat(2, 1fr);
  }
  .bt-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bt-cta {
    flex-direction: column;
  }
  .bt-cta__diamond {
    width: 300px;
  }
  .bt-opis__content {
    padding: 40px 50px;
  }
}

@media (max-width: 768px) {
  .bt-nav__menu {
    display: none;
    position: absolute;
    top: 70px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bt-blue);
    border-radius: 16px;
    flex-direction: column;
    padding: 20px;
    gap: 4px;
    width: 90%;
  }

  .bt-nav__menu.is-open {
    display: flex;
  }

  .bt-nav__hamburger {
    display: block;
  }

  /* Mobile: podmeni se otvara klikom (JS toggle) */
  .bt-nav__menu .sub-menu {
    position: static;
    transform: none;
    min-width: 0;
    width: 100%;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    padding: 4px 0 8px 16px;
    box-shadow: none;
    border-radius: 0;
    border-left: 2px solid rgba(255, 255, 255, 0.2);
    display: none;
  }

  .bt-nav__menu .sub-menu.is-open {
    display: block;
  }

  .bt-nav__menu .sub-menu li a {
    padding: 6px 12px;
    font-size: 14px;
  }

  .menu-item-has-children > a::after {
    transition: transform 0.2s ease;
  }

  .bt-articles__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .bt-hero__title {
    letter-spacing: 0.3em;
  }

  .bt-opis__content {
    padding: 30px 24px;
  }

  .bt-footer__inner {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .bt-footer__links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .bt-cta__diamond {
    width: 220px;
  }

  .bt-home-links {
    grid-template-columns: 1fr;
  }

  .bt-articles__grid--3 {
    grid-template-columns: 1fr;
  }

  .bt-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .bt-workshop-current {
    padding: 0;
  }
  .rounded-row {
    padding: 1rem;
  }
  .bt-workshop-current__content {
    padding: 24px 20px 30px;
  }

  .bt-static-page__inner {
    padding: 24px;
    font-size: 16px;
  }

  .bt-home-extra {
    padding: 0 20px;
  }

  .bt-gallery-single {
    padding: 0 20px;
  }

  .bt-conference,
  .contbg {
    padding: 0 20px;
  }
  .bt-nav {
    position: fixed;
    top: 0;
    border-radius: 0;
    margin-top: 0;
  }
  .bt-hero {
    padding-bottom: 0;
  }
  .bt-bg-shape {
    display: none;
  }
  .wp-block-heading {
    font-size: 2.5rem;
    letter-spacing: unset;
  }
  .herobar {
    width: 90%;
  }
  .has-medium-font-size {
    font-size: 19px !important;
  }
  .bt-footer {
    width: 90%;
    padding: 20px 10px;
  }
  .w90 {
    width: 90%;
  }
  .wp-block-column {
    padding: 32px 8px;
  }
}

.pt140 {
  padding-top: 140px;
}

.testgrid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4rem;
  padding: 1rem 0 4rem 0;
}

.h4green {
  color: #0f0;
  text-align: center;
  font-family: "eurostile-extended";
  font-size: 26.525px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 17.241px;
}
.h4blue {
  color: #1000dd;
  text-align: center;
  font-family: "eurostile-extended";
  font-size: 26.525px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 17.241px;
}

.page-template-page-lets-connect .bt-static-page__inner {
  box-shadow: none;
}
