/**
 * Page Template Styles
 * Professional styling for standard WordPress pages
 *
 * @format
 */

/* Page Container */
.wrap-site {
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 20px;
  display: flex;
  gap: 50px;
}

.page-full-width .content-area {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.page-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 50px;
  align-items: start;
}

/* Main Content Area */
.content-area {
  flex: 1;
  min-width: 0;
}

.site-main {
  background: #fff;
}

/* Article Styling */
article {
  background: #fff;
}

/* Entry Header */
.entry-header {
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 2px solid #e0e0e0;
}

.entry-title {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.3;
  color: #1a1a1a;
  margin: 0;
}

/* Entry Content */
.entry-content {
  font-size: 17px;
  line-height: 1.8;
  color: #444;
}

.entry-content p {
  margin-bottom: 25px;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
  margin-top: 40px;
  margin-bottom: 20px;
  color: #1a1a1a;
  font-weight: 700;
  line-height: 1.3;
}

.entry-content h2 {
  font-size: 36px;
}

.entry-content h3 {
  font-size: 28px;
}

.entry-content h4 {
  font-size: 24px;
}

.entry-content h5 {
  font-size: 20px;
}

.entry-content h6 {
  font-size: 18px;
}

.entry-content ul,
.entry-content ol {
  margin: 25px 0;
  padding-left: 30px;
}

.entry-content li {
  margin-bottom: 12px;
}

.entry-content a {
  color: #70023d;
  text-decoration: underline;
  transition: all 0.3s ease;
}

.entry-content a:hover {
  color: #8b0349;
  text-decoration: none;
}

.entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 30px 0;
}

.entry-content blockquote {
  margin: 30px 0;
  padding: 25px 30px;
  background: #f8f9fa;
  border-left: 4px solid #70023d;
  border-radius: 8px;
  font-style: italic;
  color: #555;
}

.entry-content table {
  width: 100%;
  margin: 30px 0;
  border-collapse: collapse;
}

.entry-content table th,
.entry-content table td {
  padding: 12px 15px;
  border: 1px solid #e0e0e0;
  text-align: left;
}

.entry-content table th {
  background: #f8f9fa;
  font-weight: 700;
  color: #1a1a1a;
}

.entry-content table tr:nth-child(even) {
  background: #fafafa;
}

/* Page Links (Pagination) */
.page-links {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid #e0e0e0;
  display: flex;
  align-items: center;
  gap: 15px;
}

.page-links .page-number {
  display: inline-block;
  padding: 8px 15px;
  background: #f8f9fa;
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  color: #333;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 600;
}

.page-links .page-number:hover {
  background: #70023d;
  border-color: #70023d;
  color: #fff;
  transform: translateY(-2px);
}

.page-links span:not(.page-number) {
  font-weight: 600;
  color: #666;
}

/* Sidebar */
#secondary {
  width: 100%;
}

#secondary .widget {
  background: #f8f9fa;
  padding: 25px;
  border-radius: 12px;
  margin-bottom: 30px;
  border: 1px solid #e0e0e0;
}

#secondary .widget-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #1a1a1a;
  padding-bottom: 15px;
  border-bottom: 2px solid #70023d;
}

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

#secondary .widget ul li {
  padding: 10px 0;
  border-bottom: 1px solid #e0e0e0;
}

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

#secondary .widget ul li a {
  color: #444;
  text-decoration: none;
  transition: color 0.3s ease;
}

#secondary .widget ul li a:hover {
  color: #70023d;
}

/* Comments Section */
.comments-area {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 2px solid #e0e0e0;
}

.comments-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 30px;
  color: #1a1a1a;
}

.comment-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.comment-body {
  background: #f8f9fa;
  padding: 25px;
  border-radius: 12px;
  margin-bottom: 20px;
}

.comment-author {
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 10px;
}

.comment-meta {
  font-size: 14px;
  color: #666;
  margin-bottom: 15px;
}

.comment-content p {
  margin: 0;
  color: #444;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .wrap-site {
    padding: 50px 20px;
  }

  .page-with-sidebar {
    grid-template-columns: 1fr 300px;
    gap: 40px;
  }
}

@media (max-width: 992px) {
  .wrap-site {
    padding: 40px 20px;
  }

  .page-with-sidebar {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .entry-title {
    font-size: 36px;
  }

  .entry-content {
    font-size: 16px;
  }

  .entry-content h2 {
    font-size: 30px;
  }

  .entry-content h3 {
    font-size: 24px;
  }
}

@media (max-width: 768px) {
  .wrap-site {
    padding: 30px 15px;
  }

  .entry-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
  }

  .entry-title {
    font-size: 30px;
  }

  .entry-content {
    font-size: 15px;
  }

  .entry-content h2 {
    font-size: 26px;
    margin-top: 30px;
  }

  .entry-content h3 {
    font-size: 22px;
  }

  .page-links {
    flex-wrap: wrap;
  }
}

@media (max-width: 576px) {
  .entry-title {
    font-size: 26px;
  }

  .entry-content {
    font-size: 14px;
  }

  .entry-content blockquote {
    padding: 20px;
    margin: 20px 0;
  }

  #secondary .widget {
    padding: 20px;
  }
}

/* Print Styles */
@media print {
  .wrap-site {
    padding: 0;
  }

  #secondary,
  .comments-area {
    display: none;
  }

  .entry-content a {
    color: #000;
    text-decoration: underline;
  }
}
