/*
Theme Name: IS-KOP
Description: Lagana tema za is-kop.hr (Hiperlink Digital): zaglavlje, podnožje i tipografija kao dosadašnja Astra, bez tuđih ovisnosti.
Version: 1.1.1
Author: Hiperlink Digital
Requires at least: 6.5
Requires PHP: 8.1
Text Domain: iskop
License: GPLv2 or later
*/

/* Catamaran s vlastitog poslužitelja (varijabilni font, 500 i 800; OFL), bez Google Fonts */
@font-face { font-family: 'Catamaran'; font-style: normal; font-weight: 500 800; font-display: swap; src: url(fontovi/catamaran-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Catamaran'; font-style: normal; font-weight: 500 800; font-display: swap; src: url(fontovi/catamaran-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Osnova */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: rgba(0, 0, 0, .74); font-family: 'Catamaran', sans-serif; font-weight: 500; font-size: 17px; line-height: 1.6em; overflow-wrap: break-word; }
img { max-width: 100%; height: auto; border: 0; vertical-align: middle; }
a { color: #dd9933; text-decoration: none; }
a:hover, a:focus { color: #2970e1; }
p { margin: 0 0 1.6em; }
ul, ol { margin: 0 0 1.5em 3em; padding: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0; color: #000; font-family: 'Catamaran', sans-serif; font-weight: 800; text-transform: uppercase; clear: both; }
h1 { font-size: 70px; line-height: 1.4; }
h2 { font-size: 40px; line-height: 1.3; }
h3 { font-size: 30px; line-height: 1.3; }
h4 { font-size: 22px; line-height: 1.2; }
h5 { font-size: 17px; line-height: 1.2; }
h6 { font-size: 14px; line-height: 1.25; }
figure { margin: 0; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.screen-reader-text:focus { clip: auto; width: auto; height: auto; z-index: 1000; background: #fff; color: #000; padding: 12px 20px; top: 8px; left: 8px; }
.isk-sirina { max-width: 1240px; margin: 0 auto; padding: 0 20px; }

/* Zaglavlje: bijelo, iznad sadržaja (Filip 20. 11.: "header would probably be better with a white background") */
.isk-zaglavlje { position: relative; z-index: 99; background: #fff; border-bottom: 1px solid #e5e5e5; }
.isk-zaglavlje-red { display: flex; align-items: center; justify-content: space-between; min-height: 120px; }
.isk-identitet { display: flex; align-items: center; gap: 17px; padding: 17px 0; }
.isk-identitet .custom-logo { display: block; width: 280px; height: auto; }
.isk-naziv { font-size: 25px; line-height: 1.2; font-weight: 800; text-transform: uppercase; }
.isk-naziv a { color: #3a3a3a; }
.isk-izbornik ul { list-style: none; margin: 0; padding: 0; display: flex; }
.isk-izbornik a { display: block; padding: 0 17px; line-height: 80px; white-space: nowrap; font-size: 17px; font-weight: 600; color: #3a3a3a; }
.isk-izbornik a:hover, .isk-izbornik .current-menu-item > a, .isk-izbornik .current_page_item > a { color: #dd9933; }
.isk-gumb-izbornik { display: none; }

/* Traka s kontaktom iznad zaglavlja (računalo) i gumb za poziv (mobitel) */
.isk-traka-kontakt { background: #24272e; font-size: 14px; line-height: 36px; }
.isk-traka-kontakt .isk-sirina { display: flex; justify-content: flex-end; gap: 26px; }
.isk-traka-kontakt a { color: rgba(255, 255, 255, .9); display: inline-flex; align-items: center; gap: 7px; }
.isk-traka-kontakt a:hover { color: #ddb500; }
.isk-traka-kontakt svg { width: 14px; height: 14px; }
.isk-nazovi { display: none; }

/* Sadržaj */
.isk-sadrzaj { display: block; }
.entry-content::after { content: ""; display: table; clear: both; }
.isk-obicna { max-width: 1240px; margin: 0 auto; padding: 200px 20px 60px; }
.isk-obicna h1, .isk-obicna h2 { margin-bottom: 20px; }

/* Podnožje */
.isk-podnozje { border-top: 1px solid #e5e5e5; background: #fff; padding: 20px 0; text-align: center; font-size: 17px; color: rgba(0, 0, 0, .74); }
.isk-podnozje p { margin: 0; }
.isk-podnozje .isk-podnozje-zastita { margin-top: 6px; font-size: 13px; line-height: 1; }
.isk-podnozje-zastita a { display: inline-flex; align-items: center; gap: 7px; color: rgba(0, 0, 0, .45); opacity: .9; }
.isk-podnozje-zastita a:hover, .isk-podnozje-zastita a:focus { opacity: 1; color: rgba(0, 0, 0, .6); }
.isk-podnozje-zastita img { display: block; width: auto; height: 8px; }

/* Tablet i mobitel: bijelo zaglavlje u toku stranice, kao Astrino mobilno zaglavlje (do 921 px) */
@media (max-width: 921px) {
  h1 { font-size: 60px; } h2 { font-size: 30px; } h3 { font-size: 26px; }
  .isk-zaglavlje { position: relative; background: #fff; border-bottom: 1px solid #e5e5e5; }
  .isk-zaglavlje-red { min-height: 120px; flex-wrap: wrap; }
  .isk-identitet .custom-logo { width: 150px; }
  .isk-naziv { font-size: 15px; max-width: 140px; overflow-wrap: normal; word-break: keep-all; hyphens: none; }
  .isk-naziv a { color: #3a3a3a; }
  .isk-gumb-izbornik { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; padding: 0; border: 0; background: #dd9933; color: #fff; cursor: pointer; }
  .isk-gumb-izbornik svg { width: 20px; height: 20px; fill: currentColor; }
  .isk-izbornik { display: none; width: 100%; }
  .isk-zaglavlje.otvoreno .isk-izbornik { display: block; }
  .isk-izbornik ul { flex-direction: column; border-top: 1px solid #eaeaea; }
  .isk-izbornik li { border-bottom: 1px solid #eaeaea; }
  .isk-izbornik a { color: #3a3a3a; line-height: 1.3; padding: 13px 0; }
  .isk-traka-kontakt { display: none; }
}
@media (max-width: 767px) {
  .isk-nazovi { position: fixed; right: 14px; bottom: 14px; z-index: 100; display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 30px; background: #ddb500; color: #fff; font-weight: 800; font-size: 15px; line-height: 1; text-transform: uppercase; box-shadow: 0 4px 14px rgba(0, 0, 0, .3); }
  .isk-nazovi:hover, .isk-nazovi:focus { color: #fff; background: #c9a400; }
  .isk-podnozje { padding-bottom: 76px; }
}
@media (max-width: 544px) {
  .isk-identitet { gap: 12px; }
  .isk-identitet .custom-logo { width: 130px; }
  h1 { font-size: 42px; } h3 { font-size: 25px; }
}
