/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Georgia, 'Times New Roman', serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

a {
  color: #000;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: #b5101f;
}

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

/* Header Styles */
.site-header {
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
}

.top-bar-white {
  background: #fff;
  padding: 15px 0;
  border-bottom: 1px solid #e5e5e5;
}

.top-bar-white .container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}

.header-left {
  /* Empty space for balance */
}

.logo-section {
  text-align: center;
  justify-self: center;
}

.times-logo-svg {
  height: 50px;
  width: auto;
  display: block;
  margin: 0 auto;
}

.tagline {
  font-family: Georgia, serif;
  font-size: 0.75rem;
  font-style: italic;
  color: #666;
  margin: 0;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 15px;
  justify-self: end;
}

.notifications {
  font-size: 1.2rem;
  position: relative;
  cursor: pointer;
}

.badge {
  background: #ffd700;
  color: #000;
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 10px;
  font-weight: bold;
}

.subscribe-btn {
  background: #000;
  color: #fff;
  border: none;
  padding: 8px 20px;
  cursor: pointer;
  font-size: 0.9rem;
  border-radius: 3px;
}

.signin-btn {
  background: #fff;
  color: #000;
  border: 1px solid #ccc;
  padding: 8px 20px;
  cursor: pointer;
  font-size: 0.9rem;
  border-radius: 3px;
}

/* Red Navigation */
.red-nav {
  background: #b5101f;
  padding: 0;
}

.red-nav .container {
  padding: 0;
  display: flex;
  justify-content: center;
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 1200px;
}

.nav-menu li {
  flex: 0 0 auto;
}

.nav-menu a {
  display: block;
  color: #fff;
  padding: 12px 25px;
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
}

.nav-menu a:hover {
  background: rgba(0,0,0,0.1);
  color: #fff;
}

/* Listen Now Bar */
.listen-now-bar {
  background: #4a4a4a;
  color: #fff;
  padding: 12px 0;
}

.listen-label {
  font-weight: bold;
  margin-right: 15px;
  font-size: 0.9rem;
}

.podcast-title {
  font-size: 0.95rem;
}

/* Trending Bar */
.trending-bar {
  background: #f5f5f5;
  padding: 10px 0;
  border-bottom: 1px solid #ddd;
}

.trending-bar .container {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.trending-label {
  font-weight: bold;
  font-size: 0.85rem;
  color: #333;
}

.trending-bar a {
  font-size: 0.8rem;
  color: #b5101f;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.trending-bar a:hover {
  text-decoration: underline;
}

/* Top Stories Section */
.top-stories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 25px 0;
  border-bottom: 2px solid #ddd;
}

.featured-story img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 10px;
}

.featured-story h3 {
  font-size: 1.1rem;
  line-height: 1.3;
  margin-bottom: 8px;
  font-weight: 600;
}

.author-name {
  color: #666;
  font-size: 0.85rem;
  font-style: italic;
}

/* Top Featured Articles */
.top-featured {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 20px 0;
  border-bottom: 2px solid #ddd;
}

.top-article img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  margin-bottom: 10px;
}

.top-article h3 {
  font-size: 1rem;
  line-height: 1.3;
  font-weight: 700;
}

.top-article h3 a {
  color: #000;
}

.top-article h3 a:hover {
  color: #c00;
}

/* 3-Column Layout */
.three-column-layout {
  display: grid;
  grid-template-columns: 180px 1fr 280px;
  gap: 25px;
  padding: 25px 0;
  max-width: 1400px;
  margin: 0 auto;
}

/* Left Sidebar */
.left-sidebar {
  border-right: 1px solid #ddd;
  padding-right: 15px;
}

.sidebar-item {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.sidebar-item img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  flex-shrink: 0;
}

.sidebar-item h4 {
  font-size: 0.85rem;
  line-height: 1.3;
  font-weight: 700;
  margin: 0;
}

.sidebar-item h4 a {
  color: #000;
}

.sidebar-item h4 a:hover {
  color: #c00;
}

/* Main Content */
.main-content {
  padding: 0 20px;
}

.featured-main h2 {
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 15px;
  font-weight: 700;
}

.featured-main h2 a {
  color: #000;
}

.featured-main img {
  width: 100%;
  height: auto;
  margin-bottom: 15px;
}

.featured-main .excerpt {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 10px;
}

.featured-main .byline {
  font-size: 0.85rem;
  color: #666;
  font-style: italic;
}

