/*
Theme Name: Starenica Community
Theme URI: https://udruzenjestarenica.eu
Author: OpenAI
Author URI: https://openai.com
Description: Moderna WordPress tema za Udruženje STARENICA.
Version: 1.1.0
Text Domain: starenica-community
*/

:root{
  --sc-bg:#f5f7fb;
  --sc-surface:#ffffff;
  --sc-text:#102a43;
  --sc-muted:#5f6c7b;
  --sc-primary:#1f8f9e;
  --sc-primary-dark:#123456;
  --sc-secondary:#e2ad39;
  --sc-dark:#081a2c;
  --sc-border:#e5edf4;
  --sc-shadow:0 10px 30px rgba(10,30,66,.08);
  --sc-radius:22px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Arial, Helvetica, sans-serif;
  color:var(--sc-text);
  background:var(--sc-bg);
  line-height:1.65;
}
img{max-width:100%;height:auto;display:block}
a{text-decoration:none;color:var(--sc-primary)}
a:hover{opacity:.92}

.container{
  width:min(1180px, calc(100% - 32px));
  margin-inline:auto;
}

.site-topbar{
  background:var(--sc-primary-dark);
  color:#d9edf2;
  font-size:15px;
}
.site-topbar .container{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  padding:10px 0;
}
.site-topbar a{color:#3dd5df}

.site-topbar-left,
.site-topbar-right{
  display:flex;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
}

.site-topbar-right a{
  display:inline-flex;
  align-items:center;
  gap:6px;
}

.site-branding{
  position:relative;
  overflow:hidden;
  background:linear-gradient(135deg, #214b73 0%, #2d8b96 100%);
  color:#fff;
}
.branding-inner{
  padding:68px 0 84px;
}
.branding-kicker,
.hero-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  background:rgba(255,255,255,.16);
  color:#fff;
  padding:10px 16px;
  border-radius:999px;
  font-weight:700;
  margin-bottom:20px;
}
.site-title{
  font-size:clamp(42px, 7vw, 76px);
  line-height:1;
  margin:0 0 14px;
  color:#fff;
  font-weight:800;
  letter-spacing:-1px;
}
.site-description{
  margin:0;
  font-size:clamp(20px, 2vw, 24px);
  color:#effaff;
  max-width:820px;
}
.hero-actions,
.hero-main-actions{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin-top:28px;
}

.sc-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:52px;
  padding:0 22px;
  border-radius:999px;
  border:1px solid transparent;
  background:var(--sc-primary);
  color:#fff;
  font-weight:700;
  box-shadow:var(--sc-shadow);
  transition:.25s ease;
}
.sc-button:hover{
  transform:translateY(-2px);
  opacity:1;
}
.sc-button.gold{
  background:var(--sc-secondary);
  color:#1f1f1f;
}
.sc-button.alt{
  background:transparent;
  border-color:rgba(255,255,255,.5);
  color:#fff;
}

.main-nav{
  background:#041423;
  color:#fff;
  position:sticky;
  top:0;
  z-index:100;
}
.main-nav .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:16px 0;
}
.menu-toggle{
  display:none;
  background:#0e2d47;
  color:#fff;
  border:0;
  border-radius:12px;
  padding:10px 14px;
  font-weight:700;
}
.primary-menu{
  display:flex;
  flex-wrap:wrap;
  gap:16px;
  list-style:none;
  margin:0;
  padding:0;
}
.primary-menu li{margin:0}
.primary-menu a{
  color:#fff;
  font-weight:700;
  padding:8px 4px;
  display:block;
}
.nav-cta{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}
.nav-cta .sc-button{
  min-height:44px;
  padding:0 18px;
  box-shadow:none;
}

