/*
Theme Name: Evari Katusetööd
Theme URI: https://evari.ee
Description: Evari Katusetööd – child theme Construction teema baasil. Ainult brändi värvid, fondid ja peenemad stiilikohandused. Kogu funktsionaalsus jääb Construction teema enda kontrolli alla.
Author: Evari
Author URI: https://evari.ee
Template: construction
Version: 1.7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: evari
*/


/* ==========================================================================
   1. CSS MUUTUJAD – brändi värvid
   ========================================================================== */

:root {
  --evari-blue: #014ea0;
  --evari-blue-dark: #013d80;
  --evari-blue-light: #eef3fa;
  --evari-blue-border: #dde6f0;
  --evari-font-heading: 'Raleway', 'Montserrat', sans-serif;
  --evari-font-body: 'Montserrat', 'Helvetica', Arial, sans-serif;
}


/* ==========================================================================
   2. ÜLDISED FONDID
   ========================================================================== */

body,
button,
input,
select,
textarea {
  font-family: var(--evari-font-body);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.entry-title,
.widget-title,
.page-title,
.page-entry-title {
  font-family: var(--evari-font-heading);
  letter-spacing: -0.2px;
}


/* ==========================================================================
   3. BRÄNDI VÄRV – ASENDA TEEMA OMA SINIST
   ========================================================================== */

a:hover,
.primary-color,
.main-navigation .wpc-menu li.current-menu-item > a,
.main-navigation .wpc-menu li.current_page_item > a,
.main-navigation .wpc-menu li > a:hover,
.widget-title,
.entry-title a:hover {
  color: var(--evari-blue);
}

.btn,
.button,
input[type="submit"],
.wpcf7 input[type="submit"],
.main-navigation .wpc-menu ul li a:hover,
.page-title-wrap,
.bg-primary {
  background-color: var(--evari-blue);
}

.btn:hover,
.button:hover,
input[type="submit"]:hover,
.wpcf7 input[type="submit"]:hover {
  background-color: var(--evari-blue-dark);
}


/* ==========================================================================
   4. PEALKIRJA RIBA – HELE SININE TAUST
   ========================================================================== */

.page-title-wrap {
  background-color: var(--evari-blue-light) !important;
  border-bottom: 1px solid var(--evari-blue-border);
  padding: 36px 0;
}

.page-title-wrap .page-entry-title,
.page-title-wrap .page-title {
  color: var(--evari-blue) !important;
  font-family: var(--evari-font-heading);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 28px;
  letter-spacing: 0;
  line-height: 1.25;
  margin: 0;
}

@media (min-width: 790px) {
  .page-title-wrap .page-entry-title,
  .page-title-wrap .page-title {
    font-size: 34px;
  }
}


/* ==========================================================================
   5. PAGE HEADER (HERO BAND)
   ========================================================================== */

.page-header-wrap .page-title {
  font-family: var(--evari-font-heading);
  color: var(--evari-blue);
}


/* ==========================================================================
   6. NAVIGATSIOON – AKTIIVSE MENÜÜ ALLAJOON
   ========================================================================== */

.main-navigation .wpc-menu > li > a {
  font-family: var(--evari-font-body);
  font-weight: 600;
  position: relative;
}

.main-navigation .wpc-menu > li.current-menu-item > a::after,
.main-navigation .wpc-menu > li.current_page_item > a::after,
.main-navigation .wpc-menu > li.current-menu-ancestor > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 12px;
  right: 12px;
  height: 3px;
  background: var(--evari-blue);
  border-radius: 2px 2px 0 0;
}


/* ==========================================================================
   7. NUPUD – ÜLDINE STIIL
   ========================================================================== */

.btn,
.button,
.wpcf7 input[type="submit"] {
  font-family: var(--evari-font-body);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 4px;
  border: none;
  transition: background-color 0.2s, transform 0.15s;
}

