/*
Theme Name: DiemPress
Theme URI: https://interjob.ro
Author: InterJob
Description: Pres-room theme modeled on the DiEM25 press-room layout: dark header with Bogart Bold nav, red-orange gradient buttons, white/grey press cards in 3-column rows.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: diempres
Tags: news, one-column, custom-menu, custom-logo, featured-images
*/

@import url("https://fonts.googleapis.com/css?family=Open+Sans:400,400i,600,600i,700,700i,800,800i&display=swap");

:root {
  --dp-red: rgb(237, 29, 36);
  --dp-orange: rgb(236, 80, 34);
  --dp-accent: #ec5122;
  --dp-ink: #303030;
  --dp-card-grey: #f6f5f5;
  --dp-gradient: linear-gradient(-90deg, var(--dp-red) 0%, var(--dp-orange) 100%);
}

@font-face {
  font-family: "Bogart-Bold";
  src: url("assets/fonts/Bogart-Bold.woff2") format("woff2"),
       url("assets/fonts/Bogart-Bold.woff") format("woff");
  font-weight: 700 800;
  font-display: swap;
}

body {
  font-family: "Open Sans", sans-serif;
  color: var(--dp-ink);
  margin: 0;
  background: #fff;
}

h1, h2, h3, .site-title, .press-title {
  font-family: "Bogart-Bold", "Open Sans", sans-serif;
  color: var(--dp-ink);
}

a { color: var(--dp-accent); }
a:hover { text-decoration: underline; }

.container { max-width: 1140px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }

/* ---------- header ---------- */
.site-header { background: var(--dp-ink); color: #fff; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.site-brand img, .site-brand .site-title { max-height: 60px; }
.site-brand .site-title { color: #fff; font-size: 26px; text-decoration: none; display: inline-block; padding: 18px 0; }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.main-nav li a {
  display: block;
  font-family: "Bogart-Bold", sans-serif;
  color: #fff !important;
  font-weight: 800;
  font-size: 18px;
  padding: 32px 14px 30px;
  text-decoration: none;
}
.main-nav li a:hover { text-decoration: underline !important; }
.main-nav li.donate a {
  color: #fff;
  border: 2px solid #fff;
  padding: 9px 12px 8px;
  margin: 21px 0 15px 15px;
}
.main-nav li.donate a:hover { background: #fff; color: #ee1d25 !important; text-decoration: none; }

/* ---------- page head ---------- */
.page-head { padding: 50px 0 30px; }
.page-head h1 { font-size: 44px; margin: 0 0 15px; }
.page-head .lead { font-size: 18px; color: #555; }

/* ---------- red gradient block ---------- */
.red-gradient { background: var(--dp-gradient); color: #fff; }
.red-gradient-bg { background: var(--dp-gradient); }

/* ---------- buttons ---------- */
a.button, .button {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--dp-accent);
  background: var(--dp-gradient);
  color: #fff;
  border-radius: 0;
  font-weight: 600;
  padding: 15px 20px 16px;
  text-decoration: none;
  max-width: 260px;
}
a.button:hover, a.button:focus, a.button:active {
  color: #fff;
  background-color: #c4c4c4;
  background: #c4c4c4;
  text-decoration: none;
}

/* ---------- press rows & cards ---------- */
.section-title { font-size: 50px; font-weight: 800; margin: 30px 0 40px; text-align: center; }
.press-row { display: flex; flex-wrap: wrap; margin: 0 -10px; }
.press-col { width: 33.3333%; padding: 0 10px; margin-bottom: 30px; display: flex; }
.press-box {
  padding: 20px;
  background-color: #fff;
  margin-bottom: 20px;
  height: 100%;
  box-shadow: 0 1px 3px rgba(0,0,0,.08);
}
.media-reviews-row .press-box { background-color: var(--dp-card-grey); }
.press-box .press-title, .press-box a.press-title {
  display: block;
  text-align: left;
  font-size: 16px;
  margin-bottom: 10px;
  font-weight: 600;
  color: var(--dp-ink);
  text-decoration: none;
  font-family: "Open Sans", sans-serif;
}
.press-box .response { font-weight: 500; display: block; margin-bottom: 6px; font-size: 14px; color: #555; }
.press-box .publication { display: block; font-size: 14px; color: #555; margin-bottom: 12px; }
.press-box a.press-link {
  display: block;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: var(--dp-accent);
  margin-bottom: 0;
  text-decoration: none;
}
.press-box a.press-link:hover { text-decoration: underline; }

/* ---------- media requests ---------- */
.press-requests { padding: 20px 0 50px; }
.press-requests h2 { font-size: 30px; }
.press-requests ul { padding-left: 22px; }
.press-requests li { margin-bottom: 6px; }

/* ---------- donate banner ---------- */
.home-donate { background: var(--dp-gradient); color: #fff; padding: 30px 0; }
.home-donate h2 { color: #fff; font-size: 26px; margin: 0 0 12px; }
.home-donate p { margin: 0 0 18px; }
.home-donate .amounts { display: flex; flex-wrap: wrap; gap: 10px; }
.home-donate .amounts a {
  background: #fff;
  color: #ee1d25;
  font-weight: 700;
  padding: 10px 18px;
  text-decoration: none;
}
.home-donate .amounts a:hover { background: #ffe9e2; }

/* ---------- footer ---------- */
.site-footer { background: var(--dp-ink); color: #bbb; padding: 40px 0 30px; margin-top: 40px; font-size: 14px; }
.site-footer a { color: #fff; text-decoration: none; display: block; padding: 3px 0; }
.site-footer h3 { color: #fff; font-size: 18px; }
.site-footer .legal { margin-top: 25px; border-top: 1px solid #444; padding-top: 15px; color: #888; }

/* ---------- responsive ---------- */
@media (max-width: 991px) {
  .press-col { width: 50%; }
  .section-title { font-size: 34px; }
}
@media (max-width: 640px) {
  .press-col { width: 100%; }
  .main-nav li a { padding: 12px 10px; font-size: 16px; }
  .site-header .container { flex-direction: column; }
  .page-head h1 { font-size: 32px; }
}