.hero-slider{
  position:relative;
}
.hero-slides{
  position:relative;
  min-height:520px;
}
.hero-slide{
  position:absolute;
  inset:0;
  opacity:0;
  visibility:hidden;
  transition:opacity .7s ease, visibility .7s ease;
  background-size:cover;
  background-position:center;
}
.hero-slide::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,.1), rgba(0,0,0,.2));
}
.hero-slide.is-active{
  opacity:1;
  visibility:visible;
  position:relative;
}
.hero-slide-inner{
  position:relative;
  z-index:2;
  min-height:520px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  color:#fff;
}
.hero-main-title{
  font-size:clamp(44px, 7vw, 82px);
  line-height:1;
  margin:0 0 16px;
  font-weight:800;
  letter-spacing:-1px;
}
.hero-main-text{
  max-width:760px;
  margin:0;
  font-size:clamp(20px, 2vw, 28px);
  color:#effaff;
}
.hero-slider-controls{
  position:absolute;
  left:0;
  right:0;
  bottom:24px;
  z-index:3;
  display:flex;
  align-items:center;
  justify-content:space-between;
  pointer-events:none;
}
.hero-nav{
  pointer-events:auto;
  width:50px;
  height:50px;
  border-radius:50%;
  border:0;
  font-size:28px;
  background:rgba(255,255,255,.18);
  color:#fff;
  cursor:pointer;
  backdrop-filter:blur(6px);
}
.hero-dots{
  display:flex;
  gap:10px;
  pointer-events:auto;
}
.hero-dot{
  width:12px;
  height:12px;
  border-radius:50%;
  border:0;
  background:rgba(255,255,255,.45);
  cursor:pointer;
}
.hero-dot.is-active{
  background:#fff;
  transform:scale(1.15);
}

.site-main{
  padding:0 0 64px;
}
.section-space{
  margin-top:34px;
}
.section-head{
  margin-bottom:18px;
}
.section-title{
  margin:0 0 10px;
  font-size:clamp(30px, 4vw, 48px);
  line-height:1.15;
}
.section-lead{
  margin:0;
  color:var(--sc-muted);
  font-size:18px;
}

.card{
  background:var(--sc-surface);
  border-radius:var(--sc-radius);
  box-shadow:var(--sc-shadow);
  padding:28px;
  border:1px solid var(--sc-border);
}
.badge{
  display:inline-flex;
  padding:9px 14px;
  border-radius:999px;
  background:#e9f7f7;
  color:var(--sc-primary);
  font-weight:700;
  font-size:14px;
}

.grid{
  display:grid;
  gap:24px;
}
.grid-2{
  grid-template-columns:repeat(2,minmax(0,1fr));
}
.grid-3{
  grid-template-columns:repeat(3,minmax(0,1fr));
}

.icon-card{
  transition:transform .25s ease, box-shadow .25s ease;
}
.icon-card:hover,
.news-card:hover,
.gallery-item:hover{
  transform:translateY(-6px);
}
.feature-icon{
  width:56px;
  height:56px;
  border-radius:18px;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg, var(--sc-primary), #43b9c5);
  color:#fff;
  font-weight:800;
  margin-bottom:16px;
}

.highlight-strip{
  background:linear-gradient(135deg, #0f2742, #225d8f);
  color:#fff;
  border-radius:28px;
  padding:34px;
  box-shadow:var(--sc-shadow);
}
.highlight-strip p{color:#e7f4ff}

.posts-grid .news-card{
  padding:0;
  overflow:hidden;
}
.news-thumb{
  min-height:220px;
  background:#d8ecf0;
}
.news-thumb img{
  width:100%;
  height:220px;
  object-fit:cover;
}
.news-thumb-placeholder{
  min-height:220px;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg,#dceef1,#b9dfe6);
  color:#134052;
  font-size:24px;
  font-weight:800;
  letter-spacing:1px;
}
.news-content{
  padding:22px;
}
.post-meta{
  color:var(--sc-muted);
  font-size:14px;
  margin-bottom:8px;
}
.news-title{
  margin:0 0 12px;
  font-size:24px;
  line-height:1.2;
}
.news-title a{color:var(--sc-text)}
.news-excerpt{
  color:var(--sc-muted);
}

.gallery-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px;
}
.gallery-item{
  min-height:220px;
  border-radius:24px;
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  display:flex;
  align-items:flex-end;
  padding:22px;
  box-shadow:var(--sc-shadow);
  overflow:hidden;
  position:relative;
}
.gallery-item::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.45));
}
.gallery-item span{
  position:relative;
  z-index:1;
  display:inline-flex;
  background:rgba(4,20,35,.78);
  color:#fff;
  padding:10px 14px;
  border-radius:999px;
  font-weight:700;
}

