/*
Theme Name: d5f69a9682 Theme
Theme URI: https://example.com/d5f69a9682-theme
Author: Shuffle AI & YOU
Author URI: https://example.com
Description:
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: saas2026
Tags:
*/

body {
  font-size: 1.1rem;
  line-height: 1.6;
  font-family: "Inter", sans-serif;
  color: #555;
}
/* ══════ headings ══════ */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: #111;
}
h1 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
} /* 36px */
@media (min-width: 992px) {
  h1 {
    font-size: 2.25rem;
    margin-bottom: 1.25rem;
  }
}
h2 {
  font-size: 1.875rem;
  margin-bottom: 1.125rem;
} /* 30px */
h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
} /* 24px */
h4 {
  font-size: 1.25rem;
  margin-bottom: 0.875rem;
} /* 20px */
h5 {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
} /* 18px */
h6 {
  font-size: 1rem;
  margin-bottom: 0.625rem;
} /* 16px */

.wp-block-heading {
  padding-top: 0.875rem;
  line-height: 1.2;
}
p {
  line-height: 1.6;
  color: #333;
  margin-bottom: 1rem;
}

a {
  color: #0089d0;
  text-decoration: none;
  transition: color 0.15s;
}
p a:hover {
  color: #006fa3;
  text-decoration: underline;
}

/* ══════ Lists ══════ */
ul,
ol {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
  list-style-type: disc;
}
ul li {
  position: relative;
  margin-bottom: 0.5rem;
  padding-left: 0.75rem;
}

ol li {
  margin-bottom: 0.5rem;
  padding-left: 0.75rem;
}

/* ══════ Layout: Top Area Grid ══════ */
.top-area-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}
@media (min-width: 992px) {
  .top-area-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

/* ══════ Header: Top Bar ══════ */
.topbar {
  background-color: #0073b0;
  color: #fff;
  font-size: 0.75rem;
  line-height: 1rem;
}
.topbar-left {
  gap: 0;
}
.topbar-item {
  padding-right: 1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
}
.topbar-link {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0 1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  text-decoration: none;
  opacity: 0.9;
  transition: opacity 0.15s;
}
.topbar-link:hover {
  opacity: 1;
}
.topbar-link--last {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding-left: 1rem;
  border-right: none;
  color: #fff;
  text-decoration: none;
  opacity: 0.9;
  transition: opacity 0.15s;
}
.topbar-link--last:hover {
  opacity: 1;
}
.topbar-btn-subscribe {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  margin-left: 1rem;
  padding: 0.25rem 0.7rem;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 3px;
  color: #fff;
  font-weight: 700;
  font-size: 0.75rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  transition: background 0.15s;
}
.topbar-btn-subscribe:hover {
  background: rgba(255, 255, 255, 0.3);
}
.topbar-right {
  gap: 0.75rem;
}

/* Header: Search */
.topbar-search {
  background: #fff !important;
  border-radius: 3px !important;
  overflow: hidden !important;
  border: 1px solid rgba(255, 255, 255, 0.5) !important;
}
.topbar-search__input {
  background: transparent !important;
  color: #1a1a1a !important;
  font-size: 0.75rem !important;
  width: 14rem !important;
  padding: 0.375rem 0.625rem !important;
  border: none !important;
  outline: none !important;
}
.topbar-search__btn {
  background: transparent !important;
  border: none !important;
  cursor: pointer !important;
  padding: 0.375rem 0.5rem !important;
  color: #0073b0 !important;
  display: flex !important;
  align-items: center !important;
}
.topbar-search__btn:hover {
  color: #004f80 !important;
}

/* Header: Social icons */
.topbar-socials {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding-left: 0.5rem;
  border-left: 1px solid rgba(255, 255, 255, 0.35);
}
.topbar-social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
  color: #fff;
  transition: background 0.15s;
}
.topbar-social-icon:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Header: Banner */
.header-banner {
  mix-blend-mode: darken;
}
.header-banner__logo {
  max-width: 700px;
  height: auto;
  margin: 0 auto;
}
.header-banner__fallback {
  height: auto;
}
.header-banner__sitename {
  color: #0089d0;
}
.mobile-menu-btn-header {
  color: #0089d0;
}

