/*
Theme Name: Press News
Theme URI: https://example.com/press-news
Author: Press Team
Author URI: https://example.com
Description: A modern news and magazine WordPress theme with clean design and responsive layout
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: press-news
Tags: news, magazine, blog, responsive, clean
*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

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

/* Header */
.header {
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo h1 {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  font-weight: 700;
  color: #dc2626;
  text-decoration: none;
}

.nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav a {
  text-decoration: none;
  color: #666;
  font-weight: 500;
  transition: color 0.3s;
}

.nav a:hover,
.nav a.active {
  color: #dc2626;
}

.header-icons {
  display: flex;
  gap: 1rem;
}

.search-btn {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: #666;
}

/* Main Content */
.main-content {
  padding: 2rem 0;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
}

/* Hero Article */
.hero-article {
  margin-bottom: 3rem;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.hero-text h2 {
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-text p {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.6;
}

.hero-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
}

/* Full width hero article styles */
.hero-article-full {
  position: relative;
  margin-bottom: 3rem;
  border-radius: 12px;
  overflow: hidden;
  height: 500px;
}

.hero-image-full {
  width: 100%;
  height: 100%;
}

.hero-image-full img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-text-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  padding: 3rem;
  color: white;
}

.hero-text-overlay h2 {
  font-family: "Playfair Display", serif;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
  color: white;
}

.hero-text-overlay p {
  font-size: 1.2rem;
  color: #e5e5e5;
  line-height: 1.6;
  max-width: 800px;
}

/* New grid layout for secondary articles and trending */
.content-grid-secondary {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  margin-bottom: 3rem;
}

.secondary-articles {
  width: 100%;
}

/* Articles Grid */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.article-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.article-card:hover {
  transform: translateY(-5px);
}

.article-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.article-content {
  padding: 1.5rem;
}

.article-content h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.article-content p {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.article-date {
  font-size: 0.8rem;
  color: #999;
}

/* News Sections */
.news-section {
  margin-bottom: 3rem;
}

.section-title {
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #dc2626;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-title.white {
  color: #fff;
}

/* Politics Grid */
.politics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.politics-card {
  display: flex;
  gap: 1rem;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.politics-card img {
  width: 150px;
  height: 120px;
  object-fit: cover;
  flex-shrink: 0;
}

.politics-content {
  padding: 1rem;
  flex: 1;
}

.politics-content h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.politics-content p {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.4;
}

/* Finance Articles */
.finance-articles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.finance-large {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.finance-large img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.finance-content {
  padding: 1.5rem;
}

.finance-content h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.finance-content p {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 1rem;
  line-height: 1.5;
}

/* Videos Section */
.videos-section {
  background: #1a1a1a;
  padding: 3rem;
  border-radius: 12px;
  margin-bottom: 3rem;
}

.videos-content {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2rem;
}

.main-video {
  position: relative;
}

.main-video img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
}

.video-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.play-btn {
  background: rgba(220, 38, 38, 0.9);
  border: none;
  color: white;
  font-size: 2rem;
  padding: 1rem 1.5rem;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}

.play-btn:hover {
  background: #dc2626;
}

.main-video h3 {
  color: #fff;
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  margin-top: 1rem;
}

.video-date {
  color: #999;
  font-size: 0.9rem;
}

.video-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.video-item {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.video-item img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
}

.video-info h4 {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
  line-height: 1.3;
}

.video-info span {
  color: #999;
  font-size: 0.8rem;
}

/* Bottom Articles */
.bottom-articles {
  display: grid;
  gap: 2rem;
}

.bottom-article {
  display: flex;
  gap: 1.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e5e5e5;
}

.bottom-article:last-child {
  border-bottom: none;
}

.bottom-article img {
  width: 150px;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.article-info h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.article-info p {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

/* Sidebar */
.sidebar {
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 12px;
  height: fit-content;
  position: sticky;
  top: 100px;
}

.trending-sidebar {
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 12px;
  height: fit-content;
  position: sticky;
  top: 100px;
}

.trending-section h3 {
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #dc2626;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.trending-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}

.trending-number {
  background: #dc2626;
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.trending-content h4 {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.4;
  color: #333;
}

.trending-content a {
  text-decoration: none;
  color: #333;
  transition: color 0.3s;
}

.trending-content a:hover {
  color: #dc2626;
}

/* Footer */
.footer {
  background: #1a1a1a;
  color: #fff;
  padding: 3rem 0;
  margin-top: 4rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-section h3 {
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-logo h2 {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  color: #dc2626;
  margin-bottom: 0.5rem;
}

.footer-logo p {
  color: #999;
  font-size: 0.9rem;
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icons a {
  color: #999;
  font-size: 1.5rem;
  text-decoration: none;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #dc2626;
}

/* Responsive Design */
@media (max-width: 768px) {
  .content-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .content-grid-secondary {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-article-full {
    height: 400px;
  }

  .hero-text-overlay {
    padding: 2rem;
  }

  .hero-text-overlay h2 {
    font-size: 2rem;
  }

  .hero-text-overlay p {
    font-size: 1rem;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .articles-grid {
    grid-template-columns: 1fr;
  }

  .politics-grid {
    grid-template-columns: 1fr;
  }

  .finance-articles {
    grid-template-columns: 1fr;
  }

  .videos-content {
    grid-template-columns: 1fr;
  }

  .nav ul {
    display: none;
  }

  .footer-content {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  .bottom-article {
    flex-direction: column;
  }

  .bottom-article img {
    width: 100%;
    height: 200px;
  }
}
