/* === RESET & BASE === */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  font-size: 15px;
}
body {
  font-family: "Roboto", "Noto Sans", Arial, sans-serif;
  color: #4a4a4a;
  background: #fafafa;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a {
  color: #1e5fbd;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: #e85d00;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul,
ol {
  list-style: none;
}
button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  color: #1c1c1c;
  line-height: 1.25;
  font-weight: 700;
}
h1 {
  font-size: 28px;
  margin-bottom: 16px;
}
h2 {
  font-size: 22px;
  margin-bottom: 14px;
}
h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}
h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}
p {
  margin-bottom: 12px;
}
table {
  width: 100%;
  border-collapse: collapse;
}
th,
td {
  padding: 8px 12px;
  text-align: left;
  border-bottom: 1px solid #e1e1e1;
}
th {
  background: #f5f5f5;
  font-weight: 600;
  color: #1c1c1c;
}
tr:nth-child(even) {
  background: #fafafa;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* === CONTAINER === */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* === UTILITY BAR === */
.utility-bar {
  background: #1c1c1c;
  color: #ccc;
  font-size: 12px;
  height: 32px;
  display: flex;
  align-items: center;
}
.utility-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.utility-bar a {
  color: #aaa;
  margin-left: 12px;
  font-size: 12px;
}
.utility-bar a:hover {
  color: #e85d00;
}
.utility-bar .logo-text {
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.utility-bar .logo-text .coin-icon {
  width: 20px;
  height: 20px;
  background: #e85d00;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  color: #fff;
  font-weight: 700;
}
.utility-bar .search-mini {
  display: flex;
  align-items: center;
}
.utility-bar .search-mini input {
  background: #333;
  border: 1px solid #555;
  color: #fff;
  padding: 3px 8px;
  border-radius: 3px 0 0 3px;
  font-size: 12px;
  width: 160px;
  height: 24px;
}
.utility-bar .search-mini button {
  background: #e85d00;
  border: none;
  color: #fff;
  padding: 3px 8px;
  height: 24px;
  border-radius: 0 3px 3px 0;
  cursor: pointer;
  font-size: 11px;
}

/* === MAIN NAV === */
.main-nav {
  background: #fff;
  border-bottom: 1px solid #e1e1e1;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
.main-nav .container {
  display: flex;
  align-items: center;
  height: 56px;
  gap: 0;
}
.nav-logo {
  display: none;
  font-weight: 700;
  font-size: 18px;
  color: #e85d00;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.nav-logo .coin-icon {
  width: 22px;
  height: 22px;
  background: #e85d00;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  color: #fff;
  font-weight: 700;
}
.nav-menu {
  display: flex;
  align-items: center;
  flex: 1;
}
.nav-menu > li {
  position: relative;
}
.nav-menu > li > a {
  display: block;
  padding: 16px 13px;
  font-size: 14px;
  font-weight: 500;
  color: #1c1c1c;
  transition:
    background 0.2s,
    color 0.2s;
}
.nav-menu > li > a:hover,
.nav-menu > li > a.active {
  color: #e85d00;
  background: #fff8f3;
}
.nav-menu > li > a::after {
  content: "";
  display: none;
}
/* Dropdown */
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid #e1e1e1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  z-index: 1001;
  display: none;
}
.dropdown a {
  display: block;
  padding: 9px 16px;
  font-size: 13px;
  color: #4a4a4a;
  white-space: nowrap;
}
.dropdown a:hover {
  background: #fff8f3;
  color: #e85d00;
}
.nav-menu > li:hover .dropdown {
  display: block;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.nav-search-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: #4a4a4a;
  font-size: 16px;
}
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  font-size: 22px;
  color: #1c1c1c;
}

/* === HERO STRIP === */
.hero-strip {
  background: linear-gradient(135deg, #e85d00 0%, #ff8533 100%);
  padding: 28px 0;
  color: #fff;
}
.hero-strip h2 {
  color: #fff;
  font-size: 24px;
  margin-bottom: 8px;
}
.hero-strip p {
  font-size: 15px;
  opacity: 0.9;
  margin-bottom: 14px;
}
.btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  border: none;
  transition:
    background 0.2s,
    transform 0.1s;
}
.btn:active {
  transform: scale(0.97);
}
.btn-white {
  background: #fff;
  color: #e85d00;
}
.btn-white:hover {
  background: #fff5ef;
  color: #d04f00;
}
.btn-orange {
  background: #e85d00;
  color: #fff;
}
.btn-orange:hover {
  background: #d04f00;
}
.btn-blue {
  background: #1e5fbd;
  color: #fff;
}
.btn-blue:hover {
  background: #174fa0;
}
.btn-sm {
  padding: 7px 14px;
  font-size: 13px;
}
.btn-lg {
  padding: 12px 28px;
  font-size: 16px;
}

/* === SECTION === */
.section {
  padding: 32px 0;
}
.section-title {
  font-size: 20px;
  font-weight: 700;
  color: #1c1c1c;
  border-left: 4px solid #e85d00;
  padding-left: 12px;
  margin-bottom: 20px;
}
.section-title a {
  color: #1c1c1c;
}
.section-title a:hover {
  color: #e85d00;
}
.section-more {
  font-size: 13px;
  font-weight: 500;
  color: #e85d00;
  float: right;
  margin-top: 4px;
}

/* === MAIN LAYOUT === */
.main-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 28px;
  padding: 28px 0;
}
.content-main {
  min-width: 0;
}
.sidebar {
  width: 300px;
}

