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

.main-content {
    min-height: calc(100vh - 200px);
    background-color: #fff;
}


.blog-article {
    padding: 60px 0 80px;
}


.blog-header {
    text-align: center;
    margin-bottom: 50px;
}

.blog-title {
    font-size: 42px;
    font-weight: bold;
    color: #111827;
    line-height: 1.3;
    margin-bottom: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}


.author-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #e5e7eb;
}

.avatar-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.author-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.author-name {
    font-size: 16px;
    font-weight: 600;
    color: #374151;
}

.publish-date {
    font-size: 14px;
    color: #6b7280;
}


.blog-subtitle {
    font-size: 18px;
    color: #6b7280;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
    font-style: italic;
}


.blog-featured-image {
    margin: 50px 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.featured-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-image:hover {
    transform: scale(1.02);
}


.blog-content {
    
    margin: 0 auto;
}

.content-section {
    background-color: #fff;
}

.content-title {
    font-size: 28px;
    font-weight: bold;
    color: #111827;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e5e7eb;
}



.content-section h1 {
  font-size: 32px;
  color: #2c3e50;
  border-bottom: 3px solid #2c545c;
  padding-bottom: 10px;
  margin-bottom: 25px;
  font-weight: 700;
}
.content-section h2 {
  font-size: 26px;
  color: #34495e;
  margin: 30px 0 15px 0;
  padding-left: 10px;
  border-left: 4px solid #2c545c;
}
.content-section h3 {
  font-size: 22px;
  color: #5d6d7e;
  margin: 25px 0 12px 0;
}
.content-section h4 {
  font-size: 18px;
  color: #7f8c8d;
  margin: 20px 0 10px 0;
  font-style: italic;
}
.content-section p {
  margin-bottom: 16px;
  text-align: justify;
  font-size: 16px;
}
.content-section ul {
  margin: 15px 0;
  padding-left: 25px;
}
.content-section ul li {
  margin-bottom: 8px;
  position: relative;
  padding-left: 10px;
  font-size: 16px;
}
.content-section ul li::before {
  content: "•";
  color: #2c545c;
  font-weight: bold;
  position: absolute;
  left: -15px;
}
.content-section ol {
  margin: 15px 0;
  padding-left: 25px;
  counter-reset: item;
}
.content-section ol li {
  margin-bottom: 8px;
  padding-left: 10px;
  counter-increment: item;
  font-size: 16px;
}
.content-section ol li::before {
  content: counter(item) ".";
  color: #3498db;
  font-weight: bold;
  position: absolute;
  left: -15px;
}
.content-section a {
  color: #2980b9;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}
.content-section a:hover {
  color: #2c545c;
  border-bottom: 1px solid #2c545c;
}
@media (max-width: 768px) {
  .content-section body {
    padding: 15px;
  }
  .content-section h1 {
    font-size: 28px;
  }
  .content-section h2 {
    font-size: 24px;
  }
  .content-section h3 {
    font-size: 20px;
  }
  .content-section h4 {
    font-size: 18px;
  }
  .content-section p {
    font-size: 15px;
  }
  .content-section ul li {
    font-size: 15px;
  }
  .content-section ol li {
    font-size: 15px;
  }
}



.content-block {
    margin-bottom: 35px;
    padding: 0;
}

.block-title {
    font-size: 22px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 15px;
    line-height: 1.4;
}

.block-text {
    font-size: 16px;
    line-height: 1.8;
    color: #4b5563;
    margin-bottom: 20px;
}

.block-text strong {
    color: #111827;
    font-weight: 600;
}


.recipe-number {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 10px;
    line-height: 1.4;
}

.recipe-description {
    font-size: 16px;
    line-height: 1.7;
    color: #4b5563;
    margin-bottom: 8px;
}

.recipe-highlight {
    font-size: 15px;
    line-height: 1.6;
    color: #6b7280;
    margin-bottom: 0;
}

.recipe-highlight strong {
    color: #2c545c;
    font-weight: 600;
}


.blog-article {
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.content-block {
    opacity: 0;
    transform: translateY(20px);
    animation: slideInUp 0.6s ease-out forwards;
}

.content-block:nth-child(1) { animation-delay: 0.1s; }
.content-block:nth-child(2) { animation-delay: 0.2s; }
.content-block:nth-child(3) { animation-delay: 0.3s; }
.content-block:nth-child(4) { animation-delay: 0.4s; }
.content-block:nth-child(5) { animation-delay: 0.5s; }
.content-block:nth-child(6) { animation-delay: 0.6s; }

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


@media (max-width: 1024px) {
    .blog-article {
        padding: 50px 0 70px;
    }
    
    .blog-title {
        font-size: 36px;
    }
    
    .featured-image {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .blog-article {
        padding: 40px 0 60px;
    }
    
    .blog-header {
        margin-bottom: 40px;
    }
    
    .blog-title {
        font-size: 28px;
        margin-bottom: 25px;
    }
    
    .author-info {
        flex-direction: column;
        gap: 8px;
        margin-bottom: 15px;
    }
    
    .author-details {
        align-items: center;
        text-align: center;
    }
    
    .blog-subtitle {
        font-size: 16px;
        padding: 0 10px;
    }
    
    .blog-featured-image {
        margin: 40px 0;
        border-radius: 15px;
    }
    
    .featured-image {
        height: 300px;
    }
    
    .content-title {
        font-size: 24px;
        margin-bottom: 25px;
    }
    
    .block-title {
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    .block-text {
        font-size: 15px;
        margin-bottom: 15px;
    }
    
    .recipe-number {
        font-size: 17px;
        margin-bottom: 8px;
    }
    
    .recipe-description {
        font-size: 15px;
        margin-bottom: 6px;
    }
    
    .recipe-highlight {
        font-size: 14px;
    }
    
    .content-block {
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
    
    .blog-article {
        padding: 30px 0 50px;
    }
    
    .blog-title {
        font-size: 24px;
        line-height: 1.4;
    }
    
    .author-avatar {
        width: 50px;
        height: 50px;
    }
    
    .author-name {
        font-size: 15px;
    }
    
    .publish-date {
        font-size: 13px;
    }
    
    .blog-subtitle {
        font-size: 15px;
    }
    
    .blog-featured-image {
        margin: 30px 0;
        border-radius: 12px;
    }
    
    .featured-image {
        height: 250px;
    }
    
    .content-title {
        font-size: 22px;
        margin-bottom: 20px;
    }
    
    .block-title {
        font-size: 18px;
        margin-bottom: 10px;
    }
    
    .block-text {
        font-size: 14px;
        line-height: 1.7;
    }
    
    .recipe-number {
        font-size: 16px;
        margin-bottom: 6px;
    }
    
    .recipe-description {
        font-size: 14px;
    }
    
    .recipe-highlight {
        font-size: 13px;
    }
    
    .content-block {
        margin-bottom: 25px;
    }
}


.author-avatar:hover .avatar-image {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.content-title:hover {
    color: #2563eb;
    transition: color 0.3s ease;
}

.recipe-number:hover {
    color: #2563eb;
    transition: color 0.3s ease;
    cursor: pointer;
}


::selection {
    background-color: rgba(37, 99, 235, 0.2);
    color: #2563eb;
}


html {
    scroll-behavior: smooth;
}


@media print {
    .blog-article {
        padding: 20px 0;
    }
    
    .featured-image {
        height: 300px;
    }
    
    .content-block {
        page-break-inside: avoid;
        margin-bottom: 20px;
    }
}


.loading {
    opacity: 0.6;
    pointer-events: none;
}


.blog-content a {
    color: #2563eb;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.blog-content a:hover {
    color: #1d4ed8;
}


.recommended-recipes-section {
    background-color: #f8fafc;
    padding: 80px 0 100px;
    border-top: 1px solid #e5e7eb;
}

.recommendations-title {
    font-size: 32px;
    font-weight: bold;
    color: #111827;
    text-align: center;
    margin-bottom: 50px;
    line-height: 1.3;
}


.recommendations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 20px;
}


.recommendation-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid #f3f4f6;
}

.recommendation-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.recommendation-image-container {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.recommendation-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.recommendation-card:hover .recommendation-image {
    transform: scale(1.05);
}


.recommendation-card .favorite-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.recommendation-card .favorite-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
}

.recommendation-card .heart-icon {
    font-size: 18px;
    color: #ccc;
    transition: all 0.3s ease;
}

.recommendation-card .favorite-btn.active .heart-icon {
    color: #e53e3e;
    animation: heartBeat 0.6s ease;
}


.recommendation-content {
    padding: 20px;
}

.recommendation-title {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.recommendation-meta {
    display: flex;
    gap: 20px;
    align-items: center;
}

.recommendation-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #6b7280;
}

.recommendation-meta .meta-icon {
    font-size: 16px;
    opacity: 0.8;
}

.recommendation-meta .meta-text {
    font-weight: 500;
}


.recommended-recipes-section {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 0.5s forwards;
}

.recommendation-card {
    opacity: 0;
    transform: translateY(20px);
    animation: slideInUp 0.6s ease-out forwards;
}

.recommendation-card:nth-child(1) { animation-delay: 0.7s; }
.recommendation-card:nth-child(2) { animation-delay: 0.8s; }
.recommendation-card:nth-child(3) { animation-delay: 0.9s; }
.recommendation-card:nth-child(4) { animation-delay: 1.0s; }


@media (max-width: 1024px) {
    .recommendations-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
    }
    
    .recommended-recipes-section {
        padding: 70px 0 90px;
    }
    
    .recommendations-title {
        font-size: 28px;
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .recommended-recipes-section {
        padding: 60px 0 80px;
    }
    
    .recommendations-title {
        font-size: 24px;
        margin-bottom: 35px;
        padding: 0 10px;
    }
    
    .recommendations-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }
    
    .recommendation-content {
        padding: 16px;
    }
    
    .recommendation-title {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .recommendation-meta .meta-item {
        font-size: 13px;
    }
    
    .recommendation-meta .meta-icon {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .recommended-recipes-section {
        padding: 50px 0 70px;
    }
    
    .recommendations-title {
        font-size: 22px;
        margin-bottom: 30px;
    }
    
    .recommendations-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .recommendation-card {
        border-radius: 12px;
    }
    
    .recommendation-image-container {
        height: 180px;
    }
    
    .recommendation-content {
        padding: 14px;
    }
    
    .recommendation-title {
        font-size: 15px;
        margin-bottom: 8px;
    }
    
    .recommendation-meta {
        gap: 15px;
    }
    
    .recommendation-meta .meta-item {
        font-size: 12px;
    }
    
    .recommendation-card .favorite-btn {
        width: 36px;
        height: 36px;
        top: 12px;
        right: 12px;
    }
    
    .recommendation-card .heart-icon {
        font-size: 16px;
    }
}