.btn:hover,
.button:hover,
.wpcf7 input[type="submit"]:hover {
  transform: translateY(-1px);
}

.btn-light {
  background-color: var(--evari-blue) !important;
  color: #fff !important;
  border: none !important;
}

.btn-light:hover {
  background-color: var(--evari-blue-dark) !important;
  color: #fff !important;
}


/* ==========================================================================
   8. KÜLGRIBA – TEENUSTE WIDGET (sidebar widgets)
   ========================================================================== */

.widget-area .widget {
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  background: #fff;
}

.widget-area .widget-title {
  background: var(--evari-blue);
  color: #fff;
  padding: 16px 20px;
  margin: 0;
  font-family: var(--evari-font-heading);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.widget-area .widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.widget-area .widget ul li {
  border-bottom: 1px solid #f1f5f9;
  margin: 0;
}

.widget-area .widget ul li:last-child {
  border-bottom: none;
}

.widget-area .widget ul li a {
  display: block;
  padding: 12px 18px;
  color: #1a2332;
  font-family: var(--evari-font-body);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: all 0.2s;
}

.widget-area .widget ul li a:hover,
.widget-area .widget ul li.current-menu-item > a {
  color: var(--evari-blue);
  background: var(--evari-blue-light);
  border-left-color: var(--evari-blue);
}


/* ==========================================================================
   9. SISU H2 / H3 STIIL
   ========================================================================== */

.entry-content h2,
.page-content h2,
.entry-content h3,
.page-content h3 {
  color: var(--evari-blue);
  font-family: var(--evari-font-heading);
  font-weight: 700;
}


/* ==========================================================================
   10. TOPBAR – PEENED KOHANDUSED (ei muuda struktuuri)
   ========================================================================== */

#topbar,
.top-bar {
  font-family: var(--evari-font-body);
  font-size: 13px;
}

#topbar a,
.top-bar a {
  transition: color 0.2s;
}

#topbar a:hover,
.top-bar a:hover {
  color: var(--evari-blue);
}


/* ==========================================================================
   11. PÄISE LAYOUT – LOGO VASAKULE, MENÜÜ KESKELE/PAREMALE
   ========================================================================== */

/* Construction "centered header" struktuur:
   .site-header > .container > .site-branding (logo) + .main-navigation (menüü)
   Vaikimisi on need üksteise all (centered), me teeme need kõrvuti */

.site-header .container,
.site-header .wrap,
#masthead .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 24px;
}

.site-header .site-branding,
#masthead .site-branding {
  flex: 0 0 auto;
  text-align: left;
  margin: 0;
  padding: 12px 0;
}

.site-header .main-navigation,
#masthead .main-navigation {
  flex: 1 1 auto;
  display: flex;
  justify-content: flex-end;
  margin: 0;
}

/* Logo väiksemaks – mockupi mõõdud */
.site-header .custom-logo,
.site-header .site-branding img,
#masthead .custom-logo,
#masthead .site-branding img {
  max-height: 56px !important;
  width: auto !important;
  height: auto !important;
}

@media (max-width: 990px) {
  .site-header .custom-logo,
  .site-header .site-branding img {
    max-height: 44px !important;
  }
}

/* Mobiilis tagasi tavaline layout */
@media (max-width: 790px) {
  .site-header .container,
  .site-header .wrap,
  #masthead .container {
    flex-wrap: wrap;
    justify-content: center;
  }
  .site-header .main-navigation {
    justify-content: center;
    flex: 1 1 100%;
  }
}


/* ==========================================================================
   12. PÄISE NAVIGATSIOONI TÜPOGRAAFIA
   ========================================================================== */

.main-navigation .wpc-menu > li > a,
.main-navigation ul.menu > li > a,
#site-navigation ul > li > a {
  font-family: var(--evari-font-body);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #1a2332;
  padding: 28px 14px;
}


/* ==========================================================================
   13. ALAMENÜÜD (DROPDOWN) – SININE STIIL NAGU MOCKUPIS
   ========================================================================== */

