/* =====================================================================
   EASY CUSTOMIZATION
   Cambia colores, fondo y tipografía aquí. Solo edita lo que está
   después de los dos puntos ":" y antes del punto y coma ";"
   ===================================================================== */
:root {
  /* FONDO de la página (tu imagen de puntos). Ruta: images/background.png */
  --bg-image: url("images/background.png");   /* YOUR_BACKGROUND_IMAGE */

  /* Colores del fondo (se ven si la imagen no carga) */
  --color-page-bg: #ffffff;
  --header-bg-color: #cfe6f5;      /* color detrás de la imagen del header */

  /* Colores principales */
  --color-border: #f4cfe0;         /* borde rosa de todas las cajas */
  --color-title-bar: #fbdde6;      /* barra rosa de "category" y "activity" */
  --color-title-text: #f3a0bb;     /* texto de esas barras */
  --color-link: #5bb4e8;           /* azul de la página activa y domingos */
  --color-text: #777777;           /* texto normal */
  --color-text-strong: #555555;    /* texto fuerte (nombre, navegación) */
  --color-date: #bbbbbb;           /* fechas */
  --color-profile-bg: #fffbe6;     /* fondo crema de la foto de perfil */
  --color-thumb-bg: #f1ede4;       /* fondo de las miniaturas mientras no hay imagen */
  --color-nav-bg: #f7f7f7;         /* barra de navegación */
  --color-nav-border: #e3e3e3;
  --color-green-button: #5cb82e;   /* botón verde */
  --banner-bg-color: #d8ecf7;      /* fondo de los banners laterales */

  /* Tipografía */
  --font-main: "Nanum Gothic", "Malgun Gothic", "Apple SD Gothic Neo", Dotum, "Trebuchet MS", Arial, sans-serif;
}
/* ===================== FIN DE EASY CUSTOMIZATION ===================== */


/* =====================================================================
   BASE  (no es necesario modificar desde aquí)
   ===================================================================== */
* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-main);
  font-size: 14px;
  color: var(--color-text);
  background-color: var(--color-page-bg);
  /* capa 1 = tu imagen; capas 2-5 = puntos pastel de respaldo */
  background-image:
    var(--bg-image),
    radial-gradient(circle at 63px 70px,  rgba(190, 224, 245, .65) 0 17px, transparent 18px),
    radial-gradient(circle at 189px 70px, rgba(253, 238, 170, .75) 0 17px, transparent 18px),
    radial-gradient(circle at 63px 190px, rgba(212, 238, 205, .75) 0 17px, transparent 18px),
    radial-gradient(circle at 189px 190px, rgba(251, 205, 215, .75) 0 17px, transparent 18px);
  background-size: auto, 252px 260px, 252px 260px, 252px 260px, 252px 260px;
  background-position: center top;
  background-repeat: repeat;
}

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
img { border: 0; }
ul { list-style: none; margin: 0; padding: 0; }

/* imagen que no existe todavía: se oculta */
.img-missing { visibility: hidden; }

.sep { color: #d5d5d5; margin: 0 8px; font-size: 11px; }


/* =====================================================================
   TOP BAR
   ===================================================================== */
#site-topbar {
  width: 1107px;
  margin: 0 auto;
  height: 48px;
  padding: 13px 18px 0 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  font-size: 13px;
  color: #888;
}
#site-topbar .bold { font-weight: bold; color: #555; }
#site-topbar .has-arrow::after {
  content: "\25BE";
  display: inline-block;
  margin-left: 5px;
  width: 11px;
  height: 11px;
  border: 1px solid #cfcfcf;
  font-size: 8px;
  line-height: 9px;
  text-align: center;
  color: #888;
  vertical-align: middle;
}
#site-topbar .grid-icon { margin-left: 18px; }


/* =====================================================================
   PAGE WRAPPER
   ===================================================================== */
#wrap {
  width: 1107px;
  margin: 0 auto 130px;
  padding: 8px 8px 17px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 6px;
}


/* =====================================================================
   HEADER
   ===================================================================== */
.header-image {
  width: 100%;
  aspect-ratio: 1089 / 281;
  background: var(--header-bg-color);
  overflow: hidden;
}
.header-image img { width: 100%; height: 100%; object-fit: cover; display: block; }


/* =====================================================================
   NAVIGATION
   ===================================================================== */
.mainnav {
  margin-top: 2px;
  height: 38px;
  background: var(--color-nav-bg);
  border: 2px solid var(--color-nav-border);
  border-radius: 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 14px 0 18px;
  font-size: 17px;
}
.mainnav ul { display: flex; align-items: center; }
.mainnav li { position: relative; padding: 0 11px; line-height: 1; }
.mainnav li + li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  height: 12px;
  margin-top: -6px;
  border-left: 1px solid #d5d5d5;
}
.nav-left li:first-child { padding-left: 0; }
.nav-right li:last-child { padding-right: 0; }
.nav-left a { font-weight: bold; color: var(--color-text-strong); }
.nav-right a { color: var(--color-text-strong); }
.mainnav a.on { color: var(--color-link); }


/* =====================================================================
   COLUMNS
   ===================================================================== */
