/*
Theme Name:   Minecraft Pro
Theme URI:    https://minecraftapk.mx/
Description:  SEO-optimized GeneratePress child theme for a Minecraft APK download brand site. Design modeled on the CapCut Pro layout (dark hero with left copy + logo, feature-card grid, dark highlight panels, SEO article body, FAQ accordion, dark footer) rebuilt in Minecraft's original green colour scheme. Clean H1 > H2 > H3 heading hierarchy with JSON-LD schema.
Author:       Hashim Ali
Author URI:   https://minecraftapk.mx/
Template:     generatepress
Version:      1.0.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  minecraft-pro
*/

/* =========================================================================
   1. MINECRAFT PALETTE
   ========================================================================= */
:root {
	--brand:        #4C8A2C;   /* grass green */
	--brand-dark:   #3C6E1F;   /* dark grass */
	--brand-bright: #6DBB48;   /* bright grass */
	--hero:         #2F4D22;   /* dark hero band */
	--hero-2:       #26401b;   /* hero gradient end */
	--ink:          #10240a;   /* footer / deep */
	--dirt:         #8a5a3b;   /* dirt brown accent */

	--page:   #ffffff;
	--text:   #16210f;
	--muted:  #5c6657;
	--card:   #f3f7f0;
	--faq:    #f5f8f2;
	--border: #e3ebdc;

	--radius: 8px;
	--container: 1160px;
	--font: "Poppins", -apple-system, system-ui, "Segoe UI", Roboto, Arial, sans-serif;
}

/* =========================================================================
   1b. LANDING PAGE — break out of GeneratePress' flex/contained wrappers
   so our full-width sections stack vertically edge-to-edge.
   ========================================================================= */
.mc-landing .site-content { display: block; padding: 0; }
.mc-landing #page,
.mc-landing #content,
.mc-landing #primary,
.mc-landing .content-area,
.mc-landing .site-content > .container,
.mc-landing #content > .grid-container {
	max-width: 100% !important;
	width: 100% !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	float: none !important;
}
.mc-landing .site-main { padding: 0 !important; }
.mc-landing .separate-containers .site-main { margin: 0 !important; }
.mc-landing article.post { border: 0; padding: 0; }

/* =========================================================================
   2. BASE
   ========================================================================= */