.main-navigation ul.sub-menu,
.main-navigation ul ul,
#site-navigation ul ul {
  background: #ffffff !important;
  border-top: 3px solid var(--evari-blue) !important;
  box-shadow: 0 8px 24px rgba(1, 78, 160, 0.12) !important;
  border-radius: 0 0 4px 4px;
  padding: 8px 0 !important;
  min-width: 220px !important;
}

.main-navigation ul.sub-menu li,
.main-navigation ul ul li,
#site-navigation ul ul li {
  border: none !important;
  margin: 0 !important;
}

.main-navigation ul.sub-menu li a,
.main-navigation ul ul li a,
#site-navigation ul ul li a {
  font-family: var(--evari-font-body) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  text-transform: none !important;
  letter-spacing: 0.2px !important;
  color: #1a2332 !important;
  padding: 10px 18px !important;
  border-left: 3px solid transparent !important;
  background: transparent !important;
  transition: all 0.18s ease;
}

.main-navigation ul.sub-menu li a:hover,
.main-navigation ul ul li a:hover,
.main-navigation ul.sub-menu li.current-menu-item > a,
#site-navigation ul ul li a:hover {
  color: var(--evari-blue) !important;
  background: var(--evari-blue-light) !important;
  border-left-color: var(--evari-blue) !important;
}


/* ==========================================================================
   14. PÄISE KONTAKT NUPP (Construction "Header CTA / Get In Touch")
   ========================================================================== */

.header-btn,
.header-button,
.btn-header,
.menu-button,
.wpc-header-btn,
.header-cta a,
li.menu-item.btn > a,
.main-navigation .menu-item-btn > a {
  background: var(--evari-blue) !important;
  color: #ffffff !important;
  font-family: var(--evari-font-body) !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.8px !important;
  padding: 12px 24px !important;
  border-radius: 4px !important;
  border: none !important;
  margin-left: 16px;
  transition: background-color 0.2s, transform 0.15s;
}

.header-btn:hover,
.header-button:hover,
.btn-header:hover,
.menu-button:hover,
.wpc-header-btn:hover,
.header-cta a:hover,
li.menu-item.btn > a:hover {
  background: var(--evari-blue-dark) !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}


/* ==========================================================================
   15. TOPBAR (kui Construction Theme Options'is sisse lülitatud)
   ========================================================================== */

#topbar,
.top-bar,
.topbar-wrap,
.site-topbar {
  background: var(--evari-blue) !important;
  color: #ffffff !important;
  font-family: var(--evari-font-body) !important;
  font-size: 13px !important;
  padding: 8px 0 !important;
  border-bottom: none !important;
}

#topbar a,
.top-bar a,
.topbar-wrap a,
.site-topbar a {
  color: #ffffff !important;
}

#topbar a:hover,
.top-bar a:hover,
.topbar-wrap a:hover {
  color: #cfe0f3 !important;
}

#topbar .topbar-info,
#topbar .topbar-contact,
.top-bar .topbar-info {
  display: flex;
  align-items: center;
  gap: 18px;
}


/* ==========================================================================
   16. FOOTER – ÄRA PUUTU
   Kõik child theme stiilid taastatakse footeris parent teema vaikimisi.
   ========================================================================== */

#colophon,
#colophon *,
.site-footer,
.site-footer *,
footer.site-footer,
footer.site-footer * {
  font-family: revert !important;
  color: revert !important;
  background: revert !important;
  background-color: revert !important;
  border: revert !important;
  border-top: revert !important;
  border-bottom: revert !important;
  border-left: revert !important;
  border-right: revert !important;
  padding: revert !important;
  margin: revert !important;
  text-transform: revert !important;
  letter-spacing: revert !important;
  font-weight: revert !important;
  font-size: revert !important;
  border-radius: revert !important;
  box-shadow: revert !important;
  list-style: revert !important;
  display: revert !important;
}