/* Header: Navbar */
.navbar {
  background-color: #0089d0;
}
.mobile-menu-border {
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

/* ══════ Nav Dropdown ══════ */
.iq-nav-menu {
  display: flex;
  align-items: stretch;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}
.iq-nav-item {
  position: relative;
  display: flex;
  align-items: stretch;
  margin-bottom: 0;
}
.iq-nav-arrow {
  flex-shrink: 0;
  transition: transform 0.2s;
}
.iq-nav-item.iq-has-dropdown:hover > a > .iq-nav-arrow {
  transform: rotate(180deg);
}
.iq-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 210px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.14);
  z-index: 1000;
  list-style: none;
  margin: 0;
  padding: 0.25rem 0;
  border-top: 2px solid #0089d0;
}
.iq-nav-item.iq-has-dropdown:hover > .iq-dropdown,
.iq-dropdown-item.iq-has-subdropdown:hover > .iq-dropdown {
  display: block;
}
.iq-dropdown--nested {
  top: 0;
  left: 100%;
  border-top: none;
  border-left: 2px solid #0089d0;
}
.iq-dropdown-item {
  position: relative;
  margin: 0;
  padding: 0;
}
.iq-dropdown-link {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  color: #222;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background 0.15s,
    color 0.15s;
}
.iq-dropdown-link:hover,
.iq-dropdown-link.iq-active {
  background: #f4f6f8;
  color: #0089d0;
  text-decoration: none;
}

/* ══════ Mobile Nav Submenu ══════ */
.iq-mobile-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}
.iq-mobile-item {
  margin: 0;
  padding: 0;
}
.iq-mobile-parent {
  display: flex;
  align-items: stretch;
}
.iq-mobile-parent > .iq-mobile-link {
  flex: 1;
}
.iq-mobile-toggle {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.85);
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: color 0.15s;
}
.iq-mobile-toggle:hover {
  color: #fff;
}
.iq-mobile-toggle--open svg {
  transform: rotate(180deg);
}
.iq-mobile-submenu {
  list-style: none;
  margin: 0;
  padding: 0;
  background: rgba(0, 0, 0, 0.15);
}
.iq-mobile-subitem {
  margin: 0;
  padding: 0;
}
.iq-mobile-sublink {
  display: block;
  padding: 0.4rem 0.75rem 0.4rem 1.75rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.15s;
}
.iq-mobile-sublink:hover,
.iq-mobile-sublink.iq-active {
  background-color: rgba(0, 0, 0, 0.18);
  color: #fff;
}

/* ══════ Breaking News ══════ */
.breaking-bar {
  background-color: #e7eff6;
  border-top: 1px solid #dde3ea;
  border-bottom: 1px solid #dde3ea;
}
.breaking-label {
  color: #b00;
  white-space: nowrap;
}
.breaking-text {
  color: #333;
}
.breaking-text:hover {
  color: #b00;
}
.breaking-meta {
  color: #888;
  font-size: 0.7rem;
  font-style: italic;
  margin-right: 0.25rem;
}
.marquee-container:hover p {
  animation-play-state: paused;
}
.marquee-container p {
  margin-bottom: 0;
}