body {
	background: var(--page);
	color: var(--text);
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.75;
}
a { color: var(--brand-dark); }
a:hover { color: var(--brand); }
h1, h2, h3, h4 { font-family: var(--font); color: #16210f; line-height: 1.25; font-weight: 700; }
img { max-width: 100%; height: auto; }

.mc-container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.mc-section { padding: 54px 0; }
.mc-section--alt { background: #fbfdfa; }
.mc-section__title { font-size: 32px; text-align: center; margin: 0 0 14px; }
.mc-section__lead { text-align: center; color: var(--muted); max-width: 720px; margin: 0 auto 46px; font-size: 18px; }

/* Buttons */
.mc-btn {
	display: inline-block;
	background: #ffffff;
	color: var(--hero);
	font-weight: 600;
	font-size: 17px;
	text-decoration: none;
	padding: 13px 28px;
	border-radius: var(--radius);
	box-shadow: 0 8px 20px rgba(0,0,0,.18);
	transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.mc-btn:hover { transform: translateY(-2px); color: var(--brand-dark); box-shadow: 0 12px 26px rgba(0,0,0,.24); }
.mc-btn--green { background: var(--brand); color: #fff; }
.mc-btn--green:hover { background: var(--brand-dark); color: #fff; }

/* =========================================================================
   3. HEADER / NAV
   ========================================================================= */
.site-header { background: #ffffff; box-shadow: 0 1px 0 rgba(0,0,0,.06); }
.site-logo img, .header-image { max-height: 46px; width: auto; }
.site-title, .main-title a { color: #16210f !important; font-weight: 700; }
.main-navigation, .main-navigation ul { background: #ffffff; }
.main-navigation .main-nav ul li a { color: var(--text); font-weight: 500; }
.main-navigation .main-nav ul li:hover > a,
.main-navigation .main-nav ul li.current-menu-item > a { color: var(--brand); }
.main-navigation .main-nav ul li.mc-nav-cta a {
	background: var(--brand); color: #fff !important; border-radius: var(--radius);
	padding: 8px 20px !important; margin-left: 6px; font-weight: 600;
}
.main-navigation .main-nav ul li.mc-nav-cta:hover > a { background: var(--brand-dark); }

/* =========================================================================
   4. HERO  (left copy + right logo, dark green band)
   ========================================================================= */
.mc-hero {
	background: linear-gradient(160deg, var(--hero) 0%, var(--hero-2) 100%);
	color: #fff;
	position: relative;
	overflow: hidden;
}
.mc-hero::after {
	content: ""; position: absolute; right: -160px; top: -120px;
	width: 520px; height: 520px; border-radius: 40px;
	background: rgba(255,255,255,.04); transform: rotate(35deg);
}
.mc-hero__inner {
	max-width: var(--container); margin: 0 auto; padding: 72px 20px 84px;
	display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center;
	position: relative; z-index: 2;
}
.mc-hero__text { max-width: 620px; }
.mc-hero h1 { color: #fff; font-size: 42px; line-height: 1.15; margin: 0 0 16px; }
.mc-hero__sub { font-size: 18px; opacity: .9; margin: 0 0 22px; }
.mc-hero__actions { margin-bottom: 26px; }

/* Security verified badges */
.mc-verified { margin: 4px 0 18px; }
.mc-verified__label { font-weight: 600; font-size: 15px; letter-spacing: .02em; margin-bottom: 10px; opacity: .95; }
.mc-badges { display: flex; gap: 14px; align-items: center; }
.mc-badges svg { width: 34px; height: 34px; filter: drop-shadow(0 2px 4px rgba(0,0,0,.25)); }

.mc-hero__desc { font-size: 15.5px; opacity: .88; line-height: 1.7; margin: 0; max-width: 560px; }

.mc-hero__media { display: flex; justify-content: center; }
.mc-hero__media img {
	width: 340px; max-width: 80%; height: auto;
	filter: drop-shadow(0 20px 40px rgba(0,0,0,.4));
	animation: mc-float 4.5s ease-in-out infinite;
}
@keyframes mc-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@media (prefers-reduced-motion: reduce) { .mc-hero__media img { animation: none; } }

/* =========================================================================
   5. INTRO + ARTICLE CONTENT
   ========================================================================= */
.entry-content { max-width: var(--container); margin: 0 auto; }
.entry-content h2 { font-size: 28px; margin: 42px 0 14px; }
.entry-content h3 { font-size: 21px; margin: 28px 0 10px; color: var(--brand-dark); }
.entry-content p { margin: 0 0 1.3em; }
.entry-content ul, .entry-content ol { margin: 0 0 1.3em 1.3em; }
.entry-content li { margin-bottom: 8px; }

/* App info / comparison tables */
.mc-info-table, .entry-content table {
	width: 100%; border-collapse: collapse; margin: 24px 0;
	background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
}
.mc-info-table th, .mc-info-table td, .entry-content th, .entry-content td {
	padding: 12px 16px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top;
}
.mc-info-table th { background: var(--card); width: 38%; font-weight: 600; color: #16210f; }
.entry-content tr:nth-child(even) td { background: #fafcf8; }

/* =========================================================================
   6. FEATURE CARDS GRID
   ========================================================================= */
.mc-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.mc-fcard {
	background: var(--card); border: 1px solid var(--border); border-radius: 12px;
	padding: 28px 20px; text-align: center; transition: transform .15s ease, box-shadow .15s ease;
}
.mc-fcard:hover { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(0,0,0,.08); }
.mc-fcard__icon {
	width: 60px; height: 60px; margin: 0 auto 16px; border-radius: 14px;
	display: flex; align-items: center; justify-content: center;
	background: #fff; border: 1px solid var(--border); font-size: 30px;
}
.mc-fcard h3 { font-size: 16px; margin: 0; color: #16210f; }

/* =========================================================================
   7. FEATURE HIGHLIGHT PANELS  (dark, centered)
   ========================================================================= */
.mc-highlight-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mc-highlight-row .mc-highlight { margin: 0; height: 100%; }
.mc-highlight {
	background: linear-gradient(160deg, var(--hero) 0%, var(--hero-2) 100%);
	color: #fff; border-radius: 18px; padding: 52px 40px; text-align: center; margin: 26px 0;
}
.mc-highlight h2 { color: #fff; font-size: 28px; margin: 0 0 16px; }
.mc-highlight p { color: rgba(255,255,255,.9); max-width: 760px; margin: 0 auto 24px; font-size: 16.5px; }
.mc-highlight img { border-radius: 14px; box-shadow: 0 16px 36px rgba(0,0,0,.35); max-width: 320px; }
.mc-highlight .mc-hl-emoji { font-size: 54px; line-height: 1; margin-bottom: 8px; }

/* =========================================================================
   8. FAQ ACCORDION  (feeds FAQPage schema)
   ========================================================================= */
.mc-faq { max-width: 860px; margin: 0 auto; }
.mc-faq__item {
	background: var(--faq); border: 1px solid var(--border); border-radius: 8px;
	margin-bottom: 12px; padding: 0 22px;
}
.mc-faq__item > summary {
	cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; font-size: 17px;
	color: #16210f; position: relative;
}
.mc-faq__item > summary::-webkit-details-marker { display: none; }
.mc-faq__item > summary::after {
	content: "+"; position: absolute; right: 2px; top: 15px; font-size: 24px; color: var(--brand); font-weight: 400;
}
.mc-faq__item[open] > summary::after { content: "\2013"; }
.mc-faq__item > *:not(summary) { padding-bottom: 18px; margin-top: 0; color: var(--muted); }
/* FAQ questions rendered as H3 keep the accordion look */
.mc-faq__item > summary h3 { display: inline; font-size: 17px; margin: 0; color: inherit; }

/* =========================================================================
   8b. HOME TABLE OF CONTENTS  (full-width, collapsible dropdown, compact)
   ========================================================================= */
.mc-toc-section { padding: 22px 0; }
.mc-toc-home {
	max-width: 860px; margin: 0 auto;
	background: var(--card); border: 1px solid var(--border); border-radius: 10px;
}
.mc-toc-home__summary {
	cursor: pointer; list-style: none; position: relative;
	font-size: 18px; font-weight: 700; color: #16210f;
	padding: 13px 46px 13px 20px;
}
.mc-toc-home__summary::-webkit-details-marker { display: none; }
.mc-toc-home__summary::after {
	content: "\25BE"; position: absolute; right: 20px; top: 12px;
	font-size: 16px; color: var(--brand); transition: transform .2s ease;
}
.mc-toc-home[open] .mc-toc-home__summary::after { transform: rotate(180deg); }
.mc-toc-home[open] .mc-toc-home__summary { border-bottom: 1px solid var(--border); }
.mc-toc-home__list {
	margin: 0; padding: 14px 20px 16px 40px;
	columns: 2; column-gap: 40px;
}
.mc-toc-home__list li { margin: 0 0 8px; break-inside: avoid; }
.mc-toc-home__list a { color: var(--brand-dark); text-decoration: none; }
.mc-toc-home__list a:hover { text-decoration: underline; color: var(--brand); }
.mc-toc-lvl-h3 { list-style: circle; margin-left: 16px; font-size: .95em; }
@media (max-width: 600px) { .mc-toc-home__list { columns: 1; } }

/* =========================================================================
   8c. LEGAL PAGES  (Privacy, Contact, About, Disclaimer)
   ========================================================================= */
.mc-legal-wrap { max-width: 860px; margin: 0 auto; padding: 50px 20px 60px; }
.mc-legal-wrap .entry-title { font-size: 34px; margin: 0 0 20px; }
.entry-content.mc-legal { max-width: none; margin: 0; }
.entry-content.mc-legal h2 { font-size: 24px; margin: 34px 0 10px; }
.entry-content.mc-legal small { color: var(--muted); display: block; margin-top: 24px; }

/* =========================================================================
   9. FOOTER
   ========================================================================= */
.mc-footer { background: var(--ink); color: #cdd6c6; padding: 58px 0 46px; }
.mc-footer .mc-container { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.mc-footer h4 { color: #fff; font-size: 16px; margin: 0 0 16px; text-transform: uppercase; letter-spacing: .04em; }
.mc-footer__brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.mc-footer__brand img { width: 40px; height: 40px; }
.mc-footer__brand span { color: #fff; font-weight: 700; font-size: 20px; }
.mc-footer p { color: #a9b4a1; font-size: 14.5px; margin: 0; }
.mc-footer ul { list-style: none; margin: 0; padding: 0; }
.mc-footer li { margin-bottom: 10px; }
.mc-footer a { color: #cdd6c6; text-decoration: none; font-size: 14.5px; }
.mc-footer a:hover { color: var(--brand-bright); }
.mc-footer__bottom { margin-top: 44px; border-top: 1px solid rgba(255,255,255,.1); padding: 20px; text-align: center; font-size: 13.5px; color: #93a089; }

/* =========================================================================
   10. RESPONSIVE
   ========================================================================= */
@media (max-width: 960px) {
	.mc-hero__inner { grid-template-columns: 1fr; text-align: center; gap: 26px; }
	.mc-hero__text { max-width: none; margin: 0 auto; }
	.mc-badges { justify-content: center; }
	.mc-hero__desc { margin: 0 auto; }
	.mc-hero__media { order: -1; }
	.mc-features { grid-template-columns: repeat(2, 1fr); }
	.mc-footer .mc-container { grid-template-columns: 1fr 1fr; }
	.mc-highlight-row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
	.mc-hero h1 { font-size: 32px; }
	.mc-section { padding: 48px 0; }
	.mc-section__title { font-size: 26px; }
	.mc-features { grid-template-columns: 1fr; }
	.mc-footer .mc-container { grid-template-columns: 1fr; }
	.mc-highlight { padding: 40px 22px; }
}
