/*
 Theme Name:   Digital Newspaper Child
 Template:     digital-newspaper
 Version:      1.0.0
*/

/* Import parent theme styles */
@import url("../digital-newspaper/style.css");

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

body {
  background: #fff;
  color: #000;
  font-family: sans-serif;
}

/* ====== ALIGN POSTS PROPERLY ====== */
.single-post .entry-content,
.single-post .post-content,
.single .entry-content,
.post-type-archive .entry-content {
  text-align: left !important;
  line-height: 1.8;
  color: #222;
  font-size: 1.05rem;
}

/* Headings inside posts */
.single-post .entry-content h2,
.single-post .post-content h2,
.single .entry-content h2,
.post-type-archive .entry-content h2 {
  font-size: 1.8rem !important;
  font-weight: 700 !important;
  color: #111 !important;
  margin-top: 2rem !important;
  margin-bottom: 1rem !important;
  border-left: 4px solid #ff4c00 !important;
  padding-left: 10px !important;
  text-align: left !important;
  line-height: 1.4 !important;
}

.single-post .entry-content h3,
.single-post .post-content h3,
.single .entry-content h3,
.post-type-archive .entry-content h3 {
  font-size: 1.4rem !important;
  font-weight: 600 !important;
  color: #222 !important;
  margin-top: 1.5rem !important;
  margin-bottom: 0.8rem !important;
  border-left: 3px solid #ff4c00 !important;
  padding-left: 8px !important;
  text-align: left !important;
}

/* Paragraphs inside posts */
.single-post .entry-content p,
.single-post .post-content p,
.single .entry-content p,
.post-type-archive .entry-content p {
  text-align: left !important;
  margin-bottom: 1.2rem;
}

/* Center all embedded X (Twitter) posts */
.twitter-tweet {
  margin-left: auto !important;
  margin-right: auto !important;
  display: block !important;
  text-align: center !important;
}

/* ====== ABOUT US PAGE ====== */
.about-hero {
  position: relative;
  width: 100%;
  height: 350px;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 2rem;
}

.about-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(65%);
}

.about-hero .hero-text {
  position: absolute;
  bottom: 30px;
  left: 30px;
  color: #fff;
}

.about-hero h1 {
  font-size: 2.4rem;
  margin: 0;
}

.about-hero p {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* ====== ABOUT CONTENT ====== */
.about-content {
  max-width: 900px;
  margin: auto;
  line-height: 1.7;
  font-size: 1.05rem;
}

.about-content h2 {
  margin-top: 2.2rem;
  font-size: 1.6rem;
  border-left: 4px solid #ff4c00;
  padding-left: 10px;
  font-weight: 700;
  color: #111;
}

.about-content a {
  color: #ff4c00;
  text-decoration: none;
}

.about-content a:hover {
  text-decoration: underline;
}

/* ====== TEAM GRID ====== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.team-member {
  text-align: center;
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

.team-member img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
}

.team-member h3 {
  margin: 10px 0 5px;
  font-size: 1.3rem;
  color: #222;
}

.team-member .role {
  font-weight: 600;
  color: #ff4c00;
  margin-bottom: 10px;
}

.team-member p {
  font-size: 0.95rem;
  color: #555;
}

.team-member .social-links a {
  margin: 0 6px;
  font-size: 0.9rem;
  color: #0066cc;
  text-decoration: none;
}

.team-member .social-links a:hover {
  text-decoration: underline;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .about-hero .hero-text h1 {
    font-size: 1.8rem;
  }
}

/* Hide original logo image */
.site-logo img {
  display: none;
}

/* Add desktop logo */
.site-logo {
  display: block;
  width: 180px;
  height: 60px;
  background: url('https://lowballlogic.com/wp-content/uploads/2025/10/Untitled-design-1.png') no-repeat center/contain;
}

/* Mobile logo */
@media (max-width: 768px) {
  .site-logo {
    background-image: url('https://lowballlogic.com/wp-content/uploads/2025/10/Untitled-design-1.png');
  }
}


/* ====== ENLARGE TWITTER POSTS (NO OVERLAP) ====== */