/* ==========================================================================
   17. TOPBAR – widget'i sisemine layout (Custom HTML kasutamiseks)
   ========================================================================== */

.topbar-info {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.topbar-info-right {
  justify-content: flex-end;
}

.topbar-info .topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ffffff;
  text-decoration: none;
  font-size: 13px;
  line-height: 1;
}

.topbar-info .topbar-item:hover {
  color: #cfe0f3;
}

.topbar-info .topbar-item .dashicons {
  font-size: 15px;
  width: 15px;
  height: 15px;
  color: #cfe0f3;
}

#topbar .widget,
.top-bar .widget,
.topbar-wrap .widget {
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
}

#topbar .widget-title,
.top-bar .widget-title,
.topbar-wrap .widget-title {
  display: none !important;
}


/* ==========================================================================
   18. SEKTSIOONIPEALKIRJAD – suur, suurtähti, brändivärv
   ========================================================================== */

.entry-content h2,
.page-content h2,
.elementor-widget-heading h2.elementor-heading-title,
.section-title,
.section-heading {
  font-family: var(--evari-font-heading);
  color: var(--evari-blue);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 28px;
  line-height: 1.2;
  margin: 0 0 16px;
  text-align: center;
}

.entry-content h2 + p,
.page-content h2 + p,
.section-title + p,
.section-heading + p {
  text-align: center;
  color: #475569;
  max-width: 760px;
  margin: 0 auto 36px;
  font-size: 16px;
  line-height: 1.6;
}

@media (min-width: 790px) {
  .entry-content h2,
  .page-content h2,
  .section-title,
  .section-heading {
    font-size: 34px;
  }
}


/* ==========================================================================
   19. SISU H3 (kaartide pealkirjad nagu "Lamekatuse ehitus")
   ========================================================================== */

.entry-content h3,
.page-content h3 {
  font-family: var(--evari-font-heading);
  color: #0b1f3a;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.3;
  margin: 0 0 12px;
}


/* ==========================================================================
   20. SISULINGID (LOE LÄHEMALT →, LOE EDASI →, LOE ARTIKLIT →)
   ========================================================================== */

.entry-content a,
.page-content a {
  color: var(--evari-blue);
  text-decoration: none;
  transition: color 0.2s;
}

.entry-content a:hover,
.page-content a:hover {
  color: var(--evari-blue-dark);
  text-decoration: underline;
}

/* "LOE LÄHEMALT →" stiilis paragrahvi-link – tugev tähistus */
.entry-content p > a[href]:only-child,
.page-content p > a[href]:only-child {
  display: inline-block;
  font-family: var(--evari-font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--evari-blue);
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.2s, color 0.2s;
}

.entry-content p > a[href]:only-child:hover,
.page-content p > a[href]:only-child:hover {
  border-bottom-color: var(--evari-blue);
  text-decoration: none;
}


/* ==========================================================================
   21. CTA SEKTSIOON ("KAS SINU KATUS VAJAB REMONTI VÕI EHITUST?")
   ========================================================================== */

.cta-section,
.call-to-action,
.wpc-cta,
.fl-row.cta-row {
  background: var(--evari-blue) !important;
  color: #ffffff !important;
  padding: 56px 24px !important;
  text-align: center;
  border-radius: 0;
}

.cta-section h2,
.cta-section h3,
.call-to-action h2,
.call-to-action h3 {
  color: #ffffff !important;
  font-family: var(--evari-font-heading);
  font-weight: 800;
  text-transform: uppercase;
  margin: 0 0 12px;
}

.cta-section p,
.call-to-action p {
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 16px;
  margin: 0 0 24px;
}

.cta-section .btn,
.cta-section .button,
.call-to-action .btn,
.call-to-action .button {
  background: #ffffff !important;
  color: var(--evari-blue) !important;
  border: 2px solid #ffffff !important;
  margin: 6px 8px;
}