.newsletter{
  display:grid;
  grid-template-columns:1.3fr 1fr;
  gap:22px;
  align-items:center;
  background:var(--sc-surface);
  border-radius:28px;
  box-shadow:var(--sc-shadow);
  padding:30px;
  border:1px solid var(--sc-border);
}
.newsletter form{
  display:flex;
  flex-direction:column;
  gap:12px;
}
.newsletter input{
  height:54px;
  border:1px solid var(--sc-border);
  border-radius:16px;
  padding:0 16px;
  font-size:16px;
}
.newsletter button{
  height:54px;
  border:0;
  border-radius:16px;
  background:var(--sc-primary);
  color:#fff;
  font-weight:700;
  cursor:pointer;
}

.stats-strip{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
  margin-top:32px;
}

.stat-card{
  background:#fff;
  border:1px solid var(--sc-border);
  box-shadow:var(--sc-shadow);
  border-radius:24px;
  padding:24px;
  text-align:center;
}

.stat-number{
  font-size:clamp(28px,4vw,44px);
  font-weight:800;
  line-height:1;
  color:var(--sc-primary);
  margin-bottom:10px;
}

.stat-label{
  color:var(--sc-muted);
  font-weight:700;
}

.content-wrap{
  display:grid;
  grid-template-columns:minmax(0, 1fr) 320px;
  gap:28px;
  padding-top:32px;
}
.sidebar .widget{
  background:#fff;
  border-radius:20px;
  padding:22px;
  box-shadow:var(--sc-shadow);
  border:1px solid var(--sc-border);
  margin-bottom:20px;
}
.widget-title{
  margin:0 0 14px;
  font-size:22px;
}

.site-footer{
  background:#081a2c;
  color:#d3e1eb;
  margin-top:56px;
}
.footer-grid{
  display:grid;
  grid-template-columns:1.2fr .8fr .8fr;
  gap:28px;
  padding:48px 0 26px;
}
.site-footer h3,
.site-footer h4{
  color:#fff;
  margin-top:0;
}
.site-footer ul{
  list-style:none;
  padding:0;
  margin:0;
}
.site-footer li{
  margin-bottom:10px;
}
.site-footer a{color:#6ae5ef}
.footer-bottom{
  padding:18px 0 28px;
  border-top:1px solid rgba(255,255,255,.08);
  color:#b2c4d0;
}

.sticky-problem{
  position:fixed;
  right:22px;
  bottom:22px;
  z-index:120;
}
.sticky-problem a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:58px;
  padding:0 24px;
  border-radius:999px;
  background:var(--sc-secondary);
  color:#1b1b1b;
  font-weight:800;
  box-shadow:0 16px 40px rgba(0,0,0,.2);
}

.reveal{
  opacity:0;
  transform:translateY(24px);
  transition:opacity .7s ease, transform .7s ease;
}
.reveal.revealed{
  opacity:1;
  transform:none;
}

.screen-reader-text{
  position:absolute!important;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}

.starenica-contact-form-wrap{
  background:#fff;
  border:1px solid var(--sc-border);
  box-shadow:var(--sc-shadow);
  border-radius:24px;
  padding:28px;
}

.starenica-contact-form{
  display:flex;
  flex-direction:column;
  gap:18px;
}

.starenica-form-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
}

.starenica-form-group{
  display:flex;
  flex-direction:column;
  gap:8px;
}

.starenica-form-group label{
  font-weight:700;
  color:var(--sc-text);
}

.starenica-contact-form input,
.starenica-contact-form textarea,
.starenica-contact-form select{
  width:100%;
  border:1px solid var(--sc-border);
  border-radius:16px;
  padding:14px 16px;
  font-size:16px;
  font-family:inherit;
  background:#fff;
  color:var(--sc-text);
}

.starenica-contact-form textarea{
  resize:vertical;
  min-height:180px;
}

.starenica-contact-form input[type="file"]{
  padding:12px;
  background:#fff;
}

.starenica-contact-form small{
  color:var(--sc-muted);
  display:block;
  margin-top:6px;
}