.content-article {
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.content-article img {
  width: 200px;
  height: 130px;
  object-fit: cover;
  float: left;
  margin-right: 15px;
  margin-bottom: 10px;
}

.content-article h3 {
  font-size: 1.3rem;
  line-height: 1.3;
  margin-bottom: 8px;
  font-weight: 700;
}

.content-article h3 a {
  color: #000;
}

.content-article h3 a:hover {
  color: #c00;
}

.content-article .excerpt {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #333;
  margin-bottom: 5px;
}

.content-article .meta {
  font-size: 0.8rem;
  color: #666;
  clear: both;
}

/* MY TIMES Section */
.my-times {
  margin-top: 30px;
}

.my-times h2 {
  font-size: 1.2rem;
  border-bottom: 3px solid #000;
  padding-bottom: 8px;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
}

.my-times .view-all {
  font-size: 0.9rem;
  color: #c00;
  font-weight: 600;
}

.my-times-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.my-times-item img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  margin-bottom: 8px;
}

.my-times-item h4 {
  font-size: 0.9rem;
  line-height: 1.3;
  font-weight: 700;
}

.my-times-item h4 a {
  color: #000;
}

.my-times-item h4 a:hover {
  color: #c00;
}

/* Right Sidebar */
.right-sidebar {
  border-left: 1px solid #ddd;
  padding-left: 20px;
}

.follow-box,
.commentary-box,
.sponsored-box {
  background: #f9f9f9;
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid #e5e5e5;
}

.follow-box h3,
.commentary-box h3,
.sponsored-box h3 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #000;
}

.social-icons {
  display: flex;
  gap: 8px;
  margin-bottom: 15px;
}

.social-icons .social {
  width: 32px;
  height: 32px;
  background: #3b5998;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  font-size: 0.9rem;
}

.social-icons .social:nth-child(2) {
  background: #000;
}

.social-icons .social:nth-child(3) {
  background: #0077b5;
}

.follow-box input {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 3px;
}

.commentary-item {
  margin-bottom: 15px;
  padding-bottom: 12px;
  border-bottom: 1px solid #ddd;
}

.commentary-item:last-child {
  border-bottom: none;
}

.commentary-item h4 {
  font-size: 0.85rem;
  line-height: 1.3;
  margin-bottom: 5px;
  font-weight: 700;
}

.commentary-item h4 a {
  color: #000;
}

.commentary-item p {
  font-size: 0.75rem;
  color: #666;
}

.ad-placeholder {
  background: #f0f0f0;
  padding: 100px 20px;
  text-align: center;
  color: #999;
  border: 1px dashed #ccc;
}

/* Left Column */
.left-column {
  border-right: 1px solid #ddd;
  padding-right: 20px;
}

.sidebar-article {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

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

.sidebar-article img {
  width: 100%;
  height: auto;
  margin-bottom: 10px;
}

.sidebar-article h4 {
  font-size: 0.95rem;
  line-height: 1.4;
  font-weight: 700;
  margin-bottom: 5px;
}

.sidebar-article h4 a {
  color: #0066c0;
}

.sidebar-article h4 a:hover {
  color: #b5101f;
  text-decoration: underline;
}

.article-meta {
  font-size: 0.75rem;
  color: #666;
  margin-top: 5px;
}

.sidebar-section {
  margin-top: 30px;
}

.sidebar-heading {
  font-size: 0.85rem;
  font-weight: 700;
  color: #b5101f;
  border-bottom: 2px solid #b5101f;
  padding-bottom: 5px;
  margin-bottom: 15px;
}

/* Center Column */
.center-column {
  padding: 0 25px;
}

.main-featured {
  margin-bottom: 30px;
}

.main-headline {
  font-size: 2.5rem;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 15px;
  font-family: Georgia, serif;
}

.main-headline a {
  color: #000;
}

.main-headline a:hover {
  color: #b5101f;
}

.main-image {
  width: 100%;
  height: auto;
  margin: 15px 0;
}

.main-excerpt {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 10px;
}

.article-byline {
  font-size: 0.85rem;
  color: #666;
  font-style: italic;
}

.author-name {
  color: #b5101f;
  font-weight: 600;
}

.section-divider {
  border: none;
  border-top: 3px solid #b5101f;
  margin: 30px 0;
}

.my-times-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.section-heading {
  font-size: 1.3rem;
  font-weight: 700;
  color: #000;
  border-bottom: 3px solid #b5101f;
  padding-bottom: 8px;
  display: inline-block;
  margin: 0;
}

.see-all-link {
  font-size: 0.9rem;
}

.see-all-link a {
  color: #b5101f;
  font-weight: 600;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  margin-top: 20px;
}

.grid-article {
  border-bottom: 1px solid #eee;
  padding-bottom: 20px;
}

.grid-article img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 12px;
}

.grid-article h3 {
  font-size: 1.1rem;
  line-height: 1.3;
  font-weight: 700;
  margin-bottom: 8px;
}

.grid-article h3 a {
  color: #0066c0;
}

.grid-article h3 a:hover {
  color: #b5101f;
  text-decoration: underline;
}