/* === ARTICLE CARDS === */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.card-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.card {
  border: 1px solid #e1e1e1;
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.card:hover {
  border-color: #e85d00;
  box-shadow: 0 2px 8px rgba(232, 93, 0, 0.12);
}
.card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: #eee;
}
.card-body {
  padding: 14px;
}
.card-meta {
  font-size: 11px;
  text-transform: uppercase;
  color: #8a8a8a;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.card-meta .tag {
  background: #fff3e8;
  color: #e85d00;
  padding: 1px 6px;
  border-radius: 2px;
  font-weight: 600;
  font-size: 10px;
}
.card-body h3 {
  font-size: 16px;
  line-height: 1.3;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-body h3 a {
  color: #1c1c1c;
}
.card-body h3 a:hover {
  color: #e85d00;
}
.card-excerpt {
  font-size: 13px;
  color: #6a6a6a;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* === ARTICLE LIST === */
.article-list-item {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #e1e1e1;
  align-items: flex-start;
}
.article-list-item:last-child {
  border-bottom: none;
}
.article-list-item img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 3px;
  flex-shrink: 0;
  background: #eee;
}
.article-list-item .meta {
  font-size: 11px;
  text-transform: uppercase;
  color: #8a8a8a;
  margin-bottom: 3px;
}
.article-list-item .meta .tag {
  color: #e85d00;
  font-weight: 600;
}
.article-list-item h4 {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 2px;
}
.article-list-item h4 a {
  color: #1c1c1c;
}
.article-list-item h4 a:hover {
  color: #e85d00;
}
.article-list-item .info {
  font-size: 12px;
  color: #8a8a8a;
}

/* === SIDEBAR WIDGETS === */
.sidebar-widget {
  margin-bottom: 22px;
  background: #fff;
  border: 1px solid #e1e1e1;
  border-radius: 4px;
  padding: 16px;
}
.sidebar-widget.orange-border {
  border-left: 4px solid #e85d00;
}
.sidebar-widget h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #1c1c1c;
}
.sidebar-widget ul li {
  padding: 6px 0;
  border-bottom: 1px solid #f5f5f5;
  font-size: 13px;
}
.sidebar-widget ul li:last-child {
  border-bottom: none;
}
.sidebar-widget ul li a {
  color: #4a4a4a;
}
.sidebar-widget ul li a:hover {
  color: #e85d00;
}
.sidebar-widget ul li .num {
  display: inline-block;
  width: 22px;
  height: 22px;
  background: #e85d00;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  line-height: 22px;
  font-size: 11px;
  font-weight: 700;
  margin-right: 6px;
}
.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.newsletter-form input[type="email"] {
  padding: 8px 10px;
  border: 1px solid #e1e1e1;
  border-radius: 3px;
  font-size: 13px;
  width: 100%;
}
.newsletter-form label {
  font-size: 11px;
  color: #8a8a8a;
  display: flex;
  align-items: flex-start;
  gap: 4px;
}
.newsletter-form label input {
  margin-top: 2px;
}