/* ══════ Cards: Shared ══════ */
.card {
  display: flex;
  flex-direction: column;
}
.card__img-wrap {
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.card__img-link {
  display: block;
  overflow: hidden;
}
.card__img {
  width: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s;
}
.card__img--hero {
  height: auto;
  -webkit-transition: all 0.3s 0s ease;
  -moz-transition: all 0.3s 0s ease;
  -o-transition: all 0.3s 0s ease;
  transition: all 0.3s 0s ease;
}
.card__img--hero:hover {
  transform: scale(1.05);
}
.card__img--secondary {
  height: auto;
}
.card__img--main {
  height: auto;
  -webkit-transition: all 0.3s 0s ease;
  -moz-transition: all 0.3s 0s ease;
  -o-transition: all 0.3s 0s ease;
  transition: all 0.3s 0s ease;
}
.card__img--main:hover {
  transform: scale(1.05);
}

.card__tags {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}
.card__tag {
  display: inline-block;
  background-color: rgba(4, 103, 190, 0.76);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.15rem 0.45rem;
  letter-spacing: 0.03em;
  backdrop-filter: blur(4px);
}
.card__tag--sm {
  font-size: 0.55rem;
  padding: 0.15rem 0.4rem;
}

.card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card__body--hero {
  padding: 1rem;
}
.card__body--secondary {
  padding: 0.875rem;
}
.card__body--main {
  padding: 0.6rem 1rem 1rem;
}

.card__meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.card__cat-badge {
  display: inline-block;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
}
.card__cat-badge--lg {
  font-size: 0.65rem;
  padding: 0.2rem 0.5rem;
}
.card__cat-badge--sm {
  font-size: 0.6rem;
  padding: 0.15rem 0.4rem;
}
.card__cat-badge--xs {
  font-size: 0.6rem;
  padding: 0.15rem 0.45rem;
  letter-spacing: 0.03em;
  white-space: nowrap;
  flex-shrink: 0;
}

.card__date {
  color: #999;
}
.card__date--lg {
  font-size: 0.82rem;
}
.card__date--sm {
  font-size: 0.68rem;
}
.card__date--main {
  font-size: 0.85rem;
  color: #666;
}

.card__title {
  font-weight: 800;
  line-height: 1.2;
  color: #111;
  margin-bottom: 0.5rem;
}

.card__title--hero {
  font-size: 1.2rem;
}

@media (min-width: 992px) {
  .card__title--hero {
    font-size: 1.75rem;
  }
}

.card__title--secondary {
  font-size: 1.2rem;
}

/* .card__title--main {
  font-size: 1.55rem;
  line-height: 1.25;
  margin: 0 0 0.25rem;
} */
.card__title-link {
  color: inherit;
  text-decoration: none;
  -webkit-transition: all 0.3s 0s ease;
  -moz-transition: all 0.3s 0s ease;
  -o-transition: all 0.3s 0s ease;
  transition: all 0.3s 0s ease;
}

.card__title-link:hover {
  color: #0089d0;
}
.post .font-heading,
.card__title--main.font-heading {
  font-size: 1.25rem;
}
@media (min-width: 992px) {
  .post .font-heading,
  .card__title--main.font-heading {
    font-size: 1.75rem;
  }
}

.card__excerpt {
  font-size: 0.95rem;
  text-align: justify;
  flex: 1;
  margin-bottom: 0.75rem;
}
.card__excerpt--hero {
  color: #555;
}
.card__excerpt--secondary {
  color: #444;
}

.card__footer {
  display: flex;
  justify-content: flex-end;
  border-top: 1px solid #f0f0f0;
}
.card__footer--hero {
  padding-top: 0.75rem;
}
.card__footer--secondary {
  padding-top: 0.625rem;
}
.card__footer--main {
  padding-top: 0.6rem;
}

.card__cta {
  display: inline-flex;
  align-items: center;
  color: #0089d0;
  text-decoration: none;
}
.card__cta:hover {
  color: #006fa3;
}

/* Main article header */
.main-article__header {
  padding: 0.875rem 1rem 0.5rem;
}
.main-article__header-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.4rem;
}
.main-article__border-bottom {
  border-bottom: 3px solid #f0f0f0;
}
.article-title-box {
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(5px);
}
/* ══════ Sidebar ══════ */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Sidebar: voci dal territorio */
.sidebar-section__title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #111;
  padding: 0.6rem 1rem;
  border-left: 4px solid #0089d0;
  background: #f8f9fa;
  margin: 0;
}
.sidebar-sede-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid #f0f0f0;
  text-decoration: none;
  color: inherit;
}
.sidebar-sede-link:hover .sidebar-sede-title {
  color: #0089d0;
}
.sidebar-sede-thumb {
  flex: 0 0 78px;
  overflow: hidden;
}
.sidebar-sede-img {
  width: 78px;
  height: 62px;
  object-fit: cover;
  display: block;
}
.sidebar-sede-content {
  flex: 1;
  min-width: 0;
}
.sidebar-sede-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.5rem;
  margin-bottom: 0.2rem;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.25;
  color: #0089d0;
  text-transform: uppercase;
}
.sidebar-sede-title {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
  color: #111;
  margin: 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.sidebar-sede-date {
  margin-top: 0.2rem;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.25;
  color: #777;
}
.sidebar-chevron {
  flex-shrink: 0;
}
.sidebar-rubriche-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sidebar-rubriche-item {
  border-bottom: 1px solid #f0f0f0;
}
.sidebar-rubriche-item:last-child {
  border-bottom: 0;
}
.sidebar-rubriche-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.72rem 1rem;
  color: #111;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
}
.sidebar-rubriche-link:hover {
  color: #0089d0;
}
.sidebar-rubriche-link svg {
  flex-shrink: 0;
}