.starenica-form-alert{
  margin-bottom:18px;
  padding:14px 16px;
  border-radius:14px;
  font-weight:700;
}

.starenica-form-alert.success{
  background:#e8fff3;
  color:#0c7a43;
  border:1px solid #b9ebcf;
}

.starenica-form-alert.error{
  background:#fff1f1;
  color:#b42318;
  border:1px solid #f3c7c7;
}

.page-wrap{
  padding-top:32px;
  padding-bottom:20px;
}

.page-card{
  background:#fff;
  border:1px solid var(--sc-border);
  box-shadow:var(--sc-shadow);
  border-radius:28px;
  padding:32px;
}

.page-header{
  margin-bottom:24px;
}

.page-title{
  margin:12px 0 0;
  font-size:clamp(32px,4vw,52px);
  line-height:1.1;
  color:var(--sc-text);
}

.page-featured-image{
  margin-bottom:24px;
  border-radius:22px;
  overflow:hidden;
}

.page-featured-image img{
  width:100%;
  height:auto;
  display:block;
}

.page-content{
  color:var(--sc-text);
  font-size:18px;
  line-height:1.75;
}

.page-content p{
  margin:0 0 18px;
}

.page-content h2,
.page-content h3,
.page-content h4{
  margin:30px 0 14px;
  line-height:1.2;
  color:var(--sc-text);
}

.page-content ul,
.page-content ol{
  margin:0 0 20px 22px;
}

.page-content blockquote{
  margin:24px 0;
  padding:18px 22px;
  border-left:4px solid var(--sc-primary);
  background:#f6fbfc;
  border-radius:16px;
}

.page-content a{
  color:var(--sc-primary);
  font-weight:600;
}

.status-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:6px 12px;
  border-radius:999px;
  font-size:13px;
  font-weight:700;
}

.status-novo{
  background:#eef6ff;
  color:#1d4ed8;
}

.status-u-toku{
  background:#fff7e8;
  color:#b45309;
}

.status-rijeseno{
  background:#ecfdf3;
  color:#15803d;
}

@media (max-width: 1024px){
  .grid-3,
  .gallery-grid,
  .footer-grid,
  .newsletter,
  .content-wrap{
    grid-template-columns:1fr;
  }

  .main-nav .container{
    align-items:flex-start;
    flex-direction:column;
  }

  .nav-cta{
    width:100%;
  }

  .hero-slides,
  .hero-slide-inner{
    min-height:480px;
  }

  .stats-strip{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media (max-width: 768px){
  .site-topbar .container{
    flex-direction:column;
    align-items:flex-start;
  }

  .site-topbar-left,
  .site-topbar-right{
    width:100%;
  }

  .menu-toggle{
    display:inline-flex;
  }

  .primary-menu{
    display:none;
    width:100%;
    flex-direction:column;
    gap:6px;
    padding-top:10px;
  }

  .primary-menu.is-open{
    display:flex;
  }

  .hero-main-title{
    font-size:48px;
  }

  .hero-main-text{
    font-size:20px;
  }

  .hero-slider-controls{
    bottom:16px;
  }

  .hero-nav{
    width:44px;
    height:44px;
  }

  .card,
  .highlight-strip,
  .newsletter,
  .starenica-contact-form-wrap,
  .page-card{
    padding:22px;
  }

  .page-title{
    font-size:34px;
  }

  .page-content{
    font-size:17px;
  }

  .starenica-form-grid{
    grid-template-columns:1fr;
  }

  .stats-strip{
    grid-template-columns:1fr;
  }

  .sticky-problem{
    right:14px;
    bottom:14px;
  }

  .sticky-problem a{
    min-height:52px;
    padding:0 18px;
  }
}
/* ===== PREMIUM HEADER / MODERNIJI IZGLED ===== */

.site-topbar{
  position:relative;
  z-index:120;
  background:rgba(10, 28, 48, .92);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(255,255,255,.08);
}

.site-topbar .container{
  min-height:48px;
}

.topbar-item{
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:0 10px;
  border-radius:999px;
  background:rgba(255,255,255,.06);
  color:#dff7fb;
}

.site-topbar a.topbar-item{
  transition:all .25s ease;
}

.site-topbar a.topbar-item:hover{
  background:rgba(255,255,255,.14);
  color:#ffffff;
  transform:translateY(-1px);
}

.social-link{
  font-weight:700;
}

.site-branding{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at top left, rgba(255,255,255,.14), transparent 30%),
    radial-gradient(circle at bottom right, rgba(255,255,255,.1), transparent 28%),
    linear-gradient(135deg, #1e4e78 0%, #2d8b96 100%);
  color:#fff;
}

.site-branding::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.12));
  pointer-events:none;
}

