/*
Theme Name: Madridismo Digital
Theme URI: https://madridismodigital.com/
Author: Madridismo Digital
Description: Theme editorial de noticias del Real Madrid para Madridismo Digital. Derivado del tema de Cadismo Digital.
Version: 1.0.7
Requires at least: 6.4
Requires PHP: 8.1
Text Domain: madridismodigital
*/

@font-face {
	font-family: "Lato";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("assets/fonts/lato-400-normal.woff2") format("woff2");
}

@font-face {
	font-family: "Lato";
	font-style: italic;
	font-weight: 400;
	font-display: swap;
	src: url("assets/fonts/lato-400-italic.woff2") format("woff2");
}

@font-face {
	font-family: "Lato";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("assets/fonts/lato-700-normal.woff2") format("woff2");
}

@font-face {
	font-family: "Lato";
	font-style: normal;
	font-weight: 900;
	font-display: swap;
	src: url("assets/fonts/lato-900-normal.woff2") format("woff2");
}

*, *::before, *::after {
	box-sizing: border-box;
}

html {
	font-family: "Lato", Arial, sans-serif;
}

body {
	margin: 0;
	color: #071b3d;
	background: #fff;
	-webkit-font-smoothing: antialiased;
}

a {
	color: inherit;
}

img {
	max-width: 100%;
	height: auto;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.cd-container {
	width: min(1180px, calc(100% - 32px));
	margin-inline: auto;
}

.cd-main {
	min-height: 55vh;
	padding-block: 48px;
}

.cd-post-list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
}

.cd-card {
	border-bottom: 4px solid #e4a709;
}

.cd-card a {
	text-decoration: none;
}

@media (max-width: 760px) {
	.cd-post-list {
		grid-template-columns: 1fr;
	}
}
