/*!
Theme Name: untheme
Theme URI: https://github.com/taniarascia/untheme
Author: Tania Rascia
Author URI: https://www.taniarascia.com
Description: Base theme for development
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: untheme
*/

/* =========================================================
   GLOBAL DESIGN SYSTEM – PREMIUM UI
   Brand Color: #00BA9E
   Font: PT Sans
========================================================= */

/* =========================
   ROOT VARIABLES (THEME)
========================= */
:root {
  /* Brand / Theme */
  --primary: #00BA9E;
  --primary-hover: #009B85;
  --primary-dark: #007F6B;

  /* Primary Tints */
  --primary-soft: #E6F7F4;
  --primary-light: #fff;

  /* Text */
  --text-heading: #0F172A;
  --text-body: #1F2937;
  --text-muted: #64748B;

  /* Backgrounds */
  --bg-main: var(--primary-light);
  --bg-section: var(--primary-soft);
  --bg-card: #ffffff;
  --bg-strip: #E5E5E0;

  /* Borders & Shadows */
  --border-light: #CFEDEA;
  --shadow-soft: rgba(0, 127, 107, 0.12);
}

/* =========================================================
   FULL-WIDTH SAFE CONTAINER
   (Content never touches screen edge)
========================================================= */
.container {
  width: 100%;
  padding-left: 15px;
  padding-right: 15px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

/* =========================
   BASE / RESET
========================= */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}


body {
  margin: 0;
  font-family: "PT Sans", sans-serif;
  font-weight: 400;
  color: var(--text-body);
}

/* =========================
   TYPOGRAPHY
========================= */
h1, h2, h3, h4, h5, h6 {
  font-family: "PT Sans", sans-serif;
  font-weight: 700;
  color: var(--text-heading);
  margin: 8px 10px;
}

p {
  margin-bottom: 1em;
  color: var(--text-body);
}

/* =========================
   LINKS
========================= */
a {
  color: var(--primary-dark);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

a:hover {
  color: var(--primary);
  text-decoration: none;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

/* =========================
   BUTTONS
========================= */
.btn-primary {
  
  color: #ffffff;
  border: none;
  border-radius: 999px;
  padding: 12px 28px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(0, 186, 158, 0.28);
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  box-shadow: 0 14px 36px rgba(0, 186, 158, 0.35);
}

.btn-primary:active {
  background-color: var(--primary-dark);
}

/* =========================
   TEXT UTILITIES
========================= */
.text-muted {
  color: var(--text-muted);
}

.text-highlight {
  color: var(--primary-dark);
  font-weight: 700;
}

.highlight-bg {
  background-color: rgba(0, 186, 158, 0.12);
  color: var(--primary-dark);
  padding: 2px 6px;
  border-radius: 6px;
  font-weight: 600;
}



/* =========================
   FEED TABS
========================= */
.feed-tabs {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin: 24px 0;
}

.feed-tabs a {
  font-size: 18px;
  text-decoration: none;
  color: var(--text-muted);
  padding-bottom: 6px;
}

.feed-tabs a.active {
  color: var(--text-heading);
  border-bottom: 2px solid var(--text-heading);
}

/* =========================
   HOMEFEED GRID
========================= */
.homefeed {
  padding: 7px;
}

.homefeed-grid {
  column-count: 6;
  column-gap: 7px;
}

@media (max-width: 1400px) { .homefeed-grid { column-count: 5; } }
@media (max-width: 1200px) { .homefeed-grid { column-count: 4; } }
@media (max-width: 900px)  { .homefeed-grid { column-count: 3; } }
@media (max-width: 600px)  { .homefeed-grid { column-count: 2; } }

/* =========================
   FEED ITEM
========================= */
.feed-item {
  break-inside: avoid;
  margin-bottom: 7px;
}

.feed-item a {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}

.feed-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s cubic-bezier(.22,1,.36,1);
}

/* White fade */
.feed-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0) 60%,
    rgba(255,255,255,0.25) 100%
  );
  opacity: 0;
  transition: opacity .4s ease;
}

/* Hover effect */
.feed-item:hover img {
  transform: scale(1.05);
}

.feed-item:hover .feed-overlay {
  opacity: 1;
}

/
.feed-title {
  margin-top: 6px;
  font-size: 14px;
  font-weight: 400;
  color: #333;
  line-height: 1.4;
}

.pagination {
  margin: 40px 0;
  text-align: center;
}

.pagination a,
.pagination span {
  display: inline-block;
  padding: 8px 14px;
  margin: 0 4px;
  background: #f1f1f1;
  color: #222;
  text-decoration: none;
  border-radius: 4px;
}

.pagination .current {
  background: #000;
  color: #fff;
}