.branding-inner{
  position:relative;
  z-index:2;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
  padding:44px 0 50px;
}

.branding-left{
  display:flex;
  align-items:center;
  gap:20px;
  min-width:0;
}

.site-logo{
  flex:0 0 auto;
}

.site-logo-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:90px;
  height:90px;
  border-radius:24px;
  background:rgba(255,255,255,.1);
  border:1px solid rgba(255,255,255,.14);
  box-shadow:0 12px 30px rgba(0,0,0,.14);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
  overflow:hidden;
}

.site-logo .custom-logo-link{
  display:block;
}

.site-logo img,
.site-logo .custom-logo{
  max-width:64px;
  max-height:64px;
  width:auto;
  height:auto;
  display:block;
}

.branding-text-wrap{
  min-width:0;
}

.branding-kicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  background:rgba(255,255,255,.14);
  color:#fff;
  padding:10px 16px;
  border-radius:999px;
  font-weight:700;
  margin-bottom:16px;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.08);
}

.site-title{
  margin:0 0 10px;
  font-size:clamp(34px,5vw,68px);
  line-height:1.02;
  font-weight:800;
  letter-spacing:-1px;
  color:#fff;
  text-wrap:balance;
}

.site-description{
  margin:0;
  max-width:760px;
  font-size:clamp(17px, 2vw, 24px);
  color:#eefcff;
  opacity:.96;
}

.header-hero-actions{
  flex:0 0 auto;
  justify-content:flex-end;
}

.header-hero-actions .sc-button{
  min-height:54px;
  padding:0 22px;
}

.main-nav{
  position:sticky;
  top:0;
  z-index:130;
  background:rgba(4, 20, 35, .88);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(255,255,255,.06);
  box-shadow:0 8px 30px rgba(0,0,0,.12);
}

.main-nav .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:14px 0;
}

.primary-menu-wrap{
  display:flex;
  align-items:center;
  flex:1 1 auto;
  min-width:0;
}

.primary-menu{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px 18px;
  list-style:none;
  margin:0;
  padding:0;
}

.primary-menu li{
  margin:0;
}

.primary-menu a{
  position:relative;
  display:block;
  color:#fff;
  font-weight:700;
  padding:10px 2px;
  transition:color .25s ease;
}

.primary-menu a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:3px;
  width:0;
  height:2px;
  border-radius:999px;
  background:var(--sc-secondary);
  transition:width .25s ease;
}

.primary-menu a:hover{
  color:#ffffff;
}

.primary-menu a:hover::after,
.primary-menu .current-menu-item > a::after,
.primary-menu .current_page_item > a::after{
  width:100%;
}

.nav-cta{
  display:flex;
  align-items:center;
  gap:12px;
  flex:0 0 auto;
}

.nav-cta .sc-button{
  min-height:46px;
  padding:0 18px;
  box-shadow:none;
}

.menu-toggle{
  display:none;
  background:rgba(255,255,255,.08);
  color:#fff;
  border:1px solid rgba(255,255,255,.12);
  border-radius:14px;
  padding:10px 14px;
  font-weight:700;
}

.menu-toggle:hover{
  background:rgba(255,255,255,.14);
}