.cta-section .btn:hover,
.cta-section .btn-outline,
.call-to-action .btn:hover {
  background: transparent !important;
  color: #ffffff !important;
}


/* ==========================================================================
   22. KAARDID – TEENUSED, TEHTUD TÖÖD, ARTIKLID
   ========================================================================== */

article.post,
.service-item,
.portfolio-item,
.project-item,
.work-item,
.blog-item,
.entry.hentry {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

article.post:hover,
.service-item:hover,
.portfolio-item:hover,
.project-item:hover,
.work-item:hover,
.blog-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(1, 78, 160, 0.10);
  border-color: var(--evari-blue-border);
}

article.post .entry-title a,
.service-item h3 a,
.portfolio-item h3 a,
.blog-item .entry-title a {
  color: #0b1f3a;
  font-family: var(--evari-font-heading);
  font-weight: 700;
}

article.post .entry-title a:hover,
.service-item h3 a:hover,
.portfolio-item h3 a:hover {
  color: var(--evari-blue);
}


/* ==========================================================================
   23. PROJEKTI INFO KÜLGRIBA (Tellija, Projekti nimi, Kategooria, …)
   ========================================================================== */

.project-info,
.portfolio-info,
.project-meta,
.portfolio-meta {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 24px;
}

.project-info h4,
.portfolio-info h4,
.project-meta-label {
  font-family: var(--evari-font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #6b7280;
  margin: 0 0 4px;
}

.project-info p,
.portfolio-info p,
.project-meta-value {
  font-family: var(--evari-font-heading);
  font-size: 14px;
  font-weight: 700;
  color: #0b1f3a;
  margin: 0 0 16px;
  text-transform: uppercase;
}

.project-info p:last-child,
.portfolio-info p:last-child {
  margin-bottom: 0;
}


/* ==========================================================================
   24. KONTAKTIVORM (Contact Form 7 / WPForms / Gravity Forms)
   ========================================================================== */

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea,
.wpforms-field-medium input,
.wpforms-field-medium textarea,
input.form-control,
textarea.form-control {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 12px 14px;
  font-family: var(--evari-font-body);
  font-size: 14px;
  background: #ffffff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 textarea:focus {
  border-color: var(--evari-blue);
  outline: none;
  box-shadow: 0 0 0 3px rgba(1, 78, 160, 0.12);
}

.wpcf7 label {
  font-family: var(--evari-font-body);
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 6px;
  display: block;
}

.wpcf7 input[type="submit"] {
  background: var(--evari-blue) !important;
  color: #ffffff !important;
  border: none !important;
  padding: 14px 32px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.8px !important;
  border-radius: 6px !important;
  cursor: pointer;
}

.wpcf7 input[type="submit"]:hover {
  background: var(--evari-blue-dark) !important;
}


/* ==========================================================================
   25. HERO / PAGE HEADER (avalehe suur sinine sektsioon)
   ========================================================================== */

.hero-section h1,
.page-header-section h1,
.elementor-widget-heading h1.elementor-heading-title {
  font-family: var(--evari-font-heading);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.1;
}


/* ==========================================================================
   26. LEIVAPURU (kui plugin Yoast / RankMath / Construction enda)
   ========================================================================== */

.breadcrumbs,
.breadcrumb,
.yoast-breadcrumbs,
.rank-math-breadcrumb,
.evari-breadcrumb {
  font-family: var(--evari-font-body);
  font-size: 13px;
  color: #6b7280;
  padding: 14px 0;
  background: transparent;
}

.breadcrumbs a,
.breadcrumb a,
.yoast-breadcrumbs a,
.rank-math-breadcrumb a,
.evari-breadcrumb a {
  color: var(--evari-blue);
  text-decoration: none;
  font-weight: 600;
}

.breadcrumbs a:hover,
.breadcrumb a:hover {
  text-decoration: underline;
}


/* ==========================================================================
   27. PILT-SISU JA ELEMENTORI VAIKEKAARDID
   ========================================================================== */

.elementor-image-box-wrapper {
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.elementor-image-box-wrapper:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(1, 78, 160, 0.10);
}

.elementor-image-box-title {
  font-family: var(--evari-font-heading) !important;
  color: #0b1f3a !important;
  font-weight: 700 !important;
}


/* ==========================================================================
   28. TABEL (võrdlustabel SBS vs PVC)
   ========================================================================== */

.entry-content table,
.page-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-family: var(--evari-font-body);
  font-size: 14px;
}

