/* tamaulipasalcien.com — faithful replica of the capture theme (custom "tamaulipasalcien" WP theme).
   DOM classes 1:1 with capture 20260114032147: rex_nav, rex_c, pervs_bg, post_page_vn, dvas_bg,
   post_list, breadc, cat_top, nav_bot, nik_cont. Palette: Mexico green / flag red / warm sand. */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px; line-height: 1.65; color: #2b2b26; background: #f4f2ec;
}
img { max-width: 100%; height: auto; border: 0; }
a { color: #0b6b3a; text-decoration: none; }
a:hover { color: #ce1126; text-decoration: underline; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 18px; }
.clear { clear: both; height: 0; overflow: hidden; }

/* ---------------------------------------------------------- header -------- */
header { background: #ffffff; box-shadow: 0 2px 10px rgba(0,0,0,.08); position: relative; z-index: 5; }
.top { background: #06301f; }
.top .wrap { display: flex; align-items: center; min-height: 44px; }
.rex_nav ul.menu { list-style: none; display: flex; flex-wrap: wrap; }
.rex_nav ul.menu li { margin: 0; }
.rex_nav ul.menu li a {
  display: block; padding: 12px 16px; color: #e8f2ec; font-size: 14px;
  font-weight: 600; letter-spacing: .02em; text-transform: uppercase;
}
.rex_nav ul.menu li a:hover { background: #0b6b3a; color: #fff; text-decoration: none; }
.rex_nav ul.menu li.current-menu-item a { background: #ce1126; color: #fff; }
.rex_nav_m { display: none; }
.show_nav { display: none; }

.rex_c { display: flex; align-items: center; gap: 24px; padding: 14px 0; min-height: 56px; }
.logo { flex: 0 0 auto; }
.logo img { display: block; height: 56px; width: auto; }
.rex_mail { margin-left: auto; font-size: 14px; color: #6b6b60; text-align: right; }
.rex_mail_n a, .rex_adr_c a { color: #0b6b3a; font-weight: 700; }
.rex_adr { font-size: 14px; color: #6b6b60; text-align: right; line-height: 1.4; }
.rex_adr .loc_a { color: #ce1126; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }

/* ----------------------------------------------------- home: perv cards --- */
.pervs_bg { background: linear-gradient(180deg, #0b6b3a 0%, #085c32 100%); padding: 28px 0; }
.pervs { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.perv {
  background: #fff; border-radius: 10px; overflow: hidden; display: flex;
  box-shadow: 0 6px 18px rgba(0,0,0,.18);
}
.perv_img { flex: 0 0 210px; }
.perv_img img { display: block; width: 210px; height: 100%; object-fit: cover; }
.perv_text { padding: 18px 20px; font-size: 14.5px; color: #44443c; }
.perv_text b a { color: #06301f; font-size: 16.5px; line-height: 1.35; }
.perv_text b a:hover { color: #ce1126; }

.btn {
  display: inline-block; background: #ce1126; color: #fff !important; font-weight: 700;
  font-size: 14px; padding: 10px 22px; border-radius: 6px; text-transform: uppercase;
  letter-spacing: .04em; text-decoration: none !important;
}
.btn:hover { background: #a50e1f; }

/* --------------------------------------------------------- home article --- */
.post_page_vn { background: #fff; padding: 34px 38px; margin: 30px 0; border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0,0,0,.06); }
.post_page_vn h1 { font-size: 30px; line-height: 1.25; color: #06301f; margin-bottom: 18px; }
.post_page_vn h2 { font-size: 23px; color: #0b6b3a; margin: 28px 0 12px; }
.post_page_vn h3 { font-size: 19px; color: #234; margin: 20px 0 10px; }
.post_page_vn p { margin: 0 0 14px; }
.post_page_vn ul, .post_page_vn ol { margin: 0 0 16px 24px; }
.post_page_vn li { margin-bottom: 7px; }
.post_page_vn figure { margin: 22px 0; }
.post_page_vn figure img { border-radius: 8px; display: block; }
.post_page_vn figcaption { font-size: 13px; color: #7a7a6e; padding-top: 8px; text-align: center; }

.article-table-wrap { overflow-x: auto; margin: 18px 0 22px; }
table.article-table { width: 100%; border-collapse: collapse; font-size: 14.5px; background: #fff; }
table.article-table th { background: #06301f; color: #fff; text-align: left; padding: 10px 12px; }
table.article-table td { border: 1px solid #e2e0d6; padding: 9px 12px; }
table.article-table tr:nth-child(even) td { background: #f6f5ef; }

/* ----------------------------------------------------------- dvas slider -- */
.dvas_bg { background: #06301f; padding: 34px 0 40px; }
.title_c {
  color: #fff; font-size: 24px; font-weight: 800; text-transform: uppercase;
  letter-spacing: .05em; margin-bottom: 22px; border-left: 5px solid #ce1126; padding-left: 14px;
}
.dvas_slider { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.dvas_slide { background: #0d4429; border-radius: 8px; padding: 16px; height: 100%;
  border-top: 3px solid #d4a017; }
.post_list_t a { color: #fff; font-weight: 700; font-size: 15px; line-height: 1.35; }
.post_list_t a:hover { color: #ffd763; text-decoration: none; }
.post_list_d { color: #9dc3ad; font-size: 12.5px; margin: 8px 0; }
.post_list_e { color: #cfe3d7; font-size: 13px; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.dvas_all { text-align: center; margin-top: 26px; }
.btn_c2 { background: #d4a017; color: #06301f !important; }
.btn_c2:hover { background: #e8b52a; }

/* -------------------------------------------------------- category pages -- */
.breadc { font-size: 13px; color: #8a8a7c; padding: 14px 0 0; }
.breadc a { color: #0b6b3a; }
.breadc .breadcrumb_last { color: #55554a; }
section.content { padding: 10px 0 30px; }
.cat_top { background: #fff; border-radius: 10px; padding: 22px 28px; margin: 14px 0 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,.06); border-left: 5px solid #ce1126; }
.cat_top h1 { font-size: 27px; color: #06301f; }
.cat_top p { margin-top: 8px; color: #55554a; font-size: 15px; }
.post_list { background: #fff; border-radius: 10px; padding: 20px 26px; margin-bottom: 16px;
  box-shadow: 0 2px 10px rgba(0,0,0,.05); }
.post_list .post_list_t a { color: #06301f; font-size: 18px; }
.post_list .post_list_t a:hover { color: #ce1126; }
.post_list .post_list_d { color: #9a9a8c; }
.post_list .post_list_e { color: #4c4c42; font-size: 14.5px; -webkit-line-clamp: 4; }
.p_nav { text-align: center; padding: 8px 0 20px; }

/* ----------------------------------------------------------- breadcrumbs -- */
.breadc span[property="itemListElement"] { margin-right: 4px; }
.breadc .breadcrumb-sep { color: #b9b9aa; margin: 0 4px; }

/* --------------------------------------------------------------- footer --- */
footer { background: #041f14; color: #b9cec2; margin-top: 34px; }
footer .wrap { padding-top: 34px; padding-bottom: 26px; }
.logo_bot img { height: 48px; width: auto; display: block; margin-bottom: 22px; }
.nav_bot, .nik_cont { float: left; width: 33.33%; padding-right: 26px; margin-bottom: 18px; }
.nik_t { color: #fff; font-size: 16px; font-weight: 800; text-transform: uppercase;
  letter-spacing: .05em; margin-bottom: 14px; border-bottom: 2px solid #ce1126;
  display: inline-block; padding-bottom: 6px; }
.nav_bot ul.menu { list-style: none; }
.nav_bot ul.menu li { margin-bottom: 8px; }
.nav_bot ul.menu li a { color: #b9cec2; font-size: 14.5px; }
.nav_bot ul.menu li a:hover { color: #ffd763; }
.nik_cont { font-size: 14.5px; }
.nik_mail, .nik_adr { margin-bottom: 12px; }
.nik_mail_n a { color: #ffd763; font-weight: 700; }
.nik_soc { margin: 14px 0; }
.nik_ps { font-size: 13px; color: #7d9a8a; }
.copy { margin-top: 14px; font-size: 13.5px; color: #8fae9d; }
.nik_rul { border-top: 1px solid #0d3a26; margin-top: 10px; padding-top: 16px; font-size: 13.5px;
  color: #7d9a8a; }
.nik_rul a { color: #b9cec2; text-decoration: underline; }
.nik_rul a:hover { color: #ffd763; }

/* ------------------------------------------------------------ article page  */
.post_meta { font-size: 13.5px; color: #8a8a7c; margin-bottom: 16px; }
.post_meta a { color: #0b6b3a; }
.related_box { background: #f0efe7; border-radius: 10px; padding: 20px 26px; margin: 26px 0 0; }
.related_box .nik_t { border-bottom-color: #0b6b3a; color: #06301f; }
.related_box ul { margin: 0 0 0 20px; }
.related_box li { margin-bottom: 8px; }
.post_img img { display: block; margin: 0 auto 18px; border-radius: 8px; max-width: 100%; height: auto; }
.post_page_vn table { width: 100%; border-collapse: collapse; font-size: 14.5px; background: #fff; margin: 18px 0 22px; }
.post_page_vn th { background: #06301f; color: #fff; text-align: left; padding: 10px 12px; }
.post_page_vn td { border: 1px solid #e2e0d6; padding: 9px 12px; }
.post_page_vn tr:nth-child(even) td { background: #f6f5ef; }
.post_page_vn blockquote { border-left: 4px solid #d4a017; background: #f6f5ef; padding: 14px 18px; margin: 16px 0; font-style: italic; color: #4c4c42; }

/* ------------------------------------------------------------- comments ---- */
#comments { margin: 10px 0 30px; }
#respond { background: #fff; border-radius: 10px; padding: 24px 28px; box-shadow: 0 2px 12px rgba(0,0,0,.06); }
#respond .h2 { font-size: 20px; color: #06301f; font-weight: 800; margin-bottom: 16px; }
.form_line { margin-bottom: 14px; }
.form_line .lab { display: block; font-size: 13px; font-weight: 700; color: #55554a; margin-bottom: 5px; text-transform: uppercase; letter-spacing: .03em; }
.inp, .ta { width: 100%; border: 1px solid #d8d6ca; border-radius: 6px; padding: 10px 12px; font: inherit; background: #fbfaf6; color: #2b2b26; }
.inp:focus, .ta:focus { outline: 2px solid #0b6b3a; border-color: #0b6b3a; }
.ta { min-height: 110px; resize: vertical; }
.form_sub { margin-top: 6px; }
.form_sub .btn { border: 0; cursor: pointer; }

/* --------------------------------------------------------- footer social --- */
.nik_soc a { display: inline-block; width: 34px; height: 34px; border-radius: 50%; background: #0d3a26; margin-right: 8px; position: relative; }
.nik_soc a:hover { background: #0b6b3a; }
.nik_soc a::after { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #b9cec2; font-size: 13px; font-weight: 800; }
.nik_soc_f::after { content: "f"; }
.nik_soc_v::after { content: "v"; }
.nik_soc_y::after { content: "y"; }
.nik_soc_w::after { content: "w"; }

/* ---------------------------------------------------------------- mobile --- */
@media (max-width: 1140px) {
  .dvas_slider { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1020px) {
  .pervs { grid-template-columns: 1fr; }
  .dvas_slider { grid-template-columns: repeat(2, 1fr); }
  .post_page_vn { padding: 26px 22px; }
}
@media (max-width: 759px) {
  .top .wrap { min-height: 40px; }
  .rex_nav > ul.menu { display: none; }
  .show_nav {
    display: block; width: 40px; height: 40px; cursor: pointer; position: relative;
    margin: 4px 0;
  }
  .show_nav span, .show_nav span::before, .show_nav span::after {
    content: ""; position: absolute; left: 8px; right: 8px; height: 3px;
    background: #e8f2ec; border-radius: 2px; top: 50%; margin-top: -1.5px;
  }
  .show_nav span::before { top: -8px; margin-top: 0; }
  .show_nav span::after { top: 8px; margin-top: 0; }
  #nav_toggle { display: none; }
  #nav_toggle:checked ~ .top .rex_nav_m { display: block; }
  .rex_nav_m ul.menu { list-style: none; padding: 6px 0 12px; }
  .rex_nav_m ul.menu li a { display: block; padding: 11px 4px; color: #e8f2ec;
    font-size: 14px; font-weight: 600; text-transform: uppercase; border-bottom: 1px solid #0d3a26; }
  .rex_nav_m ul.menu li.current-menu-item a { color: #ffd763; }
  .rex_c { flex-wrap: wrap; gap: 10px; }
  .rex_mail { margin-left: 0; text-align: left; }
  .rex_adr { text-align: left; }
  .dvas_slider { grid-template-columns: 1fr; }
  .nav_bot, .nik_cont { float: none; width: 100%; padding-right: 0; }
  .post_page_vn h1 { font-size: 24px; }
  .post_page_vn h2 { font-size: 20px; }
  .perv_img { flex: 0 0 130px; }
  .perv_img img { width: 130px; }
  .post_page_vn table { display: block; overflow-x: auto; }
}