/* === AD ZONES === */
.ad-zone {
  background: #f5f5f5;
  border: 1px dashed #ccc;
  text-align: center;
  color: #aaa;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  border-radius: 3px;
}
.ad-zone span {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #bbb;
}
.ad-300x250 {
  width: 300px;
  height: 250px;
}
.ad-728x90 {
  width: 100%;
  max-width: 728px;
  height: 90px;
  margin: 20px auto;
}
.ad-970x250 {
  width: 100%;
  max-width: 970px;
  height: 250px;
  margin: 20px auto;
}
.ad-336x280 {
  width: 336px;
  height: 280px;
  margin: 16px auto;
}

/* === QUICK CALC BAR === */
.calc-bar {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 20px 0;
  flex-wrap: wrap;
}
.calc-bar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid #e1e1e1;
  border-radius: 4px;
  min-width: 100px;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  cursor: pointer;
}
.calc-bar-item:hover {
  border-color: #e85d00;
  box-shadow: 0 2px 6px rgba(232, 93, 0, 0.1);
}
.calc-bar-item .icon {
  font-size: 24px;
  color: #e85d00;
}
.calc-bar-item span {
  font-size: 12px;
  font-weight: 600;
  color: #1c1c1c;
}

/* === COMPARISON TABLE === */
.comparison-wrap {
  overflow-x: auto;
  margin: 16px 0;
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.comparison-table th {
  background: #1c1c1c;
  color: #fff;
  padding: 10px 12px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.comparison-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #e1e1e1;
  vertical-align: middle;
}
.comparison-table tr:hover {
  background: #fff8f3;
}
.comparison-table .product-name {
  font-weight: 600;
  color: #1c1c1c;
}
.comparison-table .stars {
  color: #e85d00;
  letter-spacing: 1px;
}
.comparison-table .btn {
  padding: 5px 12px;
  font-size: 12px;
}

/* === CALCULATOR PAGE === */
.calc-container {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #e1e1e1;
  border-radius: 6px;
  padding: 28px;
  margin-top: 20px;
  margin-bottom: 28px;
}
.calc-container h1 {
  font-size: 24px;
  text-align: center;
  margin-bottom: 6px;
}
.calc-container .subtitle {
  text-align: center;
  color: #8a8a8a;
  font-size: 14px;
  margin-bottom: 24px;
}
.calc-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.calc-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.calc-field label {
  font-size: 13px;
  font-weight: 600;
  color: #1c1c1c;
}
.calc-field input[type="range"] {
  width: 100%;
  accent-color: #e85d00;
}
.calc-field input[type="number"],
.calc-field select {
  padding: 8px 10px;
  border: 1px solid #e1e1e1;
  border-radius: 4px;
  font-size: 14px;
}
.calc-field .range-value {
  font-size: 18px;
  font-weight: 700;
  color: #e85d00;
  text-align: center;
}
.calc-field .range-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.calc-field .range-row input[type="range"] {
  flex: 1;
}
.calc-field .range-row input[type="number"] {
  width: 100px;
  text-align: center;
}
.calc-field .checkbox-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}
.calc-result {
  background: linear-gradient(135deg, #fff5ef, #fff);
  border: 2px solid #e85d00;
  border-radius: 6px;
  padding: 24px;
  margin-top: 20px;
}
.calc-result .result-value {
  font-size: 36px;
  font-weight: 700;
  color: #e85d00;
  text-align: center;
  margin-bottom: 4px;
}
.calc-result .result-label {
  text-align: center;
  font-size: 13px;
  color: #8a8a8a;
  margin-bottom: 16px;
}
.calc-result table {
  font-size: 13px;
  margin-top: 10px;
}
.calc-result table td {
  padding: 6px 10px;
}
.calc-result table td:last-child {
  text-align: right;
  font-weight: 600;
  color: #1c1c1c;
}

/* === ARTICLE DETAIL === */
.article-detail-layout {
  display: grid;
  grid-template-columns: 80px 1fr 300px;
  gap: 24px;
  padding: 24px 0;
}
.article-sidebar-left {
  position: sticky;
  top: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
}
.article-sidebar-left button,
.article-sidebar-left a {
  background: none;
  border: none;
  cursor: pointer;
  color: #8a8a8a;
  font-size: 16px;
  padding: 6px;
  border-radius: 3px;
  transition:
    color 0.2s,
    background 0.2s;
  display: flex;
  align-items: center;
  gap: 4px;
}
.article-sidebar-left button:hover,
.article-sidebar-left a:hover {
  color: #e85d00;
  background: #fff8f3;
}
.article-sidebar-left .reading-time {
  font-size: 11px;
  color: #8a8a8a;
  text-align: center;
}
.article-content {
  max-width: 700px;
}
.article-content .breadcrumb {
  font-size: 12px;
  color: #8a8a8a;
  margin-bottom: 14px;
}
.article-content .breadcrumb a {
  color: #8a8a8a;
}
.article-content .breadcrumb a:hover {
  color: #e85d00;
}
.article-content .article-header {
  margin-bottom: 24px;
}
.article-content .article-header .meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #8a8a8a;
  margin-bottom: 10px;
}
.article-content .article-header .meta .tag {
  background: #e85d00;
  color: #fff;
  padding: 2px 8px;
  border-radius: 2px;
  font-size: 11px;
  font-weight: 600;
}
.article-content .lead {
  font-size: 17px;
  font-weight: 500;
  color: #1c1c1c;
  line-height: 1.5;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e1e1e1;
}
.article-content h2 {
  font-size: 20px;
  margin-top: 28px;
  margin-bottom: 12px;
  padding-top: 16px;
  border-top: 1px solid #f0f0f0;
}
.article-content h3 {
  font-size: 17px;
  margin-top: 22px;
  margin-bottom: 10px;
}
.article-content p {
  margin-bottom: 14px;
  font-size: 15px;
}
.article-content ul,
.article-content ol {
  margin: 12px 0 14px 24px;
}
.article-content ul li,
.article-content ol li {
  margin-bottom: 6px;
  font-size: 14px;
  line-height: 1.5;
}
.article-content ul {
  list-style: disc;
}
.article-content ol {
  list-style: decimal;
}