/* Sidebar: Banner avvocato */
.sidebar-banner {
  position: relative;
  height: 180px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
  background-color: #1a2a3a;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.sidebar-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.72) 0%,
    rgba(0, 0, 0, 0.25) 55%,
    transparent 100%
  );
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  text-decoration: none;
}
.sidebar-banner__title {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.2;
  margin: 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* Sidebar: I più letti */
.sidebar-popular__title {
  background-color: #0089d0;
  color: #fff;
  text-align: center;
  font-size: 1.05rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 0.7rem 1rem;
  margin: 0;
}
.sidebar-popular__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: #dde3ea;
}
.sidebar-popular__item {
  display: block;
  position: relative;
  height: 145px;
  overflow: hidden;
  text-decoration: none;
}
.sidebar-popular__img {
  width: 100%;
  height: 145px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s;
}
.sidebar-popular__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.78) 0%,
    rgba(0, 0, 0, 0.2) 55%,
    transparent 100%
  );
}
.sidebar-popular__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.5rem;
}
.sidebar-popular__item-title {
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 0.25rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.sidebar-popular__meta {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.sidebar-popular__meta-text {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.6rem;
}

.post-views {
  margin-top: 2rem;
}

/* ══════ Post Navigation ══════ */
.post-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.post-nav__col {
  flex: 1 1 250px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}
.post-nav__col--next {
  justify-content: flex-end;
  text-align: right;
}
.post-nav__thumb {
  display: block;
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  overflow: hidden;
}
.post-nav__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ══════ Primary Color Utilities ══════ */
.iq-nav-link {
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  transition:
    background-color 0.15s,
    color 0.15s;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.iq-nav-link:hover,
.iq-nav-link.iq-active {
  color: #fff;
  background-color: rgba(0, 0, 0, 0.18);
  text-decoration: none;
}

.iq-mobile-link {
  color: #fff;
  display: block;
  padding: 0.5rem 0.75rem;
  font-weight: 600;
  font-size: 0.875rem;
  transition: background-color 0.15s;
  text-decoration: none;
}
.iq-mobile-link:hover,
.iq-mobile-link.iq-active {
  background-color: rgba(0, 0, 0, 0.18);
}

.iq-btn-overlay:hover {
  background-color: rgba(0, 0, 0, 0.18);
}
.group:hover .iq-group-hover-primary {
  color: #0089d0;
}
.iq-text-primary {
  color: #0089d0;
}
.iq-border-primary {
  border-color: #0089d0;
}
.iq-bg-primary {
  background-color: #0089d0;
}
.iq-hover-bg-primary:hover {
  background-color: #0089d0;
}
.iq-hover-bg-primary-dark:hover {
  background-color: #007ab8;
}
.iq-hover-text-primary:hover {
  color: #0089d0;
}
.iq-hover-text-primary-dark:hover {
  color: #005f91;
}
.iq-gradient-primary {
  background: linear-gradient(135deg, #0089d0 0%, #005f91 100%);
}
.iq-prose-primary a {
  color: #0089d0;
}
.iq-search-focus:focus {
  box-shadow: 0 0 0 2px #0089d0;
  outline: none;
}
.iq-search-btn:hover {
  color: #0089d0;
}

/* ══════ Footer  ══════ */
footer h4 {
  color: #0089d0;
}
footer p {
  color: #a8a29e;
}
/* ══════ Footer Navigation ══════ */
.footer-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-nav-list li {
  margin: 0;
  padding: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.footer-nav-list li:last-child {
  border-bottom: none;
}
.footer-nav-list li a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0;
  font-size: 0.875rem;
  color: #a8a29e;
  text-decoration: none;
  transition:
    color 0.15s,
    padding-left 0.15s;
}
.footer-nav-list li a::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  border-top: 1.5px solid #0089d0;
  border-right: 1.5px solid #0089d0;
  transform: rotate(45deg);
  flex-shrink: 0;
  transition: transform 0.15s;
}
.footer-nav-list li a:hover {
  color: #fff;
  padding-left: 4px;
}
.footer-nav-list li a:hover::before {
  transform: rotate(45deg) translate(2px, -2px);
}

/* ══════ Forms ══════ */
.comment-form,
form.wpcf7-form,
form {
  --form-radius: 3px;
  --form-border: #dde3ea;
  --form-focus: #0089d0;
  --form-bg: #f8f9fa;
  --form-text: #1a1a1a;
  --form-label: #444;
  --form-placeholder: #aaa;
}

/* Labels */
.comment-form label,
form label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--form-label);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
}

/* Text inputs, email, url, password, number, tel */
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea,
form input[type="text"],
form input[type="email"],
form input[type="url"],
form input[type="password"],
form input[type="number"],
form input[type="tel"],
form input[type="search"],
form textarea,
form select {
  display: block;
  width: 100%;
  background: var(--form-bg);
  color: var(--form-text);
  border: 1px solid var(--form-border);
  border-radius: var(--form-radius);
  padding: 0.6rem 0.875rem;
  font-size: 0.9rem;
  font-family: inherit;
  line-height: 1.5;
  transition:
    border-color 0.15s,
    box-shadow 0.15s,
    background 0.15s;
  outline: none;
  appearance: none;
}

form textarea {
  min-height: 130px;
  resize: vertical;
}

form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230089d0' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.25rem;
  cursor: pointer;
}