/* malo elegantniji sticky button */
.sticky-problem a{
  background:linear-gradient(135deg, #efbd4b 0%, #e2ad39 100%);
  color:#1b1b1b;
  box-shadow:0 18px 35px rgba(0,0,0,.18);
}

/* ===== RESPONSIVE ===== */

@media (max-width: 1100px){
  .branding-inner{
    flex-direction:column;
    align-items:flex-start;
  }

  .header-hero-actions{
    justify-content:flex-start;
  }
}

@media (max-width: 900px){
  .main-nav .container{
    align-items:flex-start;
    flex-direction:column;
  }

  .menu-toggle{
    display:inline-flex;
  }

  .primary-menu-wrap{
    width:100%;
    display:none;
  }

  .primary-menu-wrap.is-open{
    display:block;
  }

  .primary-menu{
    width:100%;
    flex-direction:column;
    align-items:flex-start;
    gap:4px;
    padding-top:10px;
  }

  .primary-menu a{
    width:100%;
    padding:10px 0;
  }

  .nav-cta{
    width:100%;
    flex-wrap:wrap;
  }
}

@media (max-width: 768px){
  .site-topbar .container{
    flex-direction:column;
    align-items:flex-start;
    padding:10px 0;
  }

  .site-topbar-left,
  .site-topbar-right{
    width:100%;
  }

  .branding-left{
    flex-direction:column;
    align-items:flex-start;
  }

  .site-logo-link{
    width:76px;
    height:76px;
    border-radius:20px;
  }

  .site-logo img,
  .site-logo .custom-logo{
    max-width:54px;
    max-height:54px;
  }

  .site-title{
    font-size:clamp(30px, 10vw, 48px);
  }

  .site-description{
    font-size:17px;
  }

  .header-hero-actions{
    width:100%;
  }

  .header-hero-actions .sc-button{
    flex:1 1 auto;
  }
}
/* =========================================================
   ČLANARINA PRO / KOMPAKTNA
========================================================= */

.starenica-membership-pro {
	max-width: 820px;
	margin: 0 auto;
	padding: 24px;
	border-radius: 22px;
}

.starenica-membership-pro .starenica-contact-form {
	gap: 14px;
}

.starenica-membership-pro .starenica-form-grid {
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}

.starenica-membership-pro .starenica-form-group {
	gap: 6px;
	margin-bottom: 10px;
}

.starenica-membership-pro .starenica-form-group label {
	color: #ffffff !important;
	font-size: 14px;
	font-weight: 700;
	margin-bottom: 4px;
}

.starenica-membership-pro input[type="text"],
.starenica-membership-pro input[type="email"],
.starenica-membership-pro input[type="date"],
.starenica-membership-pro select,
.starenica-membership-pro textarea {
	min-height: 46px;
	padding: 12px 14px;
	border-radius: 14px;
	font-size: 14px;
	border: 1px solid rgba(255,255,255,0.15);
	background: rgba(255,255,255,0.10);
	color: #ffffff;
}

.starenica-membership-pro textarea {
	min-height: 120px;
	resize: vertical;
}

.starenica-membership-pro input::placeholder,
.starenica-membership-pro textarea::placeholder {
	color: rgba(255,255,255,0.70);
}

.starenica-membership-pro select option {
	color: #111;
	background: #fff;
}

.starenica-phone-wrap {
	display: grid;
	grid-template-columns: 110px 1fr;
	gap: 10px;
}

#sm_phone_code {
	text-align: center;
	font-weight: 700;
	background: rgba(255,255,255,0.14) !important;
}

.starenica-form-check {
	margin-top: 4px;
}

.starenica-checkbox-wrap {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	line-height: 1.5;
	color: #fff;
	font-size: 14px;
}

.starenica-checkbox-wrap input[type="checkbox"] {
	width: 18px;
	height: 18px;
	margin-top: 2px;
	flex: 0 0 auto;
}

.starenica-form-actions {
	display: flex;
	justify-content: center;
	margin-top: 8px;
}

.starenica-membership-pro .sc-button.gold {
	min-height: 48px;
	padding: 0 20px;
	font-size: 15px;
	min-width: 240px;
}

@media (max-width: 768px) {
	.starenica-membership-pro {
		padding: 18px;
	}

	.starenica-membership-pro .starenica-form-grid {
		grid-template-columns: 1fr;
	}

	.starenica-phone-wrap {
		grid-template-columns: 1fr;
	}

	.starenica-membership-pro .sc-button.gold {
		width: 100%;
		min-width: 100%;
	}
}
<?php
/* Template Name: Članarina */

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