/* Info boxes */
.info-box {
  padding: 16px 18px;
  border-radius: 4px;
  margin: 18px 0;
  font-size: 14px;
  line-height: 1.5;
}
.info-box.tip {
  background: #fff8f0;
  border-left: 4px solid #e85d00;
}
.info-box.tip::before {
  content: "TIP: ";
  font-weight: 700;
  color: #e85d00;
}
.info-box.warning {
  background: #fff0f0;
  border-left: 4px solid #d32f2f;
}
.info-box.warning::before {
  content: "POZOR: ";
  font-weight: 700;
  color: #d32f2f;
}
.info-box.fact {
  background: #eef6ff;
  border-left: 4px solid #1e5fbd;
}
.info-box.fact::before {
  content: "FAKT: ";
  font-weight: 700;
  color: #1e5fbd;
}

/* Data table */
.data-table {
  margin: 16px 0;
  font-size: 13px;
  border: 1px solid #e1e1e1;
  border-radius: 4px;
  overflow: hidden;
}
.data-table th {
  background: #f5f5f5;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.data-table tr:nth-child(even) {
  background: #f9f9f9;
}
.data-table tr:nth-child(even) td {
  background: #eef6ff;
}

/* TOC */
.toc-box {
  background: #f5f5f5;
  border: 1px solid #e1e1e1;
  border-radius: 4px;
  padding: 16px;
  margin: 16px 0;
}
.toc-box h4 {
  margin-bottom: 8px;
  font-size: 14px;
}
.toc-box ol {
  margin-left: 18px;
  list-style: decimal;
}
.toc-box ol li {
  margin-bottom: 4px;
  font-size: 13px;
}
.toc-box ol li a {
  color: #1e5fbd;
}

