/* ============================================
   ARTICLE PAGE STYLES - Rychlá Oprava Elektro
   Green Theme (#22c55e + white)
   ============================================ */

/* Article Hero Section */
.article-hero {
  position: relative;
  padding: 30px 0 40px;
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  overflow: hidden;
}

.article-hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.05;
  background:
    radial-gradient(circle at 20% 50%, #22c55e 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, #16a34a 0%, transparent 50%);
}

.article-hero__shape {
  position: absolute;
  border-radius: 50%;
  background: #22c55e;
  opacity: 0.03;
}

.article-hero__shape--1 {
  width: 400px;
  height: 400px;
  top: -200px;
  left: -100px;
}

.article-hero__shape--2 {
  width: 300px;
  height: 300px;
  bottom: -150px;
  right: -50px;
}

.article-hero__breadcrumb {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.article-hero__breadcrumb-link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #374151;
  text-decoration: none;
  transition: color 0.2s;
}

.article-hero__breadcrumb-link:hover {
  color: #22c55e;
}

.article-hero__breadcrumb-link img {
  filter: brightness(0) saturate(100%) invert(27%) sepia(8%) saturate(679%) hue-rotate(177deg) brightness(95%) contrast(88%);
  transition: filter 0.2s;
}

.article-hero__breadcrumb-link:hover img {
  filter: brightness(0) saturate(100%) invert(62%) sepia(61%) saturate(501%) hue-rotate(101deg) brightness(93%) contrast(90%);
}

.article-hero__breadcrumb-sep {
  filter: brightness(0) saturate(100%) invert(74%) sepia(6%) saturate(340%) hue-rotate(177deg) brightness(92%) contrast(87%);
}

.article-hero__breadcrumb-current {
  color: #6b7280;
}

/* Article Main */
.article-main {
  padding: 50px 0;
  background: #ffffff;
}

.fe-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Article Content */
.article {
  max-width: 800px;
  margin: 0 auto;
}

.article__header {
  margin-bottom: 30px;
  text-align: center;
}

.article__category {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: white;
  font-size: 14px;
  font-weight: 600;
  border-radius: 20px;
  margin-bottom: 20px;
}

.article__category img {
  filter: brightness(0) invert(1);
}

.article__title {
  font-size: 42px;
  font-weight: 800;
  color: #1f2937;
  line-height: 1.2;
  margin: 0 0 20px;
}

.article__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  color: #6b7280;
  font-size: 15px;
}

.article__meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.article__meta-item img {
  filter: brightness(0) saturate(100%) invert(51%) sepia(6%) saturate(340%) hue-rotate(177deg) brightness(92%) contrast(87%);
}

/* Article Image */
.article__image {
  margin: 40px 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.article__image img {
  width: 100%;
  height: auto;
  display: block;
}

.article__image-caption {
  padding: 15px 20px;
  background: #f9fafb;
  color: #6b7280;
  font-size: 14px;
  font-style: italic;
  text-align: center;
}

/* Article Intro */
.article__intro {
  font-size: 20px;
  line-height: 1.7;
  color: #374151;
  margin: 30px 0;
  padding: 25px;
  background: #f0fdf4;
  border-left: 4px solid #22c55e;
  border-radius: 8px;
}

.article__intro p {
  margin: 0;
}

/* Article Content */
.article__content {
  font-size: 17px;
  line-height: 1.8;
  color: #374151;
}

.article__content h2 {
  font-size: 32px;
  font-weight: 700;
  color: #1f2937;
  margin: 40px 0 20px;
  line-height: 1.3;
}

.article__content h3 {
  font-size: 24px;
  font-weight: 600;
  color: #1f2937;
  margin: 30px 0 15px;
  line-height: 1.4;
}

.article__content p {
  margin: 0 0 20px;
}

.article__content ul,
.article__content ol {
  margin: 0 0 20px;
  padding-left: 25px;
}

.article__content li {
  margin-bottom: 10px;
}

.article__content strong {
  color: #1f2937;
  font-weight: 600;
}

.article__content a {
  color: #22c55e;
  text-decoration: underline;
  transition: color 0.2s;
}

.article__content a:hover {
  color: #16a34a;
}

.article__content blockquote {
  margin: 30px 0;
  padding: 20px 25px;
  background: #f9fafb;
  border-left: 4px solid #22c55e;
  font-style: italic;
  color: #4b5563;
}

.article__content blockquote p:last-child {
  margin-bottom: 0;
}

.article__content code {
  padding: 2px 6px;
  background: #f3f4f6;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 15px;
  color: #e11d48;
}

.article__content pre {
  margin: 20px 0;
  padding: 20px;
  background: #1f2937;
  border-radius: 8px;
  overflow-x: auto;
}

.article__content pre code {
  background: none;
  color: #f3f4f6;
  padding: 0;
}

/* Article Conclusion */
.article__conclusion {
  margin: 40px 0;
  padding: 30px;
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border-radius: 12px;
}

.article__conclusion-title {
  font-size: 28px;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 15px;
}

.article__conclusion p {
  font-size: 17px;
  line-height: 1.7;
  color: #374151;
  margin: 0 0 15px;
}

.article__conclusion p:last-child {
  margin-bottom: 0;
}

.article__conclusion a {
  color: #22c55e;
  font-weight: 600;
  text-decoration: underline;
  transition: color 0.2s;
}

.article__conclusion a:hover {
  color: #16a34a;
}

/* Article Tags */
.article__tags {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 30px 0;
  padding: 15px 20px;
  background: #f9fafb;
  border-radius: 8px;
  font-size: 15px;
  color: #6b7280;
}

.article__tags img {
  filter: brightness(0) saturate(100%) invert(62%) sepia(61%) saturate(501%) hue-rotate(101deg) brightness(93%) contrast(90%);
}

/* Article CTA */
.article__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin: 50px 0;
  padding: 35px;
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(34, 197, 94, 0.3);
}

