	  @font-face 		{font-family: 'NotoSans'; src: url('fonts/sans_serif_NotoSansDisplay.ttf') format('truetype');}
    @font-face 		{font-family: 'NotoSerif'; src: url('fonts/serif/NotoSerif.ttf') format('truetype');}
    @font-face    {font-family: 'NotoMono'; src: url('fonts/serif/NotoMono.ttf') format('truetype')}
    @font-face    {font-family: 'DM'; src: url('fonts/DM.ttf') format('truetype')}
:root{
  --bg: #ffffff;
  --muted: #E0E4E6;       
  --text: #222;
  --subtext: #444;
  --border: #d6d6d6;

  --accent: #333333;      
  --max: 1100px;

  --radius: 18px;
  --shadow: 0 10px 30px rgba(0,0,0,.07);
}
body{
  transition: opacity 140ms ease;
}
body.i18n-fade-out{
  opacity: 0.15;
}
.btn.is-active-lang{
  border-color: rgba(161,2,2,.55);
  box-shadow: 0 0 0 3px rgba(161,2,2,.10);
  background: rgba(255,255,255,.65);
  text-decoration: none;
}
.btn[aria-pressed="true"]{ display:none; }

/* ---------- Base ---------- */
*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}
img{ max-width: 100%; height: auto; display: block; }
a{ color: inherit; text-decoration: none; }
a:hover{ text-decoration: underline; }
p{ 
  margin: 0 0 1rem; 
  color: var(--subtext); 
  font-family: "NotoSerif";
  font-size: 20px;
  line-height: 1.5;
  font-weight: 350;
}

.title{font-family: "DM";}

.container h1{font-family: "DM";}

li{ 
  margin: 0 0 1rem; 
  color: var(--subtext); 
  font-family: "NotoSerif";
  font-size: 20px;
  line-height: 1;
  font-weight: 350;
}

.crynodeb{  margin: 0 0 1rem; 
  color: var(--subtext); 
  font-family: "DM";
  font-size: 23px;
  line-height: 1.3;
  font-weight: 300;}

.rhagymadrodd{
  padding: 1vh 27vw;
    padding-top: 1vh;
    padding-right: 5vw;
    padding-bottom: 1vh;
    padding-left: 15vw;  
}

.penllun{
  padding: 1vh 27vw;
    padding-top: 1vh;
    padding-right: 15vw;
    padding-bottom: 1vh;
    padding-left: 2.5vw;  
}

.container{
padding: 2vh 27vw;
    padding-top: 2vh;
    padding-right: 27vw;
    padding-bottom: 2vh;
    padding-left: 27vw;
}
.containerGrey{

padding: 2vh 27vw;
    padding-top: 2vh;
    padding-right: 27vw;
    padding-bottom: 2vh;
    padding-left: 27vw;
  flex: 1;
  background: #f6f7f8;
}
/* ---------- Top nav ---------- */
.topnav{
  position: sticky;
  top: 0;
  z-index: 10;
  background: #333333;
  color:#d6d6d6;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  font-family: "DM";
}
.topnav .inner{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 10px 0;
}
.topnav .icons{
  display: flex;
  gap: 10px;
  align-items: center;
}
.topnav .icons a{
  display: inline-flex;
  padding: 6px;
  border-radius: 999px;
}
.topnav .icons a:hover{
  background: rgba(0,0,0,.06);
  text-decoration: none;
}
.separator{
  opacity: .4;
  padding: 0 6px;
}

/* ---------- Hero ---------- */
.hero{
  background: var(--muted);
  border-bottom: 1px solid var(--border);
}
.hero .wrap{
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 26px;
  align-items: center;
  padding: 34px 0;
}
.hero h1{
  margin: 0 0 10px;
  font-size: clamp(2.1rem, 3.8vw, 3.5rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.hero .meta{
  margin: 0 0 14px;
  color: var(--subtext);
  font-size: .98rem;
}
.hero .lead{
  font-size: 1.05rem;
  margin-bottom: 18px;
}
.hero .actions{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.awdur, .ael, .tadogaeth{
  font-style: italic;
  font-family: "DM", sans-serif;
  font-weight: 400;
  line-height: 1.2;
  font-size: 15px;
}
.text{text-align: justify;}

.footnote {font-size: small;}



/* ---------- Buttons ---------- */
.btn{
  background-color: #ececec;
  border-radius: 10px;
  padding: 0.75em 1em;
  margin-bottom: 10px;
  color: #353535;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7em;
  font-weight: 700;
  font-family: "DM", sans-serif;
  letter-spacing: 0.075em;
  text-decoration: none;
  text-transform: uppercase;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;

}
.btn:hover{ text-decoration: none; background: rgba(255,255,255,.55); }
.btn.primary{
  border-color: #333333;
  color: var(--accent);
}

/* ---------- Sections ---------- */
.section{
  padding: 34px 0;
}
.section h2{
  margin: 0 0 18px;
  font-size: 1.6rem;
  letter-spacing: -0.01em;
  color: var(--text);
}

/* ---------- Cards ---------- */
.grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.card{
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  padding: 18px;
  text-align: center;
}
.card .thumb{
  width: min(220px, 60%);
  margin: 0 auto 12px;
}
.card h3{
  margin: 0 0 8px;
  text-align: center;
}
.card p{
  margin: 0 0 12px;
}
.card .cta{
  display: flex;
  justify-content: center;
}

/* ---------- Footer ---------- */
footer{
  border-top: 1px solid var(--border);
  padding: 18px 0;
  color: var(--subtext);
  font-size: .95rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px){
  .hero .wrap{ grid-template-columns: 1fr; }
  .grid{ grid-template-columns: 1fr; }
}