/* Author bio */
.author-box {
  display: flex;
  gap: 14px;
  padding: 18px;
  background: #f5f5f5;
  border-radius: 4px;
  margin: 24px 0;
}
.author-box .avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #e85d00;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
}
.author-box .info h4 {
  font-size: 15px;
  margin-bottom: 2px;
}
.author-box .info p {
  font-size: 13px;
  color: #6a6a6a;
  margin: 0;
}

/* Comments */
.comments-section {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid #e1e1e1;
}
.comments-section h3 {
  margin-bottom: 16px;
}
.comment {
  padding: 14px 0;
  border-bottom: 1px solid #f0f0f0;
}
.comment:last-child {
  border-bottom: none;
}
.comment .comment-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.comment .comment-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #666;
}
.comment .comment-name {
  font-weight: 600;
  font-size: 13px;
  color: #1c1c1c;
}
.comment .comment-date {
  font-size: 11px;
  color: #8a8a8a;
}
.comment .comment-body {
  font-size: 13px;
  color: #4a4a4a;
  margin-left: 40px;
}

/* === NEWSLETTER CTA === */
.newsletter-cta {
  background: #e85d00;
  padding: 32px 0;
  color: #fff;
  text-align: center;
}
.newsletter-cta h2 {
  color: #fff;
  font-size: 22px;
  margin-bottom: 6px;
}
.newsletter-cta p {
  opacity: 0.9;
  font-size: 14px;
  margin-bottom: 16px;
}
.newsletter-cta .inline-form {
  display: flex;
  gap: 8px;
  justify-content: center;
  max-width: 460px;
  margin: 0 auto;
}
.newsletter-cta input[type="email"] {
  padding: 10px 14px;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  flex: 1;
  min-width: 0;
}
.newsletter-cta button {
  padding: 10px 20px;
  background: #1c1c1c;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}

/* === CATEGORY LANDING === */
.category-hero {
  padding: 24px 0;
  border-bottom: 1px solid #e1e1e1;
}
.category-hero h1 {
  margin-bottom: 8px;
}
.category-hero .intro {
  font-size: 15px;
  color: #6a6a6a;
  max-width: 700px;
}

/* === CALC HUB === */
.calc-hub-section {
  margin-bottom: 28px;
}
.calc-hub-section h3 {
  font-size: 17px;
  border-bottom: 2px solid #e85d00;
  padding-bottom: 6px;
  margin-bottom: 16px;
}
.calc-hub-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.calc-hub-card {
  background: #fff;
  border: 1px solid #e1e1e1;
  border-radius: 4px;
  padding: 16px;
  text-align: center;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.calc-hub-card:hover {
  border-color: #e85d00;
  box-shadow: 0 2px 6px rgba(232, 93, 0, 0.1);
}
.calc-hub-card .icon {
  font-size: 28px;
  margin-bottom: 8px;
  color: #e85d00;
}
.calc-hub-card h4 {
  font-size: 14px;
  margin-bottom: 4px;
}
.calc-hub-card p {
  font-size: 12px;
  color: #8a8a8a;
  margin-bottom: 10px;
}

/* === FOOTER === */
.footer {
  background: #1c1c1c;
  color: #ccc;
  padding: 36px 0 0;
  font-size: 13px;
}
.footer h4 {
  color: #fff;
  font-size: 14px;
  margin-bottom: 12px;
}
.footer a {
  color: #aaa;
}
.footer a:hover {
  color: #e85d00;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 28px;
  padding-bottom: 28px;
}
.footer-col1 p {
  font-size: 12px;
  line-height: 1.5;
  margin-bottom: 10px;
}
.footer-col1 .footer-logo {
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 10px;
}
.footer-col1 .footer-logo .coin-icon {
  width: 18px;
  height: 18px;
  background: #e85d00;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  color: #fff;
  font-weight: 700;
}
.footer-col ul li {
  padding: 3px 0;
  font-size: 12px;
}
.footer-bottom {
  background: #0f0f0f;
  padding: 14px 0;
  text-align: center;
  font-size: 11px;
  color: #666;
  border-top: 1px solid #333;
}
.footer-bottom a {
  color: #888;
  margin: 0 6px;
}
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}
.footer-social a {
  width: 32px;
  height: 32px;
  background: #333;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #aaa;
}
.footer-social a:hover {
  background: #e85d00;
  color: #fff;
}
.footer .newsletter-form {
  margin-top: 8px;
}
.footer .newsletter-form input[type="email"] {
  background: #333;
  border: 1px solid #555;
  color: #fff;
}

/* === BACK TO TOP === */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 40px;
  height: 40px;
  background: #e85d00;
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  z-index: 999;
  transition: opacity 0.3s;
}
.back-to-top.visible {
  display: flex;
}