get_header();
?>

<main class="site-main">
	<div class="container page-wrap">

		<div class="membership-layout">

			<div class="membership-info card">
				<span class="badge">Članarina</span>
				<h2>Zašto se učlaniti?</h2>

				<ul>
					<li>✔ Učešće u aktivnostima udruženja</li>
					<li>✔ Mogućnost pokretanja inicijativa</li>
					<li>✔ Direktan doprinos zajednici</li>
					<li>✔ Bolja povezanost građana</li>
				</ul>

				<p>
					Postani dio zajednice koja aktivno radi na unapređenju naselja Hrnići.
				</p>

				<p>
					Popunite formu i vaša prijava će biti evidentirana, a potvrda poslana na email.
				</p>
			</div>

			<div class="membership-form card">
				<h2>Postani član udruženja</h2>
				<p>Polja označena sa <strong>*</strong> su obavezna.</p>

				<?php echo do_shortcode( '[starenica_membership_form]' ); ?>
			</div>

		</div>

	</div>
</main>

<?php get_footer(); ?>
/* === MEMBERSHIP PRO LAYOUT === */

.membership-layout {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 30px;
    align-items: stretch;
}

.membership-info,
.membership-form {
    padding: 28px;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.membership-info h2,
.membership-form h2 {
    margin-bottom: 15px;
}

.membership-info ul {
    margin: 15px 0;
    padding-left: 0;
    list-style: none;
}

.membership-info ul li {
    margin-bottom: 10px;
    font-size: 15px;
}

/* === FORM === */

.starenica-membership-pro {
    margin-top: 10px;
}

.starenica-form-group label {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 6px;
    display: block;
}

.starenica-contact-form input,
.starenica-contact-form select,
.starenica-contact-form textarea {
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #d5dce3;
    font-size: 14px;
    transition: all 0.2s ease;
}

.starenica-contact-form input:focus,
.starenica-contact-form select:focus,
.starenica-contact-form textarea:focus {
    border-color: #178498;
    box-shadow: 0 0 0 2px rgba(23,132,152,0.1);
    outline: none;
}

/* GRID */
.starenica-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 10px;
}

/* PHONE */
.starenica-phone-wrap {
    display: flex;
    gap: 6px;
}

.starenica-phone-wrap input:first-child {
    max-width: 90px;
    background: #f3f6f8;
    text-align: center;
}

/* CHECKBOX */
.starenica-form-check {
    margin-top: 10px;
}

.starenica-checkbox-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

/* BUTTON */
.sc-button.gold {
    width: 100%;
    margin-top: 10px;
    padding: 12px;
    border-radius: 12px;
    font-weight: 600;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .membership-layout {
        grid-template-columns: 1fr;
    }
}
/* =========================================================
   SELECT2 - PRETRAŽIVA DRŽAVA U ČLANARINI
========================================================= */

.starenica-membership-pro .select2-container {
	width: 100% !important;
}

.starenica-membership-pro .select2-container .select2-selection--single {
	height: 44px !important;
	border: 1px solid #d5dce3 !important;
	border-radius: 10px !important;
	background: #fff !important;
	display: flex !important;
	align-items: center !important;
	padding: 0 12px !important;
}

.starenica-membership-pro .select2-container--default .select2-selection--single .select2-selection__rendered {
	color: #102a43 !important;
	line-height: 42px !important;
	padding-left: 0 !important;
	padding-right: 24px !important;
	font-size: 13px !important;
}

.starenica-membership-pro .select2-container--default .select2-selection--single .select2-selection__arrow {
	height: 42px !important;
	right: 8px !important;
}

.select2-dropdown {
	border: 1px solid #d5dce3 !important;
	border-radius: 10px !important;
	overflow: hidden !important;
	box-shadow: 0 10px 24px rgba(0,0,0,0.08) !important;
}

.select2-search--dropdown {
	padding: 10px !important;
	background: #fff !important;
}

.select2-search--dropdown .select2-search__field {
	border: 1px solid #d5dce3 !important;
	border-radius: 8px !important;
	padding: 8px 10px !important;
	font-size: 13px !important;
	color: #102a43 !important;
}

