/* Noticias: listado, noticia individual y bloque de últimas noticias */
.news-page,
.news-home {
	--orange: #ff4d00;
	--ink: #383838;
	--muted: #5f615f;
	--line: #d7d7d7;
	--soft: #f5f5f5;
	font-family: 'Barlow', Helvetica, Arial, Lucida, sans-serif;
	color: var(--ink);
}
.news-wrap {
	width: 80%;
	max-width: 1080px;
	margin: 0 auto;
}

/* Cabecera, misma imagen que el resto de páginas */
.news-hero {
	background: linear-gradient(rgba(20, 20, 20, .65), rgba(20, 20, 20, .85)), #383838 url(../img/cabecera-agvs-autocar.jpg) center / cover no-repeat;
	padding: 150px 0 110px;
	text-align: center;
	color: #fff;
}
.news-hero h1 {
	color: #fff;
	font-weight: 700;
	font-size: 60px;
	line-height: 1.2;
	padding: 0;
}
.news-hero p {
	color: #fff;
	font-size: 17px;
	margin-top: 10px;
}
.news-hero--single {
	background-image: linear-gradient(rgba(20, 20, 20, .65), rgba(20, 20, 20, .85)), var(--hero-img, url(../img/cabecera-agvs-autocar.jpg));
	background-position: center 30%;
	padding: 220px 0 70px;
	text-align: left;
}
.news-hero--single h1 {
	font-size: 44px;
	max-width: 900px;
}
.news-hero--single .news-meta,
.news-hero--single .news-meta a { color: #fff; }

/* Metadatos */
.news-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 14px;
	align-items: center;
	font-size: 13px;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--muted);
	padding: 0 0 8px;
}
.news-cat {
	color: var(--orange);
	font-weight: 600;
}
.news-hero--single .news-cat {
	background: var(--orange);
	padding: 3px 10px;
}

/* Filtro de categorías */
.news-list { padding: 60px 0 80px; }
.news-filter {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 40px;
}
.news-filter a {
	border: 1px solid var(--ink);
	color: var(--ink);
	padding: 8px 18px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
	transition: all .2s;
}
.news-filter a:hover,
.news-filter a.is-active {
	background: var(--ink);
	color: #fff;
}

/* Rejilla y tarjetas */
.news-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 30px;
}
.news-card {
	background: #fff;
	border: 1px solid var(--line);
	display: flex;
	flex-direction: column;
	transition: box-shadow .2s;
}
.news-card:hover { box-shadow: 0 8px 24px rgba(0, 0, 0, .08); }
.news-card__img {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--soft);
}
.news-card__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .4s;
}
.news-card:hover .news-card__img img { transform: scale(1.04); }
.news-card__body {
	padding: 22px 24px 26px;
	display: flex;
	flex-direction: column;
	flex: 1;
}
.news-card__title {
	font-size: 20px;
	font-weight: 600;
	line-height: 1.3;
	padding: 4px 0 10px;
}
.news-card__title a { color: var(--ink); }
.news-card__title a:hover { color: var(--orange); }
.news-card__excerpt {
	font-size: 15px;
	font-weight: 300;
	line-height: 1.7;
	color: #000;
	flex: 1;
}
.news-more {
	margin-top: 16px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--orange);
}

/* Botones */
.news-btn {
	display: inline-block;
	border: 1px solid #383838;
	color: #000;
	padding: 14px 30px;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
	transition: all .3s;
}
.news-btn:hover {
	background: #bfbfbf;
	border-color: #bfbfbf;
	letter-spacing: 2px;
}
.news-btn--light {
	border-color: #fff;
	color: #fff;
}
.news-all {
	text-align: center;
	margin-top: 40px;
}

/* Noticia individual */
.news-article {
	max-width: 780px;
	padding: 60px 0 40px;
}
.news-lead {
	font-size: 21px;
	line-height: 1.6;
	font-weight: 500;
	color: var(--ink);
	padding-bottom: 28px;
	margin-bottom: 28px;
	border-bottom: 3px solid var(--orange);
}
.news-content {
	font-size: 17px;
	font-weight: 300;
	line-height: 1.8;
	color: #000;
}
.news-content p { padding-bottom: 1.2em; }
.news-content h2 {
	font-size: 26px;
	font-weight: 700;
	padding: 20px 0 12px;
}
.news-content blockquote {
	border-left: 4px solid var(--orange);
	margin: 10px 0 28px;
	padding: 4px 0 4px 24px;
	font-size: 20px;
	font-style: italic;
	color: var(--ink);
}
.news-content blockquote cite {
	display: block;
	font-size: 14px;
	font-style: normal;
	margin-top: 8px;
	color: var(--muted);
}
.news-content a {
	color: var(--orange);
	text-decoration: underline;
}
.news-content img { margin: 10px 0 24px; }
.news-content .news-source {
	font-size: 14px;
	color: var(--muted);
	border-top: 1px solid var(--line);
	padding-top: 16px;
	margin-top: 10px;
}
.news-back { padding-top: 20px; }
.news-back a {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--orange);
}

.news-related {
	background: var(--soft);
	padding: 60px 0 70px;
}
.news-related h2,
.news-home h2 {
	font-size: 34px;
	font-weight: 700;
	text-transform: uppercase;
	padding-bottom: 30px;
}

.news-cta {
	background: #383838;
	padding: 60px 0;
	text-align: center;
}
.news-cta h2 {
	color: #fff;
	font-size: 24px;
	font-weight: 600;
	text-transform: uppercase;
	padding-bottom: 24px;
}

.news-pagination { margin-top: 40px; }
.news-pagination .page-numbers {
	padding: 6px 12px;
	border: 1px solid var(--line);
	color: var(--ink);
}
.news-pagination .page-numbers.current {
	background: var(--ink);
	color: #fff;
}

/* Bloque en la home: hereda la rejilla fuera de .news-page */
.news-home .news-card__title a { color: #383838; }
.news-home .news-cat,
.news-home .news-more { color: #ff4d00; }
.news-home .news-meta { color: #5f615f; }

@media (max-width: 980px) {
	.news-wrap { width: 88%; }
	.news-hero { padding: 120px 0 70px; }
	.news-hero h1 { font-size: 40px; }
	.news-hero--single h1 { font-size: 30px; }
}
@media (max-width: 480px) {
	.news-hero h1 { font-size: 30px; }
	.news-hero--single h1 { font-size: 25px; }
	.news-lead { font-size: 18px; }
}