/* === MOBILE MENU === */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 360px;
  height: 100%;
  background: #fff;
  z-index: 2000;
  overflow-y: auto;
  transition: right 0.3s ease;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.2);
}
.mobile-menu.open {
  right: 0;
}
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1999;
  display: none;
}
.mobile-menu-overlay.open {
  display: block;
}
.mobile-menu .close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #1c1c1c;
  padding: 6px;
}
.mobile-menu ul {
  padding: 50px 20px 20px;
}
.mobile-menu > ul > li {
  border-bottom: 1px solid #f0f0f0;
}
.mobile-menu > ul > li > a {
  display: block;
  padding: 12px 0;
  font-weight: 600;
  color: #1c1c1c;
  font-size: 15px;
}
.mobile-menu .sub-menu {
  padding-left: 16px;
  display: none;
}
.mobile-menu .sub-menu.open {
  display: block;
}
.mobile-menu .sub-menu a {
  display: block;
  padding: 8px 0;
  font-size: 14px;
  color: #4a4a4a;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .main-layout {
    grid-template-columns: 1fr 260px;
    gap: 20px;
  }
  .card-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .calc-hub-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .article-detail-layout {
    grid-template-columns: 1fr 260px;
  }
  .article-sidebar-left {
    display: none;
  }
}

@media (max-width: 768px) {
  .utility-bar .search-mini,
  .utility-bar .right-links {
    display: none;
  }
  .main-nav .nav-menu {
    display: none;
  }
  .nav-logo {
    display: flex;
  }
  .mobile-toggle {
    display: block;
  }
  .main-layout {
    grid-template-columns: 1fr;
  }
  .sidebar {
    width: 100%;
  }
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .card-grid-2 {
    grid-template-columns: 1fr;
  }
  .card-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .calc-hub-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-strip h2 {
    font-size: 20px;
  }
  .calc-bar {
    gap: 8px;
  }
  .calc-bar-item {
    padding: 10px 12px;
    min-width: 80px;
  }
  .article-detail-layout {
    grid-template-columns: 1fr;
  }
  .ad-728x90,
  .ad-970x250 {
    display: none;
  }
  .comparison-wrap {
    font-size: 12px;
  }
  h1 {
    font-size: 24px;
  }
  h2 {
    font-size: 19px;
  }
}

@media (max-width: 480px) {
  .card-grid,
  .card-grid-4 {
    grid-template-columns: 1fr;
  }
  .calc-hub-grid {
    grid-template-columns: 1fr;
  }
  .calc-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .calc-bar-item {
    flex-direction: row;
    min-width: auto;
  }
  .newsletter-cta .inline-form {
    flex-direction: column;
  }
  h1 {
    font-size: 22px;
  }
  h2 {
    font-size: 18px;
  }
}

/* === STARS === */
.stars {
  color: #e85d00;
  font-size: 14px;
  letter-spacing: 1px;
}
.stars .empty {
  color: #e1e1e1;
}

/* === SORTABLE TABLE HEADER === */
.sortable {
  cursor: pointer;
  user-select: none;
}
.sortable:hover {
  background: #333;
}
.sortable::after {
  content: " ⇅";
  font-size: 10px;
  opacity: 0.5;
}

/* === PRINT === */
@media print {
  .main-nav,
  .utility-bar,
  .sidebar,
  .footer,
  .back-to-top,
  .ad-zone,
  .mobile-menu,
  .mobile-menu-overlay {
    display: none !important;
  }
  .article-detail-layout {
    grid-template-columns: 1fr !important;
  }
  body {
    font-size: 12px;
  }
}