.select2-results__option {
	padding: 9px 12px !important;
	font-size: 13px !important;
	color: #102a43 !important;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
	background: #1fb6c9 !important;
	color: #fff !important;
}

.select2-container--default .select2-results__option--selected {
	background: #eef6f8 !important;
	color: #102a43 !important;
}
/* =========================================================
   FINAL MEMBERSHIP PRO (KOMPAKTNO)
========================================================= */

.starenica-membership-pro {
	max-width: 720px;
	margin: 0 auto;
	padding: 18px;
	background: #ffffff;
	border-radius: 18px;
	box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.starenica-membership-pro h2 {
	margin-bottom: 10px;
}

.starenica-membership-pro p {
	margin-bottom: 14px;
	color: #334e68;
}

/* GRID */
.starenica-membership-pro .starenica-form-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

/* LABEL */
.starenica-membership-pro label {
	font-size: 13px;
	font-weight: 700;
	margin-bottom: 4px;
	color: #102a43;
}

/* INPUT */
.starenica-membership-pro input,
.starenica-membership-pro select,
.starenica-membership-pro textarea {
	width: 100%;
	padding: 10px 12px;
	border-radius: 10px;
	border: 1px solid #d5dce3;
	font-size: 13px;
	background: #fff;
	color: #102a43;
	min-height: 42px;
}

.starenica-membership-pro textarea {
	min-height: 90px;
}

/* FOCUS */
.starenica-membership-pro input:focus,
.starenica-membership-pro select:focus,
.starenica-membership-pro textarea:focus {
	border-color: #178498;
	box-shadow: 0 0 0 2px rgba(23,132,152,0.1);
	outline: none;
}

/* PHONE */
.starenica-phone-wrap {
	display: grid;
	grid-template-columns: 100px 1fr;
	gap: 8px;
}

#sm_phone_code {
	background: #f3f6f8;
	text-align: center;
	font-weight: 700;
}

/* BUTTON */
.starenica-membership-pro .sc-button.gold {
	width: 100%;
	margin-top: 10px;
	padding: 12px;
	border-radius: 12px;
	font-weight: 600;
}

/* CHECKBOX */
.starenica-checkbox-wrap {
	display: flex;
	gap: 8px;
	font-size: 13px;
	color: #102a43;
	margin-top: 6px;
}

/* SELECT2 */
.select2-container .select2-selection--single {
	height: 42px !important;
	border-radius: 10px !important;
	border: 1px solid #d5dce3 !important;
	display: flex !important;
	align-items: center !important;
}

.select2-results__option {
	font-size: 13px;
}

/* RESPONSIVE */
@media(max-width:768px){
	.starenica-membership-pro .starenica-form-grid{
		grid-template-columns:1fr;
	}
}
/* ===== FIX: tamniji tekst u formi članarine ===== */

.membership-form,
.starenica-membership-pro,
#clanarina {
	color: #102a43 !important;
}

.membership-form h2,
.membership-form p,
.starenica-membership-pro h2,
.starenica-membership-pro p,
#clanarina h2,
#clanarina p {
	color: #102a43 !important;
}

.starenica-membership-pro label,
.starenica-membership-pro .starenica-form-group label,
#clanarina label,
#clanarina .starenica-form-group label {
	color: #102a43 !important;
	font-weight: 700 !important;
	opacity: 1 !important;
	visibility: visible !important;
}

.starenica-membership-pro input,
.starenica-membership-pro select,
.starenica-membership-pro textarea,
#clanarina input,
#clanarina select,
#clanarina textarea {
	color: #102a43 !important;
}

.starenica-membership-pro input::placeholder,
.starenica-membership-pro textarea::placeholder,
#clanarina input::placeholder,
#clanarina textarea::placeholder {
	color: #6b7a90 !important;
	opacity: 1 !important;
}

.starenica-membership-pro .select2-container--default .select2-selection--single .select2-selection__rendered {
	color: #102a43 !important;
}

.starenica-membership-pro .select2-results__option,
.select2-results__option {
	color: #102a43 !important;
}

.starenica-membership-pro .starenica-checkbox-wrap,
#clanarina .starenica-checkbox-wrap {
	color: #102a43 !important;
}