.article__cta-content {
  flex: 1;
}

.article__cta-title {
  font-size: 28px;
  font-weight: 700;
  color: white;
  margin: 0 0 10px;
}

.article__cta-text {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  line-height: 1.6;
}

.article__cta-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  background: white;
  color: #22c55e;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 10px;
  transition: all 0.3s;
  white-space: nowrap;
}

.article__cta-btn:hover {
  background: #f9fafb;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.article__cta-btn img {
  filter: brightness(0) saturate(100%) invert(62%) sepia(61%) saturate(501%) hue-rotate(101deg) brightness(93%) contrast(90%);
}

/* Related Articles */
.article-related {
  margin: 60px 0 0;
  padding: 50px 0 0;
  border-top: 2px solid #e5e7eb;
}

.article-related__title {
  font-size: 32px;
  font-weight: 700;
  color: #1f2937;
  text-align: center;
  margin: 0 0 40px;
}

.article-related__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.article-related__card {
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  transition: all 0.3s;
}

.article-related__card:hover {
  border-color: #22c55e;
  box-shadow: 0 8px 25px rgba(34, 197, 94, 0.15);
  transform: translateY(-4px);
}

.article-related__link {
  display: flex;
  flex-direction: column;
  padding: 30px;
  text-decoration: none;
  height: 100%;
}

.article-related__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border-radius: 12px;
  margin-bottom: 20px;
}

.article-related__icon img {
  filter: brightness(0) saturate(100%) invert(62%) sepia(61%) saturate(501%) hue-rotate(101deg) brightness(93%) contrast(90%);
}

.article-related__card-title {
  font-size: 18px;
  font-weight: 600;
  color: #1f2937;
  line-height: 1.4;
  margin: 0 0 15px;
  flex: 1;
}

.article-related__arrow {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.article-related__arrow img {
  filter: brightness(0) saturate(100%) invert(62%) sepia(61%) saturate(501%) hue-rotate(101deg) brightness(93%) contrast(90%);
  transition: transform 0.3s;
}

.article-related__card:hover .article-related__arrow img {
  transform: translateX(5px);
}

/* Responsive Design */
@media (max-width: 900px) {
  .article-hero {
    padding: 30px 0 30px;
  }

  .article__title {
    font-size: 36px;
  }

  .article__intro {
    font-size: 18px;
  }

  .article__content {
    font-size: 16px;
  }

  .article__content h2 {
    font-size: 28px;
  }

  .article__content h3 {
    font-size: 22px;
  }

  .article-related__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .article-hero {
    padding: 30px 0 25px;
  }

  .article__title {
    font-size: 32px;
  }

  .article__intro {
    font-size: 17px;
    padding: 20px;
  }

  .article__content h2 {
    font-size: 26px;
    margin: 35px 0 18px;
  }

  .article__content h3 {
    font-size: 20px;
    margin: 25px 0 12px;
  }

  .article__cta {
    flex-direction: column;
    padding: 30px;
    gap: 20px;
  }

  .article__cta-btn {
    width: 100%;
    justify-content: center;
  }

  .article-related__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 576px) {
  .article-hero {
    padding: 30px 0 20px;
  }

  .article__title {
    font-size: 28px;
  }

  .article__meta {
    font-size: 14px;
    gap: 15px;
  }

  .article__intro {
    font-size: 16px;
    padding: 18px;
  }

  .article__content {
    font-size: 15px;
  }

  .article__content h2 {
    font-size: 24px;
    margin: 30px 0 15px;
  }

  .article__content h3 {
    font-size: 19px;
    margin: 22px 0 10px;
  }

  .article__cta-title {
    font-size: 24px;
  }

  .article__cta-text {
    font-size: 15px;
  }

  .article__cta-btn {
    font-size: 16px;
    padding: 14px 28px;
  }

  .article-related__title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .article-related__link {
    padding: 25px;
  }

  .article-related__icon {
    width: 50px;
    height: 50px;
  }

  .article-related__icon img {
    width: 20px;
    height: 20px;
  }

  .article-related__card-title {
    font-size: 17px;
  }
}

@media (max-width: 375px) {
  .article-hero {
    padding: 30px 0 15px;
  }

  .fe-container {
    padding: 0 15px;
  }

  .article__title {
    font-size: 24px;
  }

  .article__category {
    font-size: 13px;
    padding: 6px 14px;
  }

  .article__intro {
    font-size: 15px;
    padding: 16px;
  }

  .article__content h2 {
    font-size: 22px;
  }

  .article__content h3 {
    font-size: 18px;
  }

  .article__cta {
    padding: 25px 20px;
  }

  .article__cta-title {
    font-size: 22px;
  }

  .article__cta-text {
    font-size: 14px;
  }

  .article-related__title {
    font-size: 24px;
  }

  .article-related__link {
    padding: 20px;
  }
}