.entry-content table th,
.page-content table th {
  background: var(--evari-blue);
  color: #ffffff;
  padding: 14px 16px;
  text-align: left;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 12px;
}

.entry-content table td,
.page-content table td {
  padding: 14px 16px;
  border-bottom: 1px solid #e5e7eb;
  vertical-align: top;
}

.entry-content table tr:nth-child(even) td,
.page-content table tr:nth-child(even) td {
  background: #f8fafc;
}


/* ==========================================================================
   29. BLOCKQUOTE
   ========================================================================== */

.entry-content blockquote,
.page-content blockquote {
  border-left: 4px solid var(--evari-blue);
  background: var(--evari-blue-light);
  padding: 18px 24px;
  margin: 24px 0;
  font-family: var(--evari-font-body);
  font-style: italic;
  color: #1a2332;
  border-radius: 0 6px 6px 0;
}


/* ==========================================================================
   30. NIMEKIRJAD KASTIDES (✅ ja 🚨 nimekirjad)
   ========================================================================== */

.entry-content ul li,
.page-content ul li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.entry-content ol li,
.page-content ol li {
  margin-bottom: 8px;
  line-height: 1.6;
}


/* ==========================================================================
   31. PARANDUSED v1.7 – logo, topbar ikoonid, alamenüü padding
   ========================================================================== */

/* --- LOGO SUUREMAKS (mockupi mõõdud ~80px) --- */
.site-header .custom-logo,
.site-header .site-branding img,
#masthead .custom-logo,
#masthead .site-branding img,
.site-branding .custom-logo-link img {
  max-height: 80px !important;
  height: auto !important;
  width: auto !important;
}

@media (max-width: 990px) {
  .site-header .custom-logo,
  .site-header .site-branding img {
    max-height: 60px !important;
  }
}

@media (max-width: 790px) {
  .site-header .custom-logo,
  .site-header .site-branding img {
    max-height: 48px !important;
  }
}


/* --- TOPBARI IKOONID JOONDAMINE --- */
.topbar-info {
  align-items: center;
}

.topbar-info .topbar-item {
  display: inline-flex !important;
  align-items: center !important;
  line-height: 1 !important;
  vertical-align: middle;
}

.topbar-info .topbar-item .dashicons,
.topbar-info .topbar-item .dashicons-before:before {
  font-size: 16px !important;
  width: 16px !important;
  height: 16px !important;
  line-height: 1 !important;
  vertical-align: middle !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative;
  top: 0 !important;
  margin: 0 6px 0 0 !important;
}

#topbar,
.top-bar,
.topbar-wrap,
.site-topbar {
  line-height: 1.4 !important;
}

#topbar .container,
.top-bar .container,
.topbar-wrap .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 36px;
}


/* --- ALAMENÜÜ (KÜLGRIBA WIDGET) – ROHKEM ÕHKU VASAKUL --- */
.widget-area .widget ul li a {
  padding: 14px 22px 14px 24px !important;
  border-left-width: 4px !important;
  line-height: 1.45 !important;
}

.widget-area .widget ul li a:hover,
.widget-area .widget ul li.current-menu-item > a,
.widget-area .widget ul li.current_page_item > a {
  padding-left: 24px !important;
}

/* Külgriba pealkiri natuke kompaktsem */
.widget-area .widget-title {
  padding: 18px 24px !important;
  font-size: 15px !important;
  letter-spacing: 1.2px !important;
}
