/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/*
  ========================================
  Custom styles
  ========================================
*/

body {
  background: #293f50;
  color: #888;
  font: 300 16px/22px "Lato", "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/*
  =====================================
  Grid
  =====================================
*/

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

.container,
.grid {
  margin: 0 auto;
  width: 960px;
}
.container {
  padding-left:30px;
  padding-right:30px;
}
.grid,
.col-1-3,
.col-2-3 {
  padding-left: 15px;
  padding-right: 15px;
}
.col-1-3,
.col-2-3  {
  display: inline-block;
  vertical-align: top;
}
.col-1-3 {
  width: 33.33%;
}
.col-2-3 {
  width: 66.66%;
}


/*
   ======================================
   Clearfix
   ======================================
 */

 .group:before,
 .group:after {
   content: "";
   display: table;
 }
 .group:after {
   clear: both;
 }
 .group {
   clear: both;
   *zoom: 1;
 }

/*
  =======================================
  Rows
  =======================================
*/

.row,
.row-alt {
  min-width: 960px;
}

.row {
  background: #fff;
  padding: 66px 0 44px 0;
}

.row-alt {
  background: #cbe2c1;
  background:         linear-gradient(to right, #b3d4f1, #e6f1fa);
  padding: 44px 0 22px 0;
}

/*
  =======================================
  Typography
  =======================================
*/

h1, h2, h3, h4 {
  color: #b3d4f1;
}

h1, h3, h4, h5, p {
  margin-bottom: 22px;
}

h1 {
  font-size: 36px;
  line-height: 44px;
}
h2 {
  font-size: 24px;
  line-height: 44px;
}
h3 {
  font-size: 21px;
  margin-top: 20px;
}
h4 {
  font-size: 18px;
}
h5 {
  color: #a9b2b9;
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
}

strong {
  font-weight: 400;
}
cite,
em {
  font-style: italic;
}

/*
  =======================================
  Leads
  ======================================= 
*/

.lead {
  text-align: center;
}
.lead p {
  font-size: 21px;
  line-height: 33px;
}

/*
  ========================================
  Links
  ========================================
*/

a {
  color: #648880;
  text-decoration: none;
}
a:hover {
  color: #a9b2b9;
}
p a {
  border-bottom: 1px solid #dfe2e5;
}

.primary-header a,
.primary-footer a {
  color: #fff;
}
.primary-header a:hover,
.primary-footer a:hover {
  color: #648880;
}

/*
  ======================================
  Buttons
  ======================================
*/

.btn {
  border-radius: 5px;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  font-weight:400;
  letter-spacing: .5px;
  margin: 0;
  text-transform: uppercase;
 }
.btn-default {
  border: 0;
  background: #648880;
  padding: 11px 30px;
  font-size: 14px;
}
.btn-default:hover {
  background: #77a198;
}
.btn-alt { 
  border: 1px solid #fff;
  padding: 10px 30px;
 }
.btn-alt:hover {
  background: #fff;
  color: #648880;
}

/*
  =======================================
  Primary header
  =======================================
*/

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

.primary-header {
  overflow: hidden; /* clearfix */
  padding: 20px 0;
}


.logo {
  border-top: 4px solid #b3d4f1;
  float: left;
  padding: 20px 0 0 0;  /* antes tenías 40px; bájalo para alinear mejor */
  text-transform: uppercase; /* tenías 'text-transforms' (typo) */
}


.tagline {
  color: #ffffff;
  float:right;
  margin: 66px 0 22px 0;
  text-align: right;
}
.primary-nav {
  float:right;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: .5px;
  text-transform: uppercase;
  margin-top:40px;
}

#font-nav-agent {
  font-size: 17px;  
}

/*
  =======================================
  Primary footer  
  =======================================
*/

.primary-footer {
  color: #648880;
  font-size: 14px;
  padding-bottom: 44px;
  padding-top: 44px;
}

.primary-footer small {
  float: left;
  font-weight: 400;
}

/*
  ========================================
  Navigation
  ========================================
*/

.nav {
  text-align: right;
}
.nav li {
  display: inline-block;
  margin: 0 10px;
  vertical-align: top;
}
.nav li:last-child {
  margin-right: 0;
}


/*
   ======================================
   Home
   ======================================
*/

 .hero {
   color: #fff;
   line-height: 44px;
   padding: 0px 80px 20px 80px;
   text-align: center;   
 }

.hero h2 {
  font-size: 36px;
  margin-top: 0;
}
.hero p {
  font-size: 24px;
  font-weight: 100;
}
.teaser a:hover h3 {
  color: #a9b2b9;
}
.teaser img {
  border-radius: 5px;
  display: block;
  margin-bottom: 22px;
  max-width: 100%
}

/*
  ========================================
  Speakers
  ========================================
*/

.speaker {
  margin-bottom: 44px;
}
.speaker-info {
  border: 1px solid #dfe2e5;
  border-radius: 5px;
  margin-top: 88px;
  padding-bottom: 22px;
  text-align: center;
}
.speaker-info img {
  border-radius: 50%;
  height: 130px;
  margin: -66px 0 22px 0;
  vertical-align: top;
}

/*
  ========================================
  Venue
  ========================================
*/

.venue-theatre {
  margin-bottom: 66px;
}
.venue-hotel {
  margin-bottom: 22px;
}
.venue-map {
  height: 264px;
}

/*
  ========================================
  Register
  ========================================
*/

.why-attend {
  list-style: square;
  margin: 0 0 22px 30px;
}
form {
  margin-bottom: 22px;
}
input,
select,
textarea {
  font: 300 16px/22px "Lato", "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.register-group label {
  color: #648880;
  cursor: pointer;
  font-weight: 400;
}
.register-group input,
.register-group select,
.register-group textarea {
  border: 1px solid #c6c9cc;
  border-radius: 5px;
  color: #888;
  display: block;
  margin: 5px 0 27px 0;
  padding: 5px 8px;
}
.register-group input,
.register-group textarea {
  width: 100%;
}
.register-group select {
  height: 34px;
  width: 60px;
}
.register-group textarea {
  height: 78px;
}

/*
  ========================================
  Ajustes finos / correcciones visuales
  ========================================
*/

ul + p {
  margin-top: 1em;
}
/*
  =========================================
  Videos
  =========================================
*/
/* separación clara del título */
.alg-videos-title{ margin:0 0 18px; }

/* lista base */
.alg-vlist{ list-style:none; margin:0; padding:0; display:grid; gap:28px; }

/* --- FLEX LAYOUT ROBUSTO --- */
.alg-vitem{
  display:flex;              /* fila: vídeo izq, texto der */
  align-items:flex-start;
  gap:20px;
  min-width:0;               /* evita overflow del texto */
}

/* bloque del player (ancho fijo + no encoger) */
.alg-vembed{
  flex:0 0 360px;            /* <- tamaño del vídeo (ajusta 320–420px) */
  position:relative;
  background:#000;
  aspect-ratio:16/9;         /* 16:9 moderno */
}
.alg-vembed iframe{
  position:absolute; inset:0;
  width:100%; height:100%; border:0; display:block;
}

/* info a la derecha, ocupa el resto */
.alg-vinfo{ flex:1 1 auto; min-width:220px; }
.alg-vinfo h3{ margin:0 0 6px; font-size:1.1rem; line-height:1.3; }
.alg-vinfo p{ margin:0; color:#555; }

/* Responsive: apilar en pantallas estrechas */
@media (max-width:700px){
  .alg-vitem{ flex-direction:column; }
  .alg-vembed{ flex-basis:auto; width:100%; }
}

/* Fallback si tu tema pisa flex (opcional, úsalo solo si ves que no aplica) */
/* .alg-vitem{ display:flex !important; } */