#columns {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 14px 8px 0;
}
#site-left, #site-right { width: 192px; flex: none; }
#main { width: 654px; flex: none; margin-top: -8px; }

.box {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 7px;
}

.title-bar {
  height: 34px;
  padding: 0 10px;
  background: var(--color-title-bar);
  color: var(--color-title-text);
  font-size: 13px;
  line-height: 34px;
  border-radius: 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.caret-up {
  width: 0; height: 0;
  border-left: 3px solid transparent;
  border-right: 3px solid transparent;
  border-bottom: 4px solid var(--color-title-text);
}


/* =====================================================================
   PROFILE  (columna izquierda)
   ===================================================================== */
.profile-box { padding: 7px 7px 12px; margin-bottom: 11px; }
.profile-photo {
  width: 100%;
  aspect-ratio: 176 / 175;
  background: var(--color-profile-bg);
  overflow: hidden;
}
.profile-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.profile-name {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 24px;
  margin: 12px 0 0 2px;
  font-size: 17px;
  color: var(--color-text-strong);
}
.icon-note { width: 22px; height: 22px; object-fit: contain; }
.profile-id    { margin: 4px 0 0 29px; font-size: 15px; color: #aaa; }
.profile-count { margin: 6px 0 0 29px; font-size: 11px; color: #888; }
.profile-text  { margin: 20px 2px 0; font-size: 14px; line-height: 21px; color: #777; }
.profile-link  { display: inline-block; margin: 10px 0 0 2px; font-size: 13px; color: #aaa; }
.profile-link::after { content: " \25B8"; color: #f06c8c; font-size: 9px; }
.profile-tools {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 24px 0 0 2px;
  font-size: 14px;
  color: var(--color-text-strong);
}
.profile-tools a { display: inline-flex; align-items: center; gap: 2px; }
.icon-small { width: 15px; height: 15px; object-fit: contain; }


/* =====================================================================
   CATEGORY
   ===================================================================== */
.cat-box { padding: 5px 6px 8px; margin-bottom: 10px; }
.cat-list { margin: 8px 0 0; padding: 0 0 0 6px; }
.cat-list li {
  display: flex;
  align-items: center;
  font-size: 15px;
  line-height: 27px;
  color: #666;
}
.cat-all { margin-bottom: 6px; }
.cat-icon {
  flex: none;
  width: 11px; height: 11px;
  margin-right: 5px;
  border: 1px solid #8bb98b;
  background: #e3f2dc;
}
.cat-icon.white { border-color: #cfcfcf; background: #ffffff; }
.edit-badge {
  margin-left: 6px;
  padding: 1px 4px;
  font-size: 8px;
  font-weight: bold;
  letter-spacing: .5px;
  color: #ffffff;
  background: #555555;
  border-radius: 2px;
}


/* =====================================================================
   BANNERS, SEARCH, GREEN BUTTON
   ===================================================================== */
.banner { background: var(--banner-bg-color); overflow: hidden; }
.banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.banner-left  { aspect-ratio: 192 / 175; margin-bottom: 11px; }
.banner-right { aspect-ratio: 192 / 271; margin: 9px 0 12px; }

.search-box {
  display: flex;
  height: 37px;
  margin: 0;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 3px;
}
.search-box input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 0 8px;
  font-family: var(--font-main);
  font-size: 14px;
  background: transparent;
}
.search-box button {
  width: 36px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.green-button {
  display: block;
  height: 42px;
  margin-top: 11px;
  border-radius: 3px;
  background: var(--color-green-button);
  color: #ffffff;
  font-size: 12px;
  line-height: 42px;
  text-align: center;
}
.green-button b { font-size: 15px; letter-spacing: .3px; }
.green-button.image { background: none; line-height: 0; }
.green-button.image img { width: 100%; height: 42px; object-fit: cover; }
.green-button:hover { text-decoration: none; opacity: .92; }


/* =====================================================================
   ACTIVITY + CALENDAR + RSS  (columna derecha)
   ===================================================================== */
.activity-box { padding: 5px 6px 8px; }
.activity-list { margin: 9px 0 0; padding: 0 0 0 8px; }
.activity-list li { font-size: 13px; line-height: 21px; color: #777; }
.activity-list b { color: #555; }

.calendar-box { padding: 14px 12px 12px; }
.cal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  font-size: 13px;
}
.cal-nav { display: flex; align-items: center; color: var(--color-text-strong); }
.cal-nav b { font-weight: normal; margin: 0 7px; letter-spacing: .2px; }
.cal-nav a { font-size: 7px; color: var(--color-link); }
.cal-nav a:hover { text-decoration: none; }
.cal-view { font-size: 11px; color: #999; }
#calendar table { width: 100%; border-collapse: collapse; text-align: center; }
#calendar th { font-weight: normal; font-size: 12px; color: #8fb4d9; padding-bottom: 5px; }
#calendar td { font-size: 13px; line-height: 21.5px; color: #777; }
#calendar td.sun { color: var(--color-link); }
#calendar td.today { font-weight: bold; color: #333; }

.logo-right { margin-top: 11px; }
.logo-right img { width: 100%; display: block; }

.rss-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 26px;
  padding-left: 14px;
  font-size: 10px;
  color: #888;
}
.rss-row svg { margin-right: 6px; flex: none; }
.rss-row .sep { margin: 0 6px; }


/* =====================================================================
   MAIN CONTENT  (cabecera de lista + grilla de publicaciones)
   ===================================================================== */
.list-head {
  height: 73px;
  margin-bottom: 10px;
  padding: 0 21px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 18px;
  color: var(--color-text);
}
.list-head .count { margin-left: 6px; font-size: 17px; }
.list-head .list-toggle { font-size: 17px; }

.grid-box { padding: 34px 34px 40px; }

/* MIXED MEDIA / HOME: grilla de 3 columnas */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 174px);
  column-gap: 30px;
  row-gap: 32px;
}
.post-item { min-width: 0; }
.thumb {
  display: block;
  width: 174px;
  height: 174px;
  background: var(--color-thumb-bg);
  overflow: hidden;
}
.thumb img, .thumb video { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-title {
  display: block;
  margin-top: 14px;
  font-size: 17px;
  line-height: 24px;
  color: var(--color-text);
}
.post-date { margin-top: 6px; font-size: 15px; line-height: 22px; color: var(--color-date); }
.post-desc { margin-top: 6px; font-size: 13px; line-height: 19px; color: #999; }
.post-desc a { color: var(--color-link); }


/* =====================================================================
   ENTRIES / BLOG
   ===================================================================== */
.entry-box { padding: 32px 36px; }
.entry { padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px dotted var(--color-border); }
.entry:last-child { padding-bottom: 0; margin-bottom: 0; border-bottom: 0; }
.entry-title { margin: 0; font-size: 19px; font-weight: normal; color: var(--color-text-strong); }
.entry-date { margin: 6px 0 16px; font-size: 14px; color: var(--color-date); }
.entry-body { font-size: 15px; line-height: 27px; color: var(--color-text); }
.entry-body p { margin: 0 0 14px; }
.entry-body img { max-width: 100%; height: auto; display: block; margin: 6px 0 14px; }
.entry-body a { color: var(--color-link); }


/* =====================================================================
   ABOUT
   ===================================================================== */
.about-box { padding: 34px 36px; overflow: hidden; }
.about-title { margin: 0 0 14px; font-size: 19px; font-weight: normal; color: var(--color-text-strong); }
.about-photo {
  float: left;
  width: 174px; height: 174px;
  margin: 0 26px 14px 0;
  background: var(--color-thumb-bg);
  overflow: hidden;
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-text { font-size: 15px; line-height: 27px; color: var(--color-text); }
.about-text p { margin: 0 0 14px; }


/* =====================================================================
   LINKS
   ===================================================================== */
.links-box { padding: 32px 36px; }
.links-subtitle { margin: 0 0 14px; font-size: 17px; font-weight: normal; color: var(--color-text-strong); }
.link-list { margin: 0 0 30px; }
.link-list li { font-size: 15px; line-height: 30px; color: var(--color-text); }
.link-list li::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border: 1px solid #8bb98b; background: #e3f2dc; }
.link-list a:hover { color: var(--color-link); }
.button-wall { display: flex; flex-wrap: wrap; gap: 8px; }
.button-wall a { display: block; width: 88px; height: 31px; background: var(--color-thumb-bg); }
.button-wall img { width: 88px; height: 31px; display: block; }


/* =====================================================================
   FOOTER  (caja TOP)
   ===================================================================== */
.top-box {
  margin-top: 10px;
  height: 70px;
  padding-right: 22px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  font-size: 13px;
  color: #555;
}
.top-box a::before { content: "\25B2 "; font-size: 8px; }


/* =====================================================================
   MOBILE
   ===================================================================== */
@media (max-width: 1140px) {
  #site-topbar, #wrap { width: 96%; }
  #columns { padding: 14px 0 0; }
  #main { flex: 1; width: auto; margin: -8px 14px 0; min-width: 0; }
  .post-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
  .thumb { width: 100%; height: auto; aspect-ratio: 1 / 1; }
  .grid-box { padding: 28px 24px 34px; }
}

@media (max-width: 900px) {
  #site-topbar { justify-content: center; flex-wrap: wrap; height: auto; padding: 12px 0; }
  #columns { flex-direction: column; align-items: stretch; padding-top: 12px; }
  #main { order: 1; margin: 0 0 14px; }
  #site-left { order: 2; width: 100%; }
  #site-right { order: 3; width: 100%; margin-top: 14px; }
  .banner-left { aspect-ratio: 192 / 100; }
  .banner-right { aspect-ratio: 192 / 130; }
  .mainnav { height: auto; min-height: 38px; flex-wrap: wrap; padding: 8px 12px; font-size: 15px; row-gap: 6px; }
  .mainnav li { padding: 0 8px; }
  .list-head { height: 60px; padding: 0 16px; font-size: 16px; }
  .entry-box, .about-box, .links-box { padding: 24px 20px; }
  .about-photo { float: none; margin: 0 0 16px; }
}