/* Focus */
.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus,
form input[type="text"]:focus,
form input[type="email"]:focus,
form input[type="url"]:focus,
form input[type="password"]:focus,
form input[type="number"]:focus,
form input[type="tel"]:focus,
form input[type="search"]:focus,
form textarea:focus,
form select:focus {
  border-color: var(--form-focus);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0, 137, 208, 0.12);
}

/* Placeholder */
.comment-form input::placeholder,
form input::placeholder,
form textarea::placeholder {
  color: var(--form-placeholder);
  font-size: 0.875rem;
}

/* Checkbox & Radio */
form input[type="checkbox"],
form input[type="radio"] {
  width: 1rem;
  height: 1rem;
  accent-color: var(--form-focus);
  cursor: pointer;
  vertical-align: middle;
  margin-right: 0.4rem;
}

/* Submit / Buttons */
.comment-form .submit,
form input[type="submit"],
form button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background-color: #0089d0;
  color: #fff;
  border: none;
  border-radius: var(--form-radius);
  padding: 0.65rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  font-family: inherit;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition:
    background-color 0.15s,
    box-shadow 0.15s;
}

.comment-form .submit:hover,
form input[type="submit"]:hover,
form button[type="submit"]:hover {
  background-color: #007ab8;
  box-shadow: 0 2px 8px rgba(0, 137, 208, 0.3);
}

.comment-form .submit:active,
form input[type="submit"]:active,
form button[type="submit"]:active {
  background-color: #005f91;
  box-shadow: none;
}

/* Form field wrapper spacing */
.comment-form p,
form p {
  margin-bottom: 1.25rem;
}

/* Required asterisk */
.required {
  color: #e11d48;
  margin-left: 0.2rem;
}

/* Comment form cookies consent */
.comment-form-cookies-consent label {
  text-transform: none;
  font-weight: 400;
  font-size: 0.8rem;
  color: #666;
  display: inline;
}

/* TheMyLogin: privacy checkbox */
.tml-privacy-label {
  display: flex !important;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: #555;
  cursor: pointer;
  line-height: 1.4;
}
.tml-privacy-checkbox {
  flex-shrink: 0;
  margin-top: 0.15rem;
  width: 1rem !important;
  height: 1rem !important;
  accent-color: #0089d0;
  cursor: pointer;
}
.tml-privacy-label a {
  color: #0089d0;
  text-decoration: underline;
}
.tml-privacy-label a:hover {
  color: #005f91;
}