.videos-section,
.culture-section {
  margin-top: 40px;
}

.culture-article {
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.culture-article h4 {
  font-size: 1rem;
  line-height: 1.3;
  font-weight: 700;
  margin-bottom: 5px;
}

.culture-article h4 a {
  color: #0066c0;
}

.ad-space-small {
  background: #f5f5f5;
  padding: 80px 10px;
  text-align: center;
  color: #999;
  border: 1px dashed #ccc;
  font-size: 0.8rem;
}

.ad-space-medium {
  background: #f5f5f5;
  padding: 150px 20px;
  text-align: center;
  color: #999;
  border: 1px dashed #ccc;
  margin: 20px 0;
}

/* Right Sidebar */
.right-sidebar {
  border-left: 1px solid #ddd;
  padding-left: 20px;
}

.follow-us {
  background: #f9f9f9;
  padding: 20px;
  margin-bottom: 25px;
  border: 1px solid #e5e5e5;
}

.follow-us h3 {
  font-size: 1rem;
  margin-bottom: 15px;
  font-weight: bold;
  color: #000;
}

.social-icons {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.social-icon {
  width: 35px;
  height: 35px;
  background: #3b5998;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  font-size: 1rem;
  font-weight: bold;
}

.social-icon:nth-child(2) {
  background: #000;
}

.social-icon:nth-child(3) {
  background: #e4405f;
}

.social-icon:nth-child(4) {
  background: #ff0000;
}

.social-icon:nth-child(5) {
  background: #ff6600;
}

.social-icon:hover {
  opacity: 0.8;
  color: #fff;
}

.search-box {
  display: flex;
  gap: 5px;
}

.search-box input {
  flex: 1;
  padding: 8px 10px;
  border: 1px solid #ccc;
  border-radius: 3px;
  font-size: 0.9rem;
}

.search-box button {
  padding: 8px 12px;
  background: #b5101f;
  color: #fff;
  border: none;
  cursor: pointer;
  border-radius: 3px;
  font-size: 1rem;
}

.commentaries-box,
.most-popular-box,
.newsletters-box {
  background: #fff;
  border: 1px solid #e5e5e5;
  padding: 20px;
  margin-bottom: 25px;
}

.commentaries-box h3,
.most-popular-box h3,
.newsletters-box h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #b5101f;
  border-bottom: 2px solid #b5101f;
  padding-bottom: 8px;
  margin-bottom: 15px;
}

.commentary-item {
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.commentary-item:last-child {
  border-bottom: none;
}

.commentary-item h5 {
  font-size: 0.9rem;
  line-height: 1.3;
  font-weight: 700;
  margin-bottom: 5px;
}

.commentary-item h5 a {
  color: #0066c0;
}

.commentary-item h5 a:hover {
  color: #b5101f;
  text-decoration: underline;
}

.commentary-item p {
  font-size: 0.75rem;
  color: #666;
}

.most-popular-box ol {
  list-style-position: inside;
  padding: 0;
}

.most-popular-box li {
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #eee;
  font-size: 0.9rem;
  line-height: 1.3;
}

.most-popular-box li:last-child {
  border-bottom: none;
}

.most-popular-box a {
  color: #0066c0;
}

.most-popular-box a:hover {
  color: #b5101f;
  text-decoration: underline;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 15px;
}

.newsletter-form input {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 3px;
  font-size: 0.9rem;
}

.newsletter-form button {
  padding: 10px;
  background: #b5101f;
  color: #fff;
  border: none;
  cursor: pointer;
  border-radius: 3px;
  font-weight: 600;
}

.ad-space {
  background: #f0f0f0;
  padding: 200px 20px;
  text-align: center;
  color: #999;
  border: 1px dashed #ccc;
  margin-bottom: 25px;
}

/* Footer */
.site-footer {
  background: #2a2a2a;
  color: #fff;
  margin-top: 40px;
  padding: 30px 0 15px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 20px;
}

.footer-section h3, .footer-section h4 {
  margin-bottom: 12px;
  font-size: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 6px;
}

.footer-section a {
  color: #ccc;
  font-size: 0.9rem;
}

.footer-section a:hover {
  color: #fff;
}

.footer-bottom {
  text-align: center;
  padding-top: 15px;
  border-top: 1px solid #444;
  color: #999;
  font-size: 0.85rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .main-grid {
    grid-template-columns: 1fr;
  }
  
  .left-column, .right-sidebar {
    border: none;
    padding: 0;
  }
  
  .top-stories {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .times-logo {
    font-size: 2.5rem;
  }
  
  .nav-menu {
    flex-wrap: wrap;
  }
  
  .nav-menu li {
    flex: 0 0 50%;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
}

/* Playfair Display Font */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&display=swap');
