/* Divorce Equality USA - inspired by mid-2010s advocacy site layout */

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

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #f5f5f5;
  color: #333;
  line-height: 1.45;
}

.archive-bar {
  background: #333;
  color: #ccc;
  font-size: 12px;
  padding: 4px 12px;
  text-align: center;
}

.container {
  max-width: 980px;
  margin: 0 auto;
  background: #fff;
  box-shadow: 0 0 12px rgba(0,0,0,0.12);
}

/* Header */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 12px 16px 8px;
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  width: 72px;
  height: auto;
  display: block;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.logo-main {
  font-size: 22px;
  font-weight: 700;
  color: #c41e3a;
  letter-spacing: -0.5px;
}

.logo-sub {
  font-size: 18px;
  font-weight: 700;
  color: #222;
}

.logo-usa {
  font-size: 13px;
  font-weight: 600;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.photo-strip {
  display: flex;
  gap: 4px;
  margin-left: 8px;
}

.photo-thumb img {
  width: 98px;
  height: 88px;
  object-fit: cover;
  border: 1px solid #ccc;
  display: block;
}

.search-box input {
  border: 1px solid #c41e3a;
  padding: 5px 10px;
  font-size: 13px;
  width: 200px;
  border-radius: 2px;
}

/* Navigation - orange bar like original */
.main-nav {
  background: linear-gradient(to bottom, #e85a3c, #c94a2e);
  padding: 6px 10px;
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  border-top: 1px solid #b33d22;
  border-bottom: 1px solid #a0351c;
}

.nav-btn {
  background: linear-gradient(to bottom, #f8a090, #e07060);
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 4px;
  border: 1px solid #c94a2e;
  text-shadow: 0 1px 1px rgba(0,0,0,0.25);
  transition: background 0.15s;
}

.nav-btn:hover,
.nav-btn.active {
  background: linear-gradient(to bottom, #c94a2e, #a0351c);
}

/* Content area */
.content-wrapper {
  display: flex;
  gap: 16px;
  padding: 16px;
  background: #fff;
}

.main-content {
  flex: 1;
  min-width: 0;
}

/* Carousel / main message box */
.carousel-area {
  border: 2px solid #e07060;
  border-radius: 4px;
  background: #fffaf8;
  position: relative;
  padding: 28px 50px;
  min-height: 220px;
  display: flex;
  align-items: center;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #e8a090;
  border: 1px solid #c94a2e;
  color: #5a1a10;
  font-size: 12px;
  font-weight: 700;
  padding: 18px 8px;
  cursor: pointer;
  border-radius: 4px;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.carousel-btn.prev {
  left: 6px;
}

.carousel-btn.next {
  right: 6px;
}

.carousel-inner h2 {
  font-size: 22px;
  color: #8b1a1a;
  margin-bottom: 12px;
  font-weight: 700;
}

.slide-text {
  font-size: 14.5px;
  margin-bottom: 10px;
  color: #333;
}

.home-cta {
  margin-top: 20px;
  padding: 16px;
  background: #fff5f2;
  border: 1px solid #f0c0b0;
  border-radius: 4px;
}

.home-cta h3 {
  color: #c41e3a;
  margin-bottom: 10px;
  font-size: 18px;
}

.home-cta p {
  font-size: 14px;
  margin-bottom: 10px;
}

.cta-button {
  display: inline-block;
  margin-top: 8px;
  background: linear-gradient(to bottom, #e85a3c, #c94a2e);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  padding: 8px 20px;
  border-radius: 4px;
  border: 1px solid #a0351c;
  text-shadow: 0 1px 1px rgba(0,0,0,0.2);
}

.cta-button:hover {
  background: linear-gradient(to bottom, #c94a2e, #a0351c);
}

/* Sidebar */
.sidebar {
  width: 240px;
  flex-shrink: 0;
}

.sidebar-box {
  margin-bottom: 14px;
  border: 1px solid #d0a0a0;
  border-radius: 3px;
  overflow: hidden;
}

.sidebar-box h4 {
  background: linear-gradient(to bottom, #e07060, #c94a2e);
  color: #fff;
  font-size: 13px;
  padding: 7px 10px;
  text-shadow: 0 1px 1px rgba(0,0,0,0.2);
}

.twitter-box {
  background: linear-gradient(to bottom, #f8e0e0, #e8b0b0);
  min-height: 120px;
}

.tweet-placeholder {
  padding: 12px;
  font-size: 13px;
}

.tweet-meta {
  display: block;
  margin-top: 8px;
  font-size: 11px;
  color: #666;
}

.shop-box {
  background: #fff5f5;
}

.shop-box ul {
  list-style: none;
  padding: 10px 12px;
}

.shop-box li {
  margin-bottom: 6px;
  font-size: 13px;
}

.shop-box a {
  color: #8b1a1a;
  text-decoration: none;
}

.shop-box a:hover {
  text-decoration: underline;
}

.news-box {
  background: #fff8f8;
}

.news-list {
  list-style: none;
  padding: 10px 12px;
  font-size: 12.5px;
}

.news-list li {
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid #f0d0d0;
  color: #8b1a1a;
}

.more-link {
  display: block;
  text-align: right;
  padding: 6px 12px 10px;
  font-size: 12px;
  color: #c41e3a;
  text-decoration: none;
  font-weight: 600;
}

/* Footer */
.site-footer {
  background: linear-gradient(to bottom, #e85a3c, #c94a2e);
  color: #fff;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-size: 12px;
  border-top: 1px solid #a0351c;
}

.footer-left {
  max-width: 620px;
  line-height: 1.5;
}

.footer-left small {
  display: block;
  margin-top: 4px;
  opacity: 0.9;
  font-size: 11px;
}

.footer-right {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-btn {
  background: #a0351c;
  color: #fff;
  text-decoration: none;
  font-size: 11px;
  padding: 5px 12px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid #7a2814;
}

.footer-btn:hover {
  background: #7a2814;
}

/* Responsive-ish */
@media (max-width: 800px) {
  .content-wrapper {
    flex-direction: column;
  }
  .sidebar {
    width: 100%;
  }
  .photo-strip {
    display: none;
  }
  .site-header {
    flex-direction: column;
    gap: 10px;
  }
}
